aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc (follow)
Commit message (Collapse)AuthorAge
* msm8996-common: Remove /persist bind mountDavide Garberi2019-05-25
| | | | Change-Id: I2d75ebf306bcedc09de6fa1cd53ba2a34bf6cea6
* msm8996-common: Fix thermal-engine dac_override denial.Joel Galenson2019-05-16
| | | | | | | | | | | | | | We occasionally see a dac_override SELinux denial from thermal-engine trying to access /dev/diag. This seems to be a race between thermal-engine reading the file and init setting its permissions to 666 (they are initially set to 660 and in the diag group). This commit adds thermal-engine to the diag group so that it can read the file even if it is not world-readable. Bug: 72458250 Test: Boot and test wifi and camera. Change-Id: I55adfcf731a5da3ba7bb52d957d64e8e1f26febb
* msm8996-common: Remove wcg_mac_toolDavide Garberi2019-05-16
| | | | | | | * Turns out we don't actually need to use this as /proc/mac_wifi and mac_bt can turn into normal mac address values just with hex dumping * Remove bt_mac_prop as we can just set the mac path in vendor_prop.mk Change-Id: I23665cdd5d39d5e090694cff5a63f55ecb9ea334
* msm8996-common: Correct BT mac address with non zui blobsDavide Garberi2019-05-15
| | | | Change-Id: Ibc6eed2018314e79f3f18749cedd9852c82a8a66
* msm8996-common: pocketmode: Allow control over PocketMode serviceBruno Martins2019-05-10
| | | | | | | | | | | | | | | | * Once the service is running, proximity sensor is constantly active when the display is turned off, resulting into a residual increase in battery consumption. Add a toggle so that users can decide whether they accept that and prefer to prevent accidental wake-ups triggered by the fingerprint sensor. * Keep the receiver that listens for the screen status registered only if the fingerprint wake-up feature is enabled at the same time as the accidental wake-up prevention feature. * Set PocketMode as a required module of ConfigPanel, to make sure it is only shipped on devices building the latter. * The configpanel part is integrated in b07a633bdeda835867aa3dc5a033529d7bd712dc Change-Id: Icfa23d2aef971e368476b6f1f7612493c2b69a20
* msm8996-common: rootdir: Decommonize some ramdisk propsDavide Garberi2019-04-11
| | | | | | * To prevent a log spam due to missing files to write to Change-Id: I8e972a2d73018734be835d89062ffeb1b27a9d07
* msm8996-common: remove useless NFC referenceskubersharma0012019-03-08
| | | | | | | * z2_plus/row do not support NFC so its useless to have these * fixes random log saying this device has no NFC Change-Id: Idc0d97b42dff1f826efb35808b3998f40be98a7b
* msm8996-common: Set the hardware wlan mac using wcg_mac_toolDavide Garberi2019-03-02
| | | | | | | | | * Bin extracted from ZUI * Add init.wlan.sh to check if the mac address in wlan_mac.bin is already correct, if not correct it * Run both the bins on boot completed as wcg can't run earlier * Label both the bins and address their denials Change-Id: I7a8001465ec9c3d69bd228efa57dddfdd8e3c6f3
* msm8996-common: Remove readmacDavide Garberi2019-03-02
| | | | | | * We don't need this anymore, no random mac because the real hardware wlan mac works now Change-Id: I13f85f4eb438b2230408d5bad1c694b2cd39a25b
* msm8996-common: init: stop/start -> restartMichael Bestas2019-02-18
| | | | | Change-Id: Iaec52fcf4206263a2966f8cbfa6e40c97e7e117c Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
* msm8996-common: Restart HIDL camera provider after decryptionLuK13372019-02-18
| | | | | | | | * Restart HIDL camera provider to cover some edge cases where camera isn't working on FDE devices with boot pin enabled. Change-Id: Ia757e9d07de26008f426fca582439d68b6d6fecb Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
* msm8996-common: Hex edit camera blobs to use /data/vendor/qcamMichael Bestas2019-02-06
| | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I0ca268ec4cf71f80a5e341f0131c239ae0dd66fd
* msm8996-common: sepolicy: Nuke the neverallowsDavide Garberi2019-02-06
| | | | | | | * Also fix other general sepolicy errors after stopping to ignore the neverallows Change-Id: I1af3d9f57a0ca6e37420094a53f1c52127f3e187 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Hax libaudcal.so to store acdbdata in new pathdianlujitao2019-02-06
| | | | | | Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib8a826b51ab4b28356cb04e03bb894f267e9bdf7
* msm8996-common: camera: dump: use vendor locationMarc Bourgoin2019-02-06
| | | | | | | * we no longer use /data/misc/camera Change-Id: I2092c20f002e2e5d577cb1ef8fecce21734ebdb4 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Rename sensors.qcom to sensors.qtidianlujitao2019-02-06
| | | | | | Change-Id: Ifdda665fd39227a3a76079199c3f2daf90a8746d Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update prefix of hwcomposer serviceRamakant Singh2019-01-26
| | | | | Change-Id: Iac3abf0e50d77058548bcd232411ae9d7ff6b235 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Moving persist mount point to /mnt/vendor/persistVinay Verma2019-01-26
| | | | | | | | | | | | Move persist entry to fstab and mount at /mnt/vendor/persist Apply required user, group and permissions once persist folder is created through __mount and parititon is mounted. Run restorecon on /mnt/vendor/persist. Change-Id: I20a16f3669bc7abf9844525c6ba0db1521a5a8e2 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Change qti service name to dataqtiMohammed Javid2019-01-26
| | | | | | | | qti name is generic and updating it to dataqti so that no generic context will not match Change-Id: I186a642623f1ae46688a44f754fbe7ba421d042c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add "vendor" prefix to service name.Ankit Jain2019-01-26
| | | | | | | | | Android P upgrade mandates to have "vendor" prefix in service name for vendor services(rmt_storage, tftp_server). FR:48725 Change-Id: Ibfb7e9376cd3ea185fc2711b6480ea62d8dd938c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Rename sensor service names by prefixing vendor.Ananda Kishore2019-01-26
| | | | | | | - sensors --> vendor.sensors Change-Id: Id0213c33d13b3104bf4dd6d993a7bba164d5ac26 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add vendor prefix to data connectivityDevi Sandeep Endluri V V2019-01-26
| | | | | Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Change data properties to comply with TrebleSean Tranchetti2019-01-26
| | | | | | | | | | | | Treble changes in Android now require stricter naming conventions for vendor properties, and also impose stricter requirements on using properties as actionable triggers in init scripts. This change updates the properties used by data modules to follow these new guidelines. Change-Id: I26a7eff59030679e6d796523de99f14e9654c019 CRs-Fixed: 2215428 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add vendor prefix to data/ims vendor binariesPavan Kumar M2019-01-26
| | | | | | | Added vendor prefix to vendor bins Change-Id: I634951944537397727239a17ce64522b3d2dac0e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add vendor prefix to data vendor binariesSubash Abhinov Kasiviswanathan2019-01-26
| | | | | | | | | | | | | | | This fixes an issue where the data binaries were not starting up due to the updated sepolicies. A sepolicy denial was seen in that case similar to the following - selinux: avc:  denied  { set } for property=ctl.netmgrd pid=1170 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:ctl_default_prop:s0 tclass=property_service permissive=0 CRs-Fixed: 2191664 Change-Id: I41ff0d8f3280b9438c163fab6db5fff3293f28d0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Start loc_launcher as gps userHarikrishnan Hariharan2019-01-26
| | | | | | | | | | | | 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 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Remove energy awareness daemonDemon Singur2019-01-26
| | | | | | | | | All this does is to disable msm_core and set the polling_interval to 0, which makes the driver useless. We can achieve the same result by disabling the driver. Change-Id: Ic19c505ed74811a3d1b76703255af3aa5cb37bf9 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: remove wcnss_filterDemon Singur2019-01-26
| | | | | | | Unused when using Qualcomm's bluetooth stack. Change-Id: I2682e65a85c7b1112a695e851e9b1512a6b3d28c Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update RIL IMS and QMI FROM daisy ↵davidevinavil2019-01-26
| | | | | | 9/PKQ1.180917.001/V10.0.1.0PDLMIFJ [1/2] Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Remove cnss-daemon referencesDavide Garberi2018-12-11
| | | | | | | * We've removed this a long time ago Change-Id: Id83ad0e555c8bca3515a9f39f2734287c3c4e797 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Change /data/time to /data/vendor/timeMao Jinlong2018-12-04
| | | | | | | | Time folder is for time_daemon which is in vendor partition. Vendor module can't access data in /data for treble limit. So change /data/time to /data/vendor/time. Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Import init.msm.usb.configfs.rc from ↵Subhajeet Muhuri2018-11-28
| | | | | | | | | | | LA.UM.7.2.r1-05400-sdm660.0 This fixes the following USB related issues which were introduced after upgrading to kernel 4.4: * Android Auto * USB Tethering in Windows (now no longer needs manual RNDIS driver installation) * QCOM DIAG mode Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Set readahead to 128kB for mmc tooSubhajeet Muhuri2018-10-31
| | | | | | | * Also don't set 2048 on late-fs for UFS as it's already being set from the kernel now Change-Id: I9760189a810a0f24a292cb629d34ba456f4ad208 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Moving location sockets from /data to /devSaurabh Srivastava2018-10-19
| | | | | | | | | | Keeping sockets in /data/vendor/location prevents unmounting of /data partition after build load. CRs-Fixed: 2175511 Change-Id: Ide726a84b6b5f8df0c18d7d7dcbc1ee469b6d934 Signed-off-by: Erfan Abdi <erfangplus@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Update bluetooth stack to LA.UM.7.2.r1-04000-sdm660.0Davide Garberi2018-10-19
| | | | | | | * From Nokia 7 Plus B2N_sprout:9/PPR1.180610.011/00WW_3_22C Change-Id: Ia7218dca9e94ad7e2a7918d30aaeea6078ab7cb7 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: We aren't using the camera wrapper anymoreDavide Garberi2018-10-19
| | | | | Change-Id: I1305bedcd14af9b648809790f9d8faf86440d049 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add pocketmode appfluxi2018-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I71e47d5f203adb7e28d37447e19a8041a1d02840 msm8996-common: PocketMode: Apply LineageOS rebrand Change-Id: I1de627062f56bd125f430033e8bb7aad8fe48f69 msm8996-common: pocketmode: Bump sdk version Change-Id: Ic521e380868bdc886e15c6a8a472564a98dbc094 msm8996-common: PocketMode: Explicitly include Android support libs * Fixes non-jack build Change-Id: I9d8346193577c7be218e12efb20f52ca9946eb14 msm8996-common: PocketMode: Properly depend on Lineage SDK * This is actually the proper library to include (only spotted while buidling with Jack disabled, because app compilation was failing). Change-Id: Ib61f93704c6411a4cb1f91d9e8693a1775934037 msm8996-common: PocketMode: Remove useless cast Change-Id: I655b0b80ccafdaae422a2464d2b8409f70be0e8c msm8996-common: Adapt to Zuk Change-Id: I9050faac37de0a8392b31fed5c3562d4553c546f msm8996-common: Set LOCAL_SDK_VERSION where possible. This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ic906adbd670c4dbfe2cdf0b71cdbeaf9ac08a27e msm8996-common: sepolicy: Address a fingerprint denial Change-Id: I07c75d58357f7eea2dcc68ed80dacbab76bb30f5 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Update for Pie display and perf stackDavide Garberi2018-10-06
| | | | | Change-Id: I1de1749a4e13f6870a9bb4348a5a9f18f0528461 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: skip wait for hwservicemanagerWei Wang2018-09-26
| | | | | | | | | | | | | | Wait for hwservicemanager is no longer needed after this CL: https://android-review.googlesource.com/#/c/356043/ Bug: 36399429 Test: nash boot Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I12c5adab70dc519b5e834eb35262ff73d214978b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Make sure graphics HAL services started before mounting dataWei Wang2018-09-26
| | | | | | | | | Bug: 36409349 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Start hwservicemanager earlyChia-I Wu2018-09-26
| | | | | | | Test: builds and boots Bug: 35173320 Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
* msm8996-common: start bootanim before mounting data partitionWei Wang2018-09-26
| | | | | | | | | Bug: 30118894 Signed off by: Nolen Johnson <johnsonnolen@gmail.com> Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Change the MBN copy property prefixSai Kousik Swarna2018-09-25
| | | | | | | | | Changes the prefix of mbn_copy_completed to ro.vendor.ril as there a permission error with current prefix. and due to this MBN OTA is failed. Change-Id: I31a0032aba79177680b7b91363d1d9be97dd9c90 CRs-Fixed: 2261501
* msm8996-common: Fix MBN copy issueHua Liu2018-09-25
| | | | | | | | | | | | DAC_OVERRIDE is disabled for all the vendor init scripts in Android P. This change will grant "group root" the write permission temporarily for deleting/copying operations. System user could not access the MBN files in data partition no longer. Only radio user and root group have read permission after boot up. Change-Id: I9f184da2253dc5896b145c0e52fc3b42da15d9f7
* msm8996-common: Change scripts for copying MBNsHua Liu2018-09-25
| | | | | | | | | | | | | | 1) Using "chmod -h" instead of "chmod" 2) Using "mkdir -m" instread of 2 seperate commands for creating directory and change permission 3) Using "write" command in RC file instead of "echo ...>" in bash 4) Create "data/vendor/modem_config" for storing MBNs, which is read only 5) Remove qcril.db copying in sh file, since this logic is not used anymore Change-Id: Ib9a9e0d32ae529dab3dc0c164062d2887dff4439
* msm8996-common: Address dac_override and dac_read_search issues in init.qcom.shSridhar Parasuram2018-09-25
| | | | | | | init.qcom.sh accesses files owned by groups radio, system and hence the groups have been added. Change-Id: I535eeaf42f38532ec6de46eb57f3cc0e1d959a47
* msm8996-common: rootdir: do not symlink sdcard legacy pathDemon Singur2018-09-25
| | | | | | | Solves the following denial. denied { write } for pid=548 comm="init" name="storage" dev="rootfs" ino=15996 scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 Change-Id: If246f497bd8384f0fee81469d8d29dcb528d4d4e
* msm8996-common: rootdir: do not create /tombstones symlinkDemon Singur2018-09-25
| | | | | | | Solves the following denial. denied { add_name } for comm="init" name="tombstones" scontext=u:r:vendor_init:s0 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=1 Change-Id: Iff7d85d6f13f8fa0efc4a594bfcefdbb9d8ee3ed
* msm8996-common: Restrict rmt_storage to CPU0.Cosme Domínguez Díaz2018-09-13
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Use QTI bluetooth stackBruno Martins2018-08-31
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>