aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* msm8996-common: Update to stock GPS configs and clean upBruno Martins2018-08-04
| | | | | | | | * Remove QC location and other unused GPS blobs * Ship with the same premium features enabled in stock builds Change-Id: I2e76e45160f028464eca34bb78da028f7d8dba8c
* Revert "msm8996-common: Regenerate privapp-permissions-qti.xml"Cosme Domínguez Díaz2018-08-04
| | | | This reverts commit 1a30110f6d84f004906813ba19c2ffc7f253dcf9.
* msm8996-common: Update second RIL daemon serviceBruno Martins2018-08-04
| | | | | | * Match the new changes introduced in O Change-Id: I43c6fa60214ce91d6a149f15416a9f3170abfdd5
* msm8996-common: Remove port-bridge service.Cosme Domínguez Díaz2018-08-04
|
* msm8996-common: rootdir: Update fs tune from marlinLuca Stefani2018-08-04
| | | | Change-Id: I142e2842a3a88852d0e0e3598b00cd219259e6a0
* msm8996-common: init: power: CleanupCosme Domínguez Díaz2018-08-04
| | | | * Use Xiaomi's LOS work as main base.
* msm8996-common: rootdir: Drop write permissions from cpu_max_freqLuK13372018-08-04
| | | | | | | | * libqti-perfd for some reason wants to write "0:1593600 1:1593600 2:2342400 3:2342400" to it. * Preventing that lets us use full max freq on 8996pro devices. Change-Id: I081de2e8fc2ade7e6de4e971c29b8c53dd0a598c
* msm8996-common: Fix UFS device in chargerWei Wang2018-08-04
| | | | | | | Bug: 64072712 Bug: 64022845 Test: boot from charger and check last kmsg Change-Id: I8c890c55c9b578ae9e43be7f041dc2cbd4c80c15
* msm8996-common: Boost UFS during bootWei Wang2018-08-04
| | | | | | | | | | | | | | | | Before: SystemServer_start : 6.5916 0.14159 SystemUi_start : 9.646 0.11627 system_server_ready : 10.341 0.16571 After: SystemServer_start : 6.5465 0.17295 SystemUi_start : 9.5017 0.13355 system_server_ready : 10.13 0.17956 Bug: 63644084 Test: 10 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py Change-Id: I5509629bba6cddb35bb72d0f48283e2bf51cebd3
* msm8996-common: Fix more SELinux denials.Cosme Domínguez Díaz2018-08-04
|
* msm8996-common: Add ANT+ supportcrancocco2018-08-02
|
* msm8996-common: Set cache partition filesystem formatRashed Abdel-Tawab2018-08-02
| | | | | | | | Without this, the build system generates a symlink to /data/cache instead of using the actual partition, which will break OTAs on encrypted devices or devices using Lineage recovery Change-Id: Ie72fd1a6b2535292e042b73bcdc1fec93dfe9ed9
* msm8996: gps: Increase batch size to maxPranav Vashi2018-07-29
| | | | Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* msm8996: ipacm: Fix memory leaksAntoine Giraudmaillet2018-07-29
| | | | | | | | * Errors reported by CppCheck. Change-Id: I700e4c8ef6a4cb7f551e1d9c69f72d218b124dde Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* msm8996-common: Fix priv_app SELinux denials:Cosme Domínguez Díaz2018-07-29
| | | | avc: denied { find } for interface=android.hardware.memtrack::IMemtrack pid=3638 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:hal_memtrack_hwservice:s0 tclass=hwservice_manager permissive=0
* msm8996-common: Re-enable Power HAL 1.1 and WiFi statsCosme Domínguez Díaz2018-07-29
| | | | | * Using marlin WiFi firmware, which is newer than ours, we can get a fully functional Power HAL.
* msm8996-common: Fix chager SELinux denials:Cosme Domínguez Díaz2018-07-28
| | | | | | | | | | | | | avc: denied { dac_override } for pid=442 comm="chargeonlymode" capability=1 scontext=u:r:charger:s0 tcontext=u:r:charger:s0 tclass=capability permissive=1 avc: denied { read } for pid=442 comm="chargeonlymode" name="rtc0" dev="tmpfs" ino=2231 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { open } for pid=442 comm="chargeonlymode" path="/dev/rtc0" dev="tmpfs" ino=2231 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { ioctl } for pid=442 comm="chargeonlymode" path="/dev/rtc0" dev="tmpfs" ino=2231 ioctlcmd=7008 scontext=u:r:charger:s0 tcontext=u:object_r:rtc_device:s0 tclass=chr_file permissive=1 avc: denied { write } for pid=442 comm="chargeonlymode" name="persist" dev="rootfs" ino=14980 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { add_name } for pid=442 comm="chargeonlymode" name="subsys" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { create } for pid=442 comm="chargeonlymode" name="subsys" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=dir permissive=1 avc: denied { create } for pid=442 comm="chargeonlymode" name="batt_info.bin" scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1 avc: denied { read append } for pid=442 comm="chargeonlymode" name="batt_info.bin" dev="rootfs" ino=2334 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1 avc: denied { getattr } for pid=442 comm="chargeonlymode" path="/persist/subsys/batt_info.bin" dev="rootfs" ino=2334 scontext=u:r:charger:s0 tcontext=u:object_r:persist_file:s0 tclass=file permissive=1
* ipacm: Add UL rules with XLAT mux idMohammed Javid2018-07-28
| | | | | | | | In case of HAL feature, currently UL rules are installed without XLAT info. Install UL rules with XLAT mux id. Change-Id: Ib290d439e0775f647dcc4b600e67c500b2b24fde
* Revert "msm8996: Build HVX neuralnetworks HAL"Cosme Domínguez Díaz2018-07-28
| | | | This reverts commit 5a1c5d7094cf0c00f4bbca7390fee11ef9293366.
* Merge pull request #13 from hertz1/lineage-15.1Cosme Domínguez2018-07-28
|\ | | | | msm8996-common: Enable interaction boost
| * msm8996-common: Enable interaction boosthertz12018-07-25
| |
* | msm8996-common: Add power-off alarm supportDemon Singur2018-07-27
| | | | | | | | Change-Id: I4fd9e708cf132a91b7d6e0cd33d38d48dcef9413
* | msm8996-common: Adjust interactive governor parameters based on CPU power ↵martin_liu2018-07-27
|/ | | | | | | | | efficiency curve Bug: 28560172 Change-Id: I2974a6dc43ecc51603df4acb942ffcb04091e653 Signed-off-by: martin_liu <martin_liu@htc.com>
* msm8996-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JARMichael Bestas2018-07-20
| | | | | | | | | | * Avoids the following warnings on every single rebuild of anything: build/core/Makefile:34: warning: overriding commands for target `/out/lineage-15.1/target/product/[...]/system/framework/qti-telephony-common.jar' build/core/base_rules.mk:391: warning: ignoring old commands for target `/out/lineage-15.1/target/product/[...]/system/framework/qti-telephony-common.jar' Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
* msm8996-common: Update IPACMBruno Martins2018-07-20
| | | | | | * Tag: LA.UM.6.6.r1-09200-89xx.0 Change-Id: I53cfaae340eb31b1304984d4696ef8a6a8e567b3
* msm8996-common: Update call recording overlay.Danny Baumann2018-07-15
| | | | Change-Id: I3428fa6e47318b195a8dc46731e0aabc14a9a8e7
* msm8996-common: Full update to ZUI 3.5.389.Cosme Domínguez Díaz2018-07-14
| | | | | * Re-patch libmmcamera2_stats_modules.so to use /vendor/etc instead of /system/etc.
* msm8996-common: Use BOARD_VNDK_VERSION := currentRashed Abdel-Tawab2018-07-12
| | | | | | | | However, set BOARD_VNDK_RUNTIME_DISABLE := true as well since camera HAL is a hot mess if attempting to enforce runtime linker namsespace isolation Change-Id: I8f2237a0760d9d5feb0a51c9aed0c18119a5863f
* msm8996-common: Fix dependencies for mm-camera-interfaceYifan Hong2018-07-12
| | | | | | Test: mma -j BOARD_VNDK_VERSION=current Bug: 33241851 Change-Id: I603e86e78c80e592e852da184ca021fe42a8ea9a
* msm8996-common: Add libutils to libqomx_core and camera modulesVijay Venkatraman2018-07-12
| | | | | | | Bug: 33241851 Test: build target and pass CTS Test: With BOARD_VNDK_VERSION, mma works Change-Id: Ibb107bde19cd26675c41059a8c21d5f1f8ffa6bb
* msm8996-common: readmac: fix build with VNDK=currentDemon Singur2018-07-12
| | | | Change-Id: I145b26d5842429e56fff2286257dfccc4cea411b
* msm8996-common: Remove unused or deprecated board flagsBruno Martins2018-07-12
| | | | Change-Id: I919f7303c3289fd91d06fa5ece02f8eb6f4f973d
* msm8996-common: Remove implicitly built QTI camera shared librariesBruno Martins2018-07-12
| | | | | | | * These shared libs are built when TARGET_USES_QTI_CAMERA_DEVICE flag is enabled. Change-Id: Ifb39b7c2c8de2cbb1f59c6dc492a3763d32f1b7a
* msm8996-common: Simply copy prebuilt .jar filesBruno Martins2018-07-12
| | | | | | * No need to have them as build targets. Change-Id: Ie76ae3028a394b25fd9df485e500101f10230294
* Revert "msm8996-common: Restore radio scanning timeout"Cosme Domínguez Díaz2018-07-12
| | | | This reverts commit 721efe84983373dbed1431cb618abe5fc959685a.
* msm8996-common: Use mke2fs to create ext4 imagesWei Wang2018-07-08
| | | | | | | Set TARGET_USES_MKE2FS := true to use new EXT4 tool chain Bug: 62421233 Change-Id: Id6e5c68b2d7854e5330ad87443b974361a4bff9d
* msm8996-common: Remove config_no_sim_display_network_modes overlayLuK13372018-07-08
| | | | | | | * This overlay does not exist since we are no longer based on CAF. Change-Id: Ibbc522f9ab1597d7e039eb7458cf4bb3924b7176
* msm8996-common: Remove send_mic_mute_to_AudioManager overlayLuK13372018-07-08
| | | | | | | * send_mic_mute_to_AudioManager hasn't been doing anything since Android 4.4, therefore there's no reason to keep it. Change-Id: I74ed33265fccd59def5c2f9e67a9e8a28ce4dbc9
* msm8996-common: Remove camera.device@3.2-impl from PRODUCT_PACKAGESLuK13372018-07-08
| | | | | | | * camera.device@3.2-impl is a dependency of camera provider therefore there's no need to add it to PRODUCT_PACKAGES. Change-Id: I3ae211965a31b5f85af3dd0fa1c7811b802586c3
* msm8996-common: Replace libcamera_client to ↵Jiyong Park2018-07-06
| | | | | | | | | | | | | | android.hardware.camera.common@1.0-helper libcamera_client is not a VNDK library and thus not available to vendors. These vendor libs were using the library due to CameraMetadata and CameraParamters classes. The classes are now available via .common@1.0-helper library which is available to vendors. Thus switching to the lib. Bug: 62523241 Test: 2017 pixel devices builds and boots. Camera functionalities work. Change-Id: I16d0fcf94b54c480b8e817c63341fb9f45118867
* msm8996-common: Build camera.* with BOARD_VNDK_VERSIONJiyong Park2018-07-06
| | | | | | | | | | | | Instead of relying on the global include paths, use the header libraries. Global include paths are not available when building with BOARD_VNDK_VERSION. pthread.h is included explicitly since it isn't automatically available then. Bug: 37342627 Test: BOARD_VNDK_VERSION=current m -j camera.msm8996 Change-Id: I210629684ff3451512e2dc4391f6718d5ebdd19b
* msm8996-common: proprietary-files.txt: Move thermal-engine.conf from vendor ↵Cosme Domínguez Díaz2018-07-01
| | | | to msm8996-common.
* ipacm:clear event cache if ipacm receives stopOffloadMohammed Javid2018-06-30
| | | | | | | | | | Currently if NAT iface is not added, IPACM cache setupstream events but default gw index will be set only after adding NAT iface. If IPACM receives stopOffload in between, then it is returning input check error to framework. Add check and clear event cache in case of stopOffload. Change-Id: I1e49a37bfba64458f8966c9894bf48f749f0bbd7
* ipacm: Fix KW issueMohammed Javid2018-06-29
| | | | | | | Add check to prevent access of invalid array index. Change-Id: I95fbb1992a944b91f31e7bb1ee4bf5642d7e31fd
* msm8996-common: Use low level shutdown trigger to stop cnss-daemonNiranjan Pendharkar2018-06-29
| | | | | | | | | | | | Low level shutdown is triggered after SystemServer is cleaned up. sys.shutdown.requested is private to SystemServer and is used to syncrhonize the shutdown process if SystemServer crashes before hardware reboot is complete. Native daemons must use low level shutdown indication from powermanager for their graceful shutdown, if they wish to stop before init terminates the process. Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67
* msm8996-common: doze: use ExecutorService for listener registrationezio842018-06-29
| | | | | | | | | | | | | | | | | | | | | | Replicate what Google did for SystemUI in this commit. https://github.com/aosp-mirror/platform_frameworks_base/commit/fabc743bcf6e6623e530545c4b31285ea642f087 Registering a sensor seems to be an expensive operation, and we do it on each screen-on event, so moving it to an asynchronous task looks like a good idea anyway. By moving all non-essential binder calls of the main thread or to the next frame, we bring this down to 5ms, such that window animation and Keyguard animation starts about at the same time. The interesting part about the ExecutorService: "Memory consistency effects: Actions in a thread prior to the submission of a Runnable or Callable task to an ExecutorService happen-before any actions taken by that task, which in turn happen-before the result is retrieved via Future.get()." (from https://developer.android.com/reference/java/util/concurrent/ExecutorService) Change-Id: I4f37bb9a7dc9d7775d587d4ebd4b6619f3b77e81
* msm8996-common: Drop deprecated OpenGLRenderer propsBruno Martins2018-06-29
| | | | | | | | * In Android 8.1 and later, only the ro.zygote.disable_gl_preload property still applies. All other properties have been removed. Reference: https://source.android.com/devices/graphics/renderer Change-Id: Ib43c22ea3285e5fe397da8a7a5cac1c3a27a2f36
* msm8996-common: rootdir: Move mm-pp-dpps to hal classEthan Chen2018-06-29
| | | | Change-Id: I1e243b057ed24a2bc50a206de7b6c5c8bd702617
* msm8996-common: Reorder tetherable connection typesPaul Keith2018-06-29
| | | | | | | | | | | * In O, the default setting for mobile data always active was changed from off to on, meaning that when non-WiFi tethering is being attempted, more than one connection can be active * Since the first active connection type in this overlay is used, reorder the values to get WiFi connections first, and then any type of mobile data connection, instead of vice versa Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
* msm8996-common: Tune thermal-engine config.Cosme Domínguez Díaz2018-06-29
| | | | * I prefer to keep the phone cooler than having a little more performance.