[Kernel][Recovery][CM12]TWRP and CWM recoveries for Lollipop (CM12) [discontinued] - Sony Xperia M

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!

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!

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

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.

[RECOVERY] Flashable ZIP-TWRP 2.8.1.0 - LG G Pro: E980, E988, F240LSK

First of all I must say that I take no credit for this recovery whatsoever.
It is a modified TWRP v2.8.1.0 that is posted by @hoangnova over at lgviet.com - Link:http://lgviet.com/forum/threads/lg-g-pro-f240lsk-e988-e980-twrp-recovery-2-8-1-0.33587/
We are now in the early developmental stages of Android L and the last version of TWRP that I could locate here at XDA for the E980 was v2.6xx. I feel that we have a need for the latest version of this recovery now that we are transitioning over to Lollipop. With that said, the following is copied straight from his post over at that site.
TWRP Recovery SELinux support only for the rom install or extract img style set_metadata.
- Works well on all the GPRO and GK: E988, E980, and F220K F240LSK.
- Full SELinux support: That means you have can flash the rom CM 4.4, 5.0 or higher (set_metadata).
- USB-OTG Support
- Support for MTP - can copy the data directly to your phone when you are in Recovery
- Support screenshot of Recovery [hold Power + volume controls]
- Supports backup IMEI (EFS)
- Support Hard reset using hardware keys: Hold the Volume Down + Home and resources.
- Can operate on both 4.1.2 and 4.4.2 (even 5.0)
Installation: The first download listed is a flashable ZIP file that can be flashed through whatever recovery you have installed now. Not recommended if your are running a stock based ROM as it causes a "boot certification error" after flashing. Only use the flashable .zip file if you are already running a custom ROM based on CM source.
For those of you that are running a stock based ROM, please use Flashify to flash any of the three .IMG files that are listed below. Descriptions are in the download links.
Note: If you are running a custom ROM that is based on CM source, yet want to use one of the themed versions below, it is safe to use Flashify to install any of the recovery .IMG files below to your device.
All devs, please feel free to use this as a building block to obtain a reliable TWRP 2.8.1.0 recovery for our E980 device.
UPDATE 12/24/2014: Attachment downloads have been removed and all links are now directed to my 4Shared storage. The account has a 3GB per day / 30GB per month limit so I am hoping that it will be satisfactory for our download needs. If anyone would like to set up a mirror, please feel free to do so and PM me with links that I can add to this post.
UPDATE 12/24/2014 - Part 2: This version of TWRP for our G Pro devices now supports SD card in recovery mode!
Many thanks to @soralz , @culot and @hoangnova for delving into the code and providing us with this excellent recovery for our G Pro devices!
All of the above is assuming that your device has already been rooted and a custom recovery installed via the FreeGee method first. Do not flash anything posted in this thread before obtaining root and installing a custom recovery first!
Download Links:
TWRP 2.8.1.0 Unofficial - Flashable Zip -> DOWNLOAD
TWRP 2.8.1.0 Unofficial - .IMG File for Flashify - Stock TWRP Theme -> DOWNLOAD
TWRP 2.8.1.0 Unofficial - .IMG File for Flashify - Play Themed ->DOWNLOAD
TWRP 2.8.1.0 Unofficial - .IMG File for Flashify - Altered Splash Screen -> DOWNLOAD
@soralz Google Drive Mirror - All Versions, IMG and ZIP -> DOWNLOAD
Click to expand...
Click to collapse
Happy flashing but flash at your own risk. I assume no responsibility for any damages incurred by doing so. - HTR
Now, some legal mumbo jumbo:
This recovery is provided "AS IS" and without warranty or support of any kind and I expressly disclaim all other warranties, express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Under no circumstances shall I be liable for any incidental, special or consequential damages that result from the use of, or inability to use this recovery.
- Unless otherwise stated, the recovery image that is made available in the original post of this thread is distributed as "freeware". You may freely use and modify this recovery without restriction, whether it be for personal use or distribution to others.
Click to expand...
Click to collapse
hitekredneck said:
First of all I must say that I take no credit for this recovery whatsoever.
It is a modified TWRP v2.8.1.0 that is posted by @hoangnova over at lgviet.com - Link:http://lgviet.com/forum/threads/lg-g-pro-f240lsk-e988-e980-twrp-recovery-2-8-1-0.33587/
We are now in the early developmental stages of Android L and the last version of TWRP that I could locate here at XDA for the E980 was v2.6xx. I feel that we have a need for the latest version of this recovery now that we are transitioning over to Lollipop. With that said, the following is copied straight from his post over at that site.
TWRP Recovery SELinux support only for the rom install or extract img style set_metadata.
- Works well on all the GPRO and GK: E988, E980, and F220K F240LSK.
- Full SELinux support: That means you have can flash the rom CM 4.4, 5.0 or higher (set_metadata).
- USB-OTG Support
- Support for MTP - can copy the data directly to your phone when you are in Recovery
- Support screenshot of Recovery [hold Power + volume controls]
- Supports backup IMEI (EFS)
- Support Hard reset using hardware keys: Hold the Volume Down + Home and resources.
- Can operate on both 4.1.2 and 4.4.2 (even 5.0)
Installation: This is a flashable ZIP file that can be flashed through whatever recovery you have installed now.
Happy flashing - HTR
Click to expand...
Click to collapse
Awesome! Thanks!
Just wondering... I was using it for a while and does work great. Then, tried to get cyan delta up and running with it today. It seemed to give an error. I then tried it with philz and worked fine.
Is anyone using the two together and experiencing it, or just me?
@hoangnova - Can you shed some light as to why flashing BlissPop v1.1 with this recovery would fail?
By the way, thank you for a recovery that might possibly be modified to work with our device! It seems that it just needs a few bugs ironed out to be fully functional with the E980 for AT&T.
Thanks
hitekredneck said:
First of all I must say that I take no credit for this recovery whatsoever.
It is a modified TWRP v2.8.1.0 that is posted by @hoangnova over at lgviet.com - Link:http://lgviet.com/forum/threads/lg-g-pro-f240lsk-e988-e980-twrp-recovery-2-8-1-0.33587/
Great find cant wait to get into it and see what is possible.
One thing obviously loki support is set up with this recovery right?
Click to expand...
Click to collapse
Do you know if the source is over on git Im gonna look for it in a bit just wondering if anyone has found it?
Im hoping the sources are not so far off as I had came up with a fix for the 2.6.3.3 FreeGee TWRP as it had the same problem wondering if it will be a patch or full blown rewrite.....Anyways I am slow on dev work 3 kids wife and I am a newb but I am or will be working on it.
Fant0m3 said:
Do you know if the source is over on git Im gonna look for it in a bit just wondering if anyone has found it?
Im hoping the sources are not so far off as I had came up with a fix for the 2.6.3.3 FreeGee TWRP as it had the same problem wondering if it will be a patch or full blown rewrite.....Anyways I am slow on dev work 3 kids wife and I am a newb but I am or will be working on it.
Click to expand...
Click to collapse
@hoangnova may possibly be able to provide source. Not sure how often he checks in here though. I think that the more we could get working on this, the better our chances would be.
Yup agreed
I agree but I'm pretty slow at this developer stuff as I've taught myself everything and you know wife and kids and all that BS kind and limit my ability and availabilityI'll eventually find a solution it just may not be in a timely fashion
Modified TWRP 2.8.1.0 to E980
Hi guys, I am using the TWRP a while ago and realise this TWRP almost can't flash any ROM on it for ex. CM11 Nightlies. So I made some modifications to this recovery using simple Android Kitchen. By editing it's default.prop. This recovery is simply taken from f310lr (which preventing us from flashing other ROM because it's a LG GX!) more info.
Summary of changes can refer attachments below.
Working:
Everything, except can't mount External SD Card, now you can flash like a boss.
Download
Flashable zip, with the modified recovery and another one is simply the *.img file. Flash with Flashify or similar app.
Extra, TWRP Materialised theme.
It has been modded to fit my taste for welcoming Lollipop, if you want the TWRP theme simply place it to /sdcard/TWRP/theme/ui.zip.
Hopefully we can get the latest version of twrp going. From the change log it looks like the latest has fuller 5.0 features.
soralz said:
Hi guys, I am using the TWRP a while ago and realise this TWRP almost can't flash any ROM on it for ex. CM11 Nightlies. So I made some modifications to this recovery using simple Android Kitchen. By editing it's default.prop. This recovery is simply taken from f310lr (which preventing us from flashing other ROM because it's a LG GX!) more info.
Summary of changes can refer attachments below.
Working:
Everything, except can't mount External SD Card, now you can flash like a boss.
Download
Flashable zip, with the modified recovery and another one is simply the *.img file. Flash with Flashify or similar app.
Extra, TWRP Materialised theme.
It has been modded to fit my taste for welcoming Lollipop, if you want the TWRP theme simply place it to /sdcard/TWRP/theme/ui.zip.
Click to expand...
Click to collapse
Does it work on lollipop roms?
eocobby721 said:
Does it work on lollipop roms?
Click to expand...
Click to collapse
I suppose the pic can tell you.
@soralz. Thanks for sharing. My comment on latest version was not meant to follow what you shared it was just a comment in general.
The twrp looks great!
soralz said:
I suppose the pic can tell you.
Click to expand...
Click to collapse
Thanks. I asked because I flashed it once n couldn't flash any lollipop rom except da Chinese cm12 ROM. Once again thanks
Verified by yours truly. I flashed this recovery and used it to flash BlissPop v1.3 with no problems whatsoever. Now if only we can get someone that knows their beans to fix the problem with external SD not mounting.
I installed it on "LG optimus G" TWRP 2.6.3.3 from FreeGee of GooglePlay
Guys now I can install this TWRP 2.8.1.0. Recovery through. I repeat that I TWRP 2.6.3.3.
arek78 said:
I installed it on "LG optimus G" TWRP 2.6.3.3 from FreeGee of GooglePlay
Guys now I can install this TWRP 2.8.1.0. Recovery through. I repeat that I TWRP 2.6.3.3.
Click to expand...
Click to collapse
Optimus G, or Optimus G Pro? Which do you have? If it is a G Pro, yes you can flash this one using the twrp 2.6.3.3 that you installed with FreeGee.
arek78 said:
I installed it on "LG optimus G" TWRP 2.6.3.3 from FreeGee of GooglePlay
Guys now I can install this TWRP 2.8.1.0. Recovery through. I repeat that I TWRP 2.6.3.3.
Click to expand...
Click to collapse
*Only works on custom ROM, if you are on stock you will get boot verification error.
So I can not install on Stock 4.4.2.
hitekredneck said:
Verified by yours truly. I flashed this recovery and used it to flash BlissPop v1.3 with no problems whatsoever. Now if only we can get someone that knows their beans to fix the problem with external SD not mounting.
Click to expand...
Click to collapse
From a lengthy dissection of its innards, it looks like it was cobbled together mainly from parts of Nexus 5 and G2 recovery stuffs, and isn't even trying to load the external_sd. There also seems to be several other discrepancies, where its targeting a Nexus 5 or G2, when it should be targeting the almighty G Pro.
Take a look at the '/etc/twrp.fstab' -- it's missing '/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable', which I think may be a culprit in the lack of SD.
I've taken my undisciplined hand at fixing these issues, but I can never seem to repack the goddamn thing properly. I got sad skillz.
EDIT: I just noticed when you 'unpackbootimg' it provides all the info to repack properly. Friggin' duh, yo. Testing time! *crosses fingers and legs and black cats*
---------- Post added at 03:10 PM ---------- Previous post was at 03:07 PM ----------
hitekredneck said:
UPDATE #3 12/19/2014: I have been notified by soralz that when trying to flash the zip file version of this recovery when running a stock ROM, the flash will not process properly and will hand at "boot certification verification." Therefore I am providing a link to the recovery.img that can be installed using Flashify or similar utility.
Click to expand...
Click to collapse
Is it Lokification error/lack?
hitekredneck said:
Download recovery.img for Flashify here-> [URL="https://doc-0k-2g-docs.googleusercontent.com/docs/securesc @soralz
Click to expand...
Click to collapse
Your link doth stink. Exactly what is this 'recovery.img' you have there, where is it from.
culot said:
Take a look at the '/etc/twrp.fstab' -- it's missing '/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SDcard";storage;wipeingui;removable', which I think may be a culprit in the lack of SD
Click to expand...
Click to collapse
Okay, got it:
- Open ADB shell while in OP's TWRP 2.8:
Code:
mount -t /system /dev/block/mmcblk0p23
mkdir /external_sd
echo "/dev/block/mmcblk1p1 /external_sd vfat rw" >> /etc/fstab
mount -t /dev/block/mmcblk1p1 /external_sd
Now the microSD is mounted at '/external_sd'. It does not show up on your computer when you enable MTP though; and next time recovery loads, those changes will be gone, so you have to do it all over again -- that is until someone bakes a fixed twrp.fstab into a recovery.img and/or flashable zip (my attempts so far go bootloops at the LG logo, every time).
---------- Post added at 06:31 PM ---------- Previous post was at 06:27 PM ----------
arek78 said:
So I can not install on Stock 4.4.2.
Click to expand...
Click to collapse
Have you tried using the Sphinx APK to install it? Just worked on my stock Kitkat 20g.
Fant0m3 said:
Do you know if the source is over on git Im gonna look for it in a bit just wondering if anyone has found it?
Im hoping the sources are not so far off as I had came up with a fix for the 2.6.3.3 FreeGee TWRP as it had the same problem wondering if it will be a patch or full blown rewrite.....Anyways I am slow on dev work 3 kids wife and I am a newb but I am or will be working on it.
Click to expand...
Click to collapse
This Omnirom TWRP Recovery and this guide should do fine. You'll have to tinker in the e980 stuff though. You can use the configuration files from OP's version to start with, and then make proper wtih e980 device specifics. This TWRP repo for a Japanese version of the phone holds some solid leads.
It compiled fine for me early this morning, but would not boot. But! After spending many hours since then learning how it really works, I'm certain when I take another crack at it tomorrow that it will be simple to get working. So close, yet so burned out for today.

[Recovery][FOTA]CWM and TWRP recoveries for custom ROMs

Now we have official TWRP support, so this thread will not be updated anymore. For more info about official TWRP visit this thread.
Tired waiting for someone to repack kernel with your favorite version of recovery? Or tired to run recovery script every time you update your ROM or kernel? Now you don't need any repacked kernels or recovery-scripts. Use your FOTAKernel as recovery partition!
It works on any kernel with extract_elf_ramdisk utility (it's built in mostly all kernels for custom ROMs, but I am not sure) by @Dees_Troy. And don't forget, that you are doing on your own risk, I am not responsible for bricked devices, acid rains or thermonuclear war.
Installation:
Download zip and flash it via your current recovery. If your current recovery is unusable, you can flash it via terminal emulator:
- Extract FOTAKernel.img and place it to the root of your external SD-card
- Type su and grant root access
- Type
Code:
dd if=/ext_card/FOTAKernel.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
- Reboot to recovery to test if it works (if not, try again and check if you are doing it correctly).
Download:
TWRP 2.8.7.0
TWRP 2.8.6.0 (this and next versions are compiled for Xperia M by me)
Older versions and CWM:
TWRP 2.8.5.0 (port from Xperia L)
TWRP 2.8.4.0 (thanks to @Rohan purohit for bringimg it for Xperia L, I just ported and modded it)
TWRP 2.8.0.0/CWM (or scroll down, it's right below this post)
You can restore original FOTAKernel image by following instructions in this post (or just scroll down, it is 3rd post, lol).
Some info:
Sony Xperia devices don't have recovery partition. Instead of this in custom kernels is used recovery-in-boot conception with two-stage boot (ramdisk-recovery is packed inside main ramdisk). And there is partition called FOTAKernel that is used for installing official FOTA (firmware-over-the-air) updates. After unlocking your bootloader this partition becomes redundant, because you cannot use OTA function anymore. So it may be used for storing recovery ramdisk. And this very useful future was implemented by recognized developer @Dees_Troy (lead TWRP developer), he developed utility extract_elf_ramdisk (it is merged to almost all kernels for Sony devices), it extracts recovery ramdisk from FOTA partition instead of using regular one from boot image. So even after updating or changing your kernel or ROM you don't lose your current recovery! Here is some info from Dees_Troy.
Download
TWRP 2.8.6.0>>>
TWRP 2.8.5.0>>>
TWRP 2.8.4.0>>>
Restoring original image
- You can restore original FOTAKernel flashing it via Flashtool by flashing any firmware (just uncheck everything in "wipe" section and uncheck everything in "exclude" section excluding "FOTA" like in attached screenshot).
- Or install attached zip via recovery or flash FOTAKernel.img from archive as it is written in OP.
cucumber09 said:
TWRP version is 2.8.0.0, because I could not boot 2.8.3.0 this way (maybe due to ramdisk size limitations), I'll look for this later and will try to fix it
Click to expand...
Click to collapse
Excuse me sir,
is this recovery work with cm11 which I have now??
Can I flash it now,
so when I decided to flashing cm12 being ready[emoji4]
I hope I explained my idea
kh34d said:
Excuse me sir,
is this recovery work with cm11 which I have now??
Can I flash it now,
so when I decided to flashing cm12 being ready[emoji4]
I hope I explained my idea
Click to expand...
Click to collapse
I don't know for sure. Download both recoveries, try to flash one that differs from yours and reboot recovery. If it changes, that means it works on CM11 kernel. BTW, even if it doesn't work on CM11, it will work when you will flash CM12 kernel. So you can flash it to be prepared.
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
itsnie said:
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
Click to expand...
Click to collapse
Okay, I will upload original FOTAKernel.
itsnie said:
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
Click to expand...
Click to collapse
Everything about restoring is in 3rd post.
cucumber09 said:
Everything about restoring is in 3rd post.
Click to expand...
Click to collapse
Thangs, now all problem will be fixed ..
@cucumber09 Will it work for stock 4.3, i know you mentioned for custom rom but just curious about it, what do u think?
KHM90 said:
@cucumber09 Will it work for stock 4.3, i know you mentioned for custom rom but just curious about it, what do u think?
Click to expand...
Click to collapse
No, it needs custom kernel, that includes extract_elf_ramdisk, stock kernel doesn't. BTW, there are CWM-included kernels for all stock ROMs. And TWRP is not available for stock. I can try repacking stock kernel with TWRP, but I doubt it will work.
cucumber09 said:
No, it needs custom kernel, that includes extract_elf_ramdisk, stock kernel doesn't. BTW, there are CWM-included kernels for all stock ROMs. And TWRP is not available for stock. I can try repacking stock kernel with TWRP, but I doubt it will work.
Click to expand...
Click to collapse
Ok thx, Not needed just wanna know whether it will work or not
btw, FOTA kernel awesome idea:good:
I try to repack my custom kernel with justarchi twrp version. I can Confirm it doesn't boot to fota recovery. Main boot.img is cm12 first nightly. It always boot to CyanogenMod recovery. Still search for solution...
ndrancs said:
I try to repack my custom kernel with justarchi twrp version. I can Confirm it doesn't boot to fota recovery. Main boot.img is cm12 first nightly. It always boot to CyanogenMod recovery. Still search for solution...
Click to expand...
Click to collapse
I read sources of extract_elf_ramdisk utility. And found there something about uncompressed ramdisk size, there is limitation to 8 Mb by default. So, I think, we should reduce ramdisk size by removing unnecessary or redundant files and binaries (must be done very carefully) or to commit change in our kernel.
I'm confused, does it work for locked bootloader?
pincheraro said:
I'm confused, does it work for locked bootloader?
Click to expand...
Click to collapse
No way. It even won't work on stock kernel with unlocked BL.
@cucumber09 Which build is the attached FOTA restore zip from? .9?
elmkzgirxp said:
@cucumber09 Which build is the attached FOTA restore zip from? .9?
Click to expand...
Click to collapse
No, it is from earlier build, but also from 4.3. From first 4.3 build, as I remember.
cucumber09 said:
I read sources of extract_elf_ramdisk utility. And found there something about uncompressed ramdisk size, there is limitation to 8 Mb by default. So, I think, we should reduce ramdisk size by removing unnecessary or redundant files and binaries (must be done very carefully) or to commit change in our kernel.
Click to expand...
Click to collapse
You mean this source code: Dees-Troy
I inspect the twrp, but no found the file that save to be removed. Btw, what commit needed to apply to kernel?
ndrancs said:
You mean this source code: Dees-Troy
I inspect the twrp, but no found the file that save to be removed. Btw, what commit needed to apply to kernel?
Click to expand...
Click to collapse
I read these sources. And 49th line defines size of uncompressed ramdisk. But now I am not sure, which one is used in our kernel. I suppose, that newer one.

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.

Categories

Resources