Commit graph

192 commits

Author SHA1 Message Date
Shashi Shekar Shankar
66440068ec msm8937-common: post-boot: Set read_ahead_kb values
Set read_ahead_kb values as per device RAM size.

CRs-Fixed: 2210107

Change-Id: I3a937b49d8fbae8b9ae3ed1f8c7762e0448a36aa
2018-08-01 18:23:37 +02:00
Vijay Dandiga
3bf8f219e8 msm8937-common: post_boot: Tune/configure ZRAM memory parameters
1) Set zRam size to 1GB for 3GB and above targets
Increasing the swappiness and zRam size improves zRam savings and app concurrency.

2) Corrected the vmpressure_file_min value.

CRs-Fixed: 2176961

Change-Id: I4eb71110f35f67b984bea4106d6cec3c2586d024
2018-08-01 18:23:37 +02:00
Vijay Ganti
a0e515a7b9 msm8937-common: perflock: Changes in the initialization of perf lock
Change the order of initializing perflock and add
property to trigger post boot stage completed.
2018-07-31 17:38:01 +02:00
Isaac Chen
b072417101 Revert "msm8937-common: Cleanup power script"
This reverts commit 52aa1b7292.
2018-07-30 17:58:07 +02:00
Mahantesh Sanakall
f2a7d883a0 msm8937-common: Enable quota feature for userdata partition.
This will enable quota feature for the data partition.
2018-07-12 00:00:06 +08:00
Sashidhar Ganiga
50aa3a00fe msm8937-common: Enable noatime mount option for CTS failure
Enable noatime mount option for userdata, cache and
persist partitions.
2018-07-12 00:00:06 +08:00
Isaac Chen
28b0c3173b msm8937-common: proprietary-files: Update BT and WiFi blobs to O-MR1
* From : vince 8.1.0 OPM1.171019.019
2018-07-09 00:00:47 +08:00
Rashed Abdel-Tawab
21cff78bb0 msm8937-common: Move qcamerasvr to main and restart on service restarts
* Move qcamerasvr to main to it restarts on decryption
 * Also trigger a qcamerasvr restart when media or all services restart,
   since it needs to be properly restarted with cameraservice
2018-07-09 00:00:47 +08:00
Ethan Chen
01bd83cf4c msm8937-common: rootdir: Move mm-pp-dpps to hal class 2018-07-09 00:00:47 +08:00
Michael Bestas
0f9e6e3a3a Revert "msm8937-common: Grant netmgrd proper unix perms"
* No longer needed

Change-Id: I7ad8217405011b67d5fc27a83c27b57d8fc6b444
2018-07-09 00:00:47 +08:00
Michael Bestas
95f7c5508d Revert "msm8937-common: Grant rmt_storage proper unix perms"
* No longer needed

Change-Id: Idcf1c5b9ccf4d42c0ec6b22f32a5813ba2b497a5
2018-07-09 00:00:47 +08:00
Michael Bestas
2858a9103a msm8937-common: Get rid of recovery-only fstab
* Mounting /system and /vendor partitions is handled in kernel now,
   however removing the entries from fstab caused issues building
   the OTA. The workaround was to have a separate fstab, but turns out
   that simply setting the recoveryonly flag does the trick because
   those are then ignored during a normal Android boot.
2018-07-09 00:00:47 +08:00
Isaac Chen
d68a5f8ca5 msm8937-common: Enable Full treble
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:20 +08:00
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
Michael Bestas
002face0cc msm8937-common: Load system props on offline charger mode
* load_all_props does not exist
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
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