Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
View First Unread
Tip us?
 
Dees_Troy
Old
(Last edited by Dees_Troy; 9th April 2013 at 05:19 PM.)
#1  
Dees_Troy's Avatar
Recognized Developer - OP
Thanks Meter 6766
Posts: 1,514
Join Date: Mar 2008
Location: KC MO

 
DONATE TO ME
Default [RECOVERY] TWRP 2.5.0.0 touch recovery [2013-04-09]

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. It’s a fully touch driven user interface – no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Phone look:


Tablet look:


CHANGELOG for 2.5.0.0:
Special Note: If you are running a custom theme, you will likely need to remove that theme before updating to 2.5.0.0 as your custom theme will likely not be compatible with the new changes!

-Added scrollable partition lists for mount, backup, restore, wipe, and storage selection
-Add new SliderValue GUI element for selecting brightness and screen timeout (thanks to Tassadar)
-Re-work AOSP and TWRP code to improve license compatibility between GPL and Apache
-Added official theme for 1080x1920 portrait devices (HTC One m7, HTC DNA, HTC Butterfly, Oppo Find 5, Sony Xperia Z, etc)
-Fixed a problem with directory permissions on split archive backups (backups usually restored with no app data)
-Fixed a problem with md5 verification of backups
-Added a search function to libtar (thanks to kokotas)
-Improve handling of XML errors (fix permissions)
-Fixed handling of subpartitions
-Improvements to recovery.fstab flags
-Fixed a problem with decryption not being able to locate the decryption key in some situations

CHANGELOG for 2.4.4.0:
-Added another libtar hardlink workaround to fix restore of some backups (usually related to Ubuntu Touch)
-More fixes for the file selector
-Switched from using busybox md5sum to a direct C function call
-Fixed capturing the exit status of tar based backups/restore - TWRP will display that there was an error if there was one again
-Update exFAT to latest commits
-Added a build flag to disable using the ioctl for screen blanking

CHANGELOG for 2.4.3.0:
-Fixed 2 bugs related to restore, one dealing with mknod failures (by bigbiff) and one dealing with restoring hardlinks (by Dees_Troy)
NOTE: If your backups weren't restoring correctly in earlier 2.4.x versions they should restore correctly now. Hopefully you didn't delete those backups. If you're still having problems, run the restore, go to advanced and copy log, then give us the log. Complaints without logs will be rightfully ignored.
-Added a scroll bar to file selectors and listboxes courtesy of Tassadar
-Added libblkid for more accurate detection of file systems and can now detect exFAT properly thanks to bigbiff
-Added a screen dim effect 2 seconds before screen off on some devices
-Finally fixed file selector crash (one of the joys of working with multi-threaded software)
-Fixed loading of screen timeout setting during startup
-Improvements and bugfixes to screen timeout code
-Fixed persistence of the 24 hour / military time setting

CHANGELOG for 2.4.2.0:
-Add screen timeout - screen will turn off automatically after 60 seconds, saves battery and prevents screen burn-in especially on AMOLED devices
-Add a brightness setting (requires device specific setup and only some devices have been added)
-Add a root checker and offer to install SuperSU if the device isn't already rooted
-Add a write buffer to libtar backups, significant improvements to speeds when backing up to exFAT target, minor improvements for other file systems
-Check and offer to fix root permissions if broken
-Add an option for a 24 hour clock display instead of AM/PM (aka military time)
-Move stock recovery reflash check to occur during the reboot cycle
-Add support for some MTK6xxx devices
-Change libtar to vfork to help prevent memory problems
-Add a "clicked" effect to most buttons, file selector, and listbox
-Improve timezone listbox to be more like file selector (per pixel kinetic scrolling, etc)
-Remove some no longer used settings (Forced MD5 sum on zips, size checking on image backups)
-Other minor bugfixes and improvements

CHANGELOG for 2.4.1.0:
-Fixed a problem with mkdosfs that formatted sdcards to 2GB
-Fixed handoff between vfat and exFAT on devices where blkid didn't detect vfat (fixes some issues with mounting sdcards)
-Fixed problems with changing working directory on MD5 creation/checking that may have prevented unmounting
-Backups will now store a copy of the backup log after the backup is completed (only if backup is successful)

CHANGELOG for 2.4.0.0:
-Using libtar instead of busybox's tar for better control over tar file creation and breaking the 2GB barrier that busybox imposes (thanks to bigbiff)
-Support for exFAT formatted sdcards (also thanks to bigbiff)
-Support for decrypting Samsung TouchWiz encrypted devices including internal and external storage (special thanks to a3955269 for figuring it out)
-Improvements to OpenRecoveryScript including displaying a proper GUI while the script is running
-Added wipe cache and dalvik after ADB Sideload
-Replaced many system calls with their native C counterparts
-Fixed bugs in file manager where it would display an empty list after moving or deleting a folder
-Fixed AOSP recovery commands to run after decryption on encrypted devices
-Improvements for building TWRP in CM10.1
-Other minor bugfixes and improvements
NOTE: 2.4.0.0 is, as always, still compatible with your older backups!

DOWNLOAD:
The fastest and easiest way to install TWRP is to use the GooManager app:
Play Store Link
Direct Download
1) Install GooManager from the Play Store
2) Open GooManager and provide root permissions
3) Hit Menu (or the button with the 3 dots on your screen) and then Install OpenRecovery
OR:
You can find more information and download links on our website!

BUGS:
If you have found a bug, please consider posting it to our github issues log. It's pretty much impossible for us to keep up with the more than 40 threads that we have for the devices that we "directly" support. If you have a significant problem that cannot be answered in this thread, your best bet is to PM me directly, contact us via our website, or find us in our IRC channel below. If you see someone that's struggling, feel free to point it out to us. We need your help to help us keep track of all of our devices! Thanks!

SUPPORT:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
The Following 24 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
 
Dees_Troy
Old
(Last edited by Dees_Troy; 1st March 2013 at 08:24 PM.)
#2  
Dees_Troy's Avatar
Recognized Developer - OP
Thanks Meter 6766
Posts: 1,514
Join Date: Mar 2008
Location: KC MO

 
DONATE TO ME
More information:

Most Xperia S kernels are probably including CWM by default in the boot image. About a month ago I submitted some changes to the CyanogenMod repos that were accepted. Newer builds of CM include a special extract_elf_ramdisk utility that I wrote to read and extract a recovery ramdisk from the FOTAKernel partition instead of using the ramdisk that is included in the boot image. If the ramdisk in the FOTAKernel partition is a stock Sony ramdisk or not present, then the existing ramdisk in the boot image is used instead. This setup allows users to choose which recovery they want to keep installed. This same setup is possible in other kernels including stock Sony kernels. On our website's download link you will find a copy of a recent stock ICS kernel for the Xperia S that includes TWRP as well as the extract_elf_ramdisk utility.

If the kernel you have installed doesn't support this extract_elf_ramdisk setup, then you won't be able to use the GooManager installed copy of TWRP. Bug your kernel or ROM developer and ask them to update their images so that you can choose what recovery you want.

What is the FOTAKernel partition?

The FOTAKernel partition is used by Sony to do FOTA updates when updating the boot image. Unlocked devices can't take Sony FOTA updates so using this partition for storing the recovery ramdisk seems like a good idea. Unlocked users aren't able to use this partition anyway and the FOTAKernel partition is effectively the "recovery" partition on Sony devices.
The Following 11 Users Say Thank You to Dees_Troy For This Useful Post: [ Click to Expand ]
 
eScapeeXc
Old
(Last edited by eScapeeXc; 2nd March 2013 at 12:16 AM.)
#3  
Senior Member
Thanks Meter 19
Posts: 115
Join Date: Dec 2009
Location: Vienna
Thanks a lot but from your site can we get only 2.4.0.0. And it's for the oldest rom kernel (.452). Can you please update the ramdisk and modem for the our Xperia S?
Device: Apple iPhone5 White

2. Device: Sony Xperia S
Android Version: 4.0.4 ICS
Bootloaderstatus: UNLOCKED
Kernel: Stock+ v5.3 w/ TWRP - by tosa.th
Rom: Stock .55 - by Sony
Mod: -
 
mrkidvn
Old
#4  
Member
Thanks Meter 2
Posts: 42
Join Date: Jan 2013
Location: Ho Chi Minh
anychange for locked BL?
 
darkerm
Old
#5  
darkerm's Avatar
Senior Member
Thanks Meter 48
Posts: 459
Join Date: Feb 2012
Location: Dhaka
Advance Stock Kernel 17 comes with CWM.
How Can I install this over CMW?
Xperia S (Black)
XZXperience 2
Advance Stock Kernel v.17
I am a Hardcore Mobile Gamer
 
Redstarr1
Old
#6  
Redstarr1's Avatar
Senior Member
Thanks Meter 114
Posts: 302
Join Date: May 2012
Location: Leuven
Quote:
Originally Posted by eScapeeXc View Post
Thanks a lot but from your site can we get only 2.4.0.0. And it's for the oldest rom kernel (.452). Can you please update the ramdisk and modem for the our Xperia S?
You should take a look at the "Download - FOTAKernel Image" header. There's no need to install that stock kernel, you can also just push the recovery. The way described on the website requires you use Terminal Emulator but there's an easier way. (I also don't really understand which is the right version because there is 2.4.3.0 for nozomi and 2.4.3.0 for LT26i and afaik that's the same device).

Just install GooManager on your phone, select "Flash ROMs" and there should be a message asking if you have a custom recovery. Select to install one and the latest version of TWRP will be installed.

I'm using Stock+ kernel, that already had TWRP 2.4.1 recovery, after doing this with GooManager I have TWRP 2.4.3.0. If you're using any of the other .55 kernels it should be work as well.

Quote:
Originally Posted by mrkidvn View Post
anychange for locked BL?
No idea.

Quote:
Originally Posted by darkerm View Post
Advance Stock Kernel 17 comes with CWM.
How Can I install this over CMW?
That's basically the same question eScapeeXc asked so the answer is the same .
My devices:
Sony Xperia S - Rom: eXistenZ Black Edition based on stock 6.2.B.0.197 by niaboc79
ZTE Skate - Rom: Stock (GB 2.3.5)
Nokia N85 (Symbian s60v3, not being used anymore)
 
algates
Old
#7  
algates's Avatar
Senior Member
Thanks Meter 22
Posts: 141
Join Date: Sep 2012
Location: kumbakonam, TamilNadu
Default Re: [RECOVERY] TWRP 2.4.3.0 touch recovery [2013-03-01]

Is it works on locked bootloader?

Sent from my LT26i using xda app-developers app
 
Apology11
Old
(Last edited by Apology11; 7th May 2013 at 12:31 PM.)
#8  
Apology11's Avatar
Senior Member
Thanks Meter 158
Posts: 517
Join Date: Apr 2012
Location: Wertheim
Will:

dd if=/dev/zero of=/dev/block/mmcblk0p11

remove the recovery?

Is there a way to choose between the recovery from the kernel and this one on fota while booting?

How many space has the fota partition on our device?
 
mericon
Old
#9  
Senior Member
Thanks Meter 288
Posts: 232
Join Date: Aug 2011
Location: Aachen

 
DONATE TO ME
Quote:
Originally Posted by algates View Post
Is it works on locked bootloader?

Sent from my LT26i using xda app-developers app
It needs a modified ramdisk. So it will not work.
Device: Sony Xperia S
Rom: Stock
Kernel
: XSX Kernel by me
The Following User Says Thank You to mericon For This Useful Post: [ Click to Expand ]
 
twk99
Old
#10  
Member
Thanks Meter 5
Posts: 38
Join Date: Sep 2012
Location: Sweden
Default Sv: [RECOVERY] TWRP 2.4.3.0 touch recovery [2013-03-01]

Quote:
Originally Posted by Dees_Troy View Post
More information:

Most Xperia S kernels are probably including CWM by default in the boot image. About a month ago I submitted some changes to the CyanogenMod repos that were accepted. Newer builds of CM include a special extract_elf_ramdisk utility that I wrote to read and extract a recovery ramdisk from the FOTAKernel partition instead of using the ramdisk that is included in the boot image. If the ramdisk in the FOTAKernel partition is a stock Sony ramdisk or not present, then the existing ramdisk in the boot image is used instead. This setup allows users to choose which recovery they want to keep installed. This same setup is possible in other kernels including stock Sony kernels. On our website's download link you will find a copy of a recent stock ICS kernel for the Xperia S that includes TWRP as well as the extract_elf_ramdisk utility.

If the kernel you have installed doesn't support this extract_elf_ramdisk setup, then you won't be able to use the GooManager installed copy of TWRP. Bug your kernel or ROM developer and ask them to update their images so that you can choose what recovery you want.

What is the FOTAKernel partition?

The FOTAKernel partition is used by Sony to do FOTA updates when updating the boot image. Unlocked devices can't take Sony FOTA updates so using this partition for storing the recovery ramdisk seems like a good idea. Unlocked users aren't able to use this partition anyway and the FOTAKernel partition is effectively the "recovery" partition on Sony devices.
Does this mean that flashing TWRP on Xperia S, this way, will prevent it from being overwritten every time a new kernel is flashed?

 
Post Reply+

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...