[TOUCH RECOVERY] TWRP Recovery v2.7.1.0 (with SELinux)

Search This thread

forumber2

Senior Member
Feb 2, 2012
1,469
1,501
Istanbul
Team Win Recovery Project , or twrp for short, is a custom recovery built with ease of use and customization in mind. 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.



BUGS:
-OffMode charge not working
-Repartition zips are not working with TWRP

CHANGELOG:
v2.7.0.0 > v2.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. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button.
-Various bugfixes to backup and restore
-Improvements to USB storage handling
-Various other bugfixes and tweaks

v2.6.3.4 > v2.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
-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


v2.6.3.0 > v2.6.3.4
-Add SELinux support for install kitkat correctly
-Other updates by TeamWin

v2.6.0.0 > v2.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
-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

v2.5.0.0 > v2.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.

v2.4.4.0 > v2.5.0.0
Special Note: If you are running a custom theme, the changes in 2.5.0.0 will likely not be compatible with your theme.
-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 (backups usually restored with no app data)
-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

v2.4.3.1 > v2.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
-Other fixes

v2.4.3.0 > v2.4.3.1
- Synaptic Touch Screen support added
- In this version,offmode charge not working

v2.3.3.1 > v2.4.3.0
-UI Lag is fixed
-Using libtar instead of busybox's tar for better control over tar file creation and breaking the 2GB barrier that busybox imposes (thanks to bigbiff)
-Support for exFAT formatted sdcards (also thanks to bigbiff)
-Support for decrypting Samsung TouchWiz encrypted devices including internal and external storage (special thanks to a3955269 for figuring it out)
-Improvements to OpenRecoveryScript including displaying a proper GUI while the script is running
-Added wipe cache and dalvik after ADB Sideload
-Replaced many system calls with their native C counterparts
-Fixed bugs in file manager where it would display an empty list after moving or deleting a folder
-Fixed AOSP recovery commands to run after decryption on encrypted devices
-Improvements for building TWRP in CM10.1
-Other minor bugfixes and improvements
-Fixed a problem with mkdosfs that formatted sdcards to 2GB
-Fixed handoff between vfat and exFAT on devices where blkid didn't detect vfat (fixes some issues with mounting sdcards)
-Fixed problems with changing working directory on MD5 creation/checking that may have prevented unmounting
-Backups will now store a copy of the backup log after the backup is completed (only if backup is successful)
-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)
-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
-Fixed persistence of the 24 hour / military time setting

v2.3.3.0 > v2.3.3.1
- Color bug of UI is fixed. It's blue now :)
- ADB fixed
- Offmode charge is fully working now (like other recoveries)

v2.3.2.3 > v2.3.3.0
- USB Mass Storage via USB fixed. You can use mass storage with internal and external sdcard
- Random reboot problems are fixed (Thanks to Dazzozo & Blefish)
- Other fixes and updates by TWRP team

Thanks:
Huge Thanks to Blefish for his CM9 device tree

Download:
v2.7.1.0
http://www.mediafire.com/download/j8ydxivg14y5ktb/recovery_TWRPv2.7.1.0_u8800.img

Source:

Here is a simple source for compile TWRP recovery. Tested with CM11 source;

https://github.com/forumber/TWRP_device_huawei_u8800
 
Last edited:

Blefish

Senior Member
Aug 19, 2011
1,035
2,942
Hey, nicely done!
About the graphics, if you are using the older kernel from Huawei, simply remove the graphics.c in the recovery/ and it's reference in BoardConfig.mk. In newer kernels the pagesize is aligned into 4K parts so it might cause issues.
 

lemonade747

Senior Member
Jul 9, 2012
1,097
590
So with this cwm, i can flash any roms such as aurora, elora, cm7, miui...without any issues??? :confused: can you confirm this? :confused: i'm going to flash a new rom so i dont want to get problem :( wait for your reply :thumbup:

★Sent From My U8800★
 
Last edited:

lemonade747

Senior Member
Jul 9, 2012
1,097
590
I cant boot to recovery when using this cwm, it freezes at logo boot. Back to cwm 5.5.0.4, this cwm is still stable up to date :thumbup:

★Sent From My U8800★
 
Last edited:

dancer_69

Senior Member
Jan 2, 2007
2,011
617
I've tried this recovery for an hour and it's very. I had 5-6 stucks on reboots when trying to use an option or browse the menus. I hope that you can fix it in next update.
 

Somcom3X

Inactive Recognized Developer
Aug 19, 2012
2,959
3,230
Metro Detroit
Re: [TOUCH RECOVERY] TWRP Recovery v2.3.3.0

It seems that I got it to work perfectly except for the bugs you said but the graphics are orange. Screenshots later.

Sent from my u8800-51 running popura ICS.
 

Somcom3X

Inactive Recognized Developer
Aug 19, 2012
2,959
3,230
Metro Detroit
Re: [TOUCH RECOVERY] TWRP Recovery v2.3.3.0

Are you updating the laggy UI?

Sent from my u8800-51 running popaura ICS.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    Team Win Recovery Project , or twrp for short, is a custom recovery built with ease of use and customization in mind. 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.



    BUGS:
    -OffMode charge not working
    -Repartition zips are not working with TWRP

    CHANGELOG:
    v2.7.0.0 > v2.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. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button.
    -Various bugfixes to backup and restore
    -Improvements to USB storage handling
    -Various other bugfixes and tweaks

    v2.6.3.4 > v2.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
    -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


    v2.6.3.0 > v2.6.3.4
    -Add SELinux support for install kitkat correctly
    -Other updates by TeamWin

    v2.6.0.0 > v2.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
    -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

    v2.5.0.0 > v2.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.

    v2.4.4.0 > v2.5.0.0
    Special Note: If you are running a custom theme, the changes in 2.5.0.0 will likely not be compatible with your theme.
    -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 (backups usually restored with no app data)
    -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

    v2.4.3.1 > v2.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
    -Other fixes

    v2.4.3.0 > v2.4.3.1
    - Synaptic Touch Screen support added
    - In this version,offmode charge not working

    v2.3.3.1 > v2.4.3.0
    -UI Lag is fixed
    -Using libtar instead of busybox's tar for better control over tar file creation and breaking the 2GB barrier that busybox imposes (thanks to bigbiff)
    -Support for exFAT formatted sdcards (also thanks to bigbiff)
    -Support for decrypting Samsung TouchWiz encrypted devices including internal and external storage (special thanks to a3955269 for figuring it out)
    -Improvements to OpenRecoveryScript including displaying a proper GUI while the script is running
    -Added wipe cache and dalvik after ADB Sideload
    -Replaced many system calls with their native C counterparts
    -Fixed bugs in file manager where it would display an empty list after moving or deleting a folder
    -Fixed AOSP recovery commands to run after decryption on encrypted devices
    -Improvements for building TWRP in CM10.1
    -Other minor bugfixes and improvements
    -Fixed a problem with mkdosfs that formatted sdcards to 2GB
    -Fixed handoff between vfat and exFAT on devices where blkid didn't detect vfat (fixes some issues with mounting sdcards)
    -Fixed problems with changing working directory on MD5 creation/checking that may have prevented unmounting
    -Backups will now store a copy of the backup log after the backup is completed (only if backup is successful)
    -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)
    -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
    -Fixed persistence of the 24 hour / military time setting

    v2.3.3.0 > v2.3.3.1
    - Color bug of UI is fixed. It's blue now :)
    - ADB fixed
    - Offmode charge is fully working now (like other recoveries)

    v2.3.2.3 > v2.3.3.0
    - USB Mass Storage via USB fixed. You can use mass storage with internal and external sdcard
    - Random reboot problems are fixed (Thanks to Dazzozo & Blefish)
    - Other fixes and updates by TWRP team

    Thanks:
    Huge Thanks to Blefish for his CM9 device tree

    Download:
    v2.7.1.0
    http://www.mediafire.com/download/j8ydxivg14y5ktb/recovery_TWRPv2.7.1.0_u8800.img

    Source:

    Here is a simple source for compile TWRP recovery. Tested with CM11 source;

    https://github.com/forumber/TWRP_device_huawei_u8800
    12
    Please compiled the new TWRP2.5.0.0,thank you!:D

    Recovery updated to newest version ;)
    11
    TWRP updated to latest version with SELinux support (Now you can install CM 11 with TWRP)

    And "Bugs" list updated. Please check the list.

    Enjoy :)
    9
    Recovery has been updated to latest version, I hope nandroid problems are fixed now (if exists) ;)

    Download link is in first page, Enjoy :)
    7
    Recovery is updated to latest version

    BTW, Here is a simple source for compile TWRP recovery. Tested with CM10 source;

    https://github.com/forumber/TWRP_device_huawei_u8800