Commit Graph

740 Commits

Author SHA1 Message Date
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
Miguel Martinez
3ca6747872 sanders: enable persist.vendor.qti.inputopts.enable
Change-Id: Icb00771991789be651f6da4b554fafc9e5b860d9
Author: maxwen <max.weninger@gmail.com>
2019-12-16 15:28:53 +01:00
Pranav Vashi
a9b93107c7 sanders: gps: Increase batch size to max
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2019-12-16 15:28:47 +01:00
Daniel Jarai
89cc54cb23 sanders: camera: Specify internal video devices to ignore by external provider
The external camera provider occupies our camera V4L2 nodes, potentially
crashing the kernel driver and blocking the camera HAL.
Unfortunately, there's no easy way to just disable it, so let's just tell
it to ignore the internal video devices.

Change-Id: I00c67de1b94a1f7eca1bf458d1d0e4de3507aa81
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2019-12-16 01:42:16 +01:00
Ecco Park
29ba5b2153 sanders: Adding the execute permission for /data/vendor/wifi
ag/3332074 broke the Pixel Logger funtionality for wifi.

The Logger needs the write permission for /data/vendor/wifi/cnss_diag.
so, parent directory needs to set the execute permission for other group.

Test: manual test with Pixel Logger
Bug: 70228425
Change-Id: I75819f0b0bf4ed376d5d87f33af2e1693c864db8
Signed-off-by: Ecco Park <eccopark@google.com>
2019-12-16 01:42:16 +01:00
Skylar Chang
93f24fb1fd QTI: Create QTI log dir in /data/vendor/ location with permissions
Change-Id: Ib21082c3af84c15de2dac635cce9ad5c3e1f528d
2019-12-16 01:42:16 +01:00
RAJATH R
96f8f3ed53 Create new directory for Bluetooth SoC dump
Create new directory for Bluetooth SoC dump/logs
collection for new Android P dump format

Change-Id: I1257518fa12420a6d8d5bb66f15782ab97582f36
2019-12-16 01:42:16 +01:00
zljing
4bd9cd449f sanders: Shorten wait time for services exit to optimize shutdown time
Android O sets 3s by default to wait for all services exit which is
optional shutdown step. Firstly, in this step there will be time out
due to services not terminated in 3s; Second, in next step there
will send stop signal to kill all services; Finally, Android N sets
ro.build.shutdown_time 0 by default to skip the step. So optimize the
wait time to let shutdown time in 3s.

Signed-off-by: Nick <nickgunale@gmail.com>
Signed-off-by: kubersharma001 <kubersharma001@gmail.com>
2019-12-16 01:42:16 +01:00
zljing
ef86099c77 sanders: Shorten wait time to optimize shutdown time
Mountservice will check if there exist processes occupy files. Launch
many 3rd apps and set in background will cause many processes occupy
files, which will cause mountservice spend 10~20s to unmount(sometimes
 also unmount fail with 20s time out). If there is no process occupy
files, mountservice only need about 500ms. So shorten wait time from
20s to 500ms, which will save 10~20s for shutdown time, total shutdown
time is in 3s.

Signed-off-by: Nick <nickgunale@gmail.com>
2019-12-16 01:42:16 +01:00
Boy Petersen
aeddd290d8 tweak bfq iosched for flash drives 2019-12-16 01:42:16 +01:00
Boy Petersen
47bbbe3b03 interactive governor: leave min_sample_time at default
Don't ramp down that fast, use default 80000 instead to help UI smoothness.
While we're at it, correct odd above_highspeed_delay timings.
2019-12-16 01:42:16 +01:00
Makornthawat Emery
44a0a3985c sanders: Match default hotspot ssid with device name 2019-12-16 01:42:16 +01:00
Niranjan Pendharkar
d84e1b540a sanders: Use low level shutdown trigger to stop cnss-daemon
Low level shutdown is triggered after SystemServer is
cleaned up. sys.shutdown.requested is private to SystemServer
and is used to syncrhonize the shutdown process if SystemServer
crashes before hardware reboot is complete.
Native daemons must use low level shutdown indication from
powermanager for their graceful shutdown, if they wish to stop
before init terminates the process.

Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67
Signed-off-by: kubersharma001 <kubersharma001@gmail.com>
2019-12-16 01:42:16 +01:00
Jorge Lucas
ad99acb8f5 Revert "sanders: init.qcom.rc: add eas changes"
This reverts commit 4901164b18.
2019-12-16 01:42:16 +01:00
Bruno Martins
5f0ce7ae1b sanders: Simply copy prebuilt .jar files
* No need to have them as build targets.

Change-Id: Ie76ae3028a394b25fd9df485e500101f10230294
2019-12-16 01:42:16 +01:00
LuK1337
51424ed7f5 overlay: Remove bnep\\d from tetherable BT interfaces
Change-Id: Iac714d2de9a4d225da6fc3463d3fb99a4bb714a7
2019-12-16 01:42:16 +01:00
Michael Bestas
f2c097489d sanders: add networkAttributes and radioAttributes from marlin
Change-Id: I594c4ae577f620cdc8953730a097a275bacb2731
2019-12-16 01:42:16 +01:00
Khalid Zubair
6d88a9a1ea sanders: gps: decrease log priority function tracing
Some location libraries are spamming logcat with function traces.
Decrease the priority of these logs to prevent them from flooding
logcat.

Change-Id: I7b105684c8c9ba0ce67e5302bb7a003f1af7c90d
2019-12-16 01:42:16 +01:00
Paul Keith
ae9142f0d6 sanders: Reorder tetherable connection types
* In O, the default setting for mobile data always active was
  changed from off to on, meaning that when non-WiFi tethering
  is being attempted, more than one connection can be active
* Since the first active connection type in this overlay is used,
  reorder the values to get WiFi connections first, and then
  any type of mobile data connection, instead of vice versa

Change-Id: I41f31ba1a2793e209ff439c9ba28a390fecdeecb
2019-12-16 01:42:16 +01:00
David
170ff36bcc sanders Enable VoLTE to enable calling over LTE for Vodafone India.
Change-Id: I295c95b1078ba2cbeb08c014f17c9a67ba5060ba
2019-12-16 01:42:16 +01:00
Li Wei
0e5c0d55f8 sanders: Add config to check data roaming for UT as per CT requirements
- UT supplementary service also needs to keep mobile data and data roaming
  available. If mobile data is unavailable on current UT service SUB or
  data roaming is disabled in roaming network, needs to show a dialog to
  user for prompt when MCC/MNC is in 204/04, 454/03, 454/04, 455/02, 455/07
  , 460/03, 460/11, 460/12

CRs-Fixed: 2129445
Change-Id: I4822cb3a9edeb0c8e6786494c389bd5ad5c7e667
2019-12-16 01:42:15 +01:00
Michael Bestas
f417cb3b9a sanders: Set TARGET_PROVIDES_QTI_TELEPHONY_JAR
Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2019-12-16 01:42:15 +01:00
coldhans
49ac45d68d overlay: Enable network location overlay for microG's UnifiedNlp
@mar-v-in: "It seems like qualcomm is adding some fixed link to their proprietary location service through device/qcom/common/product/overlay/frameworks/base/core/res/res/values/config.xml. Remove this file completely or at least change config_enableNetworkLocationOverlay to true."
2019-12-16 01:42:15 +01:00
Adrian DC
0fea1e43a0 overlay: Show DocumentsUI internal storage by default
Change-Id: I1ada4009c5f71681761d1fb033d3d1c8609b7797
2019-12-16 01:42:15 +01:00
William Bellavance
877cc880fd Audio: Increase incall volume
Change-Id: I296751842b8d6ab7845e784b2f23d8ce2226b18e
2019-12-16 01:42:15 +01:00
Michael W
647a6cef98 sanders: wifi: Enable 2.4GHz channel bonding
* Improve WiFi speed

Change-Id: I06501a8d01d8a802fe5dd7a6c9edfa96c51afbce
2019-12-16 01:42:15 +01:00
Jaekyun Seok
1fa201efaa sanders: Enforce RRO on framework-res
Overlays only for framework-res will be converted into RROs.

Other overlays can't be converted due to some known issues on app RRO.

Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61
2019-12-16 01:42:14 +01:00
Henrique Silva
90320cbe4f sanders: set default wifi country code and allow resetting
* Fix 5ghz option sometimes not appearing on hotspot settings

Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
2019-12-16 01:41:48 +01:00
Jorge Lucas
7ee19a1819 sanders: Bringup AOSP
Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
2019-12-16 01:41:46 +01:00
therootlord
ce5f3538ee sanders: remove vendor.qti.hardware.iop from manifest
* Not needed with the new iop blobs
2018-11-29 13:57:26 -02:00
therootlord
f2d7488dfb sanders: add com.fingerprints.extension to manifest 2018-11-15 21:44:53 -02:00
Erfan Abdi
2f35f4fbb1 sanders: Update to match new qcom sepolicy
Change-Id: If6e58161489790ea7736dc1ec1fe11f2e2841b6c
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: therootlord <igor_cestari@hotmail.com>
2018-11-15 20:02:29 -02:00
Alberto97
a589c5e853 sanders: Disable AOD by default for r16 merge 2018-11-15 17:38:48 -02:00