Commit Graph
3701 Commits
Author SHA1 Message Date
topjohnwu b7ec312380 app: improve Material 3 component conformance
- Replace custom dividers with VerticalDivider / HorizontalDivider
- Use standard Material 3 search styling for DenyList
- Remove redundant button / FAB shape overrides and card clip modifiers
- Convert custom warning and notice boxes to Material 3 Card
- Align PrimaryTabRow to full width in LogScreen

Assisted-by: Gemini 3.7 Flash
2026-09-02 02:08:23 -07:00
topjohnwu bc3efc03bd app: migrate to Material 3 NavigationBar
Replace the custom floating navigation bar with official Material 3
NavigationBar and NavigationBarItem components, and remove unnecessary
bottom padding workarounds across all screens.

Assisted-by: Gemini 3.7 Flash
2026-09-02 02:08:23 -07:00
topjohnwu 3612faf766 app: configure link color for MarkdownText
Explicitly set linkTextColor on the underlying TextView so Markdown
links adhere to the active Compose theme.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu 81342a572f app: improve scrollbar drag handling and inertia
Override active fling inertia on touch down using
MutatePriority.UserInput and handle scroll events sequentially via a
conflated channel.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu cbfd2a736f app: use full-screen dialog for install screen
Replace the install bottom sheet with a full-screen Dialog to provide
more vertical space for release notes and installation methods.

- Remove the legacy multi-step wizard logic from InstallViewModel.
- Use styled Cards with SettingsSwitch for install options and
  SettingsArrow for installation methods.
- Remove max height constraint on MarkdownText to allow release notes
  to expand naturally with full-screen scrolling.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu eb1ae600e2 app: use MagiskDialog in SuRequestScreen
Refactor SuRequestScreen to use the shared MagiskDialog component,
matching standard dialog styling across the app.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu b80d2b74e9 app: adjust MagiskDialog width and margins
Disable platform default width on dialogs and apply standard horizontal
padding and max-width constraints for better readability.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu c6fddfbe25 app: consolidate dialogs into MagiskDialog
Add a shared MagiskDialog component to unify styling, typography,
shape, and button layouts across all dialogs in the app module.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
topjohnwu ec3b0b8c5f Never import android.R 2026-09-01 23:04:00 -07:00
topjohnwu d3d5698001 app: use pager for tabs in logs screen
Add a HorizontalPager in LogScreen to support swiping horizontally
between the Superuser and Magisk log tabs instead of paging the outer
main navigation tabs.

Assisted-by: Gemini 3.7 Flash
2026-09-01 23:04:00 -07:00
vvb2060 4e44848a6e app: update zh-rCN translation 2026-09-01 14:56:44 -07:00
Neebe3289 93d2babf66 app: Update Indonesian translations
update and cleanup indentation space.

Change-Id: Ief761e87ae9367323f0ca6c150192817cff83c62
2026-09-01 14:56:22 -07:00
topjohnwu 7847ab6de8 app: fix navigation when flashing modules
When launching a flash intent using FLAG_ACTIVITY_CLEAR_TOP, Android
recreates MainActivity if singleTop or singleTask is not set, causing
the app to briefly display the home screen before showing the flash
screen.

Set MainActivity to singleTask, add FLAG_ACTIVITY_SINGLE_TOP to flash
intents, and default cold-start flash zip intents to the modules tab.

Assisted-by: Gemini 3.7 Flash
2026-08-31 23:46:10 -07:00
topjohnwu 3e6e4326b1 app-legacy: add webview zygote to denylist
Port WebView Zygote denylist support to the legacy app module.

Assisted-by: Gemini 3.7 Flash
2026-08-31 19:29:38 -07:00
topjohnwu a5c8861629 Promote next-gen app to production, and demote existing app to legacy 2026-08-31 15:55:14 -07:00
topjohnwu 74df51fd1b app-ng: improve uninstalled state on home screen
When Magisk is not installed:
- Display "Not Installed" in error color instead of "N/A"
- Use a prominent filled primary button for the Install action
- Dim the Magisk icon tint to outline color

Assisted-by: Gemini 3.7 Flash
2026-08-31 10:54:59 -07:00
topjohnwu e9fd6b58ab app-ng: align app card icon and title with magisk
Adjust the App card icon size to 48dp and the following spacer to 16dp
to match the Magisk card and align their titles horizontally.

Assisted-by: Gemini 3.7 Flash
2026-08-31 01:49:57 -07:00
topjohnwu 64be5dcc2e app-ng: move uninstall button to top app bar
Remove the oversized uninstall button from the home screen content and
place an uninstall action icon in the top app bar next to the reboot
button.

Assisted-by: Gemini 3.7 Flash
2026-08-31 01:49:57 -07:00
topjohnwu 99039b7e6c app-ng: improve su request dialog layout
Widen the su request dialog card to fit screen width on phones while
capping at 560dp on larger screens. Move the package name to its own
row below the app icon and title to avoid clipping and allow it to
wrap onto multiple lines when necessary. Make the dialog content
vertically scrollable to ensure all actions are visible in landscape.

Assisted-by: Gemini 3.7 Flash
2026-08-31 01:49:57 -07:00
Wang Han b2d86c79c2 Add webview zygote as umount target
https://github.com/tiann/KernelSU/commit/4521784328352c54334beb29e05c74360b60d7cb
2026-08-30 02:59:46 -07:00
topjohnwu faa5f85b15 Fix legacy app launch 2026-08-29 23:34:16 -07:00
topjohnwu a6ea7cefea Update links, icons, and developer 2026-08-29 23:34:16 -07:00
topjohnwu b8b140fafa app-ng: center align empty state placeholder text
Set textAlign = TextAlign.Center on the empty state placeholder text in
SuperuserScreen and ModuleScreen so multi-line messages are centered
horizontally instead of left-aligned.

Assisted-by: Gemini 3.7 Flash
2026-08-30 00:03:52 +00:00
topjohnwu a2affbb415 app-ng: support horizontal scrolling in terminal
Increase the terminal buffer columns to prevent text lines from wrapping
at the screen boundary, and enable bidirectional scrolling in
TerminalScreen.

Track the maximum used column across terminal lines dynamically to
constrain horizontal scrolling to actual content, and add a horizontal
scrollbar component matching the vertical scrollbar.

Assisted-by: Gemini 3.7 Flash
2026-08-30 00:03:52 +00:00
topjohnwu cbe497e196 app-ng: improve Magisk log parsing and UI
Magisk daemon internal logs skip the TAG field, outputting directly
after the priority level. Update MagiskLogParser to treat logcat tags
as part of the message and strip leading delimiters for internal logs.

Also adjust the Magisk log card UI layout to format PID/TID clearly and
remove the duplicate key generation in LazyColumn that caused crashes.

Assisted-by: Gemini 3.7 Flash
2026-08-27 17:19:55 +00:00
topjohnwu 227e3cee0a Update lsposed for testing 2026-08-27 17:19:55 +00:00
topjohnwu ce404d1951 Update gradle dependencies 2026-08-27 17:19:55 +00:00
topjohnwu 5480fc41c3 app: inject prebuilt bootctl into jniLibs
Download updated multi-arch prebuilt bootctl binaries built from
Android 14 (android-14.0.0_r1) and package them into jniLibs alongside
busybox instead of bundling a single binary in assets.

The new bootctl binaries support AIDL Boot HAL implementations on
Android 14+ (API 31+), fixing OTA slot switching issues on newer
devices like Pixels.

Update post-OTA install logic in the app and shell scripts to use the
native bootctl executable from MAGISKBIN.

Fixes #8824
2026-08-27 03:29:31 +00:00
topjohnwu 4623f546e3 Convert subproject AGENTS.md into skills 2026-08-26 05:42:55 +00:00
topjohnwu 7600d3664f app: default to Monet theme and filter pre-Android S
Default to Monet (dynamic color) theme options on supported API
versions (Android S+) while hiding Monet options on unsupported
versions (< Android S).

Introduce ColorMode enum to encapsulate theme modes and UI index
mapping logic cleanly.

Assisted-by: Gemini 3.6 Flash
2026-08-23 15:42:12 +00:00
topjohnwu 8297807b8b apk-ng: refine M3 theme color schemes
Update light and dark color schemes in apk-ng to strictly align with
Material 3 Expressive color guidelines. Explicitly define surface
container tokens for improved contrast and card visibility, and
enhance primary and tertiary accents.

Assisted-by: Gemini 3.6 Flash
2026-08-23 15:42:12 +00:00
topjohnwu 99a6e2749f app: modernize architecture and state in apk-ng
Refactor apk-ng to adhere to modern Android and Jetpack Compose best
practices:
- Migrate VMFactory to the type-safe AndroidX viewModelFactory DSL.
- Use collectAsStateWithLifecycle across all screen composables to
  pause flow collection when backgrounded.
- Convert PolicyItem, ModuleItem, DenyAppState, and DenyProcessState
  to pure immutable data classes, removing Compose MutableState from
  ViewModels.
- Extract shell operations from UI model classes into ViewModels.
- Bridge Info.isConnected LiveData to coroutine Flow using callbackFlow
  and collect in viewModelScope without modifying :core.
- Consolidate magisk and manager version state into
  HomeViewModel.UiState.
- Add contentType to LazyColumn items for optimal list recycling.
- Restore proper localized string resolution in MainActivityDialogs.

Assisted-by: Gemini 3.7 Flash
2026-08-20 21:36:49 +00:00
topjohnwu 3aaf18038a app: improve Compose idiomaticity in apk-ng
Refactor apk-ng UI components and screens to follow idiomatic Jetpack
Compose patterns:
- Hoist state across dialogs and bottom sheets, replacing MutableState
  parameter passing with standard boolean flags and event callbacks.
- Add modifier parameter to all UI composables and apply proper modifier
  chaining.
- Decouple screen composables from MainActivity host casting by
  providing explicit authentication and permission callbacks.
- Scope SuperuserViewModel to MainActivity and share across MainScreen
  and SuperuserDetailScreen.
- Unify loose mutable states in SuRequestViewModel into an immutable
  UiState StateFlow.
- Fix dynamic loop remember allocations in MainActivity dialogs.
- Provide stable item keys for LazyColumn in MagiskLogTab.

Assisted-by: Gemini 3.7 Flash
2026-08-20 21:36:49 +00:00
topjohnwu c578a9632b app: reload tabs when selected in apk-ng
Because HorizontalPager pre-renders all tab composables, LaunchedEffect
with a Unit key was only executing once on initial creation. As a result,
changes to configuration (e.g. update channel) calling resetUpdate()
did not trigger a reload when returning to the Home tab, causing the
install/reinstall dialog to display an empty changelog.

Trigger startLoading() whenever a tab becomes active (isCurrentPage).

Assisted-by: Gemini 3.7 Flash
2026-08-20 21:36:49 +00:00
topjohnwu 5262ecdf82 Fix default channel shown in UI 2026-08-20 21:36:49 +00:00
Alessandro Sangiorgi a5bca88317 app: reset install method when file picker or download dialog is cancelled 2026-08-18 10:57:09 -07:00
topjohnwu 999bda3bc4 app: adopt Material 3 Expressive UI in apk-ng
Update apk-ng components and screens to adhere to Material 3 Expressive
design guidelines:
- Define expressive Shapes and Typography scales in MagiskTheme.
- Add active pill indicators with spring animations to floating nav bar.
- Update card surfaces to 20dp-24dp rounded containers with tonal depth.
- Modernize action buttons and search bar to expressive pill shapes.
- Enhance dialogs and su request screens with rounded surfaces.

Assisted-by: Gemini 3.7 Flash
2026-08-18 17:56:10 +00:00
topjohnwu 6177c7c52b app: improve Material 3 colors in apk-ng
Improve Material 3 color system compliance and legibility across apk-ng:
- Add custom Magisk-branded light and dark fallback color schemes.
- Fix button color token pairings and remove custom alpha blending.
- Fix surface/background tokens in dialogs and markdown views.
- Harmonize badges and warnings with semantic M3 color roles.
- Remove redundant TopAppBar icon tint overrides.

Assisted-by: Gemini 3.7 Flash
2026-08-18 17:56:10 +00:00
topjohnwu fa6867b6a7 Remove unused resources 2026-08-18 17:56:10 +00:00
topjohnwu 47a112edd0 Update gradle dependencies 2026-08-18 17:56:10 +00:00
topjohnwu 599a572d41 app: add scrollbar to screens in apk-ng
Add interactive, draggable scrollbars to all scrollable screens and
components in apk-ng so users can fast-scroll through long content.

Assisted-by: Gemini 3.7 Flash
2026-08-18 17:56:10 +00:00
topjohnwu 8cc4d3a5c1 docs: update AGENTS.md in subdirectories
Update subproject AGENTS.md guidelines to always include the top-level
AGENTS.md.

Assisted-by: Gemini 3.7 Flash
2026-08-18 17:56:10 +00:00
topjohnwu d04ab3fbff app: resize LogLevelBadge using Material 3 Badge
Replace custom padded Box in LogLevelBadge with Material 3's Badge
component to make log level indicators more compact and consistent
with the rest of the application's badge styling.

Assisted-by: Gemini 3.7 Flash
2026-08-18 17:56:10 +00:00
topjohnwu a65e492e3d Update build-logic
- Prevent gradle from crashing when flags.prop does not exist
- Fix ndk version

[skip ci]
2026-08-11 01:09:03 +00:00
ZGX089 9bd037ae5d fix(localization): Arabic translation 2026-08-04 21:08:40 -07:00
ZGX089 f31c724e2b feat: improve/sync Arabic translation
sync with latest string changes, alongside some adjustments for previous/old strings.
2026-08-04 21:08:40 -07:00
Edytor-Studio Core 92d88d91e4 Update Ukraine(app/core/src/main/res/values-uk/strings.xml) 2026-08-04 20:29:07 -07:00
Edytor-Studio Core afda36295a Update Ukraine(app/stub-res/src/main/res/values-uk/strings.xml) 2026-08-04 20:29:07 -07:00
Neebe3289 38e83986dd Update Indonesian translations
Update and added new translation as subsequent to commit 81413b0f10, e70e8088ad

Change-Id: I16ad054110d42a3a282d34621d24b965c3dbfaed
2026-08-04 12:12:56 -07:00
I3elphegor a0394bb638 Update Czech translations in strings.xml for improved clarity and consistency 2026-08-04 12:12:23 -07:00