Dees_Troy
999b39d041
Check to ensure that external is encrypted
2013-01-14 15:36:13 +00:00
Dees_Troy
c8bafa1cc1
More Samsung sdcard crypto fixes
2013-01-10 15:43:00 +00:00
Dees_Troy
ce67546112
Fix wiping problems and save ecrypt key
...
Fix problems with the wiping of data/media devices
Save and restore the ecryptfs key for external sdcard on Samsung
encrypted devices.
2013-01-09 19:49:19 +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
Gary Peck
82599a87ee
Improve handling of undecrypted encrypted /data
...
- Until the encrypted partition is decrypted, treat it as a disk image
instead of a filesystem so that it is properly backed up using dd.
- Make Partition::Wipe() use the filesystem from fstab for disk images
so that wiping an undecrypted /data makes it a plain unencrypted
partition again.
Change-Id: I78db977d6348cfa66b0cfbc492fb5776f84db48d
2012-12-21 06:59:41 -08:00
Gary Peck
e8bc5d7b54
Reset partition flags when the partition is wiped
...
Change-Id: I6c4cee5b038fd0c39c8723412dd8f421f7794a00
2012-12-21 06:45:43 -08:00
Gary Peck
15e623db7a
check backup image size before restoring
...
Change-Id: I206d34936388c1b072eaaec50e0492710cb80f2e
2012-12-18 21:39:06 +00:00
Dees_Troy
2204203a94
Fix handling of MTD partitions during mount
2012-12-18 21:23:08 +00:00
Dees_Troy
68cab49d96
Add ignore blkid flag for Transformers
...
Change-Id: I8f2b5b68a8c3ede74858d53002efab997174ee65
2012-12-12 19:29:35 +00:00
Dees_Troy
da8b55aff3
Restore text display during restore
2012-12-12 19:18:30 +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
16b74353d9
Fixes for multi-user in 4.2
...
Also fixed inability to delete backups with a space in the name.
Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
2012-11-15 19:27:08 +00:00
bigbiff bigbiff
3e14652310
add exfat to partitions.cpp
2012-11-14 22:22:25 +00:00
Dees_Troy
5fcd8f981f
Initial BML support (ext4 only)
2012-10-16 12:22:05 -04:00
Dees_Troy
8e337f3605
Handle storage devices that are slow to mount
2012-10-13 22:07:49 -04:00
Dees_Troy
7a47e7f4d2
Remove unneeded duplicate code
2012-10-13 12:31:44 -04:00
Dees_Troy
0550cfb483
Track whether a partition is mounted during refresh sizes
...
and leave it mounted or unmount based on prior mounting status
2012-10-13 11:56:52 -04:00
Dees_Troy
c154ac27a2
Change backup size check for dd
2012-10-12 15:36:47 -04:00
Dees_Troy
6da522d529
Fix restore of multiple archives
2012-10-12 15:19:33 -04:00
Dees_Troy
3f04d03fcb
Fix derp with alternate storage
2012-10-07 18:20:09 -04:00
Dees_Troy
9b21af77e0
Fix error message on encrypted devices
2012-10-01 15:51:46 -04:00
Dees_Troy
ce2fe779c0
Revert busybox for CM7 compatibility, add exclamation point to format data
2012-09-28 12:34:33 -04:00
Dees_Troy
9350b8d6ed
Update sdcard partitioning to C++
2012-09-27 12:40:09 -04:00
Dees_Troy
a58beade0a
Port reboot functions to C++
2012-09-27 09:50:56 -04:00
Dees_Troy
2c50e18ca3
Handle mountable boot partitions
2012-09-26 20:05:28 -04:00
Dees_Troy
b1dab8dca9
Backup size for special partitions that are images
2012-09-26 12:16:41 -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
9df963c9cd
Convert makelist to C++
2012-09-26 09:02:40 -04:00
Dees_Troy
b46a684971
Unify portrait layouts again
2012-09-26 09:00:46 -04:00
Dees_Troy
2691f9d7f8
Update tablet layouts with ADB sideload
2012-09-24 11:15:57 -04:00
Dees_Troy
ab10ee2098
Fix special partition handling
2012-09-21 14:27:30 -04:00
Dees_Troy
e58d5269a6
Add android_secure support
2012-09-21 12:27:57 -04:00
Dees_Troy
c51f1f994a
Various fixes
...
Modify AOSP mount and wipe functions to use Partition Manager.
Update wipe code to reset the log file index when wiping cache.
Add ADB sideload to 540x960 theme.
2012-09-20 15:32:50 -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
657c309486
Zip install works again
2012-09-10 20:32:20 -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