Post Reply

[TOOL/UTILITY][TWRP][2.8][RECOVERY] TWRP 2.8.0.0 TeamWin Recovery Project 9/16

OP bigbiff

11th May 2012, 02:11 AM   |  #1  
OP Recognized Developer
Thanks Meter: 3,865
 
4,377 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Default [RECOVERY] [8/6/14] TWRP 2.8.0.0 - TeamWin Recovery Project

TeamWin is proud to present TWRP 2.8.0.0 for the Galaxy Note (ATT)!



Youtube video: http://www.youtube.com/watch?v=RIvWVS_Rkxo

Full TeamWin credits are on the TWRP page on the TeamWin website: http://teamw.in/project/twrp2

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
See changelog below for new features

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe cache & dalvik, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

Theming:

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

Known Issues:

CWM backups are not compatible - please make a fresh backup in TWRP as soon as you have flashed it


Source Code:

GitHub - https://github.com/omnirom/android_bootable_recovery

Gerrit Instance - http://gerrit.omnirom.org

If you have made your own twrp build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

quincyatt Device Config: https://github.com/TeamWin/android_d...sung_quincyatt

Kernel: https://github.com/bigbiff/i717-GB-Kernel

DOWNLOAD:

All official devices are listed at the top of the page on the Team Win website. Search for the device in the textbox.

http://teamw.in/project/twrp2


Support:

Click http://webchat.freenode.net/?channels=twrp for live support or join us in #twrp on Freenode IRC servers
Last edited by bigbiff; 17th September 2014 at 01:35 AM.
The Following 93 Users Say Thank You to bigbiff For This Useful Post: [ View ]
11th May 2012, 02:12 AM   |  #2  
OP Recognized Developer
Thanks Meter: 3,865
 
4,377 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Changelog
2.8.0.0
- Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy
- Add command line capabilities - you can now execute various TWRP features via adb instead of the touchscreen
- Add support for color in the console and give error, warning, and highlight lines different colors
- Track backup and restore progress based on file sizes to provide a much more accurate indication of progress
- Improve handling of /misc thanks to mdmower
- Improve setting of time on Qualcomm devices thanks to [NUT]
- Allow using images on slidervalue GUI objects thanks to Tassadar
- Allow using variables and addition and subtraction in variables for easier theming
- Add support for 1440x2560, 280x280, and 320x320 resolutions and update 240x240
- Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain
- Other minor fixes and improvements

2.7.1.0
- Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.
- Various bugfixes to backup and restore
- Improvements to USB storage handling
- Added a class to search for files to make finding the correct brightness file automatic in most cases
- Various other bugfixes and tweaks

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.


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

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

2.6.0.1
Fix showing data twice in advanced wipe

2.6.0.0
Special Note: If you are running a custom theme, you will likely need to remove that theme before updating to 2.6.0.0 as your custom theme will likely not have some of the new changes visible (e.g. you won't be able to encrypt a backup)!
Can encrypt a backup to prevent theft of private data from your backup files
Updated graphics / icon courtesy of shift
Updated exFAT to latest commits
Fixed a problem with Samsung TouchWiz decryption
Update SuperSU binary
Fixed saving of backup partitions list
Fixed saving of last used zip install folder
Fixed backup of datadata on devices that use a separate partition for datadata
Fixed some issues with the advanced wipe list (android_secure, can now wipe internal storage on data/media deivces and wipe data on the advanced list no longer formats the entire data partition)
Fixed some problems with partitioning a SD card
Various other bug fixes and tweaks

Notes about encrypted backups:
Why encrypt your backups? -- Most people store their backups on the device. Any app that has permission to access storage could potentially read your backup files and try to harvest your data. Encrypted backups also provide an added layer of security if you move your backups to other storage devices or to the cloud. The encryption that we're using is probably not strong enough for enterprise level security, but should be strong enough to make it significantly difficult to get to your data.

Encryption is using OpenAES which uses AES 128-bit cbc encryption. If you happen to use a longer password (over 16 characters) then the encryption strength improves to 192 or 256 bits. Do not forget your password. If you forget your password you will be unable to restore your backup. We don't encrypt the entire backup. Encryption is very CPU intensive and can be fairly slow even when we spread the workload over multiple cores even on the latest high-end devices. To ensure that encrypted backups don't take forever, we don't encrypt any other partitions besides /data and in /data we don't encrypt /data/app (or other app related directories where apks are stored) and we don't encrypt dalvik cache.

2.5.0.0
Fixed Device Configs for booting TWRP
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
Fixed a problem with directory permissions on split archive backups
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

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

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
Fix Military Time setting persisting

2.4.2.1
Fix screen timeout by adding correct brightness config file to BoardConfig.mk

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

2.3.3.0
Added better handling of wiping on /data/media devices with Android 4.2 to help prevent multiple upgrades of the file system for multiple users
NOTE: It is not recommended to jump back and forth between 4.1 and 4.2 ROMs. If you do, this may trigger additional upgrades and you will have to manually move your files back to the "single user" layout when going back to 4.1.

Fixed renaming of backups when a space is present
Added decrypt button to mount page if you cancel decryption during boot
Added ignore blkid flag support
Fixed handling of MTD partitions during mount
Fixed some keyboard mapping issues on 800x1280 layout

2.3.2.3
Fixes / enhancements to handle the multiple user setup introduced by Android 4.2 (see http://teamw.in/androidmultiuser)
Fixed a bug with deleting a backup with a space in the name
Added highlights on keyboard key presses
Updates to Fix Permissions

10/18/12

Fixed keyboard segfault
Handle single LUN file for USB Storage
Handle mounting of slow sdcards
Update USB Mount Code to be more Efficient

10/13/2012
Many, many updates. See https://github.com/TeamWin/Team-Win-...ommits/jb-wip/ for detailed commits.

8/25/2012
Device ID Sanitization - doesn't affect the note
1920x1200 theme - not for note
320x480 theme - not for note
/data/media issues for other devices fixed - not for note
Fix keyboard issues for 800x1280 and small ui tweaks
Fix some mount error messages
SD-EXT Improvements
Unmount before formatting (if mounted)
Fix Umask for JB builds (this version is still built in CM9/ICS)
Change initial logging fo TWRP startup (include version field)
Kinetic Scrolling improvements

7/17/2012
Fixed backup duplicate name checking
Added checking to see if boot is 0 size and remove from backup menu
Fixed a bug with android secure backup using ORS
Fixed a bug with backup naming when using ORS and backup name is
Slight tweaks to 800x1280 layout

7/12/2012
New release 2.2. See OP for details on changelog. Please leave any feedback in the thread.

6/14/2012
Added the ability to backup /efs when backing up and restoring. It will tar the files instead of using dd so the filesystem isn't formatted.

6/11/2012
Fixed dual mount for USB. You will now see your internal and external sdcards as Windows drives in recovery!
Fixed md5 checking parsing filenames with apostrophes.
Added reboot to download mode in Reboot page
New support for updater-binary included in TWRP. (Don't currently implement this for the SGH-I717
If no OS installed, reboot buttons won't show. Fixes bricking in some devices but doesn't seem to affect SGH-I717.
Added support for partitions greater than 2 GBs.

5/23/2012
Updated ui.xml to make bigger console space
Worked with Dees_Troy to get flash zip in place working. Are ROMs were getting to big and were being copied to /tmp. With the ROMs and RADIOs we overwhelmed recovery. Now your ROM should flash with no issues because we are extracting from storage now.
Dees_Troy fixed a graphics bug which the recovery was still doing work but the GUI said successful.
Update is at teamw.in or goo manager.

5/11/2012
Fixed ui.xml to fix Mount Page for external and internal sdcards
Updated filename on TWRP device page to have proper version in filename
Updated img for GooManager to have proper version in filename
Last edited by bigbiff; 17th September 2014 at 01:35 AM.
The Following 20 Users Say Thank You to bigbiff For This Useful Post: [ View ]
14th October 2012, 07:38 PM   |  #3  
Member
Flag Phelps, New York
Thanks Meter: 3
 
38 posts
Join Date:Joined: Mar 2012
More
HTC VIVID with Team Win recovery v2.2.0

Hello all, I was just handed an HTC Vivid that appears to be FUBAR'D All it does on start up is go into Team Win Recovery 2.2.0
(This is a friends phone, they bout it on eBay "apparently pre-modified) I was told the phone worked fine for 3 months since they had it, then all of the sudden this..)

If someone could please point me in the right direction to get this thing restored, that would be greatly appreciated! (From within Team Win it appears everything fails to mount and it isn't seeing the external sd! When it is connected to pc it asks me to format the disk!) I can see what looks like the system files and structure using the browser, but it will not reboot into anything "System, Recovery, or Bootloader from Team Win Recovery (it fails and hangs) you can't even use power off it too hangs, you have to remove the battery to do anything after you attempt any of that to continue..) It tells me there is NO OS Installed when i select reboot to anything!

I just need an absolute way to restore I am more than familiar with ADB and modification (but tend to stay with Moto X, RAZR, Xoom devices) I'm kinda blind as to were to start with this HTC..

Also, other than the recent poking around I know nothing about Team Win or there Recovery! From what i've read and can plainly see it looks pretty sweet so if I can just get this lame thing working again that would be great! (Now My friend says they have done nothing to the phone, just bought it on eBay! But if it were working they may have accidentally gotten into recover and wiped it "being it shows no OS" either that or this is a really bad bug!
14th October 2012, 08:12 PM   |  #4  
OP Recognized Developer
Thanks Meter: 3,865
 
4,377 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by sidgrafix

HTC VIVID with Team Win recovery v2.2.0

Hello all, I was just handed an HTC Vivid that appears to be FUBAR'D All it does on start up is go into Team Win Recovery 2.2.0
(This is a friends phone, they bout it on eBay "apparently pre-modified) I was told the phone worked fine for 3 months since they had it, then all of the sudden this..)

If someone could please point me in the right direction to get this thing restored, that would be greatly appreciated! (From within Team Win it appears everything fails to mount and it isn't seeing the external sd! When it is connected to pc it asks me to format the disk!) I can see what looks like the system files and structure using the browser, but it will not reboot into anything "System, Recovery, or Bootloader from Team Win Recovery (it fails and hangs) you can't even use power off it too hangs, you have to remove the battery to do anything after you attempt any of that to continue..) It tells me there is NO OS Installed when i select reboot to anything!

I just need an absolute way to restore I am more than familiar with ADB and modification (but tend to stay with Moto X, RAZR, Xoom devices) I'm kinda blind as to were to start with this HTC..

Also, other than the recent poking around I know nothing about Team Win or there Recovery! From what i've read and can plainly see it looks pretty sweet so if I can just get this lame thing working again that would be great! (Now My friend says they have done nothing to the phone, just bought it on eBay! But if it were working they may have accidentally gotten into recover and wiped it "being it shows no OS" either that or this is a really bad bug!

I don't have that phone so I can't help directly. Maybe you can try the forum for the vivid on xda. For the best help you can join #twrp on freeode and ask your questions there. If you are familiar with adb you can pull /tmp/recovery.log and post it in the vivid forum.

Good luck.
The Following User Says Thank You to bigbiff For This Useful Post: [ View ]
14th October 2012, 08:17 PM   |  #5  
Member
Flag Phelps, New York
Thanks Meter: 3
 
38 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by bigbiff

I don't have that phone so I can't help directly. Maybe you can try the forum for the vivid on xda. For the best help you can join #twrp on freeode and ask your questions there. If you are familiar with adb you can pull /tmp/recovery.log and post it in the vivid forum.

Good luck.

Thanks Will do..
15th October 2012, 08:28 PM   |  #6  
Member
Flag Calgary, AB
Thanks Meter: 13
 
94 posts
Join Date:Joined: Jun 2007
More
When I flash zips that have worked on the older 2.2.2.0, namely PA updates and gapps, with 2.3.0.3, my phone no longer boots up. I just get the KK kernel boot image, then a black screen. The PA boot image does not show and even if I leave it for 10 minutes in case it is booting, I still get nothing. I also noticed that the Fix Permission is way too fast. Previous fix permission would take 10 minutes vs current version taking literally 2 seconds. I'll try flashing the recovery again and see if that fixes it.

Edit: It is the KK kernal that is keeping it from booting. Strange.

Edit edit: But is fix permission still suppose to be that fast? Just not used to it being that fast coming from 2.2.2.0.
Last edited by SmokinJohnny; 15th October 2012 at 09:29 PM.
11th May 2012, 02:13 AM   |  #7  
OP Recognized Developer
Thanks Meter: 3,865
 
4,377 posts
Join Date:Joined: Jun 2010
Donate to Me
More
FAQ

Q. How do I see/use/change between internal and external SDCARD?

A. Please use the Mount page to change between using internal and external. Click Using internal sdcard will allow you to use your internal sdcard to install ROMs. Click Using external sdcard will allow you to use your external sdcard to install ROMs. Please dont use the file browser to find the mounts as this is done for you automatically when you change options and navigate back to the Install page.

To be clear this works as follows:
1. internal emmc sdcard mounted on /emmc
2. external sdcard mounted on /sdcard
3. You can choose what storage you want to use on most screens by selecting "Use external SD" or "Use internal storage"
4. Otherwise you can browse to the appropriate directories

Q. Are TWRP backups compatible with CWM and vice versa?
A. You cannot flash a CWM backup in TWRP and vice versa. Please flash appropriate recovery to restore your backup. You can restore the backup, flash back to your wanted recovery, then make a backup in that recovery for later use.

Q. Can I have TWRP and CWM installed at the same time?
A. There is only one recovery partition that can hold a specific version of recovery. CWM, TWRP2, and Samsung 3e are able to be flashed to recovery, but none can coexist.

Q. Does USB mounting work in recovery?
A. Sorry haven't updated this. It works with internal and external sdcard.

Q. Where is the "Delete battery stats opton?"
A. We removed this option in 2.1. Please see https://plus.google.com/u/0/10505198...ts/FV3LVtdVxPT as reference.

Q. Installing Roms
A.All ROMs should be able to be installed.

Please post in this thread if you have any issues flashing.

Q. How does MD5 checking work?
A.To create a md5 for a rom perform the following steps:
1. Open a terminal emulator or use adb and cd to the directory your file is located.
2. Execute busybox md5sum rom.zip > rom.zip.md5 where rom.zip is the file you want to create a md5 for. Make sure that the md5 file has the same prefix as your original file with md5 appended with a period.
3. Check force checking of md5 in Settings in TWRP or after the Install file selector page to check the md5.

Q. I can't name my backups.
A. Make sure to hit enter on the keyboard and not the back button to accept the name.

Q. What's next?
A. Fixing bugs.
Last edited by bigbiff; 29th August 2012 at 01:57 AM.
The Following 13 Users Say Thank You to bigbiff For This Useful Post: [ View ]
11th May 2012, 02:15 AM   |  #8  
BLOWNCO's Avatar
Recognized Contributor
Flag NOR CAL
Thanks Meter: 1,565
 
1,806 posts
Join Date:Joined: May 2007
Donate to Me
More
flashing now!
The Following User Says Thank You to BLOWNCO For This Useful Post: [ View ]
11th May 2012, 02:59 AM   |  #9  
vanemburghj's Avatar
Senior Member
Flag Virginia
Thanks Meter: 96
 
497 posts
Join Date:Joined: Dec 2010
More
flashed
Works well, only issue does not mount to pc in recovery, not sure if that is recovery issue or "leaked" ICS issue.
11th May 2012, 03:10 AM   |  #10  
Senior Member
Flag San Juan
Thanks Meter: 16
 
123 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Works Great!!!

Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
Post Reply Subscribe to Thread

Tags
att, gui, note, twrp2, xml
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes