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

Search This thread

mjckey

Member
Jul 6, 2012
37
4
Can the Xperia M2 make TA backup (with rooting locked bootloader first)? Sorry for my bad English..
 

G-FACE

Senior Member
Jul 9, 2010
1,338
610
Plovdiv
hi @G-FACE !! long time no see... you have the X10 right?

my development laptop has gone for repairs so cant build anything right now..

but you guys should check out TowelRoot... you might get root on LOCKED bootloaders too!!!


Hi ya @DooMLoRD Haha, glad you remember me. Yes I am, and I'm keeping my good old X10 as a second talky-talk phone.

I was trying to help out to root my friend's M2, and yes TowelRoot worked perfectly on it. :good:
 
M

MpB907

Guest
You are everywhere!

OFC DooM is the first to make a CWM for Xperia M2...

Is there any Xperia device you haven't developed for?
 

henryeon14

Member
Apr 14, 2013
28
2
how to unlockbootloader my sony xperia m2 single d2305 because in sony web no choise for xperia m2 so i cant press continue :rolleyes:
sorry for my bad english
 

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:
    lozohcum@XubuntuHDD:~/eagle/msm8226_m2$ fastboot boot boot.img
    downloading 'boot.img'...
    OKAY [  0.432s]
    booting...
    FAILED (remote: dtb not found)
    finished. total time: 0.575s
    lozohcum@XubuntuHDD:~/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:
    lozohcum@XubuntuHDD:~/eagle/msm8226_m2$ fastboot boot boot.img
    downloading 'boot.img'...
    OKAY [  0.432s]
    booting...
    FAILED (remote: dtb not found)
    finished. total time: 0.575s
    lozohcum@XubuntuHDD:~/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