• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Recovery] Team Win Recovery - TWRP - 2.7.0.0

Shabbypenguin

Extreme Android User
Mar 28, 2011
5,381
5,072
37
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its 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.7.0.0:
-Faster graphics rendering by disabling alpha blending on fully opaque objects thanks to Tassadar
-Allow sideloading from /tmp on encrypted devices
-Check for a crypto footer before asking for a password to prevent user confusion
-Additional checks for validity to auto generated backup names
-Text wrap in the console output
-Proper caps lock support in the keyboard
-Mouse support via USB OTG for devices with a broken digitizer
-Improve scanning of storage locations for OpenRecoveryScript
-Haptic feedback for buttons, keyboard, and vibration at the end of longer running actions thanks to Samer Diab
-Fixed ext4 wiping when no selinux contexts are defined for that partition (e.g. sd-ext)
-Update SuperSU to 1.93 and improve installation process
-Added selinux contexts restoration to fix permissions
-Load RTC offset on Qualcomm devices to fix the date/time in recovery
-USB Mass Storage fixes Add SELinux support checking
-Add Disk Usage class to better handle excluded folders (e.g. Google Music cache)
-Add 4.4 decrypt support
-Add some toolbox utilities to TWRP (namely to support SELinux functions not supported in busybox)
-Various SELinux fixes and bug fixes

Note: 2.7 marks the first time that we are dropping support for older devices. We are doing this because of the SELinux support needed to install 4.4 Kit Kat ROMs. The non-TWRP parts of the recovery image have to be built in at least a 4.1 tree and the kernel that is included in the recovery image has to support writing SELinux contexts. We don't own most of the devices that we support so we depend on outside testers and developers to help us update devices. In many cases we can't find someone readily. Come to #twrp on Freenode if you want to help bring your device up to date. You can tell right away if your device will support 4.4 ROMs in 2.7. Boot TWRP and press the console button (the square-ish button either in the bottom middle or upper right) to view the console output. If it doesn't say "Full SELinux support" in the console, then your device still needs some work. Help us help you.

CHANGELOG for 2.6.3.0:
-Proper backup and restore of SELinux contexts (thanks to Tassadar)
-Pull in some ROM information for backup name generation
-Merge all recent patches from AOSP bringing TWRP up to date with Android 4.3
-Add 1200x1920 theme (thanks to Tassadar)
-A few other fixes and tweaks

CHANGELOG for 2.6.1.0:
-Initial SELinux support (only a few devices, need testers so come by IRC if your device doesn't have it and needs it)
-Initial support for f2fs file system formatting (Moto X)
-Update SuperSU install for 4.3 ROMs
-Fixed a permissions bug on files created during backup
-Fixed a bug that caused TWRP to not wait for compressed backups to finish causing 0 byte files and md5sums to not match
-Fixed decryption of encrypted data so that both TouchWiz and AOSP decryption are possible
-Ignore lost+found folder during backup and size calculations
-Various other minor bug fixes and tweaks

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.
This is for TWRP support only, any questions concerns issues with TWRP on this device ask in this thread please.
 
Downloads:

TWRP - 2.7.0.0 - gardaltetmo /-/ Mirror
Odin


1) Power off your device
2) Hold volume down, home and power until you see the warning screen
3) Press volume up
4) Load up Odin and uncheck auto reboot
5) Click PDA and select the TWRP tar you downloaded.
6) Connect your device and look for a yellow/blue COM in Odin
7) Click start
8) Pull battery out of your device
9) Power on the phone holding volume up, home and power until the samsung galaxy light screen appears.
10) Enjoy TWRP


Issues:
Won't mount preload appears in console log, its an fstab fix
The kernel doesnt support SElinux, so this cant be used to flash 4.4 roms (not that you have any anyways, but just want people to know)
 
Upvote 0
So good news in advance, here are the instructions on how to root 4.4 when it comes out:

Download the latest version of supersu from SuperSU Download
copy it to your device
flash supersu in twrp
reboot and load up supersu
have it disable knox
reboot to twrp and reflash supersu
that should be all.
 
Upvote 0
Downloads:

TWRP - 2.7.0.0 - gardaltetmo
Odin


1) Power off your device
2) Hold volume down, home and power until you see the warning screen
3) Press volume up
4) Load up Odin and uncheck auto reboot
5) Click PDA and select the TWRP tar you downloaded.
6) Connect your device and look for a yellow/blue COM in Odin
7) Click start
8) Pull battery out of your device
9) Power on the phone holding volume up, home and power until the samsung galaxy light screen appears.
10) Enjoy TWRP


Issues:
Won't mount preload appears in console log, its an fstab fix
The kernel doesnt support SElinux, so this cant be used to flash 4.4 roms (not that you have any anyways, but just want people to know)

Okay so now I'm REALLY confused. I finally got connected to Kies so I can back up my phone before I root it, but this is what Kies said and I quote...

"A new firmware version is available. Upgrading may improve the performance of 'SGH-T399(My PHONE NUMBER)'. Do you want to upgrade?

Current firmware version : PDA:MJ4 / PHONE:MJ4 / CSC:MJ4 (TMB)
Latest firmware version : PDA:NE4 / PHONE:NE4 / CSC:NE4 (TMB)"

  1. Can I still root my phone with ShabbyPenguin's TWRP-2.7.0.0-gardaltetmo.tar using Odin?
  2. Should I allow Kies to update the firmware first and THEN root it with TWRP?
Thanks so much to ShabbyPenguin and anyone else who chimes in on this. I appreciate it all. I will definitely be donating to this gentleman!
 
Upvote 0
Never mind i have spoken too soon. I have a galaxy light the T399 and when I load up odin I de-select the auto reboot and find the twrp in the PDA. After that I cant find anything else to do and my phone will not show up anywhere on the computer allthough i hear a noise when I connect it via the usb. The only internet I have where im currently at is on my phone through its hotspot so when I actually do the steps it is all offline if that would make a difference. Windows 8 and I am stumped. Sorry to be bothersome nothing ever seems to work for me.
 
Upvote 0
I put it in via usb and nothing shows up if thats what you mean by connect my device. Nothing happens on my phone or in the odin. Also when you say click start do you mean the open on the bottom right its grayed out on mine.
EDIT: just found start on bottom gonna try it now my resolution has been slightly off.
EDIT 2: apparently i cant change the res to where it will show it all however when clicked start it said no threads found -.- I still dont think my device has been connected.
 
Upvote 0
I put it in via usb and nothing shows up if thats what you mean by connect my device. Nothing happens on my phone or in the odin. Also when you say click start do you mean the open on the bottom right its grayed out on mine.
EDIT: just found start on bottom gonna try it now my resolution has been slightly off.
EDIT 2: apparently i cant change the res to where it will show it all however when clicked start it said no threads found -.- I still dont think my device has been connected.

Just download and install the Samsung Galaxy Light usb driver on your computer from the following link, that solved the problem for me:

www.androidxda.com/download-samsung-usb-drivers
 
  • Like
Reactions: GalaxyGurl13
Upvote 0
I put it in via usb and nothing shows up if thats what you mean by connect my device. Nothing happens on my phone or in the odin. Also when you say click start do you mean the open on the bottom right its grayed out on mine.
EDIT: just found start on bottom gonna try it now my resolution has been slightly off.
EDIT 2: apparently i cant change the res to where it will show it all however when clicked start it said no threads found -.- I still dont think my device has been connected.
setting>more>about>build # tap on build seven times to get developer mode then enable usb debug

also try setting>connection>more networks>tethering>usb

wait pc windows download and install certain drivers for both modes.

pls reply here if root succeed.
 
  • Like
Reactions: reddarin
Upvote 0
Root success! Thanks for the guide shabbby. Used odin 1.85 (newer versions don't have pda tab). This is my first Samsung so everything was new to me (coming from rooted lg motion). BTW i picked this up from metro yesterday ($49) and it is on 4.4.2 Build number 49H.T399NUVUANH1 can i use that rom floating around or do I have to wait for a new one (fingers crossed)
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones