[D65XX] CWM-Based Recovery 6.0.4.7 + ROOT for Xperia Z2 [20141105]

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
CWM-Based Recovery 6.0.4.7 Recovery for Xperia Z2!



Credits and special thanks to Koush and everyone else involved in Cyanogenmod project!






[ info ]

This Recovery is built from CWM 6.0.4.7 sources!



[ PROOF ]


BkHfBuqCEAE0pIo.jpg:large




[ credits / special thanks ]

  • Koush - for the brilliant work & coding on CWM recovery
  • CyanogenMod and FreeXperia Team (especially jerpelea) for too many things *:)
  • special thanks to @yeeson for helping out with testing and risking his devices for the sake of development!!! and NO, his phone was NOT damaged during testing ;)
  • ME for creating this for u guys!



[ Requirements ]

  • Bootloader unlocked
  • working fastboot
  • STOCK ROM FW:
    • 4.4.4
      • 23.0.1.A.0.167 - v07
    • 4.4.2
      • 17.1.2.A.0.314 - v06
      • 17.1.1.A.0.438 - v05
      • 17.1.1.A.0.402 - v04
      • 17.1.A.2.69 - v03
      • 17.1.A.2.55 - v02
      • 17.1.A.2.36 - v01
    or ROMS BASED ON THAT FIRMWARE



[ features ]

  1. standard CWM recovery 6.0.4.7!
  2. kernel is insecure (ro.secure=0)
  3. disabled kernel level RIC
  4. adb debugging is enabled by default in OS
  5. TIP: if u are experiencing very slow backup in CWM do this




[ WARNING ]




ITS HIGHLY RECOMMENDED TO FIRST ROOT ON LOCKED BOOTLOADER AND TAKE TA BACKUP BEFORE BOOTLOADER UNLOCK!


for flashing this kernel you WILL NEED TO UNLOCK BOOTLOADER! Check this thread for more info (same steps as Xperia Z1 are used for Xperia Z2)


UNLOCKING BOOTLOADER WITHOUT TA BACKUP WILL LEAD TO IRREVERSIBLE LOSS OF DRM KEYS!!!


AND YES CAMERA STILL WORKS AFTER UNLOCKING BOOTLOADER!!!



[ known issues ]


  1. adb is not working in recovery (can be fixed later)





[ how to install my kernel ] (via recovery) [RECOMMENDED]

  1. download the kernel package
  2. save it to the sdcard
  3. reboot into recovery
  4. flash the kernel package using recovery
  5. reboot from recovery into system
  6. the device should now start booting
  7. enjoy the kernel ;)



[ how to flash this kernel ] (via fastboot)

  1. download the kernel image
  2. save the boot.img to the folder containing fastboot binary
  3. flash the boot.img using fastboot:
    Code:
    fastboot flash boot boot.img
  4. reboot from fastboot
    Code:
    fastboot reboot
  5. the device should now start booting
  6. enjoy!



[ how to enter recovery ]

when you see the Sony logo and the LED light turns pink/amber/orange keep tapping/pressing VOLUME UP key





[ how to Root ]

for instructions on how to root please check this post



[ sources ]

https://github.com/DooMLoRD/android_device_sony_honami

for now recovery is same is same as honami


[ donations ]


Please do consider donating as I plan to get this device!

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ;)

PAYPAL DONATION LINK

OR

you can buy one of my awesome apps from Play Store!






[ download links ]

PLEASE DO NOT MIRROR, REDISTRIBUTE, REPACK MY FILES


NEW:


Advance Stock Kernel with CWM Recovery v07 (FW: 23.0.1.A.0.167}
MD5HASH: ade2fd4d1edf9355089170ecfbf72d2d


OLD:




Advance Stock Kernel with CWM Recovery v06 (FW:17.1.2.A.0.314}
MD5HASH: 9dda203d813ac6ff7f2b80d85f4de2c5


Advance Stock Kernel with CWM Recovery v05 (FW:17.1.1.A.0.438}
MD5HASH: 1857871ed72fc5c2c665c24e30cfd2c4



Advance Stock Kernel with CWM Recovery v04 (FW:17.1.1.A.0.402}
MD5HASH: 629761c9b73cad8ae177b7ad9edcb196


Advance Stock Kernel with CWM Recovery v03 (FW:17.1.A.2.69}
MD5HASH: a0d584009b50b19b3b965ccf339f7d86


Advance Stock Kernel with CWM Recovery v02 (FW:17.1.A.2.55}
MD5HASH: a0d584009b50b19b3b965ccf339f7d86


Advance Stock Kernel with CWM Recovery v01 (FW:17.1.A.2.36}
MD5HASH: 6e0c418d299780bd0ac74e69ff46a199
...







icon8.gif



enjoy!!!
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Rooting Instructions


[ proof ]

BkHkADiCEAAe2xq.jpg:small





[ how to root ]

  • once you have flashed the kernel from the 1st post
  • download the latest SuperSU update.zip from: http://download.chainfire.eu/supersu
  • save it on sdcard of device
  • reboot into recovery
  • flash the supersu update.zip
  • reboot from recovery into OS
  • you should now get proper root access!


[ installing busybox ]


  • it is highly recommended to install busybox after rooting!
  • just go to andorid play store and download the busybox installer.
  • once the installer is downloaded, install busybox in /system/xbin
  • reboot device after install and thats it!


regards,

DooMLoRD
 

JMonkeYJ

Senior Member
Jul 22, 2008
119
27
Is it possible to do a TA backup of the Z2 yet since there is no root with a locked bootloader?
 

chesterr

Senior Member
Nov 27, 2010
997
167
Galle
I'll wait for an exploit for locked bootloaders to back up the DRM keys :D
Many Thanks to you and awesome job by doing this :)
 

Chad_Petree

Senior Member
Apr 2, 2009
3,315
486
That was quick! Can't wait to have my Z2 <3

Gesendet von meinem Nexus 5 mit Tapatalk
 

Seifer1975

Senior Member
Dec 4, 2006
954
82
Singapore
I am from Singapore and due to get my Z2 in 2 days time. I am very familiar with the rooting procedure for Samsung phones but this is my first Sony phone. I would like to root it but how can I tell that my bootloader is locked or not? Based on the instructions it seems we cannot install this without unlocking the bootloader, yet to unlock it we need root. Kinda like chasing the tail, isn't it?
 

JMonkeYJ

Senior Member
Jul 22, 2008
119
27
I am from Singapore and due to get my Z2 in 2 days time. I am very familiar with the rooting procedure for Samsung phones but this is my first Sony phone. I would like to root it but how can I tell that my bootloader is locked or not? Based on the instructions it seems we cannot install this without unlocking the bootloader, yet to unlock it we need root. Kinda like chasing the tail, isn't it?

All Z2s come with the bootloader locked, so yours will be locked.

The unlock and root procedure in the OP does NOT require root, so you can accomplish it as soon as you get your phone and have an unlocked, rooted phone. The warning is that you will not be able to do a TA backup (which is NOT necessary to complete the unlock and root procedure described) if you don't have root already, so you will lose your DRM keys which are needed for some special functions on the Z2. You may or may not care about the special functions.
 

theclueless

Senior Member
Jul 30, 2008
518
41
Chicago
i found the entire system got a bit slower after flashing... especially the camera, it has very noticeable lag. but meh, i got root
 

jiggyb21

Senior Member
Mar 25, 2013
295
85
i found the entire system got a bit slower after flashing... especially the camera, it has very noticeable lag. but meh, i got root

That's what happened to me after unlocking the bootloader. I spent the whole day with unlocked bootloader and NO root yet, about to do it now. Phone was lightning fast yesterday, especially the camera, now it is anything but fast......why would this happen? Again, for me, it's not the kernel as I haven't flashed it yet/
 

theclueless

Senior Member
Jul 30, 2008
518
41
Chicago
That's what happened to me after unlocking the bootloader. I spent the whole day with unlocked bootloader and NO root yet, about to do it now. Phone was lightning fast yesterday, especially the camera, now it is anything but fast......why would this happen? Again, for me, it's not the kernel as I haven't flashed it yet/

could you try to relock your bootloader and see if it resolves the issue?
 
  • Like
Reactions: jiggyb21

jiggyb21

Senior Member
Mar 25, 2013
295
85
could you try to relock your bootloader and see if it resolves the issue?

I think I might....Just factory reset....dalvik cahe, etc, etc...Still stutters and slow. Unbearable really. Now to figure out how to relock it, Flashtool hopefully? I was having trouble locating the folder in which to place a tft firmware in for flashtool to access. I assume I'll have to have the stock tft firmware to relock the bootloader.....


EDIT- nevermind....I was confusing the flashtool I just downloaded with some older flashtool I had used on an LG at some point. I see the firmware folder now.
 
Last edited:

theclueless

Senior Member
Jul 30, 2008
518
41
Chicago
I think I might....Just factory reset....dalvik cahe, etc, etc...Still stutters and slow. Unbearable really. Now to figure out how to relock it, Flashtool hopefully? I was having trouble locating the folder in which to place a tft firmware in for flashtool to access. I assume I'll have to have the stock tft firmware to relock the bootloader.....


EDIT- nevermind....I was confusing the flashtool I just downloaded with some older flashtool I had used on an LG at some point. I see the firmware folder now.

if you didnt flash the advance kernel, you can just boot to fastboot and do "fasboot bootloader lock"
 
  • Like
Reactions: jiggyb21

jiggyb21

Senior Member
Mar 25, 2013
295
85
if you didnt flash the advance kernel, you can just boot to fastboot and do "fasboot bootloader lock"

I really don't want to hijack this thread and turn it into something it's not. For now I think it belongs because I'm not 100% sure if it's the kernel or unlocked bootloader slowing my phone down. I flashed the kernel from page 1.... 'Advance Stock Kernel with Recovery v01 (FW:17.1.A.2.36}".

I relocked the bootloader using flashtool. It said it was successful but upon rebooting it soft bricked and the only thing I could do was get into flashmode again. Went back to flashtool and relocked the bootloader again and the phone rebooted no problem, just slowly. Not sure what else to do. Can I reflash the stock kernel?
 

theclueless

Senior Member
Jul 30, 2008
518
41
Chicago

I really don't want to hijack this thread and turn it into something it's not. For now I think it belongs because I'm not 100% sure if it's the kernel or unlocked bootloader slowing my phone down. I flashed the kernel from page 1.... 'Advance Stock Kernel with Recovery v01 (FW:17.1.A.2.36}".

I relocked the bootloader using flashtool. It said it was successful but upon rebooting it soft bricked and the only thing I could do was get into flashmode again. Went back to flashtool and relocked the bootloader again and the phone rebooted no problem, just slowly. Not sure what else to do. Can I reflash the stock kernel?

if you flashed the kernel from the first post, you will need to flash the stock kernel after relock the bootloader
 
  • Like
Reactions: jiggyb21

Top Liked Posts

  • There are no posts matching your filters.
  • 76
    CWM-Based Recovery 6.0.4.7 Recovery for Xperia Z2!



    Credits and special thanks to Koush and everyone else involved in Cyanogenmod project!






    [ info ]

    This Recovery is built from CWM 6.0.4.7 sources!



    [ PROOF ]


    BkHfBuqCEAE0pIo.jpg:large




    [ credits / special thanks ]

    • Koush - for the brilliant work & coding on CWM recovery
    • CyanogenMod and FreeXperia Team (especially jerpelea) for too many things *:)
    • special thanks to @yeeson for helping out with testing and risking his devices for the sake of development!!! and NO, his phone was NOT damaged during testing ;)
    • ME for creating this for u guys!



    [ Requirements ]

    • Bootloader unlocked
    • working fastboot
    • STOCK ROM FW:
      • 4.4.4
        • 23.0.1.A.0.167 - v07
      • 4.4.2
        • 17.1.2.A.0.314 - v06
        • 17.1.1.A.0.438 - v05
        • 17.1.1.A.0.402 - v04
        • 17.1.A.2.69 - v03
        • 17.1.A.2.55 - v02
        • 17.1.A.2.36 - v01
      or ROMS BASED ON THAT FIRMWARE



    [ features ]

    1. standard CWM recovery 6.0.4.7!
    2. kernel is insecure (ro.secure=0)
    3. disabled kernel level RIC
    4. adb debugging is enabled by default in OS
    5. TIP: if u are experiencing very slow backup in CWM do this




    [ WARNING ]




    ITS HIGHLY RECOMMENDED TO FIRST ROOT ON LOCKED BOOTLOADER AND TAKE TA BACKUP BEFORE BOOTLOADER UNLOCK!


    for flashing this kernel you WILL NEED TO UNLOCK BOOTLOADER! Check this thread for more info (same steps as Xperia Z1 are used for Xperia Z2)


    UNLOCKING BOOTLOADER WITHOUT TA BACKUP WILL LEAD TO IRREVERSIBLE LOSS OF DRM KEYS!!!


    AND YES CAMERA STILL WORKS AFTER UNLOCKING BOOTLOADER!!!



    [ known issues ]


    1. adb is not working in recovery (can be fixed later)





    [ how to install my kernel ] (via recovery) [RECOMMENDED]

    1. download the kernel package
    2. save it to the sdcard
    3. reboot into recovery
    4. flash the kernel package using recovery
    5. reboot from recovery into system
    6. the device should now start booting
    7. enjoy the kernel ;)



    [ how to flash this kernel ] (via fastboot)

    1. download the kernel image
    2. save the boot.img to the folder containing fastboot binary
    3. flash the boot.img using fastboot:
      Code:
      fastboot flash boot boot.img
    4. reboot from fastboot
      Code:
      fastboot reboot
    5. the device should now start booting
    6. enjoy!



    [ how to enter recovery ]

    when you see the Sony logo and the LED light turns pink/amber/orange keep tapping/pressing VOLUME UP key





    [ how to Root ]

    for instructions on how to root please check this post



    [ sources ]

    https://github.com/DooMLoRD/android_device_sony_honami

    for now recovery is same is same as honami


    [ donations ]


    Please do consider donating as I plan to get this device!

    if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc ;)

    PAYPAL DONATION LINK

    OR

    you can buy one of my awesome apps from Play Store!






    [ download links ]

    PLEASE DO NOT MIRROR, REDISTRIBUTE, REPACK MY FILES


    NEW:


    Advance Stock Kernel with CWM Recovery v07 (FW: 23.0.1.A.0.167}
    MD5HASH: ade2fd4d1edf9355089170ecfbf72d2d


    OLD:




    Advance Stock Kernel with CWM Recovery v06 (FW:17.1.2.A.0.314}
    MD5HASH: 9dda203d813ac6ff7f2b80d85f4de2c5


    Advance Stock Kernel with CWM Recovery v05 (FW:17.1.1.A.0.438}
    MD5HASH: 1857871ed72fc5c2c665c24e30cfd2c4



    Advance Stock Kernel with CWM Recovery v04 (FW:17.1.1.A.0.402}
    MD5HASH: 629761c9b73cad8ae177b7ad9edcb196


    Advance Stock Kernel with CWM Recovery v03 (FW:17.1.A.2.69}
    MD5HASH: a0d584009b50b19b3b965ccf339f7d86


    Advance Stock Kernel with CWM Recovery v02 (FW:17.1.A.2.55}
    MD5HASH: a0d584009b50b19b3b965ccf339f7d86


    Advance Stock Kernel with CWM Recovery v01 (FW:17.1.A.2.36}
    MD5HASH: 6e0c418d299780bd0ac74e69ff46a199
    ...







    icon8.gif



    enjoy!!!
    37
    Rooting Instructions


    [ proof ]

    BkHkADiCEAAe2xq.jpg:small





    [ how to root ]

    • once you have flashed the kernel from the 1st post
    • download the latest SuperSU update.zip from: http://download.chainfire.eu/supersu
    • save it on sdcard of device
    • reboot into recovery
    • flash the supersu update.zip
    • reboot from recovery into OS
    • you should now get proper root access!


    [ installing busybox ]


    • it is highly recommended to install busybox after rooting!
    • just go to andorid play store and download the busybox installer.
    • once the installer is downloaded, install busybox in /system/xbin
    • reboot device after install and thats it!


    regards,

    DooMLoRD
    11
    Advanced Stock Kernel v05 released!



    [ changelog ]


    • updated core kernel to 17.1.1.A.0.438 firmware kernel

    • updated ramdisk to 17.1.1.A.0.438 firmware sources


    download links at first post!


    regards,

    DooMLoRD
    11
    Advanced Stock Kernel v07 released!


    now compatible with KitKat 4.4.4 Firmware 23.0.1.A.0.167


    download link in OP!


    regards,

    DooMLoRD