☰
Current Page
Main Menu
Home
Home
Editing MotoG
Edit
Preview
H1
H2
H3
default
Set your preferred keybinding
default
vim
emacs
markdown
Set this page's format to
Markdown
Plain Text
Pod
RDoc
reStructuredText
Rendering unavailable for
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: MotoG --- Make : Motorola/Google Model : Moto G Model Code : XT1039 Purchased : 2013-11-24 Storage : 8GB # Developer Mode [link][2] 1. "Settings | About phone" 2. Press Build Number 7 times It will tell you when you're a "developer". Can now enable USB debugging. # Mounting * Use go-mtpfs to mount as fuse filesystem # Backup Backs up to local backup.ab in local folder. Requires confirmation on the phone itself. android-sdk/platform-tools/adb backup -all -f backup.ab # Backup with adb su and tar adb shell su -c "cd /system && busybox tar cvf - * | gzip -c > /sdcard/dump/system.tgz" # Backup without busybox ./adb shell ls -l -a | grep '^[^l]' | sed -e 's/^d.* \([^ ]*\)\r$/mkdir sav\/\1; .\/adb pull \/\1 sav\/\1/' -e 's/-.* \([^ ]*\)\r$/.\/adb pull \/\1 sav\/\1/' | /bin/bash or time adb shell ls -l -a | grep '^[^l]' | sed -e 's/^d.* \([^ ]*\)\r$/mkdir -p sav\/\1; adb pull \/\1 sav\/\1/' -e 's/-.* \([^ ]*\)\r$/adb pull \/\1 sav\/\1/' | /bin/bash # Engineering Mode `*#*#4636#*#*` # Rooting * <http://androidadvices.com/root-moto-g-android-phone-firmware-guide/> 1. Install android SDK 2. Connect device via USB and switch it to fastboot mode 1. power off, then hold power and volume-down button 3. Extract unlock key (bootloader) 0123456789ABCDEF#0123456789ABCD (bootloader) EF0123456789ABCDEF01234567#0123 ... 4. Login to [Motorola unlock page][4] and enter key to retrieve unlock code. 5. Code is 20-character alphanumeric 6. There's nowhere to set ## Unlock Bootloader sudo fastboot oem unlock UNLOCK_CODE [[$[Get Code]]][5] # Flash CyanogenMod [https://wiki.cyanogenmod.org/w/Install\_CM\_for_peregrine][7] * Download CM, CMRecovery, [OpenGApps][9] * Install CMRecovery adb reboot bootloader sudo fastboot flash recovery ./cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J6-peregrine-recovery.img * Boot recovery * In CMRecovery: * Factory Reset / Wipe ## Failed with Bootloader Version error *install failed this device has bootloader 4113* ## Update bootloader <http://forum.xda-developers.com/moto-g/help/rc-faq-cm12-frequently-questions-t2996087/page24#post59520890> adb reboot bootloader fastboot getvar version-bootloader fastboot flash motoboot motoboot.img fastboot reboot-bootloader fastboot getvar version-bootloader # verify version ## No SIM detected Need to [update Radio firmware][10] fastboot flash modem NON-HLOS.bin fastboot erase modemst1 fastboot erase modemst2 fastboot flash fsg fsg.mbn ## Post-flash config * Install OpenGApps from fastboot * Encrypt phone * Restart * Install TitaniumBackup * Restore data [2]: http://www.reddit.com/r/MotoG/comments/22mimr/the_guide_to_rooting_the_motog_with_a_howto/ [3]: MotoG?action=sourceblock&num=1 [4]: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b [5]: MotoG?action=sourceblock&num=2 [7]: https://wiki.cyanogenmod.org/w/Install_CM_for_peregrine [9]: http://opengapps.org/?api=6.0&variant=nano [10]: http://forum.xda-developers.com/moto-g/4g-development/rom-stock-motorola-4g-lollipop-rom-t3142816 <!-- 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