Commit graph

748 commits

Author SHA1 Message Date
Charlotte D
3abb12f1a3 remove ir which doesn't exist on karate 2018-11-18 18:03:32 +00:00
Charlotte D
edadce3968 change xiaomi -> lenovo 2018-11-18 18:01:38 +00:00
Michael Bestas
d76a571a43 msm8937-common: Switch to 1.1 power HAL
Change-Id: I4690a5b913141427a828d6a3a4af407d35a10775
2018-10-02 23:02:23 +05:30
Bruno Martins
db6bd1b4c7 msm8937-common: Doze: Add missing preference listeners
* Otherwise, it resulted in Doze service not being activated
   when enabling one of the features for the first time after
   a clean installation.

Change-Id: I625d9109fb85c970f0e59b1cbcabba7d4375d2f3
2018-10-02 23:02:23 +05:30
Bruno Martins
f4733b172d msm8937-common: Doze: Drop useless SDK dependency
Change-Id: I74901339740b82b79f36754c7e52894a98020c3d
2018-10-02 23:02:23 +05:30
Bruno Martins
7cc114062d msm8937-common: Adapt for local LineageHW java overlays
Change-Id: Icb2b9810217f4b4d442ab83a16f455bd2ed82071
2018-10-02 23:02:23 +05:30
LuK1337
2c57929034 msm8937-common: Drop libbt-vendor
* With QTI bluetooth it's no longer needed.

Change-Id: Iba4b0b6ba24fe1b85e7175291ed84769615ffadd
2018-10-02 23:02:23 +05:30
Michael Bestas
27057ed355 msm8937-common: Remove FRP entry from fstab
* Not needed, system treats it as a raw block device

Change-Id: Ieff8b1888c22d49974bfeb60cfc62f3bb2d424c7
(cherry picked from commit 7cf08cd4df73680ac412051e10ce00c84c794d0a)
2018-10-02 23:02:23 +05:30
Danny Baumann
584a356f2b msm8937-common: Mark camera-related processes as API level 23.
Our camera blobs trigger some checks for broken behavior (destroyed
mutex usage, invalid pthread usage) present in newer API levels.

Change-Id: I8705437e0a5c6d80b86748bff559ce1e8a7bf716
2018-10-02 23:02:23 +05:30
Bruno Martins
048730eaf2 msm8937-common: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-10-02 23:02:23 +05:30
Naseer Ahmed
4131f6242f msm8937-common: vndk: Add Mapper 2.1 to VNDK SP list
Change-Id: I24cbc517877e4e7f5827556061dcb5874918fc35
2018-10-02 23:02:23 +05:30
Logan Chien
cca4efdd0e msm8937-common: Migrate to versioned VNDK layout
Change-Id: Ia766c6e43ae162e79a7dc1b792e7ba3017da0cdd
2018-10-02 23:02:23 +05:30
Christopher Ferris
3230c5785f msm8937-common: Add libunwindstack to the list of vndk libraries.
am: c5da126b84

Change-Id: Ia121ee70629775e9b7b92a79892bd69bf6213713
2018-10-02 23:02:23 +05:30
Jiyong Park
6edd88e794 msm8937-common: Add libdexfile to vndk-sp
libdexfile was another new member to vndk-sp. Adding it manually on
devices where BOARD_VNDK_VERSION isn't set.

Bug: 72462122
Test: photo editing does not crash
Change-Id: Idc9b4b026366dea7a33ac1aefd5e16d6ae90d973
2018-10-02 23:02:23 +05:30
Jiyong Park
9f9cbf990c msm8937-common: Adding libutilscallstack.so to vndk-sp
It is a new member to the vndk-sp and is used by libRS_internal.
Adding the libname here so that it is correctly installed to the vndk-sp
directory.

Bug: 72300913
Test: Photo editing works on marlin
Change-Id: Ied04b8050c1166bc83237ba05d329cac98e67986
(cherry picked from commit cbd7ae231a894bee62bc6c71a6585b14bc0d3360)
2018-10-02 23:02:23 +05:30
Hung-ying Tyan
5e30b196e7 msm8937-common: configstore: uprev configstore (1.0 -> 1.1)
Bug: 69691076
Test: built and tested on sailfish
Change-Id: Ieb4b329ccf2f56e304cd2b62ba12183e514aaff1
2018-10-02 23:02:23 +05:30
Yifan Hong
7b39b0bfb5 msm8937-common: Health: Uprevision to 2.0
Test: adb logcat -e health
Test: lshal --debug
Change-Id: Ie650c7ad4f544105f240167e2390df2069e91ac9
2018-10-02 23:02:23 +05:30
Mikhail Naganov
fc20c45e54 msm8937-common: Switch to Soundtrigger 2.1 implementation
Bug: 68823037
Test: "ok google" from locked screen
Change-Id: I256bae45bc3c68febe5d7bb4bdbd559d752b7d96
2018-10-02 23:02:23 +05:30
Roshan Pius
c4ecb0fe92 msm8937-common: Add hostapd HIDL interface
Bug: 36646171
Test: Manual softap toggle
Change-Id: If3c9ea38317b1fee66a383ad88cabf695748853a
2018-10-02 23:02:23 +05:30
Lalit Kansara
bb2e5ff3a2 msm8937-common: Prefix AID with VENDOR_
Change-Id: I560eb0fb5ca248b20765fe564139c1f7cc1dbc93
2018-10-02 23:02:23 +05:30
Han Wang
d0ceb7e97b msm8937-common: Remove creation of /data/misc/wifi and /data/misc/dhcp
* The creation of /data/misc/wifi and /data/misc/dhcp was moved long ago
  to the core init.rc script. Moreover, /data/misc/wifi is deprecated
  since wpa_supplicant now relies on /data/vendor/wifi.

Change-Id: Ic0a33af44ffe163d3dd06cebdc1e192dc9bcb11f
2018-10-02 23:02:23 +05:30
Isaac Chen
3e3f664583 msm8937-common: Set TARGET_2ND_ARCH_VARIANT to armv8-a
Setting TARGET_2ND_ARCH_VARIANT to armv8-a, instead of armv7-a-neon,
can silence the related warning during build.

Bug: 68012286
Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2018-10-02 23:02:23 +05:30
Roshan Pius
413d8082bd msm8937-common: Don't start supplicant with interfaces
Framework will now add interface to supplicant (via HIDL) when it
needs to control an interface, so don't specify them in the startup
params.

Bug: 69426063
Test: Device boots up and able to connect to wifi.
Change-Id: I817d28093f8b982e3806c212babd888c0f5eb7c0
2018-10-02 23:02:23 +05:30
Roshan Pius
10a10db330 msm8937-common: wpa_supplicant(hidl): Add support for starting HAL lazily
Bug: 72394251
Test: Able to start supplicant from framework using
ISupplicant.getService()
Change-Id: I19b8434e7241b9028e7dc86316ec9d5512affcca
2018-10-02 23:02:23 +05:30
Roshan Pius
0790789114 msm8937-common: Uprev to supplicant 1.1
Bug: 65673412
Test: Device boots up and connects to wifi networks.
Change-Id: I2e51291b30fd242edbeae2c69ef9545383895bb3
2018-10-02 23:02:23 +05:30
Jeff Vander Stoep
1bbad63b43 msm8937-common: wpa_supplicant: Move control sockets to /data/vendor
Treble compliance.

Bug: 70228425
Bug: 70393317
Test: complete wifi test in b/70393317
Test: Test wifi on Taimen and Sailfish
Test: verify sockets exist in /data/vendor/wifi/wpa/sockets

Change-Id: I0bfc3a351419f0a03498e79664949f353369bf1b
2018-10-02 23:02:23 +05:30
Etan Cohen
2582062890 msm8937-common: Uprev Wi-Fi HAL to 1.2
New HAL APIs are planned. This requires a HAL uprev.

Bug: 65647646
Test: builds and Wi-Fi runs
Change-Id: Ib7efd3d5263e73d1ad40e1a5a687bdb6c133c812
2018-10-02 23:02:23 +05:30
Yifan Hong
6c08e199c0 msm8937-common: Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE
Replace it with FCM Version = 1, specified explicitly
in device manifest.

Test: builds
Bug: 69636193

Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-10-02 23:02:23 +05:30
Anton Hansson
b1304c03ea msm8937-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
2018-10-02 23:02:21 +05:30
Darshan Manjrekar
ca33194c72 msm8937-common: Enable forced encryption
Change-Id: I75fab22ca0ddcc6336cc221cf0c62a3b05939250
2018-10-01 18:02:11 +05:30
Isaac Chen
18ec01d66a msm8937-common: Update blobs from tissot OPM1.171019.026
Change-Id: Ia5f671aa8bee73c7a2a4d974c363ea0ccfbd0244
2018-09-04 04:03:56 +02:00
karthick111
db33e73734 msm8937-common: Add missing sdm props
* Fixes flickering issues

Change-Id: If12e6e0b85556c4fc5ffcfc18e96161053f30138
2018-08-23 16:42:31 +02:00
Bruno Martins
37037bede7 msm8937-common: Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2018-08-23 16:42:30 +02:00
LuK1337
9ec976d022 msm8937-common: Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
2018-08-23 16:42:29 +02:00
LuK1337
a4041980ad msm8937-common: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2018-08-23 16:42:29 +02:00
Isaac Chen
3978128913 msm8937-common: Include bdroid header path
* Missed in commit 9731cbf799

Change-Id: Ia8a0a5a958bb4a1c90070f2b98c517a371f40f80
2018-08-23 16:42:28 +02:00
Jeff Vander Stoep
1a5154f087 msm8937-common: wifi_supplicant: Deprecate entropy.bin
Wpa_supplicant's random pool is not necessary on Android. Randomness
is already provided by the entropymixer service which ensures
sufficient entropy is maintained across reboots. Commit b410eb1913
'Initialize /dev/urandom earlier in boot' seeds /dev/urandom with
that entropy before either wpa_supplicant or hostapd are run.

Bug: 34980020
Test: Use wifi and wifi tethering on 8937 targets
Change-Id: Ic1bade0bf3c234aff24664492b97e05d15d3e8de
2018-08-23 16:42:28 +02:00
LuK1337
ca0f8dc480 msm8937-common: Restart HIDL camera provider after decryption
* HIDL camera provider starts too early for our 7.0 camera HAL.

Change-Id: I7baded6d877bab724ab105ad7eb78eea7ecbc5d4
2018-08-23 16:42:27 +02:00
Isaac Chen
f5022f9278 msm8937-common: Move hci_common_init to oem_2901 group
Change-Id: Idc41def813f8ceaf45f67701385c7a496871b396
2018-08-23 16:42:26 +02:00
Ritesh Harjani
87e8679e98 msm8937-common: Add AID_RFS, and AID_RFS_SHARED to config.fs
Change-Id: I4fb6739f63a1abfbd7737d29a636b6cf4bc72e3b
2018-08-23 16:40:27 +02:00
Wei Wang
537037e27c msm8937-common: enable zram on boot_complete
This help to save ~50ms in boot time and bootanim shown time

Bug: 62957152
Test: marlin boot and swap look normal after boot
Change-Id: Icabec31aa677bd606ca8735fe9d2acb54e88bd75
2018-08-08 10:32:50 +02:00
Remilia Scarlet
e25b0ab393 msm8937-common: rootdir: Purge zcache
It's way outdated and being replaced by zswap

Signed-off-by: Remilia Scarlet <remilia.1505@gmail.com>
2018-08-05 18:24:39 +02:00
Remilia Scarlet
a3c26ff2a1 msm8937-common: init: Set zram size according to RAM size 2018-08-05 18:23:35 +02:00
karthick111
079e05c76f Revert "msm8937-common: post-boot: Set read_ahead_kb values"
This reverts commit 66440068ec.
2018-08-05 18:21:04 +02:00
karthick111
9731cbf799 msm8937-common: Remove fragments
* Also cleanup unnecessary configs
2018-08-03 22:32:00 +02:00
Shashi Shekar Shankar
66440068ec msm8937-common: post-boot: Set read_ahead_kb values
Set read_ahead_kb values as per device RAM size.

CRs-Fixed: 2210107

Change-Id: I3a937b49d8fbae8b9ae3ed1f8c7762e0448a36aa
2018-08-01 18:23:37 +02:00
Vijay Dandiga
3bf8f219e8 msm8937-common: post_boot: Tune/configure ZRAM memory parameters
1) Set zRam size to 1GB for 3GB and above targets
Increasing the swappiness and zRam size improves zRam savings and app concurrency.

2) Corrected the vmpressure_file_min value.

CRs-Fixed: 2176961

Change-Id: I4eb71110f35f67b984bea4106d6cec3c2586d024
2018-08-01 18:23:37 +02:00
karthick111
c8c77b1c95 msm8937-common: Cleanup config.fs 2018-08-01 07:01:14 +02:00
Vijay Ganti
a0e515a7b9 msm8937-common: perflock: Changes in the initialization of perf lock
Change the order of initializing perflock and add
property to trigger post boot stage completed.
2018-07-31 17:38:01 +02:00
Isaac Chen
b072417101 Revert "msm8937-common: Cleanup power script"
This reverts commit 52aa1b7292.
2018-07-30 17:58:07 +02:00