Exploit database

GH-9bdb7f18f85f169bb84aa9b9172240d6

gopartner/realme-c53-unlock-root

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-38694

14 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8
gopartner/realme-c53-unlock-rootRevision a397c13b1fad

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

release/build/flash.sh

Shell · 974 bytes
#!/bin/bash
# Realme C53 (RMX3760) - Flash KernelSU Boot Image
# Run this from the release folder

set -e

echo "============================================"
echo "Realme C53 KernelSU Flash Tool"
echo "============================================"
echo ""

adb get-state >/dev/null 2>&1 || { echo "[ERROR] No device detected. Enable USB debugging and connect."; exit 1; }

echo "[1/4] Rebooting to fastboot..."
adb reboot bootloader
sleep 5

echo "[2/4] Testing boot image (fastboot boot)..."
fastboot boot kernelsu_patched_boot.img
echo ""
read -p "Did the device boot successfully? (y/N): " confirm
if [ "$confirm" != "y" ] && [ "$confirm" != "Y" ]; then
    echo "Cancelled. Device will reboot normally."
    exit 0
fi

echo "[3/4] Flashing to both slots..."
fastboot flash boot_a kernelsu_patched_boot.img
fastboot flash boot_b kernelsu_patched_boot.img

echo "[4/4] Rebooting..."
fastboot reboot

echo ""
echo "Done!"
echo "Install APK: adb install KernelSU_Next.apk"