Skip to content

Commit

Permalink
update zip and scripts to TS v4.5 - latest offcial
Browse files Browse the repository at this point in the history
Signed-off-by: ThunderStorms21th <[email protected]>
  • Loading branch information
ThunderStorms21th committed Jul 23, 2023
1 parent 38d7424 commit fa4bb00
Show file tree
Hide file tree
Showing 37 changed files with 867 additions and 506 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<b>KERNEL INFORMATION:</b>

NAME : <b><#selectbg_g>ThundeRStormS-Kernel-OneUI R</#></b>
VERSION : <b><#selectbg_g>v4.2</#></b>
DATE : <b><#selectbg_g>31/03/2022</#></b>
VERSION : <b><#selectbg_g>v4.5</#></b>
DATE : <b><#selectbg_g>08/04/2023</#></b>
AUTHOR : <b><#selectbg_g>ThundeRStormS Team</#></b>

<#53a6f4><b> Only For Galaxy S10/N10 | OneUI S Roms |</b></#>
Expand All @@ -12,18 +12,66 @@
<b>CHANGELOG:</b>

--------------------------------------------------------------------------
<u><b><#selectbg_g>ThunderStorms-Kernel-S-v4.2 : 31.03.2022</#></b></u>
<*>Samsung source : HVC6 OneUI 4.1 </*>
<u><b><#selectbg_g>ThunderStorms-Kernel-S-v4.5 : 08.04.2023</#></b></u>
<*>Samsung source : HVJ5 OneUI 4.1 </*>
<*>Linux source : upstreamed to 4.14.269 </*>
<*>Samsung os patch level: 2022-03 </*>
<*>Zram default </*>
<*>Changed some initial settings</*>
<*>Added some backported stuff from Multi LRU</*>
<*>Support Init.d scripts: /vendor/etc/init.d </*>
<*>ThunderTweaks v1.1.1.5 </*>
<*>Magisk 26.1 Offcial build in kernel - thx to CruelKernel Team </*>
Thanks to Corsicanu for help with Zygisk support.
<*>Compiled via Clang 14.01</*>
<*>Rest like in realease 4.4 </*>
--------------------------------------------------------------------------
--------------------------------------------------------------------------
<u><b><#selectbg_g>ThunderStorms-Kernel-S-v4.4 : 03.11.2022</#></b></u>
<*>Samsung source : HVJ5 OneUI 4.1 </*>
<*>Linux source : upstreamed to 4.14.269 </*>
<*>Samsung os patch level: 2022-03 </*>
<*>Zram default </*>
<*>Changed some initial settings</*>
<*>Support Init.d scripts: /vendor/etc/init.d </*>
<*>ThunderTweaks v1.1.1.5 </*>
<*>Magisk 25.2 Offcial build in kernel - thx to CruelKernel Team </*>
Thanks to Corsicanu for help with Zygisk support.
<*>Compiled via Clang 14.01</*>
<*>Rest like in realease 4.3 </*>
--------------------------------------------------------------------------
--------------------------------------------------------------------------
<u><b><#selectbg_g>ThunderStorms-Kernel-S-v4.3 : 31.05.2022</#></b></u>
<*>Samsung source : HVE1 OneUI 4.1 </*>
<*>Linux source : upstreamed to 4.14.269 </*>
<*>Samsung os patch level: 2022-03 </*>
<*>HZ tick set at 250HZ </*>
<*>Zram default </*>
<*>Changed some initial settings</*>
<*>Added CPU BOOST by Sultan K</*>
<*>Removed Alternative Battery Store</*>
<*>Fixed low charging for some users</*>
<*>Support Init.d scripts: /vendor/etc/init.d </*>
<*>ThunderTweaks v1.1.1.4 </*>
<*> Added OC for little, mid and big CPU </*>
<*>Magisk 25.2 Offcial build in kernel - thx to CruelKernel Team </*>
Thanks to Corsicanu for help with Zygisk support.
<*>Compiled via Clang 14.01</*>
<*>Rest like in realease 4.2 </*>
--------------------------------------------------------------------------
--------------------------------------------------------------------------
<u><b><#selectbg_g>ThunderStorms-Kernel-S-v4.2 : 21.05.2022</#></b></u>
<*>Samsung source : HVE1 OneUI 4.1 </*>
<*>Linux source : upstreamed to 4.14.269 </*>
<*>Samsung os patch level: 2022-03 </*>
<*>HZ tick set at 100HZ </*>
<*>S10, S10+, N10 Zram set at 2,0GB </*>
<*>Zram default </*>
<*>Changed some initial settings</*>
<*>Added MALI GPU drivers r36p0 ValHall</*>
<*>Backported Game Misc Control from Samsung S20</*>
<*>Support Init.d scripts: /vendor/etc/init.d </*>
<*>ThunderTweaks v1.1.1.0 </*>
<*>Magisk 24.2 Offcial build in kernel - thx to CruelKernel Team </*>
<*>ThunderTweaks v1.1.1.2 </*>
<*>Magisk 24.3 Offcial build in kernel - thx to CruelKernel Team </*>
Thanks to Corsicanu for help with Zygisk support.
<*>Compiled via Clang 14.01</*>
<*>Rest like in realease 4.1 </*>
Expand Down
Binary file modified builds/zip-OneUIS/common/ts/dtb/G970F-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G970F-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G970N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G970N-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G973F-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G973F-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G973N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G973N-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G975F-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G975F-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G975N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G975N-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G977B-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G977B-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G977N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/G977N-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N970F-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N970F-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N971N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N971N-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N975F-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N975F-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N976B-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N976B-dtbo.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N976N-dtb.img
Binary file not shown.
Binary file modified builds/zip-OneUIS/common/ts/dtb/N976N-dtbo.img
Binary file not shown.
4 changes: 2 additions & 2 deletions builds/zip-OneUIS/common/ts/install_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ if [ $MODEL == $MODEL10 ]; then MODEL_DESC=$MODEL10_DESC; fi
if [ $MODEL == $MODEL11 ]; then MODEL_DESC=$MODEL11_DESC; fi
if [ $MODEL == $MODEL12 ]; then MODEL_DESC=$MODEL12_DESC; fi
if [ $MODEL == $MODEL13 ]; then MODEL_DESC=$MODEL13_DESC; fi
BASE="HVC6"
VERSION="v4.2"
BASE="HWJ5"
VERSION="v4.5"
ANDROID="OneUI-S"

## FLASH KERNEL
Expand Down
225 changes: 118 additions & 107 deletions builds/zip-OneUIS/common/ts/system1/init.custom.rc
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# IMPORTANT: Do not create world writable files or directories.
# This is a common source of Android security bugs.
#

on early-init

Expand All @@ -21,7 +20,7 @@ service kernelinit /system/etc/init/hw/ts-kernel.sh
disabled

on init
# EAS stune boosting interfaces
# EAS stune boosting interfaces, CPUSET(9820/9825)
chown system system /dev/stune/top-app/schedtune.boost
chown system system /dev/stune/top-app/schedtune.prefer_idle
chown system system /dev/stune/top-app/schedtune.prefer_perf
Expand All @@ -38,7 +37,6 @@ on init
chown system system /dev/stune/schedtune.prefer_idle
chown system system /dev/stune/schedtune.prefer_perf
chown system system /dev/stune/cgroup.procs
# CPUSET(9820/9825)
chown system system /dev/cpuset/top-app/cpus
chown system system /dev/cpuset/foreground/cpus
chown system system /dev/cpuset/background/cpus
Expand Down Expand Up @@ -110,32 +108,26 @@ on init

on boot

setprop ro.boot.veritymode disabled
write /sys/bus/workqueue/devices/writeback/cpumask 1
# I/O sched settings
write /sys/block/sda/queue/nr_requests 256
write /sys/block/sda/queue/nr_requests 64
write /sys/block/mmcblk0/queue/nr_requests 128
write /sys/block/sda/queue/iostats 0
write /sys/block/mmcblk0/queue/iostats 0
# VM
write /proc/sys/vm/dirty_expire_centisecs 3000
write /proc/sys/vm/dirty_writeback_centisecs 3000
write /proc/sys/vm/vfs_cache_pressure 100
# MISC
write /sys/block/zram0/max_comp_streams 1
setprop dalvik.vm.heapstartsize 16m
setprop dalvik.vm.heapminfree 16m
setprop dalvik.vm.heapmaxfree 32m
setprop dalvik.vm.heaptargetutilization 0.50
## MISC
write > /sys/module/mmc_core/parameters/use_spi_crc N
# Boeffla wakelocks
chmod 0644 /sys/devices/virtual/misc/boeffla_wakelock_blocker/wakelock_blocker
write /sys/devices/virtual/misc/boeffla_wakelock_blocker/wakelock_blocker 'wlan_pm_wake;wlan_rx_wake;wlan_wake;wlan_ctrl_wake;wlan_txfl_wake;BT_bt_wake;BT_host_wake;nfc_wake_lock;rmnet0;nfc_wake_lock;bluetooth_timer;event0;GPSD;umts_ipc0;NETLINK;ssp_comm_wake_lock;epoll_system_server_file:[timerfd4_system_server];epoll_system_server_file:[timerfd7_system_server];epoll_InputReader_file:event1;epoll_system_server_file:[timerfd5_system_server];epoll_InputReader_file:event10;epoll_InputReader_file:event0;epoll_InputReader_epollfd;epoll_system_server_epollfd'

## Build.prop settings
setprop hw3d.force 1
setprop hw2d.force 1
setprop debug.composition.type gpu
setprop persist.sys.composition.type gpu
# setprop debug.egl.profiler 1
# setprop debug.egl.hw 1
# setprop debug.sf.hw 1
# setprop ro.debuggable 0
# setprop hwui.render_dirty_regions false
setprop debug.gr.numframebuffers 3
setprop debug.egl.swapinterval -60
setprop debug.gr.swapinterval 0
Expand All @@ -153,7 +145,6 @@ on boot
setrpop persist.sys.force_highendgfx true
setprop debug.hwui.renderer o
setprop ro.product.gpu.driver 1
# setprop persist.sys.scrollingcache 3
setprop ro.config.hw_quickpoweron true
setprop ro.config.hw_power_saving 1
setprop power.saving.mode 1
Expand Down Expand Up @@ -189,111 +180,131 @@ on boot
## Native VM bridges
setprop ro.enable.native.bridge.exec 1
setprop ro.enable.native.bridge.exec64 1
## Mobile Data Tweaks
setprop ro.ril.hsxpa=5
setprop ro.ril.hspa=36
setprop ro.ril.lte=5
setprop ro.ril.ltea=5
setprop ro.ril.hep=0
setprop ro.ril.def.agps.mode=2
setprop ro.ril.enable.3g.prefix=1
setprop ro.ril.enable.4g.prefix=1
setprop ro.ril.htcmaskw1.bitmask=4294967295
setprop ro.ril.htcmaskw1=14449
setprop ro.ril.enable.dtm=1
setprop ro.ril.hspaclass=12
setprop ro.ril.lteclass=12
setprop ro.ril.gprsclass=12
setprop ro.ril.hsupa.category=8
setprop ro.ril.hsdpa.category=28
setprop ro.ril.lte.category=8
setprop ro.ril.ltea.category=28
setprop ro.ril.enable.a51=1
setprop ro.ril.enable.a52=1
setprop ro.ril.enable.a53=1
setprop ro.ril.enable.a54=1
setprop ro.ril.enable.a55=1
setprop ro.config.dha_tunnable 1
setprop ro.slmk.dha_lmk_scale 0.272
setprop ro.slmk.2nd.dha_lmk_scale 0.272
setprop ro.slmk.dha_th_rate 3.0
setprop ro.config.pageboost.io_prefetch.enabled true
setprop ro.config.pageboost.io_prefetch.level 3
setprop ro.config.pageboost.vramdisk.enabled true
setprop ro.config.pageboost.vramdisk.hotfile.enabled true
setprop ro.config.pageboost.vramdisk.fixedapp.enabled true
setprop ro.config.pageboost.vramdisk.shrink_scale 150
setprop dalvik.vm.dexopt.thermal-cutoff 2
setprop ro.iorapd.enable true
setprop iorapd.readahead.enable true
setprop dalvik.vm.dexopt-flags m=v,o=y,u=n
## Signal Tweaks
setprop persist.cust.tel.eons=1
setprop ro.config.hw_fast_dormancy=1
setprop ro.config.combined_signal=true
setprop telephony.lteOnCdmaDevice=1
setprop persist.cust.tel.eons 1
setprop ro.config.hw_fast_dormancy 1
setprop ro.config.combined_signal true
setprop telephony.lteOnCdmaDevice 1
## Support For IPV4 and IPV6
setprop persist.telephony.support.ipv6=1
setprop persist.telephony.support.ipv4=1
setprop persist.telephony.support.ipv6 1
setprop persist.telephony.support.ipv4 1
## DNS Tweaks
setprop net.rmnet0.dns1=1.1.1.1
setprop net.rmnet0.dns2=1.0.0.1
setprop net.rmnet1.dns1=1.1.1.1
setprop net.rmnet1.dns2=1.0.0.1
setprop net.dns1=1.1.1.1
setprop net.dns2=1.0.0.1
setprop net.gprs.dns1=1.1.1.1
setprop net.gprs.dns2=1.0.0.1
setprop net.wcdma.dns1=1.1.1.1
setprop net.wcdma.dns2=1.0.0.1
setprop net.hspa.dns1=1.1.1.1
setprop net.hspa.dns2=1.0.0.1
setprop net.hsdpa.dns1=1.1.1.1
setprop net.hsdpa.dns2=1.0.0.1
setprop net.lte.dns1=1.1.1.1
setprop net.lte.dns2=1.0.0.1
setprop net.ltea.dns1=1.1.1.1
setprop net.ltea.dns2=1.0.0.1
setprop net.ppp0.dns1=1.1.1.1
setprop net.ppp0.dns2=1.0.0.1
setprop net.pdpbr1.dns1=1.1.1.1
setprop net.pdpbr1.dns2=1.0.0.1
setprop net.wlan0.dns1=1.1.1.1
setprop net.wlan0.dns2=1.0.0.1
setprop net.eth0.dns1=1.1.1.1
setprop net.eth0.dns2=1.0.0.1
setprop net.rmnet0.dns1 1.1.1.1
setprop net.rmnet0.dns2 1.0.0.1
setprop net.rmnet1.dns1 1.1.1.1
setprop net.rmnet1.dns2 1.0.0.1
setprop net.dns1 1.1.1.1
setprop net.dns2 1.0.0.1
setprop net.gprs.dns1 1.1.1.1
setprop net.gprs.dns2 1.0.0.1
setprop net.wcdma.dns1 1.1.1.1
setprop net.wcdma.dns2 1.0.0.1
setprop net.hspa.dns1 1.1.1.1
setprop net.hspa.dns2 1.0.0.1
setprop net.hsdpa.dns1 1.1.1.1
setprop net.hsdpa.dns2 1.0.0.1
setprop net.lte.dns1 1.1.1.1
setprop net.lte.dns2 1.0.0.1
setprop net.ltea.dns1 1.1.1.1
setprop net.ltea.dns2 1.0.0.1
setprop net.ppp0.dns1 1.1.1.1
setprop net.ppp0.dns2 1.0.0.1
setprop net.pdpbr1.dns1 1.1.1.1
setprop net.pdpbr1.dns2 1.0.0.1
setprop net.wlan0.dns1 1.1.1.1
setprop net.wlan0.dns2 1.0.0.1
setprop net.eth0.dns1 1.1.1.1
setprop net.eth0.dns2 1.0.0.1
## Internet Buffer Tweaks
setprop net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.lte=524288,1048576,2097152,524288,1048576,2097152
setprop net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.evdo=4096,87380,563200,4096,16384,262144
setprop net.tcp.buffersize.default 4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.wifi 4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.lte 524288,1048576,2097152,524288,1048576,2097152
setprop net.tcp.buffersize.umts 4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.evdo 4096,87380,563200,4096,16384,262144
setprop net.tcp.buffersize.evdo_b=6144,262144,1048576,6144,262144,1048576
setprop net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.hsdpa=6144,87380,1048576,6144,87380,1048576
setprop net.tcp.buffersize.hspa=6144,87380,524288,6144,16384,262144
setprop net.tcp.buffersize.hspap=4096,87380,1220608,4096,16384,393216
setprop net.tcp.buffersize.hsupa=4096,87380,704512,4096,16384,262144
setprop net.tcp.buffersize.gprs 4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.edge 4096,87380,256960,4096,16384,256960
setprop net.tcp.buffersize.hsdpa 6144,87380,1048576,6144,87380,1048576
setprop net.tcp.buffersize.hspa 6144,87380,524288,6144,16384,262144
setprop net.tcp.buffersize.hspap 4096,87380,1220608,4096,16384,393216
setprop net.tcp.buffersize.hsupa 4096,87380,704512,4096,16384,262144
## Internet Tweaks
setprop net.ipv4.icmp_echo_ignore_all=1
setprop net.ipv4.icmp_ignore_bogus_error_responses=1
# setprop net.ipv4.tcp_window_scaling=1
setprop net.ipv4.tcp_timestamps=1
setprop net.core.rmem_default=31457280
setprop net.core.rmem_max=12582912
setprop net.core.wmem_default=31457280
setprop net.core.wmem_max=12582912
setprop net.core.somaxconn=4096
setprop net.core.netdev_max_backlog=65536
setprop net.core.optmem_max=25165824
setprop net.ipv4.tcp_mem=65536 131072 262144
setprop net.ipv4.udp_mem=65536 131072 262144
setprop net.ipv4.tcp_rmem=8192 87380 16777216
setprop net.ipv4.udp_rmem_min=16384
setprop net.ipv4.tcp_wmem=8192 65536 16777216
setprop net.ipv4.udp_wmem_min=16384
setprop net.ipv4.tcp_max_tw_buckets=1440000
setprop net.ipv4.tcp_tw_recycle=1
setprop net.ipv4.tcp_tw_reuse=1
setprop net.ipv4.icmp_echo_ignore_all 1
setprop net.ipv4.icmp_ignore_bogus_error_responses 1
# setprop net.ipv4.tcp_window_scaling 1
setprop net.ipv4.tcp_timestamps 1
setprop net.core.rmem_default 31457280
setprop net.core.rmem_max 12582912
setprop net.core.wmem_default 31457280
setprop net.core.wmem_max 12582912
setprop net.core.somaxconn 4096
setprop net.core.netdev_max_backlog 65536
setprop net.core.optmem_max 25165824
setprop net.ipv4.tcp_mem 65536 131072 262144
setprop net.ipv4.udp_mem 65536 131072 262144
setprop net.ipv4.tcp_rmem 8192 87380 16777216
setprop net.ipv4.udp_rmem_min 16384
setprop net.ipv4.tcp_wmem 8192 65536 16777216
setprop net.ipv4.udp_wmem_min 16384
setprop net.ipv4.tcp_max_tw_buckets 1440000
setprop net.ipv4.tcp_tw_recycle 1
setprop net.ipv4.tcp_tw_reuse 1
setprop ro.telephony.iwlan_operation_mode AP-assisted
## Game tweaks
setprop persist.sys.NV_FPSLIMIT 160
setprop persist.sys.NV_POWERMODE 1
setprop persist.sys.NV_PROFVER 15
setprop persist.sys.NV_STEREOCTRL 0
setprop persist.sys.NV_STEREOSEPCHG 0
setprop persist.sys.NV_STEREOSEP 20
setprop persist.mm.sta.enable 0
setprop enforce_process_limit false
## FPS Lock
setprop ro.fps_enable 1
setprop ro.fps.capsmin 70
setprop ro.fps.capsmin 65
setprop ro.fps.capsmax 160

setprop debug.gr.swapinterval 0
setprop cpu.fps 65
setprop gpu.fps 65
setprop ro.vendor.dfps.enable false
setprop ro.vendor.smart_dfps.enable false
setprop ro.vendor.display.default_fps 65
setprop persist.vendor.dfps.level 65
## FPS stabilizer
setprop debug.sf.showupdates 0
setprop debug.sf.showcpu 0
setprop debug.sf.showbackground 0
setprop debug.sf.showfps 0
## Battery save
setprop pm.sleep_mode 1
setprop power_supply.wakeup enable
setprop ro.mot.eri.losalert.delay 1000
setprop ro.vold.umsdirtyratio 20
setprop ro.config.hw_quickpoweron true
setprop ro.config.hw_power_saving 1
setprop power.saving.mode 1
setprop persist.radio.add_power_save 1
setprop ro.ril.sensor.sleep.control 1
## Sensor Sleep Control
setprop ro.ril.sensor.sleep.control 1
setprop ro.wifi.hotspotUI 1
setprop ro.tether.denied false
## Disable Sending Usage Data
setprop ro.config.htc.nocheckin 1
# stop logd
on property:sys.boot_completed=1
resetprop ro.build.selinux 1
Expand Down
Loading

0 comments on commit fa4bb00

Please sign in to comment.