Dees Troy
3be70a897e
Update licenses to all match
2013-10-22 14:25:12 +00:00
Dees Troy
d932ce1b99
Fix spelling error
2013-10-18 17:12:59 +00:00
bigbiff bigbiff and Dees Troy
c49d706903
fix getting and setting contexts in selinux
...
recreate lost+found with selinux contexts
Change-Id: I19e8696d47319dfb641520956c8a27c2a796a0c3
2013-10-17 16:49:49 +00:00
Vojtech Bocek and Dees Troy
05534209f1
Add TWFunc::Exec_Cmd() with no 'result' agrument
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
Change-Id: Id8acff1ac9b3c7e4b562c80562a8ff42a1d132b9
2013-09-12 15:36:40 +00:00
Dees_Troy
5295d581a5
Add more args to make_ext4fs command
2013-09-06 15:51:08 +00:00
Vojtech Bocek
1dc3098a5c
Initialize TWPartition::User_Rm_Rf to false in constructor
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-08-30 21:49:30 +02:00
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
b3265ab358
Better compatibility by fixing up ext4 & selinux flags
2013-08-30 02:59:14 +00: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
bigbiff bigbiff and Dees_Troy
86e77bcbb2
skip checking size on links
...
skip google music cache
Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
2013-08-28 16:10:36 +00:00
Vojtech Bocek and Gerrit Code Review
fafb0c541b
Unify indentation and little clean-up in TWRP files
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-08-24 07:56:48 -05:00
Dees_Troy and Gerrit Code Review
a95f55c3ef
Add SELinux support
...
Change-Id: I11e1a3d018d921d96ba08915925b14bf633be6ed
2013-08-24 07:42:30 -05:00
Dees_Troy
066eb30abf
Fix AOSP decrypt when TouchWiz code is present
2013-08-23 17:22:37 +00:00
Vojtech Bocek and Gerrit Code Review
4d4b3361f3
Properly free blkid_probe in TWPartition::Check_FS_Type()
...
Signed-off-by: Vojtech Bocek <vbocek@gmail.com >
2013-07-01 15:50:15 -05:00
Dees_Troy and Gerrit Code Review
76543db6e6
Fix MTD Mounting
...
Pulled part of change from kokotas in this patch set:
http://review.teamw.in/#/c/586/
Change-Id: If1c5b1563df16f9c561c94f61010f6a99f36efa0
2013-07-01 15:36:02 -05:00
Dees_Troy
74fb2e94d5
Fix some issues with wipe partition list
...
Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
2013-07-01 20:20:58 +00:00
Dees_Troy and 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
9e0b71c6ad
Improve backup list results
2013-04-08 13:35:37 +00:00
Dees_Troy
70737fabde
Improve automated handlidling of partitions
2013-04-08 13:19:20 +00:00
Dees_Troy
2673cec07a
Move all AOSP code out of recovery binary
...
Improves license compatibility between GPL and Apache
Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-04-04 18:57:34 +00: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
bigbiff bigbiff
65a4c73b1e
trying to fix md5
...
Change-Id: I4ec037f76aa965bc818afe924942adbe9a080b36
2013-03-17 14:40:20 -04:00
bigbiff bigbiff
cdcfee48b9
use md5.c for computation of md5sums
...
create a framework for computing digests and reading digests in TWRP
add space for backwards compatibility with bb md5sum
Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
2013-03-07 08:07:34 -05:00
bigbiff bigbiff
e60683a0d5
use libblkid to get filesystem type
...
we can now use libblkid to detect exfat
2013-02-25 09:06:46 -05:00
igoriok and Dees_Troy
87e3d93edc
Add MTK6575/6577 EMMC partitions backup support
...
taken from https://github.com/mrjavum/Team-Win-Recovery-Project/commit/140ff0cde8ad2236caf7bcd480d257d74d8b85bc
"sorocean.gor@gmail.com "
Change-Id: I1a97160c73c7a0bab0535e938d6b35dc09585037
2013-02-19 17:47:43 +00:00
bigbiff bigbiff
e6594ab9a3
change libtar to fork instead of pthread
...
Conflicts:
twrpTar.cpp
2013-02-17 20:18:31 -05:00
Dees_Troy and bigbiff bigbiff
e34c133ec6
Add write buffer for tar writes
...
update fuse to 2.9.2
catch return from unlink so that we don't print error messages when things work
Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96
2013-02-07 08:21:17 -05:00
Dees_Troy
3f5c4e8dfe
Fix fail over to vfat from exfat
...
Fix issues with MD5 checking using chdir and leaving the working
dir in a subfolder that prevented unmounting sometimes.
Change-Id: I01a563d722f474297ed3f7a30064c3a61748ade3
2013-02-01 16:56:34 +00:00
Dees_Troy
b05ddeedd3
exFAT improvements, fixes
...
Move Exec_Cmd to libcrecovery __popen
Provide opt out build flag for exFAT
Default fstype to exfat on external storage if exfat support is
present and fstype is vfat or auto
Fix invalid unmount errors
Improve handling of unencrypted sdcards on Samsung devices
2013-01-28 20:45:11 +00:00
Dees_Troy
2c4c26f43d
Fix subpartitionof flag
2013-01-28 15:26:43 +00:00
bigbiff bigbiff and Dees_Troy
3bf2b0e630
change tar create to pthread
...
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-24 19:44:11 +00:00
bigbiff bigbiff
98f1f903cc
Remove sockets and FIFOS when removing files
2013-01-19 18:46:13 -05:00
Dees_Troy
4bb33ac46b
Fix handling of blkid output
...
Fixed handling of blkid output when the output spans multiple
lines and the TYPE field ended up on next line.
2013-01-18 21:06:09 +00:00
Dees_Troy
1c1ac44eaa
Save version to cache
2013-01-17 21:44:57 +00:00
Dees_Troy
dc8bc1b28a
ORS engine fixes
...
Fix backup to not error when a non-existant partition is given.
Fix restore to run when no partition parameters are given.
Ensure that ORS runs after decryption and that zips install.
Fix a problem with the fake internal sdcard not mounting to
/sdcard on data media devices.
2013-01-17 15:53:49 +00: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
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 and Dees_Troy
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 and Dees_Troy
3e14652310
add exfat to partitions.cpp
2012-11-14 22:22:25 +00:00