[Q] how can i change the recovery from cm12 recovery to TWRP 2.8.3.0 recovery?

zhaluo

New member
Jan 10, 2015
2
0
0
how can i change the recovery from cm12 recovery to TWRP 2.8.3.0 recovery?
now, my rom is cm-12-20150109-INFECTED-yuga

1)in cm12 recovery, apply update olivier's "twrp-2.8-20150108-yuga.zip" , it's error:signature verification failed

2)use fastboot,"fastboot flash recovery twrp-2.8.3.0-yuga.img" , it's error:FAILED (remote: Command not allowed)

3)Flash it using dd,it's also the cm12 recovery
D:\SONY L36H\5.0\fastboot>adb shell
←7←[r←[999;999H←[[email protected]:/ $ su
su
←7←[r←[999;999H←[[email protected]:/ # dd if=/sdcard/twrp-2.8.3.0-yuga.img of=/dev/blo
ck/platform/msm_sdcc.1/by-name/FOTAKernel
rd/twrp-2.8.3.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel <
21680+0 records in
21680+0 records out
11100160 bytes transferred in 1.888 secs (5879322 bytes/sec)
[email protected]:/ # reboot recovery
reboot recovery

D:\SONY L36H\5.0\fastboot>
 

Cloonix

Senior Member
Sep 6, 2010
112
23
0
Munich
I'm stuck on this too. Tried all of the three methods and now i have broken recovery.
Here is the solution I found on XDA (hidden in some threads).

First: This issue seems to exist with the builds after 07-Jan. TWRP can't be flashed with dd, neither with fastboot. So you have to do this:

1. Get this file: https://www.mediafire.com/?9vnr7t9dmoysqau [ 1 ]
2. Flash the boot.img with fastboot ("fastboot flash boot boot.img"). It's an boot.img from an older build which resolves the issue
3. Boot into CM12 and get Oliver's TWRP build (version 2.8.3.0): http://build-server.com/olivier/yuga/twrp/ [ 2 ]
4. use adb (adb shell and then su) and flash the recovery as it is described in [ 2 ]
5. Boot into recovery

[ 1 ] http://forum.xda-developers.com/showpost.php?p=57719320&postcount=4
[ 2 ] http://forum.xda-developers.com/xperia-z/orig-development/recovery-teamwin-recovery-project-t2982889
 
  • Like
Reactions: mrp1375

m1ko8

Senior Member
Jun 29, 2012
126
10
0
how can i change the recovery from cm12 recovery to TWRP 2.8.3.0 recovery?
now, my rom is cm-12-20150109-INFECTED-yuga

1)in cm12 recovery, apply update olivier's "twrp-2.8-20150108-yuga.zip" , it's error:signature verification failed

2)use fastboot,"fastboot flash recovery twrp-2.8.3.0-yuga.img" , it's error:FAILED (remote: Command not allowed)

3)Flash it using dd,it's also the cm12 recovery
D:\SONY L36H\5.0\fastboot>adb shell
←7←[r←[999;999H←[[email protected]:/ $ su
su
←7←[r←[999;999H←[[email protected]:/ # dd if=/sdcard/twrp-2.8.3.0-yuga.img of=/dev/blo
ck/platform/msm_sdcc.1/by-name/FOTAKernel
rd/twrp-2.8.3.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel <
21680+0 records in
21680+0 records out
11100160 bytes transferred in 1.888 secs (5879322 bytes/sec)
[email protected]:/ # reboot recovery
reboot recovery

D:\SONY L36H\5.0\fastboot>
Maybe try to download Rashr from Google Play and in app choose what recovery u want.
I have CM12 5.0.2 and works fine.
https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools&hl=pl
 
  • Like
Reactions: mercedes722

Cloonix

Senior Member
Sep 6, 2010
112
23
0
Munich
i use 20150102 bulid
cm-12-20150102-INFECTED-yuga.zip <-- full name of file
As i mentioned in my post... Builds after 20150107 have a problem with TWRP. So you better not upgrade your cm12 build.

My WiFi is broken as well now.
 
Last edited:

m1ko8

Senior Member
Jun 29, 2012
126
10
0
As i mentioned in my post... Builds after 20150107 have a problem with TWRP. So you better not upgrade your cm12 build.

My WiFi is broken as well now.
Oh , thanks for info :D
I will back to 4.4 cause there i have XposeD and Xperia Camera , and i will wait for official Xperia Update :D
 

zhaluo

New member
Jan 10, 2015
2
0
0
Here is the solution I found on XDA (hidden in some threads).

First: This issue seems to exist with the builds after 07-Jan. TWRP can't be flashed with dd, neither with fastboot. So you have to do this:

1. Get this file: https://www.mediafire.com/?9vnr7t9dmoysqau [ 1 ]
2. Flash the boot.img with fastboot ("fastboot flash boot boot.img"). It's an boot.img from an older build which resolves the issue
3. Boot into CM12 and get Oliver's TWRP build (version 2.8.3.0): http://build-server.com/olivier/yuga/twrp/ [ 2 ]
4. use adb (adb shell and then su) and flash the recovery as it is described in [ 2 ]
5. Boot into recovery

[ 1 ] http://forum.xda-developers.com/showpost.php?p=57719320&postcount=4
[ 2 ] http://forum.xda-developers.com/xperia-z/orig-development/recovery-teamwin-recovery-project-t2982889
thanks:fingers-crossed: