☰
Current Page
Main Menu
Home
Home
Editing
MotoG5
Edit
Preview
h1
h2
h3
Keybinding
default
vim
emacs
Markup
Markdown
Plain Text
Pod
RDoc
reStructuredText
AsciiDoc
BibTeX
Creole
MediaWiki
Org-mode
Textile
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
--- title: MotoG5 --- Make : Motorola/Google Model : Moto G5 Model Code : XT1676 Model Codename : Cedric Purchased : 2017-05-30 Storage : 16GB RAM : 3GB Latest : NPP25.137-93 # Rooting * <https://technewswith.me/unlock-root-moto-g5/> * <https://forum.xda-developers.com/g5-plus/how-to/how-to-root-moto-g5-plus-t3579659> * [Moto unlock site][3] 1. Unlock Bootloader adb reboot-bootloader sudo fastboot oem get\_unlock\_data # paste together code and post into moto form ... # wait for unlock key from motorola ... sudo fastboot oem unlock KEY sudo fastboot oem unlock KEY # have to run it twice sudo fastboot reboot 1. Flash TWRP * <https://eu.dl.twrp.me/cedric/twrp-3.3.1-0-cedric.img.html> adb reboot-bootloader sudo fastboot flash recovery twrp-3.3.1--cedric.img # "Image not signed or corrupt" is harmless. # Immediately select recovery using bootloader screen # otherwise boot will overwrite twrp 1. Wipe 1. In the Decrypt /data screen, press cancel, then "Swipe to Allow Modifications" 2. Go to WIPE, then "Swipe to Factory Reset" 3. Come back to TWRP main menu, go to REBOOT, then RECOVERY, then DO NOT INSTALL 4. "Swipe to Allow Modifications" 2. Disable forced encryption 1. Push and flash "no-verity-opt-encrypt-5.1.zip" 3. Flash SuperSU 4. Flash Magisk 1. Push and flash "Magisk-v11.6.zip" # NOT VERSION 12! 2. After the setup, come back to TWRP main menu, go to REBOOT, then SYSTEM, then DO NOT INSTALL 3. Run and update Magisk App ## Updates for Oreo It seems like twrp-3.3.1 can unlock encrypted partitions so no-verity-opt-encrypt may not be needed. # Troubleshooting ## Slow Google search widget Clear Launcher3 Data Settings > Apps > top right tri-colon > Show System > Launcher3 > storage > delete This will reset the home screen. # Backup and Restore ## UIDs and GIDs adb shell su cat /data/system/packages.xml List `userId`s or `sharedUserId`s: xmlstarlet sel -t -m '//package' -v @sharedUserId -v @userId -o ' ' -v @name -n [3]: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-c [4]: MotoG5?action=sourceblock&num=1 [5]: MotoG5?action=sourceblock&num=2 <!-- vim: filetype=markdown -->
Uploading file...
Sidebar
# SideBar * [Home][1] * [Projects][2] * * * <!-- --> * [Code][3] * [Tech][4] * [Network][5] * [MediaCentre][6] * [UAV][7] * * * <!-- --> * [Travel][8] * [Music][9] * [Horse Riding][10] * [Study][11] * [Games][12] * [Other Activities][13] * * * <!-- --> * [Car][14] * [House][15] * [Watch][16] * [Clothing][17] * [Miscellany][18] * * * [1]: /Home [2]: /Projects [3]: /Code/Code [4]: /Tech/Tech [5]: /Network/Network [6]: /MediaCentre/MediaCentre [7]: /UAV/UAV [8]: /Travel/Travel [9]: /Music/Music [10]: /HorseRiding/HorseRiding [11]: /Study/Study [12]: /Games/Games [13]: /Do/Do [14]: /Car/Car [15]: /House/House [16]: /Watch/Watch [17]: /Clothing/Clothing [18]: /Miscellany/Miscellany <!-- vim: filetype=markdown -->
Edit message:
Cancel