[RECOVERY] CWM-Based Recovery 6.0.4.6 + ROOT for Xperia SP [20140528]

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
This is a CWM-Based Recovery 6.0.4.6 Touch Recovery for Xperia SP



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






[ info ]

This recovery is built from CWM Recovery 6.0.4.6 sources and is integrated into stock kernel... I call this an advanced stock kernel with recovery!

the core kernel (zImage) is exactly the same as the one supplied by Sony for that particular firmware... only the ramdisk is changed to add recovery and other features!





[ credits / special thanks ]

  • Koush - for the brilliant work & coding on CWM recovery
  • CyanogenMod and FreeXperia Team (especially jerpelea) for too many things :)
  • ME for creating this for u guys!



[ Requirements ]

  • Bootloader unlocked
  • working fastboot
  • STOCK ROM FW:
    • 4.3 -> 12.1.A.1.201 - v02, v03
    • 4.3 -> 12.1.A.0.266 - v01
    or ROMS BASED ON THAT FIRMWARE



[ features ]

  1. standard CWM recovery 6.0.4.6 - TOUCH RECOVERY!
  2. adb debugging is enabled by default in OS
  3. fixed root remount in ramdisk
  4. TIP: if u are experiencing very slow backup in CWM do this




[ WARNING ]


for flashing this kernel you WILL NEED TO UNLOCK BOOTLOADER! Check this thread for more info...


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




[ how to flash this kernel ] (via fastboot)

  1. download the kernel image
  2. save the SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf to the folder containing fastboot binary
  3. flash the SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf using fastboot:
    Code:
    fastboot flash boot SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf
  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 green/blue/red 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_huashan



[ donations ]

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 Recovery v03 (FW:12.1.A.1.201) {MIRROR}
MD5HASH: 56cc37aa72c2a3a727341299bb1cf441






OLD:




Advance Stock Kernel with Recovery v02 (FW:12.1.A.1.201) {MIRROR}
MD5HASH: 49d4b03efc9f64369d7001e42f373c2f


Advance Stock Kernel with Recovery v01 (FW:12.1.A.0.266) {MIRROR}
MD5HASH: 2ebdc746553c622699f65c0c6fe95117








icon8.gif



enjoy!!!
 
Last edited:

DooMLoRD

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




[ 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
 

e1i@zzz

Senior Member
Jan 19, 2013
191
68
Amazing.

I assume, locked bootloader you´re working on? ;)

still not want to unlock my bootloader :p
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
Great DooMLoRD, You Are so fast!
Very thanks for supporting XSP...

thanks! if i have device in hand its easier to support it :)

thank you all for donating device to me!



Amazing.

I assume, locked bootloader you´re working on? ;)

still not want to unlock my bootloader :p

for now no... there is a way to root on locked bootloader... but I am busy right now and have pathetically slow internet bandwidth! anyways I am sure @[NUT] can post that upgrade with root package...

@[NUT]
the partition format for the Xperia SP is different!!! dont flash anything to "boot", booting kernel is at Kernel

FYI:
Code:
C:\Users\DooMLoRD>adb shell ls -l /dev/block/platform/msm_sdcc.1/by-name

lrwxrwxrwx root     root              2014-02-13 01:53 Boot -> /dev/block/mmcblk0p2
lrwxrwxrwx root     root              2014-02-13 01:53 Boot2 -> /dev/block/mmcblk0p3
lrwxrwxrwx root     root              2014-02-13 01:53 Cache -> /dev/block/mmcblk0p14
lrwxrwxrwx root     root              2014-02-13 01:53 FOTAKernel -> /dev/block/mmcblk0p11
lrwxrwxrwx root     root              2014-02-13 01:53 Kernel -> /dev/block/mmcblk0p4
lrwxrwxrwx root     root              2014-02-13 01:53 LTALabel -> /dev/block/mmcblk0p12
lrwxrwxrwx root     root              2014-02-13 01:53 System -> /dev/block/mmcblk0p13
lrwxrwxrwx root     root              2014-02-13 01:53 TA -> /dev/block/mmcblk0p1
lrwxrwxrwx root     root              2014-02-13 01:53 TZ -> /dev/block/mmcblk0p5
lrwxrwxrwx root     root              2014-02-13 01:53 Userdata -> /dev/block/mmcblk0p15
lrwxrwxrwx root     root              2014-02-13 01:53 apps_log -> /dev/block/mmcblk0p10
lrwxrwxrwx root     root              2014-02-13 01:53 fsg -> /dev/block/mmcblk0p8
lrwxrwxrwx root     root              2014-02-13 01:53 modemst1 -> /dev/block/mmcblk0p6
lrwxrwxrwx root     root              2014-02-13 01:53 modemst2 -> /dev/block/mmcblk0p7
lrwxrwxrwx root     root              2014-02-13 01:53 ramdump -> /dev/block/mmcblk0p9
 

[NUT]

Senior Member
Thanks for the pointer @DooMLoRD, it also pointed me to the mistakes I made for the T :eek:

Building XZDualRecovery for the SP as we speak.

Once this has been tested successfully I can do the update package :good:

http://xdaforums.com/showthread.php?t=226160

Watch for it's release and help me debug it!

-- RELEASED NOW --
 
Last edited:

peters.

Senior Member
Oct 10, 2011
337
58
The RAM consumption bug is also present on this kernel...
I was running the stock kernel without recovery on leaked ROM for 3 weeks without issue.
 
  • Like
Reactions: syga

papawil01

Senior Member
Oct 29, 2013
310
32
Cabanatuan City
wait, wait. the link you posted on how to unlock bootloader requires root. however, i am not rooted (obviously) so i cannot unlock bootloader. but rooting requires unlocked bootloader and mine's locked, so what should i do? :eek:
 
  • Like
Reactions: syga and @non4

papawil01

Senior Member
Oct 29, 2013
310
32
Cabanatuan City
is this correct?

1. flash stock .254
2. root stock 254
3. backup TA
4. unlock bootloader (.254)
5. flash .266 (with unlocked bl)
6. root .266 (using doomlord's method)
7. restore drm keys from .254 (wc will also relock bl)

thanks. badly need root for .266 -_-
 
  • Like
Reactions: eefathi

[NUT]

Senior Member
is this correct?

1. flash stock .254
2. root stock 254
3. backup TA
4. unlock bootloader (.254)
5. flash .266 (with unlocked bl)
6. root .266 (using doomlord's method)
7. restore drm keys from .254 (wc will also relock bl)

thanks. badly need root for .266 -_-

That should do fine, but at step 7 you should also flash the stock kernel back, failing to do so will end up in a (recoverable) softbrick.
 

neXus PRIME

Senior Member
Nov 22, 2011
3,547
4,540
Lahore, Pakistan
  • Like
Reactions: mlm1102003

arvinivra

Senior Member
Apr 20, 2009
125
21
Sanandaj
After install this, I've problem with ram managment, back button in some app and games, and re open launcher

Sent from my C5303 using XDA Premium 4 mobile app
 

[NUT]

Senior Member
got it, thanks. btw, one last question. do you happen to know what .ftf file should i download? im in the Philippines and not quite sure about which one to download, since there isn't a global generic one yet.

Unless you have a vendor build (the 6 on the end of your model number usually gives that away), there should not even be a very big difference. Baseband should be the same and the ROM is generic by nature. Only some customization differences which mean some more or less apps.

In your current ROM you can find your build.prop, use that to find out your own customization and use this guide to help yourself build your own FTF.

Good luck :)
 
  • Like
Reactions: papawil01

Top Liked Posts

  • There are no posts matching your filters.
  • 86
    This is a CWM-Based Recovery 6.0.4.6 Touch Recovery for Xperia SP



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






    [ info ]

    This recovery is built from CWM Recovery 6.0.4.6 sources and is integrated into stock kernel... I call this an advanced stock kernel with recovery!

    the core kernel (zImage) is exactly the same as the one supplied by Sony for that particular firmware... only the ramdisk is changed to add recovery and other features!





    [ credits / special thanks ]

    • Koush - for the brilliant work & coding on CWM recovery
    • CyanogenMod and FreeXperia Team (especially jerpelea) for too many things :)
    • ME for creating this for u guys!



    [ Requirements ]

    • Bootloader unlocked
    • working fastboot
    • STOCK ROM FW:
      • 4.3 -> 12.1.A.1.201 - v02, v03
      • 4.3 -> 12.1.A.0.266 - v01
      or ROMS BASED ON THAT FIRMWARE



    [ features ]

    1. standard CWM recovery 6.0.4.6 - TOUCH RECOVERY!
    2. adb debugging is enabled by default in OS
    3. fixed root remount in ramdisk
    4. TIP: if u are experiencing very slow backup in CWM do this




    [ WARNING ]


    for flashing this kernel you WILL NEED TO UNLOCK BOOTLOADER! Check this thread for more info...


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




    [ how to flash this kernel ] (via fastboot)

    1. download the kernel image
    2. save the SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf to the folder containing fastboot binary
    3. flash the SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf using fastboot:
      Code:
      fastboot flash boot SP_DooMLoRD_AdvStkKernel_FW-XXX_vXX.elf
    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 green/blue/red 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_huashan



    [ donations ]

    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 Recovery v03 (FW:12.1.A.1.201) {MIRROR}
    MD5HASH: 56cc37aa72c2a3a727341299bb1cf441






    OLD:




    Advance Stock Kernel with Recovery v02 (FW:12.1.A.1.201) {MIRROR}
    MD5HASH: 49d4b03efc9f64369d7001e42f373c2f


    Advance Stock Kernel with Recovery v01 (FW:12.1.A.0.266) {MIRROR}
    MD5HASH: 2ebdc746553c622699f65c0c6fe95117








    icon8.gif



    enjoy!!!
    32
    Rooting Instructions




    [ 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
    14
    Great DooMLoRD, You Are so fast!
    Very thanks for supporting XSP...

    thanks! if i have device in hand its easier to support it :)

    thank you all for donating device to me!



    Amazing.

    I assume, locked bootloader you´re working on? ;)

    still not want to unlock my bootloader :p

    for now no... there is a way to root on locked bootloader... but I am busy right now and have pathetically slow internet bandwidth! anyways I am sure @[NUT] can post that upgrade with root package...

    @[NUT]
    the partition format for the Xperia SP is different!!! dont flash anything to "boot", booting kernel is at Kernel

    FYI:
    Code:
    C:\Users\DooMLoRD>adb shell ls -l /dev/block/platform/msm_sdcc.1/by-name
    
    lrwxrwxrwx root     root              2014-02-13 01:53 Boot -> /dev/block/mmcblk0p2
    lrwxrwxrwx root     root              2014-02-13 01:53 Boot2 -> /dev/block/mmcblk0p3
    lrwxrwxrwx root     root              2014-02-13 01:53 Cache -> /dev/block/mmcblk0p14
    lrwxrwxrwx root     root              2014-02-13 01:53 FOTAKernel -> /dev/block/mmcblk0p11
    lrwxrwxrwx root     root              2014-02-13 01:53 Kernel -> /dev/block/mmcblk0p4
    lrwxrwxrwx root     root              2014-02-13 01:53 LTALabel -> /dev/block/mmcblk0p12
    lrwxrwxrwx root     root              2014-02-13 01:53 System -> /dev/block/mmcblk0p13
    lrwxrwxrwx root     root              2014-02-13 01:53 TA -> /dev/block/mmcblk0p1
    lrwxrwxrwx root     root              2014-02-13 01:53 TZ -> /dev/block/mmcblk0p5
    lrwxrwxrwx root     root              2014-02-13 01:53 Userdata -> /dev/block/mmcblk0p15
    lrwxrwxrwx root     root              2014-02-13 01:53 apps_log -> /dev/block/mmcblk0p10
    lrwxrwxrwx root     root              2014-02-13 01:53 fsg -> /dev/block/mmcblk0p8
    lrwxrwxrwx root     root              2014-02-13 01:53 modemst1 -> /dev/block/mmcblk0p6
    lrwxrwxrwx root     root              2014-02-13 01:53 modemst2 -> /dev/block/mmcblk0p7
    lrwxrwxrwx root     root              2014-02-13 01:53 ramdump -> /dev/block/mmcblk0p9
    5
    Thanks for the pointer @DooMLoRD, it also pointed me to the mistakes I made for the T :eek:

    Building XZDualRecovery for the SP as we speak.

    Once this has been tested successfully I can do the update package :good:

    http://xdaforums.com/showthread.php?t=226160

    Watch for it's release and help me debug it!

    -- RELEASED NOW --
    4
    Great DooMLoRD, You Are so fast!
    Very thanks for supporting XSP...