aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* msm8996-common: camera: HAL3: Use the largest fps range during video recordnichcream2019-02-06
| | | | | Change-Id: I45ddcc7dea608b4909442fdffdf65a9be5155977 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: Improve min frame rate hacknichcream2019-02-06
| | | | | | | | | | AFAIK, there are apps that request 15fps min frame rate; this is deliberate and we shouldn't change its default behaviour. But anything that sets the min fps the same as the max fps definitely should just stop. Change-Id: I5c3a31241009ab79edba4191910ad99d2db30f71 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: camera: HACK: Hardcode preview fps rangenichcream2019-02-06
| | | | | | | | | | * If userspace does not specify a range, it would be defaulted to 30000,30000 (30-30fps), which causes really bad exposure under low light during video recording in certain apps (SnapdragonCamera for one *cough cough*). We definitly do not want this. * Work around this issue by always forcing min fps of 7. Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Fix AoD default prefHenrique Silva2019-02-06
| | | | | | | | | | * Fixes non-working pulse notifications from sensors until user toggles the main switch and also sets the proper initial status of the AoD preference for the devices that have the feature available. Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com> Change-Id: I8e554decca3734b165fdc722d904d90713666db9 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Check if AOD is enabled after bootLuca Stefani2019-02-06
| | | | | | | * The service should not start if AOD had been turned on by the user. Change-Id: I79307adbcda57e663287714ef15830da4f285131 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Move Utils.checkDozeService in an handlerLuca Stefani2019-02-06
| | | | | | | | | * There's no need to manually write to the gestures prefs as long we are sure the handler is run after we return true in the onPreferenceChangeListner Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Make AOD preference not persistentLuca Stefani2019-02-06
| | | | | Change-Id: I9d80e94de02d35c85765302a01b53020824dd0ff Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Add AOD support to Ambient DisplayBruno Martins2019-02-06
| | | | | | | | | | * This makes the always on display mode feature visible for those devices that explicitly set it as available via AOSP overlay. Should only be enabled on devices where the display has been tuned to be power efficient in DOZE and/or DOZE_SUSPEND states. Change-Id: If543936f9421dd7a6c0be594f7cb76afb227e34b Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: doze: Match Pie settings UIJoey2019-02-06
| | | | | Change-Id: Ia1cde37923c55faf057189f7085b69522e2802ef Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Build Trust HALJoey2019-02-06
| | | | | | Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df Signed-off-by: Joey <joey@lineageos.org> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: Address some denialsDavide Garberi2019-02-06
| | | | | | | | * Don't break any neverallows this time * Still healthd missing to fix Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I861eb5dc1f91e7cdea2e7b55c617e55a24ec2e02
* msm8996-common: Remove deprecated CameraParametersExtra.hdavidevinavil2019-02-06
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: Label custom camera socketsMichael Bestas2019-02-06
| | | | | | | | | * Normal path is /data/vendor/camera, defined in device/qcom/sepolicy * We have hex edited 6.0 blobs from /data/misc/camera to /data/vendor/qcam because of the new path string being longer than the old one Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib96191dd55aea0c20c58a16bf1a91a46f07367e6
* msm8996-common: Hex edit mm-qcamera-daemon to use /data/vendor/qcamdavidevinavil2019-02-06
| | | | Signed-off-by: Davide Garberi <dade.garberi@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: Remove qcacld symlinksDavide Garberi2019-02-06
| | | | | | | * It wasn't even being included Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib50c296babd85ad30b4d90398520ab74fe2b9227
* msm8996-common: Remove rootdir symlinksDavide Garberi2019-02-06
| | | | | | | | | | * It's better to do it this way so that we can remove all the rootdir symlinks, which could be useful in future for system-as-root * Hex edit the blobs to search for the new paths (or either update them from Pie) and symlink them to make the length equal to the old path * Update the two adsp libs from daisy Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I9c9f89d37f3767f55346dccdfb9362025d478028 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Don't report where chargeonlymode is fromDavide Garberi2019-02-06
| | | | | | | | * Fixes the following error when executing the update-sha1sums.py: FileNotFoundError: [Errno 2] No such file or directory: '../../../vendor/zuk/msm8996-common/proprietary/sbin/chargeonlymode;rootfs' Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I16e4e5f23e5090cbe2b1c30b663cea57661f8806
* 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: Remove unused wfd blobsDavide Garberi2019-02-06
| | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ie100330591ca73a4522ac67834addfd39cbca036
* msm8996-common: Remove useless ims 32 bit blobsDavide Garberi2019-02-06
| | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: I0344cfdcb63ba0c88ee229e165da5303ba6569bd
* 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: Enable actual VNDK supportDavide Garberi2019-02-06
| | | | | | | | | | | | * Basically: - Copy vndk 28 libgui.so to vendor renaming it to libfui.so and hex edit libmmcamera2_stats_modules and libmmcamera_ppeiscore to search for it This is needed as with BOARD_VNDK_RUNTIME_DISABLE disabled only some files are allowed to access the /system/lib directory - Patchelf libmpbase and libmmcamera2_stats_modules to remove libandroid.so which was being searched, it isn't actually necessary * Thanks erfanoabdi for all the help with this Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ib1797104c3cdf1b4205616a127d4a99cbc70d67b
* msm8996-common: Use BOARD_VNDK_VERSION := currentdavidevinavil2019-01-27
| | | | | Change-Id: Iaf796d8002f958451ecfc7aa842efee1cc2c717a Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: sepolicy: Address some denialsDavide Garberi2019-01-27
| | | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com> Change-Id: Ibd1ea0a8b32fc4e87bf912a87339f7bc2a31d423
* msm8996-common: sepolicy: Resolve health denials after upreving to 2.0Subhajeet Muhuri2019-01-26
| | | | Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Health: Uprevision to 2.0Yifan Hong2019-01-26
| | | | | | | Test: adb logcat -e health Test: lshal --debug Change-Id: I3855f256d79a46c9626f043aac667937ff6414e1 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: thermal-engine: use bms sensor for charging throttlingYaroslav Furman2019-01-26
| | | | | | | | | | | | | | | | 17th sensor get's way above 70C after 7-10 minutes of CPU stress test and above 50C in normal usage. This kills charging entirely. We do not want that because actually it does not indicate that we are overheating. What we really need to check is the battery temperature. This change ensures that we have at least 400-500mA charging even under heavy usage. bms and battery sensors show the same temperature. Change-Id: I3ac2152e06afcd0a27d228de89d635d32b3110bc Signed-off-by: Yaroslav Furman <yaro330@gmail.com> Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Add volte propsdavidevinavil2019-01-26
| | | | 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: New HAL for passing RCS configuration to modemBrandon solis2019-01-26
| | | | | | | Desc: Permission to access QMI Settings from the Connectivity Daemon Change-Id: I0fbb2ad5852beceacf5a9529392c750130d498f0 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: New HAL for passing SIP call info headers to clientsBrandon2019-01-26
| | | | | | | Desc: Permission to access the QMI and HAL from RCS Daemon Change-Id: I45d944376179d0f6f6704563ac3da631a3fa9c64 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: Bluetooth: Increase number of SEPs to support SHO/McastUmesh Vats2019-01-26
| | | | | | | Icreased number of SEPs to support SHO/Mcast Change-Id: I3cfb4e8d4d6969e442406bd095a865d49947151d Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Use build system to create mount point symlinksBruno Martins2019-01-26
| | | | | Change-Id: I2672d6cd1b644c7ba9068a563755de6fde27bc57 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: Update symlinks for new mount pointsdianlujitao2019-01-26
| | | | | | | | * Fix wrong SLPI ramdumps symlink and remove old BT firmware symlinks while at it Change-Id: I8fba4ea0a1af923f427b1ebb00ad86d6bbd81577 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
* msm8996-common: Create mount point symlinks for backward compatibilitydianlujitao2019-01-26
| | | | | Change-Id: I63cdc49ea94447804c6b336d3e509b1f7967b174 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: config.fs: Specify firmware image files as system:systemDavid Ng2019-01-26
| | | | | | | | | | | | | | Explicitly specify firmware image files legacy /firmware/image/* as system:system and new /vendor/firmware_mnt/image/* as root:system For normal boot, this is a no-op as /firmware|/vendor/firmware_mnt is a mount point. This change is only for development when firmware is read-writable and allows changes via "adb push". This match the underlying FAT fs mount ownership of system:system or root:system so adb push's chown will not error out. Change-Id: I90e7528bcd21cca449cc5637d20af8dc9ccf7d3c 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>