I want install CyanogenMod 12 on my Motorola Moto G 2nd Gen (XT1068) with Lollipop 5.0.2. Please help me on the procedure.
I've tried apps like towelroot, Kingo, etc. but they don't support Lollipop.
I want install CyanogenMod 12 on my Motorola Moto G 2nd Gen (XT1068) with Lollipop 5.0.2. Please help me on the procedure.
I've tried apps like towelroot, Kingo, etc. but they don't support Lollipop.
Follow guide below: This will void your warranty and wipe your device so make a backup. CyanogenMod 12 is still a nightly so there are bugs. Make sure your computer has working fastboot and adb.
Follow these steps:
Step 1: Unlock Bootloader
adb reboot bootloader
fastboot devices
no permissions fastboot
, try running fastboot as root.fastboot oem get_unlock_data
Step 2: Installing recovery using fastboot
adb reboot bootloader
fastboot devices
no permissions fastboot
, try running fastboot as root.fastboot flash recovery your_recovery_image.img
Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.
Step 3: Installing CyanogenMod from recovery
install zip -> install zip from sideload
. Now on your PC in the terminal type adb sideload update.zip
(Replace update.zip
with your cyanogenmod zip)Optional Install Gapps: go to install zip -> install zip from sideload
. Now on your PC in the terminal type adb sideload gapps.zip
(Replace gapps.zip
with your gapps zip)
Once installation has finished, return to the main menu and select reboot system now. The device will now boot into CyanogenMod.
Note: If you want root access you need to enable it in developer options.
More information: http://wiki.cyanogenmod.org/w/Install_CM_for_titan
Hope my answer helped. (I typed it on my android phone running CyanogenMod 12)
system
as well in Step 3.6, or does the ROM has some instructions to wipe the system
but not data
and cache
?
ROM.zip
does automatically wipe /system
. That's why you FIRST need to install the ROM
and then the GAPPS
.
Commented
May 25, 2015 at 17:37
/system
cannot hurt, can it? :) They have that in several instructions. Whether it's really needed is something else :)
/system
through recovery along with data reset. I did so but the ROM had signature issue so I dropped the idea. I restored my stock ROM backup, and to my surprise my IMEI and Baseband were missing. Nothing helped except the lengthy remedy I wrote in this answer few weeks ago. That's why I asked this silly point to both poster and you.
/system
AFAIK; as that's device-specific, it makes absolutely no sense. Sounds like a Samsung-special (but they use /efs
for that), never had that with my Moto nor with my HTC. With the modem/Baseband you might have a point, though I always considered all contents of /system
part of the ROM – hence my "cannot hurt" above.