Xperia M2 cyanogenmod
From Tech
Unlocking
- Get the unlock code from sony
- As cyanogenmod describes for the Yuga, power down the xperia, the hold volumeUp while inserting USB cable, and on the computer type:
# fastboot getvar version version: 0.5 finished. total time: 0.003s
- Then unlock using:
# fastboot -i 0x0fce oem unlock 0x012345678ABCDEF ... OKAY [ 1.133s] finished. total time: 1.133s
Note: unlocking will erase all data from the phone, and do a factory reset.
Sony flash toool
Using the flash tool, updated the boot thingy. (From "Boot: 1274-7024 S1_Boot_MSM8x26_LA1.0_36" to "Boot: 1274-7024 S1_Boot_MSM8x26_LA1.0_1027")
Note: updating the boot thingy with the flash tool will not erase all data, nor do a factory reset.
Install CM12
Using steps from Alpha 5.
# fastboot getvar version version: 0.5 finished. total time: 0.003s # fastboot flash boot boot.img sending 'boot' (11764 KB)... OKAY [ 0.896s] writing 'boot'... OKAY [ 1.348s] finished. total time: 2.245s