[GUIDE][SCRIPT] Install/Restore 4.1/4.2 ROMs without Odin

Search This thread

AntaresOne

Recognized Developer
Sep 30, 2013
2,161
17,509
30
Chieti, Italy
www.antaresone.eu
What about stock based backup restore??? are they same as CM 10.1 ROMs??

Yes, the same. On 4.3 and 4.4 ROMs preload partition is swap. 4.1 stock/stock-based and 4.2 ROMs cannot boot when preload partition is swap instead of ext#, just flash this to restore them

Flashable zip updated to v2, no more need to see first if system is mounted. Just flash it to go! :p
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    If you want to install or restore a CM10.1-based or stock-based ROM while you are on CM10.2/11 based ROM without using Odin you are into right place. :cool:


    Automatic process with Recovery-flashable zip:
    • Download Format-Preload-RecoveryModeV2.zip and put it into sdcard
    • Reboot device in recovery and install the zip, no need to reboot after flashing
    • Now you can install or restore any CM10.1-based ROM!!


    Semi-automatic process with Linux/Windows script - needs ADB
    To use only if Automatic process doesn't work for you
    • Reboot device in recovery and connect to USB
    • Download Format zip depending on your OS. Then:
    On Windows: Extract zip, copy extracted file to the same directory where is ADB executable and double click .bat
    On Linux: Extract zip where you want, for example your home directory, and run it in Terminal with . PreloadFormat.sh


    Manual process with ADB
    To use only if either Automatic and Semi-automatic don't work for you
    • Boot device into recovery mode, connect it to USB
    • Open ADB and type in order:
    Code:
    [B]adb devices[/B] (to be sure that device is recognized, you see some numbers followed by "recovery" word)
    [B]adb shell
    su
    parted /dev/block/mmcblk0
    mkfs
    (now wait 2 sec and confirm with Y)
    9
    ext2[/B]

    Little explanation: Preload partition is used as swap partition from CM10.2 and up in our device, without formatting it (format /preload when is a swap partition doesn't work in CWM, at least for me. Parted can't format in ext4, so we need to format in ext2) you get bootloop when you install/restore a 10.1 ROM.
    8
    There is one more way too without using pc and adb..
    Boot into recovery and format /system.(optional)
    Now install any CM10.1 ROM on top of CM10.2.
    Then go to advance option in CWM recovery and choose "reboot recovery".
    Now when phone reboots into recovery, go to mount and storage and format /preload and /data.
    Now reboot.
    The rom will boot up normally.
    I was on carbon ROM and successfully booted the MIUI using the following method..:)
    Thanks to @Toni5830 for letting me know this method..:)
    3
    Modified OP, flashable zip for recovery is ready

    Inviato dal mio GT-I9070
    3
    What about stock based backup restore??? are they same as CM 10.1 ROMs??

    Yes, the same. On 4.3 and 4.4 ROMs preload partition is swap. 4.1 stock/stock-based and 4.2 ROMs cannot boot when preload partition is swap instead of ext#, just flash this to restore them

    Flashable zip updated to v2, no more need to see first if system is mounted. Just flash it to go! :p
    2
    Added script for Windows to automate this operation! Soon for Linux and CWM Recovery too

    EDIT: Added for Linux too