Commit graph

721 commits

Author SHA1 Message Date
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
TheScarastic
87977f631c msm8937-common: Regenerate VNDK-SP 2018-07-24 15:51:55 +02:00
Michael Bestas
293be5ace8 msm8937-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR 2018-07-21 00:01:25 +08:00
Danny Baumann
bf53880235 msm8937-common: Update call recording overlay. 2018-07-21 00:01:25 +08:00
Wei Wang
1b6d1bd174 msm8937-common: Use mke2fs to create ext4 images
Set TARGET_USES_MKE2FS := true to use new EXT4 tool chain

Bug: 62421233
2018-07-21 00:01:25 +08:00
Isaac Chen
09316a5599 msm8937-common: proprietary-files: Update blobs from tissot
* From tissot 8.1.0 OPM1.171019.019
2018-07-16 00:00:08 +08:00
Isaac Chen
8e8e50af73 msm8937-common: Commonize media.camera.ts.monotonic prop 2018-07-13 00:00:09 +08:00
Bruno Martins
62b19a845a msm8937-common: overlay: Remove deprecated Snap config
* This was ripped out of Snap
2018-07-12 00:00:06 +08:00
Michael Bestas
7285fa9928 msm8937-common: Update networkAttributes and radioAttributes from marlin 2018-07-12 00:00:06 +08:00
LuK1337
d257a1d6c6 msm8937-common: overlay: Remove bnep\\d from tetherable BT interfaces 2018-07-12 00:00:06 +08:00
Bruno Martins
0a30e12d54 msm8937-common: Use sdFAT for exFAT support 2018-07-12 00:00:06 +08:00
Mahantesh Sanakall
f2a7d883a0 msm8937-common: Enable quota feature for userdata partition.
This will enable quota feature for the data partition.
2018-07-12 00:00:06 +08:00
Sashidhar Ganiga
50aa3a00fe msm8937-common: Enable noatime mount option for CTS failure
Enable noatime mount option for userdata, cache and
persist partitions.
2018-07-12 00:00:06 +08:00
Bruno Martins
82c5ce1ade msm8937-common: Simply copy prebuilt .jar files
* No need to have them as build targets.
2018-07-12 00:00:06 +08:00
Bruno Martins
ee1fd01107 msm8937-common: Drop USB HAL service
* None of the Xiaomi 8937 devices have support for dual role type-C,
   therefore there's no need to build it.
2018-07-12 00:00:06 +08:00
Isaac Chen
3e5f6f88db msm8937-common: Update media configs from Nokia 6 2018-07-10 00:00:03 +08:00
Isaac Chen
be4f1986d7 msm8937-common: Cleanup radio props 2018-07-09 00:00:47 +08:00
TheScarastic
c92c41b3d6 msm8937-common: Add persist.sys.usb.config.extra
* Fixes USB tethering.
2018-07-09 00:00:47 +08:00
Isaac Chen
d5fe8be114 msm8937-common: sepolicy: Address more denials
* Also arrange sepolicies
2018-07-09 00:00:47 +08:00
Isaac Chen
28b0c3173b msm8937-common: proprietary-files: Update BT and WiFi blobs to O-MR1
* From : vince 8.1.0 OPM1.171019.019
2018-07-09 00:00:47 +08:00
Michael Bestas
67d29484d5 msm8937-common: Switch to QTI Bluetooth impl
* Fixes wrong BT MAC address and slow turn on when
  booting with BT turned off
2018-07-09 00:00:47 +08:00
Rashed Abdel-Tawab
21cff78bb0 msm8937-common: Move qcamerasvr to main and restart on service restarts
* Move qcamerasvr to main to it restarts on decryption
 * Also trigger a qcamerasvr restart when media or all services restart,
   since it needs to be properly restarted with cameraservice
2018-07-09 00:00:47 +08:00
Alex Yustasov
64948b0418 msm8937-common: biometrics: Fix random crashes
Add a slight delay before passing authenticator id to frameworks.
2018-07-09 00:00:47 +08:00
Bruno Martins
46fe437546 msm8937-common: Drop deprecated OpenGLRenderer props
* 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
2018-07-09 00:00:47 +08:00
Ethan Chen
01bd83cf4c msm8937-common: rootdir: Move mm-pp-dpps to hal class 2018-07-09 00:00:47 +08:00
Michael Bestas
0f9e6e3a3a Revert "msm8937-common: Grant netmgrd proper unix perms"
* No longer needed

Change-Id: I7ad8217405011b67d5fc27a83c27b57d8fc6b444
2018-07-09 00:00:47 +08:00
Michael Bestas
95f7c5508d Revert "msm8937-common: Grant rmt_storage proper unix perms"
* No longer needed

Change-Id: Idcf1c5b9ccf4d42c0ec6b22f32a5813ba2b497a5
2018-07-09 00:00:47 +08:00
Bruno Martins
848ee28b5a msm8937-common: sepolicy: Allow rild to set radio props 2018-07-09 00:00:47 +08:00