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
Michael Bestas
2858a9103a
msm8937-common: Get rid of recovery-only fstab
...
* Mounting /system and /vendor partitions is handled in kernel now,
however removing the entries from fstab caused issues building
the OTA. The workaround was to have a separate fstab, but turns out
that simply setting the recoveryonly flag does the trick because
those are then ignored during a normal Android boot.
2018-07-09 00:00:47 +08:00
Rashed Abdel-Tawab
b93a294b74
msm8937-common: Build QTI HIDL power 1.0 HAL
2018-07-09 00:00:45 +08:00
Bruno Martins
d761cec8e3
msm8937-common: sepolicy: Add debug rules for rmt_storage
...
Change-Id: Ie0c94ac657127b1653afbbb82b06789dfe34032d
2018-07-09 00:00:21 +08:00
Martijn Coenen
a85558ea52
msm8937-common: Add selinux/private/service_contexts.
...
This makes sure that the remaining binder services
for radio end up in plat_service_contexts.
That in turn allows us to enforce that servicemanager
will only serve services from plat_service_contexts
on FULL_TREBLE devices.
Bug: 36866029
Test: boot, verify radio services still work
Change-Id: Ib67b3a03e5599484c5c4fb27a0f323a37dd51636
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:21 +08:00
Isaac Chen
5478c86bac
msm8937-common: sepolicy: Address keylayout denial
...
05-30 07:55:45.151 987 987 W InputReader: type=1400 audit(0.0:10): avc: denied { read } for name="gf3208.idc" dev="mmcblk0p48" ino=1329 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
05-30 07:55:45.151 987 987 W InputReader: type=1400 audit(0.0:11): avc: denied { read } for name="gf3208.kl" dev="mmcblk0p48" ino=1333 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
05-30 07:55:45.199 987 987 W InputReader: type=1400 audit(0.0:12): avc: denied { read } for name="gpio-keys.kl" dev="mmcblk0p48" ino=1334 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
05-30 07:55:45.299 987 987 W InputReader: type=1400 audit(0.0:13): avc: denied { read } for name="ft5x06_720p.kl" dev="mmcblk0p48" ino=1332 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:21 +08:00
Isaac Chen
57f366a761
msm8937-common: sepolicy: Address cas HAL denial
...
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:21 +08:00
Isaac Chen
1a6dae3d38
msm8937-common: sepolicy: Address camera daemon denial
...
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:21 +08:00
Isaac Chen
724868de36
msm8937-common: sepolicy: Organize for treble compatibility
...
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:20 +08:00
Isaac Chen
3e93f804b6
msm8937-common: sepolicy: Initial O denial
...
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:20 +08:00
Isaac Chen
d68a5f8ca5
msm8937-common: Enable Full treble
...
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-09 00:00:20 +08:00
Daniel Rosenberg
c5d6900f95
msm8937-common: Remove unnecessary sdcardfs prop
...
Test: Boot device. Ensure device boots using sdcardfs
2018-07-09 00:00:20 +08:00
Isaac Chen
51a8da8ec8
msm8937-common: rootdir: Cleanup
2018-07-09 00:00:20 +08:00
Michael Bestas
1cf86829f5
msm8937-common: Remove unused packages from privapp permissions
2018-07-09 00:00:20 +08:00
Bruno Martins
ff3af16c99
msm8937-common: Ship and enable atfwd daemon
...
* The atfwd daemon is responsible for handling AT command
forward requests from modem and should be enabled
for all targets except sda, apq, qcs.
2018-07-09 00:00:20 +08:00
Rashed Abdel-Tawab
80ce01536e
msm8937-common: Pin modified qti_libpermissions.xml
...
* Modified to allow qcrilmsgtunnel to access android.hidl.manager
Change-Id: I3cd25e36cb4e397844724d249209b88a38bbfe9f
2018-07-09 00:00:20 +08:00
Isaac Chen
92ce0754bc
msm8937-common: Remove unused services from QTI whitelist
2018-07-09 00:00:20 +08:00
Isaac Chen
18ed322ef3
msm8937-common: Cleanup GPS makefiles and configs
...
* Update configs from bardock 8.1.0 OPM1.171019.019
* Cleanup unused blobs
2018-07-09 00:00:20 +08:00
Isaac Chen
10d1134bef
msm8937-common: Decommonize mixer_paths_qrd_sku1
2018-07-09 00:00:20 +08:00