Starting from Android 15 QPR2, the following error may occur on boot:
05-07 08:30:39.558 1587 1587 D AudioSystem: getService: checking for service media.audio_policy: 0x0
05-07 08:30:39.558 1587 1587 E AudioProductStrategies-JNI: AudioSystem::listAudioProductStrategies error -32
05-07 08:30:39.558 1587 1587 W AudioProductStrategy: : initializeAudioProductStrategies failed
It results in SystemUI crash when playing voice messages and some other media content:
05-07 08:31:28.497 2035 2035 E AndroidRuntime: FATAL EXCEPTION: main
05-07 08:31:28.497 2035 2035 E AndroidRuntime: Process: com.android.systemui, PID: 2035
05-07 08:31:28.497 2035 2035 E AndroidRuntime: java.lang.RuntimeException: Null or empty currentSystemRoutes. Something is wrong.
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.media.MediaRouter2.loadSystemRoutes(MediaRouter2.java:664)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.media.MediaRouter2.<init>(MediaRouter2.java:643)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.media.MediaRouter2.findOrCreateProxyInstanceForCallingUser(MediaRouter2.java:436)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.media.MediaRouter2.getInstance(MediaRouter2.java:393)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.settingslib.media.RouterInfoMediaManager.<init>(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:39)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.settingslib.media.InfoMediaManager.createInstance(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:34)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager.onMediaDataLoaded(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:120)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDataManager$Listener.onMediaDataLoaded$default(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:30)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilter$onMediaDataLoaded$1.run(go/retraceme 98c1d6b541fb48b642632a57fb1abda3fa1bc8c0067c3f3b805d743ecdfb8ef1:45)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:991)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8934)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
05-07 08:31:28.497 2035 2035 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
Increasing the timeout a bit fixes this issue.
Change-Id: I096895c5deca3984d9a1b30cc5e15d690e4844a8
It can also help increase performance by a lot in some scenarios.
Change-Id: Ica465f586a44129047c266597316045fab762550
Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.
Enabling or completely removing the prop here d6233e0e7c doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.
Lag & janks are gone now, even with blur.
Change-Id: Ia82d84d6ee867caa52ae93b72fbff132070bf808
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Turns on `debug.sf.enable_adpf_cpu_hint` to allow SurfaceFlinger to utilize Android Dynamic Performance Framework CPU hints, improving overall UI responsiveness and frame pacing on Snapdragon devices.
Change-Id: Ia715ab89ffc8a18130904e5588f9e4b487a20faa
- All latest soc use it by default. with this cache can improve performance by reusing composition, This can result in smoother UI performance and potentially lower power consumption
- cons: It does increase memory usage because the system needs to store these results, but its not a big issue cause most devices are 12gb ver. and fine for 8gb also
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
Enable comprehensive ART optimizations including VDEX and ODEX
generation for all system components to improve first-boot
performance and reduce application startup latency.
Configuration:
- WITH_DEXPREOPT := true # Global dexpreopt enable
- DEX_PREOPT_DEFAULT := generate-vdex-and-image # VDEX+ODEX gen
- WITH_DEXPREOPT_DEBUG_INFO := false # Exclude debug symbols
Results:
- Verified generation of .odex files (optimized dex)
- Verified generation of .vdex files (verification dex)
- ART images created for core system components
- First boot time significantly reduced
- Application startup latency improved
Test procedure:
1. Full system build with 'm evolution' command
2. Verified artifacts in:
- system/framework/oat/arm64/*.odex
- system/framework/oat/arm64/*.vdex
- system/app/*/oat/arm64/*.odex
- system/priv-app/*/oat/arm64/*.vdex
3. Confirmed valid ART runtime loading during boot
Signed-off-by: johnmart19 <johnivan19999@gmail.com>
Signed-off-by: Quince <quinceroms@gmail.com>
Changed “ro.ril.disable.power.collapse” value to zero.
Seems to be a debate on what value is more effective but after more reading and testing found that a value of “0” shows more improvement.
Have also added “ro.mot.eri.losalert.delay=1000 “ that helps smooth out disconnects and reconnects, saving battery.
Signed-off-by: Onelots <onelots@onelots.fr>
kernel msg:
servicemanager: Caller(pid=19920,uid=10371,sid=u:r:untrusted_app:s0:c115,c257,c512,c768) Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest. No alternative instances declared in VINTF.
The following HALs in device manifest are not declared in FCM <= level 6:
android.hardware.ir.IConsumerIr/default (@1)
android.hardware.light.ILights/default (@2)
android.hardware.usb.gadget.IUsbGadget/default (@1)
vendor.lineage.health.IChargingControl/default (@2)
vendor.lineage.health.IFastCharge/default (@2)
DeviceAsWebcam is using USAGE_VIDEO_ENCODE [1] for buffers and
this results in combined usage: (VIDEO_ENCODER | CAMERA_OUTPUT).
On Qcom devices DeviceAsWebcam has red & blue colors swapped.
Originally we tried swapping HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS
with HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in libgrallocutils,
however that inverted regular camera recording colors in some cases.
[1] d079a82ba4
Change-Id: I6c5f03fe7016f687855351c7ba15270050ea02e2
Test results from land:
* mjpeg 720P: Has a green border on top
Test results from ugglite:
* YUYV: Works for only some seconds, then get stuck
* mjpeg 720P: No video and leads to the following SMMU error
* mjpeg 1080P: Works for only some seconds, then get stuck
Test results from pine:
* YUYV: The left and right parts of image are not synced
* mjpeg 720P: No video and leads to the following SMMU error
Let's keep mjpeg 1080P... as it doesn't have serious issue and looks clear
[ 102.676956] CAM-SMMU cam_smmu_check_vaddr_in_range:319 Cannot find vaddr:0000000000000000 in SMMU. cpp uses invalid virtual address
[ 102.687715] MSM-CPP msm_cpp_iommu_fault_handler:790 Fault on identity=0x10002, frame_id=003
[ 102.687734] MSM-CPP msm_cpp_dump_addr:716 stripe 0: in 77623a00, out1 77e00000 out2 77e00000, out3 77e00000, out4 77e00000
[ 102.687741] MSM-CPP msm_cpp_dump_addr:716 stripe 1: in 77623b26, out1 77e00140 out2 77e00140, out3 77e00140, out4 77e00140
[ 102.687748] MSM-CPP msm_cpp_dump_addr:716 stripe 2: in 77623c66, out1 77e00280 out2 77e00280, out3 77e00280, out4 77e00280
[ 102.687755] MSM-CPP msm_cpp_dump_addr:716 stripe 3: in 77623da6, out1 77e003c0 out2 77e003c0, out3 77e003c0, out4 77e003c0
[ 102.687761] MSM-CPP msm_cpp_dump_addr:716 stripe 4: in 7773a100, out1 77ef0000 out2 77ef0000, out3 77ef0000, out4 77ef0000
[ 102.687768] MSM-CPP msm_cpp_dump_addr:716 stripe 5: in 7773a354, out1 77ef0280 out2 77ef0280, out3 77ef0280, out4 77ef0280
[ 102.687829] CAM-SMMU cam_smmu_check_vaddr_in_range:319 Cannot find vaddr:0000000000000000 in SMMU. cpp uses invalid virtual address
[ 102.694793] MSM-CPP msm_cpp_iommu_fault_handler:779 msm_cpp_iommu_fault_handler:779: Invalid queuelen
Change-Id: I75708c1e6372bbaffb85d0b0a7ae64f3075aa53e
* Crashing on Veux, Alioth and some other devices
* Crash:
* Earlier versions:
- E android.hardware.thermal@2.0-service.qti: ThermalHAL not initialized properly.
- E ThermalHalWrapper: Couldn't get temperatures because of HAL error: ThermalHAL not initialized properly.
* Current one:
- E ThermalManagerService$ThermalHalWrapper: Couldn't getCurrentCoolingDevices due to invalid status
- E ThermalManagerService$ThermalHalWrapper: java.lang.IllegalArgumentException: ThermalHAL not initialized properly.
When there is no client listens to some DataItemId, we will remove
the map entry. Can't access the deleted entry's iterator anymore.
Change-Id: Id64aadebf7362667fbcf0fd5191f888ed9241727
CRs-Fixed: 3886536
(cherry picked from commit 0049d459cc1772f328e29a4c6b6d129af132e7b8)
02-09 23:48:41.292 1618 2197 W ActivityManager: Unable to start service Intent { cmp=com.google.android.turboadapter/.GoogleBatteryService } U=0: not found
02-09 23:48:41.293 1618 13122 W ActivityManager: Unable to start service Intent { cmp=com.google.android.turboadapter/.GoogleBatteryService } U=0: not found
02-09 23:48:41.308 15351 15351 E ActivityThread: Service com.google.android.apps.turbo.deadline.library.BatteryFlagService has leaked ServiceConnection axe@16c727f that was originally bound here
Signed-off-by: sayann70 <sayansarkarda2@gmail.com>
01-04 20:38:40.022 3663 12914 W FileUtils: No such file /sys/class/thermal/thermal_message/sconfig for writing
01-04 20:38:40.022 3663 12914 W FileUtils: java.io.FileNotFoundException: /sys/class/thermal/thermal_message/sconfig: open failed: EACCES (Permission denied)
--
05-26 13:15:30.474 2332 3692 W FileUtils: No such file /sys/class/thermal/thermal_message/sconfig for writing
05-26 13:15:30.474 2332 3692 W FileUtils: java.io.FileNotFoundException: /sys/class/thermal/thermal_message/sconfig: open failed: ENOENT (No such file or directory)
Change-Id: Ia1e96e641dc2cedf1b6ab50dc23e703f2dd880af
Co-authored-by: bittencourtjulival <julival.bitencourt@gmail.com>
* The Redmi Note 11 Pro 5G (codename veux/peux) has 6GB+ RAM,
making ART low-memory optimizations unnecessary. Forcing this flag
may disable performance optimizations in Android Runtime (ART)
without tangible memory benefits on this device.
This reverts commit fbfc6f8d4e.
* The reverted commit was including the whole fragment for vibrator.
* In this folder, the flag BOARD_OPENSOURCE_DIR was set, which used
to break audio building by setting a bad path for our source, instead
of hardware/qcom-caf/sm8350/audio
This reverts commit 76451d8187.
Signed-off-by: Onelots <onelots@onelots.fr>
* Soong namespace was defined as vendor/xiaomi/AGC-Camera while the cam was cloned at vendor/xiaomi/AGC-camera
Signed-off-by: Onelots <onelots@onelots.fr>
Reason No.1 :
[Klozz]
This will allow the system to make better optimizations for performance and power efficiency
* We are using generic for major work of the cpu but enforce to use preferencially cortex-a76 for their optimizations
TARGET_CPU_VARIANT := generic: This setting tells the system to use general optimizations for any CPU type, without targeting Cortex-A78 specific features.
TARGET_CPU_VARIANT_RUNTIME := cortex-a76: Here you are telling the system that even if it uses general optimizations, it should assume that it is running on a Cortex-A76 processor during OS execution.
This is the closest you can get to taking advantage of A76 features on an A78, as AOSP does not have direct support for the A78.
The current setting is the most recommended for your Cortex-A78 device, as it gives you a good balance between optimizations and compatibility.
By using generic for the TARGET_CPU_VARIANT and cortex-a76 for the TARGET_CPU_VARIANT_RUNTIME, you are taking full advantage of your processor's capabilities without taking unnecessary risks.
Since aosp does not support Cortex-a78 the closest is cortex-a76.
* Using cortex-a55 for 2nd cpu clusters
By specifying cortex-a55 for both TARGET_2ND_CPU_VARIANT and TARGET_2ND_CPU_VARIANT_RUNTIME, we are providing the system with accurate information about the hardware in the second cluster.
This will allow the system to perform specific optimizations for these cores, thus improving performance and power efficiency.
Reason No.2 :
[amritokun]
As mentioned in the above text AOSP has no direct support for the Cortex-A78 & SM6375 (SD695) has two big clusters locked at 2.21 GHz based on Cortex-A78
As Per previous configuration by @dereference23 , He mentioned in 38dd683b70 commit
both were set to Cortex-A55 even the big ones .
This was hurting CPU performence & optimisation considerebly
Also Reffer to -
a9309428b8
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
Co-Authored-By: klozz (TeamMEX) <carlosj@klozz.dev>
All HALs in device manifest are declared in FCM <= level 6
ERROR: files are incompatible: Framework manifest and device compatibility matri
x are incompatible: HALs incompatible. The following requirements are not met:
android.frameworks.schedulerservice:
required: @1.0::ISchedulingPolicyService/default
provided:
: Success
* The value would be shown on Settings > About phone > Model > Hardware version.
Change-Id: I3a9707597ba01690bdf992e77d7d59d67213bca9
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
* This is caused crash Wificond service as per logcat said "wificond: Failed to get NL80211_ATTR_MAX_NUM_AKM_SUITES"
Change-Id: db39d8043c7bb9de6cc0df977132c75f9325a582
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
MAC addresses are now provisioned via a separate file and
configuration via the INI file is no longer supported, so
remove the obsolete default value assignments.
Change-Id: I177da3189b60c12fb96f42f9ea63cc6148f80dc8
CRs-Fixed: 2497142
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
Fixes system freezes and janks while screen recording.
Change-Id: Ic21a277a520cda57c765cecace68d2bc0a7f1ded
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation
Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
* This is no-op when debug.sf.disable_backpressure=1
is set. Just follow CAF here and remove this ricing.
Change-Id: If01753e3ba27dcde6576e2cc3f058ae5121cf773
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
Because it causes jank when pulling up quick settings.
Change-Id: I7e31389caa31b2045c7b5f73b5bf31f577bdb6f6
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
These are now part of qcom/sepolicy_vndr.
Change-Id: I709c29e827d51e22507027862a56cca1efcdc984
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
* W libc : Unable to set property "ro.vendor.ril.oem.wifimac" to "e0806b3fdf01": connection failed: Permission dennied
* W libc : Unable to set property "ro.vendor.ril.oem.btmac" to "e0806b3fdf02": connection failed: Permission denied
Change-Id: I6c89c06b7f53fa625275221d732c80055435d6d6
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
Extend buffer size for offload playback to reduce the frequency of CPU
wake up.
It makes ADSP to process more data one time and reduce the number of
times to wake up CPU.
Bug: 137973303
Test: MP3 playback
Change-Id: If8eb1d3041161979063bf852e2b0b397e87e7c05
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
this commit contains following commits to introduce the fastcharge toggle for veux device that use this tree
they were renamed from sm8250-common to veux
sm8250-common: add fastcharge implementation
* Disabling fast charge may be useful for reducing the heat produced by
the device while charging, or for extending the lifespan of the battery
* This commit introduces the fastcharge HIDL, which writes in the node
/sys/class/qcom-battery/restrict_chg
0 or 1 depeding on user selection.
0 means that fastcharge is enabled, while 1 means that fastcharge is
disabled
Change-Id: I369ba9c437b3a83a88c2ce74d603b7d7ddd9cfbb
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Signed-off-by: althafvly <althafvly@gmail.com>
6510782439
sm8250-common: fastcharge: Make user setting persistent
Change-Id: I4ff051d6f9685e94022eab32035bfe86a65264b8
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
e050f0dab0
sm8250-common: fastcharge: Use pragma once
Change-Id: I9a9e193a6f66f045f41394d059af8b71778e8d72
ff8e5f6173
sm8250-common: fastcharge: Migrate to blueprint
Change-Id: I200fd6c685183c98f0815b207adae5aa75a37238
4e0d22f486
sm8250-common: Build fastcharge implementation
Change-Id: I3e6994d2c2f419dc8ce98a060204fda3dd16df81
136d369c4e
sm8250-common: Sepolicy: Label FastCharge more general
7a619945ca
sm8250-common: Sepolicy: Fastcharge: Provide needed permissions
https: //github.com/kamikaonashi/device_xiaomi_sm8250-common/commit/298ff28a2ab9c04f953780958de6a8971a947c51
batterysecret hack
51ebc8de81
Co-Authored-By: Ivan Martynov <johnivan19999@gmail.com>
Co-Authored-By: Bruno Martins <1696148+bgcngm@users.noreply.github.com>
Co-Authored-By: Francescodario Cuzzocrea <bosconovic@gmail.com>
Co-Authored-By: Davide Garberi <dade.garberi@gmail.com>
Co-Authored-By: Mohammed Althaf Thayyil <me@althafvly.com>
Co-Authored-By: blazerpaul15 <107421375+blazerpaul15@users.noreply.github.com>
Lineage has switched to common light HAL. Xiaomi light was also removed completely. (#3)
* dc3069c44b
Signed-off-by: Amrito Das <bhabanidas431@gmail.com>
* Adjust Saturation Value Handling for Device Color Mode Compatibility
parts: Rename xiaomiparts title to Xiaomi Settings
This update refines the saturation adjustment mechanism. When the seek bar progress is set, the method executes
the command "service call SurfaceFlinger 1022 f [saturation]" via Runtime.getRuntime().exec() to apply the saturation changes.
However, it was observed that when the device's color mode is set to "saturated," a saturation value of 1.0 does not trigger any visual changes.
To address this, the code now sets a value of 1.001 for a seek bar value of 100, ensuring the desired effect is consistently applied.
* TileUtils Implementation: Implemented TileUtils to handle the addition of Quick Settings tiles, specifically for the saturation feature.
This is done with reference to the guidelines provided by Google
https://developer.android.com/develop/ui/views/quicksettings-tiles#prompt-user
this ensuring a seamless integration and user experience when creating new tiles.
Signed-off-by: Pabloescobar-reborn <pabloescobarreborn77@gmail.com>
Co-Authored-By: kenway214 <kenway214@outlook.com>
Co-Authored-By: AnierinB <anierin@evolution-x.org>
Co-Authored-By: SKULSHADY <anushekprasal@gmail.com>
Co-Authored-By: jhenrique09 <jhenrique09.mcz@hotmail.com>
* More modern view and matching QPR2 settings
* Pre-QPR2 builds might expect visual issues, so recommended A14 QPR2 and higher.
Co-Authored-By: Michael Bestas <mkbestas@lineageos.org>
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
in this commit, we are adding support for Sony's Dolby Atmos.
Signed-off-by: mnasibzade <euoryexe@gmail.com>
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
Since Android 14 (U), debug.hwui.skia_atrace_enabled prop have been replaced with debug.hwui.skia_tracing_enabled and new prop called debug.hwui.skia_use_perfetto_track_events that allows Skia renderengine traced with Perfetto instead of ATrace. So, let's replace debug.hwui.skia_atrace_enabled prop from A13 (or older) with debug.hwui.skia_tracing_enabled and add debug.hwui.skia_use_perfetto_track_events into the properties, and set both props to false since we're going to disable Skia Tracing on Android 14.
Ref: 799b574b2d%5E%21/#F1
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.
Co-Authored-By: CHRISL7 <70589286+CHRISL7@users.noreply.github.com>
Squash of:
* Add script to update sha1sums of kanged blobs
* Handle moved blobs in update-sha1sums.py script
* Add unpinning support to update-sha1sums.py script
* Format update-sha1sums.py with yapf
* Better handle line breaks
* Handle line with opts
Signed-off-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Ia5c2a7fcdd6e8472f43b2b2d2f4aa2a0de81b188
* OMX HW video codecs are no longer used after enabling Codec2
* OMX HW audio codecs won't work without QCOM A/V enhancements, which
we don't have on Lineage.
Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
Log:
07-08 14:11:18.637 1300 1300 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:18.724 1366 1366 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/vppservice": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by /vendor/lib64/libvpplibrary.so in namespace (default)
07-08 14:11:23.638 3100 3100 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:28.644 3177 3177 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:33.651 3194 3194 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:28.395 5816 5816 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
07-08 14:11:45.348 7112 7112 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/vendor.qti.hardware.capabilityconfigstore@1.0-service": library "vendor.qti.hardware.capabilityconfigstore@1.0.so" not found: needed by main executable
Signed-off-by: sdm695dev <sdm695dev@gmail.com>
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
- Also add overlay to unlock additional camera framerates
This unlocks 60fps recording on main back camera (cam ID 0) and secondary back camera (cam ID 1). As for front facing camera (cam ID 1), it only supports 30fps recording on resolutions up to 1080p.
[amritokun]: Adapt to sm6375-common
Change-Id: I14e9bf9ba71c9d9f4aca04f3b558a1d72e248a60
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Amrito | アンブロシア <bhabanidas431@gmail.com>
ADSP is spamming the logs:
E adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/lib/rfsa/adsp/adsprpcd.farf. (No such file or directory)
E adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/dsp/adsp/adsprpcd.farf. (No such file or directory)
E adsprpcd: vendor/qcom/proprietary/adsprpc/src/log_config.c:268:Error 0x200: fopen failed for /vendor/dsp/adsprpcd.farf. (No such file or directory)
E sscrpcd : vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2846: Error 0x200: apps_dev_init failed for domain 2, errno Transport endpoint is not connected
E sscrpcd : vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:2944: Error 0x200: open_dev (-1) failed for domain 2 (errno Transport endpoint is not connected)
E sscrpcd : vendor/qcom/proprietary/adsprpc/src/fastrpc_apps_user.c:1334: Error 0x200: remote_handle_open failed for adsp_default_listener (errno Success)
When opening and closing activities in Settings, a measurably
significant amount of CPU time is spent processing and logging stats
events in statsd:
0.02% /apex/com.android.os.statsd/lib64/libstatspull.so @plt
0.01% /apex/com.android.os.statsd/bin/statsd @plt
0.01% /apex/com.android.os.statsd/bin/statsd SocketListener::runListener()
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseBuffer(unsigned char*, unsigned long)
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseAnnotations(unsigned char, int)
Over longer device uptimes with real-world usage, statsd uses a
substantial amount of total CPU time. We have no use for the stats
recorded by statsd, so disable the service entirely to save CPU in
potential hotpaths.
This is the system/core part of the change; changes to frameworks/base
are also required.
Test: simpleperf record -a; verify that statsd no longer appears in
sample hits
Change-Id: Idf6fdb0eff987169bd5f370dd72315e831a669e6
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.
This change uses component-override to enable the service by default.
Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.
Bug: 135048762
Test: adb shell pm query-services \
com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
adb shell pm query-services \
com.android.bluetooth/.hid.HidDeviceService
adb shell pm query-services \
com.android.bluetooth/.sap.SapService
Change-Id: I284d254a921b14d1533745611a083f4b5a27d9dc
Based on 10bit av1 for msmnile which can do up to 1080p60 10bit av1
without frame drops.
NOTE: YouTube app ignores perf limits
Signed-off-by: Arijit78 <sahaarijit2007@gmail.com>
- Set only 4 threads to be utilized for dex2oat as dex2oat supports concurrent jobs since [1].
- Moreover, set only 4 threads to be utilized for boot image dex2oat as well.
[1]: 93c605c0d6
Change-Id: I8cf2544efeb4cd0c9befbaa2c208eed68c4204ac
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: angelomds42 <angelomds42@gmail.com>
Signed-off-by: alternoegraha <noegrahachan@gmail.com>
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.
Change-Id: Icc1fe5fbd4712e385464b9b340a7e53e166316f2
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: alternoegraha <noegrahachan@gmail.com>
RescueParty's aggressive approach to error recovery almost never helps
with the problems we're likely to face, and its risk of data loss is far
too high. Force-disable it entirely and remove all other conditions,
especially those that depend on data integrity in the first place, to
reduce the risk of RescueParty triggering falsely and causing data loss.
Note that it is still possible to force-enable RescueParty for testing
purposes using the persist.sys.enable_rescue property.
Change-Id: I72e833e0fcea8833a91448a2eac1a4fd5f65c007
Signed-off-by: tanvirr007 <tanvir.mymnsngh@gmail.com>
Signed-off-by: alternoegraha <noegrahachan@gmail.com>
- `ro.lmk.kill_heaviest_task=true`: Prioritizes killing the heaviest task.
- `ro.lmk.thrashing_limit=50`: Sets a balanced thrashing threshold.
- `ro.lmk.thrashing_limit_decay=25`: Adjusts thrashing decay dynamically.
- `ro.lmk.psi_complete_stall_ms=80`: Speeds up critical stall detection.
- `ro.lmk.psi_partial_stall_ms=50`: Prevents performance degradation.
- Some of these values are balanced between Google's recommendations for low-RAM and high-end devices, as our device fits this mid-range category.
- The adjustments reduce overhead without significant regression in multitasking.
Signed-off-by: angelomds42 <angelomds42@gmail.com>
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.
Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
Fix:
F linker : CANNOT LINK EXECUTABLE /vendor/bin/hw/android.hardware.drm@1.3-service.widevine: library libcrypto_shim.so not found: needed by /vendor/lib64/libwvhidl.so in namespace (default)
Reference: Ia42de59ff157cddc930a111f8ce5e36e645055ed
Change-Id: Ie9823e19a86e3066343c010f34f7832b167a2633
Signed-off-by: alternoegraha <noegrahachan@gmail.com>
* In cape (msm-5.10) pmic driver now lies in adsp [1], so
adsp firmware must to be loaded along with qti battery/
charger kernel module, in order to get battery and usb
power_supply up & running
* With this, we dont need to set usb mode to peripheral
explicitly either
* The GKI kernel for 5.10 explicitly disabled
FW_LOADER_USER_HELPER_FALLBACK, and the right way to enable it is to
echo 1 to the /proc/sys/kernel/firmware_config/force_sysfs_fallback,
so do this before writing to adsp sysfs node.
[1]: 4e2b0f663a
Depends-On: Id0e64302dbbdc53620cbc1825c36e13bb9e58aef
Change-Id: I835fa5daaa53eb704cc6c0777d7069d47ecbe10c
Signed-off-by: MrTopia <redkarmakar@gmail.com>
It allows users to switch between audio output devices by tapping the music
note icon on the notification of a music app.
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: krtonia <krtonia@gmail.com>
* Enable/Disable TWS plus feature support using persist property - persist.vendor.btstack.enable.twsplus
* TWS plus feature is supported only if property is set to True else feature is not supported.By default property is set to False.
Signed-off-by: kibria5 <mdkibria687@gmail.com>
Export of Video Editor codec profiles & levels and
configuration of Video editor capalibilies,
these two entries are no longer needed hence removed.
Original-Change-Id: I8252415f37f2b1089e7281eec32deda9fd6e98cf
Change-Id: Ib8b4f52b4b83a0a31a66d118c75005ac9945a4e9
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
AOSP codecs can be used by default and it is not necessary to include
them device side.
Change-Id: I8227b06f0466b614f12fa9008402b92461ea3dd0
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
debug.stagefright.ccodec=4
is the default value in frameworks.
debug.stagefright.omx_default_rank=0
was used to rank OMX SW codecs lower than OMX HW codecs
but we have removed all OMX SW codecs now.
Change-Id: Idf55ec02c2c0f4d2fa73f949cffef0d820a54570
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
These are no longer available as of Android 14 QPR3. The C2 codecs
available by default in the swcodec apex will be used instead.
Change-Id: I8cdf3e700823779a7382c66c3df8410d41209b7c
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
This will generate the 32-bit version of vendor.display.config@2.0
and libdisplayconfig.qti.so libraries.
Change-Id: Id4e49fa23a89bf4e5f62a7bbf7a8768a8197f50c
CRs-Fixed: 2672109
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
* AidlConversionCppNdk: legacy2aidl_audio_channel_mask_t_AudioChannelLayout: no AudioChannelLayout found for legacy output audio_channel_mask_t value 0x10
Change-Id: I31fa119c7bdaae2d6df27864f738fb0af11c0a39
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
We never know what upstream is thinking:
W ATFWD-daemon: libminijail[4756]: failed to get path of fd 3: No such file or directory
W ATFWD-daemon: libminijail[4756]: allowing syscall: connect
W ATFWD-daemon: libminijail[4756]: allowing syscall: fcntl
W ATFWD-daemon: libminijail[4756]: allowing syscall: sendto
W ATFWD-daemon: libminijail[4756]: allowing syscall: socket
W ATFWD-daemon: libminijail[4756]: allowing syscall: writev
W ATFWD-daemon: libminijail[4756]: logging seccomp filter failures
E ATFWD-daemon: libminijail[4756]: blocked syscall: gettid
Change-Id: I42e638f9f25395b37df57471fce68cc73e11e83f
Signed-off-by: Kyuofox <kyuofox@gmail.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Unable to determine UFFD GC flag for kernel version "5.4.259-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true"
or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports
userfaultfd(2)
and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.
Change-Id: Ia8a17467e13d343c03ee29e514994946e7e84985
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Audio HAL initialization relies on rpc daemon to load
dynamic libs, if daemon is not ready when HAL tries
to load libs, HAL has to wait until that finished.
Start this daemon early can smooth boot up of audio HAL
process, as this can save time for dynamic libs loading.
Change-Id: Id05ffc46fab812a718b6cb601e0610974b123679
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Error -
W ExtconUEventObserver: Unable to read /sys/devices/platform/soc/1628000.qcom,msm-eud/extcon/extcon0/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: java.io.FileNotFoundException: /sys/class/extcon/extcon0/cable.1/name: open failed: EACCES (Permission denied)
W ExtconUEventObserver: Unable to read /sys/devices/platform/soc/soc:rt-pd-manager/extcon/extcon5/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: java.io.FileNotFoundException: /sys/class/extcon/extcon5/cable.1/name: open failed: EACCES (Permission denied)
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
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.
Change-Id: I6fd7f570aef796ed2b16f9531d5d897f2c533e4d
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
* Make auto brightness more stable, prevent the brightness from
jittering repeatedly in dim environment.
Change-Id: I720e04dc4ea28a73af2c48967fd0f943c825245c
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
• This sometimes keeps the CPU frequencies locked at the set limit even when it's not needed, i.e. playing videos which need hardware decoder, leading to increased power draw, battery drain and heat. Drop SUSTAINED_PERFORMANCE tick from powerhint and let the CPU ramp up it's frequencies when needed, i.e. on demand to counteract the said issue.
Signed-off-by: Kanishk <kanishkthederp@gmail.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Switch and SwitchCompat are both CompoundButton.
Using CompoundButton in Java will helps migration in the future.
Bug: 306658427
Test: manual - check Settings pages
Test: m RunSettingsLibRoboTests
Change-Id: I85a70d4c504d8584030ea4a058f30d74206ab835
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
This will make the build faster
Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
When blur is enabled, There is severe lag in Launcher3 while scrolling apps in App drawer, scrolling through recents and occasionally on QS pull down. Lag & janks are gone now, even with blur.
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
As one can see in cfq_arm_slice_timer(), the CFQ I/O scheduler supports
two parameters that can make it delay I/O: group_idle and slice_idle.
Restore I/O performance by setting both the group_idle and slice_idle
parameters to zero.
Bug: 213617178
Bug: 313578691
Change-Id: I02429876790a6456ca957ff7c38f0c8bf88127f9
Signed-off-by: Bart Van Assche <bvanassche@google.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Need to explicitly set auto_latch_unsignaled property to
disabled state to keep latch-unsignaled as the default
behavior.
Change-Id: I3856caaf0a68e7e720819f25338d1eb9196f56b0
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
BT stack sets persist.vendor.qcom.bluetooth.soc which has
the correct value. This fixes FM radio.
Change-Id: I28f9bd479e966264b3d615f7d5fc5ee891cd31d6
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
* "32-bit overflow" CAF mentioned in the function wrapper inside post-boot
script sounds very bs, since if it's 64-bit it won't be affected anyways
* We do the setup using fstab instead to allow setting up more flags such
as setting up backing device and compression streams; as such kanged from
Pixels
* zRAM size = 50% and swappiness 30%
* Use LZ4 compression even for regular devices
Signed-off-by: Albert I <kras@raphielgang.org>
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Ia6efb3d28e56fb026d9b28fc6633b2eac77dfa47
Signed-off-by: Nippon <adamayyad1999@hotmail.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Tune the BMPS listening interval for the moderate power level to achieve
power savings during wifi idle.
Change-Id: I0f5f8fafb6f6b3eaa6a855aa1a7dc12c3886ddce
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
* Implement a smarter system on whether to connect to the provided 2Ghz or 5Ghz network.
Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
- Since we don't have a proper proximity sensor, doze is unable to perform a proximity check
- Fixes ambient display
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
- Based on observing it's values, xiaomi.sensor.aod reports
the following events:
3.0: Dark environment
4.0: Bright environment
5.0: Switched from bright to dark environment
3.0 does not seem to be triggered anymore after bright
environment has been reported.
- Enable brightness buckets in doze to disable animation
between the brightness levels.
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Fixes:
W HidlServiceManagement: Waited one second for android.frameworks.sensorservice@1.0::ISensorManager/default
I hwservicemanager: Since android.frameworks.sensorservice@1.0::ISensorManager/default is not registered, trying to start it as a lazy HAL (if it's not configured to be a lazy HAL, it may be stuck starting or still starting).
I HidlServiceManagement: getService: Trying again for android.frameworks.sensorservice@1.0::ISensorManager/default...
W libc : Unable to set property "ctl.interface_start" to "android.frameworks.sensorservice@1.0::ISensorManager/default": error code: 0x20
I hwservicemanager: Tried to start android.frameworks.sensorservice@1.0::ISensorManager/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.
Change-Id: If6fdef9dc39daaba9138fe3f8acf06cb6a0e78f8
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
Enable the persist.sys.fuse.passthrough.enable flag for the veux device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.
Fixup:
- The prop is supposed to be set in product instead of system as per [1].
[1]: https://source.android.com/docs/core/storage/fuse-passthrough
Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
- Enable VoLTE/VoWIFI for all indian cariers
- Enable VoLTE for Viettel Vietnam
- Enable VoLTE for Mobifone Vietnam
- Add full Support Carrier Smartfren VoLTE
- Enable VoLTE support for Indosat and XL Axiata
- Enable VoLTE support for Telkomsel (Indonesia)
- Enable VoLTE support for Three
- Enable VoLTE support for Bakcell (Azerbaijan)
Signed-off-by: Frost <159105703+Karan-Frost@users.noreply.github.com>
* Reformat and alphabettically sort
* Remove cameraperf, camerapostproc_xiaomi,
udfps, perfd, powershare, citsensor, mius
and touchfeature parts
* nv_mac seems to be "merged" into BT HAL
on this device
* Add libperfmgr rules from Xiaomi SM6250
Change-Id: I38d6934f94cc5615a72a58785f79c19e02df38b0
Reserve 1G in system partitions for flashing GApps packages when they're
not included, otherwise, reserve 24M in each partition.
Change-Id: I76d5583cd85d87a88a9b38aee5305927eb5067de
Patched to remove com.qti.permission.BIND_QTI_IMS_SERVICE and
Landroid/telephony/TelephonyBaseUtilsStub;->isMiuiRom()
Full patch: https://paste.myself5.de/zitiketuto.diff
Change-Id: I1ecff29d7089bffa50d41acb6b55c6d8e36d1d9c
This got enabled by default on U, and it causes apps like
Chrome and Youtube to set the refresh rate to 30FPS when
playing some videos.
Change-Id: I649bf03d550c2b9726c7957d15ed09e455d874ec
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.
Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected.
[1]: eaac82f33f#
Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
Haptics devices which registers as input FF devices are not supposed to
be detected by input subsystem. Add excluded-input-devices.xml file for
input subsystem to exclude them.
Change-Id: I52dc6e502b29e2813299d073195a0991bb2cf692
* AVB's `--flags 3` argument builds a disabled VBMeta with
disabled hashtree, so no need to set both flags individually.
Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
Partitions that use vbmeta_system can be found by looking at
avb flag in fstab from boot ramdisk.
--flags 2 makes the verification function of avb always return a
positive result.
--set_hashtree_disabled_flag builds the vbmeta images with the
HASHTREE_DISABLED bit set and as a result they don't need to manually
disable dm-verity via e.g. 'adb disable-verity'.
The rest of the configuration is taken from
https://source.android.com/devices/tech/ota/dynamic_partitions/implement#avb-configuration-changes
Change-Id: I381feef8f6fefc8449ca50d85d704b67bcc8a77e
Default to false if the property is not set.
Device init scripts will need to be adapted to restart
loc_launcher service when property change is detected.
Change-Id: Icbda789cd2a9a3391f437af2c07fc5127f2f09ab
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.
This may cause memory pressure.
Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
Reduce readahead from 512KiB to 128KiB to reduce thrashing when we
have a lot of apps running.
Bug: 110908295
Bug: 80426378
Test: manual - device boots
Test: manual - check app launch does not take long
Test: cts-tradefed.sh run cts -m CtsCameraTestCases
Change-Id: I59c1f2f8a6fbb5e0d956ba07a40a2bfac3b61481
Set drm_vblank_offdelay parameter to -1, to make DRM
issue the vblank disable immediately with out delay.
By defailt the DRM framework has a delay of 5 secs
timeout before issuing the vblank disable.
Change-Id: Idc1dfe6a6994f2ac2d3c60ae8fd5a4e883b675d9
Holi supports linux based charging and not via ADSP,
hence remove the modem partition mount logic.
This improves the entry time into power-off charging mode.
Change-Id: I69337e773f6078bc0847b7db199fc21e8c975a8a
All the kernel tunables are now part of the kernel scripts.
Invoke kernel RC script during the boot. Also move the kernel
related settings to kernel-scripts folder.
Change-Id: Ic8f1114377345f1dc6ca8ec441aa99de61a7a453
Normally ro.vendor.ril.mbn_copy_completed is set by init.qcom.sh but
that script was dropped because it does nothing else on this platform.
Change-Id: I19edf64df2c8ed9ab405b5684cedbb1dc4248eab
Needed to work around a Qualcomm HAL prebuilt.
Bug: 203713560
Bug: 258322017
Bug: 254854421
Test: Forrest
Change-Id: I4eebc60f10fbea6a66127ed3e08441db32536f78
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future
Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb
This fixes enum-conversion warning due to implicit type enum casting
between linked_list and msg_q which happens only for status -6.
Change-Id: I27ba74c4d840b7ba0cb1017d69a30fc25b80d6b9
-Wreorder-ctor is a compile-time, Clang-only flag which is enabled by
default since Clang 12, which will warn whenever a specified field will
be initialized right after field specified below it. However, since it
doesn't sweep through all fields, compiler may miss some of them.
This order has been checked thoroughly through many trial and errors to
ensure that no such warns will be triggered anymore.
Change-Id: Id24cbb7277dc8d6c02767f8f365818ab6c017683
* Update PTN_SWAP_LIST to reflect partition entry changes
to BOOT LUN and handle "multiimgoem", "multiimgqti"
partitions, similar to other BOOT LUN partitions.
Change-Id: I3fb2934c44f3c2555ef36437ae97c9a47bb874ed
* When using generated_kernel_headers including
stdio.h will cause errors due to redefined macros.
Change-Id: I2f753a64f760b636be1325873e17697466fbf33d
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
* Use generic configs when possible
* Audio policy configuration from /vendor/etc/audio
(identified by running dumpsys media.audio_policy on stock ROM)
* Mixer paths and sound_trigger configs from /vendor/etc
* audio_tuning_mixer.txt is copied to /vendor/etc
because this is the only path libacdbloader supports
* Other configs from /vendor/etc/audio/sku_holi
* audio_policy_volumes.xml was edited to be compatible with AOSP
Change-Id: I424b4df55add814d29e713497f7f323766b8b72b
This can be checked by looking for a rild service in system.
If it's missing, then a vendor ril service is being used, in
our case, it is qcrild.
Change-Id: I5378de6eec4ff2511a49c19c0fc474658efe338f
For devices launching with virtual A/B, inherit the virtual A/B
device base configuration.
Bug: 146466421
Test: Build and boot & manual OTA.
Change-Id: I752178c2525335b3cebafa0254c077d93831b8ba
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.