Beau Kujath
37241c4c9e
|
2 years ago | |
---|---|---|
.. | ||
README.md | 2 years 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://developersd.google.com/android/ota#sunfish
-
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 unzipped boot.img file (Note: Within original zip for factory image there is another zip that boot.img is within)
-
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 -> 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