Commit graph

123 commits

Author SHA1 Message Date
Isaac Chen
51a8da8ec8 msm8937-common: rootdir: Cleanup 2018-07-09 00:00:20 +08:00
Bruno Martins
ff3af16c99 msm8937-common: Ship and enable atfwd daemon
* The atfwd daemon is responsible for handling AT command
   forward requests from modem and should be enabled
   for all targets except sda, apq, qcs.
2018-07-09 00:00:20 +08:00
Isaac Chen
18ed322ef3 msm8937-common: Cleanup GPS makefiles and configs
* Update configs from bardock 8.1.0 OPM1.171019.019
* Cleanup unused blobs
2018-07-09 00:00:20 +08:00
Michael Bestas
4cdf8432fb msm8937-common: Set subsystem restart_level to "related" 2018-06-29 00:02:44 +08:00
Wei Wang
3634a47c7b msm8937-common: time_daemon: use /persist to store offset to RTC
Also cleanup sepolicy files that was using /data/vendor as they are not
needed and /data is not ready by the time we start time_daemon

Bug: 62184939
Test: walleye boot with correct time in airplane mode
2018-06-29 00:02:44 +08:00
codeworkx
fc9805e829 msm8937-common: Add groups for tftp_server
Change-Id: I79cec555e427159a7b24f479d7ef9976495383ab
2018-06-29 00:02:43 +08:00
TheScarastic
265678c804 msm8937-common: Add custom biometrics 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
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
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
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
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
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
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
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
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