Commit Graph

33 Commits

Author SHA1 Message Date
Hashcode dabfd49bd4 implement "usermrf" fstab flag to force rm -rf * deletion on specific partitions
Change-Id: I58f4a8cedf31e6b6efd88f96a43ed525603ae311
2013-08-30 10:28:15 -07:00
Dees_Troy e5017045b5 Initial f2fs support
Need to add this to your source tree:
https://github.com/razrqcom-dev-team/android_external_f2fs-tools

Change-Id: I3ee9ebbb617259655518f8ea356ce7b8c246cd4d
2013-08-29 16:58:38 +00:00
Vojtech Bocek 8b44bbda25 Clean-up in partitions.hpp
* Remove useless 'virtual' keyword
* Set proper members visibility

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-08-24 07:56:19 -05:00
Dees_Troy d93bda5916 2.6.0.0
Also copy recovery.fstab to cache and create a storage.fstab in
cache for app/apk use.
2013-07-03 19:55:35 +00:00
Dees_Troy 83bd483f3d Support encrypted backup files
Also includes features merged from:

Update twrpTar by kokotas

Revised function entryExists().
Added function to get archive's uncompressed size.
Added option to exclude item(s) from the archive.
Revised forks()

http://review.teamw.in/#/c/590/

Change-Id: I01fa2c81643161984eff2625247af75990684bd9
2013-06-22 16:16:55 -05:00
Dees_Troy a13d74fc95 Add partition list GUI element
Add partition list GUI element and update backup, restore, mount,
storage selection, and wipe sections of GUI and partition manager
code to reflect the new GUI element. Update ORS engine to handle
new backup and restore setup.

Fix a bug with decrypt.
Add 1080x1920 layout.

Change-Id: Iaa2f44cb707167e66f935452f076ba00e68a2aa4
2013-03-30 08:56:39 -05:00
Dees_Troy 16c2b31827 Add flag for retaining layout version
Needed on Sony mint (Xperia T) as the /data/media folder is a
separate partition and normal data media wiping is not appropriate
for this device but the layout version file needs to be retained
for Android 4.2 multi-user.
2013-01-15 16:52:41 +00:00
Dees_Troy 85f44ed751 Improve remounting sdcard with ecryptfs 2013-01-09 18:44:25 +00:00
bigbiff bigbiff 9c754053b0 Add libtar to TWRP instead of using busybox tar
Add proper mkdosfs tool
Add fuse to TWRP
Add experimental exfat-fuse to TWRP
Convert all system() functions to use new Exec_Cmd function
2013-01-09 09:09:08 -05:00
Dees_Troy 68cab49d96 Add ignore blkid flag for Transformers
Change-Id: I8f2b5b68a8c3ede74858d53002efab997174ee65
2012-12-12 19:29:35 +00:00
Gary Peck 43acadf10e restore based on backup type, not destination type
Change-Id: Ie44958a148d00cadd2ba3c51255f7fd9d8a651e7
2012-11-22 06:09:21 -08:00
Dees_Troy d21618cd64 Update and improve USB storage code 2012-10-14 18:48:49 -04:00
Dees_Troy 8e337f3605 Handle storage devices that are slow to mount 2012-10-13 22:07:49 -04:00
Dees_Troy d0384ef73e Unmount system after boot, backup, and restore 2012-10-12 12:15:42 -04:00
bigbiff bigbiff a0f8a59aa1 redo fix permissions in c++ for faster changes 2012-10-09 21:01:03 -04:00
Dees_Troy 9350b8d6ed Update sdcard partitioning to C++ 2012-09-27 12:40:09 -04:00
Dees_Troy c9ff7a341b Port backup name checking to Partition Manager 2012-09-27 10:40:03 -04:00
Dees_Troy 2ff5a8dc5b Add option to wipe android secure 2012-09-26 14:53:02 -04:00
Dees_Troy 4be841b09a Fix permissions updates
Also redirect stderr output on terminal commands for display in
GUI console
2012-09-26 14:12:11 -04:00
Dees_Troy 094207a4d7 Fix problems with MTD devices
Also improve handling of MTD names
2012-09-26 12:01:13 -04:00
Dees_Troy 7c2dec8020 Add backup size checking
Converted bootloader.cpp to TWRP and removed AOSP fstab parsing
from startup
2012-09-26 09:50:10 -04:00
Dees_Troy 093b7648e0 Add progress bar support to backup and restore 2012-09-21 15:59:38 -04:00
Dees_Troy e58d5269a6 Add android_secure support 2012-09-21 12:27:57 -04:00
Dees_Troy 812660fd1d Add and improve OpenRecoveryScript support
Improve zip finding in ORS engine
Add support for restoring with just a backup name
2012-09-20 10:40:20 -04:00
Dees_Troy 8170a92145 Cleanup extra-functions 2012-09-18 15:44:39 -04:00
Dees_Troy 4a2a126740 Improve backup and restore
Add in archive splitting support
2012-09-18 09:37:15 -04:00
Dees_Troy 43d8b00770 Update backup and restore code, adb sideload
Fixed a problem with using make_ext4fs by making its lib
a dynamic lib.
Added ADB sideload zip install feature - no way to cancel it yet.
Improve backup and restore code.
2012-09-17 16:06:12 -04:00
Dees_Troy 38bd760b58 Add wipe functions, compiles in CM7, text shows in UI, zips install
Zip install works, had to move mincrypt code into TWRP to prevent
a crash when checking the zip signature.
Added wipe functions
Made it compile in CM7
Made text show up in console and logging
2012-09-14 13:36:32 -04:00
Dees_Troy 63c8df756b More Partition Manager functionality 2012-09-10 14:03:27 -04:00
Dees_Troy 5112731666 Improve storage size code, mount, unmount
Add flag parsing from recovery.fstab
2012-09-10 11:33:29 -04:00
Dees_Troy 5bf439221d Add processing of fstab, mounting, and decrypt 2012-09-07 16:10:00 -04:00
Dees_Troy 51a0e82eb2 TWRP-ify AOSP code
Pull in most TWRP sources
Stub out partition management code
Make it compile -- probably will not boot
Kind of a mess but have to start somewhere
2012-09-05 15:24:31 -04:00
Dees_Troy 240e4a7247 Initial stub of partitions.hpp 2012-09-04 09:22:39 -04:00