[CWM-TWRP]Xperia S Dual Recovery for locked/unlocked bootloaders

Search This thread

Zorbeyd

Senior Member
Jan 23, 2013
366
371
zorbey.dogangunes.net
Dual Recovery for locked-unlocked bootloaders. TWRP 2.6.3 - CWM 6.0.3 works together!
Warning 1 : I am not responsible for bricked phones..
Warning 2 : I am not user of Xperia S, so need testers for learn is it working... (working-confirmed)
Warning 3 : If you are using CM10 for locked bootloader, dont install this. It'll broke your initframs...
Warning 4 : If you have CWM(with chargemon hack) you may get problem. Do fresh install without recoveries...


How it works ?
-When booting your phone, BLUE led will appear.
--Volume UP enters TWRP 2.6.3
--Volume DOWN enters CWM 6.0.3

On CWM, " USB MOUNT STORAGE" works.

How to install :

Method 1)
Dual Recovery For Xperia S ( Installer Script )
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEdUdGVGc4aDFya3M

Requires : (JB-KK)
- rooted phone
- adb debug enabled
- busybox installed
- unknown sources enabled
and start
- download installer script from above.
- unzip it into a folder.
- there are batch files for windows users and also for linux users in both the zips.
- just execute the batch files and follow the messages if any.

Method 2)
Flashable Zip for Xperia S (only for TWRP flash, it wont work on CWM flashing.)
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLESmlYa1JSamxJTWc

Method 3)
- Download Flashable Zip version (on method 2 part).
- Extract it and copy files to your sdcard.
- Manually copy files via explorers with root:
cwmrecovery.tar and recovery.tar ---to--- /system/bin (set permissions 755)
step2.sh and pre_hw_config.sh ---to--- /system/etc (set permissions 755)
-Reboot​

XDA:DevDB Information
[CWM-TWRP] Xperia S Dual Recovery for locked/unlocked bootloaders , a Tool/Utility for the Sony Xperia S

Contributors
Zorbeyd

Version Information
Status: Stable

Created 2014-02-03
Last Updated 2014-02-04
 

ahumayun83

Member
Jun 21, 2013
19
3
It's says while intalling in windows ....,what i do?

----------------------------------------------------------------------
CWM-based Recovery v6.0.3.0 / TWRP v2.6.3
by Zorbeyd
----------------------------------------------------------------------
Thanks to
CM, FreeXperia, djolivier cray_Doze, letama, MrGezz, ganeshbiyer
----------------------------------------------------------------------
[*]Requirements for PC:
(1) usb driver installed
[*]Requirements for mobile:
(1) rooted
(2) busybox installed
(3) Unknown Sources' enabled
(4) USB debugging' enabled
----------------------------------------------------------------------

----------------------------------------------------------------------
* Start installation.("ctrl-c" to stop process)
----------------------------------------------------------------------
Press any key to continue . . .
connect device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
35 KB/s (1695 bytes in 0.046s)
0 KB/s (801 bytes in 1.000s)
3 KB/s (3397 bytes in 1.000s)
4053 KB/s (1165484 bytes in 0.280s)
4057 KB/s (5314560 bytes in 1.279s)
3885 KB/s (3041280 bytes in 0.764s)
0 KB/s (578 bytes in 1.000s)
----------------------------------------------------------------------
An error has occurred in dualrecovery.sh. Stop processing.
Press any key to continue . . .
----------------------------------------------------------------
20140203 134233: busybox mount -o remount,rw /system
20140203 134233: RET=0
20140203 134233: cp /data/local/tmp/pre_hw_config.sh /system/etc
h
20140203 134233: RET=0
20140203 134233: chown root.shell /system/etc/pre_hw_config.sh
20140203 134233: RET=0
20140203 134233: chmod 755 /system/etc/pre_hw_config.sh
20140203 134233: RET=0
20140203 134233: cp /data/local/tmp/step2.sh /system/etc/step2.s
20140203 134233: RET=0
20140203 134233: chown root.shell /system/etc/step2.sh
Unable to chown /system/etc/step2.sh: No such file or directory
20140203 134233: RET=10
Press any key to continue . . .
 

edwuard

Senior Member
Jul 29, 2013
274
196
i make all this instruction and in the final said dual instaled y have ub with kernel doomlord but everytime i restart the phone with vol plus no touch recovery just normal included in kernel doomlord any help is apreciate thank u don t work dual bro
 

Captain Droid

Senior Member
Dec 6, 2012
591
208
Riyadh
Deleted

---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------

i make all this instruction and in the final said dual instaled y have ub with kernel doomlord but everytime i restart the phone with vol plus no touch recovery just normal included in kernel doomlord any help is apreciate thank u don t work dual bro

If you have TWRP in your Kernel then it wont be replaced, as this is not kernel based. For that you need to flash stock kernel then use this mod. you will get Dual recovery.
 
  • Like
Reactions: vennkis

edwuard

Senior Member
Jul 29, 2013
274
196
deleted

---------- post added at 04:42 pm ---------- previous post was at 04:39 pm ----------



if you have twrp in your kernel then it wont be replaced, as this is not kernel based. For that you need to flash stock kernel then use this mod. You will get dual recovery.
doomlord kernel is stock withouwt twrp bro and as i say y have the old cwr not the new what is the problem to solve this i don t need to flash a kernel without recovery but this doomlord has the cwr not twrp any sugestion thank u
 

Zorbeyd

Senior Member
Jan 23, 2013
366
371
zorbey.dogangunes.net

milocj

Senior Member
Nov 11, 2012
414
251
Valencia
testing dual recovery

I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM :( anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat :eek:
 

Chocklety Boyee

Senior Member
Sep 23, 2013
1,675
423
Kathmandu,Nepal
I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM :( anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat :eek:
@milocj I tried flashing the initial version via cwm and it worked fine for my..I can acess twrp via vol+ and cwm via vol-..

Sent from my LT28h using XDA Premium 4 mobile app
 
  • Like
Reactions: milocj

Zorbeyd

Senior Member
Jan 23, 2013
366
371
zorbey.dogangunes.net
I installed the .bat, the installation was successful, but after reboot, only allows me to access CWM, I have rebooted 4 times, each pressing a different button, vol +, vol-, power, camera ... but only open CWM :( anyway, thanks for the hard work, I have locked bootloader, and if necessary, I try again with a new one .bat :eek:

Hello milocj

Can you share /data/local/tmp/dualrecovery.log ?
 

milocj

Senior Member
Nov 11, 2012
414
251
Valencia
One question: u are flash zip for TWRP?
@milocj by DevSXSTEAM

---------- Post added at 07:02 PM ---------- Previous post was at 07:00 PM ----------

Hello milocj

Can you share /data/local/tmp/dualrecovery.log ?

Yes
yvy9ymy7.jpg

@milocj by DevSXSTEAM
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Dual Recovery for locked-unlocked bootloaders. TWRP 2.6.3 - CWM 6.0.3 works together!
    Warning 1 : I am not responsible for bricked phones..
    Warning 2 : I am not user of Xperia S, so need testers for learn is it working... (working-confirmed)
    Warning 3 : If you are using CM10 for locked bootloader, dont install this. It'll broke your initframs...
    Warning 4 : If you have CWM(with chargemon hack) you may get problem. Do fresh install without recoveries...


    How it works ?
    -When booting your phone, BLUE led will appear.
    --Volume UP enters TWRP 2.6.3
    --Volume DOWN enters CWM 6.0.3

    On CWM, " USB MOUNT STORAGE" works.

    How to install :

    Method 1)
    Dual Recovery For Xperia S ( Installer Script )
    Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEdUdGVGc4aDFya3M

    Requires : (JB-KK)
    - rooted phone
    - adb debug enabled
    - busybox installed
    - unknown sources enabled
    and start
    - download installer script from above.
    - unzip it into a folder.
    - there are batch files for windows users and also for linux users in both the zips.
    - just execute the batch files and follow the messages if any.

    Method 2)
    Flashable Zip for Xperia S (only for TWRP flash, it wont work on CWM flashing.)
    Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLESmlYa1JSamxJTWc

    Method 3)
    - Download Flashable Zip version (on method 2 part).
    - Extract it and copy files to your sdcard.
    - Manually copy files via explorers with root:
    cwmrecovery.tar and recovery.tar ---to--- /system/bin (set permissions 755)
    step2.sh and pre_hw_config.sh ---to--- /system/etc (set permissions 755)
    -Reboot​

    XDA:DevDB Information
    [CWM-TWRP] Xperia S Dual Recovery for locked/unlocked bootloaders , a Tool/Utility for the Sony Xperia S

    Contributors
    Zorbeyd

    Version Information
    Status: Stable

    Created 2014-02-03
    Last Updated 2014-02-04
    6
    Thanks goes to : @letama , @djolivier , @ganeshbiyer , twrp team, cyanogenmod, fxp, @MrGezz , @DooMLoRD , crazy_doze
    2
    If you have the time to do it, then take a look at this --> http://xdaforums.com/showpost.php?p=49052879&postcount=6

    Its very simple, and i'd do it myself but i dont have time nor the fastest connection around to dl everything needed to compile :(
    2
    It's says while intalling in windows ....,what i do?

    ----------------------------------------------------------------------
    CWM-based Recovery v6.0.3.0 / TWRP v2.6.3
    by Zorbeyd
    ----------------------------------------------------------------------
    Thanks to
    CM, FreeXperia, djolivier cray_Doze, letama, MrGezz, ganeshbiyer
    ----------------------------------------------------------------------
    [*]Requirements for PC:
    (1) usb driver installed
    [*]Requirements for mobile:
    (1) rooted
    (2) busybox installed
    (3) Unknown Sources' enabled
    (4) USB debugging' enabled
    ----------------------------------------------------------------------

    ----------------------------------------------------------------------
    * Start installation.("ctrl-c" to stop process)
    ----------------------------------------------------------------------
    Press any key to continue . . .
    connect device
    * daemon not running. starting it now on port 5037 *
    * daemon started successfully *
    35 KB/s (1695 bytes in 0.046s)
    0 KB/s (801 bytes in 1.000s)
    3 KB/s (3397 bytes in 1.000s)
    4053 KB/s (1165484 bytes in 0.280s)
    4057 KB/s (5314560 bytes in 1.279s)
    3885 KB/s (3041280 bytes in 0.764s)
    0 KB/s (578 bytes in 1.000s)
    ----------------------------------------------------------------------
    An error has occurred in dualrecovery.sh. Stop processing.
    Press any key to continue . . .
    ----------------------------------------------------------------
    20140203 134233: busybox mount -o remount,rw /system
    20140203 134233: RET=0
    20140203 134233: cp /data/local/tmp/pre_hw_config.sh /system/etc
    h
    20140203 134233: RET=0
    20140203 134233: chown root.shell /system/etc/pre_hw_config.sh
    20140203 134233: RET=0
    20140203 134233: chmod 755 /system/etc/pre_hw_config.sh
    20140203 134233: RET=0
    20140203 134233: cp /data/local/tmp/step2.sh /system/etc/step2.s
    20140203 134233: RET=0
    20140203 134233: chown root.shell /system/etc/step2.sh
    Unable to chown /system/etc/step2.sh: No such file or directory
    20140203 134233: RET=10
    Press any key to continue . . .
    2
    Can you compile TWRP with USB mounting fix? Its very easy to fix. and xperia s user will thank you very much :)

    I'll look what can i do. For now CWM will work with "Usb Mount Storage"