Commit graph

723 commits

Author SHA1 Message Date
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
Ramakant Singh
08993f61a9
sdm660-common: rootdir: Don't re-start hwcomposer if sf restart
CRs-Fixed: 2424966
Change-Id: I90ae8d04befb03820abd7392d15f5b7574735e26
2019-08-14 10:04:12 +02:00
Veerubhotla Hari
97ac4f002f
sdm660-common: rootdir: Change ownership of /data/vendor/tombstones to system
Change ownershiip of /data/vendor/tombstones to system

Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
2019-08-14 10:04:12 +02:00
Bhargav Upperla
b45105ad5d
sdm660-common: Update memory related parameters.
Set:
1. swappiness
2. read_ahead_kb
3. page_cluster

Change-Id: Ia78f77a90f6a5649eea6c8572edc52a98ae7926f
2019-08-14 10:04:12 +02:00
GuaiYiHu
c822db2bb2
sdm660-common: rootdir: Add missing changes from miui wayne
Change-Id: If267076b13874c37ee7020e0e7136c668c5aec16
2019-08-14 10:04:12 +02:00
Subash Abhinov Kasiviswanathan
a769af3efb
sdm660-common: init.qcom.rc: Increase the maximum size for socket receive buffer
Increasing the tcp_rmem is not sufficient to achieve higher rates
for TCP downlink as all sockets in the system are still bounded
by the core socket rmem_max.

CRs-Fixed: 2351198
Change-Id: I198457745a9e48f0098457e86e7d9523c6249cbd
2019-08-14 10:04:12 +02:00
Arun Mirpuri
db324ad04d
sdm660-common: audio: change path to point to /data/vendor/audio
Change paths of audio-specific files to conform
to new sepolicy guidelines

Change-Id: If81e3bf439e74e222b1a145bd90dfbc9bcf4d90b
2019-08-14 10:04:12 +02:00
GuaiYiHu
19c327d6a7
sdm660-common: rootdir: Readd port-bridge service init
* Fix usb tethering.

Change-Id: I15ca6485c082d303210a98ae96082bad3d81f1ba
2019-08-14 10:04:12 +02:00
Max Weffers
a7b61b9824
sdm660-common: set props early for usb connection on boot process 2019-08-14 10:04:12 +02:00
Sauvik Saha
56264da7e7
sdm660-common: Changes to stop rtp daemon during shutdown
* Changes to stop rtp daemon during shutdown

Change-Id: I08d56dba615136a2c02c3aa11a55bd3e7d84f6a0
2019-08-14 10:04:12 +02:00
GuaiYiHu
f603800175
Revert "sdm660-common: Use low level shutdown trigger"
This reverts commit 2f37a62ad585d791a21c18a76cac03a811bbec67.

Change-Id: I8db64455e0c0bd3e9ce58df5244983cfd9439fc9
2019-08-14 10:04:12 +02:00
Wileen Chiu
ba22636b35
sdm660-common: Rename atfwd service and property
- all vendor init services should be prefixed
with vendor
- radio.atfwd.start -> vendor.radio.atfwd.start
persist.radio.atfwd.start -> persist.vendor.radio.atfwd.start
This property is now qualified as a platform property and is not
whitelisted. Therefore it must be renamed to continue to be
used as a trigger.

Change-Id: Iebb0eed75f7ac6f71085ac12cf2a3e7414defb09
CRs-Fixed: 2223094
2019-08-14 10:04:12 +02:00
Niranjan Pendharkar
75cd8f15be
Revert "use low level shutdown trigger to stop cnss-daemon"
This reverts commit 0ef1475b0ea193f252d4abfbc9bebd3ebb2c12dc.

Change-Id: I0fe8fe0565a69b77a105aa1f1127f561cf994fba
CRs-fixed: 2310194
2019-08-14 10:04:11 +02:00
Rahul Shahare
690c25aa67
sdm660-common: init: qcom: Add vendor prefix to properties
As per sepolicy, add vendor prefix to specific properties.
i.e, persist.vendor.sys.ssr.enable_debug,
     persist.vendor.sys.mba_boot_timeout,
     persist.vendor.sys.modem_auth_timeout,
     persist.vendor.sys.pil_proxy_timeout.

Change-Id: Ibeb87194e2ca9b831fc5e721a87764920c21276d
2019-08-14 10:04:11 +02:00
Konstantin Dorfman
e2701991ed
sdm660-common: init.qcom.rc: create /mnt/persist/secnvm for sec_nvm service
Update /persist/secnvm to /mnt/vendor/persist/secnvm

Change-Id: I219e94e99e2657b9ed7e6fefb57fc242e2de5b26
2019-08-14 10:04:11 +02:00
Zhen Kong
f44951c36e
sdm660-common: ueventd.qcom.rc: set permissions of /dev/qce device
To support end-to-end DRM content playback with SG List feature,
android.hardware.drm@1.0-service needs to have access permission
to /dev/qce to map & unmap ION buffer virtual address with HW Crypto
Engine. So, set /dev/qce device permission 0660 and let it be
accessible by user "system" and group "drmrpc".

Change-Id: If9c0ed70acc2bb063344692374f51441fe84eff6
2019-08-14 10:04:11 +02:00
Qing Huang
03136246fb
sdm660-common: Create display folder under /mnt/vendor/persist
Create display folder under /mnt/vendor/persist
since /persist partation was removed on talos.

Change-Id: Ibaae5dcd4823bd20282117eaba852de9ea4a618c
2019-08-14 10:04:11 +02:00
RAJATH R
9bfccf393b
sdm660-common: Creating directory mnt/vendor/persist/bluetooth
Creating new directory as persist Bluetooth addr
location is changed from /persist/bluetooth to
mnt/vendor/persist/bluetooth.

Change-Id: Idb30dcd9d0af5f9271955e4c7eeff0bd9afe80ad
CRs-Fixed: 2324749
2019-08-14 10:04:11 +02:00
Mao Jinlong
d3128f251d
sdm660-common: Change time persist folder path
On android P, vendor persist folder is in /mnt/vendor/persist/.
Change time persist foler to /mnt/vendor/persist/time.

Change-Id: I325dfa2ed336d9ae0a2b5850ec3683db205a513c
2019-08-14 10:04:11 +02:00
Mahesh Lanka
349530452c
sdm660-common: Remove creating and accessing /data/media from vendor domain
Vendor domains can't access files outside of /data/vendor
CRs-Fixed: 2307724

Change-Id: Ied173cc6bfb2a8041c8a0feb016e9efa3b743b7f
2019-08-14 10:04:11 +02:00
Sauvik Saha
e4a58fa5f2
sdm660-common: Starting imsrtpd on bootup
* starting rtpd on bootup without waiting for DATA_DAEMON
prop and restarting when property is set

Change-Id: If121089334ef2c0b335320bb561a553163042ba3
2019-08-14 10:04:11 +02:00
Devi Sandeep Endluri V V
07d002a336
sdm660-common: Starting imsrcsd on bootup
Starting imsrcsd on bootup without waiting for DATAD property
which will load libimsrcsbaseimpl and register HAL services

Change-Id: I17c1891583ea99baa31efec0e8ba316e4fbf25f3
2019-08-14 10:04:11 +02:00
Subbaraman Narayanamurthy
c51053b5dc
sdm660-common: init: Create persist directory for hvdcp_opti
hvdcp_opti daemon stores some parameters in
/mnt/vendor/persist/hvdcp_opti directory. Create the directory.

Change-Id: I0cf17467792cc294e6ce1a7f35a356cc0e960e86
2019-08-14 10:04:11 +02:00
Devi Sandeep Endluri V V
bee72c59c5
sdm660-common: Add vendor prefix to data connectivity
Change-Id: I57ac8e5583f62ec585723454de4906d83a4e6dfe
2019-08-14 10:04:11 +02:00