You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Beau Kujath
b95ad413fd
|
11 months ago | |
---|---|---|
.. | ||
README.md | 11 months ago |
README.md
Steps to root Android (Google Pixel4a-sunfish <Android 13>)
- Enable dev options by tapping build number 7 times
- Enable usb debugging and OEM unlocking in developer options panel from in Syste
- Make note of build number at About phone -> Build number = TPIA.221105.002
- Download full image for build from: https://developers.google.com/android/images
- Unzip downoaded zip, then unzip the zip within there to get the "build.img" file needed
- Push the build.img file to the unrooted Android device:
adb push <path_to_file>/boot.img /storage/emulated/0/Download/boot.img
- Install fastboot:
apt install fastboot and adb
- Reboot to bootloader:
adb reboot bootloader
- Make sure fastboot is connected:
fastboot devices
fastboot flashing unlock
- Sideload Magisk apk:
adb -s $(adb devices) install ~/Downloads/Magisk.apk/
, URL: https://github.com/topjohnwu/Magisk/releases/tag/v26.1 - Patch the downloaded factory image file in Magisk: Magisk -> Install -> Select and patch a file -> Select the boot.img file pushed in step 6
- Hit lets go to let Magisk patch image -> Wait for path of new image file on device to be printed if it worked
- Pull patched image to desktop:
adb pull /storage/emulated/0/Download/magisk_patched-26100_zEIYy.img ./
adb devices
->adb reboot bootloader
->fastboot devices
fastboot boot ~/Desktop/magisk_patched-26100.img
- Root permanently via Direct Install from Magisk: Open Magisk app -> Install Direct (Recommended) -> wait and reboot
- Verify root after reboot from desktop:
adb shell
->su
->whoami
- Install this ZIP as Magisk module to trust user certs and system certs: https://github.com/NVISOsecurity/MagiskTrustUserCerts/releases
Note: Using Ubuntu 20 for desktop machine in instructions