ktweak | Unsorted

Telegram-канал ktweak - KTweak Releases

-

The latest changelogs and releases of KTweak

Subscribe to a channel

KTweak Releases

Here's a few pictures of the app, I think it's beautiful:

Читать полностью…

KTweak Releases

I just pushed an update that transformed the KTweak branch system since it seems that everyone has a different use-case for their phone. We now have three branches:

- balance: This should be the default. It still has performance and latency tweaks that should help out on most phones but without being too aggressive on either end.

- latency: Prioritizes latency over throughput and power. I recommend this for people who can sacrifice some throughput for a smoother UX.

- throughput: Prioritizes throughput over latency and power. Those who desperately need more raw performance should try this.

Additionally, I updated the KTweak app to select balance as the default branch.

On that note, the KTweak Magisk Module is officially dead. In my opinion, it makes no sense to maintain it as the app is extremely tiny, and is actually safer than the module since booting into safe mode will disable it.

Читать полностью…

KTweak Releases

Magisk Module update:
- Add volume key selector for versions

Читать полностью…

KTweak Releases

Thanks for the 1000 members! You guys are great ❤️

Читать полностью…

KTweak Releases

KTweak has officially been released on the Play Store!

This is very exciting. Translations ate still under consideration, and may be completed using Crowdin in the future. Bugs with applying on boot have been fixed. As always, it's free and open source.

The module is likely no longer going to be developed. However, you can still manually download and execute the script if you must.

https://play.google.com/store/apps/details?id=com.draco.ktweak

Читать полностью…

KTweak Releases

- Add simplified chinese and arabic translations
- Do not automatically update, require manual update
- Do not update on boot (was causing stalls where the notification never went away)
- Do not show notification on boot

Let me know if apply on boot is fixed.

Читать полностью…

KTweak Releases

Beta 4 (ignore name) (hopefully the last beta before full release):
- Fix boot service
- Always auto fetch (remove button to fetch)
- Improve log and changelog styles
- Improve icon styles
- Add light theme
- Increase minimum api to 23 (required for light mode, sorry android 5 users 😩)
- Remove API key, use per-IP requests
- Other fixes and improvements

Читать полностью…

KTweak Releases

Beta 2 of the app beta:
- Add branches to ktweak (stable and development)
- Improve UI/UX
- Add proper changelog via git API
- Ask for root on app launch to ensure it works on boot
- Manual fetch option so you can control how often the script updates
- Add support for Android 5.0

NOTE: Ignore the LTS branch, it doesn't work. It is going to be removed.

Читать полностью…

KTweak Releases

Here's a beta version of the KTweak app I've been working on. It's very much still in development, so make sure to report bugs and suggestions to me.

Also, you can uninstall the Magisk Module if you use the app, because it will apply on boot through the app.

Читать полностью…

KTweak Releases

UPDATE: Sorry, I fixed the zip file. If you previously installed it, redownload it and make sure the version ends with 86eed12.

Читать полностью…

KTweak Releases

- Remove ZRAM tweaks. Usually the OEM values are more appropriate. Touching ZRAM is not universal and can hurt performance on lower-end devices that already have ZRAM tuned appropriately.

Читать полностью…

KTweak Releases

NOTE: Errors and warnings in your log are completely normal. There is no need to ask if it's okay, because not all kernels are built alike. Some tunables will not apply. There is no need to worry :)

Also, the latest ktweak no longer writes logs to /data/local/tmp/ktweak_log.txt.

Читать полностью…

KTweak Releases

- Reduce maximum number of task migrations from 128 to 16
- Reduce wakeup granularity from 10ms to 1ms
- Reduce scheduling period from 10ms to 5ms
- Reduce minimum task vruntime to 0.5ms (10 total tasks per sched period)
- Enable strict skip-buddy again (must skip the skip buddy)
- Enable non-task capacity again (CPU capacity decrements when idle)

NOTE: This build will benefit users whose kernel's are built with CONFIG_SCHED_DEBUG=y, which most new devices have.

NOTE: Hackbench scores may see a slight increase since we previously had disabled wakeup preemption (whoops). You can experiment with increasing sched_min_wakeup_granularity_ns if you'd like, which should reduce hackbench scores at the cost of wakeup preemption latency increases.

TL;DR: This update should reduce scheduling latency significantly, which may correspond to reducing UI / UX lags, stutters, and delays in animations (credit to kerneltoast @ GitHub for the explanation). Thank you to RenderBroken @ GitHub for explaining the scheduler more).

Читать полностью…

KTweak Releases

- Remove migration limit changes, which are the root cause of the overheating issues.

Читать полностью…

KTweak Releases

- Remove input boost tweaks. These are really device specific and should be handled by your OEM of by CAF. This should also help battery drain on older devices.
- Add back 50/50 migration tweaks. This should help out performance on HMP/EAS devices. This shouldn't affect battery drain too much.
- Switch back to zero readahead. After benchmarking with IOZone on my OnePlus 7 Pro with Android stopped and caches cleared, it was clear that zero readahead lead to a 4% increase in synchronous read IOPS and a 2% increase in random write IOPS and random read IOPS. Fwrite and Fread were slightly hurt by around 3%/4%.

Читать полностью…

KTweak Releases

Hey guys! A good dev friend of mine @Paget96 released an awesome app called BatteryGuru. I personally endorse it and love it compared to the alternatives. He's been working hard on it and I thought I should help him out and let you guys know about it.

https://play.google.com/store/apps/details?id=com.paget96.batteryguru

Feel free to reach out to him and follow his project page at @Paget96_Projects.

Thanks for supporting us both ❤️

Читать полностью…

KTweak Releases

Just updated the script on master and dev. Check the changelog for more details.

Читать полностью…

KTweak Releases

For those of you who prefer to use the Magisk Module over the app, I have updated the module so that upon installation, it pulls the latest module. That means you can reinstall the module to update the script. Only use EITHER the module or the app, not both.

NOTE: This uses curl instead of wget until BusyBox fixes their TLS. If you get installation failed, it's likely because your device does not have curl installed. You may want to look for ccbins on the Magisk Manager to give your device curl.

https://github.com/Magisk-Modules-Alt-Repo/ktweak/releases

Читать полностью…

KTweak Releases

Hey ✌️

I see a lot of people willing to help with the translations! I setup a Crowdin here to help unify everything. Feel free to contribute!

So far I just want to translate the top 30 languages that Crowdin has.

https://crowdin.com/project/ktweak

Читать полностью…

KTweak Releases

Hey, just wanted to let everyone know that I released a super tiny donation package app on the Play Store. Some people were having issues with PayPal, so I though that this would be more universal.

It doesn't unlock anything, it doesn't even have an interface. It is simply a blank app that costs 2.99 USD to show your support. Totally optional, don't worry about it if you don't want to. Just wanted to let you guys know <3

https://play.google.com/store/apps/details?id=com.draco.donation

Читать полностью…

KTweak Releases

- Attempt to fix apply on boot for some devices
- Add Portuguese translations (Thank you @ChrysL)
- Show ongoing notification during apply, dismiss automatically when done
- Attempt to update to latest script on app start
- Internal cleanup

HOPEFULLY this fixes the issues with the boot receiver that many of you are having.

Читать полностью…

KTweak Releases

- Fix crash if no network
- Fix boot script not working sometimes
- Make app more agnostic to KTweak (for later use)
- Fetch available branches from git api
- Allow rotation
- Fix crashes and improve overall code
- Add git API token for up to 5000 requests per hour instead of only 60

Branches:
- Dev: Early access to changes
- Stable: Main branch, stable
- Throughput: Experimental, instead of latency it adjusts for raw performance, use for games and very old devices.

Читать полностью…

KTweak Releases

For those still using the magisk module, here's a version that fixes bootloops. The issue was HRTICK, which is apparently unstable on some kernels.

If you are using the app beta, simply reboot and the changes apply automatically post-boot after a few minutes.

Читать полностью…

KTweak Releases

- Greatly improve logging style (proper colors, more verbose)
- Remove thread autogrouping (different from regular autogrouping)
- Reduce migrations per sched period further
- Keep sched entities registered as cache hot for longer
- Enable sched HRTICK (halves latencies)
- Reduce sched period times even further, reducing max and min latencies significantly

This build should perform smoother than the previous build, however I am unsure of the performance or battery implications these changes may induce. Try them for yourself and report back to me after a few hours.

Читать полностью…

KTweak Releases

- Disable sched_autogroup

This tunable groups tasks based on their scheduler priority, which can be SCHED_OTHER, SCHED_IDLE, SCHED_FIFO, or SCHED_RR. The benefit that autogrouping exhibits is most observable on Linux desktops with around 2 or less cores. However, as technology advances and most modern devices use four cores or more, and the scheduler has evolved, autogrouping becomes a burden, especially on Android. Android already places tasks in cgroups, such as top-app, bg, fg, etc. to set their priority without throttling them directly or taking time away from higher priority tasks (which autogroup does).

TL;DR: Autogrouping reduces jitter due to scheduling latency on older systems, but creates overly-fair task separations on modern systems. It should be disabled to improve both power efficiency and performance.

Читать полностью…

KTweak Releases

- Detect ZRAM devices in /dev (Linux compatible)
- Modprobe ZRAM kernel module for Linux devices
- Add support for split ZRAM devices (zram0, zram1, etc.)
- Don't silence ZRAM configuration
- Don't log tunables that are already set
- Silence swapon / mkswap
- Fix compression algorithm not applying

Читать полностью…

KTweak Releases

- Exit if root check fails
- Don't store logs anymore (you can get the log still by typing ktweak in a root terminal)
- Silence xwrite errors
- Add back ZRAM with priority: (lz4, zstd, lzo, deflate)
- Update install message
- Run flusher threads once every 30s instead of every 10s
- Keep dirty pages in ram for at least 30s
- Jump to max freq at 90% load instead of 80%

Читать полностью…

KTweak Releases

- Fix slow loading times in games by adding back 64 KiB readahead

Читать полностью…

KTweak Releases

- Add back hispeed frequency modification to max out at 80% usage. Hopefully this doesn't impact power usage too much, but it seems to improve performance.

Читать полностью…

KTweak Releases

- Do periodic writeback again
- Don't touch dump tasks
- Reduce cache pressure
- Sleep for 2m before applying
- Remove migration tweaks
- Reduce CPU input boost

This should have better battery, but let me know your thoughts.

Читать полностью…
Subscribe to a channel