Commit graph

161 commits

Author SHA1 Message Date
Ethan Chen
5ddc3c6585 msm8937-common: Remove init.qcom.bt.sh
* Just run the hci_qcomm_init binary instead

Change-Id: If2b4b9fc738e729bd389f3f96e6843a4ca6eb558
2018-06-29 00:01:58 +08:00
Srinu Jella
94c97f44d9 msm8937-common: Remove bt config address from execution
- Remove bt config address from execution
  as it is not required.

CRs-Fixed: 2028675
Change-Id: I4a71f5f1ff682cc3bf7753acc22e0f299d06c344
2018-06-29 00:01:58 +08:00
Aditya Bavanari
bd33bea7b6 msm8937-common: init.qcom.rc: Modify permissions for /data/vendor/misc
Modify permissions for /data/vendor/misc to 01771
from 0770 in order to enable audio module
to access the directory.

CRs-Fixed: 2074932
Change-Id: Ibc832cd0ec7c04a99b3fa1e9a554f919e11a149a
2018-06-29 00:01:58 +08:00
Saurabh Srivastava
2887450b59 msm8937-common: Fixing permission for /data/vendor
Removing creation of /data/vendor with system
group access.

CRs-Fixed: 2055140
Change-Id: Ic9fb98ea1420769f2ffa5262fd6e1a82ad848941
2018-06-29 00:01:58 +08:00
Naresh Tanniru
648ee63f82 msm8937-common: rootdir: create /data/vendor folder for audio
- for audio acdb and dump files create /data/vendor folder

Change-Id: If24a072d3686c3740ba36a3d6eb1849b4a769a3b
2018-06-29 00:01:58 +08:00
LuK1337
588e53b8b8 msm8937-common: Update DRM&QSEE stack to O-MR1
* From vince 8.1.0 OPM1.171019.019
2018-06-29 00:03:00 +08:00
Abhimanyu Garg
81c79c4049 msm8937-common: creating directory path for iop data files
Creating new directory in data/vendor directory to store the IOP data
files.

Change-Id: I8e5cb44125494d87ee8f169e376809d8fbd89205
2018-06-29 00:03:00 +08:00
Varun Garg
a9291ed549 msm8937-common: Remove perfd and update default value file path
Removing the code related to perfd. Update the path for default_value
file to vendor
partition from system.
2018-06-29 00:03:00 +08:00
Bruno Martins
d1f2c50dd8 msm8937-common: Update perf stack to O
* From: TA-1025_00WW 8.1.0 OPR1.170623.026
2018-06-29 00:03:00 +08:00
Dante Russo
4dbde63fbc msm8937-common: Move location files from /data/ to /data/vendor/
Runtime files and sockets used by location modules
are moved to vendor partiion from /data/misc/location
to /data/vendor/location.

CRs-fixed: 2046657
Change-Id: I76da150d7a897bf94b950217587e40c82f2f02c6
2018-06-29 00:03:00 +08:00
Bruno Martins
e3a264221a msm8937-common: Update GPS stack to O-MR1
* From bardock-pro - OPM1.171019.011
2018-06-29 00:03:00 +08:00
Vinay Verma
a7e74066ca msm8937-common: Migrate to oem DIAG AID
- Update QTI bin group to oem_2901
- Update /dev/diag group to oem_2901

Change-Id: I5f851ca0e906c40e47733f358918d16de76eb050
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
bc1d746076 msm8937-common: Add radio group rules to dpmQmiMgr
-dpmQmiMgr permissions are updated with radio group
to communicate with QMUXD socket.

CRs-Fixed: 2183993
Change-Id: I37195ffc6602d009ac4cace6c742484e70a768ec
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
02af154335 msm8937-common: Start dpmQmiMgr from init script
- Added user and group tag for dpmQmiMgr
- Start the daemon with system privilege.

CRs-Fixed: 2080471
Change-Id: Id3a4a9f849d336e103c3c6897daf34465230b83a
2018-06-29 00:03:00 +08:00
Ayishwarya Narasimhan
d5eee21dab msm8937-common: Explicitly specify uid, gid and groups
needed for cnd

Change-Id: I1b38a2c1296a7524442dcccbbe96219d6ec28f0f
CRs-Fixed: 2063571
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
0810c53d89 msm8937-common: Change name of imsrcsservice to vendor.imsrcsservice
Change-Id: I59c95f73d55326ea1042c3b383a25961827236b3
2018-06-29 00:03:00 +08:00
Ashwanth Goli
5c2df0e8d3 msm8937-common: Remove DPMD entry from init.qcom.rc
-Since dpmd is not a vendor process, removing
  it's entry from init.qcom.rc

CRs-Fixed: 2077469
Change-Id: I7a094afabf27d0e9ddbbc8bc6724efdfece2e749
2018-06-29 00:03:00 +08:00
Ritesh Harjani
a813ccc0cd msm8937-common: Create /data/vendor/tombstones/ for tftp requirement
tftp_server ramdump feature needs /data/vendor/tombstones
dir with uid/gid as system

Change-Id: Id6dad00f9f0140d81da6393bb9355d99701cc76f
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
0122959010 msm8937-common: Create dpm sockets via init.qcom.rc
-dpmwrapper and tcm unix domain sockets are created
from init.qcom.rc to enable socket communication in
system region.
CRs-Fixed: 2076621
Change-Id: I06dfe50f0547d6b9dc489dba5fbd9cf62c1b66b0
2018-06-29 00:03:00 +08:00
Sahitya Tummala
fb2cbf374f msm8937-common: Set ioprio for rmt_storage service
Earlier, this used to be set from rmt_storage service with
sys_admin capability. But now, that capability is dropped
off and hence, set it here in init scripts.

Change-Id: Ie8a3895c2b63da35d78fb9e571d74b735c969520
2018-06-29 00:03:00 +08:00
Bruce Levy
29c623b15f msm8937-common: Mark rmt_storage as shutdown critical
rmt_storage should not be automatically killed by Android during
shutdown since it is needed to actually process the peripheral
shutdown

Change-Id: I58a29fe86955f0abad944727bb4208dad89f495d
2018-06-29 00:03:00 +08:00
Devi Sandeep Endluri V V
fbaba5ad42 msm8937-common: rootdir: Uce Enabling Uce and ConnectionManager Service
Desc: Enabling imsrcsd to run on init.
1. introduce imsrcsd
2. updating ims properties from "sys" to "vendor"

Change-Id: I224512c30cdfc0b832e16f9432b2a15ec6ab7d79
CRs-fixed: 2079498
2018-06-29 00:03:00 +08:00
Huaibin Yang
95b673a2dd msm8937-common: rootdir: Use /data/vendor/radio for radio data folder
Use /data/vendor partition to hold vendor radio data. Modify radio
related init rc and scripts.

Change-Id: I6518e276f68d405151b1b124de6a0ca1b759d951
2018-06-29 00:03:00 +08:00
Subash Abhinov Kasiviswanathan
6e3f8d4dbf msm8937-common: rootdir: Move log location out of misc
misc location in vendor belongs to a predefined service and causes
denials due to collisions with that service. Move the logging to
process specific folders within vendor.

CRs-Fixed: 2052618
Change-Id: Ie43dee22d7dea94b87eac73bb5f2dd01f0cb9225
2018-06-29 00:03:00 +08:00
Subash Abhinov Kasiviswanathan
50acdddaea msm8937-common: rootdir: create directory for video dump
Create directory for Dump video inside vendor
data partition (data/vendor/media)

Change-Id: Icabdc8e0d4bb57ec2ba8857068fabea925d7d181
2018-06-29 00:03:00 +08:00
Dhanalakshmi Siddani
2a8e6ec33c msm8937-common: init.qcom.rc: give write permission to audio
- Audio HAL has to write to boot_adsp sysfs entry to unload image
- Add audio group to boot_adsp sysfs to give write permission

Change-Id: Ia3b40384aa42a0ad94d2e3cc1380ff4dd5a128c0
2018-06-29 00:03:00 +08:00
LuK1337
e05a1d3f0d msm8937-common: Update full radio stack to O
* CNE - from vince 8.1.0 OPM1.171019.019
* DPM - from vince 8.1.0 OPM1.171019.019
* QMI - from tissot - OPR1.170623.026
* Radio - from tissot - OPR1.170623.026
* Radio IMS - from tissot - OPR1.170623.026
2018-06-29 00:03:00 +08:00
Naseer Ahmed
9f2a0e7284 msm8937-common: init: restart hwc on SF restart
Change-Id: Iac3abf0e50d77058548bcd232411ae9d7ff6b235
2018-06-29 00:03:00 +08:00
Rajesh Yadav
ac29a09f9f msm8937-common: Add display file creation rules
Change-Id: I794631f9e624b7a829abb2e7249d3c9309735ca2
2018-06-29 00:03:00 +08:00
Ameya Thakur
bda81e4953 msm8937-common: Update the permission of the kmsg node
pd-mapper needs to be able to write the pd error string to the kmsg
buffer. It runs under the system user.

Change-Id: Ic52682f8151d10c4e6ffdc2b3ed4bc2183ebd6f6
2018-06-29 00:02:59 +08:00
RAJATH R
72bac7fdfa msm8937-common: Removing redundant permission for BT folder
Removing redundant creation and assignment of permission for
data/misc/bluetooth folder from init.qcom.rc file.

Change-Id: I941a53d01675b44fa6a5b59bcd2b72f9e6a11ab7
2018-06-29 00:02:59 +08:00
Gurpreet Ghai
45f02ce6bf msm8937-common: Create folder for Bluetooth logs/dump collection
These changes are to create folder to collect logs and
dump from Bluetooth HAL daemon.

CRs-Fixed: 2051034

Change-Id: Ib930a80aab1354ad1463a02febf71eba922e2df8
2018-06-29 00:02:59 +08:00
LuK1337
e5906568e9 msm8937-common: rootdir: Remove audiod service
* Dropped by Qualcomm in O.

Change-Id: Id1c6e9d475b59b41c0cc4e4633e2ce7faabd19ef
2018-06-29 00:02:59 +08:00
Prateek Chaubey
abaad87b3f msm8937-common: Move proprietary binaries to vendor 2018-06-29 00:02:59 +08:00
Luca Stefani
493cebbb09 msm8937-common: Remove fingerprint service
* Biometrics HIDL HAL impl to be added per device

Change-Id: I1a265388ef44b4eb9a1e4713fa9ccc22a20c2c36
2018-06-29 00:02:59 +08:00
Luca Stefani
0624381604 msm8937-common: rootdir: Update ZRAM comp streams flag
* AOSP now support it as max_comp_streams

Change-Id: I094f1e15f386cb7aa7909df2f7c91b93148eb840
2018-06-29 00:02:59 +08:00
Luca Stefani
c555a5ad74 msm8937-common: Remove references to hostapd
* No longer used.
* It lives in it's own rc extension now

Change-Id: I0c53cbb1ba2610aac4349b6a0e66e23c75871d27
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Alberto97
783862d47b msm8937-common: bt: Remove net_bt_stack
* net_bt_stack is gone, replace it with bluetooth (android/platform_system_core@604208e957)

Change-Id: I62ac0fa2e59a9643fd6a3d4b173dd8c8892037b9
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Bruno Martins
34640e453b msm8937-common Update second RIL daemon service
* Match the new changes introduced in O

Change-Id: I43c6fa60214ce91d6a149f15416a9f3170abfdd5
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Roshan Pius
c9d0f8fef4 msm8937-common: 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
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Roshan Pius
4d45d61892 msm8937-common: Move wpa_supplicant to vendor partition
Bug: 35684372
Test: Compiles
Change-Id: I1bf1355c22f5fc4f6a68032f3b30cced91d0bfed
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Christopher Wiley
2d5f0f2f68 msm8937-common: wifi: Do not define superfluous wpa_supplicant service
Bug: 30816535
Change-Id: Iab4e212b1c2dcbb97e73945e6b807b37174e0ae0
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Woody Lin
12b318e65b msm8937-common: fs: symlink platform/soc/${ro.boot.bootdevice} to bootdevice
Make symbolic link from
/dev/block/platform/soc/${ro.boot.bootdevice} to
/dev/block/bootdevice.

Change-Id: I7b7f4c728656103445e7fb68ccca92402fa36ff5
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
2018-06-29 00:02:59 +08:00
Isaac Chen
52aa1b7292 msm8937-common: Cleanup power script
Signed-off-by: Prateek Chaubey <chaubeyprateek@gmail.com>
2018-06-29 00:02:59 +08:00
Isaac Chen
bc63340ec5 msm8937-common: Import device specified init script
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-06-29 00:01:35 +08:00
Prateek Chaubey
8600353606 msm8937-common: Remove obvious device specific files 2018-06-29 00:01:11 +08:00
Michael Bestas
0747b0f1c2 land: Switch to config based tcp buffer sizes
* Update overlay values from init.qcom.rc values
* Remove init.qcom.rc deprecated properties
* Add entry for wifi TCP buffers

Change-Id: If5e4e60096a65119d2ec3a9a0abf24cfbca5b199
2018-02-14 17:51:54 +01:00
Prateek Chaubey
8b2ee0fab3 land: ramdisk: Update from LA.UM.5.6.c1-02300-8x37.0
* restored init.target.rc
* removed old paths and services

Change-Id: Iac7ddd97989d76132a7ab252586b980976282550
2018-02-14 17:51:02 +01:00
Chongkai Zhu
a018167757 land: Disable inline xattr feature for F2FS formatted /data
* This is causing kernel panics since the latest F2FS updates
   (https://github.com/LineageOS/android_kernel_xiaomi_msm8937/commit/cd14a2cf20c)

Change-Id: I356fe89bd8927acf4ed5cbb037185f81f2e91d3e
2018-02-10 18:24:18 +01:00
Prateek Chaubey
91aa4f87bb land: remove dead services
Change-Id: Ib3dd89c42fb86ac7ef1f74827273c02083ade540
2018-01-28 14:39:57 +00:00