Commit Graph

772 Commits

Author SHA1 Message Date
kubersharma001
29ac6ef56f sanders: update wifi configs
Change-Id: Ic73a4ee48f1becf7261cd522265b954465b1cfa4
2019-12-16 15:28:54 +01:00
Vachounet
d8f60177fd sanders: copy com.nxp.mifare.xml
* Expose mifare feature

Change-Id: I7f4a891db4b137de17eec3a7411c81d15b252fc0
2019-12-16 15:28:54 +01:00
kubersharma001
a54bbad0cb sanders: overlay: snap: disable api2/hal3
Change-Id: Ic4088a36882a5add7a464b3641b582f8a0ef6f77
2019-12-16 15:28:54 +01:00
kubersharma001
2a6a1192e2 sanders: add more wfd props
Change-Id: I21d931f5cf6cc7d4074d317881a1ca981b24228f
2019-12-16 15:28:54 +01:00
Erfan Abdi
05e34ec3e0 sanders: Enable metadata for FDE
* This device uses metadata partition to store FDE key

Change-Id: I81795273979e2639381d44ccb97d78fd45571634
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2019-12-16 15:28:54 +01:00
kubersharma001
5cd03a158e sanders: update CarrierConfig overlays from LA.UM.7.6.2.r1-07600-89xx.0
Change-Id: I9a3adcb4ac4a0683ab3a86255ce2e5c192b0f5bb
2019-12-16 15:28:54 +01:00
kubersharma001
1d3988916d sanders: [DNM] import carrier specific/telephony overlays from griffin
* kanged from and till LineageOS/android_device_motorola_griffin/tree/3c0798f706e84eb735299e0dd2398a65294bed15

Change-Id: Iaae1859bfda2ea7d0a7a38e0dd79cb5d8e2ddb9d
2019-12-16 15:28:54 +01:00
Adithya R
080711a551 sanders: overlay: Unpin SystemUI
* Not needed after 39f1f2878b71c1a560da5ea70e18aaf8d8a44b70 as SystemUI.{odex,vdex}
  won't exist if they are preopted.

02-04 07:58:33.229 555 568 E PinnerService: Could not pin file /system/priv-app/SystemUI/oat/arm64/SystemUI.vdex
02-04 07:58:33.229 555 568 E PinnerService: android.system.ErrnoException: open failed: ENOENT (No such file or directory)

Change-Id: I20bfe66851fd5ade5f89e60be62aafab12333df2
2019-12-16 15:28:54 +01:00
kubersharma001
072fb97891 sanders: WCNSS_qcom_cfg.ini from deen's pie release 2019-12-16 15:28:54 +01:00
Jan Böhmer
7e618246d9 Added new line char after ISO_DEP_MAX_TRANSCEIVE
The NFC HAL seems to need this new line to apply the ISO_DEP config.
2019-12-16 15:28:54 +01:00
Adrian DC
76d9f9be8c sanders: init: Resolve vendor HALs for early bootanimation start
* Adapt the service from configstore-hal-1-0 service
    to vendor.configstore-hal for AOSP P

 * Resolves surfaceflinger first launch crash
    due to configstore not being running earlier enough

Change-Id: I5aae6d8357ce71933e7c6673e9e4d37adb55a6af
2019-12-16 15:28:54 +01:00
Philip Cuadra
edd1b13001 sanders: Enable Camera App pinning 2019-12-16 15:28:54 +01:00
John Dias
3bfa03b48f sanders: Pre-opt SystemUI
SystemUI is getting deoptimized, possibly resulting in jank
(not yet validated); pre-optimize to avoid deoptimization for now.
Bug: 62832717
Bug: 35872915
Test: boot, check for vdex, run for a bit

Change-Id: Ia754db444eebaebf0ff2389ab66f6f1d486da994
2019-12-16 15:28:54 +01:00
Adithya R
d2fa29e5f4 overlay: Correct SystemUI paths for pinner service
* Thanks to @aviraxp for pointing it out.

Change-Id: I7b4fbe23aa46c71b31d914b1e1ddd955aa1b4bf0
2019-12-16 15:28:54 +01:00
Jorim Jaggi
36dd36a154 sanders: overlay: Pin home application
Test: adb shell dumpsys pinner after boot
Bug: 111132016
Bug: 78585335
Change-Id: I4ed0587ae5348bbe03ad9ac5f1c5b1726dbb8246
2019-12-16 15:28:54 +01:00
Jorim Jaggi
18c13d7979 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
2019-12-16 15:28:54 +01:00
Vachounet
bec412a1ec sanders: add perms for FMRadio app
Change-Id: I5137df75b3763a29dd56c5fc238f9b0380739a3e
2019-12-16 15:28:54 +01:00
Vachounet
cafb3e4d92 sanders: update privapp perms
Change-Id: If6773d00111f12763f26da2b94450ab8d9a0ccfc
2019-12-16 15:28:54 +01:00
Vachounet
7548101a10 sanders: add back FM support
Change-Id: I86fd0251a1278cc7a5d0102ec554979a3732e4fe
2019-12-16 15:28:54 +01:00
Vachounet
512df8ddc4 sanders: sync init.qcom.rc with last CAF changes
Change-Id: I0c06e086d3843faafa6787dc69b7f7541dc3304f
2019-12-16 15:28:54 +01:00
Jan Böhmer
55a76c2084 Added ISO_DEP_MAX_TRANSCEIVE value to libnfc config
Without these setting some NFC Tags can not be read (An exception is thrown which states that the transmitted data is too long).
2019-12-16 15:28:53 +01:00
Nick van Bokhorst
dec2c71153 sanders: WFD Changes
*Taken from tissot device tree
2019-12-16 15:28:53 +01:00
Vachounet
97cc0514ec sanders: build android.hidl.manager-V1.0-java 2019-12-16 15:28:53 +01:00
Wei Wang
30cf8bc052 Wait for hwservicemanager ready before running fsck
As property service is part of init, and if init is busy with built-in
command e.g. fsck, the propety_set() won't go through until the built-in
command is finished.
Move the start of hwservicemanager earlier and wait for its done after
launches bootanim and its dependencies (there is not wait time during
boot but the command is as a safeguard).

Bug: 74437368
Test: boot with simulated long fsck and bootanim shown early
Test: boot see 'start_waiting_for_property("hwservicemanager.ready", "true"): already set'
Change-Id: Iab4b857a51e0e6b8b059d063c1f0d65a0e987622
2019-12-16 15:28:53 +01:00
Wei Wang
91e5319362 sanders: Tune zram performance
* Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram

Change-Id: Ia73d08904551dfc8d57268fc4da3f9f34d10e277
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:53 +01:00
Han Wang
223614ac44 sanders: Configure number of physical SIM slots
* Needed by telephony-common

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2019-12-16 15:28:53 +01:00
William Bellavance
107ec5c02e sanders: enable Verizon visual voicemail support
Change-Id: I5f60886a7cd3f39dc1c01ecae4d64388d0cd3b6e
2019-12-16 15:28:53 +01:00
dianlujitao
4189a5590f sanders: Update qti_whitelist from LA.UM.7.5.r1-03100-8x96.0
Change-Id: I93ad3de87cbb78d2155fd0b4304738c2080554f5
2019-12-16 15:28:53 +01:00
Bruno Martins
0bce773a88 sanders: Fix typo from CodeAurora in the QTI whitelist
* Let com.qualcomm.qcrilmsgtunnel break free

Change-Id: I6243a6d21da7709bf6612270d7638f1231b9f601
2019-12-16 15:28:53 +01:00
maxwen
a96463a95e overlay: enable config_enableManualSubProvisioning
Change-Id: I4ebf7ce5833e6375d5179f1ab084132449e51249
2019-12-16 15:28:53 +01:00
Luca Stefani
e19771d7e3 overlay: Update power_profile to P
Change-Id: I9771f7dcbff3fc5c40871d8647642139756a0987
2019-12-16 15:28:53 +01:00
kubersharma001
081c5e39fc [DNM]sanders: update wifi configs
* basically, revert some recent changes

Change-Id: I4d8f126127f85c48200c9f6615d25819889126a3
2019-12-16 15:28:53 +01:00
kubersharma001
8128e48c3d sanders: re-adjust dir for new time service blobs from P
Revert "potter: Adjust mkdir of time data files"
This reverts commit d52dd9094aab10b5d6640ebd1cba56a66ba847db.

Change-Id: I5d2e4a0849223b07bf060ec3c75c32f76710f672
2019-12-16 15:28:53 +01:00
Alberto97
f6518caf1e ueventd: Change permissions of USB role switch nodes
Usb HAL expects data/power role switch to be supported if these are writable.
Despite our hardware can support the functionality, it does not seem to be properly implemented.
2019-12-16 15:28:53 +01:00
Jack Pham
6d8326b14e ueventd.qcom.rc: Change ownership of USB role switch nodes
Change ownership of /sys/class/dual_role_usb entries to
system/system to allow USB HAL to access them.

Change-Id: Ie6d968180d55647813904970370dbb74012326b0
2019-12-16 15:28:53 +01:00
Ethan Chen
fa4a07aa78 sandersr: drop custom display flags
* TARGET_USES_OVERLAY and USE_OPENGL_RENDERER are largely deprecated
* Don't set triple buffering, it introduces latency
* Don't use custom VSYNC offsets

Change-Id: If2892c83726c3558a96b28a8404f49982ebb9ba0
2019-12-16 15:28:53 +01:00
Danny Baumann
15e9a02c3b sanders: Mark camera-related processes as API level 26.
Our camera blobs trigger some checks for broken behavior (destroyed
mutex usage, invalid pthread usage) present in newer API levels.

Change-Id: I8705437e0a5c6d80b86748bff559ce1e8a7bf716
2019-12-16 15:28:53 +01:00
kubersharma001
35e663f94f sanders: update CarrierConfig overlays from CAF
Change-Id: Ib23f2f386c6e43467a114c488f2f06bb53b602a6
2019-12-16 15:28:53 +01:00
TheScarastic
95335624c5 sanders: Adjust mkdir of time data files
* Our blobs expect them in /data/time
2019-12-16 15:28:53 +01:00
Karthik Gopalan
69f79c2c89 sanders: Swap disk creation
Create swap disks

CRs-Fixed: 2264866

Change-Id: Id57a4e8d413c7dafb49d073980f10010003f616e
2019-12-16 15:28:53 +01:00
kubersharma001
5ee1ebac4a sanders: build CarrierConfig
Change-Id: Ie8d228c0226b73ce6dcf8383948d09aab2c2665c
2019-12-16 15:28:53 +01:00
Bauuuuu
68789b221e sanders: overlay: Enable Fingerprint Authentication Vibration
Change-Id: I9e4548679fa50dfe429caf29d23e538c7e9384ec
2019-12-16 15:28:53 +01:00
LuK1337
290ce270f6 sanders: Fix build of our bluetooth header
Change-Id: I45c5a123c86f3a9ec1ac72011c018a937d4fc70f
2019-12-16 15:28:53 +01:00
TheScarastic
04377d2532 sanders: fix BT MAC address reading 2019-12-16 15:28:53 +01:00
Wei Wang
5eef2ac3d8 sanders: skip wait for hwservicemanager
Wait for hwservicemanager is no longer needed
after this CL:
https://android-review.googlesource.com/#/c/356043/

Bug: 36399429
Test: nash boot

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: I12c5adab70dc519b5e834eb35262ff73d214978b
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:53 +01:00
Wei Wang
74eb1c9755 sanders: Make sure graphics HAL services started before mounting data
Bug: 36409349

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: I1df0bd7878c7d67d3695ad1644c6b928cee0e323
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:53 +01:00
Chia-I Wu
f9c5f1e4e2 sanders: Start hwservicemanager early
Test: builds and boots
Bug: 35173320

Change-Id: I9f060904174103a6a145a83cbb4c100728ff6df6
2019-12-16 15:28:53 +01:00
Wei Wang
968521a5c4 sanders: start bootanim before mounting data partition
Bug: 30118894

Signed off by: Nolen Johnson <johnsonnolen@gmail.com>

Change-Id: If84764e3ce51f467b2dfa867ce28e1e396422d45
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2019-12-16 15:28:53 +01:00
Garik Badalyan
e3fa9d55c7 sanders: IMS: Whitelist org.codeaurora.ims package
org.codeaurora.ims has become a priv-app
to acquire some permissions we need to
whitelist the package.

Change-Id: I3f31f949e054cc79f8cff99e66cbcb70f5f0715f
2019-12-16 15:28:53 +01:00
elektroschmock
ec2fc31ae9 sanders: Run ActivityManager and RenderThread as SCHED_FIFO
by setting sys.use_fifo_ui=1
This is only usable on homogenous CPUs

Reference:
https://source.android.com/devices/tech/debug/jank_jitter

Change-Id: I9793b45b631cf8b6db43219fe5d2a3a023ab64bf
2019-12-16 15:28:53 +01:00