FORUMS

How to Root the LG G4 and Install TWRP Recovery – XDA TV

A rooting method has finally been found for the flagship LG G4. In this … more

New Xposed for Lollipop 5.0 Update Fixes Major Bugs

Senior Recognized Developer rovo89 has patched Xposed for Lollipop 5.0 to … more

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

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

579 posts
Thanks Meter: 2,369
 
By AGONTUK, Recognized Contributor on 13th March 2014, 07:38 PM
Post Reply Subscribe to Thread Email Thread
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, 2346 views)
File Type: gz initrd.gz - [Click for QR Code] (3.32 MB, 617 views)
Last edited by AGONTUK; 3rd April 2014 at 01:25 PM.
The Following 46 Users Say Thank You to AGONTUK For This Useful Post: [ View ]
 
 
13th March 2014, 07:38 PM |#2  
AGONTUK's Avatar
OP Recognized Contributor
Flag Dhaka
Thanks Meter: 2,369
 
More
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
Last edited by AGONTUK; 18th March 2014 at 08:14 PM.
The Following 14 Users Say Thank You to AGONTUK For This Useful Post: [ View ]
13th March 2014, 07:39 PM |#3  
AGONTUK's Avatar
OP Recognized Contributor
Flag Dhaka
Thanks Meter: 2,369
 
More
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.
Last edited by AGONTUK; 13th March 2014 at 08:02 PM.
The Following 8 Users Say Thank You to AGONTUK For This Useful Post: [ View ]
13th March 2014, 07:47 PM |#4  
Info4Geek's Avatar
Recognized Contributor
Flag Toulouse
Thanks Meter: 2,402
 
Donate to Me
More
Compatible with witch ROM ?
13th March 2014, 07:49 PM |#5  
Senior Member
Thanks Meter: 38
 
More
Works great..thanks
13th March 2014, 07:50 PM |#6  
AGONTUK's Avatar
OP Recognized Contributor
Flag Dhaka
Thanks Meter: 2,369
 
More
Quote:
Originally Posted by Info4Geek

Compatible with witch ROM ?

OP updated. For 4.4 only. Only tested with CM11.

Quote:
Originally Posted by cdavide98

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: [ View ]
13th March 2014, 08:00 PM |#7  
Matoxxi's Avatar
Senior Member
Flag Cagliari
Thanks Meter: 578
 
More
Quote:
Originally Posted by NoobCoder

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 ?
13th March 2014, 08:10 PM |#8  
AGONTUK's Avatar
OP Recognized Contributor
Flag Dhaka
Thanks Meter: 2,369
 
More
Quote:
Originally Posted by Matoxxi

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
Last edited by AGONTUK; 13th March 2014 at 08:56 PM.
The Following 2 Users Say Thank You to AGONTUK For This Useful Post: [ View ]
13th March 2014, 08:28 PM |#9  
Senior Member
Flag Surat
Thanks Meter: 82
 
More
what is the major difference between CWM and TWRP recovery, and how is TWRP better than CWM?
13th March 2014, 08:32 PM |#10  
gigitux's Avatar
Senior Member
Flag Napoli
Thanks Meter: 86
 
More
Quote:
Originally Posted by gomzee1024

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 !
13th March 2014, 08:39 PM |#11  
Me‎'s Avatar
Senior Member
Thanks Meter: 281
 
More
Successful installation on MoKee rom.
Appears to work well, don't really have anything to test..

Read More
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes