Repository navigation
KsuWebUI-SN 2.0-60
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: new Blend Banners option that turns each module banner into its card background, a cleaner Export tab in Eruda, and a fix for Eruda settings storage keys.
✨ New
- Blend Banners: a new switch under Module Banners in the settings drawer. When it's on, the banner no longer sits at the top of the card. It becomes the whole card background instead.
- Always readable: the image is dimmed automatically so the text stays clear. Bright images get a stronger dim, darker ones a lighter dim, and it follows light and dark theme.
- Only when banners are on: the switch appears only while Module Banners is on and hides when it's off.
- Info and translations: it has its own entry in the Info dialog and is translated into Arabic, French, Japanese, Polish and Simplified Chinese.
- Off by default: nothing changes for you until you turn it on.
🔁 Changed
- Bolder module cards: the author, version, description, size, date and update labels on every module card are now bold, in light and dark theme, with or without banners, so text stays easy to read on banner backgrounds. The description also uses the same colour as the other lines now, instead of a dimmer grey, on every card. The Disabled Module, Hidden Module and Update available texts are extra bold, heavier than the other labels, so they stand out.
- Chips: the size, date, disabled and hidden chips are now see-through with a visible border, so they look like proper chips on banner backgrounds. The Update available chip is now a solid green with white text and icon, in light and dark theme, so it stands out.
- Cleaner Export tab (Eruda): the extra heading is gone, the description is lighter and better spaced, and the Export button is now a rounded accent button.
- Eruda storage keys: the Executions tab's saved sort order now uses an
eruda-prefix (eruda-ksu-exec-order), so Eruda's own keys all share one prefix. Export now picks up Eruda data by that prefix (plusactive-eruda).- One-time reset: the Executions sort order goes back to newest first once, then is remembered as before.
⚠️ 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.
⚙️ Under the hood
For developers ⚠️ (Click to expand)
Blend Banners
BannerBackdrop.kt(new): a small drawable that center-crops the banner to the card bounds and draws a flat scrim on top.- Scrim strength: it uses the card colour at 60% to 90% opacity in dark theme and 40% to 70% in light theme, so banners stay visible in light mode. In light theme the author, version and description text uses the stronger
colorOnSurfacecolour while blended. The banner's average brightness (an 8 by 8 sample) is stored asModule.luma, and the card's theme decides which brightness needs the stronger dim. MainActivity.kt: newopt_blend_bannerspreference,prepBanner()(skips the bottom fade used by the normal banner), and the card binding. Card text colours are cached once, and blended cards in light theme usecolorOnSurfacefor the author, version and description text.- Layouts and strings: new
sw_blend_bannersswitch inactivity_main.xml, an id on the card content layout initem_module.xml, andopt_blend_banners/info_blend_banners_bodyin all six locales.
Module cards
item_module.xml:android:textStyle="bold"on the author, version, version code and description text, and a newTextAppearance.KsuWebUISN.ChipBoldstyle (inthemes.xml) on the size, date and update chips.- Chips: all six chips in
item_module.xmlsetchipSurfaceColorto transparent (Material was filling them with its surface colour), and usecolorOutlinefor the border. The update chips (module_updateand the icon-onlystatus_update) are the exception: they use a solidupdate_chip_solidfill and border withupdate_chip_on(white) text and icon, both new colours incolors.xml, the same in light and dark theme.update_chipstays for the Info dialog icon. The unusedupdate_chip_textcolour was removed. - Heavier status text: new
TextAppearance.KsuWebUISN.ChipStatusstyle inthemes.xml(Black font weight) on themodule_updatechip.MainActivity.ktswitches the date chip to it only while it shows Disabled Module or Hidden Module, and back toChipBoldotherwise.
Eruda
assets/eruda/export.js: updated styles (.kex-openbutton, spacing) andisErudaKeynow matches^erudaoractive-eruda. The title element is removed.assets/eruda/executions.js:ORDER_KEYis noweruda-ksu-exec-order.WebViewHelper.kt: the unusedexportTitletext was removed.
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.