| Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Change-Id: I8f92c19f9e947da29dc25f3b88f69413a13af64d
|
|
Change-Id: I3141cc4b1b2c5070d30485f0523e4e606f7707aa
|
|
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: I3159a2a0c37589f9472aba83b699840356da33a7
|
|
Change-Id: I05d0e8516686ba2610ea4b437c83323e84eb4595
|