Commit Graph

579 Commits

Author SHA1 Message Date
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
Gary Peck ffdc6aea4c add Decrypt Data button
Allow to decrypt /data even if decryption was skipped during the initial
loading of recovery

Change-Id: If2251757a276dd069578e93e5a038b25a825bff6
2012-11-22 05:56:38 -08:00
Gary Peck 004d48b105 print partition details independent of whether its mountable
Change-Id: Ibbc3bf3d3264fb9852f8312ece0567950aace496
2012-11-22 05:55:33 -08:00
Hiemanshu Sharma acf6a9b4d9 minuitwrp: fix screen update issue 2012-11-21 11:28:36 -06:00
Hiemanshu Sharma 94f6c88dab graphics: add support for "single buffering" 2012-11-21 11:25:22 -06:00
Hiemanshu Sharma 4c11714527 Fix compiling for x86 targets 2012-11-21 08:37:58 -06:00
Dees_Troy 5fface832f Add 23x41 roboto font 2012-11-19 18:36:00 +00:00
Dees_Troy f94f9acbf9 Fix renaming of backups with spaces, 2.3.2.3 2012-11-19 17:16:17 +00:00
Dees_Troy 014c894af2 Workaround for crypto quirk on Nexus 10 2012-11-19 17:10:46 +00:00
Dees_Troy 2effe65437 Finish 2560x1600 theme 2012-11-19 17:06:03 +00:00
Dees_Troy 201d76b4c3 Fix fix permissions 2012-11-16 20:21:09 +00: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 1a650e6fc4 Unmount main partitions after fixing permissions 2012-10-19 20:54:32 -04:00
Dees_Troy 30b962eb51 Add keyboard key highlight 2012-10-19 20:51:12 -04:00
Dees_Troy 4d12f969b8 Add ability for buttons to have highlights on touch 2012-10-19 13:13:15 -04:00
Dees_Troy 5fcd8f981f Initial BML support (ext4 only) 2012-10-16 12:22:05 -04:00
Dees_Troy 06b4fe97ef Update injecttwrp for Epic 4G Touch 2012-10-16 11:43:20 -04:00
Dees_Troy 0cb64e5b23 Fix weird keyboard problem 2012-10-15 15:58:14 -04:00
Dees_Troy 31a5143ae3 Bump version to 2.3.1.0 2012-10-14 19:03:38 -04:00
Dees_Troy d21618cd64 Update and improve USB storage code 2012-10-14 18:48:49 -04:00
Dees_Troy f4ca6128b7 Handle single lun file for USB storage 2012-10-13 22:17:20 -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