Commit graph

905 commits

Author SHA1 Message Date
pythonlimited
a42d8f3ff2
sdm660-common: media: move specific media_profiles_V1_0 to device 2019-08-14 10:04:14 +02:00
dianlujitao
a4df2c87fb
sdm660-common: Update GPS and GNSS from LA.UM.7.2.r1-06900-sdm660.0 2019-08-14 10:04:14 +02:00
pythonlimited
9842c4542d
sdm660-common: audio: move specific audio files to device 2019-08-14 10:04:14 +02:00
Artem Borisov
06d687c9db
sdm660-common: sepolicy: Resolve init_fingerprint denials
Change-Id: Id82f4c6440aeed6a7be6182792c40513102c9f28
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-08-14 10:04:14 +02:00
dianlujitao
50ae11d634
sdm660-common: sepolicy: Label RTC sysfs node
Change-Id: I637df23926d307de028eb30e523ebb8e92ed2b43
2019-08-14 10:04:14 +02:00
Subhajeet Muhuri
91a80aa4cc
sdm660-common: sepolicy: Address webview_zygote denials 2019-08-14 10:04:14 +02:00
Subhajeet Muhuri
84cbc85b66
sdm660-common: sepolicy: Label fingeprints extension 2019-08-14 10:04:14 +02:00
Subhajeet Muhuri
3dc8126a30
sdm660-common: sepolicy: Label battery_supply sysfs for hvdcp 2019-08-14 10:04:14 +02:00
GuaiYiHu
03a676c21c
sdm660-common: sepolicy: Clean up fingerprint sepolicy
Change-Id: I19f90ba121ca79ea9e676d066ea857ea6ab7a385
2019-08-14 10:04:14 +02:00
Henrique Silva
1de7f3c202
sdm660-common: sepolicy: Address debugfs_wlan denials
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
2019-08-14 10:04:14 +02:00
Subhajeet Muhuri
4c7cba649a
sdm660-common: sepolicy: Dontaudit few qti_init_shell neverallows 2019-08-14 10:04:14 +02:00
Subhajeet Muhuri
0e89ed5c61
sdm660-common: sepolicy: Address more vendor_init denials 2019-08-14 10:04:14 +02:00
Tom Cherry
f3aa8e3d2b
sdm660-common: sepolicy: Add restricted permissions to vendor_init
The core SEPolicy for vendor_init is being restricted to the proper
Treble restrictions.  Since this is a legacy device, it is tagged as a
data_between_core_and_vendor_violators and the needed permissions are
added to its device specific vendor_init.te

Bug: 62875318
Test: boot walleye without audits
Change-Id: I13aaa2278e71092d740216d3978dc720afafe8ea
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
2019-08-14 10:04:13 +02:00
GuaiYiHu
36ef559156
sdm660-common: sepolicy: Lable gpu.stats.debug.level
Change-Id: I01e010a33a52abc42c9da3977503fabcb7c30455
2019-08-14 10:04:13 +02:00
GuaiYiHu
10c35314f7
sdm660-common: sepolicy: Label thermal-engine props
Change-Id: I1bf975bd6f20e56bfb4ff558d2a55f7304ceec6f
2019-08-14 10:04:13 +02:00
GuaiYiHu
d2ce22775d
sdm660-common: sepolicy: Address camera denials
Change-Id: I052adadca396fb104af49daec1d83047d0809416
2019-08-14 10:04:13 +02:00
GuaiYiHu
1ee97f41fc
sdm660-common: sepolicy: Clean up sepolicy
Change-Id: I19f90ba121ca79ea9e676d066ea857ea6ab7a385
2019-08-14 10:04:13 +02:00
GuaiYiHu
05085a02e2
sdm660: sepolicy: Address denials
Change-Id: I8fad5d60ca066b758c526f2027985b63662180cc
2019-08-14 10:04:13 +02:00
Max Weffers
2365407f0e
sdm660-common: prop: Add system prop for time-services 2019-08-14 10:04:13 +02:00
PIPIPIG233666
00c7be27b6
sdm660-common: prop: Set thermal data path 2019-08-14 10:04:13 +02:00
PIPIPIG233666
292760090d
sdm660-common: prop: Add vendor.ssr restart prop 2019-08-14 10:04:13 +02:00
celtare21
6e4f63aebe
sdm660-common: Optimize ART props
Change-Id: Ib384409127c09e611d1e875b6827e744298b8499
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
Fullbustah
fcf8864834
sdm660-common: getDiskStats is not supported, disable it
E/storaged( 880): getDiskStats failed with result NOT_SUPPORTED and size 0
2019-08-14 10:04:13 +02:00
xyyx
18dd7d0201
sdm660-common: Add persist.radio.aosp_usr_pref_sel for Telephony
* Fixes the bug in dual SIM device where preferred data selection didn't stick after reboot

Co-authored-by: federicobenedetti <fede.benedetti9@gmail.com>
2019-08-14 10:04:13 +02:00
HolyAngel
1e3a7a9762
sdm660-common: Set OpenGL Skia as default renderer 2019-08-14 10:04:13 +02:00
Anushek Prasal
e233ea4a4c
sdm660-common: Force HAL1 for certain apps
Change-Id: Ib86311cb638dacfc9d21aca6d0412471d1c260e1
2019-08-14 10:04:13 +02:00
Bruno Martins
84b8c20da0
sdm660-common: Enable B-services aging propagation
Change-Id: I4ac0525933bb421f7d025c5e4c6a1de0f083c46e
2019-08-14 10:04:13 +02:00
dianlujitao
3b46abdecc
sdm660-common: Enable OEM unlock and bootable image signing
* Given the fact that the bootloader allows bootable images with
   arbitrary signatures to boot, one can relock the bootloader after
   installing a signed custom recovery. After that, custom ROMs can be
   installed from recovery as usual, as long as the boot.img's are
   signed.
 * This is NOT a security vulnerability because unlocked bootloader is
   still prerequisite to access fastboot boot/flash, in contrast it's a
   feature suggested by Google.
 * To make it feasible with Lineage, sign the img with AOSP verity key
   which is publicly available.
 * OnePlus happens to use the same key to sign their own images and
   bootloader, so as a bonus there's even no 5s warning indicating a
   custom boot.img is in use on boot.
 * This doesn't mean using custom ROMs with locked bootloader is
   suggested.

Change-Id: I178e9588e1dde96400dcb2178a027597d05949bd
2019-08-14 10:04:13 +02:00
Volodymyr Zhdanov
7573dba6d6
sdm660-common: Build some extra vendor libraries for camera
* I know it looks ugly but xiaomi does that on production devices
* such as whyred or sagit internal treble beta, so why not
2019-08-14 10:04:13 +02:00
Volodymyr Zhdanov
d0920a7b2e
sdm660-common: Build vendor version of 32-bit libdng_sdk 2019-08-14 10:04:13 +02:00
Rashed Abdel-Tawab
e8ce424bb3
sdm660-common: Build vendor version of libstdc++
Change-Id: Ie43c0a6b594ecfcff393efb8a3937f04af0ee0a4
2019-08-14 10:04:13 +02:00
Bruno Martins
6a5e3bad77
sdm660-common: Build with VNDK
* VNDK runtime isolation is kept disabled for now because that's
   also how Xiaomi is shipping P on their devices.

Change-Id: I43140442ab33f3e9633bb4f347e2bee9be97b447
2019-08-14 10:04:13 +02:00
dianlujitao
4c820c76d9
sdm660-common: Copy vendor HIDL interface libs to /vendor
* Move vendor android.hidl.base@1.0 to EXTRA_VENDOR_LIBRARIES as well
   to make code cleaner.
 * Remove android.hidl.manager@1.0-java from product packages as it's
   built by default.

Change-Id: Ia95e09b21ce42137cac9a1dd22f208fd9de9bf20
2019-08-14 10:04:13 +02:00
Divya Sharma
7f89f773d1
sdm660-common: Migrate to versioned VNDK layout
Bug: 78605339
Test: boots

Change-Id: I43a22047d0bd21c57a2eee866799a96582aa6d70
2019-08-14 10:04:13 +02:00
Vinay Verma
8c2ec833d4
sdm660-common: Disable vndk-sp creation for VNDK enabled targets.
Change-Id: Idf17c7ddeab922c231fc3e9bb786c45dfa54684b
2019-08-14 10:04:13 +02:00
Max Weffers
305b7b0404
sdm660-common: sensor: move sensor configuration to device 2019-08-14 10:04:13 +02:00
guaiyihu
5b69d66ad5
sdm660-common: Set LOCAL_PRIVATE_PLATFORM_APIS to true for Xiaomi doze
Change-Id: If290cbcaeeda75b59a4c6558844404ec7ebf5ff6
2019-08-14 10:04:13 +02:00
GuaiYiHu
7c0d634d7a
sdm660-common: bluetooth: Build bthost_ipc with latest caf
Change-Id: Id2d486f8208111c708b8aabcc51382f754de2c4d
2019-08-14 10:04:13 +02:00
Bruno Martins
83814f81bb
sdm660-common: rootdir: Remove sensors init shell script
Change-Id: Ice50a9c83a708d7f8300978048cd00c71e88abc8
2019-08-14 10:04:13 +02:00
Vinay Verma
c743a9b88e
sdm660-common: Moving persist mount point to /mnt/vendor/persist
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
2019-08-14 10:04:13 +02:00
GuaiYiHu
bc02699357
sdm660-common: rootdir: Start ipacm for all devices even with no ril
Change-Id: I50b600e2270b4b7628c14c362db87fd391d29252
2019-08-14 10:04:13 +02:00
Karthik Gopalan
33fed0a190
sdm660-common: post_boot: msm8937: Disable core_ctl for 8917
core_ctl's enable & disable nodes are differnt on different
kernel versions. Fix Disabling of core_ctl for msm8917.

CRs-Fixed: 2366575

Change-Id: Ide7fc5384b34e9e686fe686f9fd70aaaaffcc278
2019-08-14 10:04:13 +02:00
Jack Pham
6d21c523c7
sdm660-common: init.qcom.usb.sh: Simplify ESOC check
Currently if targets support ESOC there would almost certainly
only be a single instance of an external modem. Hence we can
simplify the esoc_link check accordingly without needing to do
a loop and grep. Choosing the external modem composition simply
depends on whether esoc_name is present.

Change-Id: Ib47e34fd31c3745a0c7b3568968f6f36681c98e7
2019-08-14 10:04:13 +02:00
Karthik Gopalan
14272dab4b
sdm660-common: init.qcom.post_boot: Modify Naming convention for properties
Modify naming convention for properties
and also remove unused code.

CRs-Fixed: 2206509

Change-Id: I78821a66a65d92ea9284283efe5e3ca1659fa3de
2019-08-14 10:04:13 +02:00
Dusan Uveric
97fb27fc8b
sdm660-common: ramdisk: adjust cpubw bwmon values
Those values seem off. CAF maybe messed them up as those values look possibly wrong.
Those values are used as powerhint values on pixel 2 and 3.

Signed-off-by: Dusan Uveric <dusan.uveric9@gmail.com>
2019-08-14 10:04:13 +02:00
Artem Borisov
bdfe592a87
sdm660-common: Disable ALMK on all targets
* No matter how hard QC tried to improve these features, they still suffer
  from stability issues, mainly due to the unpredictable nature of vmpressure
  they rely on.

Change-Id: Icd14c79298a3c268abffa06ed17a79dececf423a
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
dianlujitao
5dd4564f19
sdm660-common: board: enable interaction boost
Change-Id: Ie5fa2180f70613733fdd8bd028710142f1307c2a
2019-08-14 10:04:13 +02:00
Wei Wang
9451c24666
sdm660-common: Use mke2fs to create ext4 images
Set TARGET_USES_MKE2FS := true to use new EXT4 tool chain

Bug: 62421233
Change-Id: Id6e5c68b2d7854e5330ad87443b974361a4bff9d
2019-08-14 10:04:13 +02:00
Max Weffers
f7c2061271
sdm660-common: board: Set DTW Node in device tree 2019-08-14 10:04:13 +02:00
Max Weffers
a4dd54504d
sdm660-common: board: Use qcom time services 2019-08-14 10:04:13 +02:00