2015/11/08

Install CyanogenMod on Motorola Moto G (XT1032)

  1. Unlock Moto G

    1. $ adb devices
      List of devices attached
      hogehoge device
      TAnnnnnnnnTH device
              

    2. $ adb -s TAnnnnnnnnTH reboot bootloader
              

    3. $ sudo fastboot devices
      [sudo] password for user_name:
      TAnnnnnnnnTH fastboot
              

    4. $ sudo fastboot oem get_unlock_data
      ...
      (bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      (bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      (bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      (bootloader) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      (bootloader) 0000000
      OKAY [  0.133s]
      finished. total time: 0.133s
              

    5. To get device unlock code, visit https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a/action/auth and follow the instructions there.

    6. $ sudo fastboot oem unlock XXXXXXXXXXXXXXXXXXXXX
      ...
      (bootloader) Unlock code = XXXXXXXXXXXXXXXXXXXXX
      
      (bootloader) Unlock completed! Wait to reboot
      
      FAILED (status read failed (No such device))
      finished. total time: 27.954s
              
  2. Login to Moto G again
    1. Power on
    2. Login to device
    3. Enable developer mode
  3. Install recovery using fastboot
    1. Download recovery, https://dl.twrp.me/xt1032/twrp-2.8.6.0-xt1032.img

    2. $ adb -s TAnnnnnnnnTH reboot bootloader
              

    3. $ sudo fastboot flash recovery twrp-2.8.6.0-xt1032.img
      target reported max download size of 536870912 bytes
      sending 'recovery' (8480 KB)...
      OKAY [  0.297s]
      writing 'recovery'...
      OKAY [  0.466s]
      finished. total time: 0.763s
              
    4. Volum Down to select Recovery
    5. Then Volum Up
  4. Install CyanogenMod
    1. Download CyanogenMod package, http://download.cyanogenmod.org/?device=falcon
    2. Download Google Apps, https://wiki.cyanogenmod.org/w/Google_Apps
    3. (In Team Win Recovery, Create backup.)
    4. In Team Win Recovery, Select Wipe and Factory Reset.
    5. Select Install and move to '/sdcard' dir.
    6. Install CyanogenMod package.
    7. Install Google Apps.
    8. Select Reboot and System.
  5. Done.

0 件のコメント :

コメントを投稿