Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,619 Members 46,357 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY][XU] TWRP 2.7.0.0 touch recovery [2014-03-19]

Tip us?
 
AGONTUK
Old
(Last edited by AGONTUK; 3rd April 2014 at 01:25 PM.)
#1  
AGONTUK's Avatar
Senior Member - OP
Thanks Meter 839
Posts: 425
Join Date: Feb 2013
Location: Dhaka
Default [RECOVERY][XU] TWRP 2.7.0.0 touch recovery [2014-03-19]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/


Introduction:

Team Win Recovery Project or twrp2 for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. 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.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Decryption of /data
Easy selection of internal/external storage

Installation:

since our device developers are constantly trying to fix bugs, they are always changing something in init.*.rc files for testing. For this reason I can't post a regular boot.img file because it won't work. For now, I've created a script that will take all init.*.rc files from current rom's boot.img and then compile new boot.img with TWRP inside it.

Note : For Rooted & Unlocked Bootloader Only
Note : For 4.4 ROM (should work on older version of android upto 4.1). I only tested with CM11. So please provide feedback

1) Download the latest zip file.
2) Extract it in a folder and place your current rom's boot.img inside that folder. (it must be named boot.img)
3) For latest ramdisk, download it and replace the old initrd.gz with it.
4) Connect your phone with PC. (adb must be working)
5) Open your command line and cd to that folder
6) For linux users, type
Code:
chmod 755 run_me.sh
./run_me.sh
For windows users, type
Code:
run_me.bat
new boot.img file will be created in the current directory named new_boot.img. Power off your phone and flash the boot image.
Code:
fastboot flash boot new_boot.img
7) If you want flashable zips after creating boot image, use this zip http://forum.xda-developers.com/show...0&postcount=85

Theming:

Information on TWRP 2 Theming - http://teamw.in/project/twrp2themers

To ROM makers

if you include it in your ROM, please give proper credits cause I've spent almost a month trying to port this.Thanks.

Download

recovery_install_19_03_2014.zip - 6.42 MB

Source

TWRP source -> https://github.com/omnirom/android_bootable_recovery

device tree -> https://github.com/Agontuk/android_device_sony_kumquat

Credits

all teamwin members, especially @Dees_Troy for giving me constant advice
@munjeni for his support and answering all my questions
Attached Files
File Type: zip recovery_install.zip - [Click for QR Code] (4.52 MB, 388 views)
File Type: gz initrd.gz - [Click for QR Code] (3.32 MB, 160 views)
The Following 42 Users Say Thank You to AGONTUK For This Useful Post: [ Click to Expand ]
 
AGONTUK
Old
(Last edited by AGONTUK; 18th March 2014 at 08:14 PM.)
#2  
AGONTUK's Avatar
Senior Member - OP
Thanks Meter 839
Posts: 425
Join Date: Feb 2013
Location: Dhaka
Changelog 14/03/2014
  • booted
  • full touch working
  • adb working
  • usb mass storage working
  • custom led for booting
  • fixed show battery capacity & charging status (+ icon next to percentage)
  • reboot to bootloader working (from twrp menu)

Changelog 15/03/2014
  • fixed reboot to recovery (from twrp menu)

Changelog 17/03/2014
  • added led support to indicate battery status
  • added brightness slider (under settings => screen in twrp)

Changelog 19/03/2014
  • reboot to recovery from ROM is fixed
  • reboot to bootloader from ROM is fixed
The Following 13 Users Say Thank You to AGONTUK For This Useful Post: [ Click to Expand ]
 
AGONTUK
Old
(Last edited by AGONTUK; 13th March 2014 at 08:02 PM.)
#3  
AGONTUK's Avatar
Senior Member - OP
Thanks Meter 839
Posts: 425
Join Date: Feb 2013
Location: Dhaka
F.A.Q

1) Are CWM backups compatible with TWRP ?
Ans: CWM backups are not compatible - please make a fresh backup in TWRP as soon as you have flashed it.
The Following 7 Users Say Thank You to AGONTUK For This Useful Post: [ Click to Expand ]
 
Info4Geek
Old
#4  
Info4Geek's Avatar
Senior Member
Thanks Meter 1038
Posts: 725
Join Date: May 2013
Location: Toulouse

 
DONATE TO ME
Compatible with witch ROM ?

Server rent started 01 july 2014 !
for the HubDroid server ! - 4 months: ✓ + €4.43/€43

[U/P/Sola/Go] [Xperia STE] CyanogenMod 11

My Device: Sony Xperia U "kumquat" with Paranoid Android 4.42 (13/07/2014)
Future owner of a OnePlus One 64GB phone

Brother Device: Sony Xperia SP "huashan" with Official PAC ROM Nightly build(01/07/2014)
 
cdavide98
Old
#5  
Senior Member
Thanks Meter 23
Posts: 146
Join Date: Sep 2013
Works great..thanks
 
AGONTUK
Old
#6  
AGONTUK's Avatar
Senior Member - OP
Thanks Meter 839
Posts: 425
Join Date: Feb 2013
Location: Dhaka
Quote:
Originally Posted by Info4Geek View Post
Compatible with witch ROM ?
OP updated. For 4.4 only. Only tested with CM11.

Quote:
Originally Posted by cdavide98 View Post
Works great..thanks
did you try it already? How was it ? Which rom are you using ?
The Following 2 Users Say Thank You to AGONTUK For This Useful Post: [ Click to Expand ]
 
Matoxxi
Old
#7  
Matoxxi's Avatar
Senior Member
Thanks Meter 80
Posts: 194
Join Date: Sep 2012
Location: Cagliari
Quote:
Originally Posted by NoobCoder View Post
OP updated. For 4.4 only. Only tested with CM11.


did you try it already? How was it ? Which rom are you using ?
using right now ,with cm11 and it was god .Only one thing where i can find themes for this ?
And if i understeand with some modifications we can have twrp for all rom using your metod ?
 
AGONTUK
Old
(Last edited by AGONTUK; 13th March 2014 at 08:56 PM.)
#8  
AGONTUK's Avatar
Senior Member - OP
Thanks Meter 839
Posts: 425
Join Date: Feb 2013
Location: Dhaka
Quote:
Originally Posted by Matoxxi View Post
using right now ,with cm11 and it was god .Only one thing where i can find themes for this ?
And if i understeand with some modifications we can have twrp for all rom using your metod ?
check OP for theming guide. yes, I think it'll work on all 4.4 roms
The Following 2 Users Say Thank You to AGONTUK For This Useful Post: [ Click to Expand ]
 
gomzee1024
Old
#9  
Senior Member
Thanks Meter 81
Posts: 164
Join Date: Jul 2013
what is the major difference between CWM and TWRP recovery, and how is TWRP better than CWM?
 
gigitux
Old
#10  
gigitux's Avatar
Senior Member
Thanks Meter 86
Posts: 243
Join Date: Oct 2012
Location: Napoli
Quote:
Originally Posted by gomzee1024 View Post
what is the major difference between CWM and TWRP recovery, and how is TWRP better than CWM?
Google is your friend.

This is a development thread !

Tags
kumquat, team win recovery, twrp, xperia u
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes