commit | 6d3bf891c4b6368279dc7cd0bc47a181acf037b7 | [log] [tgz] |
---|---|---|
author | mauronofrio <poronofrio@gmail.com> | Sat Oct 26 19:47:55 2019 +0200 |
committer | bigbiff <bigbiff@teamw.in> | Wed Jun 10 22:31:49 2020 +0000 |
tree | cbbb1387642feafd197b6fc3520599b95ccf1713 | |
parent | 87d73d6620ea7a848ece78c1ede326f66efb8f2f [diff] [blame] |
Add ozip decryption for Oppo/Realme device This function will automatically decrypt .ozip file in a .zip and it will save the .zip in the same folder of the .ozip and with the same name. After the decryption, the flash will start. To enable this function you have to set a Boardconfig flag with the decryption key like i did here: https://github.com/mauronofrio/android_device_realme_RMX1901/commit/a30625f80a31b9b85e4948fc9f9beeb61d5bcb8a Original projects: https://github.com/sabpprook/ozip2zip https://github.com/bkerler/oppo_ozip_decrypt Change-Id: Ic93243a565008c442bcf2992069b2801532ac7c1 (cherry picked from commit 0ff59845f2f8dddedb4cee9a9faf86a6294cce66)
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml index 85b65b8..67c8f91 100755 --- a/gui/theme/common/landscape.xml +++ b/gui/theme/common/landscape.xml
@@ -310,7 +310,7 @@ <condition var1="tw_selectimage" var2="0"/> <placement x="%col2_x_left%" y="%row1a_y%" w="%fileselector_install_width%" h="%fileselector_install_height%"/> <text>%tw_zip_location%</text> - <filter extn=".zip" folders="0" files="1"/> + <filter extn=".zip;.ozip;.ZIP;.OZIP" folders="0" files="1"/> <path name="tw_zip_location" default="/sdcard"/> <data name="tw_filename"/> <selection name="tw_file"/>