Guide to root your device without installing a custom recovery.
Requires:
- Unlocked device
- TWRP
- Magisk v14.1+
Tested on XT1710-09 ALBUS RETEU NPS26.118-9
.
- Boot your phone normally as new or after a factory reset
- During the setup: enable File-Based Encryption (encryption at boot)
- Reboot in bootloader
- Boot with TWRP:
$ fastboot boot albus_twrp.img
- Enter your FBE password: it must work! (turn off screen and turn it back on if not responsive)
- Tap on
Read Only
- Go in
Backup
menu - Select
System
Data
Boot
Recovery
EFS
logo
- In
Options
, pickEnable compression
Swipe to Backup
- Don't reboot
From your computer:
$ adb pull /sdcard/TWRP/BACKUPS/ .
- Go back in main menu
- Go in
Advanced
- Go in
ADB Sideload
- Tick both
Wipe Dalvik Cache
andWipe Cache
checkboxes Swipe to Start Sideload
From your computer:
$ adb sideload Magisk-v14.3\(1437\).zip
- Reboot
- Open
Magisk Manager
app - Enjoy!
When Magisk Manager notifies you about a newer version available, install it using the Direct Install
mode.
No particular process for updating Magisk Manager, update it as a normal application.
- Launch the
Magisk Manager
app - Tap
Uninstall
Restore Stock Boot
- Reboot
Device encryption has never been disabled so unrooting the device won't end up in a boot-loop. From now, you should be able to install an OTA update.
Bonus: Remove Bootloader Warning message.
Thanks to the XDA Community and especially thedoginthewok.
Thanks for this guide.
I had an issue fastboot flashing twrp. I was getting an unsigned or corrupt message.
Instead after I fastboot booted into twrp, i did an adb push of the twrp img file and installed from inside of twrp.