1496 Commits

Author SHA1 Message Date
LuK1337
4a7291b13c redwood: props: Expose aux cameras to multiple camera apps
Change-Id: Iaf6d78e0ecfa9e8866ac9fb0407c18283f2f8d08
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 10:12:18 +05:30
helliscloser
1e02de6b34 redwood: props: Explicitly disable "Enable GL comp backpressure"
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>
2025-08-27 10:12:18 +05:30
Danny Lin
3f71d01338 redwood: props: Disable sf EGL image tracking
This is a surfaceflinger debugging feature that we don't care about, so
disable it to reduce overhead.

Signed-off-by: pri0818 <priyanshusinghal0818@gmail.com>
Signed-off-by: MrErenK <akbaseren4751@gmail.com>
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
2025-08-27 10:12:18 +05:30
PainKiller3
db35e331d2 redwood: 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.

Change-Id: I2d6a4eae7fd4f6267af7a35aca1d67ec1d5c2a42
2025-08-27 10:12:18 +05:30
mtsxxx
ac2c578502 redwood: props: Remove debug.sf.disable_client_composition_cache 1
Because it causes jank when pulling up quick settings.
2025-08-27 10:12:18 +05:30
New Author Name
ffadd386e3 redwood: props: drop ro.surface_flinger.force_hwc_copy_for_virtual_displays=true
fixes lag in pip mode
2025-08-27 10:12:18 +05:30
Murat Kozan
a1e89e9662 redwood: sepolicy: Address secure_element denial
avc:  denied  { search } for  name="nfc" dev="dm-37" ino=388 scontext=u:r:hal_secure_element_default:s0 tcontext=u:object_r:vendor_nfc_vendor_data_file:s0 tclass=dir permissive=0
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 09:36:13 +05:30
Astridxx
7b0370ad19 redwood: sepolicy: Address audio config denial
avc: denied { read } for comm="emui:screenshot" name="u:object_r:audio_config_prop:s0" dev="tmpfs" ino=14355 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:audio_config_prop:s0 tclass=file permissive=0 app=com.android.systemui
2025-08-27 09:36:13 +05:30
Giovanni Ricca
de5ba207e1 redwood: Build xiaomi-telephony-stub
* To provide the required Xiaomi IMS methods
2025-08-27 09:36:13 +05:30
Arian
a987269090 redwood: Update radio properties from haydn V816.0.1.0.UKKCNXM
This fixes IMS on yupik and shima :party:

Change-Id: I7334b6cc5eb2a1a6b2c3b2bf8357428082f4721d
2025-08-27 09:36:13 +05:30
thepriyanshujangid
438c9f747c redwood: overlay: Adjust status bar padding 2025-08-27 09:36:13 +05:30
levi3609
53e0f8056c redwood: props: Disable QTI perf lock usage in camera HAL
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 09:36:13 +05:30
johnmart19
6ad1557831 redwood: Set TARGET_CAMERA_PACKAGE_NAME for Miui/Leica 2025-08-27 09:36:13 +05:30
Alexander Winkowski
3b4697dac4 redwood: sepolicy: Remove unused rules
Change-Id: I0e96b7af787b01c4c6e6f7cfc8744a1c34acbc6b
2025-08-27 09:36:13 +05:30
Alexander Winkowski
cc8b3c998e redwood: sepolicy: Rework batterysecret rules
Change-Id: I98b231406fa1a2910cbedd133b33554e7d1c9268
2025-08-27 09:36:13 +05:30
Alexander Winkowski
2d6abad8ee redwood: sepolicy: Simplify fingerprint rules
Reuse existing AOSP fingerprint_vendor_data_file label

Change-Id: I8632de158050edf87e1b04ec83f0c8c3a61ff0c0
2025-08-27 09:36:13 +05:30
thepriyanshujangid
6203a49f0f redwood: Include BCR if-exist
* git clone https://github.com/thepriyanshujangid/vendor_bcr vendor/bcr
2025-08-27 07:36:13 +05:30
thepriyanshujangid
4e0310bfeb redwood: include firmware if-exist 2025-08-27 07:36:13 +05:30
Cole Faust
39a3a72ab5 redwood: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Floral has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2025-08-27 07:36:13 +05:30
basamaryan
f87c0393b4 redwood: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2025-08-27 07:36:13 +05:30
Tomasz Wasilczyk
7f257d071f redwood: gps: Don't include cutils/threads.h
Bug: 289414897
Test: buildserver
Change-Id: I14b99f42feaae7af00cbd17cfe482eb2e5da71e8
2025-08-27 07:36:13 +05:30
Alan Chen
ed98141eab redwood: wifi: Enable Optimized Power Management
gEnablePowerSaveOffload was renamed to gOptimizedPowerManagement

[1]: 10989ba376
[2]: 9ef1447db3
2025-08-27 07:36:13 +05:30
Terminator-J
e2e78156b6 redwood: rootdir: Fix the battery drain due to statsd...?
- Could it really be so simple?
2025-08-27 07:36:13 +05:30
basamaryan
d536d719c2 redwood: rootdir: Fix PowerOffAlarm 2025-08-27 07:36:13 +05:30
Bruno Martins
1340c1b12a redwood: props: Enable apk fs-verity
* for some reason, some apps automatically detects that we're rooted due to verityUtils failing to measure the apps apk fs-verity.
2025-08-27 07:36:13 +05:30
IMMANUEL44
eedb184710 redwood: props: Fix camera interface on ViLTE calls
We are use Camera2API but this props was making the IMS based stuff to use Camera1API which caused dead camera (black camera - receiver not able to see dialer)
This fixes it and now ViLTE calls work fully
Thanks to srindak unkil for halping me see this derp

Signed-off-by: Joey Huab <joey@evolution-x.org>
Change-Id: I571e543bb8ba8b3fb3f29e11c8f0c7cc912e246d
Signed-off-by: RobertGarciaa <chae0218@naver.com>
2025-08-27 07:36:13 +05:30
ExactExampl
7716d2ecab redwood: props: Enable ro.hwui.render_ahead and set it to 20 frames
* Rendering ahead makes some animations handling better (especially qs pulldown on a13 qpr2)

Change-Id: I3e732cfbd22d30df9843d3b7d2762ec59cf0f6a7
Signed-off-by: EndCredits <endcredits@crepuscular-aosp.icu>
2025-08-27 07:36:13 +05:30
Adithya R
04cbda3b85 redwood: props: Set USB config to mtp,adb by default
This is required to fix usb detection in first boot.

Change-Id: Ib57301cb1a6569be478451c4a79eb7279759b56d
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-08-27 07:36:13 +05:30
mvaisakh
cd1538fb87 redwood: props: Use HintManager for HWUI
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.

EmanuelCN: Set it to 20%
Change-Id: I808f1e0d556b258d42d2faac33b0c5c142610d7a
Signed-off-by: NotZeetaa <rodrigo2005contente@gmail.com>
2025-08-27 07:36:13 +05:30
cyberknight777
25192e6973 redwood: props: Fixup-Enable FUSE Passthrough
- 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

Change-Id: I4c467da6b1a659625aa20e79a718736b2ee9f915
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2025-08-27 07:36:13 +05:30
justinweng
79b0c2a3c1 redwood: props: Extend audio offload buffer size to 256kb
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: Ib0b2a8827647ed780bb20bd9dfa2a383153eb282
Signed-off-by: justinweng <justinweng@google.com>
Signed-off-by: xNombre <kartapolska@gmail.com>
Signed-off-by: Pascoato <viniciuspascoato@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2025-08-27 07:36:13 +05:30
johnmart19
aeb7c93f15 redwood: props: Enable config_avoidGfxAccel
- This flag turns off GPU/CPU intensive UI effects and   reduces the RAM footprint.
- Using this is a better compromise than the 'low_ram' flag
  as this does not disable features in the rom but still
  reduces RAM usage and gives better smoothness in the UI.

Change-Id: b2a4285551ee79b097f6223c80d14dfb14a67316
2025-08-27 07:36:13 +05:30
Edwin Moquete
582a36ac13 redwood: props: Disable display refresh rate override
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.
2025-08-27 07:36:13 +05:30
minaripenguin
67808df4fe redwood: props: Set frame rate multiple threshold to 60
If the device only have 60 and 120 Hz in the config group, 60 Hz won't be
used when watching a 24 fps video and instead 120 Hz will be used because
it is perfectly divisible by 24.

This is a publicly documented AOSP behavior [1], but it simply does not
make any practical sense and trades off significant amount of power for a
very-hard-to-notice jitter-free experience.

Set debug.sf.frame_rate_multiple_threshold to 60 by default to limit this
behavior to 60 or lower fps.
2025-08-27 07:36:13 +05:30
Michael Bestas
3df6388a1c redwood: props: Fix screen record lag 2025-08-27 07:36:13 +05:30
RDS-007
5fa8bb9d1f redwood: props: Set debug.sf.enable_hwc_vds to 0
For screen recording lags
2025-08-27 07:36:13 +05:30
Jun Wang
5ebd651b0c redwood: 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.
2025-08-27 07:36:13 +05:30
johnmart19
90ecc504a4 redwood: props: Switch to SkiaGL Threaded
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 07:36:13 +05:30
thepriyanshujangid
b1531b667e fixup! redwood: Switch to AtomX Kernel 2025-08-27 07:36:13 +05:30
LuK1337
a1d511f07e redwood: overlay: Set max network scan search time to 254
Matches value found in stock TeleServiceQcom.

Change-Id: If2b224298ffe731f8ccfd0b4f3b6d8a257b6f968
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2025-08-27 07:36:13 +05:30
johnmart19
bf041742ea redwood: overlay: Push screen recorder max FPS to 120FPS 2025-08-27 07:36:13 +05:30
ZeeLog
63a07762be redwood: overlay: Enable VT over IMS availability for carriers 2025-08-27 07:36:13 +05:30
Cassie
b526350d11 redwood: overlay: Use the new auto network selection UI 2025-08-27 07:36:13 +05:30
SongFerngWang
ac4729c139 redwood: overlay: Enable 5G SA and NSA 2025-08-27 07:36:13 +05:30
Danny Lin
b6df37ad63 redwood: overlay: show the Preference for Adaptive connectivity 2025-08-27 07:36:13 +05:30
Cosmin Tanislav
014f95ab57 redwood: overlay: Allow switching between 60Hz and 120Hz
Signed-off-by: thepriyanshujangid <priyanshujangid@yahoo.com>
2025-08-27 07:36:13 +05:30
me-cafebabe
cd37db2f79 redwood: overlay: Enable all available vibration intensity 2025-08-27 07:36:13 +05:30
Bruno Martins
c38718c5ea redwood: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2025-08-27 07:36:13 +05:30
priyanshu jangid
fb404a6017 redwood: overlay: Update Min brightness
Reason: Current value of minimum brightness 1/255 = 0.003921568627 looks it's a little too much, so set minimum brightness  Equivalent to 0.5/255 = 0.00196078431
2025-08-27 07:36:13 +05:30
TheStrechh
70b14a94eb redwood: sepolicy: Import missing adress for MIUI Camera 2025-08-27 07:36:13 +05:30