From: Simon Sickle Date: Tue, 28 Nov 2017 18:44:52 +0000 (-0600) Subject: Update blobs from latest stock recovery X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bdda2470bc13e373ad2cfcdbfb9b29ebc994237;p=GitHub%2Fmoto-9609%2Ftwrp_device_motorola_troika.git Update blobs from latest stock recovery --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 8b2391f..9758e17 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -66,7 +66,7 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 BOARD_PERSISTIMAGE_PARTITION_SIZE := 33554432 BOARD_PERSISTIMAGE_FILE_SYSTEM_TYPE := ext4 -BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64) +BOARD_FLASH_BLOCK_SIZE := 266240 # (BOARD_KERNEL_PAGESIZE * 64) BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 TARGET_COPY_OUT_VENDOR := vendor @@ -93,5 +93,7 @@ TW_EXTRA_LANGUAGES := true TW_INCLUDE_NTFS_3G := true TW_INPUT_BLACKLIST := "hbtp_vm" TW_EXCLUDE_SUPERSU := true +TW_EXCLUDE_DEFAULT_USB_INIT := true +TW_NO_USB_STORAGE := true TW_SCREEN_BLANK_ON_BOOT := true TW_INCLUDE_CRYPTO := true \ No newline at end of file diff --git a/recovery/root/init.recovery.qcom.rc b/recovery/root/init.recovery.qcom.rc index cecd696..a8d8920 100644 --- a/recovery/root/init.recovery.qcom.rc +++ b/recovery/root/init.recovery.qcom.rc @@ -38,16 +38,17 @@ on fs install_keyring service qseecomd /sbin/qseecomd - oneshot disabled - user root - group root + seclabel u:r:recovery:s0 + +service gatekeeperd /sbin/gatekeeperd /data/misc/gatekeeper + disabled seclabel u:r:recovery:s0 on boot # save battery by switching to interactive once booted write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor interactive write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor interactive - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor interactive - write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor interactive + write /sys/devices/system/cpu/cpu2/online 0 + write /sys/devices/system/cpu/cpu3/online 0 start sbinqseecomd \ No newline at end of file diff --git a/recovery/root/init.recovery.usb.rc b/recovery/root/init.recovery.usb.rc index f64186e..ba257c7 100644 --- a/recovery/root/init.recovery.usb.rc +++ b/recovery/root/init.recovery.usb.rc @@ -25,7 +25,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -on boot +on fs + mount pstore pstore /sys/fs/pstore mkdir /dev/usb-ffs 0770 shell shell mkdir /dev/usb-ffs/adb 0770 shell shell mount configfs none /config @@ -36,33 +37,13 @@ on boot write /config/usb_gadget/g1/strings/0x409/serialnumber ${ro.serialno} write /config/usb_gadget/g1/strings/0x409/manufacturer ${ro.product.manufacturer} write /config/usb_gadget/g1/strings/0x409/product ${ro.product.model} - mkdir /config/usb_gadget/g1/functions/mass_storage.0 - mkdir /config/usb_gadget/g1/functions/mtp.gs0 - mkdir /config/usb_gadget/g1/functions/ptp.gs1 - mkdir /config/usb_gadget/g1/functions/accessory.gs2 - mkdir /config/usb_gadget/g1/functions/audio_source.gs2 - mkdir /config/usb_gadget/g1/functions/audio_source.gs3 - mkdir /config/usb_gadget/g1/functions/midi.gs5 mkdir /config/usb_gadget/g1/functions/ffs.adb - mkdir /config/usb_gadget/g1/functions/diag.diag - mkdir /config/usb_gadget/g1/functions/cser.dun.0 - mkdir /config/usb_gadget/g1/functions/cser.nmea.1 - mkdir /config/usb_gadget/g1/functions/gsi.rmnet - mkdir /config/usb_gadget/g1/functions/gsi.rndis - mkdir /config/usb_gadget/g1/functions/gsi.dpl - mkdir /config/usb_gadget/g1/functions/qdss.qdss - mkdir /config/usb_gadget/g1/functions/rndis_bam.rndis - mkdir /config/usb_gadget/g1/functions/rmnet_bam.rmnet - mkdir /config/usb_gadget/g1/functions/rmnet_bam.dpl - mkdir /config/usb_gadget/g1/functions/ncm.0 - mkdir /config/usb_gadget/g1/functions/ccid.ccid mkdir /config/usb_gadget/g1/configs/b.1 0770 shell shell mkdir /config/usb_gadget/g1/configs/b.1/strings/0x409 0770 shell shell write /config/usb_gadget/g1/os_desc/b_vendor_code 0x1 write /config/usb_gadget/g1/os_desc/qw_sign "MSFT100" symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1 mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000 - write /sys/class/android_usb/android0/f_ffs/aliases adb on property:sys.usb.config=none write /config/usb_gadget/g1/UDC "none" @@ -77,17 +58,17 @@ on property:sys.usb.config=adb start adbd on property:sys.usb.ffs.ready=1 && property:sys.usb.config=adb - write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "adb" + write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "Recovery mode" rm /config/usb_gadget/g1/configs/b.1/f1 rm /config/usb_gadget/g1/configs/b.1/f2 rm /config/usb_gadget/g1/configs/b.1/f3 rm /config/usb_gadget/g1/configs/b.1/f4 rm /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/idVendor 0x18d1 - write /config/usb_gadget/g1/idProduct 0x4ee7 + write /config/usb_gadget/g1/idVendor 0x18D1 + write /config/usb_gadget/g1/idProduct 0xD001 + write /config/usb_gadget/g1/strings/0x409/product "OnePlus" symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f1 - write /config/usb_gadget/g1/UDC ${sys.usb.controller} - setprop sys.usb.state ${sys.usb.config} + write /config/usb_gadget/g1/UDC "a800000.dwc3" on property:sys.usb.config=mtp write /config/usb_gadget/g1/configs/b.1/strings/0x409/configuration "mtp" @@ -96,8 +77,8 @@ on property:sys.usb.config=mtp rm /config/usb_gadget/g1/configs/b.1/f3 rm /config/usb_gadget/g1/configs/b.1/f4 rm /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/idVendor 0x2717 - write /config/usb_gadget/g1/idProduct 0xff40 + write /config/usb_gadget/g1/idVendor 0x18D1 + write /config/usb_gadget/g1/idProduct 0xD001 symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 write /config/usb_gadget/g1/UDC ${sys.usb.controller} setprop sys.usb.state ${sys.usb.config} @@ -112,8 +93,8 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.config=mtp,adb rm /config/usb_gadget/g1/configs/b.1/f3 rm /config/usb_gadget/g1/configs/b.1/f4 rm /config/usb_gadget/g1/configs/b.1/f5 - write /config/usb_gadget/g1/idVendor 0x2717 - write /config/usb_gadget/g1/idProduct 0xff48 + write /config/usb_gadget/g1/idVendor 0x18D1 + write /config/usb_gadget/g1/idProduct 0xD001 symlink /config/usb_gadget/g1/functions/mtp.gs0 /config/usb_gadget/g1/configs/b.1/f1 symlink /config/usb_gadget/g1/functions/ffs.adb /config/usb_gadget/g1/configs/b.1/f2 write /config/usb_gadget/g1/UDC ${sys.usb.controller} diff --git a/recovery/root/sbin/qseecomd b/recovery/root/sbin/qseecomd old mode 100644 new mode 100755 index a64b6a2..c132b97 Binary files a/recovery/root/sbin/qseecomd and b/recovery/root/sbin/qseecomd differ diff --git a/recovery/root/vendor/lib64/hw/gatekeeper.msm8998.so b/recovery/root/vendor/lib64/hw/gatekeeper.msm8998.so old mode 100644 new mode 100755 index 86e3bdb..144c8d4 Binary files a/recovery/root/vendor/lib64/hw/gatekeeper.msm8998.so and b/recovery/root/vendor/lib64/hw/gatekeeper.msm8998.so differ diff --git a/recovery/root/vendor/lib64/hw/keystore.msm8998.so b/recovery/root/vendor/lib64/hw/keystore.msm8998.so old mode 100644 new mode 100755 index e260b38..6129c97 Binary files a/recovery/root/vendor/lib64/hw/keystore.msm8998.so and b/recovery/root/vendor/lib64/hw/keystore.msm8998.so differ diff --git a/recovery/root/vendor/lib64/lib-sec-disp.so b/recovery/root/vendor/lib64/lib-sec-disp.so deleted file mode 100644 index fc2f13f..0000000 Binary files a/recovery/root/vendor/lib64/lib-sec-disp.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libGPreqcancel.so b/recovery/root/vendor/lib64/libGPreqcancel.so old mode 100644 new mode 100755 index b80065a..030f9b3 Binary files a/recovery/root/vendor/lib64/libGPreqcancel.so and b/recovery/root/vendor/lib64/libGPreqcancel.so differ diff --git a/recovery/root/vendor/lib64/libGPreqcancel_svc.so b/recovery/root/vendor/lib64/libGPreqcancel_svc.so old mode 100644 new mode 100755 index bb1237c..bfb083f Binary files a/recovery/root/vendor/lib64/libGPreqcancel_svc.so and b/recovery/root/vendor/lib64/libGPreqcancel_svc.so differ diff --git a/recovery/root/vendor/lib64/libQSEEComAPI.so b/recovery/root/vendor/lib64/libQSEEComAPI.so old mode 100644 new mode 100755 index 18c39b7..462c0fe Binary files a/recovery/root/vendor/lib64/libQSEEComAPI.so and b/recovery/root/vendor/lib64/libQSEEComAPI.so differ diff --git a/recovery/root/vendor/lib64/libSecureUILib.so b/recovery/root/vendor/lib64/libSecureUILib.so deleted file mode 100644 index bc8106c..0000000 Binary files a/recovery/root/vendor/lib64/libSecureUILib.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libStDrvInt.so b/recovery/root/vendor/lib64/libStDrvInt.so deleted file mode 100644 index 67d6030..0000000 Binary files a/recovery/root/vendor/lib64/libStDrvInt.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libdiag.so b/recovery/root/vendor/lib64/libdiag.so old mode 100644 new mode 100755 index 54fcca3..2d2a493 Binary files a/recovery/root/vendor/lib64/libdiag.so and b/recovery/root/vendor/lib64/libdiag.so differ diff --git a/recovery/root/vendor/lib64/libdrmfs.so b/recovery/root/vendor/lib64/libdrmfs.so old mode 100644 new mode 100755 index 979fad0..d65aea8 Binary files a/recovery/root/vendor/lib64/libdrmfs.so and b/recovery/root/vendor/lib64/libdrmfs.so differ diff --git a/recovery/root/vendor/lib64/libdrmtime.so b/recovery/root/vendor/lib64/libdrmtime.so old mode 100644 new mode 100755 index b4626fa..a5cdb35 Binary files a/recovery/root/vendor/lib64/libdrmtime.so and b/recovery/root/vendor/lib64/libdrmtime.so differ diff --git a/recovery/root/vendor/lib64/libqisl.so b/recovery/root/vendor/lib64/libqisl.so old mode 100644 new mode 100755 index 0c3084e..0904d82 Binary files a/recovery/root/vendor/lib64/libqisl.so and b/recovery/root/vendor/lib64/libqisl.so differ diff --git a/recovery/root/vendor/lib64/librpmb.so b/recovery/root/vendor/lib64/librpmb.so old mode 100644 new mode 100755 index 5877cfc..2bd3ea0 Binary files a/recovery/root/vendor/lib64/librpmb.so and b/recovery/root/vendor/lib64/librpmb.so differ diff --git a/recovery/root/vendor/lib64/libsecureui.so b/recovery/root/vendor/lib64/libsecureui.so deleted file mode 100644 index 7613312..0000000 Binary files a/recovery/root/vendor/lib64/libsecureui.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libsecureui_svcsock.so b/recovery/root/vendor/lib64/libsecureui_svcsock.so deleted file mode 100644 index ab9caca..0000000 Binary files a/recovery/root/vendor/lib64/libsecureui_svcsock.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libspl.so b/recovery/root/vendor/lib64/libspl.so deleted file mode 100644 index 8d22adf..0000000 Binary files a/recovery/root/vendor/lib64/libspl.so and /dev/null differ diff --git a/recovery/root/vendor/lib64/libssd.so b/recovery/root/vendor/lib64/libssd.so old mode 100644 new mode 100755 index a2a7fd9..8bde622 Binary files a/recovery/root/vendor/lib64/libssd.so and b/recovery/root/vendor/lib64/libssd.so differ diff --git a/recovery/root/vendor/lib64/libtime_genoff.so b/recovery/root/vendor/lib64/libtime_genoff.so old mode 100644 new mode 100755 index 36cba6d..8be21f0 Binary files a/recovery/root/vendor/lib64/libtime_genoff.so and b/recovery/root/vendor/lib64/libtime_genoff.so differ