Commit Graph

676 Commits

Author SHA1 Message Date
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 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
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
Dees_Troy 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 be427b884f Merge "Fix misspelling and white space on fix perms" into twrp2.4 2013-02-02 12:15:10 -06:00
Dees Troy ad240231f2 Merge "fix wrong debuging output of used BUILD FLAGS in data.cpp" into twrp2.4 2013-02-02 12:14:36 -06:00
Dees_Troy 32f2ca87b7 Fix misspelling and white space on fix perms
Thanks to Space- for pointing it out
2013-02-02 17:04:07 +00:00
Talustus 33ebf93d65 fix wrong debuging output of used BUILD FLAGS in data.cpp 2013-02-02 14:11:14 +01:00
Vojtech Bocek 2e97ec58b9 Use only std::string in TWFunc::Get_Folder_Size
* Fixes crash which could occur with too deep path because
  of too much memory allocated on stack
2013-02-02 13:22:42 +01:00
Dees_Troy 5d3589ecea Merge "2.4.1.0" into twrp2.4 2013-02-01 11:10:07 -06:00