Difference between revisions of "Xperia M2 cyanogenmod"
Line 52: | Line 52: | ||
OKAY [ 1.350s] |
OKAY [ 1.350s] |
||
finished. total time: 2.050s |
finished. total time: 2.050s |
||
+ | |||
+ | Using a (very) recent (ubuntu 2015-04's adb gives protocol errors) adb: |
||
+ | adb sideload cm-12-20150322-UNOFFICIAL-eagle.zip |
||
+ | This does start. |
Revision as of 10:12, 25 May 2015
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
reboot phone, start in recovery (press vol+ while booting), select whipe/factory reset (?)
In clockwork, navigate to "update ???", "sidelode (?)", and with adb:
adb push cm-12-20150322-UNOFFICIAL-eagle.zip /storage/sdcard0/
Now phone is bricked.... (?) Doesn't react to long (> 1min) press of power button, but does reboot when power + VolUp are pressed for 10s. Now Emma (sony flash tool) can connect to it (release power right after reboot, connect to computer while volDown is pressed)
However, uploading the boot thingy from the sony flash tool doens't recover the phone.
While the "SONY" logo is displaying, press Power+VolUp for 10s, and right when it reboots, release Power+VolUp, and press VolDown. Now the phone stays off. Then, insert USB cable to computer, and press Power+VolUp. Now adb can see the phone again.
# fastboot getvar version version: 0.5 finished. total time: 0.003s root@dino:~/rommel/xperia# fastboot flash boot boot.img sending 'boot' (11764 KB)... OKAY [ 0.700s] writing 'boot'... OKAY [ 1.350s] finished. total time: 2.050s
Using a (very) recent (ubuntu 2015-04's adb gives protocol errors) adb:
adb sideload cm-12-20150322-UNOFFICIAL-eagle.zip
This does start.