Commit Graph

10 Commits

Author SHA1 Message Date
Hongbo Zeng
822bd47146 sdm845-common: Enable iWlan legacy mode
Bug: 143666962
Test: flash TH ROM and check
  (1) ro.telephony.iwlan_operation_mode is set to "legacy"
  (2) set persist.vendor.radio.adb_log_on to 1 and see
  below log in adb logcat log:
  11-01 15:57:29.926 14487 14487 F RILQ    :
  [Log.cpp: 48] [qcrild(14487,14487)] d: [DataModule]:
  IWLAN mode system property is legacy

[jjpprrrr]:
Legacy mode iWlan prop also exists in vendor/build.prop from
polaris MIUI V12.0.1.0 Global Stable dump. Without iWlan legacy
mode, RIL may randomly encounter a delayed start, either after boot or
toggling airplane mode, for up to 30 seconds, with the following
error in kernel dmesg:

init: Control message: Could not find 'vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: Service 'vendor.qcrild2' (pid 726) received signal 6
init: Sending signal 9 to service 'vendor.qcrild2' (pid 726) process group...
libprocessgroup: Successfully killed process cgroup uid 1001 pid 726 in 0ms
init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: starting service 'vendor.qcrild2'...
init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot2' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:7474: Read-only property was already set
init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:7474: Read-only property was already set
init: Untracked pid 7462 exited with status 0
init: Service 'vendor.qcrild' (pid 725) received signal 6
init: Sending signal 9 to service 'vendor.qcrild' (pid 725) process group...
libprocessgroup: Successfully killed process cgroup uid 1001 pid 725 in 10ms
init: Untracked pid 7466 exited with status 0
init: Control message: Could not find 'vendor.qti.hardware.data.iwlan@1.0::IIWlan/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: starting service 'vendor.qcrild'...
init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: Control message: Could not find 'android.hardware.radio@1.5::IRadio/slot1' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)
init: Unable to set property 'ro.vendor.ril.svlte1x' from uid:1001 gid:1001 pid:7589: Read-only property was already set
init: Unable to set property 'ro.vendor.ril.svdo' from uid:1001 gid:1001 pid:7589: Read-only property was already set
init: Control message: Could not find 'android.hardware.radio.config@1.1::IRadioConfig/default' for ctl.interface_start from pid: 586 (/system/bin/hwservicemanager)

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I6d0de2b1005c9771187f1a54f4b1592a6e2b1a95
2021-02-04 17:25:09 +01:00
Luca Stefani
f9642f6da0 sdm845-common: Enable IWLAN assisted mode
Change-Id: Id9d8d9d2ed27dad2754abfa3887ee1a1ff97875a
2021-01-04 22:03:19 +00:00
Bruno Martins
b43d7d6422 sdm845-common: Move CNE and DPM properties around
CNE blobs are shipped in /vendor and DPM blobs have been recently
moved to /system_ext.

Change-Id: Ide4881bb4bad52f874b70f77d5fd79fd58326862
2021-01-03 21:50:13 +01:00
Mayank Rana
cfad99b599 sdm845-common: init.qcom.usb.rc: Update usage of USB MTP/PTP with USB F_FS driver
This change adds rules to move usage of USB MTP/PTP functionality
with USB F_FS driver instead of F_MTP/F_PTP drivers. It selects
functionfs based MTP/PTP functionality based on vendor.usb.use_ffs_mtp
property value. Set vendor.usb.use_ffs_mtp to true for Lahaina platform.

sys.usb.mtp.device_type is used by MTP server to provide perceived
device type information to host. Use correct sys.usb.mtp.device_type
property and set value 3 ( 2 - media player and 3 - Mobile handset).

Change-Id: I005bfea4babef012e331dcc4999e5e6af6465b6e
2021-01-03 15:13:22 +00:00
Jack Pham
19012fb731 sdm845-common: init.qcom.usb.rc: Support Diag over FFS
Support Diag over USB using F_FS driver by instantiating "ffs.diag"
ConfigFS instance and mounting the functionfs path for the same.
Introduce a new property 'vendor.usb.diag.func.name' which is used
to distinguish between FFS and legacy f_diag and update all Diag-
enabled compositions accordingly.

The `vendor.usb.diag.func.name` property can be overridden on
a per-target basis simply by adding the key=value to the
PRODUCT_PROPERTY_OVERRIDES build variable. This gets generated
into the /vendor/build.prop which overrides the default value of
'diag' set in /vendor/default.prop.

Change-Id: I005a441b39697b489bcd8d74b5cb26fb3b47fdf7
2021-01-03 15:12:55 +00:00
Bruno Martins
3d316ad303 sdm845-common: Move to new display HAL and update graphics blobs
Change-Id: I0ff514eef5d4a8b1287a910ba781ef77e5c584aa
2020-12-30 10:38:10 +00:00
Yifan Hong
4b2d3717be sdm845-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode
Bug: 124118169
Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-10-17 22:08:19 +02:00
Bruno Martins
8efaf44d84 sdm845-common: Switch to QTI BT stack
This includes the proper alignment to stock audio policy configuration.

Change-Id: I084d25c54e08d1421dbf43818b43357f78ad81ca
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
2020-06-26 20:15:36 +02:00
PIPIPIG233666
e261035d91 sdm845-common: Add missing fluence prop
Change-Id: I2a1c8ff905d10d6a8d93f26f032e830d02b16715
2020-03-14 21:30:24 +00:00
Bruno Martins
9cc2093330 sdm845-common: Split system, odm and vendor props
Change-Id: Iee726d7d95d2bc4abb14fcfdffc55a04aca6e1cc
2020-02-24 22:43:09 +01:00