[SDCard Boot][Dual Boot] SDBooT v0.3 [Discontinued]

Search This thread

aditya_j

Senior Member
Aug 11, 2013
56
4
Installed the packages via TWRP-SD-Recovery and now the phone is stuck at book logo....I dont know where have I gone wrong
 

gurdial

Member
Sep 6, 2012
37
5
sdcard boot for micromax a116

announcement:multiboot is now working



what is sdcard boot?
sdcard boot means installing the rom on the sd-card instead of the emmc and leaving the emmc empty for other roms.


how is it useful?
it is useful if you need to test roms that don't fit on the emmc and also enables the user to keep multiple roms on multiple sdcards.


instructions
prepare rom zip
download all the files from the second post and follow the instructions given for your rom

  1. partition sd card
    • partition 1 : Fat (/sdcard)
    • partition 2 : Ext4 (/system)
    • partition 3 : Ext4 (/data)
    • partition 4 : Ext4 (/cache)
  2. flash sd-recovery.img (see attachments)(use mobileuncle tools. It is easier to switch to emmc boot or dual boot.)
  3. flash rom (from sd-recovery)(see 2nd post for a list of compatible rom and instructions for installation)

multi/dual booting

note: This feature is not stable yet, may not work on some roms and will remove recovery mode from the device.

prepare your phone for multibooting
-flash normal cwm/twrp recovery
-install the rom (emmc) normally
-copy boot.img from rom.zip to '/sdcard/boot/emmc/' and '/emmc/boot/emmc/'
-flash twrp sbdoot
-reboot to recovery
-flash the rom you want on the sdcard (roms in sencond post)
-copy boot.img from sd rom.zip to /sdcard/boot/sdb and emmc/boot/sdb
-flash mboot.zip

bugs
boot menu flickering.


make sure that the emmc rom boot.img mounts "/dev/bootimg" and /dev/recovery"(optional) or sd rom won't boot.

convert roms from emmc to sd
1.obtain the target boot.img
2.unpack using unpack-mt65xx.pl
Code:
./unpack-mt65xx.pl boot.img
3. Open the fstab file
4.change the following
Code:
/emmc@cache
/emmc@usrdata
/emmc@android
to
Code:
/dev/block/mmcblk1p4
/dev/block/mmcblk1p3
/dev/block/mmcblk1p2
5.
Code:
repack-mt65xx.pl -boot boot.img-kernel.img boot.img-ramdisk sdboot.img
6.flash sdboot.img as boot.img
7.share it on xda


future support(developers)
  • use "/system" instead of "emmc@android" on updater script
  • add an option for your own mboot.img to make it easier for others to flash on sd/emmc
  • add the following line at the end of fstab.mt6589 on mboot.img
    Code:
    /dev/recovery /recovery emmc defaults

thanks to
@kashifmin for kashkernel (http://xdaforums.com/showthread.php?t=2596271)
@suhas.holla for twrp 2.7.0.0 (http://xdaforums.com/showthread.php?t=2758539)

can i use this for micromax canvas 4 a210
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    SDCard Boot for Micromax A116

    This project is discontinued as I have bought a Galaxy Note 2. This project is open to anyone who wants to take over.

    Announcement:Full developer support would be provided for tutorials and user-scripts.





    What is SDCard boot?
    SDCard boot means Installing the ROM on the SD-Card instead of the EMMC and leaving the EMMC empty for other ROMS.


    How is it useful?
    It is useful if you need to test roms that don't fit on the EMMC and also enables the user to keep multiple roms on multiple sdcards.


    Instructions
    Prepare ROM ZIP
    Download all the files from the Second Post and follow the instructions given for your ROM

    1. Partition SD Card
      • Partition 1 : FAT (/sdcard)
      • Partition 2 : EXT4 (/system)
      • Partition 3 : EXT4 (/data)
      • Partition 4 : EXT4 (/cache)
    2. Flash SD-Recovery.img (See attachments)(Use MobileUncle Tools. It is easier to switch to EMMC Boot or Dual Boot.)
    3. Flash ROM (From SD-Recovery)(See 2nd post for a list of compatible ROM and Instructions for installation)

    Multi/Dual Booting

    NOTE: This feature is not stable yet, may not work on some roms and will remove recovery mode from the device.

    Prepare your phone for MultiBooting
    -Flash normal CWM/TWRP Recovery
    -Install the ROM (EMMC) normally
    -Copy boot.img from ROM.ZIP to '/sdcard/boot/emmc/' and '/emmc/boot/emmc/'
    -Flash TWRP SBDooT
    -Reboot to Recovery
    -Flash the ROM you want on the sdcard (ROMS in Sencond post)
    -Copy boot.img from SD ROM.ZIP to /sdcard/boot/sdb and emmc/boot/sdb
    -Flash mBoot.zip

    BUGS
    Boot Menu Flickering.


    Make sure that the EMMC ROM boot.img mounts "/dev/bootimg" and /dev/recovery"(optional) or SD ROM won't boot.

    Convert ROMS from EMMC to SD
    1.Obtain the target boot.img
    2.Unpack using unpack-MT65xx.pl
    Code:
    ./unpack-MT65xx.pl boot.img
    3. Open the fstab file
    4.Change the following
    Code:
    /emmc@cache
    /emmc@usrdata
    /emmc@android
    to
    Code:
    /dev/block/mmcblk1p4
    /dev/block/mmcblk1p3
    /dev/block/mmcblk1p2
    5.
    Code:
    repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk SDBoot.img
    6.Flash SDBoot.img as Boot.img
    7.Share it on XDA


    Future Support(Developers)
    • Use "/system" instead of "emmc@android" on updater script
    • Add an option for your own mBoot.img to make it easier for others to flash on sd/emmc
    • Add the following line at the end of fstab.mt6589 on mBoot.img
      Code:
      /dev/recovery /recovery emmc defaults

    Thanks to
    @kashifmin for KashKernel (http://xdaforums.com/showthread.php?t=2596271)
    @suhas.holla for TWRP 2.7.0.0 (http://xdaforums.com/showthread.php?t=2758539)
    12
    SD-ROMS

    CyanogenMOD 11

    Compatibility:
    Dual Boot : Yes
    SDBoot : Yes

    Last Updated along with v0.6

    Bugs with SDBooT:
    USB not detected if mounted as UMS and must be used as MTP

    Instructions
    Download CM11 v0.6 (or above)
    ROM Thread
    -Extract /META-INF/google/updater-script
    -Replace all the "/emmc@android"s with "/dev/block/mmcblk1p2"
    -Place updater-script back in the zip
    Download mBooT.img
    -Rename mBoot.img to boot.img
    -Replace boot.img in zip with the one you downloaded
    -Flash via TWRP SD-Recovery
    -Install Patches given on the ROM Thread without any changes.
    -Flash mboot.zip(emmc recovery) given in the previous post for MultiBooting.
    -Place boot.img in '/emmc/boot/sdb' and '/sdcard/boot/sdb' (MultiBoot Only)


    Carbon ROM

    Compatibility:
    Dual Boot : Yes
    SDBoot : Yes

    Last Updated along with Test Build

    Bugs with SDBooT:
    USB not detected if mounted as UMS and must be used as MTP

    Instructions
    Download Carbon ROM Test Build (or above)
    ROM Thread
    -Extract /META-INF/google/updater-script
    -Replace all the "/emmc@android"s with "/dev/block/mmcblk1p2"
    -Place updater-script back in the zip
    Download mBooT.img
    -Rename mBoot.img to boot.img
    -Replace boot.img in zip with the one you downloaded
    -Flash via TWRP SD-Recovery
    -Flash mboot.zip(emmc recovery) given in the previous post for MultiBooting.
    -Place boot.img in '/emmc/boot/sdb' and '/sdcard/boot/sdb' (MultiBoot Only)


    More to come!!
    5
    Code:
    On Internal Storage
    1.EMMC ROM
    boot/emmc/boot.img
    2.SDBooT ROM
    boot/sdb/boot.img
    
    On SDCard
    1.EMMC ROM
    boot/emmc/boot.img
    2.SDBooT ROM
    boot/sdb/boot.img

    This we have to do on the FAT partitions of both the storages,right?
    yes

    Partition 2 (System) : 660mb or above
    Partition 3 (Data) : 450mb or above
    Partition 3 (Cache) : 350mb or above
    Partition 1 (FAT) : Remaining
    3
    Sorry. my mistake. I have pure xperia z2 on emmc and want to install lewa os by saket joshi on SD card. So I wanted to modify its boot.img. Can you convert lewa os in next release?
    I am first focusing on get mBooT stable then I will upload other mBoot.img files. Some of the early mboots will be :
    Lewa
    Stock(This will work on most of the stock based 4.2.x roms)
    MIUI
    Custom Kernel(Not Sure which one) with Stock Ramdisk.
    3
    how to partition sd card?
    Windows
    -Install MiniTool Partition Wizard
    -Connect SDCard to PC
    -Run MiniTool Partition Wizard
    -Select SD Card
    -Partition Accordingly

    Linux
    -Install GParted
    -Connect SDCard to PC
    -Run GParted
    -Select SD Card
    -Partition Accordingly