| Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Change-Id: I6ab4169836e460d1652d29c24ad1c5a55191efe7
|
|
Change-Id: Iab21513c7d703304a4591fdf5af1317e2336a8a7
|
|
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
|
|
Change-Id: I2e1afc76edd77208e9e94162a7045453109c74d2
|
|
Change-Id: Ib688ddd0c32d3999590cacd86b6d9b18eac336e9
|
|
* 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
|
|
* 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
|
|
Change-Id: I28fa04cb90dd4255db9dc5d771416ab8d456de46
|
|
Change-Id: I5ece02a8721e1b7541fb5182366a55fd0f037a7a
|
|
Change-Id: Iecf5c3f70559ef90e18f4807f80707fa5a3c78f0
|
|
The goal of this change is to make DataManager use InfoManager to reduce
code duplication.
Change-Id: Ia4f4c4324453a192995e0f442db0a03628c13e46
|
|
For better or worse, here we go...
Change-Id: Ic1150b59e4ebf34f06c689b2a1b10ae691a027bd
|
|
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
|
|
Nothing sets TW_HAS_DUAL_STORAGE. Remove this dead code.
Change-Id: Id5d10c9ee3883dad6beef69e09d16b0f1350c91d
|
|
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
|
|
Change-Id: I712e2d51e412ab5c6167f7c7b29ebf987cd6963c
|
|
Change-Id: Ibab69893bee968cfac8e25a4f166acf7cc8b4fc9
|
|
Change-Id: Ia2d3268a96423e9ca3846500c57e674c4f8fa60b
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
|
|
Change-Id: I88711ed77244e2275b268f9d3464c5d848aceef3
|
|
Change-Id: Iee99e021e8ec721ab1c12fcbcf5e7059b871ea0a
|
|
Change-Id: If2084a8c8815b079db6b6a6b45ea180ba1282092
|
|
Change-Id: I8d689db9c8bf5ff6c5175ee9185e89ab72a1a2fd
|
|
Change-Id: Idd08b4a2d388fa4d456f53a6794e7e606e9025e7
|
|
Big thanks to Dees_Troy for helping with the implementation.
Change-Id: I6c9c522b9c9de5dc139e2ecb0141008182ba07f0
|
|
Change-Id: I5584df4e6db8b611d1975edeba39415ee2387529
|
|
Change-Id: I8e0a91ee9fe97c833a4f06ffb83b1b2e3c31f06f
|
|
|
|
Change-Id: Ib7f882db8a8c61d1156c03468208205124132b6c
|
|
Change-Id: Ifb3a5bd9f1e6c2e9810c90b0aec198e91d5956fc
|
|
Also copy recovery.fstab to cache and create a storage.fstab in
cache for app/apk use.
|
|
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
|
|
Improves license compatibility between GPL and Apache
Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
|
|
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
|
|
|
|
|
|
|
|
Move military time setting up and remove the now unused ignore
image size setting from XML layouts.
|
|
|
|
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
|
|
|
|
|
|
Change-Id: I6a76a51cd9efd7db67d7abeeb26f9bdd0eebf5a9
|
|
Change-Id: I185edb4538fa84c17fc2b9a803557bb7a622f880
|
|
Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
|
|
Add proper mkdosfs tool
Add fuse to TWRP
Add experimental exfat-fuse to TWRP
Convert all system() functions to use new Exec_Cmd function
|
|
|
|
|
|
|
|
Also fixed inability to delete backups with a space in the name.
Change-Id: I2f6639d33caa3c4542960f76adbd59b25ab64f5d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix permission setting for other
Add new fix permissions to GUI actions
Update version number
|
|
|
|
|
|
|
|
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
|