[D2305] CWM-Based Recovery 6.0.4.6 + ROOT for Xperia M2 (Single SIM) [20140510]

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,191
39,707
Pune
This is a CWM-Based Recovery 6.0.4.6 Touch Recovery for Xperia M2 (Single SIM)!



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






[ info ]

This Recovery is built from CWM 6.0.4.6 sources!

I dont have this device with me and I dont intend to buy one... a friend wanted root on his phone so I created this to help him out...

all the testing was done remotely on users devices...




@mods
I know that there is no device specific forum for this so I have posted thread here in Z2 general section... please move it to the device sub-forum once its created...


P.S: I know that some people think that its no big deal to have recovery/root on unlocked bootloader, and I do agree with that upto certain extent... but now that you have recovery/root you can do a LOT more... just unlocking bootloader wont give you anything!!! devs need to lay the foundations for further development... i have seen so many devices with unlockable bootloader and without root/recovery, but no one bothered to create recovery/root for those users...


[ PROOF ]


BnN64iWCAAAeVSA.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 @saiarkar 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.3
      • 18.0.A.1.30 - v01
    or ROMS BASED ON THAT FIRMWARE
  • tested on Single SIM variant so it MAY NOT work on dual SIM variant!!



[ features ]

  1. standard CWM recovery 6.0.4.6 - TOUCH RECOVERY!
  2. adb debugging is enabled by default in OS
  3. 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 (same steps as Xperia Z1 are used for Xperia M2 Single Sim)


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


AND YES CAMERA STILL WORKS AFTER UNLOCKING BOOTLOADER!!!



[ known issues ]



dont know, you tell me!!!





[ 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 DOWN key





[ how to Root ]

for instructions on how to root please check this post



[ sources ]

https://github.com/DooMLoRD/android_device_sony_honami

(the current recovery is based on Z1 sources)


[ 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 v01 (FW: 18.0.A.1.30}
MD5HASH: aadeb5d0f9c0a0cab0cf5ba53f3d9a8b



OLD:



.....








icon8.gif



enjoy!!!
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,191
39,707
Pune
Rooting Instructions


[ proof ]

attachment.php





[ 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
 

Attachments

  • Screenshot_1970-01-02-00-01-20.png
    Screenshot_1970-01-02-00-01-20.png
    72.4 KB · Views: 92,697

Ben Ling

Recognized Themer
Nov 2, 2012
4,868
11,777
Kuala Lumpur
Nice work ;)

Btw just want to ask is it able to root Xperia Z 4.4.2 on locked bootloader when the update rolls out ?

And i reported the thread for moving to Xperia M2 Forum
 
  • Like
Reactions: kira1996

kira1996

Member
Feb 26, 2013
5
0
==================

Awesome! i've been searching a long time :D:D and finally found it , did someone have success on M2 dual ? (d2302)
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,191
39,707
Pune
Awesome! i've been searching a long time :D:D and finally found it , did someone have success on M2 dual ? (d2302)

Send me kernel.sin and I can create a test recovery kernel





Nice work ;)

Btw just want to ask is it able to root Xperia Z 4.4.2 on locked bootloader when the update rolls out ?

And i reported the thread for moving to Xperia M2 Forum

No idea



Didn't know that M2 had its own section :)


Sent from my C6902 using XDA Free mobile app
 

arnabbiswasalsodeep

Senior Member
Jan 26, 2013
461
403
Mumbai
What happens to the ta partition?
Lose the drm keys to root?
Can't we do a backup like on other devices before unlocking?

Press thanks :good: if I've helped :highfive:
 
  • Like
Reactions: longldt

saiarkar

Senior Member
Aug 23, 2012
50
17
Sorry i don't have a device for this region. Someone may be help you. :)


Sent from my iPhone using Tapatalk
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,191
39,707
Pune
hey guys I have updated my Xperia SDCARD Mounter app to support this phone!


what does the app do?

It will allow you to connect the external SDCARD as a USB Mass Storage device....
so basically the sdcard will act as a USB stick/pen drive...

you can use the classic/advanced copy manager (TotalCopy, etc) which gives u greater level of control and possibly better copy speeds (though this is debatable)...

also the internal sdcard will be now be easily mounted on linux devices which have issues recognizing MTP connection...


hope you like it!



regards,

DooMLoRD
 
  • Like
Reactions: reaper7md

reaper7md

Member
Jun 19, 2012
21
5
nice!

but there is no stock ftf with root implemented :(
because root is neccesary for many aspects...and some xperia devices have "Bootloader unlock allowed: No"
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    This is a CWM-Based Recovery 6.0.4.6 Touch Recovery for Xperia M2 (Single SIM)!



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






    [ info ]

    This Recovery is built from CWM 6.0.4.6 sources!

    I dont have this device with me and I dont intend to buy one... a friend wanted root on his phone so I created this to help him out...

    all the testing was done remotely on users devices...




    @mods
    I know that there is no device specific forum for this so I have posted thread here in Z2 general section... please move it to the device sub-forum once its created...


    P.S: I know that some people think that its no big deal to have recovery/root on unlocked bootloader, and I do agree with that upto certain extent... but now that you have recovery/root you can do a LOT more... just unlocking bootloader wont give you anything!!! devs need to lay the foundations for further development... i have seen so many devices with unlockable bootloader and without root/recovery, but no one bothered to create recovery/root for those users...


    [ PROOF ]


    BnN64iWCAAAeVSA.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 @saiarkar 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.3
        • 18.0.A.1.30 - v01
      or ROMS BASED ON THAT FIRMWARE
    • tested on Single SIM variant so it MAY NOT work on dual SIM variant!!



    [ features ]

    1. standard CWM recovery 6.0.4.6 - TOUCH RECOVERY!
    2. adb debugging is enabled by default in OS
    3. 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 (same steps as Xperia Z1 are used for Xperia M2 Single Sim)


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


    AND YES CAMERA STILL WORKS AFTER UNLOCKING BOOTLOADER!!!



    [ known issues ]



    dont know, you tell me!!!





    [ 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 DOWN key





    [ how to Root ]

    for instructions on how to root please check this post



    [ sources ]

    https://github.com/DooMLoRD/android_device_sony_honami

    (the current recovery is based on Z1 sources)


    [ 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 v01 (FW: 18.0.A.1.30}
    MD5HASH: aadeb5d0f9c0a0cab0cf5ba53f3d9a8b



    OLD:



    .....








    icon8.gif



    enjoy!!!
    5
    @DooMLoRD I almost finished making D2303 kernel with CWM but I need little help with packing.

    Does dt.img has to be in GZ archiwe like CPIO RAMDISK?
    Because this command (from your tools)
    Code:
    ./mkbootimg --base 0x00000000 --kernel zImage --ramdisk_offset 0x02300000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37" --ramdisk ramdisk.gz --dt dt.img -o boot.img
    points that I should use dt.img, but kernel doesn't seem to work after I put everything together.
    I'm getting this error at boot attempt:

    Code:
    [email protected]:~/eagle/msm8226_m2$ fastboot boot boot.img
    downloading 'boot.img'...
    OKAY [  0.432s]
    booting...
    FAILED (remote: dtb not found)
    finished. total time: 0.575s
    [email protected]:~/eagle/msm8226_m2$

    Most probably dt image is not packed properly. Send me the kernel you made. I'll try to fix it up ASAP.

    Cheers,
    AJ
    3
    @DooMLoRD I almost finished making D2303 kernel with CWM but I need little help with packing.

    Does dt.img has to be in GZ archiwe like CPIO RAMDISK?
    Because this command (from your tools)
    Code:
    ./mkbootimg --base 0x00000000 --kernel zImage --ramdisk_offset 0x02300000 --tags_offset 0x01E00000 --pagesize 2048 --cmdline "console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37" --ramdisk ramdisk.gz --dt dt.img -o boot.img
    points that I should use dt.img, but kernel doesn't seem to work after I put everything together.
    I'm getting this error at boot attempt:

    Code:
    [email protected]:~/eagle/msm8226_m2$ fastboot boot boot.img
    downloading 'boot.img'...
    OKAY [  0.432s]
    booting...
    FAILED (remote: dtb not found)
    finished. total time: 0.575s
    [email protected]:~/eagle/msm8226_m2$
    2
    Rooting Instructions


    [ proof ]

    attachment.php





    [ 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
    2
    I have a D2303 with unlocked bootloader. If you make a kernel for this device, i can test for you. You have the sources and all the stuff you need? It will make me happy if i can help you tu build a CWM for our phone.

    I will do it when I have time