Repository navigation
KsuWebUI-SN 2.0-69
Important
Still on the old KsuWebUI-SN (package io.github.a13e300.ksuwebui)? KsuWebUI-SN now uses a new package name, scorpion.ksuwebui.sn. Android treats it as a new app, so this release does not replace your current install, even if the in-app update popup offers it. Install it, then uninstall the old KsuWebUI-SN yourself. Your settings in the old app (pins, backgrounds, icons, theme) are not carried over.
Already using scorpion.ksuwebui.sn? Nothing to do, this is a normal update.
Tip
Highlights: a new Banner transparency slider for every module banner, Brazilian Portuguese is now available, module WebUIs open faster, and the module settings menu has a fresh look.
✨ New
- Banner transparency: a new action in each module's settings sheet, shown for modules that have a banner. It opens a small sheet with a slider from 0% to 80% and a live preview of the card, so you can see the result as you drag.
- Per module: every module keeps its own value, so you can fade one banner and leave the others as they are.
- Works with Blend Banners: with Blend Banners off, a higher value makes the banner more see-through. With Blend Banners on, it controls how strongly the card colour covers the banner, and it never goes below 5% so the text stays readable.
- Reset: puts the module back to its default. With Blend Banners on that is the automatic dim you had before.
- Cleans up after itself: the value is cleared when you set a new banner or remove the banner.
- Translated: available in all languages.
- Brazilian Portuguese (Português do Brasil): the whole app is now translated, and there is a Brazilian Portuguese README too. Thank you VictorGabriel7Dev for the translation!
🔁 Changed
- Faster module WebUIs: a module's WebUI now opens right away instead of waiting for the list of installed apps. The list is loaded only when a module asks for it, and it is refreshed each time you open a WebUI, so apps you just installed or removed are picked up.
- New look for the module settings menu: the actions are now rounded rows with a thin border and a little space between them. Destructive actions (Remove banner, Remove icon, Clear module data) are shown in red.
- Clearer wording: Set background and Remove background are now Set banner and Remove banner, in every language.
⚠️ Moving from the old package
- Install this release.
- Open it and grant root as usual.
- Uninstall the old KsuWebUI-SN (the one with the previous package name).
The original KsuWebUI Standalone is not affected. It keeps its own package name and can stay installed.
🙏 Thanks
- @VictorGabriel7Dev for the Brazilian Portuguese translation.
⚙️ Under the hood
For developers ⚠️ (Click to expand)
Banner transparency
MainActivity.kt: newshowBannerTransparency()bottom sheet and a per module preferencebanner_alpha_<module id>(a float from 0 to 0.8). New helpersbannerTransparency(),autoBlendAlpha()(the automatic scrim formula, moved out of the card binding) andblendScrim()(the saved value with a 5% minimum, or the automatic value). Normal banners usebanner.alpha = 1 - transparency. The preference is removed when the banner is replaced or deleted.- Layout and drawables: new
sheet_banner_transparency.xml(a MaterialSlider, a rounded live preview and Reset and Done buttons) andic_opacity.xml. - Strings:
set_backgroundandremove_backgroundare renamed toset_bannerandremove_banner. Newbanner_transparency,resetanddonestrings are added to all seven locales.
Module settings sheet
item_sheet_action.xml: the row now uses the newbg_sheet_action.xml(a ripple with a 20dp roundedcard_strokeborder), 16dp and 3dp margins, a 52dp minimum height and 20dp padding.MainActivity.kt:action()has a newdangerparameter that tints the icon and label withDISABLED_RED. It is used for Remove banner, Remove icon and Clear module data.
WebUI loading
AppList.kt:getApplist()now loads on demand throughrunBlocking, guarded by aMutex.cachedAppsis@Volatileand a newinvalidate()clears it.WebUIActivity.kt: the startup coroutine that preloaded the app list beforeprepareWebView()is gone, andonCreatecallsAppList.invalidate().MainActivity.kt: the app list preload at startup is removed.FileSystemService.kt: the root check usesShell.getShell().isRootinstead of creating a new root shell each time.
Translations and docs
values-pt-rBR/strings.xml(new): the Brazilian Portuguese translation, with the same strings as the English file.docs/README_pt-BR.md(new): the Brazilian Portuguese README. The language links inREADME.mdand everydocs/README_*.mdnow include it, the Translating section lists it, and theadd_language.pyexample forpt-BRwas removed because the language is now included.
Not changed
- The package, AIDL interface, URI scheme and theme names from the package rename are as before.
- The
ksu,ksu_bars,ksu_downloadandksu_exec_logJavaScript bridges and the R8 rules are as before.