summaryrefslogtreecommitdiffstats
path: root/data.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for temperatures in tenths of a degree CelsiusHandyMenny2014-10-211-1/+3
| | | | Change-Id: I3aa7c3d193715b8c309a99afd23e753a559e3083
* display cpu temperature in twrpJenkins2014-10-141-2/+47
| | | | | | | use TW_NO_CPU_TEMP := true to disable display use TW_CPU_CUSTOM_PATH := path to set custom path Change-Id: Id260ecbb4ec36a78442387329944f67003d0f6a0
* Attempt to automatically identify data/media devicesEthan Yonker2014-09-201-181/+5
| | | | Change-Id: Ia3007fbced9ce3bc94efdb3dacc582a5e68a49a4
* Allow MTP debug setting to stick through a rebootEthan Yonker2014-09-041-0/+1
| | | | Change-Id: I81eb5eaa2286c0ee3078e01304d65b9489f13bf2
* add mtp responder to TWRP.bigbiff bigbiff2014-09-031-0/+8
| | | | | | Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
* Support reading since_epoch and secondary brightness filesxNUTx2014-08-101-6/+14
| | | | | | | | | | | | | | | 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
* Fix setting of brightness during startupEthan Yonker2014-07-091-7/+9
| | | | Change-Id: I1bd01df971857a2dd5e75ed87c488d075d765527
* Whitespace and minor code cleanupMatt Mower2014-06-041-2/+2
| | | | | | This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
* Fix crash while loading config due to incorrect tw_storage_pathVojtech Bocek2014-05-311-2/+9
| | | | | Change-Id: Ia5957efe616defa4272501cd8f31d26d394077bb Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Fix handling of storage with data/media vs data/media/0Ethan Yonker2014-04-161-3/+4
| | | | | | | | | Sometimes loading the values from the settings file may set the storage path to /data/media when the proper path is /data/media/0 This commit will grab the storage path from the partition manager to ensure that we are using the proper path. Change-Id: Ibfd63125a2b9705319eb55b09c7e65391757bbc2
* Add additional search path for brightnessEthan Yonker2014-04-161-0/+1
| | | | Change-Id: Ib1f032d87aafd7732d460caeca1e3ae6745a563d
* Add find file class to search for filesEthan Yonker2014-04-151-4/+19
| | | | | | | | | | | Scan a folder for a file based on file name. First scan the files in the current path, then search real directories and finally search symlinks in that order. Goal is to locate important sysfs files for things like brightness, battery capacity, lun files, etc This implementation just scans for the brightness file for the LCD Change-Id: I8ed3e74a2e2851d58b443718b6e92b50a5491f08
* Tweak OEM modeEthan Yonker2014-04-041-21/+1
| | | | Change-Id: Ic440e33fa22aa7b082097366f10b333cc945362a
* Allow building of an OEM friendly TWRPEthan Yonker2014-04-041-0/+4
| | | | | | | | Disable theming Disable creating the TWRP folder for the settings file Change factory reset on data/media devices to a full wipe Change-Id: I3104282b5dd3f55dfff7c8cf39c72750af08563d
* Expansion of vibrate optionsEthan Yonker2014-02-071-1/+3
| | | | | | | 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/+10
| | | | Change-Id: I15d723f73c0b0bb4a40645d1c3f4c1c616f36998
* Update licenses to all matchDees Troy2013-10-221-14/+16
|
* Pull ROM info from build.prop for backup namesDees Troy2013-09-121-1/+1
| | | | Change-Id: I7847fca22b5d4f0a35da41625b15bd677a1e9768
* Fix zip folder selection when storage path is similarDees Troy2013-09-101-2/+1
| | | | | | | If internal is /sdcard and external is /sdcard-ext then the zip path used to stay on /sdcard-ext when trying to switch to internal storage. Using Get_Root_Path instead of resizing will ensure that the path changes properly.
* Add a TW_NO_TIMEOUT optionRicardo Gomez2013-08-251-5/+21
| | | | Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-330/+336
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* 2.6.0.0Dees_Troy2013-07-031-0/+2
| | | | | Also copy recovery.fstab to cache and create a storage.fstab in cache for app/apk use.
* Fix saving of backup listDees_Troy2013-07-011-2/+2
|
* Fix issue with save/load of zip locationDees_Troy2013-07-011-6/+4
|
* Support encrypted backup filesDees_Troy2013-06-221-0/+7
| | | | | | | | | | | | | | | 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-041-17/+9
| | | | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com> Change-Id: Ic5d44314f501341140dd7059d1cb753341f5844c
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-36/+61
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* Add partition list GUI elementDees_Troy2013-03-301-109/+59
| | | | | | | | | | | | 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
* Add option for custom battery pathDees_Troy2013-03-011-0/+12
|
* Load user saved setting for blank timer on recovery startupbigbiff bigbiff2013-02-281-2/+5
| | | | Fix persistence of military time
* Remove ignore image size settingDees_Troy2013-02-211-1/+0
| | | | | 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-211-0/+1
| | | | | | Also fix sort order for file selector by date and file sizes Change-Id: Idff9fe4232c19d4ed1082e78fabe6f921aa0a114
* add military time optionbigbiff bigbiff2013-02-211-7/+15
|
* Configurable timeout and brightness settingsDees_Troy2013-02-201-1/+39
| | | | Change-Id: I924297ab0dcf920cd4b4b617949c3b16cbc68e43
* convert file_bps to be unsigned long longbigbiff bigbiff2013-02-191-0/+18
| | | | Change-Id: Ib5d9ca8f9a2a4e27d9798665b312376a7d9c571c
* Add TW_USE_MODEL_HADWARE_ID_FOR_DEVICE_ID parameter for correct model identificationAnatoly Smaznov2013-02-191-0/+28
| | | | Change-Id: Ic6440c624b5cfbdb0f24681461748a0da16bf95e
* fix wrong debuging output of used BUILD FLAGS in data.cppTalustus2013-02-021-2/+2
|
* adding sideload page with wipe cache and dalvikbigbiff bigbiff2013-01-251-1/+3
| | | | | fix variable Change-Id: I72eed7b4d709a184e53cc94165a1817a7dcf041e
* Output most build flags to logDees_Troy2013-01-241-5/+24
| | | | Change-Id: I28f62236c5d5fa882cb5c05973ebf84da006b9ff
* Disable USB Mass Storage if the USB lun file does not exist.Dees_Troy2013-01-241-1/+15
| | | | Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880
* Save version to cacheDees_Troy2013-01-171-4/+10
|
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-3/+1
| | | | | | | 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 SP variable namesbigbiff bigbiff2012-11-241-2/+2
|
* Fixes for multi-user in 4.2Dees_Troy2012-11-151-24/+19
| | | | | | Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
* Fix output of version numberDees_Troy2012-10-011-1/+29
|
* Port reboot functions to C++Dees_Troy2012-09-271-8/+4
|
* Unify portrait layouts againDees_Troy2012-09-261-9/+12
|
* Fix special partition handlingDees_Troy2012-09-211-0/+9
|
* Fix ext storage and zip pathsDees_Troy2012-09-191-1/+5
| | | | | | Fix a bug with handling external storage during boot. Check zip root path when switching storage and ensure that the path is in the new storage path to prevent user confusion.
* Cleanup extra-functionsDees_Troy2012-09-181-8/+12
|
* Add wipe functions, compiles in CM7, text shows in UI, zips installDees_Troy2012-09-141-3/+29
| | | | | | | | Zip install works, had to move mincrypt code into TWRP to prevent a crash when checking the zip signature. Added wipe functions Made it compile in CM7 Made text show up in console and logging
* Move device ID code to data managerDees_Troy2012-09-111-9/+130
|
* Improve storage size code, mount, unmountDees_Troy2012-09-101-6/+0
| | | | Add flag parsing from recovery.fstab
* Add processing of fstab, mounting, and decryptDees_Troy2012-09-071-7/+7
|
* Hax to make it bootDees_Troy2012-09-061-2/+3
|
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+918
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