Commit Graph

683 Commits

Author SHA1 Message Date
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
Dees Troy
3578701315 Merge "Fix capturing exit status to properly display libtar results" into twrp2.4 2013-03-04 14:52:07 -06:00
Dees_Troy
6c917b4b91 Merge "Another libtar hardlink workaround" into twrp2.4 2013-03-04 14:51:51 -06: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
50d63be580 Fix capturing exit status to properly display libtar results
Error conditions were always showing successful in the TWRP GUI
making it much more difficult to determine if a backup or restore
was actually successful.
2013-03-02 08:49:37 -06:00
Dees_Troy
f96fb9794d Another libtar hardlink workaround 2013-03-01 22:34:25 +00:00
Dees_Troy
1148c99790 Change version to 2.4.3.0 2013-02-28 19:38:36 -06:00
Dees_Troy
daab22e751 Merge "Add option for custom battery path" into twrp2.4 2013-02-28 19:37:52 -06: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
f33b49015a Add option for custom battery path 2013-03-01 00:51:39 +00: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
jt1134
113ee73445 fixes for fakeflash zips
For some reason fakeflash doesn't like to have superuser/su
in /res, move it to its own subdir in /supersu. This allows
a fakeflash zip built with 'make recoveryzip' to work correctly.

Change-Id: I32e2e0f6dba55281d5c917e931c3ef0034964bcb
2013-02-27 18:50:44 +00:00
Dees Troy
2cf31af561 Merge "use libblkid to get filesystem type we can now use libblkid to detect exfat" into twrp2.4 2013-02-27 12:39:14 -06:00
Dees_Troy
ee6632c3e1 libtar - Fix extraction of hardlinks to use the prefix
Change-Id: I116982ceed722364406b99fb08bc6943afa0390a
2013-02-27 18:19:18 +00:00
bigbiff bigbiff
71e5aa4eee fix restore on mknod
Change-Id: I9fb8b927f81a8cded651e42026beb3d5c252d1e8
2013-02-27 12:55:40 -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
Dees_Troy
54f68757c6 Change version to 2.4.2.0 2013-02-25 03:58:41 +00:00
Dees_Troy
43681d4497 Fix building of updater for 4.2 environment
Change-Id: I2dc6690f77f4fbaca0ab0ff849b8b07875129827
2013-02-22 21:28:28 +00:00
Dees Troy
e111382440 Merge "mtdutils: add bml_over_mtd target for aries/p1 builds" into twrp2.4 2013-02-22 14:53:00 -06:00
Dees_Troy
a4438784eb Fix compiling on CM7 2013-02-22 18:49:47 +00:00
bigbiff bigbiff
23aa819192 using __popen segfaults, switch back to popen 2013-02-22 10:43:59 -05:00
jt1134
19926ecf71 mtdutils: add bml_over_mtd target for aries/p1 builds
Change-Id: Ie4bf51e09e632403c1bc87be64a0f9dd66b83f31
2013-02-21 19:44:08 -06: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
d15e3f7def Move removal of stock recovery to shutdown sequence 2013-02-21 14:28:29 -06: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
ChampionSwimmer
cf33e4dbcd support devices without bootpartition
if device has no /boot partition, then add the following flag in BoardConfig.mk

TW_HAS_NO_BOOT_PARTITION

Signed-off-by: ChampionSwimmer <android@championswimmer.tk>

Change-Id: I92b36b2e6ca690e2422b36004ae9bb315d24a7c2
2013-02-19 18:20:45 +00:00
bigbiff bigbiff
2c57d789df convert file_bps to be unsigned long long
Change-Id: Ib5d9ca8f9a2a4e27d9798665b312376a7d9c571c
2013-02-19 18:08:03 +00:00
igoriok
87e3d93edc Add MTK6575/6577 EMMC partitions backup support
taken from 140ff0cde8

"sorocean.gor@gmail.com"

Change-Id: I1a97160c73c7a0bab0535e938d6b35dc09585037
2013-02-19 17:47:43 +00:00
Anatoly Smaznov
10c11f67cf Add TW_USE_MODEL_HADWARE_ID_FOR_DEVICE_ID parameter for correct model identification
Change-Id: Ic6440c624b5cfbdb0f24681461748a0da16bf95e
2013-02-19 17:20:04 +00:00
Dees_Troy
e42845962d Minor fix for listbox code 2013-02-19 16:59:35 +00:00
Dees Troy
d66b12d4cc Merge "Allow init.rc inheritance and bring init.rc closer to CM recovery source" into twrp2.4 2013-02-19 10:04:38 -06:00
Dees Troy
7cb4698ce1 Merge "change libtar to fork instead of pthread" into twrp2.4 2013-02-19 08:59:49 -06: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
bigbiff bigbiff
e6594ab9a3 change libtar to fork instead of pthread
Conflicts:

	twrpTar.cpp
2013-02-17 20:18:31 -05:00
Matt Mower
556411faac Allow init.rc inheritance and bring init.rc closer to CM recovery source 2013-02-17 16:52:44 -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
40bbcf8ced Change popen in twrpTar to __popen
Change-Id: I921b0647b1f63dd348b059eb630ebe9bf5ec570d
2013-02-12 15:01:58 +00:00