Commit graph

172 commits

Author SHA1 Message Date
Prateek Chaubey
aaf0974357 msm8937-common: Cleanup power script 2018-06-29 00:02:43 +08:00
TheScarastic
265678c804 msm8937-common: Add custom biometrics 2018-06-29 00:02:43 +08:00
LuK1337
d8d90bde50 msm8937-common: Move fstab to /vendor
Change-Id: I2e86c3be08d0d4f19a6cf89a931f4a1e6ac12cdf
2018-06-29 00:02:43 +08:00
Abhishek Arpure
28276f33e7 msm8937-common: Move uevent.qcom.rc to /vendor
Change-Id: Iab2699bf26ca4402b835d1af8d4493f9b28595d9
2018-06-29 00:02:43 +08:00
Abhishek Arpure
e2caf7319e msm8937-common: Move hardware specific .rc files to /vendor/etc/init/hw
The reason these files are moved to /vendor/etc/init/hw and
not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder
for vendor service .rc fragments to import. That would either result
in duplicate imports or out-of-order imports of these hardware
specific .rc files and that *may* have unintended consequences.

In order to preserve the current import order for MTP, we move all
hardware specific .rc files to /vendor/etc/init/hw which is not
autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e.
init.qcom.rc in this case) in root for 'init' to find.

Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
2018-06-29 00:02:43 +08:00
LuK1337
977516f130 msm8937-common: rootdir: Move init shell scripts to /vendor 2018-06-29 00:02:43 +08:00
Rashed Abdel-Tawab
42101c780e msm8937-common: Update for early-mounted system partition
* This removes /system entry from fstab, since this partition
   is now early-mounted and the fstab entry is specified in device tree.

 * At the same time, also include a fully populated fstab, in order to avoid
   build breakage while generating recovery updater scripts.

Change-Id: I8e558458b984e97a45a920c3751a6b7c3f2ebc5c
2018-06-29 00:02:43 +08:00
LuK1337
c0e667863d msm8937-common: Load proper thermal-engine configs
* Required for Oreo blobs.

Change-Id: I25c98446ce4677f83f8c543b41b7f8be12c4c254
2018-06-29 00:02:43 +08:00
Manaf Meethalavalappu Pallikunhi
24fa892a90 msm8937-common: thermal: Add thermal send rule socket to thermal service init
Add thermal send rule socket to thermal service initialization script
This change is required for SE Android so that thermal socket context
are not overridden by init.

Change-Id: I8774b62f35f72a481f9976dda5d1aee1e19d8374
2018-06-29 00:02:43 +08:00
Prateek Chaubey
ae3e3a72e1 msm8937-common: Move wlan configs to vendor 2018-06-29 00:01:58 +08:00
Hardik Kantilal Patel
081f77447d msm8937-common: rootdir: Create wifi directory into /data/vendor path
As per Android-O architecture, move vendor specific file into
/data/vendor path instead of /data/misc. To address this
create the wifi directory into /data/vendor path.

CRs-Fixed: 2047794
Change-Id: I6835fb70e1777e23d0b30aa9e08de9a746638c50
2018-06-29 00:01:58 +08:00
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