Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.
ShivamXD6Public archive

About

ROM Shifter is a highly advanced, pure shell-based utility designed to make Android custom ROM migrations painless, fast, and completely automated.

Topics

Resources

Stars

15 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ ROM Shifter Script

The Ultimate All-in-One Custom ROM Migration & Flashing Utility by @BuildBytes

Downloads Join Build Bytes Join Chat Android Shell Root

Important

This standalone script is no longer maintained.

The core backend engine has been fully integrated into the official ROM Shifter App with enhanced speed, fixed issues, and with overall a better experience.

πŸ‘‰ Use the official app repository instead: ShivamXD6/ROM-Shifter

ROM Shifter is a highly advanced, pure shell-based utility designed to make Android custom ROM migrations painless, fast, and completely automated. Whether you want to backup apps with their exact states, flash multiple ZIPs automatically in a broken recovery, or manage live partitions, ROM Shifter does it all without needing an internet connection. Also small in size ~1.3MB.

Check out the documentation for a deep dive into every feature and video tutorials!


✨ Key Features

πŸ“¦ Faster & Lighter App Migrator (Beats Swift Backup)

Powered by DataBackup Module, ROM Shifter achieves mind-blowing speeds and better compression than premium alternatives.

  • Insane Speed: Achieves mind-blowing benchmarksβ€”ranging from ~811.42 MB in 10 seconds (Internal Storage, eMMC, 1 App) to 52.77 GB in just 7m 28s (Internal Storage, UFS, 312 Apps), and ~509 MB in 34 seconds (SD Card, 2 Apps).

Note: Speeds automatically scale and optimize based on your device's hardware, delivering maximum possible I/O performance whether you use UFS, eMMC, or an SD Card.

  • Superior Compression: Unlike Swift Backup, it completely compresses APKs + Splits alongside data. This yields backup sizes ~3% smaller for a single app and 15%+ smaller for bulk backups compared to the competition.
  • Comprehensive Selection: Gives you granular control to backup App (Base/Splits), Data, ExtData (Android/data), Media, OBB, and Android ID (SSAID) in one single go. Also supports system apps.
  • Smart Restore Logic: Automatically grants necessary runtime permissions, restores original UID/GID, and clears GMS tracking to prevent crash loops upon booting.
  • Zero Installation: Operates entirely as a script. It leaves no trace in your app drawer and auto-removes its background caches once operations are complete.

πŸ€– Smart Auto-Flasher (The Broken Recovery Savior)

Drop your ZIPs into the Auto-Flash folder, and the background daemon handles the rest.

  • The Ultimate Use-Case: Got a custom recovery with broken touch and no PC/Laptop nearby? ROM Shifter's Auto-Flasher will sequentially flash your ROM, GApps, and Magisk automatically.
  • Intelligent Auto-Sorting: Automatically sorts your files in the safest flashing order: Firmware > ROM > GApps > Addons > Kernel > Magisk.
  • Advanced Wipe Modes: Allows you to seamlessly choose between Dirty Flash (Wipes Dalvik/Cache), Clean Flash (Dirty + Wipes System/Data), or Format Data (Wipe Everything).
  • Duplicate Handling: If multiple ZIPs of the same category exist, it safely ignores or moves the older ones out of the active flashing queue.
  • Security Failsafes: Strictly ensures your lock screen (PIN/Password) is removed before rebooting to prevent FRP in new rom or nasty decryption lockouts in recovery.

πŸ’Ύ Live Partition Manager (Unbrick on the Fly)

Backup and restore your device's core partitions while the system is running, completely bypassing the need for a PC.

  • Save Your Device: If your custom recovery dies or your bootloader (abl) gets corrupted, you can safely flash a working .img directly from the OS.
  • Smart Slot Detection: Automatically detects Active/Inactive slots for A/B dynamic devices (e.g., boot_a, boot_b) and highlights your current working slot.
  • Standard & Custom Targets: Features 1-click options for boot and recovery, while allowing you to manually type and flash any custom partition like modem, splash, or dtbo.
  • Strict Verification: Verifies the exact block path before attempting any read/write operations to prevent accidental soft-bricks.
  • Raw Image Dumps: Easily backup your currently working partitions to raw, safe .img files before testing a new kernel or recovery.

πŸ› οΈ Extras & System Optimization

A collection of powerful tools to optimize and modify your newly flashed Android system instantly.

  • Debloat & Setup: Flashed a new ROM filled with useless stock apps? Safely debloat unwanted System or User apps for User 0 in seconds.
  • Safe Restoration: Keeps track of debloated packages so you can easily restore them later with a single click.
  • Systemize App (GCam Example): If your current ROM's default camera is poor, easily convert your favorite GCam into a System App.
  • AOT DexOptimization: Purges Dalvik caches and forces a heavy Ahead-Of-Time (speed-profile) compilation in the background.
  • Instant Fluidity: Specifically designed to be run right after a dirty flash to eliminate lag and make your UI buttery smooth immediately.

πŸ“΄ 100% Offline, Portable & Open-Source

  • Ultra-Lightweight: Everything the script needs is built right into a single ~2.3 MB file.
  • Self-Extracting: Uses Base64-encoded strings to extract dependencies natively without pinging any external servers.
  • No Internet Required: Operates entirely locally. No unexpected curl downloads or "missing file" errors when you have no network.
  • Clean Workspace: Creates a highly organized, user-defined workspace folder (Default: /sdcard/#Shifter/) for easy manual file management.

πŸ“Έ Terminal UI & Options Gallery

Main Folder Selection Main Menu Auto Flash Zip in Recovery

Apps and Data Migrator Live Partition Manager Extras and Optimization


πŸ“Š Real-World Benchmarks (Data and Apps Migrator)

Compression Size Comparison

Data Backup Neo Backup Swift Backup

Backup Speed Benchmarks (Internal vs SD Card)

Internal Speed SD Card Speed


πŸš€ How to Use

Prerequisites

  • A Rooted Android Device (Magisk / KernelSU / APatch).
  • A Terminal Emulator like MT Manager (Recommended) or Termux.

Installation & Execution

  1. Download the latest ROM-Shifter.sh script from the Releases tab.
  2. Open your Terminal, Termux or MT Manager and grant Superuser access:
    su
  3. Execute the script:
    sh /sdcard/Download/ROM-Shifter.sh
    OR, Just use script executor of MT Manager.
  4. On the first run, the Interactive Directory Browser will ask you to select your main working folder. Setup your workspace and enjoy!

πŸ™ Support & Donations

If you find ROM Shifter helpful and want to keep it alive, you can donate here:

πŸ’° PayPal: Donate via PayPal

πŸ“² SuperMoney: UPI ID - shivam.dhage@superyes

πŸ”— GPay UPI QR Code: Donate via UPI QR

Every contribution helps keep the project alive and improved! Thank you! 😊

πŸ’¬ Community

Loved the script? Encountered a bug? Or just want to hang out with fellow Android enthusiasts?

  • πŸ’‘ Join our Telegram Channel: BuildBytes
  • 🐞 Report Bugs: Open an issue on this repository or drop a message in our Telegram group.
Built with ❀️ by ShivamXD6 for the Android Custom ROM Community.

About

ROM Shifter is a highly advanced, pure shell-based utility designed to make Android custom ROM migrations painless, fast, and completely automated.

Topics

Resources

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages