- Open Developer Mode
- Settings -> About -> Build No
Keep Tapping on BuildNo
- Settings -> About -> Build No
- OEM unlock
- Settings -> System -> Developer Options -> OEM Unlock & USB Debug
- USB Cable to Phone and PC
$ adb devices
$ adb reboot bootloader
$ fastboot devices
$ fastboot flashing unlock
- Use Volume key to select
Unlock the bootloader
and Power key to confirm
- Use Volume key to select
$ <factory_image_folder>/flash-all.bat
to flash new factory image with ALL DATA WIPED
- Rooting
- Extract
init_boot.img
from factory image - Push to Phone
$ adadb push .\init_boot.img /sdcard/Download/
- Patch
init_boot.img
with Magisk App - Pull patched image back to PC
$ adb pull /sdcard/Download/magisk_patched.img ./
$ adb reboot bootloader
$ fastboot flash init_boot .\magisk_patched.img
additionally
$ fastboot flash init_boot_a .\magisk_patched.img && fastboot flash init_boot_b .\magisk_patched.img
$ fastboot reboot
- Check in Magisk App
- Extract
- Update MID
- Find model ids here and here
-
$ adb shell $ su # dd if=/dev/block/by-name/devinfo of=/sdcard/devinfo.img # exit $ adb pull /sdcard/devinfo.img ./
- Hex edit devinfo start from
0xAD
and save $ adb push .\devinfo-mod.img /sdcard
-
$ adb shell $ su # dd if=/sdcard/devinfo-GEC77.img of=/dev/block/by-name/devinfo # reboot
Last active
November 14, 2024 06:08
-
-
Save emeryao/c18fe301b05f315383bc2c8fd1d3b3d0 to your computer and use it in GitHub Desktop.
Pixel 9 Pro
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment