Commit Graph

602 Commits

Author SHA1 Message Date
bigbiff bigbiff 9d880030d6 Merge "Remove sockets and FIFOS when removing files" into twrp2.4 2013-01-21 11:02:40 -06:00
bigbiff bigbiff 98f1f903cc Remove sockets and FIFOS when removing files 2013-01-19 18:46:13 -05:00
bigbiff bigbiff 31f0e5fa22 change fuse to be compiled with TW_INCLUDE_FUSE_EXFAT
update exfat_fuse to newest updates
Always compile mkexfatfs
2013-01-19 10:23:42 -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 d4b22b0f4f Move backup folder creation to after free space calc
Also fix free space calculation
2013-01-18 17:20:18 +00:00
Dees_Troy 4bc09ae436 Improve ORS sideload to display GUI with cancel button 2013-01-18 17:07:31 +00:00
Dees_Troy 1c1ac44eaa Save version to cache 2013-01-17 21:44:57 +00:00
Dees_Troy 4fc0024c53 Add sideload command for ORS 2013-01-17 19:22:12 +00:00
Dees_Troy 4b20e77c40 Fix problem with AOSP wipe_cache command 2013-01-17 18:50:23 +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 ab4963c369 Fix problems with thread creation on some devices
This fixes a problem with not reaching the backup completed page
after a backup is complete on certain devices (GNex, Note2).
Changing the stack size to 512KB seems to be the actual fix but
leaving the other changes in place as they may be helpful or are
better practices.
2013-01-16 20:36:49 +00:00
Dees_Troy 86382ca223 Add build flag for custom graphics 2013-01-15 16:54:59 +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
bigbiff bigbiff 5c9f677e63 remove relink files for samsung encryption libraries. 2013-01-12 15:31:17 -05:00
Dees_Troy c8bafa1cc1 More Samsung sdcard crypto fixes 2013-01-10 15:43:00 +00:00
Dees_Troy 3a16cb511b Increase char array sizes to allow for null char for strcpy 2013-01-10 15:16:15 +00:00
Dees_Troy 4546fe778d Add libsparse if it exists 2013-01-10 14:33:27 +00:00
Dees_Troy 20c02c0953 Fix ifdefs for Samsung encryption 2013-01-10 14:15:01 +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
a3955269 6ff55cefd0 Add Samsung TouchWiz decryption
Change-Id: I418680e59372160dabfe3e2d5f0208229aa151ae
2013-01-08 20:09:56 +00:00
Dees_Troy 35a0cc3830 Merge "Fix up libmincrypt rules for Android 4.2" into jb-wip 2013-01-07 15:08:04 -06:00
Dees_Troy e515565d6e Fix up libmincrypt rules for Android 4.2 2013-01-07 21:06:50 +00:00
Dees Troy 37407646b9 Merge "Work around MEMERASE ioctl for rk3066 compatibility" into jb-wip 2013-01-07 12:54:47 -06:00
Nick Kralevich 5ae2332202 Add mode when open(O_CREAT) is used.
When creating a new file using open(..., O_CREAT), it is an error
to fail to specify a creation mode. If a mode is not specified, a
random stack provided value is used as the "mode".

This will become a compile error in a future Android change.

Change-Id: I73c1e1a39ca36bf01704b07302af4971d234b5a8
2013-01-07 18:51:23 +00:00
Dees Troy 558132c8ff Merge "Improve handling of undecrypted encrypted /data" into jb-wip 2013-01-07 12:06:44 -06:00
Dees Troy 95006da510 Merge "Reset partition flags when the partition is wiped" into jb-wip 2013-01-07 12:01:39 -06:00
Sergey 'Jin' Bostandzhyan 80a90edd47 Work around MEMERASE ioctl for rk3066 compatibility
Due to a kernel bug and no available sources we have to work around the
MEMERASE ioctl - if used, it hangs and never returns. I straced the original
recovery executable and could see that it is simply calling write() with a
bunch of zeroes instead of using MEMERASE.

Added a hack that does the same and now the resulting TWRP recovery image works.

Change-Id: I1b1c1c9e870e350776346bdca5d442c7ef565aa0
2013-01-05 00:23:06 +01: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
Dees_Troy d9a9616195 Increase array size to fix crashes on some devices 2012-12-20 17:44:35 +00:00
Dees_Troy 8e40d68db6 Update version to 2.3.3.0 2012-12-18 22:45:43 +00:00
Gary Peck 15e623db7a check backup image size before restoring
Change-Id: I206d34936388c1b072eaaec50e0492710cb80f2e
2012-12-18 21:39:06 +00:00
Dees_Troy ddede4ce40 Fix keyboard layout on 800x1280 layout 2012-12-18 21:37:26 +00:00
Dees_Troy e4a88113ab Fix defines on pages.hpp to not collide with pages.h 2012-12-18 21:29:33 +00:00
Dees_Troy 2204203a94 Fix handling of MTD partitions during mount 2012-12-18 21:23:08 +00:00
Dees_Troy 9c74244421 Merge "Ignore bma150 in event handler" into jb-wip 2012-12-12 13:31:06 -06: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
Dees Troy 19fca3af55 Merge "restore based on backup type, not destination type" into jb-wip 2012-12-12 13:14:08 -06:00
Dees Troy a23258d30d Merge "add Decrypt Data button" into jb-wip 2012-12-12 13:12:36 -06:00
Dees Troy 16a040b096 Merge "print partition details independent of whether its mountable" into jb-wip 2012-12-12 13:11:56 -06:00
Dees Troy 97652ca654 Merge "minuitwrp: fix screen update issue" into jb-wip 2012-12-11 09:56:50 -06:00
Dees Troy 8983ccd55f Merge "graphics: add support for "single buffering"" into jb-wip 2012-12-11 09:56:29 -06:00
Dees_Troy 07a3a74e9e Ignore bma150 in event handler 2012-12-11 15:13:21 +00:00
bigbiff bigbiff 29af138023 Merge "fix SP variable names" into jb-wip 2012-12-10 13:18:59 -06:00
bigbiff bigbiff 20ef6e3585 fix SP variable names 2012-11-23 20:22:11 -05:00
Gary Peck 43acadf10e restore based on backup type, not destination type
Change-Id: Ie44958a148d00cadd2ba3c51255f7fd9d8a651e7
2012-11-22 06:09:21 -08:00