4.0 KiB
4.0 KiB
KernelSU Anti-Bootloop Backup System: Quick Start Guide
This guide provides simple instructions to get started with the KernelSU Anti-Bootloop Backup System.
Installation
- Download the latest module ZIP from the releases page
- Install via KernelSU Manager:
- Open KernelSU Manager
- Go to Modules tab
- Tap "Install" and select the downloaded ZIP
- Reboot your device
- Verify installation by checking for the module in KernelSU Manager
First-Time Setup
Via Command Line
Open a terminal app or ADB shell and run:
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh init"
Via Web Interface
-
Start the web server:
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/webui-server.sh start" -
Access the web interface:
- On device: Open browser and navigate to
http://localhost:8080 - From computer: Run
adb forward tcp:8080 tcp:8080then navigate tohttp://localhost:8080
- On device: Open browser and navigate to
-
Follow the setup wizard
Common Tasks
Create Your First Backup
Full System Backup (Command Line)
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh backup-full 'My first backup' local true"
App Backup (Command Line)
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh backup-app 'com.example.app1,com.example.app2' 'My app backup' local"
Via Web Interface
- Open the web interface
- Click "Create Backup"
- Select backup type
- Configure options
- Click "Start Backup"
Restore a Backup
Command Line
# List available backups
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh list-backups"
# Restore a backup (replace BACKUP_ID with the actual ID)
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh restore BACKUP_ID"
Via Web Interface
- Open the web interface
- Click "Backups" tab
- Find the backup to restore
- Click "Restore"
- Select components to restore
- Click "Start Restore"
Set Up Automated Backups
Command Line
# Create a daily backup schedule
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh create-schedule 'Daily Backup' 'daily' 'default'"
# Create a weekly backup schedule
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh create-schedule 'Weekly Backup' 'weekly' 'default'"
Via Web Interface
- Open the web interface
- Click "Schedules" tab
- Click "Add Schedule"
- Configure schedule options
- Click "Save"
Storage Options
The backup system supports multiple storage locations:
- Local: Internal device storage (default)
- External: SD card
- USB: USB OTG storage
- Network: FTP, SMB, or WebDAV
To use an alternative storage location, specify the adapter name when creating backups.
Example:
# Backup to SD card
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh backup-full 'SD card backup' external true"
Encryption
All backups can be encrypted for security. To create an encrypted backup, specify true as the encryption parameter:
su -c "sh /data/adb/modules/kernelsu_antibootloop_backup/scripts/backup-integration.sh backup-full 'Encrypted backup' local true"
Troubleshooting
Check Logs
cat /data/adb/modules/kernelsu_antibootloop_backup/config/logs/integration.log
Common Issues
- Permission Denied: Ensure you're running commands with
su -c - Storage Full: Check available space on your storage destination
- Backup Failed: Check logs for detailed error messages
- Web Interface Not Loading: Ensure the server is running and ports are correctly forwarded
Additional Resources
- Full documentation:
/data/adb/modules/kernelsu_antibootloop_backup/docs/backup-system.md - Project website: https://github.com/yourusername/kernelsu_antibootloop_backup