Skip to content

feat: add KernelSU module export and packaging support - #1

Merged
Mr-Hasan-Hamid merged 1 commit into
mainfrom
feat/add-kernelsu-support
Sep 23, 2026
Merged

Mr-Hasan-Hamid merged 1 commit into
mainfrom
feat/add-kernelsu-support

Conversation

@Mr-Hasan-Hamid

Copy link
Copy Markdown
Owner

Overview

Adds native support for packaging and exporting boot animations as KernelSU systemless flashable modules, positioned symmetrically alongside existing Magisk module options.

Changes

  • Module Packaging Hook (useMagiskPacker.ts): Added downloadAsKernelSUModule with KernelSU-compliant module attributes (bootanimdeck_ksu_*), systemless /system overlay structure, and automated packaging.
  • Playback Drawer UI (PlaybackDrawer.tsx): Refactored drawer actions into a balanced, symmetrical layout with a full-width standard ZIP download button above twin Magisk and KernelSU module buttons.
  • Studio Export (ZipEditorConfigPanel.tsx & ZipEditorTab.tsx): Added exportKernelSUModuleZip to compiler utilities and added a KernelSU export action to the Studio configuration panel.
  • Package Status & Documentation (ZipSidebarPanel.tsx & OnDeviceTab.tsx): Updated package stats and installation docs to cover KernelSU flashing workflows.

Copilot AI lite review requested due to automatic review settings September 23, 2026 14:31
@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bootanimdeck Building Building Preview Sep 23, 2026 2:31pm UTC

@Mr-Hasan-Hamid
Mr-Hasan-Hamid merged commit abb74bf into main Sep 23, 2026
3 of 4 checks passed
@Mr-Hasan-Hamid
Mr-Hasan-Hamid deleted the feat/add-kernelsu-support branch September 23, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Resized module contents can use DEFLATE instead of required STORE compression, and the status label can misidentify recovery ZIPs.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Low severity

Open (2)
What changed in this PR

Adds KernelSU module packaging and export support alongside existing Magisk workflows.

Changes:

  • Adds KernelSU packaging for gallery and Studio exports.
  • Updates download/export controls and compiler utilities.
  • Updates module status text and installation documentation.

Review findings: Resized animations may use DEFLATE instead of required STORE compression, affecting both module paths. The module-status label may also misidentify recovery ZIPs as KernelSU modules.

File Description
src/​hooks/​useMagiskPacker.ts Adds shared Magisk and KernelSU packaging.
src/​components/​PlaybackDrawer.tsx Adds KernelSU download action.
src/​app/​studio/​utils/​compiler.ts Adds KernelSU Studio export.
src/​app/​studio/​components/​ZipSidebarPanel.tsx Updates module status display.
src/​app/​studio/​components/​ZipEditorTab.tsx Wires KernelSU export handling.
src/​app/​studio/​components/​ZipEditorConfigPanel.tsx Adds KernelSU export button.
src/​app/​docs/​components/​OnDeviceTab.tsx Documents KernelSU installation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

const magiskZip = new JSZip();

// module.prop contents
// 2. Create the Module ZIP using JSZip
<div className="flex justify-between border-b border-dashed border-neutral-200 dark:border-neutral-850 pb-2 text-[10px] text-cyan-600 dark:text-cyan-400 font-bold font-mono">
<span>Installer Module:</span>
<span>Magisk / Recovery ZIP</span>
<span>Magisk / KernelSU Module</span>

This branch was successfully deployed

1 active deployment
Preview — 6a86f451 Deployed Sep 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants