Update blobs from latest stock recovery
authorSimon Sickle <simon@simonsickle.com>
Tue, 28 Nov 2017 18:44:52 +0000 (12:44 -0600)
committerSimon Sickle <simon@simonsickle.com>
Tue, 28 Nov 2017 18:44:52 +0000 (12:44 -0600)
22 files changed:
BoardConfig.mk
recovery/root/init.recovery.qcom.rc
recovery/root/init.recovery.usb.rc
recovery/root/sbin/qseecomd [changed mode: 0644->0755]
recovery/root/vendor/lib64/hw/gatekeeper.msm8998.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/hw/keystore.msm8998.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/lib-sec-disp.so [deleted file]
recovery/root/vendor/lib64/libGPreqcancel.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libGPreqcancel_svc.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libQSEEComAPI.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libSecureUILib.so [deleted file]
recovery/root/vendor/lib64/libStDrvInt.so [deleted file]
recovery/root/vendor/lib64/libdiag.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libdrmfs.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libdrmtime.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libqisl.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/librpmb.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libsecureui.so [deleted file]
recovery/root/vendor/lib64/libsecureui_svcsock.so [deleted file]
recovery/root/vendor/lib64/libspl.so [deleted file]
recovery/root/vendor/lib64/libssd.so [changed mode: 0644->0755]
recovery/root/vendor/lib64/libtime_genoff.so [changed mode: 0644->0755]

index 8b2391f43d435219eccd81737dd79bb2b42bd7a1..9758e17e71bbfa5b172aef235d6f06e5580e87e0 100644 (file)
@@ -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
index cecd696e7057337bfb68068d6d9405257b2e86cf..a8d89201f234e74bc1fa82763fc10d4b90cbe52c 100644 (file)
@@ -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
index f64186e6385d539575e5773e0d809f04d8bf589e..ba257c7f3d9d5be2eceb8c41e33d91bb7e8e4781 100644 (file)
@@ -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}
old mode 100644 (file)
new mode 100755 (executable)
index a64b6a2..c132b97
Binary files a/recovery/root/sbin/qseecomd and b/recovery/root/sbin/qseecomd differ
old mode 100644 (file)
new mode 100755 (executable)
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
old mode 100644 (file)
new mode 100755 (executable)
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 (file)
index fc2f13f..0000000
Binary files a/recovery/root/vendor/lib64/lib-sec-disp.so and /dev/null differ
old mode 100644 (file)
new mode 100755 (executable)
index b80065a..030f9b3
Binary files a/recovery/root/vendor/lib64/libGPreqcancel.so and b/recovery/root/vendor/lib64/libGPreqcancel.so differ
old mode 100644 (file)
new mode 100755 (executable)
index bb1237c..bfb083f
Binary files a/recovery/root/vendor/lib64/libGPreqcancel_svc.so and b/recovery/root/vendor/lib64/libGPreqcancel_svc.so differ
old mode 100644 (file)
new mode 100755 (executable)
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 (file)
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 (file)
index 67d6030..0000000
Binary files a/recovery/root/vendor/lib64/libStDrvInt.so and /dev/null differ
old mode 100644 (file)
new mode 100755 (executable)
index 54fcca3..2d2a493
Binary files a/recovery/root/vendor/lib64/libdiag.so and b/recovery/root/vendor/lib64/libdiag.so differ
old mode 100644 (file)
new mode 100755 (executable)
index 979fad0..d65aea8
Binary files a/recovery/root/vendor/lib64/libdrmfs.so and b/recovery/root/vendor/lib64/libdrmfs.so differ
old mode 100644 (file)
new mode 100755 (executable)
index b4626fa..a5cdb35
Binary files a/recovery/root/vendor/lib64/libdrmtime.so and b/recovery/root/vendor/lib64/libdrmtime.so differ
old mode 100644 (file)
new mode 100755 (executable)
index 0c3084e..0904d82
Binary files a/recovery/root/vendor/lib64/libqisl.so and b/recovery/root/vendor/lib64/libqisl.so differ
old mode 100644 (file)
new mode 100755 (executable)
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 (file)
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 (file)
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 (file)
index 8d22adf..0000000
Binary files a/recovery/root/vendor/lib64/libspl.so and /dev/null differ
old mode 100644 (file)
new mode 100755 (executable)
index a2a7fd9..8bde622
Binary files a/recovery/root/vendor/lib64/libssd.so and b/recovery/root/vendor/lib64/libssd.so differ
old mode 100644 (file)
new mode 100755 (executable)
index 36cba6d..8be21f0
Binary files a/recovery/root/vendor/lib64/libtime_genoff.so and b/recovery/root/vendor/lib64/libtime_genoff.so differ