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
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
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
This includes the proper alignment to stock audio policy configuration.
Change-Id: I084d25c54e08d1421dbf43818b43357f78ad81ca
Co-authored-by: dianlujitao <dianlujitao@lineageos.org>