Skip to content

Commit d59a67d

Browse files
Revert back zetamin + add sleep 40 in service.sh (mitigation)
Signed-off-by: KanagawaYamada <albert.wesley.dion@gmail.com>
1 parent 84dffd9 commit d59a67d

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

Modules/post-fs-data.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ if [ "$INCLUDE_ZETAMIN" = "1" ]; then
1010
resetprop debug.graphics.game_default_frame_rate.disabled true
1111
resetprop sys.surfaceflinger.idle_reduce_framerate_enable no
1212

13+
# Zeta Props
14+
resetprop debug.sf.disable_backpressure 1
15+
resetprop debug.sf.disable_hwc 1
16+
resetprop debug.sf.latch_unsignaled 1
17+
resetprop debug.sf.disable_client_composition_cache 1
18+
resetprop ro.surface_flinger.use_color_management false
19+
resetprop ro.surface_flinger.has_wide_color_display false
20+
resetprop ro.surface_flinger.has_hdr_display false
21+
resetprop persist.sys.sf.native_mode 1
22+
resetprop vendor.debug.mali.disable_afbc 1
23+
resetprop ro.vendor.ddk.set.afbc 0
24+
resetprop debug.gralloc.map_fb_memory 1
25+
resetprop debug.gralloc.enable_fb_ubwc 0
26+
1327
# From BreezeOS
1428
resetprop ro.max.fling_velocity 10000
1529
resetprop ro.surface_flinger.max_frame_buffer_acquired_buffers 3

Modules/service.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ done
77

88
MODDIR=${0%/*}
99

10+
# DO NOT REMOVE!
11+
# This is a mitigation to a device that got crashed during afterbootanim!
12+
# This has to be done because some device can't handle the execution (sometimes)
13+
# And end up crashing (reboot by itself then stucked)
14+
sleep 40
15+
1016
# Execute the Raco core service in the background
1117
/system/bin/linker64 $MODDIR/CoreSys/raco_service $MODDIR &
1218

13-
14-
1519
# Forcefully start the companion app's AutoGameMonitorService
1620
# Bypasses Android 14+ background FGS restrictions and OEM Autostart blocks
1721
su -lp 2000 -c "am start-foreground-service -n com.kanagawa.yamada.project.raco/.AutoGameMonitorService" &

0 commit comments

Comments
 (0)