Commit graph

677 commits

Author SHA1 Message Date
Sauvik Saha
e4a58fa5f2
sdm660-common: Starting imsrtpd on bootup
* starting rtpd on bootup without waiting for DATA_DAEMON
prop and restarting when property is set

Change-Id: If121089334ef2c0b335320bb561a553163042ba3
2019-08-14 10:04:11 +02:00
Devi Sandeep Endluri V V
07d002a336
sdm660-common: Starting imsrcsd on bootup
Starting imsrcsd on bootup without waiting for DATAD property
which will load libimsrcsbaseimpl and register HAL services

Change-Id: I17c1891583ea99baa31efec0e8ba316e4fbf25f3
2019-08-14 10:04:11 +02:00
Subbaraman Narayanamurthy
c51053b5dc
sdm660-common: init: Create persist directory for hvdcp_opti
hvdcp_opti daemon stores some parameters in
/mnt/vendor/persist/hvdcp_opti directory. Create the directory.

Change-Id: I0cf17467792cc294e6ce1a7f35a356cc0e960e86
2019-08-14 10:04:11 +02:00
Devi Sandeep Endluri V V
bee72c59c5
sdm660-common: Add vendor prefix to data connectivity
Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe
2019-08-14 10:04:11 +02:00
Harikrishnan Hariharan
2497916c99
sdm660-common: Start loc_launcher as gps user
Start loc_launcher as gps user and set uid/gid of loc_launcher
to gps and enable SETUID and SETGID caps for loc_launcher, so
that we can start loc_launcher as gps user instead of root and
still have capabilities for SETUID and SETGID. Also remove not
required permissions groups for loc_launcher.

Change-Id: Ie9f1506874b3c3148f9170c8d5db9afd1e70025c
CRs-Fixed: 2192881
2019-08-14 10:04:11 +02:00
Saranya Chidura
9d39230981
sdm660-common: Set permissions of /dev/byte-cntr device
To support ODL to read data from QDSS, create a custom group
and set permission of byte-cntr device. And also set
permission to coresight-tmc-etr/block_size to enable
byte-cntr feature.

Change-Id: Ic80156667dd7511392d5970ddcbd0fdc43ffffca
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>
2019-08-14 10:04:11 +02:00
Demon Singur
417a516b45
sdm660-common: remove wcnss_filter
Unused when using Qualcomm's bluetooth stack.

Change-Id: I2682e65a85c7b1112a695e851e9b1512a6b3d28c
2019-08-14 10:04:11 +02:00
Wang Han
6d7b0cda2d
sdm660-common: ueventd: Don't modify permissions of /dev/hw_random
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:

W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)

AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.

c78a463e87

Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2019-08-14 10:04:11 +02:00
guaiyihu
7a28bc9a96
sdm660-common: Remove unused binaries and services
Change-Id: I118bada5433b44a7bb7ebbdd6c10c8e0d054c7f4
2019-08-14 10:04:11 +02:00
Ethan Chen
5522fd2008
sdm660-common: rootdir: move services to system-background cgroup
Change-Id: Id80f6369f943fc5fc1145cc6f13bddb2fe2b76e8
2019-08-14 10:04:11 +02:00
Jaekyun Seok
17f4b877b8
sdm660-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-08-14 10:04:11 +02:00
guaiyihu
517431dabb
sdm660-common: rootdir: Clean up init scripts
* Clean up unused and non-exsistent services
 * Clean up invalid commands

Change-Id: I5b991e8770b0ed9a7ba5af3a0fed612015e809a5
2019-08-14 10:04:11 +02:00
Tim Murray
46ac5129b1
sdm660-common: rootdir: add restricted cpuset
bug: 78197570
Test: CTS

Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0
2019-08-14 10:04:11 +02:00
Jeff Vander Stoep
902c8c895d
sdm660-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2019-08-14 10:04:11 +02:00
Devi Sandeep Endluri V V
33e7905676
sdm660-common: DPM : Add radio group rules to dpmQmiMgr
-dpmQmiMgr permissions are updated with radio group
to communicate with QMUXD socket.

CRs-Fixed: 2183993
Change-Id: I37195ffc6602d009ac4cace6c742484e70a768ec
2019-08-14 10:04:11 +02:00
Abhinav Sohane
34382b7e82
sdm660-common: Camera: init.target: Moved camera-daemon creation to on-init.
Issue: cameraserver or camera-provider service is not able to
      write pid's to cpuset/camera-daemon.

Solution:
    1) Increased the cpu to 0-7
    2) Moved camera-daemon folder creation from on-boot to on-init.
CRs-fixed:2200628

Change-Id: Ifc80c09ae09b353b3c8a0603f14e5ff4206d6796
2019-08-14 10:04:11 +02:00
guaiyihu
5d5e94fe1d
sdm660-common: rootdir: Clean up unused init scripts
Change-Id: Ib6ba59acb1f1d6b773aeca3c326944049784887c
2019-08-14 10:04:11 +02:00
Lennart Wieboldt
70ec44be26
sdm660-common: Remove cpuset foreground boost
Cpuset foreground boost is departed since
https://android.googlesource.com/platform/frameworks/base/+/a712d4058f6f85268838

Change-Id: Iab1834dbb8cce15480b5e11968bcfff7cc80177e
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2019-08-14 10:04:11 +02:00
guaiyihu
9aae9b3ad7
sdm660-common: rootdir: Remove insmod for non-existent module
Change-Id: I75afecc8909b55467dfde74d40e77007480fe31d
2019-08-14 10:04:11 +02:00
Dan Pasanen
f207f0b1c3
sdm660-common: rootdir: Turn down debugging on wpa_supplicant
Change-Id: I15f8aff12ebcccbc97263b1d82b7ec0d3baea263
2019-08-14 10:04:11 +02:00
Subhani Shaik
c372b4a3b7
sdm660-common: cnss_diag: Remove the file based logging option
File based logging is writing to sdcard, this is not supported.
By default qxdm is required, removing the file based logging.

Change-Id: I7fa1748c0ff3eb594dc7d4c59eb69c0ae9ef7756
2019-08-14 10:04:11 +02:00
Roshan Pius
e6f6caa3fb
sdm660-common: init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root
permissions to access this path for firmware reloads.

Bug: 33435250
Test: Compiles.
Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
2019-08-14 10:04:11 +02:00
Ethan Chen
6819b5117a
sdm660-common: rootdir: Move mm-pp-dpps to hal class
Change-Id: I1e243b057ed24a2bc50a206de7b6c5c8bd702617
2019-08-14 10:04:11 +02:00
Mao Jinlong
49c915ae5d
sdm660-common: rootdir: Add vendor prefix to power_off_alarm service
power_off_alarm is a vendor service. Add vendor prefix to it.

Change-Id: Ib4a988467a54bbe4544960180afeeeb5dd0e85f3
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:11 +02:00
Ethan Chen
57301b279c
sdm660-common: Remove memory cgroup directives
* Doesn't exist on wayne

Change-Id: Ic32ce381d41feb05150418296b60b9b9ced5853e
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:11 +02:00
Max Weffers
0b652152c0
sdm660-common: usb: do not overide usb config on every reboot 2019-08-14 10:04:11 +02:00
Max Weffers
67eddd06fb
sdm660-common: init: add second Sensors service for backward compatibility 2019-08-14 10:04:11 +02:00
Max Weffers
f6d9e11a11
sdm660-common: init: Add back correctly created /data/misc/camera folder
*needed for miui camera
2019-08-14 10:04:11 +02:00
Max Weffers
fa3d08bd84
sdm660-common: rootdir: set wifi countrycode
*fixes 5Ghz without sim card or flightmode
2019-08-14 10:04:11 +02:00
Vol Zhdanov
a4d2c45881
sdm660-common: rootdir: Add missing dynamic fps node
* otherwise sdm won't access it

Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I088d64b9ddd07bb2482ac3971d7c559e88043d0b
2019-08-14 10:04:11 +02:00
Sachin Mohan Gadag
0e50196347
sdm660-common: rootdir: Register audio service to system group to access cpu_dma_latency node
Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:11 +02:00
dianlujitao
617998fe55
sdm660-common: Update ueventd from LA.UM.7.2.r1-06900-sdm660.0 2019-08-14 10:04:11 +02:00
Ananth Raghavan Subramanian
abb8e2966e
sdm660-common: ueventd.qcom.rc: Memory offline nodes
Change permission of memory offline nodes so HAL can read

Change-Id: Iba5429d000632ae739548a667027efd53f121d5d
2019-08-14 10:04:11 +02:00
Max Weffers
4771df97e2
sdm660-common: Remove crashcheck and resize flag from fstab
* Fixes : [libfs_mgr]Warning: unknown flag crashcheck
* Fixes : [libfs_mgr]Warning: unknown flag resize

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:11 +02:00
Max Weffers
86f58c6df2
sdm660-common: Cleanup fstab and add support for f2fs
Change-Id: Ic70a0b31f86c74c4b29eedd4fdb06ae4f3a551e7
2019-08-14 10:04:11 +02:00
Dusan Uveric
1c184ff28c
sdm660-common: add glink_lpass to ignored irqs
Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-08-14 10:04:11 +02:00
TheStrix
83e704c74e
sdm660-common: gps: Disable unused location services
* Disable gpsone_daemon
* Disable XTWIFI

Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I1dee715fc4c8c7506b31a26ab9cdaf5e62bd0d29
2019-08-14 10:04:11 +02:00
GuaiYiHu
6848dbe509
sdm660-common: Update GPS configs from Mi8 Lite
Change-Id: Ib7e7c0032739fcf4ef189ef23be16292235f4006
2019-08-14 10:04:11 +02:00
guaiyihu
80acfca42f
sdm660-common: keylayout: Add keylayout for MI PAD 4 Plus Home button
Change-Id: I37da2a43035d2556ce3be7699a3cb616a14bdbd1
2019-08-14 10:04:11 +02:00
coderzstas
823c11d4b6
sdm660-common: Add FP Navigation Gestures and enable SystemNavigationKeys overlay
* useing jasmine keylayouts from android on pie
2019-08-14 10:04:10 +02:00
Rashed Abdel-Tawab
7f9b60c7fa
sdm660-common: Don't balance mdss or kgsl IRQs
While IRQ balancing is generally a good idea, MDSS and KGSL
are critical for UX and shouldn't be migrated between cores.

Change-Id: Ic8ae88f5ea75715f3cd6bfec118380f65ea9e4d1
2019-08-14 10:04:10 +02:00
GuaiYiHu
9ab0b5b9bb
sdm660-common: Update qti configs from caf
* Also move them to system

Change-Id: I561da9ac4019c20a9413d3046f24db413f7c3153
2019-08-14 10:04:10 +02:00
Sneh Bansal
568051d3d9
sdm660-common: 5G: Whitelist permissions for nrNetworkSettingApp
The package 'org.codeaurora.qti.nrNetworkSettingApp' is a priv-app, and
uses the MODIFY_PHONE_STATE permission. This permission needs to be
whitelisted for the package. Otherwise, a CTS failure will occur.

Change-Id: Iedfce95014b97deb55f24a98233000e552e4d518
CRs-Fixed: 2341511
2019-08-14 10:04:10 +02:00
Kevin Tang
a9684f1600
sdm660-common: Adding com.skyhook.blp into the whitelist
Adding com.skyhook.blp into whitelist to avoid it being killed by
doze. Also adding INTERACT_ACROSS_USERS permission to be able to
run as single user.

Change-Id: I245965c87e7a5029eb8a308af24484d64a3fcb87
CRs-Fixed: 2294320
2019-08-14 10:04:10 +02:00
dianlujitao
650a22b1a6
sdm660-common: Update QTI whitelist and priv-app permissions
Change-Id: Idd082a9b6fc0671e6594f6761feb44fc4ff773c4
2019-08-14 10:04:10 +02:00
Artem Borisov
6d581599d5
sdm660-common: Add QCOM's WFD implementation
* Sadly, out-of-the-box Miracast support was killed in P, so
   we need this to keep Wi-Fi display feature working.

Change-Id: Id680d918b64c0e3733251db45992ec477b6fbdfb
2019-08-14 10:04:10 +02:00
PIPIPIG233666
69a686c2dc
sdm660-common: proprietary: Add factory and SSR blobs 2019-08-14 10:04:10 +02:00
Nidhun Balaji T R
993d98bcc4
sdm660-common: update time service blobs from LA.UM.7.2.r1-06900-sdm660.0
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
2019-08-14 10:04:10 +02:00
dianlujitao
42d9327230
sdm660-common: Add ANT+ enabled QTI BT service
Change-Id: I8da298ec258ae8a904b2ce23ff46ad36109b2a95
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:10 +02:00
Max Weffers
5314b71467
sdm660-common: Update Soundtrigger Hal from LA.UM.7.2.r1-06900-sdm660.0 2019-08-14 10:04:10 +02:00