29 Commits

Author SHA1 Message Date
a55b326b56 Rename AppState to MainAppState and fix JavaScript errors
- Renamed all AppState references to MainAppState for better naming consistency
- Fixed duplicate declaration error by consolidating state management
- Added null checks to prevent TypeError in DOM manipulation
- Added try-catch blocks for JSON parsing to handle malformed data
- Resolved JavaScript conflicts and improved error handling
- Maintained backward compatibility with window.AppState assignment
v1.0.1-a55b326
2025-07-22 16:37:50 +02:00
dc67be8369 Add permissions to release workflow to fix 403 errors v1.0.1-dc67be8 2025-07-22 04:22:20 +02:00
78b1960afb Fix GitHub Actions release workflow - remove unsupported parameters 2025-07-22 04:20:06 +02:00
584e7d46a8 Fix updateJson URL in module.prop - correct branch reference and file path 2025-07-22 04:17:19 +02:00
5a7cf457fc Fix YAML indentation in release.yml - correct spacing for with and env blocks 2025-07-22 04:13:56 +02:00
9c3198b44c Fix YAML syntax error in release.yml - correct indentation for 'uses' key 2025-07-22 04:09:36 +02:00
a78906f7d7 Fix JSON syntax in update.json - remove invalid structure and organize properties correctly 2025-07-22 04:07:04 +02:00
34348e5ea5 Update all repository references to kernelsu-antibootloop-and-backup 2025-07-22 03:39:39 +02:00
ee595bda48 Clean up repository: remove ZIP files, add .gitignore, fix release workflow 2025-07-22 02:28:15 +02:00
14a6139972 Remove all Terragon Labs references, update to use only overspend1/overmodules repository 2025-07-22 02:26:29 +02:00
f36ffb795a Setup automated GitHub workflows and MMRL integration
- Add automated release workflow with ZIP building
- Add MMRL repository auto-update workflow
- Update all repository URLs to point to overspend1/overmodules
- Add comprehensive README with installation instructions
- Add PowerShell script for easy release creation
- Configure GitHub Pages deployment for MMRL repo
2025-07-22 02:24:31 +02:00
53a0492bba 🎉 Initial MMRL repository setup with KernelSU Anti-Bootloop & Backup module 2025-07-22 02:20:21 +02:00
8530a91066 style(ui): revamp UI with modern premium design system and styles
- Replace Material Design 3 tokens with a modern premium design system
- Introduce vibrant color palette with gradients and glass morphism
- Add modern typography, spacing, border radius, shadows, and animations
- Update global styles for smooth scrolling, scrollbar, and text effects
- Redesign header, navigation tabs, and layout with glass backgrounds and gradients
- Enhance logo with animation and interactive hover effects
- Improve responsiveness and spacing for header and navigation
- Overall UI refresh for a premium modern web interface look and feel

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 23:51:41 +00:00
8071a21d71 feat(api): add secure command execution API and HTTP client fallback
- Introduce /api/command/exec endpoint in webui-server.sh for executing a limited set of safe shell commands with JSON response.
- Implement security checks to restrict allowed commands and return appropriate HTTP status codes.
- Add HTTPClient in webroot/js/api.js to communicate with backend API, including execCommand method.
- Enhance ksu mock object to try HTTPClient execCommand first, then fallback to mock implementation.
- Add accessibility improvements in CSS with skip-link styles.

This enables secure remote command execution via the web UI and improves development mode API simulation.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 23:39:12 +00:00
34d154acca feat(ui): revamp UI with new layout, navigation, and Material Design styles
- Redesigned main app layout with header, nav tabs, and footer
- Replaced old navigation with accessible tab-based navigation
- Updated styles to use Material Design components and classes
- Added new CSS for charts, metrics, filters, and cards
- Improved accessibility with ARIA roles and labels
- Enhanced UI.js with navigation handling and ripple effects
- Updated modal, buttons, sliders, switches, and inputs styling
- Added offline banner and status chips with new styles
- Included new backup, safety, and settings page layouts
- Added support for dynamic page navigation and state management
- Packaged new version 1.0.0 zip archive

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 23:13:43 +00:00
a47371a8ca feat(dashboard): add mock data for offline mode in dashboard functions
- Added mock boot history data for offline mode
- Added mock system metrics data for offline mode
- Added mock disk usage data and UI update for offline mode
- Added mock backup sizes data for offline mode
- Added mock activity log data and update call for offline mode

This enables the dashboard to display relevant data when the app is offline, improving user experience.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 23:03:13 +00:00
d5763b86dd refactor(customize.sh): improve script robustness and update author info
- Added checks for directory existence before setting permissions
- Ensured config directory creation before writing device configs
- Updated author information from OverModules to Wiktor/overspend1
- Added immediate dashboard refresh on initial load in web UI
- Updated copyright info in web UI footer

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 19:11:53 +00:00
df8d21b1f9 fix(backup): add fixed version of kernelsu_antibootloop backup zip
Replaced the original kernelsu_antibootloop_backup-v1.0.0.zip with a fixed version and added kernelsu_antibootloop_backup-v1.0.0-fixed.zip to address issues causing boot loops.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 18:59:11 +00:00
44d7983dbf feat(ui): add offline mode UI, activity log, and recovery features
- Added bottom navigation styles and ripple effect enhancements
- Implemented placeholders for charts when Chart.js is unavailable
- Improved dynamic loading and error handling for Chart.js
- Refactored main.js to initialize UI and Dashboard safely
- Added extensive new UI functions for system info, offline details, activity log, bootloop test, recovery points, reboot dialog, logs, and about dialog
- Exposed new UI functions globally for interaction
- Enhanced user feedback with notifications and modals

These changes improve user experience during offline mode and provide comprehensive system monitoring and recovery capabilities.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 18:51:57 +00:00
55f3763ad8 chore(backup): add new kernelsu_antibootloop_backup v1.0.0 archive files
Added new binary archive files kernelsu_antibootloop_backup-v1.0.0.tar.gz and updated kernelsu_antibootloop_backup-v1.0.0.zip with expanded content.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 18:34:51 +00:00
f09cd85809 chore(author): update author information in multiple files
Updated the author field from 'Terragon Labs' and 'OverModules' to 'Wiktor/overspend1' in module.prop, default.profile, and api.js to reflect current maintainer.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 18:29:54 +00:00
610db394a8 feat(analytics,backup,boot-monitor,security,service,api): add advanced analytics, backup, boot monitoring, security, and performance features
- Introduce analytics-engine.sh for system and module metrics, anomaly detection, and reporting
- Enhance backup-engine.sh with incremental backups, compression, encryption, and progress tracking
- Upgrade boot-monitor.sh with ML-based anomaly detection, adaptive timeouts, and predictive failure analysis
- Add security-framework.sh for advanced security, encryption, session management, and intrusion detection
- Improve service.sh with performance monitoring, job management, and optimized service startup
- Extend webroot/js/api.js with caching, rate limiting, performance metrics, and robust command execution

These changes provide comprehensive monitoring, security, and backup capabilities with improved reliability and performance.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 18:12:30 +00:00
8820c9e6d8 style(webui): revamp CSS to Material Design 3 with responsive and accessibility
- Replaced legacy styles with Material Design 3 design tokens and color system
- Added typography scale, elevation, motion, shape, and state layer variables
- Implemented light and dark theme support with CSS variables
- Refactored layout, buttons, cards, navigation, dialogs, and form elements
- Enhanced accessibility with focus-visible outlines and reduced motion support
- Added responsive design for various screen sizes and print styles
- Introduced utility classes for flexbox, spacing, text alignment, and visibility
- Improved UI consistency, animations, and visual hierarchy

This major style overhaul modernizes the WebUI appearance and usability.

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 17:08:16 +00:00
d698f8f169 fix: correct KernelSU module ZIP structure
- Fixed ZIP file structure to have files at root level (not in subdirectory)
- Module files now properly accessible for KernelSU installation
- Verified all required files present: module.prop, META-INF, scripts, webroot
- ZIP integrity test passed (41 files, 130KB)

ZIP structure now compliant with KernelSU module format:
- module.prop at root
- META-INF/com/google/android/* installation scripts
- scripts/ directory with service.sh, post-fs-data.sh, etc.
- webroot/ directory with WebUIX interface

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 16:52:45 +00:00
29f324c677 fix: replace tar.gz with proper ZIP format for KernelSU compatibility
- Removed .tar.gz package format
- Added proper .zip package format required by KernelSU module system
- ZIP contains all module files with correct structure for installation

The module is now in the standard KernelSU module format ready for:
- Direct installation via KernelSU manager
- MMRL repository distribution
- Manual sideloading

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 16:44:34 +00:00
91e09a3431 feat: add KernelSU Next API integration and distribution package
- Updated WebUI to use proper KernelSU Next APIs (exec, spawn, toast, fullScreen, moduleInfo, package management)
- Added WebUIX framework compliance with progressive web app features
- Implemented missing core functionality (recovery points, protection testing, settings application)
- Enhanced module metadata for KernelSU Next compatibility
- Added distribution package for release

Module now fully compatible with:
- KernelSU Next WebUI APIs
- WebUIX framework standards
- MMRL integration requirements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 16:41:16 +00:00
a87e4b33c1 feat(settings): add comprehensive settings application script
- Introduce apply-settings.sh to apply and validate module settings
- Manage WebUI, backup, safety, system, and notification configurations
- Support automatic backup scheduling and safe mode configuration
- Include settings validation and default settings creation
- Enhance module configuration management and logging

Co-authored-by: terragon-labs[bot] <terragon-labs[bot]@users.noreply.github.com>
2025-07-21 16:37:20 +00:00
overspend1
c454efdf5e Complete KernelSU Anti-Bootloop Backup Module implementation with WebUI, encryption, and device compatibility 2025-07-21 18:23:40 +02:00
Your Name
038449d8f8 Initial commit 2025-07-20 17:27:10 +02:00