dianlujitao
1628f1fb05
sm7325-common: Format update-sha1sums.py with yapf
...
Change-Id: I396ad6d79ea6e47ba8b9a56da317123c7579aa67
2022-12-27 09:05:47 -07:00
Bruno Martins
3a1f496e12
sm7325-common: Add unpinning support to update-sha1sums.py script
...
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2022-12-27 09:05:47 -07:00
LuK1337
4561d6172a
sm7325-common: Handle moved blobs in update-sha1sums.py script
...
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
2022-12-27 09:05:47 -07:00
LuK1337
326b621c7d
sm7325-common: Add script to update sha1sums of kanged blobs
...
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2022-12-27 09:05:47 -07:00
SGCMarkus
bdbd9a4df4
sm7325-common: Use bluetooth firmware from A52s
...
This fixes the bluetooth module crashing due to firmware that should support
BT LE as yupik is BT 5.2 but instead it fails.
Change-Id: If744eff8ceb7f665b0304fb4a506efd23926bbe1
2022-12-24 00:27:59 -07:00
sb6596
d7a8253ae0
sm7325-common: Update to S1RD32M.55-94
...
Change-Id: I468ccdc15ee948bf3601948f740e5904892003e8
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
2022-12-11 09:51:02 -07:00
Alexander Koskovich
9f21d436de
sm7325-common: Enable concurrent restricted connectivity
...
Change-Id: I4258a337503e9dc9dea8e35b326a78fbec86bb88
2022-12-11 17:50:05 +01:00
Wang Han
16751d26f6
sm7325-common: ueventd: Don't modify permissions of /dev/hw_random
...
This addresses an underlying problem since /dev/hw_random is used. The
issue is that EntropyMixer, which runs in system_server, needs to read
from /dev/hw_random, but thanks to our qualcomm ueventd, EntropyMixer
can never accress this node, resulting in warnings like this:
W EntropyMixer: Failed to add HW RNG output to entropy pool
W EntropyMixer: java.io.FileNotFoundException: /dev/hw_random (Permission denied)
AOSP ueventd handles this well, so just remove this line to get things
back to stage. This issue was never exposed because Google derps the
logging here, which is already fixed on Pie.
c78a463e87
Change-Id: I42c9aaa8f57306536e51c0a17febad57a5a77581
2022-12-11 17:49:01 +01:00
Rick Yiu
0c6409907d
sm7325-common: rootdir: Remove some camera-daemon commands
...
Those commands have moved to init.rc.
Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
2022-12-11 17:49:01 +01:00
Kujou Yuko
a076a47e9b
sm7325-common: Remove duplicate loop.max_part=7 from kernel cmdline
...
Change-Id: Ib4632febb5a3bb4c88f5235172f298b2f13f31c6
2022-12-11 17:49:01 +01:00
Alexander Koskovich
2b1d39afc4
sm7325-common: Remove virtual framebuffer
...
* It's largely for testing purposes and it consumes
a large amount of memory. If your hardware doesn't
have graphics then it can be useful, which isn't the
case for shipped devices.
Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
2022-12-11 17:49:01 +01:00
Lisa Liu
c9984ff4ff
sm7325-common: Enable LZ4 compression for ramdisks
...
* This shortens the time to unpack initramfs.
Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2022-12-11 17:49:01 +01:00
Mohammad Asaad Akram
8000001417
sm7325-common: Enable asynchronous library events in WPA supplicant
...
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
2022-12-11 17:49:01 +01:00
Alexander Koskovich
1fae7ae657
sm7325-common: rootdir: Fix "Invalid section keyword found" on ueventd
...
Change-Id: I8a3eb3abea82feb5e1a92cc859cd6498ee68666e
2022-12-11 17:49:01 +01:00
Santiago Seifert
6ccf211672
sm7325-common: Unpin updatable-media from memory
...
Bug: 214499288
Test: Presubmit
Change-Id: I83757ae6a053ec6b10b08322c4e76d988f1a4a48
2022-12-11 17:49:01 +01:00
Shubham Bhise
edb4b8507a
sm7325-common: Fix WiFi symlink
...
Change-Id: Ic840dfcfa4d02b47e579981ff4e02da8f7b1feaa
Signed-off-by: Shubham Bhise <shubhamprince111@gmail.com>
2022-12-07 18:11:39 +01:00
Nolen Johnson
ce952d1a2d
sm7325-common: Move system/qcom dependency to hardware/motorola
...
Change-Id: Id015dc72b079d4a0b1418e0d53316d92287ad44f
2022-11-08 11:16:58 -05:00
dianlujitao
e096e41a54
sm7325-common: Build moto common overlay
...
Change-Id: I2547000945e816a5b6cc9876bef4a8430cf38754
2022-11-07 14:25:41 -05:00
sb6596
122be7cc93
sm7325-common: Address motsettings denials
...
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I76cd3eabe887c6a03504f44161d10d90ea291f40
2022-10-11 23:54:08 +02:00
Alexander Koskovich
3b8e073903
sm7325-common: Drop debug.sf.latch_unsignaled from system.prop
...
* Already exists in vendor.prop
Change-Id: I4b98724aadf261e5b06c0135e305ffce455c14ae
2022-10-11 15:28:36 -04:00
Jun Wang
2d7530dd3a
sm7325-common: 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.
Change-Id: I5d470b22a643634bdd7db9f307c29deae6ff176f
2022-10-11 15:28:29 -04:00
dianlujitao
ac012e6dea
sm7325-common: Mark 5G SA as available for Chinese carriers
...
Change-Id: I73272d313605e9347c157add9b096452c4c1ea7f
2022-10-11 15:28:23 -04:00
Alexander Koskovich
87b5b34a54
sm7325-common: Drop updatable GPU drivers
...
* Moto never wrote their own app so QCOM's is just
a stub and this does nothing.
Change-Id: I0ec61c3b9abfa86368e6c23481d7edf5d8f6a036
2022-10-11 15:28:16 -04:00
Andrew Hexen
86fbf4f8be
sm7325-common: sepolicy: fix property_contexts for MotCamera
...
* Move the props to private and redefine vendor_camera_prop
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I77a99969311b98739198cbaa2543e150167787d4
2022-10-11 15:28:08 -04:00
sb6596
9140dc75a1
sm7325-common: Address additional vendor_qti_init_shell denials
...
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I527a4d43e88183a4b608aac860f71452c7ed93b8
2022-10-11 15:28:02 -04:00
SamarV-121
71f89622fd
sm7325-common: sepolicy: Allow hal_fingerprint_default to make self binder calls
...
`avc: denied { call } for comm="android.hardwar" scontext=u:r:hal_fingerprint_default:s0 tcontext=u:r:hal_fingerprint_default:s0 tclass=binder permissive=0`
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I7bdac61d9705f24ae068c522cf73af9c094ad97f
2022-10-11 15:27:56 -04:00
Jasmine Cha
bff9489c0e
sm7325-common: sepolicy: add permission to request health/sensor data
...
- Add audio hal into hal_health clients
- Allow audio hal to find fwk_sensor_hwservice
SELinux : avc: denied { find } for interface=android.frameworks.sensorservice::ISensorManager sid=u:r:hal_audio_default:s0 pid=5907 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:fwk_sensor_hwservice:s0 tclass=hwservice_manager permissive=1
SELinux : avc: denied { find } for interface=android.hardware.health::IHealth sid=u:r:hal_audio_default:s0 pid=9875 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:hal_health_hwservice:s0 tclass=hwservice_manager permissive=1
audio.service: type=1400 audit(0.0:14): avc: denied { call } for scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_health_default:s0 tclass=binder permissive=1
audio.service: type=1400 audit(0.0:15): avc: denied { transfer } for scontext=u:r:hal_audio_default:s0 tcontext=u:r:hal_health_default:s0 tclass=binder permissive=1
Bug: 199382564
Bug: 199801586
Test: build pass
Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I8e8a512cfbd6be814c98bac75ff6c0e5db028db2
2022-10-11 15:27:50 -04:00
Jeferson
d188362b07
sm7325-common: sepolicy: Label vendor.net.qmi.rev_ip_info as radio prop
...
* `avc: denied { set } for property=vendor.net.qmi.rev_ip_info pid=1301 uid=1001 gid=1001 scontext=u:r:netmgrd:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=property_service permissive=0`
`init: Unable to set property 'vendor.net.qmi.rev_ip_info' from uid:1001 gid:1001 pid:1301: SELinux permission check failed`
Change-Id: Ie6047f7ed4180212836eaa38b3472a1a99f991b8
2022-10-11 15:18:25 -04:00
AdarshGrewal
72de88d1bf
sm7325-common: Move surface_flinger props to vendor.prop
...
Change-Id: I33e8a1bb0b5c175bd3ef2febe9febcc5e4c31dd5
2022-10-11 15:18:19 -04:00
dianlujitao
79e7fafbc0
sm7325-common: Enable moto specific VT APIs for ims.apk
...
Change-Id: I9be06efcb8130efe543099a1d3a147c3c5148f1c
2022-10-11 15:18:13 -04:00
AdarshGrewal
23139744bc
sm7325-common: Update blobs from Dubai 12-S1RD32M.55-67-4
...
Plus repatched ims.apk here
https://github.com/SGCMarkus/moto-ims/tree/S1RDS32.55-67-4
Also unpinned ImsRcsService and WFD
Co-authored-by: SGCMarkus <markusornik@gmail.com>
Co-authored-by: Marc Bourgoin <themard85@gmail.com>
Change-Id: I61d64a3d1493a5be8e1f48587ccc52814ab0588d
2022-10-11 15:18:07 -04:00
AdarshGrewal
edad8ae1cf
sm7325-common: Drop support for AdaptiveBacklight from livedisplay
...
* Neither berlin nor dubai supports it.
Change-Id: I22842a489b1cfcb3f32ea3464338597473df912e
2022-10-11 15:18:00 -04:00
Cosmin Tanislav
4f164b2fd2
sm7325-common: manifest: do not declare secure element support
...
Change-Id: I81b5302cd2afe5dd31923684c0f8eda3b98109f2
2022-10-08 00:09:40 +02:00
Cosmin Tanislav
f65f648212
sm7325-common: remove light hal
...
Change-Id: I5307764a5a04b5a28f940b31759a4552cc75a0a2
2022-10-08 00:09:40 +02:00
Paul Keith
68fa5d283a
sm7325-common: livedisplay: Fix racy init
...
* It turns out moving this to class main doesn't work as well
as some had thought it would, so restore the previous logic
to use class hal, and restart if the backend isn't up yet
Change-Id: Ib8b417d89108dcf80d0d159e8d84e5327944b2a1
2022-10-07 19:38:08 +02:00
Georg Veichtlbauer
855329fc9c
sm7325-common: Drop config_setColorTransformAccelerated
...
It's now enabled by default
Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2022-10-03 14:05:07 -04:00
Edwin Moquete
af62bb3f25
sm7325-common: Switch to legacy sepolicy_vndr
...
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2022-09-29 22:21:31 -04:00
SGCMarkus
ca570d271c
sm7325-common: gps: fix logical or in GnssAPIClient
...
Change-Id: I24b76c34e72ffde298c3117361e4aff7d715deb2
2022-09-29 22:21:30 -04:00
SGCMarkus
a0fc1b687c
sm7325-common: update gps to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0
...
Change-Id: I100b0807cce37b9f3724c74d2f0979a955d1ddd2
2022-09-29 22:21:29 -04:00
SGCMarkus
e7a9456ecd
sm7325-common: update location to LA.UM.9.14.r1-20000-LAHAINA.QSSI13.0
...
Change-Id: I1a8efd6c0bd3649de877a08b193914ba6d3d4304
2022-09-29 22:21:28 -04:00
Michael Bestas
9f3feb2522
sm7325-common: Remove persist.sys.fflag.override.settings_bluetooth_hearing_aid
...
This has been replaced by `bluetooth.profile.asha.central.enabled`
Change-Id: I0bb72ec01a77f790ebeb594e45c695e9a087dc43
2022-09-29 22:21:27 -04:00
Mohammed Mirza Mandayappurath Manzoor
ca42ad08c8
sm7325-common: ueventd: Set permissions for KGSL sysfs node
...
Some KGSL sysfs nodes need to be access controlled. Set proper
permissions for the same.
Change-Id: Idc7e2447d02742074873901c6539f2c6d9d25862
2022-09-29 22:21:26 -04:00
Nate Jiang
6f1cd98b9f
sm7325-common: wifi: Enable set channel on NDP setup
...
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2022-09-29 22:21:25 -04:00
Les Lee
1feb54b4ae
sm7325-common: wifi: Configure correct overlay configuration.
...
ag/16564596 will change default value to false.
Configure correct overlay configuration.
Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2022-09-29 22:21:24 -04:00
Woody Lin
d757d6a1ad
sm7325-common: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-09-29 22:21:23 -04:00
Bruno Martins
095c667e44
sm7325-common: Migrate to AIDL ClearKey DRM HAL
...
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-09-29 22:21:22 -04:00
LuK1337
2bd764b4b7
sm7325-common: Pull appropriate USB props from vendor_product.mk
...
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-09-29 22:21:21 -04:00
Bruno Martins
3fc54cfaf5
sm7325-common: Drop component overrides
...
This is no longer needed as of Android 13.
Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2022-09-29 22:21:20 -04:00
eorg Veichtlbauer
b9e60887c6
sm7325-common: Move Bluetooth power config away from overlay
...
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack
Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2022-09-29 22:21:19 -04:00
Bruno Martins
c798dca198
sm7325-common: overlay: Remove BT related configs
...
These have been migrated to sysprops in Android 13.
Change-Id: I34c1f6b882a61df6db95523997002512354d875e
2022-09-29 22:21:19 -04:00