Bruno Martins
a7bcd58d98
sm7325-common: Migrate to restructured sepolicy_vndr
...
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-11-02 11:21:05 +02:00
Adithya R
6654f22da7
sdm710-common: Switch to full IWLAN mode
...
[basamaryan: This is needed for Android U to fix RIL]
Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2023-11-02 11:21:05 +02:00
COSMIC
f422cc4545
sdm710-common: Remove deleted hals from manifest *Fix: Unable to print HALs from new FCMs: no device HAL manifest. ERROR: No such device: No device manifest file from device or from update package
...
Co-Authored-by: COSMIC <rayavanindra@gmail.com>
2023-11-02 11:21:05 +02:00
Sakura桜
27ef678a6b
sdm710-common: Use AIDL WiFi service
...
Fix WiFi issue on Android U
2023-11-02 11:21:03 +02:00
giasen
549291d79f
sdm710-common: permissive selinux
2023-10-29 16:49:20 +02:00
TheStrechh
da66a65c9e
sdm710-common: fstab: add recovery label
...
* KeyError: '/recovery'
2023-10-29 14:57:50 +02:00
AmeChanRain
3f2c340233
sdm710-common: Drop BOARD_BUILD_SYSTEM_ROOT_IMAGE
...
* device/lenovo/sdm710-common/BoardConfig.mk:94: error: BOARD_BUILD_SYSTEM_ROOT_IMAGE is obsolete.
* Ref:
05c0807f2f
2023-10-28 11:23:47 +03:00
bartcubbins
df268abe1a
sdm710-common: Provide android.frameworks.sensorservice@1.0 on vendor
...
F linker : CANNOT LINK EXECUTABLE "/vendor/bin/mm-pp-dpps": library "android.frameworks.sensorservice@1.0.so" not found: needed by main executable
2023-10-28 11:17:15 +03:00
mvaisakh
ddbd3a0222
sdm710-common: Copy libprotobuf-cpp-full.so and libprotobuf-cpp-lite.so VNDK prebuilt blobs
...
* Also Build libprotobuf-cpp-lite-3.9.1-vendorcompat
2023-10-28 11:17:07 +03:00
giasen
945488d2a5
sdm710-common: Enable uncompressed apex
2023-10-28 11:16:54 +03:00
Demon000
63c205630e
sdm710-common: init: Add /boot to fstab
...
Build process errors out without this.
Traceback (most recent call last):
File "build/make/tools/releasetools/ota_from_target_files", line 2455, in <module>
main(sys.argv[1:])
File "build/make/tools/releasetools/ota_from_target_files", line 2429, in main
output_file=args[1])
File "build/make/tools/releasetools/ota_from_target_files", line 1103, in WriteFullOTAPackage
common.CheckSize(boot_img.data, "boot.img", target_info)
File "/home/aicp-dev/rom/lineage-17.1/build/make/tools/releasetools/common.py", line 1190, in CheckSize
p = info_dict["fstab"][mount_point]
KeyError: '/boot'
- also reformat and fix some fstab intendation
Change-Id: I30a396ea62e6e48420c0dd41533c156e90032929
2023-10-27 22:30:21 +03:00
Cyzi7777
e1cc9860f7
sdm710-common: Use fstab.qcom for TARGET_RECOVERY_FSTAB
2023-10-27 22:30:21 +03:00
Chenyang Zhong
30efc06094
sdm710-common: Move super_dummy build to Android.mk
...
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-10-27 22:30:21 +03:00
me-cafebabe
29f1905334
sdm710-common: Use logdump as metadata partition and mount at the first stage
...
* logdump seems to be only contain factory logs which is of 2017 and useless for us.
* It's required for DSU
2023-10-27 22:30:21 +03:00
Sarthak Roy
deca8b38a0
sdm710-common: We dont build System as root in Retrofit Dynamic partitions
...
* build/make/core/config.mk:902: error: BOARD_BUILD_SYSTEM_ROOT_IMAGE cannot be true for devices with dynamic partitions.
2023-10-27 22:30:20 +03:00
P-Salik
860fcdd319
sdm710-common: AndroidBoard: Fix image paths
...
Signed-off-by: P-Salik <peersalik16@gmail.com>
2023-10-27 22:30:20 +03:00
Tim Zimmermann
59eb184cd4
sdm710-common: Flash dummy super image if needed
...
* Needed because stock does not use dynamic partitions so
there's no existing metadata that could be used
Change-Id: Icbc828389465f3d4681ca8e4c3adec782540752e
2023-10-27 22:30:20 +03:00
Roker2
05959f652a
Revert "sdm710-common: releasetools: Fix on incremental updates"
...
This reverts commit 01254bd847
.
2023-10-27 22:30:20 +03:00
me-cafebabe
ef2362021f
sdm710-common: Add system_ext product odm partitions
2023-10-27 22:30:20 +03:00
me-cafebabe
2a7017fc7a
sdm710-common: Specify a non-existent dt directory to avoid using dt fstab
2023-10-27 22:30:20 +03:00
me-cafebabe
ade32dd8dd
sdm710-common: Setup Retrofit Dynamic Partitions
2023-10-27 22:30:18 +03:00
Mathieu Chartier
97763d6310
sdm710-common: Always preopt extracted APKs
2023-10-12 19:01:31 +03:00
Nem1xx
7bd37cdae4
sdm710-common: Set correct TARGET_TAP_TO_WAKE_NODE path
2023-10-12 18:57:22 +03:00
Dakkshesh
f5a3af4e1e
sdm710-common: Grand extra permissions to cellboardcast reciver module
...
* This fixed:
07-03 16:06:56.231 1788 1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.231 1788 1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
07-03 16:06:56.232 1788 1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.233 1788 1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.233 1788 2760 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3096 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492
07-03 16:06:56.233 1788 2760 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3100 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492
07-03 16:06:56.234 1788 1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
07-03 16:06:56.235 1788 1981 W BroadcastQueue: Appop Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) excludes appop android:read_phone_state due to sender android (uid 1001)
Signed-off-by: EndCredits <endcredits@crepuscular-aosp.icu>
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
2023-10-11 18:25:42 +03:00
--no-edit=Hemant Sachdeva
493734f9b0
sdm710-common: configs: Allow Phone app to READ_PHONE_STATE
...
* W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires due to sender android (uid 1001) * W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c7b3bd5 2639:com.android.phone/1001} (pid=2639, uid=1001) requires due to sender android (uid 1001)
Signed-off-by: romgharti <romgharti@gmail.com>
2023-10-11 18:25:24 +03:00
Mudit200408
44971233da
sdm710-common: Enable fastcharge config
2023-10-07 21:39:07 +03:00
Adithya R
fee8733f29
sdm710-common: Disable ART debug and optimize dexpreopt
...
* don't include debug configs in art
* use everything filter for dexpreopt (AOSPA/android_vendor_pa@ab5061c )
* use non-debug dex2oat
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
2023-10-07 21:32:07 +03:00
Noah
5814309579
sdm710-common: Build Aperture camera
...
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:28:55 +03:00
Mayur
2682cc4543
sdm710-common: props: Add sf threshold next vsync from Pixel Google implemented this in source and in Pixels as well since Q. Improves smoothness a little bit.
...
Signed-off-by: Mayur <ultramayur123@gmail.com>
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:24:07 +03:00
Adithya R
4dd1fed383
sdm710-common: Compile HWUI for better performance
...
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:20:37 +03:00
CrisBal
d4b624fda4
sdm710-common: Build aidl power stats and label it
...
* Fix for aidl power stats errors.
* New updated legacy-um sepolicy solved the android.hardware.power@1.0::IPower/default error
- Now with this we fixing both errors:
BatteryStatsService: Unable to load Power Hal or power.stats HAL
hwservicemanager: getTransport: Cannot find entry android.hardware.power.stats@1.0::IPowerStats/default in either framework or device manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
2023-09-23 17:30:27 +03:00
ghostrider-reborn
ad52c6db78
sdm710-common: device: Optimize ART
...
* Disable ART debug and optimize dexpreopt
* Disable dexpreopt minidebuginfo
ghostrider-reborn <adithya.r02@outlook.com>
2023-08-15 13:31:52 +03:00
Michael Bestas
28095d1e8a
sdm710-common: ueventd: Remove all permissions from /sys/devices/soc0/serial_number
...
Change-Id: I688347cfe59f56e4de2e4bf3c3324ca465f7a897
2023-08-15 13:26:52 +03:00
Nolen Johnson
8343044e5d
sdm710-common: Uprev manifests/FCM level
...
Change-Id: Ia878d488a1e90ec08e562369cb1e1c73a43c2988
2023-08-15 13:22:13 +03:00
Rajshekar Eashwarappa
7fd8dc1c2c
sdm710-common: Set swiotlb to default size
...
swiotlb size set to 64MB default value.
Change-Id: Ib256f5d2a1642ba2e635e632e7d1486aa2dd8f13
2023-08-15 13:12:11 +03:00
nnippon99
3805e0bdc9
sdm710-common: proprietary: Add missing vendor.qti.hardware.sensorscalibrate-V1.0-java.jar
...
I SystemConfig: Ignore shared library vendor.qti.hardware.sensorscalibrate-V1.0: /system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar does not exist
Signed-off-by: nnippon99 <adamayyad1999@hotmail.com>
2023-06-28 20:48:30 +03:00
minaripenguin
d59925262e
sdm710-common: rootdir: Pin msm_irqbalance to system-background
...
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2023-06-28 20:23:22 +03:00
Alin Jerpelea
d3480d75f8
sdm710-common: configs: Add qmi_fw.conf
...
This file will silence the warnings on qmi
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
2023-06-28 20:21:11 +03:00
Chenyang Zhong
90d4d13b18
sdm710-common: sepolicy: Allow system_server to get app_zygote pgid
...
* E system_server: Cannot read thread CPU times for PID 1372
2023-06-28 20:07:01 +03:00
SamarV-121
f924068ad4
sdm710-common: props: Disable continuous transaction tracing on all build types
...
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2023-06-28 20:01:23 +03:00
Hazari PraveenKumar
42f6062f23
sdm710-common: props: Disable VSync for CPU rendered apps
...
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.
Disable VSync for CPU rendered app, by setting this property to false.
2023-06-28 19:58:15 +03:00
Vinay Verma
02cd632de5
sdm710-common: props: Disable Async MTE on System Server
...
Async mode MTE is enabled by default on System Server process.
Add property arm64.memtag.process.system_server=off
This property is read during system server forking process and
accordingly Heap Tagging level is set.
Change-Id: Ie6f6c4f553e2540ac7da9995cb4a3f7b45a910c7
2023-06-28 19:57:33 +03:00
Albert I
e5f687028e
sdm710-common: device: Inherit several Android Go configurations
...
Beneficial for everyone, even on non-Go devices.
2023-06-28 19:56:49 +03:00
Mathieu Chartier
5c2172df63
sdm710-common: device: Speed profile services and wifi-service to reduce RAM and storage
2023-06-28 19:56:14 +03:00
Alex Hong
f51c745845
sdm710-common: device: Replace the HIDL with AIDL for android.hardware.memtrack
...
The HIDL interface of "android.hardware.memtrack" is no longer supported
for Android S.
Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
2023-06-28 19:51:42 +03:00
LuK1337
d67dc679ca
sdm710-common: overlay: Restore default config_proximityCheckTimeout
...
Apparently we can no longer expect proximity sensor to reply within
100ms...
Change-Id: Ifdeda8b9a310da9bd19b7d000b6ac7aa060ae742
2023-06-28 19:42:50 +03:00
Michael Bestas
ea6af5c061
sdm710-common: overlay: Remove deprecated config_waitForMpctlOnBoot
...
Change-Id: Ieddfee4d6cba4e8c909d8117a23901baa9e33ead
2023-06-28 19:40:03 +03:00
AndroidHQ254
5c7cc6d9d9
sdm710-common: sepolicy: Label more graphics nodes
...
E WiredAccessoryManager: file
/sys/devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon3/name not
found
E WiredAccessoryManager: file
/sys/devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon2/name not
found
2023-06-26 23:38:00 +03:00
iusmac
ca32a5f18f
sdm710-common: sepolicy: Adress IORap usap_pool denial
...
W FinalizerDaemon: type=1400 audit(0.0:532): avc: denied { getopt } for
path="/dev/socket/usap_pool_primary" scontext=u:rradios0
tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0
2023-06-26 23:37:59 +03:00
lupesoltec
d8f8c9232b
sdm710-common: sepolicy: Fix avc denials related to linkerconfig
...
avc: denied { kill } for comm="linkerconfig" capability=5
scontext=u:r:linkerconfig:s0 tcontext=u:r:linkerconfig:s0
tclass=capability permissive=0
2023-06-26 22:57:36 +03:00