Remove All Ads from XDA

Unofficial TWRP 3.2.1-1 by TugaPower

5,134 posts
Thanks Meter: 11,952
By danieldmm, Senior Member on 14th June 2016, 09:16 AM
Post Reply Email Thread
Since the unnofical thread of TWRP is now closed decided to create my own thread
of my TWRP builds. started this for quite some long.

This TWRP make backup of EFS and can handle firmware files properly.
For more features you can read the change logs, you will fint all there.

All this would not be possible without Omnirom Team guys that work on the recovery part of Omnirom, yes, my TWRP is build based on Omnirom recovery tree.
As for the device tree, the one used its the one from CM13 to our device. To see the changes go to is gerrit / github of Omnirom and CyanogenMod.
Big thanks to all of you guys.

Also would thanks to @ketut.kumajaya and @katinatez , because on my device before starting to make my own builds of TWRP was using is builds for quit long time on my device.

Latest build: ( check seconf post for older builds )
The Following 99 Users Say Thank You to danieldmm For This Useful Post: [ View ] Gift danieldmm Ad-Free
14th June 2016, 09:16 AM |#2  
danieldmm's Avatar
OP Senior Member
Flag France
Thanks Meter: 11,952
Donate to Me
TWRP 3.2.1-1-TugaPower 2017-12-10 ( testing )

ADB Backup: Fixup
adds /persist/time/ as Qualcomm time fix source
Process AOSP wipe commands prior to encryption check

Please report some problems if you find since its first release.
Nandroid restore should be working since its fixed on TWRP source

Stuff that need to be tested:
wipe cache and dalvik and see if its slower then before or same as before, test restoring nandroid, test nandroid backup, test flash rom, see how aroma its working, test encryption
If someone go trough this tests please report how its working. ( doing nandroid as we speak and going to restore an older nandroid)
Wipe cache and dalvik for me it seems fast enought but more opinions its welcome.

TWRP 3.1.1-5-TugaPower 2017-09-19

Fixed encryption

TWRP 3.1.1-4-TugaPower 2017-09-17
Fixed slow format of cache

TWRP 3.1.1-3-TugaPower 2017-09-17

Remove duplicate entries & Improve Chinese translation
Fix typos / inconsistencies in German language
SHA2: Enable in landscape and watch xml
Show scrollbar on TWRP Settings
twrpTar: Fix uninitialized current_archive_type

TWRP 3.1.1-2-TugaPower 2017-07-09

backup: fix return handling when no digest is being created
libtar: Fix restore of e4crypt policies

TWRP 3.1.1-1-TugaPower

Fix incorrect 'unlink' return value check
twrpDigest refactor
Fix minui issues for some build trees
ors: Update doc
Improve decrypted partition logging
adbbackup: write smaller reads less than 512 bytes
Fix various memory errors
cryptfs: Remove dm-crypt device on failed table load

TWRP 3.1.1-0-TugaPower

etc: remove "." from LD_LIBRARY_PATH
mtdutils: Fix mounting partitions by-name
gui: fix line wrapping in terminal, issue #876

TWRP 3.1.0-5-TugaPower
Fix reboot when no OS is present
Complete support for project pathmap
Improve automatic detection of QCOM RTC fix
Adopted Storage: backup keys but do not wipe them
ADB Backup: fix adb restore issues

TWRP 3.1.0-4-TugaPower
Fixed slow formating
Fixed encryption

TWRP 3.1.0-3-TugaPower
Fixed make_ext4fs formatting partitions

TWRP 3.1.0-2-TugaPower
Fixed aroma graphics

TWRP 3.1.0-1-TugaPower

Revert "Fix adb shell in 7.0 tree"
file_contexts: remove symlink to binary file and use text version instead
vold_decrypt: Add back missing xml and get rid of compiler warning
Add TWRP app install to landscape and watch themes
crypto: Use system's vold for decryption
Fix missing needed by mkfs.f2fs
ADBBU: Cleanup string usage/namespace
Timeout for decrypt
gui: preserve order of gui_print vs gui_msg
languages: update chinese translation
Update Hungarian localization
Tweak MTP startup routine
Fix handling of USB config during MTP switching
twrpDigest: don't crash when zip.md5 file is empty
logd: add seclabel so that service runs in 7.1 tree builds
Use LOGI/LOGE for non-EVENT_LOGGING events
Run from inside languages dir
Update MTP debugging tags
Do not unconditionally remove MTP storage on unmount
Only change USB mode to mtp when ready for MTP
build: [FIXUP] Addendum for BusyBox get/setprop & API 24 vs 25
Fix "ordered comparison between pointer and zero".
Update Russian localization
cryptfs: Fix encryption issue due to stack corruption.
Add a listxattr tool for listing xattrs
libtar: support backing up and restoring new Android user.* xattr
Partition: Remove unused has_data_media variable
GUI: Fix typo in warning message
Symlink file_contexts --> file_contexts.bin
Fix bldr msg file open mode when offset specified
DE language update
Gottardo - languages: update italian translation
Update ru.xml for TWRP ver.
Improve backup display names with emulated storage
Fix crash during check for TWRP app
Fill uid/gid for screenshots at compile time
GUI: Improve automatic determination of TW_THEME
Allow custom bootloader msg offset in block misc
gui: Fix for TW_CUSTOM_THEME
recovery: adjust mkfs.f2fs location
orscmd: add minimal getcap and setcap tools
Support power key on slideout
Whitespace cleanup in Themes
Disable relocations on orscmd to fix compile error in Omni 7.1
ifdef overlay graphics
Try mounting different filesystems during decryption
Add another license header
Fix detection of TWRP app in /data
gui: bump theme version to 2
bldrmsg: Only emmc /misc is supported
gui: Initialize button render position
HardwareKeyboard: Update event logging
GUI: Mark local flip() function as static
fb2png: Update/Cleanup headers
init: Remove duplicate trigger of load_system_props_action
Add missing file descriptor closes
Restore TW_BACKUP_AVG_IMG_RATE handling
Move sh selection out of GUI makefile
Move pigz symlinks out of GUI makefile
Add missing license headers
flashutils: additional emmc check
gui: Actions: Toggle backlight on power key
SELinux can be assumed for Android 4.4+
Restore file system type logline on restore
Do not disable performance mode too early for backup
Unused variable cleanup
Very minor code cleanup
Whitespace cleanup
gui: remove old unmaintained 2.x theme
libtar: backup and restore posix capabilities
ADBbackups: Fix wrong owner on binary backups.
Include symlink size (path length) in Get_Folder_Size()
gui: Detect device resolution with TARGET_SCREEN_HEIGHT/WIDTH
TWRP device version string
build: AOSP/CM14 fixes (API 24/25, mainly BusyBox-less environment)
updater: link libcrypto_utils_static if it exist
libtar: Use relative path for crypto/ext4crypt include
bootloader_message: Allow TWRP to ignore wipe-data command into misc
Support theme width and height offsets
build: Consolidate the crypto_utils presence tests
Fix compile error on 4.4 tree
Adjust & Improve Chinese translations for zh_CN/TW again

TWRP 3.0.3-5-TugaPower

Fixed bug intruduced on -4 on handling busybox callings

TWRP 3.0.3-4-TugaPower

Change version to 3.0.x to support the app release
Update Ukraine language translation
Add TWRP app install via TWRP recovery ( you can disable the prompt on settings )
TWRP Language Update
Change handling of /cache due to AB devices not having cache
Support backup/restore of FBE policies
Support File Based Encryption
Add boot slot support
Support new AB OTA zips
Improve backup & wipe exclusion handling

To the ones that have problem before on -3 report if all its fine on your side now....

TWRP 3.0.3-3-TugaPower 20-11-2016

Check if mount point is dir during startup
MD5 verification sanity
Fix libcrypto dependency in 6.0 trees
Clean up PartitionSettings
Fix compressed backups with split archives
twrp: Use the correct lib name
MD5 checking: fix issues introduced with adb backup patchset
Make naming scheme more meaningful
Fix compatibility across the board
Fix compatibility with 5.1
Make it backwards compatible with 4.4

TWRP 3.0.3-2-TugaPower 30-10-2016

Fixed the bug intruduced on 3.0.3-0 and 3.0.3-1 formating partitions.
Fixed log error on flashing Nougats ROMs
Added kernels logs as option to copy Logs options
Aroma support
Added Chinese/Japanese as availables languages
Improved image file flas

TWRP 3.0.3-1-TugaPower
Fixed/tweacked little more aroma bug intruduced on TWRP 3.0.3-0-TugaPower

TWRP 3.0.3-0-TugaPower

Fixed log error flashing Android N ROMs
updater: link libcrypto_utils_static if it exist
Copy Kernel Logs
libminiadbd: fix libadbd undefined reference to 'android_pubkey_decode' functions when build in cm-14.0
link to
Fix libcrypto dependency in 6.0 trees
twrp: Use the correct lib name

TWRP 3.0.2-6-TugaPower

Fixed bug introduced on 3.0.2-5 that will fail flashing boot and recovery images files from built in option on TWRP
If you are on 3.0.2-5 you will need to flash with fastboot or use some thirdy app.

TWRP 3.0.2-5-TugaPower

Fixed EFS backup/restore ( tested )
Removed recovery from backup list
Give another go at aroma zips
Clean up PartitionSettings
Fix compressed backups with split archives
Fix restore of subpartitions
MD5 checking: fix issues introduced with adb backup patchset
Added Chinese/Japanese as availables languages

TWRP 3.0.2-4-TugaPower

Added modem and recovery also as backup partitions
minui: Fix gr_set_font() build issue on cm-13.0 tree
NTFS-3g: migrate to PLATFORM_SDK check instead
Gui: replace pow() function
wait for cryptfs device node to come up
Add git revision to startup message in recovery.log
GUI: Use standard routine for auto-reboot
Fixup reboot after install variables
GUI: Add countdown & cancel to install auto-reboot
Finish creating disable_free_space_check variable
Allow running of a custom script after factory reset
Add build flag for forcing single buffer mode
Make input whitelist and blacklist work for mouse devices too
recovery: allow usage of TARGET_CRYPTFS_HW_PATH
bigbiff - Fix md5 creation from adb backup patch
adbbu: fix include path
Optimize and reduce size of PNG files
Add typecode to sgdisk for proper detection in Android
Remove curtainClose() remnants
Remove unused identifier from NotifyTouch
Move cursor after appending date to backup name
gui: fix Enter key in terminal
ADB: Add adb backup for TWRP
Increase EIO retry count
Check the results from applypatch
applypatch: Don't call inflate() when it expects zero-length output
Log source/target build version to last_install
Black screen patch for some HiSilicon devices (FBIOPAN_DISPLAY)
recovery: Make wear recovery more customizable

TWRP 3.0.2-3-TugaPowe

GUI: Use standard routine for auto-rebot
GUI: Add countdown & cancel to install auto-reboo
HACK: Fix AROMA Graphic
updater: Add LZMA support to blockim
Allow restore to read-only partition, part 2
Move force_rgb_565 up
crypto: remove redundant convert_key_to_hex_ascii call

TWRP 3.0.2-2-TugaPower

Fix flash of img files introduced on 3.0.2-1 ( boot / recovery )
Revert: Fixup reboot after install variables
revert: libenc: migrate to android_system_core
revert: ADB: Add adb backup for TWRP
revert: twrp: remove liblz4-static dependency
Wait to mount until after fstab processed
Remove char/string conversions in fstab processing
Rewrite FS fstab flag processing
Rewrite TWRP fstab flag processing

For the ones that have problems before ( backup/restore/openrecoveryscript) , try 3.0.2-2 please and report if its fixed...
Changed slightly the way things are handled

TWRP 3.0.2-1-TugaPower
Fixup reboot after install variables
libenc: migrate to android_system_core
ADB: Add adb backup for TWRP

Note how to use ADB backup:
Using adb backup on the client side you can backup the partitions TWRP knows about.
On the client side you can do the following:
adb backup -f --twrp where options are
--compress: compress data
system: backup system
cache: backup cache
data: backup data
boot: backup boot
etc for each partition.
You can string multiple options,
i.e. adb backup -f --twrp --compress cache system data
To restore the backup use the following convention:
adb restore

twrp: remove liblz4-static dependency
Improve greek translation
Languages: Add font for Japanese
Languages: Update Japanese translation
Restore TW_SCREEN_BLANK_ON_BOOT functionality.
Fix decrypt of odd number length PIN on hardware crypto
Partition: Fix parsing of several twrp fstab flags
Update spanish translation
Update hungarian translation
translate install reboot option to dutch
Greek Translation from the updated en.xml

TWRP 3.0.2-0-TugaPower

Revert: Qualcomm hardware decrypt: Use block device softlink
gui: don't mix up display value with actual value
language: add 2 new strings in it.xml
languages: add 2 new strings for RU
fix typo

TWRP 3.0.1-2-TugaPower
gui: add portrait_ldpi
Redefine yres_virtual only once
Qualcomm hardware decrypt: Use block device softlink
twrp: Unmount firmware partition on boot
Really remove all old SP* flags and code

TWRP 3.0.1-1-TugaPower
Fixed slow format intruduced on 3.0.1-0-TugaPower ( my bad )
Added again EFS and Firmware as Backup Option

TWRP 3.0.1-0-TugaPower
fix missing string Reboot Option
Removed EFS and Firmware Backup
language: add 2 new strings to DE
languages: add Reboot Option translation
HACK: fix input focus on terminal
progress: Initialize display percentage variable
Improve progress bar handling for backup / restore / image flash
DataManager Updates
languages: fix and improve german translation
languages: add Polish translation
twrp: update Dutch translations
Update & Fix ru.xml
recovery: update italian translation
gui: add italian translation
TWRP: hungarian translation
Flashutils: detect /dev/block/sd* as emmc
Stop loading languages for the splash screen
Stop trying to load /script/ui.xml
recovery: czech translation
Improve input box text handling
Detect and install custom themes as part of zip installs
gui: rewrite theme loading code

TWRP 3.0.0-6-TugaPower

TWRP Reboot Option after zip flash 5seconds
Removed slb1 from firmware list as backup
Merge code from upstream libtar + bug fixes
Revert: Update libtar with changes from cm-13.0
SplashScreen less time

TWRP 3.0.0-5-TugaPower
Fixed double restore of firmware backup
Allow setting backup file system from recovery fstab
Don't add subpartitions in firmware to restore list
Unix file endings and remove execute permission
Fix verifier_test build
Revert: WIP: use toolbox for ln instead of busybox

TWRP 3.0.0-4-TugaPower
Include firmware in ramdisk to avoid touching /firmware
Backup firmware re-added
The Following 25 Users Say Thank You to danieldmm For This Useful Post: [ View ] Gift danieldmm Ad-Free
14th June 2016, 09:29 AM |#3  
Senior Member
Thanks Meter: 1,179
Github for your changes?

Sent from my A0001 using Tapatalk
The Following 2 Users Say Thank You to eris23 For This Useful Post: [ View ] Gift eris23 Ad-Free
14th June 2016, 12:29 PM |#4  
hellcat50's Avatar
Senior Member
Thanks Meter: 448
Donate to Me
Awesome, love your ROM and now you've got your own recovery!
The Following 3 Users Say Thank You to hellcat50 For This Useful Post: [ View ] Gift hellcat50 Ad-Free
14th June 2016, 05:04 PM |#6  
Arju's Avatar
Senior Member
Flag Örebro/Sweden
Thanks Meter: 1,151
Donate to Me
Originally Posted by Wisiwyg

No credit to @katinatez and @ketut.kumajaya for their work for the last year or two?

He has written that he is not finished with the original post. Give him some time and I'm sure he'll give credit to whomever credit belongs.

Thank you @danieldmm , I've always been using your version of twrp with your fixed and I'm glad you're carrying on the work for our devices.
The Following 4 Users Say Thank You to Arju For This Useful Post: [ View ] Gift Arju Ad-Free
15th June 2016, 07:00 AM |#7  
Senior Member
Flag Bangalore
Thanks Meter: 103
Please guide, currently I have official TWRP installed. So can I just flash this over it through TWRP image option or through Flasify or do I need to use adb commands.
15th June 2016, 08:18 AM |#8  
Arju's Avatar
Senior Member
Flag Örebro/Sweden
Thanks Meter: 1,151
Donate to Me
Originally Posted by [email protected]

Please guide, currently I have official TWRP installed. So can I just flash this over it through TWRP image option or through Flasify or do I need to use adb commands.

Flashify works fine to install it
The Following 2 Users Say Thank You to Arju For This Useful Post: [ View ] Gift Arju Ad-Free
15th June 2016, 11:05 AM |#9  
RoundBagel's Avatar
Senior Member
Thanks Meter: 119
love your browser!!!

Sent from my A0001 using XDA-Developers mobile app
The Following 2 Users Say Thank You to RoundBagel For This Useful Post: [ View ] Gift RoundBagel Ad-Free
15th June 2016, 01:48 PM |#10  
NeeDXxPT's Avatar
Senior Member
Flag Felgueiras
Thanks Meter: 33
*Tuga HI5*
16th June 2016, 02:32 AM |#11  
Senior Member
Thanks Meter: 415
Does fix AROMA graphic mean that aroma installer fully works? Or does it just give the ability to see AROMA graphics but the installer is non functional?
The Following User Says Thank You to f41lbl0g For This Useful Post: [ View ] Gift f41lbl0g Ad-Free
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