Commit graph

676 commits

Author SHA1 Message Date
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
Rashed Abdel-Tawab
2c59f9e98c
sdm660-common: board: Disable KPI optimization
Change-Id: I75bf4bd54f8005356a6db9f482ec51039e7b5407
2019-08-14 10:04:13 +02:00
Paul Keith
a955c8cd1e
sdm660-common: Use sdfat for exfat
Change-Id: I660c5b3008636a651a2812fe1739ff8a2ea845cb
2019-08-14 10:04:13 +02:00
Rashed Abdel-Tawab
0dc1c35080
sdm660-common: Enable incall music
audio@4.0 supports this

Change-Id: I5ff23aa036462726d0ecd22d11d9d126008f5f30
2019-08-14 10:04:13 +02:00
srfarias
324484f8f2
sdm660-comon: Disable swap channels
Requires 2d8898c83d

Signed-off-by: srfarias <erikofarias@gmail.com>
Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
2019-08-14 10:04:13 +02:00
Max Weffers
ef53ab6448
sdm660-common: enable PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE to fix
unexported propertys in init
2019-08-14 10:04:13 +02:00
Nick-infinity
374443bf61
sdm660-common: prop: Enable gsm.proximity prop
* For some people proximity doesn't work and this fixes it for some reason lol

Signed-off-by: AmulyaX <amulya.b520@gmail.com>
2019-08-14 10:04:13 +02:00
ix5
88249ea175
sdm660-common: Remove "eng" from LOCAL_MODULE_TAGS
This has been deprecated for some time and will throw and
error in Android Q
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
Change-Id: I9e4caaa6f401a051e5edd341112dcc01c8f040b7
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
haran
ba37a1ce70
sdm660-common: boardconfig: Remove deprecated/useless flags
Change-Id: I5199aff977d4e65d86de7edc3a15c3b3690da473
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:13 +02:00
Marko Man
d1a988dc79
sdm660-common: wifi: adjust p2p configs and service
Change-Id: I5b8e8380396a222b7a8732d3253d50071b932173
2019-08-14 10:04:13 +02:00
LuK1337
f9c03c58e7
sdm660-common: configs: wifi: Disable RX wakelock feature
Change-Id: I3e093c8fd16b231d531751056648bd6b745e5171
2019-08-14 10:04:13 +02:00
LuK1337
0dd7c5b9b6
sdm660-common: wifi: Enable DFS channel scanning in P2P search
* Fixes P2P when connected to 5GHz access point.

Change-Id: I31890645510931c7e7a65759c915a09fec77a1cf
2019-08-14 10:04:13 +02:00
haran
586f99123a
sdm660-common: wifi: Drop persistent_reconnect
* Use p2p_search_delay instead as persistent_reconnect causes random
  wifi drops
2019-08-14 10:04:13 +02:00
Praveen Chavan
e7d3da3646
sdm660-common: mediacodec: Allow syscalls needed by OMX component
perf daemon needs uname, ueventd, timer_create,
timer_settime, rt_sigtimedwait syscalls. Add them
to media.codec's whitelist.

CRs-Fixed: 2062950
Change-Id: Ib07d73140470d9def0d9411469ee1525e13f4bc7
2019-08-14 10:04:13 +02:00
Umesh Pandey
72fb291125
sdm660-common: mediacodec: Allow syscall for VPP
Add inotify_intl, inotify_add_watch and inotify_rm_watch for VPP.

CRs-Fixed: 2058795
Change-Id: I294b03f4a46020a022cacf1267ebf68b0bdd6e19
2019-08-14 10:04:13 +02:00
Amit Shekhar
273178d59a
sdm660-common: Add system call to the SE whitelist
Add system call to the SE policy whitelist

Change-Id: I1793d20c49f838929aa0dc1720eb062535ae8f09
CRs-Fixed: 2050577
2019-08-14 10:04:13 +02:00
Amit Shekhar
8d297c4f65
sdm660-common: mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls
Includes following:
mediacodec: allow sendto and recvfrom syscalls
mediacodec: allow lseek syscall
mediaextractor: allow pread64 and readlinkat syscalls
mediacodec: allow getdents64, sysinfo and getcwd

Vendor extended policy files are separated from the aosp
and will now reside in /vendor

Change-Id: If59d04b36d744efb74209ae36e76dd16cb18f606
CRs-Fixed: 2027600
2019-08-14 10:04:13 +02:00
Rama Bondan Prakoso
43ecd10277
sdm660: overlay: Import vendor CarrierConfig from MIUI
- from lavender-user 9 PKQ1.180904.001 V10.3.6.0.PFGMIXM release-keys

Signed-off-by: Rama Bondan Prakoso <ramanarubp@gmail.com>
2019-08-14 10:04:13 +02:00
TheScarastic
13517dc3cb
sdm660-common: Kang brightness overlays from marlin
* Xiaomi values are unusable
Change-Id: I3b3fb2d389eebad6c7ef76ae78e16eeff06fe3ed
2019-08-14 10:04:12 +02:00
Naomi Calabretta
5ab96a8b69
sdm660-common: overlay: Disable ACS
It seems to give problems with 802.11AC hotspot mode

Change-Id: I912f343b8c2628a93715b135ee1045050236ae93
2019-08-14 10:04:12 +02:00
Max Weffers
7ded419654
sdm660-common: overlay: Fix too big spacing between QS icons for clover 2019-08-14 10:04:12 +02:00
GuaiYiHu
081ebf0a34
sdm660-common: overlay: Squash CarrierConfig updates from LA.UM.7.2.r1-06700-sdm660.0
Change-Id: Ia567f5da2987fcefdcb63a35da204ca5a968f588
2019-08-14 10:04:12 +02:00
XiNGRZ
e1e037f829
sdm660-common: overlay: Enable Wi-Fi MAC randomization
Change-Id: Ifbe538e51415bab62b762f916e990d9822ae651b
2019-08-14 10:04:12 +02:00
Jorim Jaggi
6b882955ce
sdm660-common: overlay: Pin critical apps and system services that get swapped
Pin critical system apps that always need to be responsive, no
mattter what:
- SystemUI for expanding the notification shade/navigation bar
- SF: Doesn't need introduction, but still gets zram'ed in certain
cases:

Total memory impact: About 5-6 MB (since regularly not all code is
loaded)
Test: Flash device with CL and make sure actions like expanding
notification shade isn't as janky under memory pressure anymore
Bug: 111132016

Change-Id: I3bc93204147502bec2e983f7ee37555294db308c

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-08-14 10:04:12 +02:00
dianlujitao
ce1110be6f
sdm660-common: Wait for MPCTL to start on boot
Change-Id: Ib79b48e1d362872d9d97373d5ca2ad42f7fbc638
2019-08-14 10:04:12 +02:00
Max Weffers
8220f5651a
sdm660-common: overlay: disable proximity check for torch 2019-08-14 10:04:12 +02:00
Erik Kline
8973f6f995
sdm660-common: Use tether automatic upstream selection
(config_tether_upstream_automatic=true)

Test: as follows
    - built, flashed, booted
Bug: 32163131
Bug: 62648872
Bug: 63282480
Bug: 110118584
Bug: 110260419

Change-Id: I604cda53d6d37a33de3e3ccc65c0da781d21278b
2019-08-14 10:04:12 +02:00
Joe Maples
fb4fb073ca
sdm660-common: Enable Fingerprint Gestures
Change-Id: Ia9de8ba1e9c86ce336e516655d327119dc71ae65
2019-08-14 10:04:12 +02:00
Max Weffers
6af8c36c23
sdm660-common: overlay: Enable Battery LED support
Change-Id: I4c582ab44633f21b4d54cad91135793f1af6167c
2019-08-14 10:04:12 +02:00
Danny Baumann
0b368e57b4
sdm660-common: overlay: Give light sensor some time to warm up
When being in dark environments, turning screen off, then moving to
bright environments and turning screen on, sometimes it happens that the
light sensor emits an initial light sample of 1 lux, which causes the
automatic brightness controller to ramp down the brightness even though
the ambient brightness is high. Avoid the controller using those samples
by giving the light sensor some time to warm up.

Change-Id: I81dcb41a25ff0c9f0cf3265da7054ac7ebcbcc34
2019-08-14 10:04:12 +02:00