Commit Graph

726 Commits

Author SHA1 Message Date
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
therootlord
5f26ac04ff sanders: add vendor.qti.hardware.sensorscalibrate to manifest 2018-11-09 15:33:07 -02:00
therootlord
4caf8164fb sanders: update sec_config from LA.UM.7.6.r1-02500-89xx.0 2018-11-09 15:10:17 -02:00
Shaikh Shadul
8f68d0a5dd sanders: change sensors registry file owner and group
Sensors registry file ownership is retained even after OTA
upgrade and that file is only accessible by daemon belongs to
same ownership permissions.

Change-Id: I3543733232aeab04d14fb9d69f635c1e6c6df1e2
2018-11-09 14:58:17 -02:00
Bulbul Dabi
047bfded6e sanders: Set partitions for loop device.
AdoptableHostTest in CTS uses virtual disk feature for testing.
This change is to enable partitions for virtual disk.

Change-Id: Ic89de587b2c0448fd55b55bf19086e92e843a923
2018-11-09 14:42:40 -02:00
therootlord
51e777cc1d sanders: update for the new mount points
* Also bind mount /mnt/vendor/persist to /persist for backward compatibility
2018-11-08 15:31:27 -02:00
Vinay Verma
2fbbc52c5a sanders: 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: I7f54b478de898491e32560d5a37657ac370bf893
2018-11-07 23:07:12 -02:00
Vinay Verma
8723ed746a sanders: Mount dsp and firmware in vendor
Change fstab to mount dsp and firmware to /vendor/dsp and
/vendor/firmware_mnt.

Add classpath for firmware loading /vendor/firmware_mnt/image in
kernel command line.

Change-Id: I04bd18336a1259a1379b3a27b150bb8051283275
2018-11-07 19:08:52 -02:00
therootlord
53fb0b2053 sanders: reorganize fstab.qcom 2018-11-07 18:28:47 -02:00
therootlord
2ab16b9a20 sanders: BoardConfig: update BOARD_KERNEL_CMDLINE 2018-11-07 17:50:11 -02:00
therootlord
8a7fc2199a Revert "sanders: drop device keyhandler for now"
This reverts commit e3c7463566.

* Also remove proximity check from keyhandler
2018-11-07 16:35:12 -02:00
therootlord
7478a33ad1 Revert "sanders: move MotoActions to vendor"
This reverts commit 247c0b4e27.
2018-11-07 16:14:39 -02:00
therootlord
531935cefa sanders: BoardConfig: add TARGET_COMPILE_WITH_MSM_KERNEL 2018-11-07 16:09:03 -02:00
therootlord
99a135ffd4 sanders: disable sdclang 2018-11-07 16:06:07 -02:00
therootlord
88fc2ace05 sanders: remove vendor.lineage.power from manifest 2018-11-06 22:05:12 -02:00