[Development] How to root Unisoc | Spreadtrum Android 9; Case study: Teclast P80X
[Development] How to root Unisoc | Spreadtrum Android 9; Case study: Teclast P80X
(26-08-2020, 02:15 PM)Ejike Dex Hello guys, so after a 2 weeks long course of trial and error, I have finally been able to root my android 9 pie unisoc device ( Itel S15), following the threads and steps you outlined problem is just as you said it's a temporary root and I am required to always repeat step 7 to regain root after a reboot.
My present dilemma is, I am trying to install Xposed framework and it's modules, and they require me to reboot the phone after each install. So now I am considering trying the Magisk Canary version patch method in an attempt to get permanent root.
I want to ask:
1, will I be required to sign the Magisk Canary version patched recovery image before I flash it?
2, Do I just reboot immediately after flashing it, Turn the phone of and reboot into recovery or do step 7 all over again?
Thanks
(27-08-2020, 09:40 AM)X3non(26-08-2020, 02:15 PM)Ejike Dex Hello guys, so after a 2 weeks long course of trial and error, I have finally been able to root my android 9 pie unisoc device ( Itel S15), following the threads and steps you outlined problem is just as you said it's a temporary root and I am required to always repeat step 7 to regain root after a reboot.
My present dilemma is, I am trying to install Xposed framework and it's modules, and they require me to reboot the phone after each install. So now I am considering trying the Magisk Canary version patch method in an attempt to get permanent root.
I want to ask:
1, will I be required to sign the Magisk Canary version patched recovery image before I flash it?
2, Do I just reboot immediately after flashing it, Turn the phone of and reboot into recovery or do step 7 all over again?
Thanks
first, for attempt at permanent root, you're to patch boot not recovery using either magisk manager or magisk canary (whichever one works fine for your device)
1. yes, you need to sign any image you plan to flash or the device will reject the image
2. if boot is patched then you don't need to boot into recovery to get su permissions
Quote:Unisoc devices running android 9 (pie) use system_as_root so you're to patch recovery.img and no longer boot.img
(27-08-2020, 03:01 PM)Ejike Dex ...
(28-08-2020, 09:26 AM)X3non(27-08-2020, 03:01 PM)Ejike Dex ...
at the time of writing the original guide (which is a long time ago) android 9 with system_as_root could only be rooted by patching recovery because boot has an empty ramdisk. from then till now, changes have been made to magisk to accommodate this which is the reason for posting this @ https://www.hovatek.com/forum/thread-326...#pid200096
also notice in the important notice section on page 1, first hint also tells magisk canary was able to give root by patching boot...
(28-08-2020, 06:57 PM)Ejike Dex I forgot to sign the boot partition using the signed vbmeta generated using the hovatek.bin key.
(18-09-2020, 08:18 PM)ch3mn3y One question. When You used Canary patched boot.img, You signed the image before or after patch?
I'm asking coz I can patch boot image, but not magisk patched one. I used latest canary MAGISK, as that's one I have on my phone.
Ofc I have different device (P20HD) with newer Android (10), but it's same SoC.