Commit graph

746 commits

Author SHA1 Message Date
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
Cosme Domínguez Díaz
bccffd2e78
sdm660-common: overlay: Add default configuration 2019-08-14 10:04:12 +02:00
Cosme Domínguez Díaz
2bf584367a
sdm660-common: overlay: Set brightness & screen timeout defaults 2019-08-14 10:04:12 +02:00
Marko Man
5a3b97da89
sdm660-common: overlay: Enable doze auto brightness
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
2019-08-14 10:04:12 +02:00
Glen Kuhne
2a4d7d6686
sdm660-common: Set default hotspot ssid
Added a device specific overlay that changes the default name
from "AndroidAp" to "Xiaomi Mi A2"

Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
Signed-off-by: arian <arian.kulmer@web.de>
2019-08-14 10:04:12 +02:00
Anirudh Gupta
04f7390d6e
sdm660-common: overlay: Set screen off delay to 0
Fixes flicker issue when entering AOD

Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
2019-08-14 10:04:12 +02:00
Luca Stefani
5a6317be64
sdm660-common: overlay: Enable AOD
* But disable it by default

Change-Id: Ie85e49e38503dc531f262138d8bed465632a41c0
2019-08-14 10:04:12 +02:00
ami87
c129b69fe1
sdm660-common: overlay: Disable RGB led
Change-Id: I2dd2b729d591dc4881fee5d2e0f88873a68f0a32
2019-08-14 10:04:12 +02:00
Max Weffers
f32e57ef6a
sdm660-common: overlay: enable lock screen rotation 2019-08-14 10:04:12 +02:00
GuaiYiHu
aec8d551fc
sdm660-common: overlay: Squash CarrierConfig updates from caf and clean up unused telephony options
Change-Id: I2d635a7684fac6c9c135e62ee3b39f7ffafe978d
2019-08-14 10:04:12 +02:00
Aalique Grahame
b7492e1ba0
sdm660-common: overlay: add audio related features
Add audio related features present in android config
file to overlay config file.

CRs-Fixed: 2088093
Change-Id: I45f6d3ea68204ab254846726f0fe14bea91bb602
2019-08-14 10:04:12 +02:00
Pranav Vashi
6f62e98207
sdm660-common: Notify fingerprint client of successful cancelled authentication
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Albert I <krascgq@outlook.co.id>
2019-08-14 10:04:12 +02:00
Vol Zhdanov
aa032ec8e8
sdm660-common: overlay: specify that we don't have old qti telephony 2019-08-14 10:04:12 +02:00
Henrique Silva
a9c69e402c
sdm660-common: overlay: Ignore RSSNR signal level
Improve reception

Change-Id: I3f9b587835cc4fdfcf0bc3cc611c870361e0da76
2019-08-14 10:04:12 +02:00
Jorim Jaggi
2fb6313964
sdm660-common: pin home application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
Signed-off-by: Albert I <krascgq@outlook.co.id>
2019-08-14 10:04:12 +02:00
AnubhavGupta
a2ea03d767
sdm660-common: Broadcast_Audio: Add support for Broadcast Audio
- enable overlay support for BroadcastAudio faeture

Change-Id: Id3c1131dc4c53b2eb5f68fb935eacda2e7993846
2019-08-14 10:04:12 +02:00
Hemant Gupta
65a19407f5
sdm660-common: Overlay: Disable HID Device Profile
Disable HID Device Profile.

CRs-Fixed: 2233439
Change-Id: I5399d624beb7e992a443a90561a96966131cc9d5
2019-08-14 10:04:12 +02:00
Yanfei Zhou
ae99fb3d94
sdm660-common: overlay: Bluetooth: Remove entry of hf_client disable in common
hf_client is required in auto project

Change-Id: I2e68c159263ecf77538c0894b38cc967d1eb7a4a
Signed-off-by: Yanfei Zhou <zyanfei@codeaurora.org>
2019-08-14 10:04:12 +02:00
Max Weffers
3694be2c02
sdm660-common: overlay: use Round icons everywhere 2019-08-14 10:04:12 +02:00
Artem Borisov
dda2fb2d21
sdm660-common: overlay: Enable auto power modes
This is used by doze and isn't enabled by default on AOSP.
2019-08-14 10:04:12 +02:00
Artem Borisov
fd97c65e58
sdm660-common: overlay: Enable adaptive battery 2019-08-14 10:04:12 +02:00
Max Weffers
c70fd1c72a
sdm660-common: overlay: Add freefrom Multiwindow managment 2019-08-14 10:04:12 +02:00
Jesse Chan
a297ef044c
sdm660-common: overlay: Apply padding for rounded corner
Change-Id: I9f81f684d491ed447b7bdb2ca70f558bf75ebc67
2019-08-14 10:04:12 +02:00
Max Weffers
58f8401990
sdm660-common: Enable video pause workaround for video calling
A video pause workaround was made due to a signaling limitation in the QC
modem.

Test: Manual
Bug: 62436425
Change-Id: Ic90ded9621929c0821894776c1191f20ddce9afa
2019-08-14 10:04:12 +02:00
dianlujitao
3e48e1b0f0
sdm660-common: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices, and we have our own
   implementation in livedisplay.

Change-Id: I8343e4986d7dd8413bd8d36dfad0309a4c08026e
2019-08-14 10:04:12 +02:00
dianlujitao
59be4559b7
sdm660-common: Remove tether dhcp range override
Change-Id: I53462dc6d3bfef37f05087a6e9e6b57a62948cd9
2019-08-14 10:04:12 +02:00
GuaiYiHu
14432024f1
sdm660-common: overlay: Add bluetooth overlay for sdm660 devices
Change-Id: Ic8b1294afbf93cb05a9244c7a1fcb117d08c72c4
2019-08-14 10:04:12 +02:00
Max Weffers
315cbf7b1b
sdm660-common: rootdir: import init file based on ro.product.device 2019-08-14 10:04:12 +02:00
LuK1337
8fbde43308
sdm660-common: Restart HIDL camera provider after decryption
* Restart HIDL camera provider to cover some edge cases where camera isn't
  working on FDE devices with boot pin enabled.

Change-Id: Ia757e9d07de26008f426fca582439d68b6d6fecb
Signed-off-by: Albert I <krascgq@outlook.co.id>
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:12 +02:00
Artem Borisov
03b7fb7ef0
sdm660-common: Restart audio HIDL HAL after decryption
* For some reason, booting with headphones plugged in results
  in a broken speaker output if FDE secure boot is enabled.
* Restarting audio HAL after decryption seems to resolve the issue.

Change-Id: Ie14b89841bf811f0fb09edb0a04fd28aafecde87
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:12 +02:00
Rashed Abdel-Tawab
2e3a160271
sdm660-common: Run tftp_server with system group
* Avoid the need to rely on dac_override

Change-Id: Id5b5bb0a747267672837ea030b246f8df3b944a3
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2019-08-14 10:04:12 +02:00