Commit graph

3119 commits

Author SHA1 Message Date
idabgsram
7e0da6d532
sdm660-common: Switch to Filebased-metadata encryption
Change-Id: I0fd387c6be606e9658fa4badeaf9ac75f7987af0
2020-08-12 02:02:36 +06:00
sbwml
00d8bed00b
sdm660-common: Update Graphics (SDM) from LA.UM.8.2.r1-06200-sdm660.0
Change-Id: I881d0316513971e47bac106354fb0139cc08ee79
2020-08-12 02:02:36 +06:00
ArianK16a
137c30aefe
sdm660-common: Update Blobs from LA.UM.8.2.r1-05700-sdm660.0
Change-Id: I0f55ebccbcbdca5f8cf912566963323ccd72c474
2020-08-12 02:02:36 +06:00
dianlujitao
6df111fbc1
sdm660-common: sepolicy: Adjust for lavender dt2w node
Signed-off-by: Sebita <kjjjnob.seba@gmail.com>
Change-Id: If08946adbf5c2fa619178b3f15ae0635bacdf8a8
2020-03-10 09:41:52 +01:00
LuK1337
2eb56727c3
sdm660-common: sepolicy: Add more /persist related contexts to toolbox rules
Change-Id: If9b28d1196eb352422e5acb0a570f2e005c2dcdf
2020-03-10 09:39:56 +01:00
LuK1337
1e7b6a0417
sdm660-common: sepolicy: Drop unnecessary rule
* This is already granted through init_daemon_domain(domain).

Change-Id: I6c2f1b3e267256da958b40af5014972785617cbe
2020-03-10 09:39:56 +01:00
Felix
ac571ee966
sdm660-common: Force restorecon for /mnt/vendor/persist
The restorecon_recursive directive in init is only applied if the
file_contexts file changed between builds, but not necessarily if any
file or folder inside /mnt/vendor/persist/ has changed.

The restorecon code checks whether an xattr named
"security.sehash" contains a string that matches the current
combined hashes of the SELinux context files and skips restoring labels
if there is a match, see
https://android.googlesource.com/platform/external/selinux/+/refs/tags/android-9.0.0_r35/libselinux/src/android/android_platform.c#1546

Force wiping that xattr so that restorecon always runs since it's not
very expensive (there are currently only about 50 files on /persist).

The restorecon is needed to fix issues such as wrong stock labels on
/mnt/vendor/persist/sensors/:
sensors_persist_file -> persist_sensors_file

Change-Id: Ic0cd848836ee550499d9236f56ed6e939e35f01e
2020-03-10 09:39:45 +01:00
Max Weffers
11f242fb9d
sdm660: prop: We don't have dual isp camera
* fixes portait mode in miui cam

Change-Id: I2e0518312528116b977a069a273168dc916160e1
2020-03-06 11:21:00 +01:00
Artem Borisov
e20a0bf5f0
sdm660: Snap: Enable support for bokeh mode
* Our HAL doesn't really support bokeh mode, but enabling this
  makes our auxiliary camera available in Snap again.
* Also update copyrights, as this was never an AOSP overlay,
  and that copyright was a typo.

Change-Id: I296d42e5e371711b7acb81cb3235ea572a2ded56
2020-02-27 17:01:42 +01:00
Thierry Strudel
e713c18a84
sdm660-common: init: Adjust charger state CPUs
Bug: 74771887
Change-Id: Ifd5d2ac499866ce897cfa99a655da592248e7bbd
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Signed-off-by: Zainudin Shamilov <renascape@beatwo.men>
2020-02-27 17:01:42 +01:00
Wei Wang
bb85a5d86c
sdm660-common: init: powersave in charger mode
Bug: 72445880
Test: boot to charger
Change-Id: I154304deabf219a0428d68d0c59cb64c143b7de6
2020-02-27 17:01:42 +01:00
Aryan Gupta
d2272c9cb7
sdm660-common: Set loop max part to 16
Needed for apex to work properly

refer https://source.android.com/devices/tech/ota/apex

Change-Id: Iabcb7478cd96be8f4cd8ee1cf17185d7d5ba0cd9
2020-02-27 17:01:42 +01:00
khanfrd
1d210000b3
sdm660-common: overlay: Enable STATE_DOZE support
Signed-off-by: Zainudin Shamilov <renascape@beatwo.men>
Change-Id: Ia8474ddaff2e0a7a591eee26f9ba1e6a7d7b444a
2020-02-27 17:01:41 +01:00
Anant Goel
5eeebf4209
init.qcom.usb.sh: Set ADB as default composition for GVM targets
Set ADB as the default composition for GVM targets, as DIAG
over USB conflicts with the DIAG over IP used by the PVM.

Change-Id: I09389564db284b16ccb34243eaf34bb17860b30f
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2020-02-27 17:01:41 +01:00
David Ng
34a9f96920
config.fs: Add sys_boot cap to peripheral manager
Enable sys_boot capability to allow system reboot
to peripheral manager.

Change-Id: I04b67543c4d2e541b9699b6faa3337b2638b3257
2020-02-27 17:01:41 +01:00
Sidipotu Ashok
eedaefc0f2
init: Define SYS_NICE caps for android.hardware.audio@2.0-service.
- Grant SYS_NICE capabilities to audio HAL processes as sound trigger
HAL threads need to run at real time priority as well as use the
CPU affinity, for far field voice.

CRs-Fixed: 2359951
Change-Id: Ie0da744978609c750e92aec2c6001ace1868ad31
2020-02-27 17:01:41 +01:00
Subhadra Jagadeesan
fac52b4226
init.qcom.post_boot: exclude CPUs 0-3 from isolation
- SnapdragonVoiceActivation feature for Far Field Voice version
affines its threads to 0-3 CPUs and so prevent them from isolation
for qcs605 target

Change-Id: I09ef5cc97ee245133315edc0821f3a2afc54e99b
2020-02-27 17:01:41 +01:00
Patrick Daly
20bc13de0e
post_boot: Ensure SLAB_STORE_USER is disabled for zram kmem_caches
ZRAM compression uses the linux slub allocator its internal data
structures. If these internal data structure consume a lot of memory,
ZRAM compression may increase memory usage, rather than decrease it
as expected. Decrease the chance of this occuring by ensuring the
SLAB_STORE_USER debug option is disabled.

Change-Id: I4684feda94b7bebacb6218b7f979c95771b0ee10
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2020-02-27 17:01:41 +01:00
Divyanand Rangu
a293622e25
post_boot: Update nodes of read_ahead_kb configs
check populated dm-* nodes and Update read_ahead_kb
values to them. This is needed because on targets
with verity disabled dm-0 to dm-6 are populated,
while on enabled targets dm-3 to dm-6 are populated.

Change-Id: Ia4e262d7487120695db53b562b5764598fd40a87
2020-02-27 17:01:40 +01:00
Ravi Paluri
a0d3f4cd64
IMS: Enable IMS feature flags for supported carriers
Enable IMS feature flags for supported carriers

Change-Id: Ib5dd349e02946f432ea4bff5cb89bb8dd4037bd2
CRs-Fixed: 2595292
2020-02-27 17:01:40 +01:00
Venkata Rao Kakani
26f2e84b81
post_boot: change ddr freq from fixed to capped level.
Change-Id: I2e6b2112c54e019e72271bf34e22edb1a36488ea
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2020-02-27 17:01:40 +01:00
zljing
b0de734ae5
post_boot: update zram setting avoid 32 bit overflow.
Change-Id: I790b5ef9fcf091e4af3ebaaac3341b8d4050c47e
2020-02-27 17:01:40 +01:00
Surabhi Vishnoi
3c2400960f
falcon_64: Add wowlan_triggers to wpa_supplicant conf
Add 'wowlan_triggers=magic_pkt' to wpa_supplicant_overlay.conf. With
this, wpa_supplicant will tell the linux kernel that the wifi driver
is wowlan capable, and will wakeup the host when a magic packet is
received. Most importantly, the kernel will no longer disconnect wifi
connections before suspending wifi.

CRs-Fixed: 2615975
Change-Id: I3226943940046ad98e4ab410897d4fdcb457ee5a
2020-02-27 17:01:39 +01:00
Sridhar Kasukurthi
93d67ec05b
Update QtiRadio HAL to Version 2.4
Change-Id: Id840d3b942f952fc2ee2441c1f02f081b62a419c
2020-02-27 17:01:39 +01:00
Ananthula, Madhu
8ab1a2d503
SDM660: Finetune mediacodec performance values.
Finetune mediacodec performance values as per CTS results

CR: 2584357
Change-Id: I71c75cfbfeaeb370eee8f6173520abbdf61544db
2020-02-27 17:01:39 +01:00
VijayaKumar T M
e3747252c9
sdm660_64: camera : Disable dual isp sync
sdm660 will not support dual isp sync.

Change-Id: I006eecf59437aa7cdbd378850ab5ce6e7f702a54
2020-02-27 17:01:39 +01:00
Josh Chasky
eef3c5c4d0
board: Update to Clang 10.0.4
Change-Id: I181212db478a025c09adf346b3e47d1cd6509ab7
2020-02-27 17:01:39 +01:00
Vulupala Shashank Reddy
7c2620f4ca
wifi: Update ini parameters for wifi
Update ini parameters related to wifi.

Change-Id: I238eb03d721ca81cfa9994566edce0a145e76521
CRs-Fixed: 2597219
2020-02-27 17:01:39 +01:00
Max Weffers
8958ec4e22
sdm660: prop: Do not Move input surface to CCodec
* fixes system side screenrecorder

Change-Id: I141c3a72507d53a1fc00a26247da2256a7f71826
2020-02-27 17:01:38 +01:00
dianlujitao
c4d7f31a89
Force enable mobile network settings v2
* AOSP defaults to true but 10 QC telephony extension sets it to false.
 * Restore AOSP behavior by enabling it with a system property which has
   higher priority over global system settings which is used by QCOM w/o
   modifying the jar.

Change-Id: I45854b91bb8cfafabfe811777cda9f1e1840febf

 Author:    dianlujitao <dianlujitao@lineageos.org>
 Date:      Tue Oct 22 21:11:54 2019 +0800

Change-Id: I1862e9021ccbc8430c9a1dcda21016fdbf2f0bad
2020-02-27 17:01:38 +01:00
Dyneteve
458fbf7f0d
sdm660-common: Switch to userspace LMKD
Change-Id: I63a284f3b956284e798fe0ecfb6cc05b4190db73
2020-02-27 17:01:38 +01:00
izainudinshamilov
e16c070073
sdm660-common: Update vibration pattern from sargo
Change-Id: Ie97c7673b4e38b0fb99b99c10e007df36e75ca5b
2020-02-27 17:01:38 +01:00
Max Weffers
52f60c1b4f
sdm660: overlay: Update Auto Brightness Values from Sargo
Change-Id: I2d04a985ef8acd8a1a2866147d63b8a41853abd3
2020-02-27 17:01:38 +01:00
Phil Burk
9342e80e43
sdm660: audio: add vendor property for mmap MMAP OUTPUT time offset
Try to fix glitches on AAudio MMAP output on bonito.
The DSP is returning a position/time pair that is too soon.

Bug: 122680738
Test: Should see glitch.count = 0 when you run this test.
Test: adb shell aaudio_loopback -tm -b999 -s20 -x -X
Change-Id: I3cf7698e4038b375a116c4d708eb0686cc72f40e
Merged-In: I3cf7698e4038b375a116c4d708eb0686cc72f40e
2020-02-27 17:01:37 +01:00
Pawin Vongmasa
4b0ead0844
sdm660: Move input surface to CCodec
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small

Bug: 131800183

Change-Id: I8783a7de4a4fdf7ff2eac6697c71f6592c9a9e06
2020-02-27 17:01:37 +01:00
Tomy Prasetyo
0f965351e0
sdm660: Add full Support Carrier Smartfren ViLTE
Change-Id: I6af854a07dfe521abfc624b34971a5359dd218bc
2020-02-27 17:01:37 +01:00
Liron Daniel
75bef1e561
sdm660: ueventd.qcom.rc: Add permission to /dev/spu_hal_ssr
Needed for spu HAL service to register on spcom channel for ssr
notifications

Change-Id: I43f070bf9948d4330f9ae05f9d631f2681f75164
2020-02-27 17:01:37 +01:00
Amir Vajid
babc7f8aae
sdm660: post_boot: update memlat polling to 8 ms on kona
Update the polling_interval to 8 ms for all memlat
devices on kona.

Change-Id: Ia097e6e0a6aa3b761978e5df60c868a7f1d19401
2020-02-27 17:01:37 +01:00
Amir Samuelov
568313007c
sdm660: allow system to access UFS sysfs
Allow system to read/write UFS device attributes on sysfs.

Change-Id: I7ea0a8f289b29ebcff2b894237efbe90b76f1a80
2020-02-27 17:01:36 +01:00
Dyneteve
e970cc2df6
sdm660-common: Start the bootanimation on late-fs
Change-Id: I990ee05623b98a5faa5fea9085de27737ba2cb5b
2020-02-27 17:01:36 +01:00
Dyneteve
cce384b6dd
sdm660-common: Add 2 instance support for record_24
Change-Id: Ibcdb612763a9eda2579ef7e22d9d72b8426ea2ef
2020-02-27 17:01:36 +01:00
Adhitya Mohan
413f53c6f7
sdm660-common : Ensure ro.surface_flinger.protected_contents=true is copied to build.prop
-Having it as DEFAULT_OVERRIDE did not copy the prop, causing chrome v77+ to crash

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I1fd53af2b9aecc53f7058eb76ef8e815d98968c5
2020-02-27 17:01:36 +01:00
izainudinshamilov
b170d247c5
sdm660-common: overlay: Whether or not to hide the navigation bar when the soft keyboard is visible
Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: I3d0024f2f32858255254b6ac913c666779818c46
2020-02-27 17:01:36 +01:00
npjohnson
b3b5907176
sdm660-common: Enable display burn-in-protection in Ambient Display
Change-Id: I3351fa93259b3e4a23b9331ebecc3b0c2c1f9e93
2020-02-27 17:01:35 +01:00
dasshubham762
0eac0de95b
sdm660-common: overlay: Enable ViLTE for Airtel (India) & 404 mcc
* Airtel India uses some mncs of 404 mcc

Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: Iecefcefa628acc7aee7c8e6022a7c26a7765b245
2020-02-27 17:01:35 +01:00
Dyneteve
8bdaf69794
sdm660-common: overlay: Enable VoLTE/VoWiFi for Digi Malaysia
Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: I47f491c8f7d056379b680b36506d25ded11691b5
2020-02-27 17:01:35 +01:00
Dyneteve
39d1f605d7
sdm660-common: Enable VoWiFi for Airtel
Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: Ia264028fcb2985994ad3cb583da5188728bc7182
2020-02-27 17:01:35 +01:00
Dyneteve
26ff7b6051
sdm660-common: overlay: Enable VoLTE/VoWiFi/ViLTE for entire 460 mcc
* All of them support VoLTE/VoWiFi/ViLTE

Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: I8f52933358a8c32c53f938f3e5866362c8123be0
2020-02-27 17:01:35 +01:00
Shubham Das
61c9eec8ef
sdm660-common: overlay: Make WiFi Calling preference editable for Jio (India)
Signed-off-by: Zainudin Shamilov <izainudinshamilov@beatwo.men>
Change-Id: Ifa3970b0c4f78dda583a00c8046a0e68524c51a1
2020-02-27 17:01:35 +01:00
Dyneteve
1a7c7d5840
sdm660-common: rootdir: Use auto for sdcard/usbotg
* Just so other file systems work

Change-Id: Ic7aa2b98ee4af1309b6155bdc5b77dc46f130503
2020-02-27 17:01:34 +01:00