Commit graph

3613 commits

Author SHA1 Message Date
OdSazib
3dd5ae7fbb
sdm660-common: Update some blobs from LA.UM.9.6.2.r1-03600-89xx.0
- ESE (product>vendor for proper functionality)
- GPS and Time services
- Some part of Radio and IMS
- WFD, WFD Dependency & WiFi
2021-03-03 04:01:47 +06:00
PIPIPIG233666
8c0971fdfc
sdm660-common: Build new GNSS stack
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-03 00:01:41 +06:00
Rajshekar Eashwarappa
c11c921431
sdm660-common: Update gnss entries 2021-03-03 00:01:41 +06:00
OdSazib
5fd6060869
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03300-89xx.0 2021-03-03 00:01:41 +06:00
Shawn Shin
6d41ab23c9
sdm660-common: Add IQccsyshal for device compatibility 2021-03-03 00:00:36 +06:00
clarencelol
1751960372
sdm660-common: Update GPS blos from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-02 23:48:14 +06:00
Danny Lin
aeaf262479
sdm660-common: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the ~3.5 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save precious RAM on this
device.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2021-03-02 23:47:30 +06:00
ghostrider-reborn
25eb668abc
sdm660-common: Enable QCRIL radio power saving
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
Signed-off-by: chrisw444 <wandersonrodriguesf1@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +06:00
clarencelol
3820498cd4
sdm660-common: Android.mk -> Android.bp
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-02 23:47:30 +06:00
sbwml
d7334ac1eb
sdm660-common: Set loop max part to 7
loop.max_part must be less than 8, otherwise twrp generates warning with endless loop for apex

Reference: https://source.android.com/devices/tech/ota/apex#required_kernel_configuration_options
2021-03-02 23:47:30 +06:00
OdSazib
245f36f6ed
sdm660-common: Build libavservices_minijail
To eliminate linker error and fix ims_rtp_daemon:
--------------------------------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable
2021-03-02 23:47:30 +06:00
OdSazib
dc3bc748b0
sdm660-common: Set vendor.audio.adm.buffering.ms to 3
Whatever we set, the default maximum value is 3 by the lib itself
2021-03-02 23:47:30 +06:00
sbwml
2f202d0906
sdm660-common: component-override: Enable hfpclient support 2021-03-02 23:47:30 +06:00
Nolen Johnson
deb9ccb9c3
sdm660-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2021-03-02 23:47:29 +06:00
Bruno Martins
14d1074a44
sdm660-common: bluetooth: Undef BLUETOOTH_QTI_SW
This was long used to enable QC extended features. Right now,
with a pure AOSP BT stack, this is completely unused. Moreover,
it's enabled by default if devices opt-in for the QTI BT stack.

Change-Id: I0ad604d7a7a502df647676b1afc77d770fa50710
2021-03-02 23:47:29 +06:00
Michael Bestas
b3e57baf6e
sdm660-common: Don't build tinymix
* This tool can be built manually for debugging cases,
  there is no need to ship it in production

Change-Id: I9ab8b076b4bede70c368c198960ceabc68dad65b
2021-03-02 23:47:29 +06:00
Ethan Chen
ce8a29230c
sdm660-common: Remove unnecessary usage of TOPDIR
Change-Id: Iafaa21f49c9ddb1fed21e83948d549f5a74dcfee
2021-03-02 23:47:29 +06:00
Jesse Chan
57f5e4d450
sdm660-common: power-libperfmgr: initialize powerHAL when boot is completed
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c
2021-03-02 23:43:22 +06:00
nullbytepl
1e82d9734b
sdm660-common: rootdir: start themed_bootanimation before bootanim 2021-03-02 23:43:22 +06:00
etahamad
e923bda27e
sdm660-common: Move IPA flag to sdm660 make file
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.

Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
2021-03-02 23:43:22 +06:00
Dybios
f6b044c52e
sdm660-common: Reduce screenshot delay to 0 2021-03-02 23:43:22 +06:00
PIPIPIG233666
206f51bad0
sm660-common: Create socket for /dev/socket/audio_hw_socket
Change-Id: If4c5b944efb8dde3093ccb7b8f1dca746a02e043
2021-03-02 23:43:22 +06:00
Surabhi Vishnoi
e865b037e8
sdm660-common: 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
2021-03-02 23:43:22 +06:00
Martin
1939009ca9
sdm660-common: Decommonize screen density
* Not a good idea when we support multiple devices with different screen densities
2021-03-02 23:43:03 +06:00
Utsav Balar
993f200e32
sdm660-common: init: Remove deprecated property 2021-03-02 23:42:37 +06:00
Martin
a03bdea1fe
sdm660-common: init: Handle fingerprint overrides through init 2021-03-02 23:42:37 +06:00
OdSazib
2228811ec0
sdm660-common: Add wfd dependency blobs
* From LA.UM.9.6.2.r1-03300-89xx.0

To eliminate these errors:
--------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libdisplayconfig.qti.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "vendor.display.config@2.0.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
2021-03-02 23:42:26 +06:00
OdSazib
7f9b9a7598
sdm660-common: Update wfd blobs from LA.UM.9.6.2.r1-03300-89xx.0 2021-02-24 01:49:27 +06:00
etahamad
5cc1fbddac
sdm660-common: Move props from system to product
Test: using su shell: ex: getprop persist.timed.enable and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
etahamad
6c1d0626ea
sdm660-common: Move some QCOM props to system_ext
Test: using su shell: getprop persist.vendor.dpm.feature and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
etahamad
37f9426479
sdm660-common: Remove Duplicated props 2021-02-22 18:17:59 +06:00
OdSazib
ac194c785a
sdm660-common: rootdir: sysfs node permission for smart-charging 2021-02-20 11:55:48 +06:00
haran
73dd74a16f
sdm660-common: rootdir: Set permission for spidev7.1 IR node 2021-02-20 11:55:48 +06:00
etahamad
1c6b82775f
sdm660-common: apex: Generate APEX image 2021-02-20 11:55:48 +06:00
SakilMondal
feeeb37c82
sdm660-common: add QTI health implementation
Ref: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/healthd-ext/commit/?h=android-core.lnx.6.0.r7-rel&id=995c63a75db6366c28b3a4c1dcb00a77cba090d4
Change-Id: Ib4406e22626f7c0a85a3c9a70d5bea3fc917f9c1
2021-02-20 11:55:48 +06:00
Bruno Martins
a5de89d28b
sdm660-common: sepolicy: Add rules for older IMS blobs
Since Android 10 blobs are being used, org.codeaurora.ims still runs
as phone UID as seen by these denials:

  m.android.phone: type=1400 audit(0.0:2914): avc: denied { read } for name="u:object_r:qcom_ims_prop:s0" dev="tmpfs" ino=13660 scontext=u:r:radio:s0 tcontext=u:object_r:qcom_ims_prop:s0 tclass=file permissive=0
  m.android.phone: type=1400 audit(0.0:473): avc: denied { call } for scontext=u:r:radio:s0 tcontext=u:r:hal_imsrtp:s0 tclass=binder permissive=0

Change-Id: Ic8c1b7996b9e0e7b63ba2a153441c9e8467a8a31
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-02-20 11:55:48 +06:00
orges
6a1986932a
sdm660-common: update Telephony overlays from LA.UM.9.2.1.r1-05500-sdm660.0 2021-02-20 11:55:48 +06:00
OdSazib
2ed5f806a1
Revert "sdm660-common: props: enable vsync and disable backpressure"
This reverts commit adfe7cf0e4.
2021-02-20 11:55:48 +06:00
Subhajeet Muhuri
c2aa44b49b
sdm660-common: Add more pixel powerhal nodes 2021-02-20 11:55:48 +06:00
Subhajeet Muhuri
7d8fc30985
sdm660-common: Kang more pixel power HAL sepolicy
* Kanged from mata (with all available nodes on msm4.4)
2021-02-20 11:55:25 +06:00
Subhajeet Muhuri
9bcab6d776
sdm660-common: loosen up charging thermal throttling thresholds
* Taken from lavender

Change-Id: I9edc3bda9b1892f77158d01e13d1fa114355088a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-02-19 17:17:09 +06:00
Subhajeet Muhuri
86fd0cbdb2
sdm660-common: Commonize thermal-engine-config from device (2/1) 2021-02-19 17:17:09 +06:00
OdSazib
1edf16f04c
sdm660-common: apex: Symlink metadata to existing sessions
* Better we do this instead of creating extra dir
2021-02-16 18:50:35 +06:00
etahamad
0814ebe94f
sdm660-common: Stop inheriting depricated gapps makefile 2021-02-16 17:08:21 +06:00
etahamad
09b642feff
sdm660-common: Handle vendor.audio.adm.buffering.ms for lavender 2021-02-16 17:08:16 +06:00
etahamad
54b3390822
sdm660-common: Move some props to system/build.prop
* +Adding some props also

When device is in Enforce mode, this happens:
---------------------------------------------
E init: Do not have permissions to set 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed
As example, so, moving those props to system/build.prop (from vendor/build.prop) fixes the issue.

Test: adb logcat -b all -d *:E > logcat-err.log and check for any init props related errors
Fix: Enforcing the Device Tree
2021-02-16 17:08:16 +06:00
pix106
dbebd8057c
sdm660-common: add external sdcard to fstab.qcom 2021-02-16 17:08:16 +06:00
OdSazib
9fd4659d67
sdm660-common: Add back zRam block in fstab 2021-02-16 17:08:16 +06:00
Mohammad Asaad Akram
48a8e97d3e
sdm660-common: ueventd: Allow system permission for RPS sysfs node
Allow system permission for RPS sysfs nodes, so that cnss-daemon,
user space daemon can enable RPS(Receive packet steering) feature.

Change-Id: Iccebc347d959fc8ca35f28cb64e7bcf6b05f341a
CRs-Fixed: 2768237
2021-02-10 09:05:29 +06:00
Isaac J. Manjarres
07798a5cc5
sdm660-common: ueventd.qcom.rc: Add permissions to /dev/membuf
The Trusted UI HAL will need to access /dev/membuf, so allow
system access to /dev/membuf.

Change-Id: I906b856e153f44b11a8b8aa8456080e803495fec
2021-02-10 09:05:29 +06:00