summaryrefslogtreecommitdiffstats
path: root/variables.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-03-20Adding Edl button in reboot menumauronofrio1-0/+1
Edl mode is available only on qualcomm devices and it used to fully restore the bricked devices. I made the button available only if TW_HAS_EDL_MODE := true like the download button. I set the edl button to the right of the download button, so devices can support edl button and download button. I also added the translation for all languages. Change-Id: I69d1058b8c050b722395c7b3da6dce1ccfbe7a91
2019-03-18AB/Non AB Devices: updates for moving cachebigbiff bigbiff1-2/+0
This patchset updates all the places we touch cache on AB devices and non AB devices so that we can write to the appropriate location. AB devices removed the cache partition and moved it to /data/cache. Change-Id: I485ec205a604f1f07ceb7700ae9c4e720fd55c3e
2018-07-273.2.3Ethan Yonker1-1/+1
Change-Id: I4f40c8c83e739c096f6de35b2b06b6426fbf6faf
2018-06-293.2.2Ethan Yonker1-1/+1
Change-Id: I45600c6af55e1316a5ec97b88b74f76779826597
2017-12-08TWRP Bugfix releasebigbiff bigbiff1-1/+1
This release fixes restore by forcing regular TWRP Backup by default. Thanks to jlask for fixing this issue. Change-Id: I0b2d507d7a2a3e6bfdd00174af89efbe511e90e0
2017-11-293.2.0Ethan Yonker1-1/+1
Change-Id: I526aaf59a903baccea77e2f731c3166c3d3c05eb
2017-06-17twrpDigest refactorbigbiff bigbiff1-5/+7
This patch is to refactor twrpDigest using polymorphism and inheritance to use the same call patterns for creating and reading a digest. Now a library. Use SHA2 from libcrypto. SHA2 is default if device has libcrypto. Change string MD5 everywhere to use digest or Digest instead. Updated string tags to digest. Translation will be required. Switch out digest code into a driver class from partitionmanager. SHA2 is better for digest creation due to decreased collision space compared to MD5 and SHA1. See https://en.wikipedia.org/wiki/SHA-2 Change-Id: I74b5546789990b12aa4ce2e389d25f80a3fe213f
2017-05-123.1.1Ethan Yonker1-1/+1
Change-Id: I6ab4169836e460d1652d29c24ad1c5a55191efe7
2017-03-083.1.0Ethan Yonker1-1/+1
Change-Id: Iab21513c7d703304a4591fdf5af1317e2336a8a7
2017-01-18TWRP device version stringbigbiff bigbiff1-1/+2
For building through jenkins. Export a variable to the shell so that we don't monkey patch variables.h and keep the git tag clean in the version string. Jenkins will export the variable TW_DEVICE_VERSION=n where n > 0. The makefile will use this variable to show the device string in twrp startup. For mass production builds, omit the environment variable to default to 0. Change-Id: I0d6eb764255d7069c0fb4a378522a009cfe4054f
2016-12-16Change version to 3.0.3 to support the app releaseEthan Yonker1-1/+1
Change-Id: I2e1afc76edd77208e9e94162a7045453109c74d2
2016-12-13Support File Based EncryptionEthan Yonker1-0/+1
Change-Id: Ib688ddd0c32d3999590cacd86b6d9b18eac336e9
2016-08-19Fixup reboot after install variablesMatt Mower1-1/+1
* Create correctly named data manager variable 'tw_install_reboot' * Make configurable through Settings * Remove closing tag space in theme files (not personal preference, but should match surrounding code style) * Fix the "two presses needed to enable" issue for the checkbox on the install screen Change-Id: I0ceb60b4888a672e2f0ecb5672b03cc86615621a
2016-08-19Finish creating disable_free_space_check variableMatt Mower1-0/+1
* Create data manager variable for 'tw_disable_free_space' * Make configurable through Settings * Fix the "two presses needed to enable" issue for the checkbox on the backup screen * No need to capitalize every word, but do specify precedes backup Change-Id: Id436cef13e4ca9349618420aac03862ec4e3c35e
2016-04-043.0.2-0Ethan Yonker1-1/+1
Change-Id: I28fa04cb90dd4255db9dc5d771416ab8d456de46
2016-04-02Really remove all old SP* flags and codeEthan Yonker1-4/+0
Change-Id: I5ece02a8721e1b7541fb5182366a55fd0f037a7a
2016-03-313.0.1-0Ethan Yonker1-1/+1
Change-Id: Iecf5c3f70559ef90e18f4807f80707fa5a3c78f0
2016-03-31DataManager UpdatesEthan Yonker1-13/+0
The goal of this change is to make DataManager use InfoManager to reduce code duplication. Change-Id: Ia4f4c4324453a192995e0f442db0a03628c13e46
2016-02-053.0.0-0Ethan Yonker1-1/+1
For better or worse, here we go... Change-Id: Ic1150b59e4ebf34f06c689b2a1b10ae691a027bd
2016-01-22Improve max brightness handlingTatsuyuki Ishi1-4/+0
If we can detect the directory, why don't we detect maximum as well? Additional patch by: Matt Mower Replace clunky /nobrightness handling Cleanup TWFunc::Set_Brightness() and blanktimer::getBrightness() a bit, primarily for the purpose of relying on the value in tw_has_brightnesss_file instead of checking for a phony brightness path. Change-Id: Ib22595df53cefa8db7a1172a581984c42ad461c6
2015-12-22Remove dead code: TW_HAS_DUAL_STORAGEMatt Mower1-1/+0
Nothing sets TW_HAS_DUAL_STORAGE. Remove this dead code. Change-Id: Id5d10c9ee3883dad6beef69e09d16b0f1350c91d
2015-10-15Update CUSTOM_LUN_FILE from AOSP USB configCaptain Throwback1-1/+1
AOSP has used a standard USB config for the last 3 years. Time to update TWRP for devices that still use UMS. Reference: https://android.googlesource.com/platform/system/core/+/master/rootdir/init.usb.rc Change-Id: I59690f955a7d6db9ae9d607d46299652b52fe8b8
2015-06-202.8.7.0Ethan Yonker1-1/+1
Change-Id: I712e2d51e412ab5c6167f7c7b29ebf987cd6963c
2015-03-252.8.6.0Ethan Yonker1-1/+1
Change-Id: Ibab69893bee968cfac8e25a4f166acf7cc8b4fc9
2015-03-13Add UI for entering pattern for device decryptionVojtech Bocek1-0/+1
Change-Id: Ia2d3268a96423e9ca3846500c57e674c4f8fa60b Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2015-02-122.8.5.0Ethan Yonker1-1/+1
Change-Id: I88711ed77244e2275b268f9d3464c5d848aceef3
2015-01-132.8.4.0Ethan Yonker1-1/+1
Change-Id: Iee99e021e8ec721ab1c12fcbcf5e7059b871ea0a
2014-12-222.8.3.0Ethan Yonker1-1/+1
Change-Id: If2084a8c8815b079db6b6a6b45ea180ba1282092
2014-11-062.8.2.0Ethan Yonker1-1/+1
Change-Id: I8d689db9c8bf5ff6c5175ee9185e89ab72a1a2fd
2014-10-222.8.1.0Ethan Yonker1-1/+1
Change-Id: Idd08b4a2d388fa4d456f53a6794e7e606e9025e7
2014-09-03add mtp responder to TWRP.bigbiff bigbiff1-1/+1
Big thanks to Dees_Troy for helping with the implementation. Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
2014-06-042.7.1.0Dees Troy1-1/+1
Change-Id: I5584df4e6db8b611d1975edeba39415ee2387529
2014-03-062.7.0.0Dees Troy1-1/+1
Change-Id: I8e0a91ee9fe97c833a4f06ffb83b1b2e3c31f06f
2013-09-122.6.3.0Dees Troy1-1/+1
2013-08-30Update SuperSU for 4.3 SELinux, 2.6.1.0Dees_Troy1-1/+1
Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
2013-08-25Add a TW_NO_TIMEOUT optionRicardo Gomez1-1/+1
Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
2013-07-032.6.0.0Dees_Troy1-1/+1
Also copy recovery.fstab to cache and create a storage.fstab in cache for app/apk use.
2013-06-22Support encrypted backup filesDees_Troy1-0/+1
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-04-04Move all AOSP code out of recovery binaryDees_Troy1-0/+1
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-03-30Add partition list GUI elementDees_Troy1-1/+1
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-122.4.4.0Dees_Troy1-1/+1
2013-03-01Change version to 2.4.3.0Dees_Troy1-1/+1
2013-02-25Change version to 2.4.2.0Dees_Troy1-2/+2
2013-02-21Remove ignore image size settingDees_Troy1-182/+181
Move military time setting up and remove the now unused ignore image size setting from XML layouts.
2013-02-21add military time optionbigbiff bigbiff1-0/+1
2013-02-13This adds a 60 second screen timeout for TWRP. Might consider making this configurable in the future.bigbiff bigbiff1-178/+182
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-012.4.1.0Dees_Troy1-1/+1
2013-01-28Change version to 2.4.0.0Dees_Troy1-1/+1
2013-01-24Convert AOSP commands to ORS for encrypted devicesDees_Troy1-0/+4
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
2013-01-24Disable USB Mass Storage if the USB lun file does not exist.Dees_Troy1-0/+4
Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880
2013-01-24change tar create to pthreadbigbiff bigbiff1-2/+2
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-4/+4
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
2012-12-18Update version to 2.3.3.0Dees_Troy1-1/+1
2012-11-19Fix renaming of backups with spaces, 2.3.2.3Dees_Troy1-1/+1
2012-11-16Fix fix permissionsDees_Troy1-1/+1
2012-11-15Fixes for multi-user in 4.2Dees_Troy1-1/+1
Also fixed inability to delete backups with a space in the name. Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
2012-11-14add exfat to partitions.cppbigbiff bigbiff1-1/+1
2012-10-15Fix weird keyboard problemDees_Troy1-1/+1
2012-10-15Bump version to 2.3.1.0Dees_Troy1-1/+1
2012-10-14Handle single lun file for USB storageDees_Troy1-1/+1
2012-10-13Bump version to 2.3.0.3Dees_Troy1-1/+1
2012-10-12Bump version numberDees_Troy1-1/+1
2012-10-10Finalize 2.3.0.0Dees_Troy1-1/+1
Fix permission setting for other Add new fix permissions to GUI actions Update version number
2012-09-28Revert busybox for CM7 compatibility, add exclamation point to format dataDees_Troy1-1/+1
2012-09-26Update version and readmeDees_Troy1-1/+1
2012-09-26Unify portrait layouts againDees_Troy1-0/+5
2012-09-05TWRP-ify AOSP codeDees_Troy1-0/+165
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