Remove All Ads from XDA
Honor View 10

[MTD/CWM] SGS4G TWRP Installer (Oct 13, 2012)

3,419 posts
Thanks Meter: 3,758
Post Reply Email Thread

Since it was too much of a hassle to include TWRP with every CM7 release, I decided to make a CMW flashable installer for TWRP.

Team Win Recovery Project 2.1, 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.

  • When you flash a new ROM/boot.img after installing TWRP, if you do not select "Inject TWRP after install" you will go back to CWM!
  • It's easier to just keep the checkbox ticked (TWRP remembers if you tick it) and have TWRP re-inject itself after every ROM/boot.img flash.

  1. Make sure you're on an MTD rom that's based on cm7 or an ICS rom
  2. Download for CM7 or for ICS
  3. Reboot to recovery
  4. Flash the you downloaded
  5. Enjoy! (After you reboot to recovery once more)

No link yet, but I will probably write a guide in the wiki on how to do it since you can build with almost no modification with how you build a CM7 boot.img


Oct 13, 2012
Updated to TWRP v2.2.2.1 (MD5: 2fccfd752936e7022896db6303663b0f)


Changelog from:
Significantly improved sd-ext handling (ext partitions on sdcards)
Changes to kinetic scrolling in file selectors
Fixed a problem with using periods in backup names
Fixed problems in XML layouts with mounting system and USB storage
Fixed a problem with unmounting a partition before formatting during restore
Add Jelly Bean decrypt support
Updated 320x480 theme to match others (thanks to Llewelyn)
Improve "symlinking" of /data/media to either /sdcard or /emmc
Added sanitizing of device IDs for invalid characters (thanks to bigbiff)
Fixed free space calculation when switching backup devices on /data/media devices
Fixed a problem with using OpenRecoveryScript to create a backup without providing a backup name

Jul 30, 2012
ICE CREAM SANDWICH (CM9/AOKP) Release (MD5: c2be948473dd709ec9f38e9ec4156e63)

June 24, 2012
GINGERBREAD Release: (MD5: efa30628f760d49a41d8737eb999cc3d)

  • Dees-Troy (for helping me with TWRP)
  • Team Win (For making this awesome recovery)
  • smasher816 (For Team-Win-Recovery-Project-Samsung)
  • Team Acid for their awesome CM7 release
The Following 47 Users Say Thank You to FBis251 For This Useful Post: [ View ] Gift FBis251 Ad-Free
20th June 2012, 11:15 AM |#2  
FBis251's Avatar
OP Recognized Contributor
Thanks Meter: 3,758
Donate to Me
My favorite theme (so far):
ICS/Cyan System Style Theme by gimpsta
The Following 6 Users Say Thank You to FBis251 For This Useful Post: [ View ] Gift FBis251 Ad-Free
20th June 2012, 11:17 AM |#3  
Beastmode's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 7,437
Donate to Me
Nice work fb ill try it with the updated miui build

Sent from my SGH-T959V using XDA
20th June 2012, 12:14 PM |#4  
FBis251's Avatar
OP Recognized Contributor
Thanks Meter: 3,758
Donate to Me
Okay just another progress update. I just made a new build of TWRP using the Team Acid CM7 source tree and it appears to have worked fine. This means that it'll be easier to get updates out to you guys since I can build TWRP off the latest CM7/TeamAcid code.

I'll have to talk to bryan about how to integrate this into github to make it easier on other people to build. I want to share how to do this, but I need guidance first! Wait a few days and all you devs will get to play with the source for this
The Following 3 Users Say Thank You to FBis251 For This Useful Post: [ View ] Gift FBis251 Ad-Free
20th June 2012, 05:11 PM |#6  
Senior Member
Flag Birmingham, Al
Thanks Meter: 69
Thumbs up
FB this is awesome! Thank You so much U just made our phones even better!
20th June 2012, 08:10 PM |#7  
htaak's Avatar
Senior Member
Flag Ore Chasm - Pandora
Thanks Meter: 113
Yo FB,
Flashed over CM7 original R11. Rebooted into TWRP.
Backed up current ROM including cache and Android secures.
Flashed MIUI MTD Revenge using same steps listed for CWM only with TWRP leaving "inject TWRP" checked. ( factory reset, system format etc...all run as expected)
Boot MIUI MTD Revenge, everything is working, IMEI is fine.
Reboot to recovery from power menu, got hung up on old Team Acid logo.
Volume up/down + power into TWRP recovery, restore my previous backup. Reboot into CM7 R11, everything has been 100% restored. Hit XDA app button, leave comment.
Another great contribution man, this is very nice. The touch interface is very nice, I also think the battery % is a nice feature, along with the fact it takes you to your last folder (in my case ROMS) when you hit the install button. This even persists through reboots...very slick. Thanks man.

Sent from my SGH-T959V using XDA
The Following User Says Thank You to htaak For This Useful Post: [ View ] Gift htaak Ad-Free
20th June 2012, 08:47 PM |#8  
Account currently disabled
Thanks Meter: 1,416

As always nice work. A CWM flashable. You really are to kind. And congrats on the RC status as well. You deserve it.
The Following User Says Thank You to hechoen For This Useful Post: [ View ] Gift hechoen Ad-Free
20th June 2012, 09:27 PM |#9  
Senior Member
Flag Cincinnati
Thanks Meter: 113
Congrats FB on RC! Awesome work. I thought that it would be coming soon.

TWRP is excellent. It is very user friendly and this flashable works wonders. I never thought a recovery could be so exciting!

On a side note, and sorry if this is not the place for it, but I have noticed it takes much longer to fix permissions with TWRP. Is this an isolated issue or is it just a result of TWRP?

Awesome work and thanks again for taking the time to help make the SGS4G even more amazing!
21st June 2012, 02:45 AM |#10  
penguin0609's Avatar
Senior Member
Flag Florida
Thanks Meter: 14
Very nice fbi

Sent from my SGH-T959V using xda premium
21st June 2012, 03:33 AM |#11  
Fluidification's Avatar
Senior Member
Thanks Meter: 1,488
Any guide to build it in directly from source?

Sent from my SGH-T959V using xda premium
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes