Commit graph

4535 commits

Author SHA1 Message Date
Sebastiano Barezzi
7e992f6717 sdm660-common: biometrics: fingerprint: Move fingerprint HIDL to 2.3
Change-Id: I2e5ed64ac7ae2f1003503072666204c0788a003a
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
Alcatraz323
b0664375a1 sdm660-common: DeviceSettings: remove delayed dismiss in settings search
* packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/DismissedChecker.java#30
* we don't want that

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
Alcatraz323
2673c40118 sdm660-common: DeviceSettings: allow device settings display by side as a tablet
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
Amit Pundir
3deb3d2cb2 sdm660-common: seccomp: Copy mediaswcodec.policy
* W mediaswcodec: Could not read additional policy file
'/vendor/etc/seccomp_policy/mediaswcodec.policy'

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
johnmart19
ff3a6e6b06 sdm660-common: device: Import android.hardware.media.c2 to FCM
* Also build android.hardware.media.c2@1.2.vendor

hwservicemanager: Since
android.hardware.media.c2@1.0::IComponentStore/default is not
registered, trying to start it as a lazy HAL.
CodecServiceRegistrant: Preferred Codec2 store is defaulted to
"software".
CodecServiceRegistrant: Software Codec2 service created and registered.
libc    : Unable to set property "ctl.interface_start" to
"android.hardware.media.c2@1.0::IComponentStore/default": error code:
0x20
hwservicemanager: Tried to start
android.hardware.media.c2@1.0::IComponentStore/default as a lazy
service, but was unable to. Usually this happens when a service is not
installed, but if the service is intended to be used as a lazy service,
then it may be configured incorrectly.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
goshawk22
66204c0354 sm6250-common: device: Build Codec2 Packages on vendor
libcodec2_vndk.vendor
libcodec2_hidl@1.0.vendor
Required since hals not included in vndk

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
pix106
69d628f826 sdm660-common: sepolicy label /data/gf_data/auth_ratio_database.db 2023-03-20 07:18:06 +01:00
pix106
0d4fea2039 sdm660-common: sepolicy: allow init to ptrace hal_fingerprint_sdm660 process 2023-03-20 07:18:06 +01:00
minaripenguin
6a0750c77e sdm660-common: sepolicy: Allow system_server to set tethering properties
W libc    : Unable to set property "persist.device_config.tethering.bpf_net_maps_enable_java_bpf_map" to "0": error code: 0x18

E SettingsToPropertiesMapper: Unable to set property persist.device_config.tethering.bpf_net_maps_enable_java_bpf_map value '0'

E SettingsToPropertiesMapper: java.lang.RuntimeException: failed to set system property (check logcat for reason)

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
pix106
c742096f56 sdm660-common: sepolicy: dontaudit untrusted_app_30 system_linker_exec execmod 2023-03-20 07:18:06 +01:00
Immanuel Raj
901a3c348c sdm660-common: overlay: Add some wifi options support
Took from s62pro
We are using its drivers and a base from it so yeah and sdm660 supports it so yeah

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Alcatraz323
5c395ddd3d sdm660-common: power: drop schedtune powerhint
* schedtune is conflict with uclamp
* CONFIG_CGROUP_FREEZER is enabled
* CONFIG_UCLAMP_TASK is backported and enabled

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
pix106
bc4950e9be sdm660-common: rootdir: drop schedtune 2023-03-20 07:18:06 +01:00
Alcatraz323
2c7ab4d8e3 sdm660-common: rootdir: correct missing echo to usb configuration
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Alcatraz323
7379fa4f67 sdm660-common: rootdir: fix usb mtp/ptp/accessory/audio_source/midi unrecognized by windows
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Alcatraz323
2d4da6b804 sdm660-common: rootdir: correct xiaomi usb vendor/product id
* before Bus 001 Device 010: ID 18d1:4ee2 Google Inc. Nexus/Pixel Device (MTP + debug)
* after Bus 001 Device 015: ID 2717:ff48 Xiaomi Inc. Mi/Redmi series (MTP + ADB)

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Vladimir Mikhailov
6eaa16c9e8 sdm660-common: rootdir: Restore CAF cpuset settings
Change-Id: I80b4ead18bf4f485e9183c55fb2030a7f3b381d4
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Quallenauge
ef773f16c7 sdm660-common: rootdir: Limit cpufreq rate via down-/up_rate_limit_us knobs.
This prevents to change the frequency in a very short
manner which seems to fast for the hardware and
causes performance drops.

Change-Id: I678d6dc3dc81d756ba1b2031cd369d95d9298ac0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Alex T
5175cbf5a9 sdm660-common: rootdir: Put tftp in a group
Fixes following spamfest:

09-09 06:49:00.304   823   823 I tftp_server: pid=823 tid=823
tftp-server : INF :[tftp_server.c, 667] rcvd >
09-09 06:49:00.304   823 12138 I tftp_server: pid=823 tid=12138
tftp-server : INF :[tftp_server_utils.c, 11>
09-09 06:49:00.304   823 12138 I tftp_server: pid=823 tid=12138
tftp-server : INF :[tftp_server.c, 1222] OA>
09-09 06:49:00.304   823 12138 E tftp_server: pid=823 tid=12138
tftp-server : ERR :[tftp_os_la.c, 191] unli>
09-09 06:49:00.305   823 12138 I tftp_server: pid=823 tid=12138
tftp-server : INF :[tftp_server.c, 893] Usi>
09-09 06:49:00.305   823 12138 I tftp_server: pid=823 tid=12138
tftp-server : INF :[tftp_os_la.c, 63] open >
09-09 06:49:00.305   823 12138 E tftp_server: pid=823 tid=12138
tftp-server : ERR :[tftp_os_la.c, 70] open >
09-09 06:49:00.305   823 12138 I tftp_server: pid=823 tid=12138
tftp-server : INF :[tftp_server.c, 927] ope>
09-09 06:49:00.305   823 12138 E tftp_server: pid=823 tid=12138
tftp-server : ERR :[tftp_server.c, 1718] op>
09-09 06:49:00.305   823 12138 E tftp_server: pid=823 tid=12138
tftp-server : ERR :[tftp_protocol.c, 1229] >

Change-Id: I60fcc9530a69326bb3fc92beed1cdb4221d6ddd9
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
boedhack99
6c5b6a61e3 sdm660-common: rootdir: Remove useless nqnfcinfo service
- non-existing

- init: Could not start service 'nqnfcinfo' as part of class
'late_start': Cannot find '/system/vendor/bin/nqnfcinfo': No such file
or directory

Change-Id: I2ded3327ba721f629b7f5ea31d6861fed0e7c6c4
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Ethan Chen
8a6b121b1b sdm660-common: rootdir: Remove unnecessary QTI logkit directories
* We do not use logkit

Change-Id: I7719bbcebbd053addd16684926eff30d46b945d8
Signed-off-by: ImSpiDy <spidy2713@gmail.com>
Signed-off-by: wHo-EM-i <ehteshammalik18998@gmail.com>
Signed-off-by: ImPrashantt <prashant33968@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Michael Bestas
caf0e469c6 sdm660-common: gps: Lower debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
dianlujitao
fe8e66871b sdm660-common: gps: Fix non-ASCII character in gps.conf
:caf:

Change-Id: Iea9c44c0fbad574cbc077feea3d9f1de83d7d99a
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
sabarop
b793283f28 sdm660-common: gps : Removes duplicates
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
pix106
053233c8c4 sdm660-common: add vendor.qti.hardware.bluetooth_audio@2.1-impl.so from S62pro 2023-03-20 07:18:06 +01:00
Alcatraz323
a1bb79ae2e sdm660-common: vintf: drop not provided mifidoca service interface
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
Immanuel Raj
d85452acb2 sdm660-common: Remove ese power manager
This is disabled from our rc file and does nothing even if enabled

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
pix106
6ea66cca8a sdm660-common: configs: drop audio_platform_info_intcodec.xml and mixer_paths.xml from common source 2023-03-20 07:18:06 +01:00
pix106
07ff25f115 FIX sdm660-common: Switch audio HAL to V7
* drop ":32"
2023-03-20 07:07:36 +01:00
pix106
abf02f8d4a Revert "sdm660-common: use clang 12.0.5"
This reverts commit d60b8e6a14.
2023-03-20 07:07:36 +01:00
pix106
7fcb3519a9 Revert "sdm660-common: Add support for Google Dialer Call recording"
This reverts commit 3bef50be1a.
2023-03-20 07:07:36 +01:00
pix106
71b54e4a08 Revert "sdm660-common: Build missing required modules"
This reverts commit da423f515e.
2023-02-25 23:14:58 +01:00
pix106
051a66151b Revert "sdm660-common: Relax sysprop owner enforcement"
This reverts commit e0adc52cce.
2023-02-25 23:14:58 +01:00
pix106
481805fbc4 Revert "sdm660-common: set RELAX_USES_LIBRARY_CHECK true"
This reverts commit d6024e9fa9.
2023-02-25 23:14:58 +01:00
IMMANUEL44
05b26a4efe sdm660-common: Build AntHalService-Soong
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-02-25 23:14:58 +01:00
pix106
b912398b77 sdm660-common: FIX rename rro_overlay 2023-02-25 23:14:58 +01:00
Bruno Martins
017268120c sdm660-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-02-25 23:14:58 +01:00
Debayan Kar
21c3737bb9 sdm660-common: Drop libhidl
* Conflicts with hardware/arrow/compat

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-02-25 23:14:58 +01:00
pix106
318fc92825 Revert "sdm660-common: fstab: Drop 'quota' Flag"
This reverts commit daf11032ed.
2023-02-10 06:57:55 +01:00
pix106
3d880c2850 Revert "sdm660-common: Enable legacy _platform compatibility"
This reverts commit 3ebb2cfa75.
2023-01-24 19:36:03 +01:00
pix106
64f098356b Revert "sdm660-common: build scudo-free 32-bit libc variant"
This reverts commit 225e4c510a.
2023-01-13 20:23:19 +01:00
Immanuel Raj
b37e47c9d1 sdm660-common: Add fsverity flag to userdata
After many comments and logs and research this was found to be missing and causing error

Ref https://forum.xda-developers.com/t/rom-12-xiaomi-mi-a2-pixelexperience-aosp-25-07-2022.4406351/post-87199577

Meanwhile adding this line in the fstab fixes this stuff

Ref https://android-review.googlesource.com/c/device/google/cuttlefish/+/1458807

first Api level>=30 doesnt need that flag but sadly we are 27 so yeah lets add it

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:50:37 +01:00
pix106
0f80112120 sdm660-common: props: Enable debug.sf.disable_backpressure
Needs https://review.arrowos.net/c/ArrowOS/android_frameworks_native/+/18896

This reverts commit 84a49c1b79.
2023-01-12 07:32:48 +01:00
Jun Wang
80fc94ae03 sdm660-common: props: Disable Skia tracing by default
If the prop "debug.hwui.skia_atrace_enabled" is enabled, too many
skia tracing calls will be printed in every frame. This has obvious
overhead on performance/power, and can cause many janks. So disable
it by default, and user can set it manually if necessary.

Signed-off-by: OmarAlCoptan <omarcoptan9@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:32:12 +01:00
kdrag0n
9d6a74070a sdm660-common: overlay: Offload WM shell to another thread
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.

Change-Id: I9eef4cdbc26d0880f3a9aaf875d5e36ebd693238
Signed-off-by: OmarAlCoptan <omarcoptan9@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:32:12 +01:00
pix106
9a7db6c34b sdm660-common: overlay: WifiOverlay: Drop non existing or already default values 2023-01-12 07:32:12 +01:00
pix106
63e1a42405 sdm660-common: overlay: SettingsProviderOverlay: drop already default values 2023-01-12 07:32:12 +01:00
pix106
565c7a40bc sdm660-common: overlay: FrameworksOverlay: Drop non existing values 2023-01-12 07:32:12 +01:00
pix106
f64d9cd917 sdm660-common: overlay: FrameworksOverlay: drop values that already are in WifiOverlay 2023-01-12 07:32:12 +01:00
pix106
4e84399bb8 sdm660-common: overlay: FrameworksOverlay: arrow: move some values to arrow specific configs 2023-01-12 07:32:12 +01:00