summaryrefslogtreecommitdiffstats
path: root/gui/devices (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add cancel backup capability.bigbiff2015-01-274-1/+75
| | | | | | | | | | | This will stop the iteration of the partition objects, kill the current twrpTar thread and remove the backup directory. Implement TWAtomicInt class to give us a wrapper that automatically uses mutexes before the read and write to help ensure that the reads and writes will be atomic based on documentation. Change-Id: I645b22bc980a292e9c7202acb24ffd22ebe68c63
* Allow for X and Y offsets in GUIEthan Yonker2015-01-092-4/+4
| | | | | | | | | | | | | | These can be used to center a lower resolution theme onto a higher resolution screen. May be useful for Nexus 9 unless or until we decide to do a 1536x2048 theme or on devices like the Moto 360 and LG G Watch R. The build flags will only affect the stock theme. If a custom theme wishes to apply an offset, it can be done by setting tw_x_offset and / or tw_y_offset in the variables section of the XML. Change-Id: I2390769ed861b96a4a3bb8a0f06d9021ec91b6b9
* Merge "Use power button to go back in watch themes" into android-5.0Dees Troy2015-01-093-3/+3
|\
| * Use power button to go back in watch themesVojtech Bocek2015-01-093-3/+3
| | | | | | | | | | Change-Id: I1463a0ba62a23c68c15f05e79a99fa8509314373 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* | Allow flashing of images via the GUIEthan Yonker2015-01-0922-11/+541
|/ | | | | | | | | | | - Use the Images... button in the lower right of the zip install page - Unify image flashing functions between restore and image flash - boot and recovery partitions are flashable by default - use fstab flag flashimg=1 or 0 to override defaults - file system partitions are currently not flashable Change-Id: I822dc446030543c55d2153e219d67a1292374ffc
* fixPermissions: simplify code, fix bugsthat2014-12-223-30/+201
| | | | | | | | | | | | | | | | | | | | | | | - avoid parsing permission strings - fix memory leaks, a fix new/free mismatch and a compiler warning - fix that only first updated-package was processed - fix a potential stack overflow if packages.xml is huge - minor refactoring for reducing duplicated code - don't process packages without codePath - fix path for deleting app data (currently unused anyway) - fix file ownership on libs - try not to mess up Android 5.0 app permissions Patch set 4 - make fixing SELinux contexts an option with a check box - add some notes / text to the themes Patch set 6 - decouple "fix permissions" from "fix contexts" Change-Id: Icc77ecc581befc5ce6e419b1f3b8ca189208c234
* Allow non datamedia devices to wipe encryptionEthan Yonker2014-12-213-12/+75
| | | | | | | | | | | | | With 5.0 L, we decrypt automatically if the default_password is used. Non datamedia devices do not get the format data button so they cannot wipe encryption off the device. This patch add a wipe encryption button where the format data button would normally be located on the Wipe page. This patch also attempts to remove / delete the dm-crypt block device before formatting. Change-Id: I100d5d154d6c49254fd48e23279df973db5f23ae
* Fix adb sideload page on 1440x2560 layoutEthan Yonker2014-12-181-2/+2
| | | Change-Id: If79086b0128e57087fd87f07d56984eb2a15d8b2
* make header layout more readable for 1440x2560bigbiff2014-12-101-2/+2
| | | | Change-Id: I109c7ae5963b5b4d9d1a8190e364a7685c41dbdd
* update theme thanks to Alexey71 on xda.bigbiff2014-11-121-30/+30
| | | | Change-Id: Id5a0d40d05b0d7e56fb3e8f0578c201957508b70
* Fix placement of Android Secure and SD-EXT on wipe pageCaptain Throwback2014-10-203-31/+31
| | | | Change-Id: Iac1c13b38df2ac66106abcda7c9d171a1549b65f
* Update reference to 24-hour clockCaptain Throwback2014-10-143-3/+3
| | | | Change-Id: Ic864fae4fda9707fc84d6d8b33587863b7664e1e
* display cpu temperature in twrpJenkins2014-10-1419-21/+192
| | | | | | | use TW_NO_CPU_TEMP := true to disable display use TW_CPU_CUSTOM_PATH := path to set custom path Change-Id: Id260ecbb4ec36a78442387329944f67003d0f6a0
* Add support for TrueType fontsVojtech Bocek2014-10-1420-45/+45
| | | | | | | | | | | | | * Keeps original font system in place * Uses the same API as original font system: - You can render only one line at a time - You can only use one font and color for one gr_text* call * Caches all rendered text, with a string cache limited to 400 entries, then it trucates to 250, which results in memory usage hovering around 5-10MB Change-Id: I36107b9dcd8d57bae4486fce8b8f64e49ef3d906 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Refresh partition details after changing file systemDees Troy2014-09-033-18/+78
| | | | Change-Id: I24f3c8587f778c4f0ef43737243c8378a3fd0e00
* add mtp responder to TWRP.bigbiff bigbiff2014-09-033-0/+93
| | | | | | Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
* Support reading since_epoch and secondary brightness filesxNUTx2014-08-103-3/+3
| | | | | | | | | | | | | | | TWFunc::Fixup_Time_On_Boot: Will now try to read /sys/class/rtc/rtc0/since_epoch to correct time, if that fails it will try to use the ats files to correct time. TWFunc::Set_Brightness: One single function to set brightness from both the automated functions and the gui actions. It is able to set a second brightness path if present, it will set them both the same value. Many Sony devices have 2 brightness files in the sysfs that must be set to properly set the brightness. Change-Id: I7ca582109085dfbcb46b8de73ad031e4b7903fca
* update 1440x2560 keyboard mappingbigbiff bigbiff2014-08-071-16/+16
| | | | Change-Id: I9777e92ca26967d41625e726383ae6aa5406161d
* Allow using variables and addition/subtraction in variablesEthan Yonker2014-08-071-17/+18
| | | | Change-Id: I1acba95302e414e1a471d27474508a7c48df0328
* Add 280x280 themeEthan Yonker2014-08-0435-1/+407
| | | | Change-Id: Iea2fac2f1b300c312819ea2d83e1762669d357b6
* Minor tweaks to watch ui.xml filesEthan Yonker2014-07-302-8/+5
| | | | Change-Id: I9448eed41e43c4fce575b7ed12b5270a1d75f99b
* Add 320x320 theme and split out watch.xml for square watch layoutEthan Yonker2014-07-3036-3836/+4249
| | | | Change-Id: I7fe38b20913a981942105637a527a2d26ed035a5
* Update 240x240 themeEthan Yonker2014-07-292-243/+647
| | | | Change-Id: I1a50fa0bb750b229220c217d24253b65f24d2920
* add 1440x2560 theme to TWRPbig biff2014-07-2936-1/+418
| | | | | | | | | | | Based on work by Chris Phelps <cphelps76@droidconcepts.com> https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/58963336b81ea8bcc03b8d7e4dfe4598f5afc972 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/4ec10303cb76592044c3aa449dc68a33356a6e09 https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/c48bd2412332916eafd0db727d923c8c16cd35ed https://github.com/TEAM-Gummy/android_bootable_recovery_TWRP/commit/f0944ded30e98917ca85db0185add1207ea5f4b6 But with other original changes too. Change-Id: I809a37a3983187e62568a1e2403b6637a692220d
* Revert "add 1440x2560 theme to TWRP"Dees Troy2014-07-2937-418/+1
| | | | | | This reverts commit c45181db0902762fb670b56a173db7c331e564cb. Change-Id: I9dfb2733d9eb30c32bc1e307e382ee8e4e47a0b6
* add 1440x2560 theme to TWRPbigbiff bigbiff2014-07-2837-1/+418
| | | | Change-Id: I9e54d2bcfe89e1e0e3205ce2f4156cfd22dca5b5
* Allow ui.xml to include additional xml files to readEthan Yonker2014-07-2817-58160/+7817
| | | | | | | Use common portrait and landscape xml files based on resolution defined by the device. Change-Id: Iec528f9d846d49857ff98de1ac201e25dbb60339
* Implement "take a screenshot" featureVojtech Bocek2014-07-0915-0/+105
| | | | | | | | * Like in android - press power+volume down, screenshots are saved in /sdcard/Pictures/Screenshots (if /sdcard is mounted) or /tmp Change-Id: Iaefa15b11a1d5fdfac57d77388db1621f378a8d4 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Track backup and restore progressEthan Yonker2014-07-0915-2/+272
| | | | | | | | Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
* Color in the consoleEthan Yonker2014-07-0916-0/+48
| | | | | | | | Allow each gui_print command to specify a color Change LOGERR to use the error color Theme should specify colors for error, warning, and highlight Change-Id: Ie8ece34111f604e25fcb79e5b731cd4e61038ff9
* Whitespace and minor code cleanupMatt Mower2014-06-0416-95/+95
| | | | | | This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
* Add options to repair or change file systemEthan Yonker2014-06-0415-41/+5080
| | | | Change-Id: I9043e98e1e1ed4722f05c13a60b43d2d0bf739f6
* Support alternative .android_secure locationMatt Mower2014-04-1616-16/+64
| | | | | | | | | | | | | | | | Some devices (jewel, m8) have .android_secure at a non-standard location. Allow a different partition to be specified as the home of .android_secure using the fstab flag 'andsec'. Using the /data/media variant of jewel as an example, recovery.fstab or twrp.fstab could be edited like follows: /external_sd vfat /dev/block/mmcblk1p1 flags=display="MicroSD";andsec Note, this is NOT a method to move .android_secure in your ROM. Your ROM must already write to this alternative location. Change-Id: I3a6e4e63aaddb35870b79e80938b0f9c2c902443
* Refresh page after updating partition sizesMatt Mower2014-04-0216-16/+64
| | | | | | | | Some (all?) devices do not update the partition size displayed on the backup screen when selecting "Refresh Sizes". Refresh the page after recalculating sizes. Change-Id: Id34da6c738f86501f73cbd7874f6921d1cda32c4
* Convert 1600x2560 ui.xml to unix line endingsMatt Mower2014-04-021-3928/+3929
| | | | Change-Id: I98dd6b25cbb1616f6032e9dcb4174461add53498
* add 1600x2560 to TWRP. Thanks to nrage123 and Gunthermic for creatingbigbiff bigbiff2014-03-2435-0/+3928
| | | | | | the theme. Change-Id: If633af291689b2ac686c41331bb9adac34c425ad
* Fix incorrect alignment of Restore Defaults button in some themesKra1o52014-03-108-64/+64
| | | | Change-Id: I11bd9fea2a900a92794c5c297846eb87265eeee7
* Tweak 240x240 themeDees Troy2014-03-061-4/+6
| | | | Change-Id: I0801d29aeb66678157123e3630b09a2b527ad4df
* Add capslock support to keyboardEthan Yonker2014-02-1714-14/+42
| | | | Change-Id: I4be3849ff0485536575395d798aa5edbe12651a7
* Implement mouse cursorVojtech Bocek2014-02-0728-0/+98
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I66d6db7b3ed9cca50b469d125b36224332e06913
* Expansion of vibrate optionsEthan Yonker2014-02-0714-45/+776
| | | | | | | Improve location / timing of vibration Split out vibrate settings for buttons, keyboard, and long actions Change-Id: I282825cc5f3e44ed6dcabe65dc1f4cb21b407b67
* Add haptic feedbackSamer Diab (S.a.M.e.R_d)2014-02-061-1/+40
| | | | Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
* Initial 240x240 thememasteroftime2014-01-1534-0/+3821
| | | | Change-Id: I478f172e1a549b50ebe29cf9a8b8618a84b3cb17
* Fix white point on top-bar images in some themesKra1o52014-01-143-0/+0
| | | | Change-Id: Ic6a0b4b3e41818ff510ca652d5f14bdecd531826
* Add 1200x1920 themeVojtech Bocek2013-09-1234-0/+3862
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I558c988c94f750607f58aa3dd22736447c78a214
* Make fixing su perms automaticDees Troy2013-09-1213-702/+0
| | | | | | | | In 4.3+ with SELinux, su perms will be lost on every reboot so users will get the prompt to fix su perms in TWRP every time. Make fixing the su perms automatic instead of nagging the user. Change-Id: Ia8a2652018db5e1f6ffc5fec2a4ac0db3a8f32bb
* Pull ROM info from build.prop for backup namesDees Troy2013-09-1213-86/+203
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Fix backup list height on 1080x1920Dees_Troy2013-08-301-1/+1
|
* Add a TW_NO_TIMEOUT optionRicardo Gomez2013-08-2513-0/+39
| | | | Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
* Fix background image for 1920x1200Dees_Troy2013-07-061-0/+0
|
* Update themesDees_Troy2013-07-0544-162/+180
| | | | Change-Id: Iedb50aca0132259bfe4297e187dbc2d40a38a34b
* Support encrypted backup filesDees_Troy2013-06-2213-158/+4050
| | | | | | | | | | | | | | | 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
* Add new SliderValue GUI widgetVojtech Bocek2013-04-0413-1008/+469
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
* Add partition list GUI elementDees_Troy2013-03-3058-8222/+7355
| | | | | | | | | | | | 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
* Remove unused fonts from 320x480Dees_Troy2013-03-113-0/+0
|
* Add fast scroll bar to fileselectorVojtech Bocek2013-02-2712-0/+154
| | | | | | | Also fix build problems with libblkid in CM7 Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: I1cd4573e25b247171e4bd8cc05b70543f897a454
* Remove ignore image size settingDees_Troy2013-02-2112-122/+175
| | | | | Move military time setting up and remove the now unused ignore image size setting from XML layouts.
* Check for root and root perms and offer to install/fixDees_Troy2013-02-2111-8/+1618
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* add military time optionbigbiff bigbiff2013-02-2112-1/+98
|
* Configurable timeout and brightness settingsDees_Troy2013-02-2012-257/+1599
| | | | Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
* Fix keyboard layout on 800x1280Dees_Troy2013-02-151-6/+6
|
* Update listbox codeDees_Troy2013-02-1512-60/+72
|
* Add highlight to file selectorDees_Troy2013-02-1512-77/+168
|
* Add button highlightDees_Troy2013-02-1512-13/+1018
|
* adding sideload page with wipe cache and dalvikbigbiff bigbiff2013-01-2512-132/+732
| | | | | fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
* Use GUI for ORS instead of console onlyDees_Troy2013-01-2512-184/+62
|
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-1/+3
| | | | | | | Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
* Fix keyboard layout on 800x1280 layoutDees_Troy2012-12-181-1/+1
|
* add Decrypt Data buttonGary Peck2012-11-2212-0/+144
| | | | | | | Allow to decrypt /data even if decryption was skipped during the initial loading of recovery Change-Id: If2251757a276dd069578e93e5a038b25a825bff6
* Fix renaming of backups with spaces, 2.3.2.3Dees_Troy2012-11-1911-11/+11
|
* Finish 2560x1600 themeDees_Troy2012-11-1941-120/+120
|
* Fixes for multi-user in 4.2Dees_Troy2012-11-1551-11/+3634
| | | | | | Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
* Add keyboard key highlightDees_Troy2012-10-2011-0/+11
|
* Remove text about fix perms taking a few minsDees_Troy2012-10-1011-22/+0
|
* Add reboot system button after sideload, backup, and restoreDees_Troy2012-10-0811-341/+385
| | | | A few other minor xml tweaks
* Fix exclamation point on 720x1280 themeDees_Troy2012-10-081-2/+4
|
* Fix some derpsDees_Troy2012-09-281-0/+0
|
* Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy2012-09-2821-17/+169
|
* Add option to wipe android secureDees_Troy2012-09-2611-0/+198
|
* Fix SDCard partitioningDees_Troy2012-09-2611-11/+11
|
* Allow spaces in backup namesDees_Troy2012-09-2611-22/+22
|
* Unify portrait layouts againDees_Troy2012-09-266-409/+404
|
* Change curtain to file and remove curtain raiseDees_Troy2012-09-2422-31863/+0
|
* Update tablet layouts with ADB sideloadDees_Troy2012-09-245-2/+187
|
* Fix 320x480 themeDees_Troy2012-09-221-37/+37
|
* Update portrait themes with ADB sideloadDees_Troy2012-09-203-27/+141
|
* Various fixesDees_Troy2012-09-201-0/+38
| | | | | | Modify AOSP mount and wipe functions to use Partition Manager. Update wipe code to reset the log file index when wiping cache. Add ADB sideload to 540x960 theme.
* Improve adb sideload -- add cancelDees_Troy2012-09-191-3/+67
| | | | | Also copy zip from /tmp to storage and remove from /tmp to prevent running out of RAM.
* Update backup and restore code, adb sideloadDees_Troy2012-09-171-0/+15
| | | | | | | Fixed a problem with using make_ext4fs by making its lib a dynamic lib. Added ADB sideload zip install feature - no way to cancel it yet. Improve backup and restore code.
* TWRP-ify AOSP codeDees_Troy2012-09-05448-0/+70673
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere