Posts: 3
Threads: 0
Joined: Apr 2021
Reputation:
0
Hi!
I've been following this guide, but after re-locking the bootloader my phone ends up in red-state.
Device: UleFone Armor 9E (Android 10)
My steps so far:
0.0 Get boot.img, scatter file, checksum generator (from ulefone), magisk.akp (from github), vbmeta.img, drivers, SP Tool (from here)
0.1 Install magisk on my phone and patch boot.img.
0.2 Enable developer options on my phone
0.3 Enable OEM unlocking and USB debugging on my phone.
0.4 Install drivers on my PC
0.5 Copy scatterfile, boot.img, vbmeta.img into checksum generator's folder and get checksum.ini.
1.0 Connect phone
> adb devices
> adb reboot bootloader
> fastboot devices
> fastboot oem unlock
> fastboot reboot
Phone boots in orange state.
2.0 Re-enable dev opts, (phone shows as already unlocked), USB debugging and turn off the phone.
2.1 Start SP Flashtool
2.2 Select scatter file
2.3 Check only vbmeta.img
2.4 Start download
2.5 Connect phone
2.6 Download completes successfully.
2.7
> fastboot devices
> fastboot reboot
Orange state.
2.8 Factory reset from phone
3. Repeat 2., except at 2.3 check only the patched boot.img
Still orange state.
Magisk app is installed.
4.0 Turn the phone on, enable dev opts and USB debugging, connect to PC
> adb devices
> adb reboot bootloader
> fastboot devices
> fastboot oem lock
> fastboot reboot
Red state - boot loop.
5.0 Hold power button until it turns off abruptly
5.1 Hold volume up until load some sort of boot selector menu.
5.2 Select fastboot mode with vol up button.
5.3 Vol down to boot selected mode
5.4
> fastboot devices
> fastboot oem unlock
> fastboot reboot
Orange state - everything else is working.
What am I doing wrong? How can I relock the bootloader?
Thanks in advance for your help!
Posts: 3
Threads: 0
Joined: Apr 2021
Reputation:
0
Hi!
• Is it safe to update my phone while it's rooted this way? (I'd assume so, but better safe than sorry) Or should I unroot first, then apply OTA update and then reroot again?
• How can I edit my hosts file? It appears to be read only, no matter what.
Thanks!
Posts: 6
Threads: 1
Joined: Feb 2021
Reputation:
0
I have an OTA-updated Magisk-patched boot.img if anyone's interested.