yashsingh1/xdaforums huggingface dataset:
[Droid Incredible General] caleris:
Yes, make a nandroid of whatever ROM is on the phone, do normal wipes, flash the ROM, set it up, then run the Installer zip to the emmc slot you want to use. At theat point if there is a ROM you want back on the phone that is not in an emmc slot, do a normal nandroid restore.
[Droid Incredible General] caleris:
You can update the emmc ROMs by wiping, flashing the new ROM version and then running the Updater zip for the correct emmc slot.
[Droid Incredible General] rpz3.14:
I tried using the update zip for a CM7 nightly, it boot looped, and I went back to the OP.

Based on that, I thought that was only for updates that didn't require a wipe (flashable themes and so forth)? Were you able to successfully do this?
[Droid Incredible General] caleris:
I followed the custom adb commands and they worked to create the images properly. I did use busybox in front of the dd. I have put Nils Business GingerSense into that emmc slot. It is running pretty good, maybe some slight lag.
[Droid Incredible General] mmtoman:
I thought I had an idea of how this works, but I'm starting to think I don't. The fact that when I'm booted into something OTHER than the phone rom and pull the battery, it boots into the rom I was in, NOT the phone rom. I would think that it would always just boot into the phone rom from being powered off, but that app would tell the phone when to do something other than the phones rom.

Can someone clarify this to me and why it doesn't boot the phone rom everytime from a pulled battery
[Droid Incredible General] dmeadows013:
Can I install the DTR Bunker Buster with the phone installed rom? I don't really want it on any emmc roms, just sense3.0.
[Droid Incredible General] tiny4579:
When you install a ROM to emmc, it copies the ROM to several .img files on emmc and then modifies the boot.img to look there instead of where the it normally looks to boot. It also stores the modified boot.img on emmc as well.

When you boot to a new ROM, what it is doing is flashing the stored boot.img from that ROM. It doesn't reset itself to the phone rom after a battery pull as the flashed boot.img is what determines which rom boots. The phone rom works the same way, when you flash phone installer it just copies the boot.img for it.

Hopefully this makes a bit more sense.
[Droid Incredible General] mmtoman:
So to make a nandroid of one of the roms on emmc do I just need boot to a emmc rom then go to recovery and nandroid?

What will that backup?
[Droid Incredible General] caleris:
I don't think you can as the nandroid software doesn't know to look on the emmc for the rom.
[Droid Incredible General] tiny4579:
Just the phone rom. To backup the emmc rom just copy all the files from that rom's folder to the pc. To restore copy it back.
[Droid Incredible General] trickster2369:
I love this app, but sense 2.1/3.0 is still lagging quite a bit. 3.0 especially. Any progress on solving this, or is it just the nature of the beast?
[Droid Incredible General] tiny4579:
I'm getting fc with cm7. It may have something to do with the trick I used when datadata was split from data and the constant updates without a wipe. Seems to only affect titanium backup. And I can't fix with a reinstall of titanium.

EDIT: Fixed by reloading CM7 to phone ROM and re-flashing.
[Droid Incredible General] shorty1993:
i just want to clarify to be sure i am going to do this right. flashed kingdom to ROM1 (went perfect), CM7 to ROM2 (went perfect) then restored hybrid from NAND and set up on phone. this morning swapped to kingdom, fixed all my screens, accounts, ect. now i need to save it. what is the best route? can i just boot into recovery and then simply flash ROM1installer.zip.

i just prefer to be cautious if possible. thanks

laid off at the moment, bricking this thing would be bad cause we would be living in the hot dark cause the power would have to take a back seat. LOL
[Droid Incredible General] Conap:
No real progress on this...been putting my time into an app that will handle all the instillation of the rom's without recovery. The best chance of improvement for this issue will be when we can get custom kernels for those rom's

If you make changes to a rom they will stay there...you don't need to save anything. You can reboot to another rom and when you boot back to the one your on now it will be as you left it.
[Droid Incredible General] shorty1993:
Thanks. That was my first thought then convinced myself it was too simple that way. Thus far i am liking this alot. Although, now i am spending far more time playing than using my phone. I actually have a second cheaply so i can still get/make calls while flashing all the new stuff.
[Droid Incredible General] mmtoman:
Not asking for a eta bit when is this BEAUTIFUL and MAGICAL sounding app to be released

Love this but updates and such suck!

EDIT: donation in the process of being sent! great work
[Droid Incredible General] Conap:
Lol it's getting closer....I see from your sig you have a tb too which I think it will support so maybe i'll hit you up for some testing soon if your interested...thanks for the donation too :)
[Droid Incredible General] mmtoman:
Ill test for sure! I just hated not having all the roms and cool stuff for the phone. And it weights like 2 TONS. So I got another dinc on Craigslist. (I had a dinc before the thunderbolt)
[Droid Incredible General] tiny4579:
Conap, ran into a string of force close on my CM7 on Dual ROM. it was working beatifully a week ago and when I booted back into it tonight, I got force close of gapps and it is not really functional. I ran the v6 install. I will post the last_kmsg and logcat in just a minute.

EDIT: Here are the links to check them out:

http://dl.dropbox.com/u/31805083/last_kmsg

http://dl.dropbox.com/u/31805083/log.txt

EDIT2: I got out of the habit of fix permissions since I flash new ROMs so often. Ran a fix permssions from ROM Manager and it's back to normal. No FC.
[Droid Incredible General] nagasgura:
So this is pretty much dual-booting two or more roms, with your main one staying on the phone and the rest on the sd card? It looks awesome!

Any chance you could make a guide on how to do this for noobs like me? Sorry, but I'd really love to do this yet I have no idea how. The extent of my knowledge is flashing roms. Thanks in advance.

Also, let me get this straight:

1. installrom1.zip if you want your current rom to be rom1

2. wipe and install the rom you want for rom2

3. installrom2.zip

4. reboot and on each rom there will be an app to switch between roms

Is this correct?
[Droid Incredible General] trickster2369:
Read the OP. Good instructions there. Works great once it is installed.
[Droid Incredible General] mmtoman:
The roms are not stored on the SD card. There stored on EMMC which is the internal 8GB that comes on the phone.

And it is totally awesome! For flash-aholics its wonderful nit having to nandroid back and forth to use different features or roms.

As for instructions it's basically just flashing the different zips through recovery.

1. WIPE DATA / FACTORY RESET

2. Install a rom the normal way (Just flash a zip

3. Flash createimgforrom1v2.zip

4. Flash rom1InstallerV6.zip

Those steps are for getting a rom in slot 1. It's the same steps for other slots just flash the correct zip. And basically that's it. I would recommend doing a nandroid for every rom so you have it for easy upgrades and such.

Hope that makes sense!!!
[Droid Incredible General] nagasgura:
Thanks for the help. So if I want my current ROM to be in slot1, I can skip the factory reset?
[Droid Incredible General] mmtoman:
Yes, just start right at step 3.
[Droid Incredible General] nagasgura:
Its not working for me. After I try to flash rom1installer recovery crashes and restarts. I'm on 3.0.0.7
[Droid Incredible General] trickster2369:
If you read the first line of the OP, it says you need to use CMW 3.0.0.8. This is a MUST for this to work. Give it a try and report back.
[Droid Incredible General] nagasgura:
Just tried it and it worked. Thanks so much for all your help, because that's what makes xda so great.

Is it okay that I set my normal rom as rom1 instead of the phone rom? DO I even need to use the PhoneRom?
[Droid Incredible General] trickster2369:
That will work just fine. You do not need a Rom on the "phone Rom". This way you can use phone Rom to flash new roms, make changes, etc., then flash to rom1, 2, 3, 4 as needed. 4 roms is plenty for most people anyway. Enjoy.
[Droid Incredible General] trickster2369:
You do not need a Rom on the phone Rom. You can use rom1, 2 , 3, 4 for roms and phone Rom for flashing new roms, making changes, or whatever. Enjoy this wonderful app.
[Droid Incredible General] nagasgura:
Okay, I was able to flash everything but I get stuck on the splash.
[Droid Incredible General] trickster2369:
Ok, see if this works.

CWM 3.0.0.8

Go into recovery

Backup Rom, if needed.

Full wipe as stated previously.

Flash rom1 img

Full Wipe

Restore, or flash Rom for rom1

Flash rom1 installer (no wipe)

Reboot.

Should boot into rom1 Rom, whatever you chose to put there. To check, open app drawer and look for DRX2 app. If it is there, you can change the name for rom1 to whatever you want.

Repeat for rom2, 3, 4, and phone if you want.
[Droid Incredible General] nagasgura:
Thank you so much. It worked! But when I wipe before the second rom install, won't I just erase the rom1?
[Droid Incredible General] trickster2369:
If the install rom1 worked, it should be copied to it's new home(rom1 position). Then when you wipe, you are just clearing out the normal phone rom position for a new rom install, or restore, to put into rom2. The copy you made by installing rom1 is safe from the wipe at this point. Sounds like you have it working like it should, but if you need more help, post and we'll see what we can do.

Edit: Just an fyi, if you use sense 2.1 or 3.0, they will work in the rom positions, but you will notice a lag of varying degrees. I have been putting 3.0 roms in the phonerom position and they work just like normal. 2.1 will work fairly well int the rom1, 2, 3, 4 positions.
[Droid Incredible General] nagasgura:
I want to update to a newer version of my rom in rom2. How would I do this without erasing the data of that rom?
[Droid Incredible General] trickster2369:
If you are updating to a newer version of the same Rom, flash the updated version like normal, then in recovery, flash the updaterom2 script. It is supposed to just replace the updated parts. I haven't tried this before, so good luck.
[Droid Incredible General] caleris:
First do a nand backup of your phone rom if you have one. Then do all your wipes. Then flash the new version of your rom 2. Then flash the rom2 upgrader zip. Then reboot.
[Droid Incredible General] nagasgura:
Thanks for all the help, guys. It seems to be working great. I've been looking for a way to do this for a while, because I am constantly switching between a few roms. Is it a good idea to have no rom installed as the phone rom (because it would have to get wiped every time I wanted to update an EMMC rom)?
[Droid Incredible General] nagasgura:
Um........:confused:
[Droid Incredible General] mmtoman:
Contgrats on being featured on the portal Conap!
[Droid Incredible General] Jwtiyar:
only work with droid incredible ?
[Droid Incredible General] Knucklessg1:
Does this work it other Android devices, HTC HD2, Sensation, EVO's, etc?
[Droid Incredible General] nagasgura:
Awesome! I was the one who suggested that egzthunder1 write about it! :) Glad to hear it will get some more publicity, because it is really useful.

Anyway, is it possible to backup your setup by copying the emmc files (rom1, rom2, etc.) to the computer or sd card, so if something happens, you could just overwrite your current rom# folder with your backup? Or otherwise, is there a way to make a nandroid backup for roms of emmc?
[Droid Incredible General] Conap:
Working on putting it all in an app that will be compatible with more devices....hopefully will start testing with the app soon

Yes you can just copy the img's to the pc or sdcard and then just copy them back to restore. You could zip the img's up if you want to save a little space. The app should also handle nandroids when it's done...and thanks for suggesting this for a write-up...
[Droid Incredible General] roirraW "edor" ehT:
Hey, I don't have an Inc, but I just wanted to say congrats, Conap!
[Droid Incredible General] liljom:
very nice job :)

would it take much time to make it use the sdcard? so a lot of devices could benefit from this fantastic effort
[Droid Incredible General] monkeychef:
Very cool. Hope you guys can get that app to make this run on other phones soon.
[Droid Incredible General] zole2112:
Excellent work, ever since my HD2 I've been waiting to be able to boot multiple roms. Looking forward to this on my Inspire!
[Droid Incredible General] liljom:
hey conap,

is it enough to edit the zips or should we edit the apk to?
[Droid Incredible General] Conap:
No the app would need to be changed...
[Droid Incredible General] nagasgura:
Wait...so you mean that if I enter recovery from the rom I want to back up, then make a nandroid, it will backup the rom I was just booted in instead of the phone rom?
[Droid Incredible General] caleris:
No it won't. Nandroid will work on the phonerom but not the emmc roms.
[Droid Incredible General] nagasgura:
Okay. Any chance that a "copy eemc folder to sd" option will come to the app? Also, check out the banner in my sig :)
[Droid Incredible General] caleris:
You could do that through Root Explorer.
[Droid Incredible General] nagasgura:
I know, but it would be a lot more convenient if it were automatic like nandroid. Seems like it would be a pretty simple script. It could probably be programmed into gscript.
[Droid Incredible General] neato4u:
Hi.. does this only works on Droid Incredible or with other devices as well?

I'm using Milestone so can I use this?
[Droid Incredible General] PJF16:
Will that also work on SGS in the future?
[Droid Incredible General] nagasgura:
The first two roms I installed went fine, but when I try to install to rom3, it won't work (not sure if this is just my imagination, but the installer.zip takes seconds instead of minutes)
[Droid Incredible General] dafank:
Does this work on any other telephone? is there any plan to port it?
[Droid Incredible General] misfit61871:
+1....I'd like to know that as well, I have a G2 and would absolutely love to be able to have 5ROM'S that easily accessible! I try alot of diff ROM'S.

If this can be ported that would be SWEET!
[Droid Incredible General] nagasgura:
Does anyone know why it won't install any more? It won't work past rom2
[Droid Incredible General] Omnichron:
does this work with the Droid 2?:confused:
[Droid Incredible General] danimagrin:
Hey guys!

Nice to talk to you from HTC Droid forums! :)

We are thinking about porting this solution to Moto Defy. It would be nice to know how do you do when you connect the phone to the computer and usb mass storage tries to unmount sdcard so that it can be shown on the computer. If data.img and system.img are inside sdcard and mounted to /data /system, i think that usb mass storage unmounting the whole sdcard will crash the system. What's the solution for this issue?

Thanks!
[Droid Incredible General] Conap:
It won't unmount the sdcard while booted to it because the sdcard will be in use...that said it then won't mount it to your pc from there....if you want the new app coming to support the moto defy you can pm so I can get some info on the phone so it can be added
[Droid Incredible General] danimagrin:
Hey Conap, thank you very much for the answer!

What type of information about Defy do you need to support it too? Here's a thread opened on Defy forums to discuss DualRomX2, please take a look at it: http://xdaforums.com/showthread.php?p=15450362

About the unmount issue, isn't it possible to make one partition (maybe ext3) on the sdcard only for storing system.img and data.img files, thus keeping the FAT user partition untouched? This way only the FAT partition would be unmounted when the phone is connected to computer, with the rom still running off the other partition of the sdcard!

Bye :)
[Droid Incredible General] tiny4579:
Conap, curious if you had any more ideas on improving performance. I tried changing all the ext3 to ext2 partitions but as I started getting FCs that needed a reinstall, I decided to switch back to your v6 zips to limit corruption from soft reboots or crashes.

I get a bit of lag occasionally on CM7 that can be frustating at times, especially when installing apps it can lag. Usually runs smoothly though. I have a feeling it is partially related to using ext2/3 where it's normally formatted as yaffs2. There might be some init.d scripts that can be run to limit lag. Maybe I can run the emmc roms with ext4 for a bit more speed and being able to still having journaling.
[Droid Incredible General] Conap:
No no luck on that...I tried ext4 at one point but it was slower then ext2. I even went out and bought a class 10 sdcard and tried it on that but still the same. When the log comes I see in the logcat that cpu may be pegged so I think that maybe the drivers to read and write to a loop mounted img are causing extra strain on the cpu.
[Droid Incredible General] nagasgura:
I keep getting forced close corruption errors etc. when using this mod
[Droid Incredible General] Conap:
Have you tried running fix_permissions? I'm pretty sure it comes from the system not being able to umount the img's cleanly on reboot so it will probably happen sometimes.
[Droid Incredible General] bigman420:
Is there any way to move an install from rom1 to the phone?
[Droid Incredible General] Conap:
Just a little :)
[Droid Incredible General] justjayhere:
Ok.. works great..

I installed 2 slots.. move UberZ to slot 1 (using CWM 3)

.. restored a backed up rom.

Then using CWM 3 APP I switched to RA-recovery.. Restored WarmZ2.2 and moved that to slot 2.

Now in the process of downloading CyanogenMod7 and MIUI (so will need to install two more slots, I'm using RA-Recovery).

So YES this works with RA-Recovery as well.

Sent from my SmartQ V7
[Droid Incredible General] Conap:
Awesome thanks for the feedback...I did test once with the 2.5 CWM temporary recovery zip and it worked fine with that. So it really should work with anything. For those interested in the how it works side of things the rom1installer.zip dump's the boot.img into the temp directory where it is then extracted basically the same way the Any Kernel updater zip works only instead of replacing the kernel at this point I had to extract the ramdisk and then wrote a script using awk commands to rewrite the init.inc.rc to mount the img's. Then it repacks the boot.img and flashes it back to the phone and also copy's a copy to rom1/ folder on emmc so the app has access to it when switching roms. Then it mounts the system and data partitions on the phone and mount's the img's in the rom1/ folder and copies all of the data over to the img's and it's done. Simple right? The DRX2 app just flashes the boot.img from the rom you select. When you name a rom in the app it creates a name file in the emmc/rom1 folder with the name you put in so that no matter which rom your in it will read the names of the rom's off the emmc.
[Droid Incredible General] Conap:
Edit: I'm also curious what people think about img sizes? I know CM uses only about half of 270 so you could easily take 100mb's off that. I personally never come close to filling data so I don't think 1Gb would be a must for me either and cache could probbaly be smaller as well. Originally I had considered making them all slightly smaller and squeezing a Fifth slot onto the emmc but decided not to push it and honestly after setting up 4 rom's I think I'm good for now lol...500mb left after the 4 rom's is also plenty for me since I don't use emmc for much. Just curious what other's think?

Edit: I was trying to edit my post instead of quoting it...oops lol.
[Droid Incredible General] justjayhere:
Okay... one more question: If I decided to move a ROM to one of the slots after its been the "Phone" ROM.. is there going to be an issue with the fact that I installed the "phoneinstaller.zip" on that ROM
[Droid Incredible General] Pithism:
didn't work first time, tried it second time works fine it seems so far,

Dont know wether i screwed up the first time or just doing it a second time makes it more stable and secure.

cant wait to see what other roms are stable on this
[Droid Incredible General] Conap:
Good questions again...no that won't be a problem. Just make sure to reflash phoneinstaller.zip if you put a different rom on the phone so that it changes the boot.img in emmc/phoneRom/ If you don't put a new rom on the phone I would delete the boot.img from emmc/phoneRom/.
[Droid Incredible General] Conap:
cool what rom did you use? In theory it should work for every rom especially considering the wide range of "types" of roms it's been tested on. The biggest issue with my previous install procedure with the original DualRom(besides being complicated) was the different installation tweaks that each dev would add. This problem was eliminated by installing it to the phone first.
[Droid Incredible General] justjayhere:
Okay... so if I do want to flash a mod to a ROM that's on the EMMC; I would need to make it the "Phone" Rom im guessing.. So how do I make it The "Phone" Rom again?
[Droid Incredible General] Conap:
Well it would be possible to move it back to the phone, flash the mod, then move it back to emmc although that is kind of a long process if it's something simple like a battery mod but it's one options I'll consider. If your good with adb you could add most mod's that way. An example would be a battery mod that has a zip that flashes an updated framework-res.apk. Instead you could just boot into the rom you want to apply it to then do:

adb remount

adb push framework-res.apk system/framework/

adb reboot

That would be the same as flashing the zip. Any files in a mod can be pushed to the phone through adb. If the mod has a script or executable file in it then you would need to chmod it as well. You could edit the mod zips to mount the img's and flash it but that would be a little more tricky. If you have something specific your looking to do just let me know what it is and I could give you some specific directions on how to get it installed but if your just wondering for the future then those are the current options.
[Droid Incredible General] Pithism:
I used skyraider 4.0 works great

trying uber kingdom sense 3.0 (1.0.1) see if that works

then not sure ill look and see what looks interesting

And it makes sense that it would be hard because each dev does it differently.

UPDATE

uber kingdom sense 3.0 (1.0.1) booted up and seems to work fine so far
[Droid Incredible General] justjayhere:
Thanks.. just wondering for future.
[Droid Incredible General] Billabong81:
Hey, this looks like an awesome project! I actually have an Inspire 4G, was wondering if this is only compatible with the HTC Incredible at the moment or if it can be used on any Android phone?
[Droid Incredible General] Conap:
FYI for those that don't want to use this system but are running some of the GB Sense 2.1/3.0 ports and can't mount the emmc to pc you can install my app and just use the settings to mount emmc. If any dev's want to post it for people to use for that purpose as well feel free to.
[Droid Incredible General] Conap:
This is only compatible with the inc although would be fairly easy to port over. Does the inspire 4G have emmc storage and if so how much?
[Droid Incredible General] Pithism:
same with the thunderbolt. it lists 8 gb emmc on the website, but i believe it only has 4 ish GB emmc and we can use 2.7 ish of it for actual storage. I think it may not work for thunderbolt because the emmc storage doesn't mount to pc ever. Im guessing thats a necessity for this to work

Unless im all wrong then someone please feel free to correct me.
[Droid Incredible General] Conap:
No it doesn't need to mount to pc for this to work. The size of emmc and the size of tb rom's would probably limit it to only having one rom on emmc but it would still work. Once I'm sure it's stable on the inc I'll look into other devices.