aboutsummaryrefslogtreecommitdiff
path: root/rootdir (follow)
Commit message (Collapse)AuthorAge
* msm8996-common: rootdir: Cleanup EAS leftoverDavide Garberi2019-05-15
| | | | | | * Also fix a typo Change-Id: I73c5487105e9a5ad41b9988f8187c9137b50070b
* msm8996-common: init.qcom.power.rc: Modify naming convention for propertiesKarthik Gopalan2019-05-15
| | | | | | | | | Modify naming convention for properties and also remove unused code. CRs-Fixed: 2206509 Change-Id: I78821a66a65d92ea9284283efe5e3ca1659fa3de
* 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: Conditionally remove the OEM unlocking optionDavide Garberi2019-05-09
| | | | | | * It would get disabled anyway when bootloader is unlocked, but this way makes safetynet pass even when unlocked Change-Id: I2dfe641bf60e0409f290b7b31492df00568c9916
* msm8996-common: sepolicy: CleanupDavide Garberi2019-05-02
| | | | | | | | * Add back the fstab contexts to prevent some vfat denials * Remove a lot of not needed addresses * Create a domain for double tap to wake to not let the powerhal access all the sysfs files Change-Id: I44dfc5e9903eb562748215541f2d71f9a3d111d7
* msm8996-common: rootdir: Disable input boost completelyDavide Garberi2019-04-11
| | | | | | * This doesn't make much of a difference as of performance and jank but could save some battery Change-Id: Id139d5072e9b841dcd385136a2e497520c588df8
* msm8996-common: Switch to cfqDavide Garberi2019-04-11
| | | | Change-Id: Icf9d1b9d17aafa700378f6a2a832d124c6dd5576
* 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: Switch back to stock chargerDavide Garberi2019-02-19
| | | | | | This reverts commit fd4723a91d1cb0d367aea9b6413b2dc336fd82d8 and 4ee3647a319cd52a2aa2575f47b2b74852bba852 Change-Id: I9362cb608480dd11e83b5da34f6e01f38fddf942
* 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: rootdir: uevent: Update firmware_directoriesDavide Garberi2019-02-06
| | | | | | | * We must include the new folders to check for Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I4e0f561c804b8de46c417887a1418265ea12f969
* msm8996-common: fstab: Go back to mounting factory as vendorDavide Garberi2019-02-06
| | | | | | | | | | * The principal reasons are: - Just one TWRP for treble and non treble ROMs - No need to flash anything to switch from treble to non treble ROM - No need for new users to flash any new zip Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I362d703042d536be9af53ef5319858f1296e69e0
* 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: Move offmode charging daemon awayBruno Martins2019-02-06
| | | | | | | | * Follow-up change for commit f22141c that simply moves the prebuilt to its proper place. Change-Id: I40d37ea6ae53fe8fe919dda758db22df3c1c4229 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Added a permissions for ODL char devicesMohammed Javid2019-01-26
| | | | | | | Added a permissions for ODL char devices Change-Id: I1c74c060c9e9b958307a07a4dbe630d0f28b3a89 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: rootdir: Fix fstab indentationDavide Garberi2019-01-26
| | | | Change-Id: I98d2c82ae5786d2e6e49bd1edf0f6e2e7d6f6ae3
* msm8996-common: Bind mount /mnt/vendor/persist to /persist for sensorsdianlujitao2019-01-26
| | | | | | | * Oreo sensors.qcom cannot access to persist even with the symlink Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d 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: Update references of firmware to /vendor/firmware_mntVinay Verma2019-01-26
| | | | | Change-Id: I56b9d81bd2b74bf583e2b6c41d37a4ac792a6332 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Mount dsp and firmware in vendorVinay Verma2019-01-26
| | | | | | | | | | | Change fstab to mount dsp and firmware to /vendor/dsp and /vendor/firmware_mnt. Add classpath for firmware loading /vendor/firmware_mnt/image in kernel command line. Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4 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: Move /bt_firmware mount point to /vendor/bt_firmwareVinay Verma2019-01-26
| | | | | Change-Id: I6dbb4e19fd00861b0c50a7df6eab197e878a5d0e 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: Set permissions of /dev/byte-cntr deviceSaranya Chidura2019-01-26
| | | | | | | | | | | To support ODL to read data from QDSS, create a custom group and set permission of byte-cntr device. And also set permission to coresight-tmc-etr/block_size to enable byte-cntr feature. Change-Id: Ic80156667dd7511392d5970ddcbd0fdc43ffffca Signed-off-by: Saranya Chidura <schidura@codeaurora.org> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Sync with marlin's load balancing cpusetSubhajeet Muhuri2019-01-26
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: add restricted cpusetTim Murray2019-01-26
| | | | | | | | bug: 78197570 Test: CTS Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: rootdir: Move the powerhal chownsDavide Garberi2019-01-26
| | | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: If78decdd3b94b023f3331f77d75cd114ada1ad2f 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: Update SELinux context for chargerArtem Borisov2019-01-19
| | | | | | | * Fixes most denials in charger-only mode Change-Id: Iaf4eca77ac7f20c73c8973014b2f722b790753b3 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: init.qcom.sh: cleanupkubersharma0012018-11-28
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>