LOCAL_PATH := $(call my-dir)
-ifneq ($(filter dumpling,$(TARGET_DEVICE)),)
+ifneq ($(filter enchilada,$(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
#
PRODUCT_MAKEFILES := \
- $(LOCAL_DIR)/omni_dumpling.mk
+ $(LOCAL_DIR)/omni_enchilada.mk
ENABLE_SCHEDBOOST := true
# Bootloader
-TARGET_BOOTLOADER_BOARD_NAME := msm8998
+TARGET_BOOTLOADER_BOARD_NAME := sdm845
TARGET_NO_BOOTLOADER := true
TARGET_USES_UEFI := true
-# Crypto
-TARGET_HW_DISK_ENCRYPTION := true
-
# Kernel
-BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3
-BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1
-BOARD_KERNEL_CMDLINE += service_locator.enable=1 swiotlb=2048 androidboot.usbcontroller=a800000.dwc3
-BOARD_KERNEL_CMDLINE += androidboot.configfs=true
+BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom androidboot.console=ttyMSM0 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a600000.dwc3
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096
-BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
-BOARD_RAMDISK_OFFSET := 0x02000000
-TARGET_PREBUILT_KERNEL := device/oneplus/dumpling/prebuilt/Image.gz-dtb
+BOARD_HASH_TYPE := sha1
+BOARD_KERNEL_TAGS_OFFSET := 0x00000100
+BOARD_RAMDISK_OFFSET := 0x01000000
+TARGET_PREBUILT_KERNEL := device/oneplus/enchilada/prebuilt/Image.gz-dtb
# Platform
-TARGET_BOARD_PLATFORM := msm8998
-TARGET_BOARD_PLATFORM_GPU := qcom-adreno540
+TARGET_BOARD_PLATFORM := sdm845
+TARGET_BOARD_PLATFORM_GPU := qcom-adreno630
# Partitions
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_BOOTIMAGE_PARTITION_SIZE := 67108864
-BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 56908316672
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2998927360
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 54132453376
BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
-
+BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
BOARD_HAS_LARGE_FILESYSTEM := true
BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
+#bootable/recovery/minuitwrp/graphics_drm.cpp
+#if defined(RECOVERY_RGBX)
+#format = DRM_FORMAT_XBGR8888;
+#base_format = GGL_PIXEL_FORMAT_RGBX_8888;
# TWRP specific build flags
BOARD_HAS_NO_REAL_SDCARD := true
TW_EXCLUDE_DEFAULT_USB_INIT := true
TW_EXCLUDE_SUPERSU := true
TW_EXTRA_LANGUAGES := true
-TW_INCLUDE_CRYPTO := true
TW_INCLUDE_NTFS_3G := true
+AB_OTA_UPDATER := true
TW_INPUT_BLACKLIST := "hbtp_vm"
TW_MAX_BRIGHTNESS := 255
TW_THEME := portrait_hdpi
+TW_NO_SCREEN_TIMEOUT := true
+
+# Encryption
+PLATFORM_SECURITY_PATCH := 2018-05-01
+TW_INCLUDE_CRYPTO := true
+TARGET_HW_DISK_ENCRYPTION := true
+TW_INCLUDE_FBE := true
+++ /dev/null
-# android_device_oneplus_dumpling
-Tree for building TWRP for OnePlus 5T
-
-## Kernel Sources
-
-https://github.com/lineageos/android_kernel_oneplus_msm8998/tree/lineage-15.1
-
-## To compile
-
-export ALLOW_MISSING_DEPENDENCIES=true
-
-. build/envsetup.sh && lunch omni_dumpling-eng
-
-mka adbd recoveryimage
-
-## Device specifications
-
-| Device | OnePlus 5T |
-| -----------: | :---------------------------------------------- |
-| SoC | Qualcomm MSM8998 Snapdragon 835 |
-| CPU | Quad-core 2.45GHz Kryo & quad-core 1.9GHz Kryo |
-| GPU | 710MHz Adreno 540 |
-| Memory | 6GB / 8GM RAM (LPDDR4X) |
-| Shipped Android version | 7.1.1 |
-| Storage | 64GB / 128GB (UFS 2.1 2-LANE Flash) |
-| Battery | Non-removable Li-Po 3300 mAh |
-| Dimensions | 152.7 x 74.1 x 7.25 mm |
-| Display | 2160 x 1080 (18:9), 6 inch |
-| Rear camera 1 | 16MP (IMX 398), 1.12-micron pixels, f/1.7 Dual LED flash, 4K 30 fps, 1080p 60 fps, 720p 120 fps video |
-| Rear camera 2 | 20MP (IMX 376k), 1-micron pixels, f/1.7 |
-| Front camera | 16MP (IMX 371), 1-micron pixels, f/2.0 1080p 30 fps video |
-
-## Device picture
-
-![OnePlus 5T](https://image01.oneplus.net/shop/201711/16/1850/c2baf281695709898707dd551a05274c_260_0.png "OnePlus 5T in black")
+++ /dev/null
-#
-# Copyright 2017 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# Release name
-PRODUCT_RELEASE_NAME := dumpling
-
-$(call inherit-product, build/target/product/embedded.mk)
-
-# Inherit from our custom product configuration
-$(call inherit-product, vendor/omni/config/common.mk)
-
-## Device identifier. This must come after all inclusions
-PRODUCT_DEVICE := dumpling
-PRODUCT_NAME := omni_dumpling
-PRODUCT_BRAND := OnePlus
-PRODUCT_MODEL := OnePlus A5010
-PRODUCT_MANUFACTURER := OnePlus
--- /dev/null
+#
+# Copyright 2017 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Release name
+PRODUCT_RELEASE_NAME := enchilada
+
+$(call inherit-product, build/target/product/embedded.mk)
+
+# Inherit from our custom product configuration
+$(call inherit-product, vendor/omni/config/common.mk)
+
+## Device identifier. This must come after all inclusions
+PRODUCT_DEVICE := enchilada
+PRODUCT_NAME := omni_enchilada
+PRODUCT_BRAND := OnePlus
+PRODUCT_MODEL := OnePlus A6000
+PRODUCT_MANUFACTURER := OnePlus
# mount point fstype device device2 flags
-/boot emmc /dev/block/bootdevice/by-name/boot
-/cache ext4 /dev/block/bootdevice/by-name/cache
-/recovery emmc /dev/block/bootdevice/by-name/recovery flags=backup=1
-/system ext4 /dev/block/bootdevice/by-name/system
-/system_image emmc /dev/block/bootdevice/by-name/system
-/data ext4 /dev/block/bootdevice/by-name/userdata
-/firmware vfat /dev/block/bootdevice/by-name/modem flags=display="Firmware";mounttodecrypt;fsflags=ro
+/boot emmc /dev/block/bootdevice/by-name/boot flags=slotselect
+/system ext4 /dev/block/bootdevice/by-name/system flags=slotselect
+/system_image emmc /dev/block/bootdevice/by-name/system flags=slotselect
+/vendor ext4 /dev/block/bootdevice/by-name/vendor flags=slotselect;display="Vendor";backup=1
+/vendor_image emmc /dev/block/bootdevice/by-name/vendor flags=slotselect
+/data ext4 /dev/block/bootdevice/by-name/userdata flags=encryptable=footer
+/firmware vfat /dev/block/bootdevice/by-name/modem flags=slotselect;display="Firmware";mounttodecrypt;fsflags=ro
/misc emmc /dev/block/bootdevice/by-name/misc
-/modem emmc /dev/block/bootdevice/by-name/modem flags=backup=1;display="Modem"
-/bluetooth emmc /dev/block/bootdevice/by-name/bluetooth flags=backup=1;subpartitionof=/modem
-/dsp emmc /dev/block/bootdevice/by-name/dsp flags=backup=1;subpartitionof=/modem
+/modem emmc /dev/block/bootdevice/by-name/modem flags=slotselect;backup=1;display="Modem"
+/bluetooth emmc /dev/block/bootdevice/by-name/bluetooth flags=slotselect;backup=1;subpartitionof=/modem
+/dsp emmc /dev/block/bootdevice/by-name/dsp flags=slotselect;backup=1;subpartitionof=/modem
/efs1 emmc /dev/block/bootdevice/by-name/modemst1 flags=backup=1;display=EFS
/efs2 emmc /dev/block/bootdevice/by-name/modemst2 flags=backup=1;subpartitionof=/efs1
/efsc emmc /dev/block/bootdevice/by-name/fsc flags=backup=1;subpartitionof=/efs1
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-on early-init
- mkdir /firmware 0771 system system
-
on fs
- wait /dev/block/platform/soc/1da4000.ufshc
- symlink /dev/block/platform/soc/1da4000.ufshc /dev/block/bootdevice
+ wait /dev/block/platform/soc/${ro.boot.bootdevice}
+ symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
chmod 0660 /dev/qseecom
chown system drmrpc /dev/qseecom
chmod 0664 /dev/ion
chown system system /dev/ion
install_keyring
-
- # Mount firmware
- mount vfat /dev/block/bootdevice/by-name/modem /firmware ro shortname=lower uid=1000 gid=1000 dmask=227 fmask=337
-
- # Only needed when we don't include all required blobs for crypto
- #start prepdecrypt
setprop crypto.ready 1
-service prepdecrypt /sbin/prepdecrypt.sh
- oneshot
+# Separate copy needed to use /sbin/linker64 instead of /system/bin/linker64
+service sbinqseecomd /sbin/qseecomd
user root
group root
disabled
seclabel u:r:recovery:s0
-# Separate copy needed to use /sbin/linker64 instead of /system/bin/linker64
-service sbinqseecomd /sbin/qseecomd
+service hwservicemanager /sbin/hwservicemanager
user root
group root
disabled
+ onrestart setprop hwservicemanager.ready false
seclabel u:r:recovery:s0
-service hwservicemanager /sbin/hwservicemanager
+service boot-1-0 /sbin/android.hardware.boot@1.0-service
user root
group root
disabled
- onrestart setprop hwservicemanager.ready false
seclabel u:r:recovery:s0
service servicemanager /sbin/servicemanager
disabled
seclabel u:r:recovery:s0
-service keystore /sbin/keystore /data/misc/keystore
+# keystore is started and stopped on demand by TWRP
+service keystore /sbin/keystore /tmp/misc/keystore
user root
group root drmrpc readproc
disabled
seclabel u:r:recovery:s0
-service gatekeeper-1-0 /sbin/android.hardware.gatekeeper@1.0-service
+service gatekeeper-1-0 /sbin/android.hardware.gatekeeper@1.0-service-qti
user root
group root
disabled
seclabel u:r:recovery:s0
-service keymaster-3-0 /sbin/android.hardware.keymaster@3.0-service
+service keymaster-3-0 /sbin/android.hardware.keymaster@3.0-service-qti
user root
group root
disabled
seclabel u:r:recovery:s0
on boot
- # Workaround for adb not coming up
- setprop sys.usb.config mtp,adb
- setprop sys.usb.config adb
-
- # Enable OTG
- write /sys/devices/soc/800f000.qcom,spmi/spmi-0/spmi0-02/800f000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2/power_supply/usb/otg_switch 1
+ write /proc/touchpanel/gesture_enable 1
+ write /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2/power_supply/usb/otg_switch 1
+
+on init
+ start hwservicemanager
+ start boot-1-0
on property:crypto.ready=0
stop sbinqseecomd
stop keymaster-3-0
stop gatekeeper-1-0
- stop hwservicemanager
- stop keystore
stop servicemanager
on property:crypto.ready=1
start sbinqseecomd
on property:sys.listeners.registered=true
- start hwservicemanager
start keymaster-3-0
start gatekeeper-1-0
start servicemanager
-# Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
+# Copyright (c) 2011-2016, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
on boot
+ write /sys/class/android_usb/android0/iSerial ${ro.serialno}
mkdir /dev/usb-ffs 0770 shell shell
mkdir /dev/usb-ffs/adb 0770 shell shell
mount configfs none /config
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/diag.diag_mdm
mkdir /config/usb_gadget/g1/functions/cser.dun.0
mkdir /config/usb_gadget/g1/functions/cser.nmea.1
+ mkdir /config/usb_gadget/g1/functions/cser.dun.2
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/qdss.qdss_mdm
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/functions/uac2.0
+ mkdir /config/usb_gadget/g1/functions/uvc.0
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/UDC "none"
stop adbd
setprop sys.usb.ffs.ready 0
+ setprop sys.usb.ffs.mtp.ready 0
write /config/usb_gadget/g1/bDeviceClass 0
write /config/usb_gadget/g1/bDeviceSubClass 0
write /config/usb_gadget/g1/bDeviceProtocol 0
+ 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
+ rmdir /config/usb_gadget/g1/functions/rndis.gs4
setprop sys.usb.state ${sys.usb.config}
on property:sys.usb.config=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 0x18d1
+ write /config/usb_gadget/g1/idVendor 0x2A70
write /config/usb_gadget/g1/idProduct 0x4ee7
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}
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 0x2A70
+ write /config/usb_gadget/g1/idProduct 0XF003
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}
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 0x2A70
+ write /config/usb_gadget/g1/idProduct 0x9011
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}
setprop sys.usb.state ${sys.usb.config}
+
+on property:ro.boot.usbcontroller=*
+ setprop sys.usb.controller ${ro.boot.usbcontroller}
+
+++ /dev/null
-#!/sbin/sh
-
-relink()
-{
- fname=$(basename "$1")
- target="/sbin/$fname"
- sed 's|/system/bin/linker64|///////sbin/linker64|' "$1" > "$target"
- chmod 755 $target
-}
-
-mkdir /s
-mount -t ext4 -o ro /dev/block/bootdevice/by-name/system /s
-
-if [ -f /s/build.prop ]; then
- osver=$(grep -i 'ro.build.version.release' /s/build.prop | cut -f2 -d'=')
- patchlevel=$(grep -i 'ro.build.version.security_patch' /s/build.prop | cut -f2 -d'=')
- setprop ro.build.version.release "$osver"
- setprop ro.build.version.security_patch "$patchlevel"
-fi
-
-mkdir -p /vendor/lib64/hw/
-
-relink /s/xbin/strace
-
-cp /s/lib64/android.hidl.base@1.0.so /sbin/
-
-relink /s/vendor/bin/qseecomd
-
-cp /s/vendor/lib64/libdiag.so /vendor/lib64/
-cp /s/vendor/lib64/libdrmfs.so /vendor/lib64/
-cp /s/vendor/lib64/libdrmtime.so /vendor/lib64/
-cp /s/vendor/lib64/libGPreqcancel.so /vendor/lib64/
-cp /s/vendor/lib64/libGPreqcancel_svc.so /vendor/lib64/
-cp /s/vendor/lib64/libqisl.so /vendor/lib64/
-cp /s/vendor/lib64/libQSEEComAPI.so /vendor/lib64/
-cp /s/vendor/lib64/librpmb.so /vendor/lib64/
-cp /s/vendor/lib64/libsecureui.so /vendor/lib64/
-cp /s/vendor/lib64/libSecureUILib.so /vendor/lib64/
-cp /s/vendor/lib64/libsecureui_svcsock.so /vendor/lib64/
-cp /s/vendor/lib64/libspl.so /vendor/lib64/
-cp /s/vendor/lib64/libssd.so /vendor/lib64/
-cp /s/vendor/lib64/libStDrvInt.so /vendor/lib64/
-cp /s/vendor/lib64/libtime_genoff.so /vendor/lib64/
-cp /s/vendor/lib64/libkeymasterdeviceutils.so /vendor/lib64/
-cp /s/vendor/lib64/libkeymasterprovision.so /vendor/lib64/
-cp /s/vendor/lib64/libkeymasterutils.so /vendor/lib64/
-cp /s/vendor/lib64/vendor.qti.hardware.tui_comm@1.0_vendor.so /vendor/lib64/
-cp /s/vendor/lib64/hw/android.hardware.gatekeeper@1.0-impl.so /vendor/lib64/hw/
-cp /s/vendor/lib64/hw/android.hardware.keymaster@3.0-impl.so /vendor/lib64/hw/
-cp /s/vendor/lib64/hw/gatekeeper.msm8998.so /vendor/lib64/hw/
-cp /s/vendor/lib64/hw/keystore.msm8998.so /vendor/lib64/hw/
-
-cp /s/vendor/manifest.xml /vendor/
-cp /s/vendor/compatibility_matrix.xml /vendor/
-
-relink /s/vendor/bin/hw/android.hardware.gatekeeper@1.0-service
-relink /s/vendor/bin/hw/android.hardware.keymaster@3.0-service
-
-umount /s
-
-setprop crypto.ready 1
-exit 0
/dev/media* 0660 system camera
/dev/v4l-subdev* 0660 system camera
/dev/qseecom 0660 system drmrpc
+/dev/qce 0660 system drmrpc
/dev/smcinvoke 0660 system system
/dev/qsee_ipc_irq_spss 0660 system drmrpc
/dev/seemplog 0660 system system
/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input* secure_touch_enable 0660 system drmrpc
/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch 0440 system drmrpc
/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch_enable 0660 system drmrpc
+/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc
+/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc
+/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch 0440 system drmrpc
+/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input* secure_touch_enable 0660 system drmrpc
# laser sensor access
/sys/devices/virtual/input/input* enable_ps_sensor 0660 system input
# wigig
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
+/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
/dev/block/platform/soc/1da4000.ufshc/by-name/frp 0600 system system
/dev/block/platform/soc/c0c4000.sdhci/by-name/frp 0600 system system
/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0600 system system
+/dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system
# Kmsg device
/dev/kmsg 0620 root system
<version>2.0</version>
<interface>
<name>IDevicesFactory</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
</interface>
</hal>
<hal format="hidl">
- <name>android.hardware.broadcastradio</name>
+ <name>android.hardware.boot</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
- <name>IBroadcastRadioFactory</name>
+ <name>IBootControl</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>android.hardware.camera.provider</name>
- <transport arch="32">passthrough</transport>
+ <transport>hwbinder</transport>
<version>2.4</version>
<interface>
<name>ICameraProvider</name>
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>android.hardware.contexthub</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IContexthub</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>android.hardware.drm</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IGatekeeper</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>1.0</version>
<interface>
<name>IGnss</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>2.0</version>
<interface>
<name>IAllocator</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>2.1</version>
<interface>
<name>IComposer</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>android.hardware.health</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IHealth</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>android.hardware.keymaster</name>
<transport>hwbinder</transport>
<version>3.0</version>
<interface>
<name>IKeymasterDevice</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>2.0</version>
<interface>
<name>ILight</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>1.0</version>
<interface>
<name>IMemtrack</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<hal format="hidl">
<name>android.hardware.power</name>
<transport>hwbinder</transport>
- <version>1.1</version>
+ <version>1.0</version>
<interface>
<name>IPower</name>
<instance>default</instance>
<version>1.0</version>
<interface>
<name>ISensors</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>android.hardware.soundtrigger</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>ISoundTriggerHw</name>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<version>1.0</version>
<interface>
<name>IThermal</name>
- <instance>msm8998</instance>
+ <instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>com.fingerprints.extension</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IFingerprintAuthenticator</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintCalibration</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintEngineering</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintNavigation</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintRecalibration</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintSenseTouch</name>
+ <instance>default</instance>
+ </interface>
+ <interface>
+ <name>IFingerprintSensorTest</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>com.qualcomm.qti.ant</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IAntHci</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>com.qualcomm.qti.bluetooth_audio</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IBluetoothAudio</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>com.qualcomm.qti.dpm.api</name>
<transport>hwbinder</transport>
<hal format="hidl">
<name>vendor.display.config</name>
<transport>hwbinder</transport>
- <version>1.0</version>
+ <version>1.1</version>
<interface>
<name>IDisplayConfig</name>
<instance>default</instance>
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>vendor.nxp.hardware.nfc</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>INqNfc</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.oneplus.hardware.wifi</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IOneplusWifi</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>vendor.qti.esepowermanager</name>
<transport>hwbinder</transport>
<hal format="hidl">
<name>vendor.qti.gnss</name>
<transport>hwbinder</transport>
- <version>1.0</version>
+ <version>1.1</version>
<interface>
<name>ILocHidlGnss</name>
<instance>gnss_vendor</instance>
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.data.latency</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>ILinkLatency</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.factory</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IFactory</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.fm</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IFmHci</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>vendor.qti.hardware.improvetouch.blobmanager</name>
<transport>hwbinder</transport>
<instance>TouchCompanionService</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.iop</name>
+ <transport>hwbinder</transport>
+ <version>2.0</version>
+ <interface>
+ <name>IIop</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>vendor.qti.hardware.perf</name>
<transport>hwbinder</transport>
<instance>uimRemoteServer1</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.sensorscalibrate</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>ISensorsCalibrate</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>vendor.qti.hardware.tui_comm</name>
<transport>hwbinder</transport>
<instance>default</instance>
</interface>
</hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.vpp</name>
+ <transport>hwbinder</transport>
+ <version>1.1</version>
+ <interface>
+ <name>IHidlVppService</name>
+ <instance>vppService</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.wifi.keystore</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>IKeystoreExt</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.wigig.netperftuner</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>INetPerfTuner</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
+ <hal format="hidl">
+ <name>vendor.qti.hardware.wigig.supptunnel</name>
+ <transport>hwbinder</transport>
+ <version>1.0</version>
+ <interface>
+ <name>ISuppTunnelProvider</name>
+ <instance>default</instance>
+ </interface>
+ </hal>
<hal format="hidl">
<name>vendor.qti.imsrtpservice</name>
<transport>hwbinder</transport>
-ro.display.series=OnePlus 5T
-sys.usb.controller=a800000.dwc3
-sys.usb.rndis.func.name=gsi
-sys.usb.rmnet.func.name=gsi
+ro.display.series=OnePlus 6
-add_lunch_combo omni_dumpling-eng
-add_lunch_combo omni_dumpling-userdebug
+add_lunch_combo omni_enchilada-eng
+add_lunch_combo omni_enchilada-userdebug