Commit Graph

90 Commits

Author SHA1 Message Date
Dees_Troy
74fb2e94d5 Fix some issues with wipe partition list
Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
2013-07-01 20:20:58 +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
34614eb94f Improve handling of XML errors for fix permissions 2013-04-05 12:04:38 -05:00
Vojtech Bocek
85932344cd Add new SliderValue GUI widget
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>

Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
2013-04-04 18:59:08 +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
Dees Troy
4771e0130a Merge "add no fb blanking Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85" into twrp2.4 2013-03-11 21:35:23 -05:00
bigbiff bigbiff
8794036ba3 add no fb blanking
Change-Id: Iaf771257d8f904807ca6f6c1a6c3d7993abadb85
2013-03-11 18:45:06 -04:00
Dees_Troy
cc5859fea1 Remove unused fonts from 320x480 2013-03-11 18:00:48 +00:00
Dees_Troy
146d72a739 Remove mutex from file seselector
mutex would, in some rare cases fail to lock and cause a freeze
of the GUI.

Also restored some code that was removed before and should not
have been removed to fix a bug with folder selection where you
select the same file or folder twice (e.g. select a backup on the
restore page, press back, then select that backup again.)
2013-03-11 17:46:33 +00:00
Dees_Troy
4622cf9f52 More file selector fixes
Fix a freeze that occurs when you move or delete a file in the
file manager
Make file sort buttons work again

Change-Id: Ifcb68edf3c29c475946d538748729485d0840842
2013-03-04 19:10:37 +00:00
Dees_Troy
07712b2226 Merge "Add 2 second pre-dim and bugfix blank timer" into twrp2.4 2013-02-28 19:37:36 -06:00
Dees_Troy
70237dc675 Add 2 second pre-dim and bugfix blank timer
2 second predim code courtesy of bigbiff

Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
2013-02-28 19:36:09 -06:00
Dees_Troy
c0583f54e4 Fix file selector crash
Sometimes a var change event came in while the file selector was
being rendered. Changes to the mFolderList or mFileList vectors
sometimes resulted in a crash. This patch set moves the
GetFileList call to the Render function to prevent the vectors
from changing while the render is taking place.
2013-02-28 11:29:36 -06:00
bigbiff bigbiff
f8e2f37565 Load user saved setting for blank timer on recovery startup
Fix persistence of military time
2013-02-27 20:50:43 -05:00
Dees_Troy
58f5cf0ab5 Copy fast scroll feature to listbox 2013-02-27 22:21:41 +00:00
Vojtech Bocek
7cc278bb99 Add fast scroll bar to fileselector
Also fix build problems with libblkid in CM7

Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
2013-02-27 21:59:21 +00:00
Dees_Troy
8211102b4e Remove ignore image size setting
Move military time setting up and remove the now unused ignore
image size setting from XML layouts.
2013-02-21 21:14:08 +00:00
Dees_Troy
6ef6635ad3 Check for root and root perms and offer to install/fix
Also fix sort order for file selector by date and file sizes

Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
2013-02-21 18:23:43 +00:00
bigbiff bigbiff
4efe9c3c7d add military time option 2013-02-20 18:58:11 -05:00
Dees_Troy
2f9117af30 Configurable timeout and brightness settings
Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
2013-02-20 09:35:23 -06:00
Dees_Troy
e42845962d Minor fix for listbox code 2013-02-19 16:59:35 +00:00
Dees Troy
c81c3cad51 Merge "Fix keyboard layout on 800x1280" into twrp2.4 2013-02-19 08:41:38 -06:00
Dees Troy
72394403b9 Merge "Update listbox code" into twrp2.4 2013-02-19 08:41:23 -06:00
Dees Troy
94a599f575 Merge "Add highlight to file selector" into twrp2.4 2013-02-19 08:41:07 -06:00
Dees Troy
c4517b2042 Merge "Add button highlight" into twrp2.4 2013-02-19 08:40:49 -06:00
Dees_Troy
f5f395b8ca Fix keyboard layout on 800x1280 2013-02-15 14:45:53 -06:00
Dees_Troy
eead985c57 Update listbox code 2013-02-15 14:31:58 -06:00
Dees_Troy
e7585ca9b5 Add highlight to file selector 2013-02-15 11:42:29 -06:00
Dees_Troy
1a7a6675ea Add button highlight 2013-02-15 09:42:35 -06:00
bigbiff bigbiff
8a68c31ffc This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.
Will also set overlay to lockscreen so we don't have inadvetent screen selections.
Touching the screen will bring the display back up.
add back check script for poweroff
move diff time function to twrp-functions.cpp
make sure we chmod after copy_file
add read_file and write_file functions to twrp-functions.cpp
make single thread
try to force update screen
add forceRender
drop caches after tar processing

Change-Id: I3c5c509dd39dbb05451bbfe5d8b56d53c90d8d1b
2013-02-13 13:16:03 -06:00
Dees_Troy
3ee47bc2ab file manager updates for exFAT
Change-Id: I06fa6120a975cbc3d4eef9bc2ca034ec716740ee
2013-01-28 15:20:03 +00:00
Dees_Troy
eb50caaa7a Remove thread logging from actions.cpp
Change-Id: I2d2af963f4d6990191d91a336f682516af61d734
2013-01-28 15:12:30 +00:00
Dees_Troy
8005946bd2 Merge "Fix file manager displays empty list when folder is deleted" into twrp2.4 2013-01-28 09:09:37 -06:00
Dees_Troy
80a11d9a6e Fix file manager displays empty list when folder is deleted 2013-01-25 16:36:07 +00:00
bigbiff bigbiff
7ce7f0cde4 adding sideload page with wipe cache and dalvik
fix variable
Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
2013-01-25 15:59:19 +00:00
Dees_Troy
6ed34b7f61 Use GUI for ORS instead of console only 2013-01-25 15:10:48 +00:00
Dees_Troy
01b6d0c9be Convert AOSP commands to ORS for encrypted devices
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
2013-01-24 19:48:08 +00:00
bigbiff bigbiff
3bf2b0e630 change tar create to pthread
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-24 19:44:11 +00:00
Dees_Troy
4bc09ae436 Improve ORS sideload to display GUI with cancel button 2013-01-18 17:07:31 +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
3a16cb511b Increase char array sizes to allow for null char for strcpy 2013-01-10 15:16:15 +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
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
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
Dees_Troy
f94f9acbf9 Fix renaming of backups with spaces, 2.3.2.3 2012-11-19 17:16:17 +00:00
Dees_Troy
2effe65437 Finish 2560x1600 theme 2012-11-19 17:06:03 +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
Dees_Troy
30b962eb51 Add keyboard key highlight 2012-10-19 20:51:12 -04:00