aboutsummaryrefslogtreecommitdiff
path: root/rootdir (unfollow)
Commit message (Collapse)Author
2020-02-06msm8996-common: rootdir: Import recovery ramdisk from CAFlineage-16.0Davide Garberi
* From LA.UM.8.2.r1-05100-sdm660.0 * Needed for Lineage recovery Change-Id: Idb90a6ecaae541e74a9878c1ca93459cc2fdd949
2019-05-25msm8996-common: Remove /persist bind mountDavide Garberi
Change-Id: I2d75ebf306bcedc09de6fa1cd53ba2a34bf6cea6
2019-05-17msm8996-common: Update mac addresses pathsDavide Garberi
* Switch to /persist for bt_mac to make so that it's kept even after a factory reset * Also update the path of wlan_mac.bin in wlan.sh to write to the real mount point instead of the bind one Change-Id: I250358484a8c8a8ef7f01941eea798c11d6ac4e7
2019-05-16msm8996-common: Fix thermal-engine dac_override denial.Joel Galenson
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
2019-05-16msm8996-common: rootdir: Add a mac randomization optionDavide Garberi
* In case the hardware mac is broken, it'll turn out being "555555555555" for wifi and "666666666666" for bt, so generate a random one in case this happens * Do the same also in case the current kernel lacks the shenqi_nv driver Change-Id: Id9247b563adcb287ea97bc4f25bd1d846c852b8f
2019-05-16msm8996-common: Remove wcg_mac_toolDavide Garberi
* 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
2019-05-15msm8996-common: Correct BT mac address with non zui blobsDavide Garberi
Change-Id: Ibc6eed2018314e79f3f18749cedd9852c82a8a66
2019-05-15msm8996-common: rootdir: Cleanup EAS leftoverDavide Garberi
* Also fix a typo Change-Id: I73c5487105e9a5ad41b9988f8187c9137b50070b
2019-05-15msm8996-common: init.qcom.power.rc: Modify naming convention for propertiesKarthik Gopalan
Modify naming convention for properties and also remove unused code. CRs-Fixed: 2206509 Change-Id: I78821a66a65d92ea9284283efe5e3ca1659fa3de
2019-05-10msm8996-common: pocketmode: Allow control over PocketMode serviceBruno Martins
* 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
2019-05-09msm8996-common: Conditionally remove the OEM unlocking optionDavide Garberi
* It would get disabled anyway when bootloader is unlocked, but this way makes safetynet pass even when unlocked Change-Id: I2dfe641bf60e0409f290b7b31492df00568c9916
2019-05-02msm8996-common: sepolicy: CleanupDavide Garberi
* 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
2019-04-11msm8996-common: rootdir: Disable input boost completelyDavide Garberi
* This doesn't make much of a difference as of performance and jank but could save some battery Change-Id: Id139d5072e9b841dcd385136a2e497520c588df8
2019-04-11msm8996-common: Switch to cfqDavide Garberi
Change-Id: Icf9d1b9d17aafa700378f6a2a832d124c6dd5576
2019-04-11msm8996-common: rootdir: Decommonize some ramdisk propsDavide Garberi
* To prevent a log spam due to missing files to write to Change-Id: I8e972a2d73018734be835d89062ffeb1b27a9d07
2019-03-08msm8996-common: remove useless NFC referenceskubersharma001
* 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
2019-03-02msm8996-common: Set the hardware wlan mac using wcg_mac_toolDavide Garberi
* 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
2019-03-02msm8996-common: Remove readmacDavide Garberi
* We don't need this anymore, no random mac because the real hardware wlan mac works now Change-Id: I13f85f4eb438b2230408d5bad1c694b2cd39a25b
2019-02-19msm8996-common: Switch back to stock chargerDavide Garberi
This reverts commit fd4723a91d1cb0d367aea9b6413b2dc336fd82d8 and 4ee3647a319cd52a2aa2575f47b2b74852bba852 Change-Id: I9362cb608480dd11e83b5da34f6e01f38fddf942
2019-02-18msm8996-common: init: stop/start -> restartMichael Bestas
Change-Id: Iaec52fcf4206263a2966f8cbfa6e40c97e7e117c Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
2019-02-18msm8996-common: Restart HIDL camera provider after decryptionLuK1337
* 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>
2019-02-06msm8996-common: Hex edit camera blobs to use /data/vendor/qcamMichael Bestas
Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I0ca268ec4cf71f80a5e341f0131c239ae0dd66fd
2019-02-06msm8996-common: sepolicy: Nuke the neverallowsDavide Garberi
* Also fix other general sepolicy errors after stopping to ignore the neverallows Change-Id: I1af3d9f57a0ca6e37420094a53f1c52127f3e187 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: rootdir: uevent: Update firmware_directoriesDavide Garberi
* We must include the new folders to check for Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I4e0f561c804b8de46c417887a1418265ea12f969
2019-02-06msm8996-common: fstab: Go back to mounting factory as vendorDavide Garberi
* 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
2019-02-06msm8996-common: Hax libaudcal.so to store acdbdata in new pathdianlujitao
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib8a826b51ab4b28356cb04e03bb894f267e9bdf7
2019-02-06msm8996-common: camera: dump: use vendor locationMarc Bourgoin
* we no longer use /data/misc/camera Change-Id: I2092c20f002e2e5d577cb1ef8fecce21734ebdb4 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: Rename sensors.qcom to sensors.qtidianlujitao
Change-Id: Ifdda665fd39227a3a76079199c3f2daf90a8746d Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-02-06msm8996-common: Move offmode charging daemon awayBruno Martins
* 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>
2019-01-26msm8996-common: rootdir: Added a permissions for ODL char devicesMohammed Javid
Added a permissions for ODL char devices Change-Id: I1c74c060c9e9b958307a07a4dbe630d0f28b3a89 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Update prefix of hwcomposer serviceRamakant Singh
Change-Id: Iac3abf0e50d77058548bcd232411ae9d7ff6b235 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: rootdir: Fix fstab indentationDavide Garberi
Change-Id: I98d2c82ae5786d2e6e49bd1edf0f6e2e7d6f6ae3
2019-01-26msm8996-common: Bind mount /mnt/vendor/persist to /persist for sensorsdianlujitao
* Oreo sensors.qcom cannot access to persist even with the symlink Change-Id: Ifc43515c70b51aeb8c1b5db765051fb21fddb80d Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Moving persist mount point to /mnt/vendor/persistVinay Verma
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>
2019-01-26msm8996-common: Update references of firmware to /vendor/firmware_mntVinay Verma
Change-Id: I56b9d81bd2b74bf583e2b6c41d37a4ac792a6332 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Mount dsp and firmware in vendorVinay Verma
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>
2019-01-26msm8996-common: Change qti service name to dataqtiMohammed Javid
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>
2019-01-26msm8996-common: Add "vendor" prefix to service name.Ankit Jain
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>
2019-01-26msm8996-common: Move /bt_firmware mount point to /vendor/bt_firmwareVinay Verma
Change-Id: I6dbb4e19fd00861b0c50a7df6eab197e878a5d0e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Rename sensor service names by prefixing vendor.Ananda Kishore
- sensors --> vendor.sensors Change-Id: Id0213c33d13b3104bf4dd6d993a7bba164d5ac26 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Add vendor prefix to data connectivityDevi Sandeep Endluri V V
Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Change data properties to comply with TrebleSean Tranchetti
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>
2019-01-26msm8996-common: Add vendor prefix to data/ims vendor binariesPavan Kumar M
Added vendor prefix to vendor bins Change-Id: I634951944537397727239a17ce64522b3d2dac0e Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Add vendor prefix to data vendor binariesSubash Abhinov Kasiviswanathan
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>
2019-01-26msm8996-common: Start loc_launcher as gps userHarikrishnan Hariharan
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>
2019-01-26msm8996-common: Set permissions of /dev/byte-cntr deviceSaranya Chidura
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>
2019-01-26msm8996-common: Sync with marlin's load balancing cpusetSubhajeet Muhuri
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: add restricted cpusetTim Murray
bug: 78197570 Test: CTS Change-Id: I6aaac2f3ce9ba886143e3667df2ca044c7f3d3f0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: rootdir: Move the powerhal chownsDavide Garberi
Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: If78decdd3b94b023f3331f77d75cd114ada1ad2f Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-01-26msm8996-common: Remove energy awareness daemonDemon Singur
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>