FORUMS
Remove All Ads from XDA

[Recovery] TWRP 3.3.1-K1

118 posts
Thanks Meter: 1,032
 
By Kutep0v, Senior Member on 26th February 2017, 01:48 PM
Post Reply Email Thread

Features
  • Increased backup/restore speed. Restore is three times faster than on other TWRPs.
  • Improved EFS and Firmware backup. Backups are incompatible with other TWRPs and vice versa.
  • Improved AROMA hack. Almost all (or all?) AROMA archives should work fine.
  • LED Manager. Monitor the battery level and charging state.

Source code

XDA:DevDB Information
TWRP 3.3.1-K1, Tool/Utility for the OnePlus One

Contributors
Kutep0v

Version Information
Status: Stable
Current Stable Version: 3.3.1-K1
Stable Release Date: 2018-06-01

Created 2017-04-11
Last Updated 2019-06-01
The Following 130 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
 
 
26th February 2017, 01:48 PM |#2  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Testing
There are currently no test versions
The Following 17 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 01:48 PM |#3  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Changelog
TWRP 3.3.1-K1
  • Reduced recovery image size by 2 MB
  • Updated Busybox to 1.30.1
  • Fixed f2fs format
  • Added more bugs to fix later
  • Fix symlink creation
  • Switch between dependencies and modules
  • Digest: Create digest for each subpartition and not just the first.
  • 3.3.1
  • Add option to uninstall TWRP app from /system
  • Flash both A/B partitions when flashing recovery ramdisk
  • Resolve e2fsdroid failure in certain cases
  • Merge "Pass file_contexts path to e2fsdroid" into android-9.0
  • Merge "Update help manual in orscmd" into android-9.0
  • Update help manual in orscmd
  • toolbox: Avoid linking toolbox tools to dd
  • Merge "language: update Chinese translations" into android-9.0
  • language: update Chinese translations
  • Merge "NTFS-3G: use newer libfuse-light in pie." into android-9.0
  • NTFS-3G: use newer libfuse-light in pie.
  • English language: Remove duplicate value.
  • bsd dd: include prebuilt bsd dd in twrp for Nougat and greater
  • Merge "awk: add awk for trees including one-true-awk" into android-9.0
  • Merge "mkshrc: remove post-install cmd and use LOCAL_MODULE_STEM" into android-9.0
  • Merge "Clean up logd init file" into android-9.0
  • Merge "Use BSD grep for builds with toybox" into android-9.0
  • toybox: fix build in 6.0 tree
  • awk: add awk for trees including one-true-awk
  • mkshrc: remove post-install cmd and use LOCAL_MODULE_STEM
  • Clean up logd init file
  • Use BSD grep for builds with toybox
  • ext4crypt: add missing cflag
  • Pass file_contexts path to e2fsdroid
  • Merge "languages: encode for utf-8 in the appropriate places." into android-9.0
  • Updated Russian localization, bugs fixed (letter Ё, cities in time zones are correct, correct checksum, and other minor fixes).
  • languages: encode for utf-8 in the appropriate places.
  • Do not check digest on mapped installs
  • Change slot name position
  • Fix "Install Recovery Ramdisk" of a file which contains a space in the name
  • Fix recovery-twrp in some old CM trees
  • Three Dot Three Dot Zero
  • Extract arch-specific updater binary if present
  • Prevent having to double-tap some check boxes
  • Use magiskboot to repack the boot partition
  • Fix build in 5.1 tree
  • AB Cache dir: If device doesn't have /data/cache for FBE, we should try /persist if in the fstab.
  • Merge "ADB Backup: Ignore creating backup folder for phones not decrypted. This allows you to continue without error. Also we should not set restore path for images in adb backup. Change-Id: Ia75a70377b8e1364fefc82ad41ccf74fa3b7a3c3" into android-9.0
  • ADB Backup: Stop resetting digest check on restore.
  • Fix zip digest check
  • ADB Backup: Ignore creating backup folder for phones not decrypted. This allows you to continue without error. Also we should not set restore path for images in adb backup. Change-Id: Ia75a70377b8e1364fefc82ad41ccf74fa3b7a3c3
  • Zip install: this will allow TWRP to check md5 and sha256 checksums for zip installs.
  • Correct return case for context check in /cache/recovery
  • Transfer /dev/mtp_usb fd ownership when instancing MtpDevHandle
  • updater: Allow devices to suppress BLKDISCARD
  • Don't copy local mke2fs.conf for O-MR1
  • Remove duplicate ext4 flags from Android.mk
  • Set a dummy CM_PLATFORM_SDK_VERSION if it doesn't exist
  • Remove leftover mounts.h~HEAD
  • prebuilt: Support ubsan libraries of all architectures
  • twinstall: Force variable type
  • dosfstools: Fix compile error in Pie tree on 32 bit systems
  • Support both old and new mkfs.f2fs
  • Fix the long broken format function
  • Use listbox for device-specific advanced menu items
  • Merge "Update FDE decrypt to pie from CAF" into android-9.0
  • Update FDE decrypt to pie from CAF
  • MTP FFS updates:
  • Adding Edl button in reboot menu
  • gpt: Add -Wno-format-security
  • TWRP: fix compiling on Android 7
  • Fix gr_clip
  • Full screen action: simplify by just hiding navbar
  • prebuilt: Avoid re-linking ARM64 specific library on other architectures
  • TW_ROTATION: add flag to handle hardware-rotated display panels
  • AB/Non AB Devices: updates for moving cache
  • Vibration: allow BoardConfig to disable vibration for a device.
  • fix building TWRP for devices without cache
  • Merge "slot management: add library for slot management." into android-9.0
  • Merge "Fix build error on Pie with TW_NO_LEGACY_PROPS := true" into android-9.0
  • Merge "Revert "Fix ld.config.txt errors on Android 8.1 system root devices"" into android-9.0
  • Merge "Add path for time and date fix" into android-9.0
  • Merge "vold_decrypt: Add android 9.0 support" into android-9.0
  • mksh: add mkshrc when using TW_USE_TOOLBOX
  • Merge "partition: add squashfs support" into android-9.0
  • Add path for time and date fix
  • Merge "minuitwrp: Remove unused variables" into android-9.0
  • slot management: add library for slot management.
  • partition: add squashfs support
  • vold_decrypt: Add android 9.0 support
  • Hide navbar while running operations
  • Revert "Fix ld.config.txt errors on Android 8.1 system root devices"
  • Merge "Revert "updater: Remove dead make_parents()."" into android-9.0
  • toybox: create getprop symlink on SDK 27
  • minuitwrp: Remove unused variables
  • Fix Check_Lifetime_Writes on AB devices
  • Add metadata decrypt support for FBE
  • libminuitwrp updates for Pixel 3 devices
  • minuitwrp: Fix detection of libdrm on Pie
  • twrp: Fix unsigned compare compile warning.
  • minuitwrp: Support haptics drivers registered with LED class framework
  • minuitwrp: Respect TARGET_RECOVERY_PIXEL_FORMAT config.
  • Merge "vold_decrypt: use ANDROID_ROOT for additional compatibility" into android-9.0
  • Merge "Include weaver library in 9.0 trees" into android-9.0
  • Fix building in Lineage 16.0
  • vold_decrypt: use ANDROID_ROOT for additional compatibility
  • Merge "twrp: use ANDROID_ROOT environment variable" into android-9.0
  • Merge "Add option to use ro.serialno for generating device id" into android-9.0
  • prebuilt: resolve libext2_misc.so dependency for mke2fs
  • Include weaver library in 9.0 trees
  • Merge "Fix sha2 generation persistence." into android-9.0
  • minui: Don't include errno.h twice
  • Revert "updater: Remove dead make_parents()."
  • Add option to use ro.serialno for generating device id
  • Fix build error on Pie with TW_NO_LEGACY_PROPS := true
  • Fix sha2 generation persistence.
  • Fix header file for property_get
  • Decrypt FBE on 9.0 (backwards compatible)
  • twrp: use ANDROID_ROOT environment variable
  • Merge AOSP android-9.0.0_r3
The Following 22 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 03:59 PM |#4  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Frequently asked questions
Q: Why backups are incompatible with other TWRPs and vice versa?
A: Some components have been improved or simply is not supported in other versions.
  • EFS backup is not supported in the official version. Other unofficial versions don't backup one important partition, which is also part of the EFS.
  • Firmware backup is not supported in the official version. Other unofficial versions uses an unreliable method of modem partition backup.
  • System Image is not supported in the official and other unofficial versions.

Q: What is the difference between System and System Image backup?
A: Different backup methods.
  • System – files method. Create usual archive by packing all files from a system partition. Not available since version 3.2.1-K2.
  • System Image – dd method. Create exact partition dump by reading every single block from a system partition.
Same backup/restore speed, but different backup size. In the first case, the backup size corresponds to size of the contained files in system partition. In the second case, the backup size always is fixed and corresponds to size of the partition.

Q: Charging LED broken in this recovery too?
A: No, it works. Since 3.2.0-K1 release included LED Manager. Logic:
  • If the battery status is "Charging", then:
    — If the battery capacity is "Low" (1-14), then turn on the red LED.
    — If the battery capacity is "Mid" (15-89), then turn on the yellow LED.
    — If the battery capacity is "High" (90-100), then turn on the green LED.
  • If the battery status is "Discharging", then:
    — If the battery capacity is "Low", then blink the red LED.
    — If none of the cases is true, then turn off LED.
  • If the battery status is "Full", then turn on the green LED.
  • If none of the cases is true, then turn off LED.
The Following 41 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 04:22 PM |#5  
Mr.Ak's Avatar
Senior Member
Flag *RESTRICTED AREA*
Thanks Meter: 1,965
 
Donate to Me
More
Bery nais
The Following User Says Thank You to Mr.Ak For This Useful Post: [ View ] Gift Mr.Ak Ad-Free
26th February 2017, 05:19 PM |#6  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Quote:
Originally Posted by Mr.Ak

I think Tuga recovery works extremely flawless.

Well, let's compare the restore speed.

What do we have? 5504MB backup and two different TWRPs. Time:
TWRP 3.1.1-2-TugaPower: 616 sec.
TWRP 3.1.1-K3: 198 sec.

Conclusion: TWRP 3.1.1-2-TugaPower is three times slower than TWRP 3.1.1-K3. Really "flawless".
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1973-04-01-03-50-36.png
Views:	1838
Size:	178.9 KB
ID:	4253794   Click image for larger version

Name:	Screenshot_1973-04-01-04-03-11.png
Views:	1794
Size:	177.2 KB
ID:	4253795  
The Following 29 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 06:22 PM |#7  
Mr.Ak's Avatar
Senior Member
Flag *RESTRICTED AREA*
Thanks Meter: 1,965
 
Donate to Me
More
Quote:
Originally Posted by Kutep0v

Well, let's compare the restore speed.

What do we have? 3344MB backup and two different TWRP's. Time:
TWRP 3.0.3-2-TugaPower: 386 sec.
TWRP 3.0.3-K1: 139 sec.

Conclusion: TWRP 3.0.3-2-TugaPower ~280% (x2.8) slower than TWRP 3.0.3-K1. Really "flawless".

Okay,looks promising.
But what about Twrp 3.0.3-6 tugapower?
Anyways going to try out your recovery now to see the difference.

---------- Post added at 06:22 PM ---------- Previous post was at 06:08 PM ----------

@Kutep0v
Is lineage os 13.0 in your folder official?
26th February 2017, 07:29 PM |#8  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Quote:
Originally Posted by Mr.Ak

But what about Twrp 3.0.3-6 tugapower?

Umm... nothing. Last available 3.0.3-2 version, 3.0.3-5 broken (as always). If the 3.0.3-6 will be released, we will test.

Quote:
Originally Posted by Mr.Ak

Is lineage os 13.0 in your folder official?

Of course not. This is my releases for another forum. I try to maintain LineageOS 13.0 for OnePlus One.
Works update over the air. Kernel contains all CVE fixes from cm-14.1 branch.
The Following 7 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 09:17 PM |#9  
Mr.Ak's Avatar
Senior Member
Flag *RESTRICTED AREA*
Thanks Meter: 1,965
 
Donate to Me
More
Quote:
Originally Posted by Kutep0v

Umm... nothing. Last available 3.0.3-2 version, 3.0.3-5 broken (as always). If the 3.0.3-6 will be released, we will test.


Of course not. This is my releases for another forum. I try to maintain LineageOS 13.0 for OnePlus One.
Works update over the air. Kernel contains all CVE fixes from cm-14.1 branch.

I asked because I haven't saw your lineage os 13.0 thread on XDA.Anyways,the recovery is really fast! Thanks!
Edit: what is the difference between 'system' and 'system-img' backup?
See attachments.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2017-02-26-12-31-36.png
Views:	2114
Size:	128.0 KB
ID:	4055497  
26th February 2017, 09:41 PM |#10  
Kutep0v's Avatar
OP Senior Member
Flag Everywhere
Thanks Meter: 1,032
 
Donate to Me
More
Quote:
Originally Posted by Mr.Ak

what is the difference between 'system' and 'system-img' backup?

  • System – files backup method. Files from system partition will be packed to tar archive.
  • System Image – dd backup method. Partition dump. It's required in some cases.
Same backup/restore speed, but different backup size. In the first case, backup size corresponds to size of the contained files in system partition. In the second case, backup size always is fixed and corresponds to size of the partition.
The Following 10 Users Say Thank You to Kutep0v For This Useful Post: [ View ] Gift Kutep0v Ad-Free
26th February 2017, 10:07 PM |#11  
Junior Member
Flag Montego Bay
Thanks Meter: 0
 
More
Queue
Can u add the ability to view the flash queue before flashing? That would be super useful.
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes