[CWM-TWRP] Xperia ION Dual Recovery for locked/unlocked bootloaders - Sony Xperia S, Acro S, Ion

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: If you are using CM10 Locked Bootloader Version, these scripts will broke initframs. Dont use this with it.
Warning 3: 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
GOOD NEWS :
On CWM, external-sd mount works and also " USB MOUNT STORAGE"
How to install :
Method 1)
Dual Recovery For Ion ( Installer Script )
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLESnFIeERXTUh2Nkk
Requires for "method 1" : (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 (only for TWRP flash, it wont work on CWM flashing.)
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEMlIzOUlSb2ZkWk0
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 ION Dual Recovery for locked/unlocked bootloaders, a Tool/Utility for the Sony Xperia Ion
Contributors
Zorbeyd
Version Information
Status: Stable
Created 2014-02-03
Last Updated 2014-02-04

Thanks goes to : @letama , @djolivier , @ganeshbiyer , twrp team, cyanogenmod, fxp, @MrGezz , @DooMLoRD , crazy_doze

nice , congratz
Sent from my C6603 using XDA Premium 4 mobile app

Zorbeyd said:
Dual Recovery for locked-unlocked bootloaders. TWRP 2.6.3 - CWM 6.0.3 works together!​Warning : I am not responsible for bricked phones..
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
GOOD NEWS :
On CWM, external-sd mount works and also " USB MOUNT STORAGE"
Downloads :
Dual Recovery For Ion ( Installer Script )
Link : https://drive.google.com/uc?export=download&id=0Bw6g-VrksXLEVzAxalhCOXlQMms
Important : Installer Script works well on Linux platform, but i'm not able to test it on Windows. Need test.
Requires : (JB-KK)
- rooted phone
- adb debug enabled
- busybox installed
- unknown sources enabled
How to install :
- 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.
Flashable Zip (only for TWRP flash, it wont work on CWM flashing.)
Link : https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLEMlIzOUlSb2ZkWk0​
XDA:DevDB Information
[CWM-TWRP] Xperia ION Dual Recovery for locked/unlocked bootloaders, a Tool/Utility for the Sony Xperia Ion
Contributors
Zorbeyd
Version Information
Status: Stable
Created 2014-02-03
Last Updated 2014-02-02
Click to expand...
Click to collapse
@Zorbeyd the installer script is not working on windows
there is some error while running the script
but the zip file is working fine
Thanks

Installer script not working. No big deal
But flashed the Zip and i have now TWRP and CWM. :victory:
Awesome work mate.:good:

Good wrok my bro @Zorbeyd..you are the man
Sent from my LT28h using XDA Premium 4 mobile app

I don't think it is works for me.

kin912 said:
I don't think it is works for me.
Click to expand...
Click to collapse
Which method did you use dear king912?

Zorbeyd said:
Which method did you use dear king912?
Click to expand...
Click to collapse
hei,bro.I pack it to miui rom.The files are cp to /tmp when the phone boot,but the sh is not work.
---------- Post added at 09:22 PM ---------- Previous post was at 09:16 PM ----------
Zorbeyd said:
Which method did you use dear king912?
Click to expand...
Click to collapse
You should know the old method to boot recovery is hack the chargemon,but with a bug is that you can not reboot into recovery from the system.
I pm @MrGezz and he said that your recovery is work prefect.So I want to try.

If rom using chargemon hack, this wont work.
Btw there may a problem on install scripts. Flashable version works. I'm going to fix install scripts today.

Installer Script Updated (added first post) (thanks to [NUT]) :
https://docs.google.com/uc?export=download&id=0Bw6g-VrksXLESnFIeERXTUh2Nkk

Zorbeyd said:
If rom using chargemon hack, this wont work.
Btw there may a problem on install scripts. Flashable version works. I'm going to fix install scripts today.
Click to expand...
Click to collapse
I just use your files but it isn't work.I don't know the reason.

kin912 said:
I just use your files but it isn't work.I don't know the reason.
Click to expand...
Click to collapse
Please try with latest installer script. Log will help us.

Zorbeyd said:
Please try with latest installer script. Log will help us.
Click to expand...
Click to collapse
Ok,I know the reasion.It works great now.:laugh:

kin912 said:
Ok,I know the reasion.It works great now.:laugh:
Click to expand...
Click to collapse
Oh fine..
And i added 3. method for make it work..

Zorbeyd said:
Oh fine..
And i added 3. method for make it work..
Click to expand...
Click to collapse
But reboot into recovery still not work.
---------- Post added at 11:36 AM ---------- Previous post was at 11:18 AM ----------
Zorbeyd said:
Oh fine..
And i added 3. method for make it work..
Click to expand...
Click to collapse
step2.sh must set per to 755 above to work.:silly:

Dual recovery works only once, that is I am able to get to either CWM or TWRP and do backup/restore, but if I restore previously made backup, the other recovery disappears. Moreover, depending on the rom I restore, recovery is screwed, meaning either CWM or TWRP refuse to work: cannot unmount system. It probably makes sense, because previous backup comes with its own recovery.
So, I guess this works, but only on subsequent backups and restore. In other words, you can only restore backups made after installation of double recovery.
P.S. You should give credit (as opposed to just thanks) to those who helped you with this. They provided you with files and directions on how to do this.

argonom said:
Dual recovery works only once, that is I am able to get to either CWM or TWRP and do backup/restore, but if I restore previously made backup, the other recovery disappears. Moreover, depending on the rom I restore, recovery is screwed, meaning either CWM or TWRP refuse to work: cannot unmount system. It probably makes sense, because previous backup comes with its own recovery.
So, I guess this works, but only on subsequent backups and restore. In other words, you can only restore backups made after installation of double recovery.
P.S. You should give credit (as opposed to just thanks) to those who helped you with this. They provided you with files and directions on how to do this.
Click to expand...
Click to collapse
A lot of people have locked bootloader here. So recoveries/scriptes must be based on ROM directories. If you use your old ROM backups this will gone. That is as natural as breathing.
and read second post for credits.

Zorbeyd said:
A lot of people have locked bootloader here. So recoveries/scriptes must be based on ROM directories. If you use your old ROM backups this will gone. That is as natural as breathing.
and read second post for credits.
Click to expand...
Click to collapse
That's right. But what is the point of having dual recovery? So that people can restore backups of prior roms made with CWM, but they can't do it, because dual recovery will be erased on restore. People with locked bootloaders can use CWM fine, but not TWRP. You should probably rewrite the script to have just TWRP. This way those with locked bootloaders can have it too. You don't really need dual recovery...
Good job, anyway...

argonom said:
That's right. But what is the point of having dual recovery? So that people can restore backups of prior roms made with CWM, but they can't do it, because dual recovery will be erased on restore. People with locked bootloaders can use CWM fine, but not TWRP. You should probably rewrite the script to have just TWRP. This way those with locked bootloaders can have it too. You don't really need dual recovery...
Good job, anyway...
Click to expand...
Click to collapse
Do your backups with dual recovery, you wont lost dual recovery.
This is simple like that.

Related

[Acro S][Kernel] Stock Kernel + CWM + TWRP + Init.d (6.2.B.1.96)

[Disclaimer] Do it at your own risk. I am not responsible for anything happened to your phone.
Hi all, it's been a long time and finally we have JB on our device.
So here is a modified Stock Kernel with dual recovery (CWM + TWRP) and init.d support which I created based on DoomLord and Desperanto86's kernels
Credits:
1. Desperanto86 - for the twrp recovery (2.4.4)
2. DoomLord and FXP team - for cwm kernel (6.0.2.7) and too many things to mention
Link (do not mirror)
6.2.B.1.96 - http://www.mediafire.com/?nyd6iusho6kd848
6.2.B.0.211 - http://www.mediafire.com/?5bplib92za7rpcr
6.2.B.0.200 - http://www.mediafire.com/?fbxqlf0jbkv8bik
Instructions:
1. Copy the downloaded file to the fastboot folder
2. Get into fastboot mode, and type:
Code:
fastboot flash boot kernel_62B196_acroS.elf
fastboot reboot
To get into CWM - Reboot your phone, press the volume up key a few times when the magenta led light appears
To get into TWRP - Reboot your phone, tap the screen a few times when the magenta led light appears
If you like it, please hit the [Thanks] button or you can buy me a beer
Awesome! Testing now!
edit
Work fine. CWM and TWRP. Thanks a lot.
AWESOME MAN, trying it out.
---------- Post added at 09:34 AM ---------- Previous post was at 09:30 AM ----------
cobrato said:
[Disclaimer] Do it at your own risk. I am not responsible for anything happened to your phone.
Hi all, it's been a long time and finally we have JB on our device.
So here is a modified Stock Kernel with dual recovery (CWM + TWRP) and init.d support which I created based on DoomLord and Desperanto86's kernels
Credits:
1. Desperanto86 - for the twrp recovery (2.4.4)
2. DoomLord and FXP team - for cwm kernel (6.0.3.2) and too many things to mention
Link (do not mirror)
http://www.mediafire.com/?8te43o98mqt4bfm
Instructions:
1. Copy the downloaded file to the fastboot folder
2. Get into fastboot mode, and type:
Code:
fastboot flash boot kernel_62B0200_acroS.elf
fastboot reboot
To get into CWM - Reboot your phone, press the volume up key a few times when the magenta led light appears
To get into TWRP - Reboot your phone, tap the screen a few times when the magenta led light appears
If you like it, please hit the [Thanks] button or you can buy me a beer
Click to expand...
Click to collapse
First of all the CWM version is 6.0.2.7, and there is no TWRP.
But ya you can install CWM in which you cant isntall zip from ext_sd card.
sabbir9985 said:
AWESOME MAN, trying it out.
---------- Post added at 09:34 AM ---------- Previous post was at 09:30 AM ----------
First of all the CWM version is 6.0.2.7, and there is no TWRP.
But ya you can install CWM in which you cant isntall zip from ext_sd card.
Click to expand...
Click to collapse
You're wrong.
There is TWRP 2.4.4.0 (if you keep pressing the touch on boot) and CWM (vol + on boot).
Also, I managed to root my Acro S with JB using TWRP.
Somehow when I tried to restart in TWRP, it asked if I wanted to root with SuperSu, I choose yes, it started, asked to Install SuperSu from Play, then I started It and then asked to root normal or by TWRP. I choose TWRP, it restarted and was rooted!
Cobrato, youre the man!
sabbir9985 said:
AWESOME MAN, trying it out.
---------- Post added at 09:34 AM ---------- Previous post was at 09:30 AM ----------
First of all the CWM version is 6.0.2.7, and there is no TWRP.
But ya you can install CWM in which you cant isntall zip from ext_sd card.
Click to expand...
Click to collapse
Sorry I thought doomlord's cwm version is 6.0.32
Sent from my LT26w using Tapatalk 2
Thank you Mr. Cobrato! It's working on my Acro S
There is TWRP and CWM
EDIT: What's with the fuzz about the CWM version? All I want is a goddarn working recovery on my phone and that's freaking it.
maguuss said:
You're wrong.
There is TWRP 2.4.4.0 (if you keep pressing the touch on boot) and CWM (vol + on boot).
Also, I managed to root my Acro S with JB using TWRP.
Somehow when I tried to restart in TWRP, it asked if I wanted to root with SuperSu, I choose yes, it started, asked to Install SuperSu from Play, then I started It and then asked to root normal or by TWRP. I choose TWRP, it restarted and was rooted!
Cobrato, youre the man!
Click to expand...
Click to collapse
I thought it should have the other way arround. Sorry for that. I will report win with TWRP status later. What's your CWM version.
cobrato said:
Sorry I thought doomlord's cwm version is 6.0.32
Sent from my LT26w using Tapatalk 2
Click to expand...
Click to collapse
Well, mine is showing 6.0.2.7
CWM 6.0.2.7
Hi cobrato,
Does this method work on locked BL Acro S?
nqhuy90 said:
Hi cobrato,
Does this method work on locked BL Acro S?
Click to expand...
Click to collapse
No, flashing a custom kernel will never ever work for locked bootloaders.
need rooted phone or not?
Any bug after installing?
Cannot read my extcard
chrissoriano said:
Any bug after installing?
Cannot read my extcard
Click to expand...
Click to collapse
Is your bootloader unlocked?
Sent from my LT26w Xperia acro S using xda premium
ItBankRock said:
Is your bootloader unlocked?
Sent from my LT26w Xperia acro S using xda premium
Click to expand...
Click to collapse
Yes...
chrissoriano said:
Yes...
Click to expand...
Click to collapse
That's weird, everything is normal for me. Maybe you have a modified system.
ItBankRock said:
That's weird, everything is normal for me. Maybe you have a modified system.
Click to expand...
Click to collapse
I don't think so,I using stock jb from Vietnam...then I flash this kernel.elf via flashtool coz I can't go to command prompt.,
updated new version which solve the USB mounting problem in CWM / TWRP (only for internal storage). To access external_sd in CWM/TWRP - use adb command
V2: http://www.mediafire.com/?fbxqlf0jbkv8bik
cobrato said:
updated new version which solve the USB mounting problem in CWM / TWRP (only for internal storage). To access external_sd in CWM/TWRP - use adb command
V2: http://www.mediafire.com/?fbxqlf0jbkv8bik
Click to expand...
Click to collapse
Thanks! but what command exactly?
can make flashable zip ? just a little wish if you can make it. .
Androidians said:
can make flashable zip ? just a little wish if you can make it. .
Click to expand...
Click to collapse
As you requested, here
http://www.mediafire.com/?84odybw9mtaoc7g
HIT the Thanks button if I helped!

[Kernel][Recovery][CM12]TWRP and CWM recoveries for Lollipop (CM12) [discontinued]

CM12 now comes with CyanogenMod recovery, which is unusable for now. So here are repacked kernels with TWRP and CWM.
For now, use Recovery-in-FOTA images! This thread probably will not be updated anymore. Also you can use this script.
Download TWRP (for PecanCM's Beta 3, not flashable)
Older versions (CWM included):
for FXP-2015-0115:
1. TWRP
2. CWM
For FXP-2015-0110 build:
1. TWRP (with fixed app2sd)
2. CWM
For PecanCM's 01.03 build:
1. CWM
2. TWRP
3. TWRP 2.8.3.0 (new)
For PecanCM's Beta 2:
1. CWM
2. TWRP
Thanks to:
@osm0sis for Android Image kitchen for Windows (and to @FindYanot and @Bonoboo for discovering it for me).
@JustArchi for compiling TWRP 2.8.3.0 for our device in ArchiDroid 3.0.1.1
Installation:
1. Extract archive to the root of external sdcard and run in terminal emulator su then /ext_card/flash_kernel.sh
or in adb adb shell /ext_card/flash_kernel.sh
2. Flash boot.img drom archive via fastboot (fastboot flash boot boot.img) or fastbootmode in Flashtool
These are obsolete, but will work though
3. Via adb:
- Place boot.img to the root of internal sd (adb push *path*\boot.img /sdcard/ (replace *path* with path to file on your PC))
- adb shell dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
4. Via Terminal emulator (you can download it on Play Store):
- Place boot.img to the root of internal sd
- Enter su and allow superuser access
- Type dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
I want warn, that at least CWM (probably and TWRP) not backup apps moved to sdcard.
Because it "don't know" that they on external sdcard1, not on sdcard0
So manually copy folder .android_secure only on PC via cardreader.
Or using RootExplorer copy all from /mnt/asec/
But restoring will be hard because it must performed before boot.
Hi @cucumber09 , I just wanted to know what are the changes in this kernel and original kernel except the recovery change...
Please tell..!
abhatia1435 said:
Hi @cucumber09 , I just wanted to know what are the changes in this kernel and original kernel except the recovery change...
Please tell..!
Click to expand...
Click to collapse
There are no other changes, I didn't rebuild the kernel, I just repacked it with replacing recovery ramdisk using very simple script.
Bonoboo said:
Or using RootExplorer copy all from /mnt/asec/
But restoring will be hard because it must performed before boot.
Click to expand...
Click to collapse
Is it possible to restore them using AromaFM, or is this folder unmounting when the phone is not booted in system?
A little question
Err @cucumber09 Is this the same overclocked kernel from FindYanot or is this the stock kernel that's not oc? Cuz when i flashed this just now the performance is slower than FindYanot's kernel.
XtremeWave said:
Is this the same overclocked kernel
Click to expand...
Click to collapse
There no any word about overclock in first post.
So it's without overclock = nothing surprising that it's slower than with.
Yeah. You're right. Please don' t think of me as an idiot nor undestimate. I'm 11, but I rooted and unlocked the BL of my C1904 just to get Cm11 in 2012, I was just wondering as he said repacked etc. So i guess i have to TRY other things. Well the kernel's fine. Just that I wanted an oc cwm kernel.
Thanks @ Bonoboo
XtremeWave said:
Yeah. You're right. Please don' t think of me as an idiot nor undestimate. I'm 11, but I rooted and unlocked the BL of my C1904 just to get Cm11 in 2012, I was just wondering as he said repacked etc. So i guess i have to TRY other things. Well the kernel's fine. Just that I wanted an oc cwm kernel.
Thanks @ Bonoboo
Click to expand...
Click to collapse
should i flash both cwm and twrp
You need to flash one. Choose what u want.
Here's one over clocked kernel (Cwm 6.05.1) for Beta 2 of the CM12 ROM by Senior Member PecanCM for the Xperia M:http://www60.zippyshare.com/v/11764560/file.html
---------- Post added at 05:06 PM ---------- Previous post was at 05:03 PM ----------
Well TWRP is great. But I prefer CWM
UPDATED!
Recoveries are updated for new build (press thanks to Bonoboo). Dload links are in the OP.
New TWRP version
Kernel with new version of TWRP (2.8.3.0), wich should be more compatible with Lollipop. Compiled by sir @JustArchi. I didn't test it on LP yet. If someone will test it, let me know is it working as it should. Changelog is here (our previous version is 2.8.0.0).
UPD: I already tested it: recovery works, but I don't know, is there any bugs.
Will this recovery work on 5.0.2 as well??
manoj36 said:
Will this recovery work on 5.0.2 as well??
Click to expand...
Click to collapse
One post above:
Recoveries are updated for new build
Click to expand...
Click to collapse
cucumber09 said:
Kernel with new version of TWRP (2.8.3.0), wich should be more compatible with Lollipop. Compiled by sir @JustArchi. I didn't test it on LP yet. If someone will test it, let me know is it working as it should. Changelog is here (our previous version is 2.8.0.0).
UPD: I already tested it: recovery works, but I don't know, is there any bugs.
Click to expand...
Click to collapse
I have test the 2.8.3.0 TWRP, and so far its work as expected
Sent from my C1905
madper said:
I have test the 2.8.3.0 TWRP, and so far its work as expected
Sent from my C1905
Click to expand...
Click to collapse
Okay, if there is no bugs, I will repack kernels for next builds with this version of recovery.
it's working for me as well & very stable so far checked..thank you! :thumbup:
Thanks for update sir
Update TWRP for FXP build
TWRP updated for FXP-20150110
TWRP version: 2.8.3.0
CWM update for FXP
CWM updated for FXP-20150110.
Happy flashing!

Flashable TWRP v2.8.7.0 for Sony Z3+ E6553 Ivy_Kitakami

Introduction
Disclaimer: While this TWRP has been tested by myself on my own device to flash, wipe and backup, I make no warranties as to it's performance. Use at your own risk.
WARNING: flashable version contains a kernel boot image which will be flashed to your device along with the recovery image.
Click to expand...
Click to collapse
Installation instructions
This recovery image is for the E6553 single SIM Z3+. Do not use it on another model.
This recovery image requires an unlocked bootloader. You will lose some functionality on your phone if you unlock your bootloader
Do your research and make sure you're using the latest version of the relevant tools if you do decide to unlock.
DO NOT enable MyXperia functionality if you've unlocked your bootloader. You will brick your device.
This first download of this recovery image CANNOT be flashed to your phone and must be used in fastboot mode only
The second download is a flashable recovery
Use the first version to flash the second dual-boot.zip version
Unzip the recovery.zip file to extract the recovery.img file to use in fastboot mode
Code:
C:\>adb reboot bootloader
C:\>fastboot boot recovery.img
C:\>adb push dual-boot.zip /sdcard/dual-boot.zip
C:\>adb push dual-boot.zip.md5 /sdcard/dual-boot.zip.md5
Click to expand...
Click to collapse
Now use the TWRP install feature to install dual-boot.zip. Follow the prompts of the Aroma graphical installer.
CAVEAT: this extends the boot time by about 5 - 10 seconds as ramdisk images need to be unpacked and there's a wait on a keypress to determine whether to enter recovery mode. In order to boot into recovery, press power on. When you see the yellow LED come on then press the down volume button once or twice. You will then boot into TWRP.
NOTE: the dual-boot.zip installs a new 28.0.A.8.251 kernel. If you're using the autoroot kernel from Devries you will need to flash SuperSU to re-root your device
This dual boot/recovery works by flashing the recovery image to the FOTAkernel partition. A custom ramdisk image contains the normal boot image. If the down volume keypress is detected, then the recovery ramdisk is automatically extracted from the FOTAKernel partition and flow of control switches to recovery. If no keypress is detected then the normal ramdisk is extracted and normal android boot ensues.
Those of you who installed version 1.0 please download and install this version 1.1 to fix the error with the startup of the trim area daemon
Download
Binary
Fastboot TWRP Recovery Image v2.8.7.0-e6553-1.0 for Z3+ E6553
Flashable TWRP Recovery Image v2.8.7.0-e6553-1.1 for Z3+ E6553 (MD5: 52d4b7d406308dbd457e8b94210b7c87)
Flashable TWRP Recovery Image v2.8.7.0-e6553-1.1 for Z3+ E6553 - MD5
Sources @ github
device_sony_kitakami
device_sony_ivy
Click to expand...
Click to collapse
Changelog
Code:
Current changelog: -- 29 September 2015
[new] v1.1 fix up problem in combined ramdisk preventing trim area daemon from starting correctly
[new] Flashable recovery - 28 September 2015
[new] Fixed various sys/class issues so that CPU temperature and LED / backlight control work correctly
[new] Updated to use 28.0.A.8.251 kernel (as opposed to the AOSP kernel)
[old] Initial release - 10 September 2015
Click to expand...
Click to collapse
Thanks To
The regular contributors to the Z3+ forum, among others @[NUT], @ChrisJ951, @DHGE, @Devries, @zxz0O0, @Venkat Kamesh, @AndroPlus, @Sacktreter who pass on knowledge and who make the forum a lively and cooperative place
Click to expand...
Click to collapse
People who installed version 1.0 of the Flashable TWRP must please update to version 1.1 to correct a bug.
Awesome work.
Glad you were able to get the screen working for it! Boots up fine w/o issue for me
This is fantastic. Is there any way of getting this to work with a locked bootloader?
Sent from my Xperia Z3+
AMoosa said:
This is fantastic. Is there any way of getting this to work with a locked bootloader?
Sent from my Xperia Z3+
Click to expand...
Click to collapse
I'd venture to suggest that it's highly unlikely that locked bootloader recovery could work. The DM_VERITY is almost a guarantor of that. Just search for CONFIG_DM_VERITY or Verity in the Z3+ forums for more info.
Even if an exploit works, the second it modifies the system partition, the kernel panics and refuses to boot. The only way of preventing that is to flash a new kernel or edit the ramdisk to remove the verity key. And the only way to flash a new kernel / edit the ramdisk is to unlock the bootloader.
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
elladroid said:
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
Click to expand...
Click to collapse
This is correct behaviour. You're not actually flashing the recovery image, just temporarily booting a recovery kernel and associated ramdisk. Sony Xperia devices don't have a recovery partition, or more accurately, they don't have a bootloader than can check and load a boot image from a recovery partition.
Technically it's possible to make the boot image check for a ramdisk on another partition and use this instead of the normal ramdisk, but this is step two. Sony should be releasing an open recovery bootloader fairly soon for the Z3+ which will allow this recovery image to be flashed. It's already been released for other devices.
Until Sony releases open recovery for Z3+ or I spend the time trying to implement a feature that probably only has days or weeks of utility (until Sony releases the open recovery for Z3+) , you're stuck with a TWRP that you need to launch every time in fastboot mode.
On the first screen immediately after the TWRP logo comes up, the battery is always being reported at being 50%. Sometimes the correct number is displayed when in the flashing screen. Otherwise works great!
Also, link to Sony Z3+ windows drivers
How to install unsigned drivers in Windows 8.1/10 with secure boot
elladroid said:
Thank you first for development... maazing!
I have unlocked the bootloader via Sony and then used an boot.img from Devries to root as root was my primary goal. I have flashbooted as per instructions the TWRP recovery.img that is provided here by the awesome dl12345 .
However the issue is that I am unable to boot to recovery after rebooting from TWRP. In other words the flashboot works and I am able to make a backup and use TWRP well but it doesn't seem to stick.
Am I doing something wrong. Should I have flashed a ROM first from xperfirm, Flashtools, and/or can I flash a kernel without it effecting the recovery. My knowledge is sketchy but I am totally up for testing if I can help.
Click to expand...
Click to collapse
New version now flashable so that you can boot into recovery...read top post carefully before using.
serrin85 said:
On the first screen immediately after the TWRP logo comes up, the battery is always being reported at being 50%. Sometimes the correct number is displayed when in the flashing screen. Otherwise works great!
Also, link to Sony Z3+ windows drivers
How to install unsigned drivers in Windows 8.1/10 with secure boot
Click to expand...
Click to collapse
Fixed in latest version
http://www.kz3.eu:18998/dual-boot.zip link gives 404 ..
deecept said:
http://www.kz3.eu:18998/dual-boot.zip link gives 404 ..
Click to expand...
Click to collapse
Yes, I've temporarily disabled the link while I resolve a problem relating to the trim area daemon not starting up due to some peculiarity of the dual boot ramdisk. I'll reinstate it as soon as I fix the problem.
dl12345 said:
Yes, I've temporarily disabled the link while I resolve a problem relating to the trim area daemon not starting up due to some peculiarity of the dual boot ramdisk. I'll reinstate it as soon as I fix the problem.
Click to expand...
Click to collapse
Oh, ok, sweet! Looking to flash this to my Z3+. More than happy to test if needed =) Great work on these!!
deecept said:
Oh, ok, sweet! Looking to flash this to my Z3+. More than happy to test if needed =) Great work on these!!
Click to expand...
Click to collapse
Download back online and problem fixed
Those who downloaded the 1.0 please download this 1.1 version and install to correct the problem with trim area daemon startup. Thanks
dl12345 said:
Download back online and problem fixed
Those who downloaded the 1.0 please download this 1.1 version and install to correct the problem with trim area daemon startup. Thanks
Click to expand...
Click to collapse
HI dl12345,
this recovery support Dual model? E6533
hi.question...i get remote: dtb not found error when trying to boot the recovery..any ideas?
didnt get a thing... how do i install?
please, release TWRP for 6533 too
we need custom recovery so bad
Dathrex said:
please, release TWRP for 6533 too
we need custom recovery so bad
Click to expand...
Click to collapse
Pleaseee ????
Brother, please, help us with twrp to E6533, please.
Enviado de meu E6533 usando Tapatalk

TWRP RECOVERY in to FOTA PARTITION GUIDE (XPERIA S)

Flash TWRP to FOTA Partition(SONY XPERIA S).(Terminal Command Method)I will not responsible if you do something wrong to yor device
You can flash TWRP into fota partition if your kernel supports to flash it.(Ask the developer if support is available or not,To know more about Fota Partition Read here.).if yes then follow procedure.
1. You must have to root your ROM first.
2. Download TWRP.img (is the recovery file) from TWRP website.Place the downloaded twrp.img in sdcard. (Don’t place it under any folder.just copy to sdcard.if the downloaded file name is something else then rename it to twrp.img).
3. Now goto playstore and install terminal emulator app to your phone.
4. Now open terminal emulator app and type
su (and press enter key.it will ask for root permission.GRANT it) then type
dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p11
(and press enter keyr.be careful while you writing the above commands.)
Finished.Now you have successfully flashed twrp recovery into fotapartition.Reboot your phone and when you see pink led just tap Volume UP key to enter to recovery.
Rom Flash Procedure
METHOD 2:
First extract boot.img and recovery.img from rom.zip and copy both to SD card root folder
1. Flash twrp recovery image like you flash kernel/boot.img(by flash tool or by fastboot method).
2. Enter to recovery.
Then follow the image by the numbers written in the image.Swipe to flash.
Then do the same for boot.img but choose boot. Img from SD card and boot(partition) in image 4. Swipe to flash and done.
Sir, Could you please help me.
I have CWM recovery installed on Xperia SL and is running Layers ROM Cm11 based.
But I am thinking of switching to a new rom as the earlier one was very laggy. ([ROM][XS][5.1.1][LMY48P] OneOfaKind 22/09/2015 | UberTC 4.9 | Layers | Aroma Addon)
Could you tell me what shall I do with regards to:
1. Making the build.script change to make it compatible with Xperia SL
2. Do I need a TWRP recovery ? How will it go alongwith the CWM recovery which I already have installed and running pretty well ?
Thanks !
C0D3FR34K said:
Sir, Could you please help me.
I have CWM recovery installed on Xperia SL and is running Layers ROM Cm11 based.
But I am thinking of switching to a new rom as the earlier one was very laggy. ([ROM][XS][5.1.1][LMY48P] OneOfaKind 22/09/2015 | UberTC 4.9 | Layers | Aroma Addon)
Could you tell me what shall I do with regards to:
1. Making the build.script change to make it compatible with Xperia SL
2. Do I need a TWRP recovery ? How will it go alongwith the CWM recovery which I already have installed and running pretty well ?
Thanks !
Click to expand...
Click to collapse
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
nageswarswain said:
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
Click to expand...
Click to collapse
Problem is I am not able to find support for Xperia SL
The difference between Xperia S and SL is just 1.5GHz and 1.7GHz CPU respectively.. but support for the latter is sh!t
C0D3FR34K said:
Problem is I am not able to find support for Xperia SL
The difference between Xperia S and SL is just 1.5GHz and 1.7GHz CPU respectively.. but support for the latter is sh!t
Click to expand...
Click to collapse
As said by You, the difference is just in frequency, and none in hardware. So what ever applies to XS will apply to XSL.
Mirhawk said:
As said by You, the difference is just in frequency, and none in hardware. So what ever applies to XS will apply to XSL.
Click to expand...
Click to collapse
Thanks ! I have installed TWRP latest build using fastboot !
nageswarswain said:
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
Click to expand...
Click to collapse
This is tantamount to spam but plz plz help me !!!
I was resizing the my 2GB partition but I am stuck now in the middle !!
I got stuck in step 10
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
/sdcard #
Click to expand...
Click to collapse
Followed the instructions on this thread :
http://forum.xda-developers.com/xperia-s/s-development/tutorial-increase-data-partition-t2821058
C0D3FR34K said:
This is tantamount to spam but plz plz help me !!!
I was resizing the my 2GB partition but I am stuck now in the middle !!
I got stuck in step 10
Followed the instructions on this thread :
http://forum.xda-developers.com/xperia-s/s-development/tutorial-increase-data-partition-t2821058
Click to expand...
Click to collapse
I saw now that you have solved your problem. And this time also @mirhl is present there to help..good guy mirhl.
Hello, i am using DooMKernel which comes with a preinstalled TWRP v2.5.0.0 now i am trying to update it to the latest version via Terminal or Fastboot but it doesn't work version stays the same. Does anyone know what could be the problem?
Torroan said:
Hello, i am using DooMKernel which comes with a preinstalled TWRP v2.5.0.0 now i am trying to update it to the latest version via Terminal or Fastboot but it doesn't work version stays the same. Does anyone know what could be the problem?
Click to expand...
Click to collapse
Here is a link which will give you mickybart's recovery and kernel of nAOSO b26.but before flashing this first copy the rom to your phone because u can't boot the device after flashing it.so flash this and reboot to recovery and flash the rom you want.
Link.
https://mega.nz/#!SZ9DXZgZ!tzugmlsOMum3cZYXyTh69lDDlhGfGjV-Fw2VKvaYdK8
Thanks, in case i want to keep my current stock ROM there is no problem whatsoever is there? I mean i can just install the Kernel and i'll be good to go?
Torroan said:
Thanks, in case i want to keep my current stock ROM there is no problem whatsoever is there? I mean i can just install the Kernel and i'll be good to go?
Click to expand...
Click to collapse
Take backup of the current rom before flashing the other file.then do as I said
TWRP... thanks!
Thanks
Thanks for the guide really appreciate !!
BTW - only mine recovery dont show temperature? my soft is oneofakind and newest twrp recovery in FOTA via dd command.
I installed twrp 2.8.7 using this and my phone got stuck in a boot loop
I am on uCyan b04.
guruAhtasham said:
I installed twrp 2.8.7 using this and my phone got stuck in a boot loop
I am on uCyan b04.
Click to expand...
Click to collapse
Flash ucyan b04 kernel only on fastboot and try to reboot...
nageswarswain said:
Flash ucyan b04 kernel only on fastboot and try to reboot...
Click to expand...
Click to collapse
Thanks for the reply but it didn't work
have to do a clean flash again to make it boot.

[Recovery] TWRP for maple

I want to share you a great twrp who support aroma installer.
Link:https://mega.nz/#!6MQxWIKa!ZuSMnC7DtXxh4R9Vb5hHMjRFFVk6kaCaHiodn5CSN3M
Blackghosthm said:
I want to share you a great twrp who support aroma installer.
Created by @Myself5.
Link:https://mega.nz/#!6MQxWIKa
Click to expand...
Click to collapse
You need a decryption key.
---------- Post added at 05:10 PM ---------- Previous post was at 04:27 PM ----------
Blackghosthm said:
I want to share you a great twrp who support aroma installer.
Created by @Myself5.
Link:https://mega.nz/#!6MQxWIKa!ZuSMnC7DtXxh4R9Vb5hHMjRFFVk6kaCaHiodn5CSN3M
Click to expand...
Click to collapse
What version of twrp is this?
Beetle84 said:
You need a decryption key.
---------- Post added at 05:10 PM ---------- Previous post was at 04:27 PM ----------
What version of twrp is this?
Click to expand...
Click to collapse
3.2.1 but not that version you can find in twrp.me
Blackghosthm said:
3.2.1 but not that version you can find in twrp.me
Click to expand...
Click to collapse
So how about you push your AROMA fix to the official TWRP trees that everyone can profit from it?
Also that image is certainly not created by me. It might be based on the official TWRP, but the way you put it is missleading IMO.
Myself5 said:
So how about you push your AROMA fix to the official TWRP trees that everyone can profit from it?
Also that image is certainly not created by me. It might be based on the official TWRP, but the way you put it is missleading IMO.
Click to expand...
Click to collapse
Ok, I removed your name.
Myself5 said:
So how about you push your AROMA fix to the official TWRP trees that everyone can profit from it?
Also that image is certainly not created by me. It might be based on the official TWRP, but the way you put it is missleading IMO.
Click to expand...
Click to collapse
More than likely from a Chinese site, possibly modified by @machao44
Beetle84 said:
More than likely from a Chinese site, possibly modified by @machao44
Click to expand...
Click to collapse
Yes,now I have the same idea but doesn't matter I didn't write it created by me,I don't think it have matter for developer because he didn't share the recovery in xda.
I still wouldn't mind if _whoever did it_ would push the fix to the TWRP repository.
Myself5 said:
I still wouldn't mind if _whoever did it_ would push the fix to the TWRP repository.
Click to expand...
Click to collapse
Will this affect all Xperias with 4.4 Kernel? Really happy that @Blackghosthm shared that with Me... Can't wait to push out some awesome AROMA Stuff again!
Thanks a lot to everyone who was involved! :angel:
Myself5 said:
I still wouldn't mind if _whoever did it_ would push the fix to the TWRP repository.
Click to expand...
Click to collapse
I believe it created by storm in xperi fix there are 2 twrp versions one of them is this twrp.
Also i heard in some post it created by storm.
heil Aroma!
@sToRm//
Can you shed any light on who made this?
Anyone tried the new official One? https://dl.twrp.me/maple/twrp-3.2.3-0-maple.img.html
Hi I am quite having a hard time figuring out how to install TWRP on my XZP dual global version.
I already flashed the latest firmware last August... I also tried to follow installing it through ADB using command prompt yet nothing did work... Is there someone out here who can help me with flashing TWRP... Thanks
I use in this moment the original 3.2.3-0 version.
Where's is the problem to install TWRP? enable adb, call adb during running phone and accept the PC all time.
If the bootloader unlocked,, boot in Fastmode (hold Volume up during connecting the USB cable with the PC) . Check the driver via fastboot devices, If you see the phone call fastboot flash revovery TWRP. img (if your TWRP version has the name "TWRP. img"). After that you can boot into TWRP
Excappare said:
Hi I am quite having a hard time figuring out how to install TWRP on my XZP dual global version.
I already flashed the latest firmware last August... I also tried to follow installing it through ADB using command prompt yet nothing did work... Is there someone out here who can help me with flashing TWRP... Thanks
Click to expand...
Click to collapse
You need to flash a kernel from a custom ROM first (like CarbonROM) in order to be able to boot from the recovery (FOTAKERNEL) partition. The stock kernels have recovery built-in and would use that instead of TWRP. You can get a CarbonROM kernel image (boot.img) from its flashable zip.
After flashing a custom kernel you can then flash the TWRP image via "fastboot flash recovery <recovery image>". You'll have to reboot the phone and follow the usual button combination (though I don't really know it's holding volume up or down) to access the recovery. Using "fastboot boot" will not work and it'll stuck on the Sony logo with the blue fastboot LED stay on.
I think twrp found from this thread,,you can check TWRP Folder,
,https://forum.xda-developers.com/showpost.php?p=78121448&postcount=4
I've also the Stock Kernel (Pie) on the phone and can reach TWRP without any problems : you must hold Power and Volume (up or down? Not sure in this moment) till you see TWRP on the Screen (around 6 Sec.) Maybe the screen switched off... Switch it on via short press via Power... That's all

Categories

Resources