yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] Conap:
I looked at uberz and i can't find anything that would conflict. The only file that is actually replace in the phone rom is the vold.fstab which tells the phone where the sdcard and emmc are. I removed the emmc line so the phone would not complain about the format being wrong. UberZ does seem to link music on emmc and sdcard so maybe that caused the crash but I wouldn't think that it would. None of my zips touch the data partition on the phone either so I don't think anything could have gone wrong there. Do you know if the rom is using emmc for anything else? Just so I'm reading it write you say the rom did a random reboot and when booted back up the setup screen appeared...you skipped setup and then htcwidges were missing? The widgets could have been due to the fact that maybe your no longer logged in to the htc account that the new sense asks for? I still can't figure out why the data would be gone though. Did you wipe data when installing the internal dualrom? (you shouldn't have but figured i'd ask)
[Droid Incredible Android Development] Conap:
I think where we were confused was that I have been referring to internal rom as the 2nd rom which get installed to internal storage not to the actual phone partitions. None of the roms go onto the sdcard. Your normal rom gets installed as normal and the "internal rom" gets installed to the internal emmc storage that the incredible has. I posted the steps to setup a rom for internal emmc partition in post 55 here http://xdaforums.com/showpost.php?p=13069900&postcount=55 Some roms that have alot of tweaks that involve pushing stuff to data might not work as well without a few more modifications. Please remember to nand your actual phone rom before flashing anything you try.

Were you also using UberZ rom when you had this problem?
[Droid Incredible Android Development] Crans:
your dual boot changes things on your sd card the same place you can find your current rom for mods.. in doing so my current rom could not be fully restored after running steps 1 and 2 until i ran your undo.zip in other words a typical restore was not complete till i ran the undo.zip than restored again.... thanks for the link

finding out why some random phone crashed, without the actual device can be like trying to find a needle in a hay stack.. Good Luck
[Droid Incredible Android Development] sanamkan:
I was using the Clock and Calendar widgets, which disappeared. I guess I can see why the calendar would be removed, not so sure about the clock though.

As for the data, I never did a wipe. My guess is that the data wipe is why the setup appeared, but I wouldn't know. Is it possible that the phone got confused as to which ROM it's running? If I try booting into Uber Z, the cycle continues. It wouldn't be as big of an issue if Market, ROM Manager, Titanium Backup, and other critical apps could start up without FC.
[Droid Incredible Android Development] Conap:
There is really nothing in these zips that could wipe data on the phone rom so I'm really just not sure what the issue is....I am going to flash uberz rom in a few minutes to test. You can just restore your nand of uberz though and then flash zip 2 again without having to setup the internal rom again. That way you can see if it causes the problem again.

It can't get confused as to which rom it's looking for unless uberz has changed the rom to use emmc mounted as data but if that were the case you would have had to format the emmc partition like you did in this rom which i'm pretty sure is not the case.
[Droid Incredible Android Development] Conap:
What mods does uberz have that use the sdcard? Anything involving the sdcard should still function. Anything involving the emmc internal storage would not i.e. the music on emmc mod.

Edit: I have loaded UberZ and am using it with dualrom cm7 and have not had a reboot so far. The only issue I see currently is that the uberscript will mount the emmc partition so if you copy files to it then it might mess up your dualrom but should not cause an issue with UberZ. One other thing is that if you are using the emmc to sd script to play music off your emmc then you might want to disable that script if using a dualrom setup.
[Droid Incredible Android Development] Ang3lmack:
So, could I use a backup as one of the roms? like having a sense rom on the internal and using my backup of cm7 as the other roms using the steps in post 55
[Droid Incredible Android Development] Conap:
If you do the steps in post 55 to setup a sense rom for the "internal" rom then yes you could restore your backup of cm7 onto the phone. It would probably be easier to just use the cm7 i posted and install it on the "internal" emmc and use the sense rom of your choice on the actual phone as I can't guarantee all the "tweaks" of some of the sense roms will work correctly even if you follow the steps in post 55. Some rom's push files to "data" in thier zips so it would need some more changes to the updater-script to make sure all those files get to the right place. I think if you take the "data" folder in any zip and drop it into the system folder in the zip your making from post 55 then that should work but this hasn't been tested.
[Droid Incredible Android Development] Crans:
I appreciate your work..... Go Devs :)

So much for the edit before the response..... ; )
[Droid Incredible Android Development] Conap:
Thanks...yeah what I wasn't understanding is what UberZ modifies on the sdcard? My scripts put zips on the sd but dosen't modify any other files on the sd. I'm just trying to narrow down if there is a conflict somewhere between the 2 roms. I have uberZ on phone with cm7 on emmc now and will test it for a day or so...thanks for providing the feedback. It's really helpful since I haven't run alot of these roms before so I don't always know what tweaks they have. Been flashing roms like crazy for a week now though so I'll catch up on them all here soon :)
[Droid Incredible Android Development] sanamkan:
Do what you can, but don't make it too high of a priority. We're all happy enough that you've given us the gift of dual booting.
[Droid Incredible Android Development] Team ADX:
A couple things here...first I posted zips to make and restore nandroid/backups. They worked with cm and sense with multiple tests so hopefully they will prove to be a stable method. Check post 2 of the thread for downloads and instructions(it's fairly simple).

I also noted in post 2 but will re address here that symlinking the databases for text and phone logs did not go well. I believe there is a difference between aosp/2.3 sense/2.2 databases. Anyone that has ideas or more knowledge feel free to chime in...

As far as the UberZ problem mentioned earlier I ran it for 2 days with no issues switching back and forth with no issues. Maybe still a conflict with something I wasn't using in the rom but I just couldn't find the issue. Maybe zip 2 that set's up the rom for dualboot did not flash correctly. If there is anything specific you were doing or something more I could look at let me know...
[Droid Incredible Android Development] jtkes693:
quick question i dont normally install my apps to sd how does this affect the memory for both phones
[Droid Incredible Android Development] Conap:
This doesn't affect the memory of the phone at all really. If your speaking of app space then on the internal rom you pretty much have more space then you could ever fill up. Your regular rom still functions as normal and you would have the normal amount of space for apps.
[Droid Incredible Android Development] blaine91787:
Is this pretty buggy for everyone or is it just me? Just seemed to cause a lot of force closes on my phone rom
[Droid Incredible Android Development] Conap:
What rom are you running on your phone? I've tried several and haven't had any forcecloses. Do you put apps on sd cause I haven't really tested in length how that would affect the apps. What apps are forceclosing or is just random apps?
[Droid Incredible Android Development] jtkes693:
Sweet thats what i figured i just wanted to double check...Been using it since yesterday have really had any problems except for

App downlads seem slower on the internL sense rom
[Droid Incredible Android Development] blaine91787:
I was using warm 2.2 but had ultimate Droid as the internal so it may have just been caused by that... I couldn't get market to open and titanium wouldn't work so I couldn't really test other apps...

I'll try at a later date but don't really care for stock sense or stock gingerbread...

Awesome start though conap... I'd like to see what comes of this
[Droid Incredible Android Development] daftlush:
Would love to see the Step3 cm7 updated to the new stable 7.0.2

Gonna try doing it myself using your instructions in post 55.

--

Sent from my Android phone. Please excuse my brevity/typos.
[Droid Incredible Android Development] daftlush:
So when extracting and dropping the files from your Step2 zip, can i rename the boot-Internal-CM7V2 to something else. Im trying to make a MIUI internal rom and i figure i should rename it to boot-Internal-MIUI?
[Droid Incredible Android Development] Conap:
yes rename it to whatever helps you remember what it's for. also i upgraded to cm7 stable....i tried flashing over and that didn't work well so you will need to flash zip 1 to "format" the drive before reflashing this....

http://www.multiupload.com/4RH5NED84X
[Droid Incredible Android Development] jtkes693:
can u let me know if u get this working i would like a miui internal rom i tried doing it myself but couldnt get it to work
[Droid Incredible Android Development] Conap:
sent you a pm
[Droid Incredible Android Development] daftlush:
No luck here. I cant even get CM7.0.2.1 to work properly. I think it may be when i try to incorporate the gapps.

If anyone manages to make their own emmc roms, can you please write up some instructions for us less gifted users.
[Droid Incredible Android Development] Team ADX:
Added an option for flashing other roms...see bottom of first post.
[Droid Incredible Android Development] patalo:
so if i use this and an app cant be installed on sd i cant use that app?
[Droid Incredible Android Development] Team ADX:
No you can use any apps. apps will work the same as they normally do on both roms. When the phone is booted it "thinks" that everything is installed on the normal partitions even though it isn't.
[Droid Incredible Android Development] patalo:
Oh ok. Thank you!
[Droid Incredible Android Development] Crans:
Thanks for the update to post 1
[Droid Incredible Android Development] kschwarz88:
Ive been having troubles setting up Skyraider 3.5 or Magnolia as my dualboot rom. Ive tried both methods as posted on post #2 and on post #55 but I either end up with a working Skyraider with no BusyBox or a non-booting rom.

Am I supposed to copy "just" the System folder from the rom into the sense-2.2-shell zip, or am I supposed to copy the rom's Skyraider/magnolia/data folders found also in the root of the zip?

I'd love to have this working, thanks guys!
[Droid Incredible Android Development] Conap:
You can try this with Skyraider...i added the install script that will install busybox assuming it's in the rom which it is in skyraider 3.5. If there is a data folder in the zip you want to use you can also copy that over. Other folders in the zip won't make a difference if copied over such as the skraider/magnolia folders. Some of these roms have some extra stuff that gets installed like extra apps and stuff through those scripts in the other folder that aren't going to install right with this system but you should still end up with a working rom. I have used skyraider 3.5 on internal so I know that it does work. I will look at magnolia rom. This is not a perfect solution unfortunately. I'm going to look at making a temporary recovery similar to how there is the zip to flash the older 2.5 clockwork temporarily. If i can put something together like that that will point the recovery to the right partitions then we could just install the roms normally and it would be easier.

http://www.multiupload.com/ZIVC66U8IE

Edit: fyi you can install busybox manually if this still doesn't work. I beleive there is an app in the market that will install it for you.
[Droid Incredible Android Development] kschwarz88:
Thanks for the reply,

I tried the updated shell but I still get SU issues. At one time when I tried installing/updating busybox it said I didn't have root.

I think I might be doing something wrong if you've gotten skyraider to work (with SU working properly I'm assuming).

Let's get this straight: flash #1 and #2 zips from the first post, then flash the sense2.2 shell zip (with my system folder in it), then flash #2 again? Am I supposed to flash the second one after I flash the "shell"?

EDIT: nevermind, I decided to use a different rom that was simpler and that seemed to work with SU (Nothing special -peanut w/virtuous pulldown)
[Droid Incredible Android Development] Conap:
You aren't supposed to flash zip2 after you have installed the shell zip. That would have been the cause of your booting issues. Not sure why su wouldn't be working though...maybe it's set up different in that rom...
[Droid Incredible Android Development] Mr. Rager:
I've got salvage rom on the internal and SR4.0 on the phone. Both can boot successfully; however I can't use the DR app to go between the two. I can't even get the app to boot into recovery. And the boot into internal rom .zip isn't formatted right; therefore I can't flash it through recovery, but the boot into phone rom .zip does work.

Currently the only way I have to get into the internalrom is to flash it every time, and if I wanna go to my phonerom I'll be stuck in my phonerom til I reinstall my internalrom. Any suggestions?

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] kschwarz88:
When you're booted into your savage rom, open up the SuperUser app. Does it give you any errors?
[Droid Incredible Android Development] Mr. Rager:
Not the first. I told su to forget Dr. And ran it again to see if it would ask and it did. So su is just fine.

EDIT - After further inspection su is giving me some problems. I tried the same forget process with root explorer. It didn't ask. So ...

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] Conap:
Sorry I updated those boot-internal zips to work with cwm3x so this should work in recovery for you for salvagemod

http://www.multiupload.com/76KL7ULMRM

However I do think there is an issue with superuser not giving permissions for the reboot app. Did it ask you for su permissions when opening the app? I've had this issue a few times when working with different roms. Do any other apps that require su work? Still not sure what the issues is. I'm still working on a better way to install other roms then the 2 I provided. Unfortunately this stuff takes time to work on cause i have to flash the roms and boot the roms to see if things work. At least I have my nandroid backup now for when I actually need to use the phone lol :D.....
[Droid Incredible Android Development] Mr. Rager:
Su isn't asking any more, so I think the binary corrupted. The apps that I have already granted su permissions still work, like wireless tether. Root explorer did work, at least til I told su to forget it. Now it doesn't ask to allow or deny.

Thanks for the zips. Downloading now. At least now I have a way to go between the two.

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] Treken:
I tried adding my custom rom to the zip you supplied and tried to flash but get a bad unable to install update error message
[Droid Incredible Android Development] Mr. Rager:
I reinstalled SR4 without wiping data, now I have su back so I can go to the internalrom through the app. But; however, I can't get back to my phonerom through the app. Su grants permissions, but it doesn't work.

At least I'm half way there.

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] Mr. Rager:
Did you use the right shell? If you did I would compare the updater-scripts. Drag-n-drop the files in the Dual Rom folder to the appropriate system folder manually. I can elaborate the steps I took to get salvage mod on the internal. If need be.

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] Treken:
I dragged and dropped system file, I don't have a data file. I compiled cm7 with green rom project theme from source. Since I'm deving grp rom for the incredible, dual boot is nice to have if I can test my roms with it. The meta file needs to be left alone right? Here is the link to the rom if you want to see what it has in it: http://www.mediafire.com/?jm4fnhtc6l41n then maybe you can tell me how to put it in the zip? The squished is the one that's themed and optimized.
[Droid Incredible Android Development] Mr. Rager:
The only meta file that needs to be edited is the updater-script in the META-INF/com/Google/android folder, I think that's the right path. All the cert.rsa files need to be left alone, they're unreadable anyway.

Ill take a look and see what's up.

Sent from the sky, Skyraider, that is. v4
[Droid Incredible Android Development] Treken:
Ok. I'll try your suggestion in the meantim. Thanks
[Droid Incredible Android Development] Mr. Rager:
Okay, first you need to download the CM-AOSP-GB-shell.zip.

1. Open up both of the zips (I'm using Ubuntu 10.10, I think Windows uses 7zip). Now two windows should be displayed, respectively.

2. Drag-n-drop the /sdcard folder from the CM-AOSP-GB-shell.zip (the shell) straight into the other window. It should add it without issues. So, now the squished.zip has the following folders: META-INF, system, boot.img, and sdcard.

3. Now copy the boot.img from the shell into the other .zip. It should over-write the boot.img in the squished.zip.

4. In the shell, go into dualrom/app and copy the DRSettingsv1.apk file to system/app in the squished.zip.

5. In the shell, go into dualrom/bin and copy the symlink.sh file to system/bin in the squished.zip.

6. In the shell, go into dualrom/etc and copy the reboot AND the vold.fstab files to system/etc in the squished.zip

7. In the shell, go into dualrom/lib/modules and copy the bcm4329.ko file to system/lib/modules in the squished.zip.

8.1 Now, in the squished.zip, go to META-INF/com/google/android/ and open up the updater-script. In the resulting window, look for the line:

getprop("ro.product.board") == "inc");

It's the second line, but below it type:

run_program("/sbin/mount", "/dev/block/mmcblk0p3", "/system");

This tells the phone to mount the emmc. Just in case you didn't know. ;-)

8.2 Now, look for the lines:

format("yaffs2", "MTD", "system");
mount("yaffs2", "MTD", "system", "/system");

Delete those two lines, and add:

package_extract_dir("sdcard", "/sdcard");

8.3 In the same window, look for:

set_perm(0, 0, 06755, "/system/xbin/tcpdump");

It's towards the bottom, and add below it type:

set_perm(0, 0, 0777, "/system/etc/reboot");

Now the DR app works. Save and close. It should update the squished.zip, but to make sure open the updater-script back up, and check to see if those two lines are there. (Yeah, no more problems for me with SR4 and Salvage as far as the DR app ^-^, thanks to you treken. I can now go back and forth to my hearts content, no pun intended.)

9. Now you can close the zip back up and follow the 1,2,3 flash steps, except replace 3 with your squished.zip. I tested it and it works, for me at least. If you are in Ubuntu, and it asks you to update after you close the text editor, update it.
[Droid Incredible Android Development] Treken:
Wow! Whata great tutorial! I will copy and paste into a post for you so others will know how to do it. Thanks again, and I'll post my results.
[Droid Incredible Android Development] Conap:
very nice...
[Droid Incredible Android Development] Mr. Rager:
Thanks. I tried to make it as easy to understand as possible, cuz your computer screen starts to get kinda full. It should work for sense, but I ain't tried it yet. And sorry for all the winks in the xda app those are actually parentheses, lol.
[Droid Incredible Android Development] Treken:
Here is the guide in document form. It can be added to the zip supplied for personal roms.
[Droid Incredible Android Development] Mr. Rager:
Lol, that's actually how my guide started out. I just copied and pasted into the reply window.

Later tonight I'm gonna try a sense based rom. Maybe it doesn't differ from aosp that much.
[Droid Incredible Android Development] tiny4579:
I tried out these instructions to boot SR4 as a dualrom but I think I wiped the /system on the phone rom :eek:

I attached the updater-script. What did I do wrong here?

EDIT: It appears it installed SR4 into system on the phone ROM. That is why we do nandroids but I didn't this time.

EDIT2: Maybe this line?

mount("MTD", "system", "/system");
[Droid Incredible Android Development] Conap:
yes that mount line is your problem...you mounted the right partition but left that line so after it mounted the correct one then it turned around and mounted that one instead. Then it re-wrote your system partition of your normal rom. Just take that line out.
[Droid Incredible Android Development] tiny4579:
I figured so much which is why I already took it out and it works!

DualRom just seems a bit slower to me, do I have something misconfigured or is it maybe the speed of emmc or is it just me?
[Droid Incredible Android Development] jtkes693:
Lags for me to...my only real complqint
[Droid Incredible Android Development] Conap:
It's not slower at all for me but I run CM7 on the emmc and put sense roms on the actual phone. There shouldn't be a speed problem with the emmc since it's the same part of the phone that it already uses for the data and cache partitions of a normal rom. I did try a few sense roms on internal and didn't think they were laggy either but each phone is different plus I don't really use my phone alot other then for testing so I may just not have used it enough to notice.
[Droid Incredible Android Development] tiny4579:
I like CM7 on the actual phone as I run nightlies and update often.
[Droid Incredible Android Development] Conap:
Yeah I can understand that...I am curious if you have put the sense rom on your actual phone and compared it to running it on emmc or if your comparing it to cm7. I am so used to cm as well that even putting a sense rom on the phone normally it felt laggy...
[Droid Incredible Android Development] tiny4579:
I loaded SR4 when it was released and it felt a lot faster than on emmc. Just going through the setup when booting it for the first time on emmc felt slower. I don't know if ext3 is as fast as yaffs2 or not. I'm kind of thinking it didn't install correctly for me. Since emmc is just partitioned memory then it is either an fs issue (doubt it) or an improper install. I followed Mr. Rager's instructions posted previously.
[Droid Incredible Android Development] jtkes693:
i was running miui on the phone and am now running miui on the internal and skyraider on my phone. The miui internal seems really lagging when it comes to downloading apps, clicking on menu items, and sms. They get laggy and have to force close. I just figure it was problems on miui's side
[Droid Incredible Android Development] jsms0905:
what install scripts would i need to modify to be able to flash something for the internal rom? im going to have warm z 2.2 on my internal and want to flash the transperent notifications zip but not sure what to modify as the first post says that any flash zips go to the phone rom, not the internal.

and i have a second problem, when i try to flash the sense shell that has both the warm z 2.2 system and data folder, it aborts the installation. not sure why.
[Droid Incredible Android Development] Conap:
META-INF/com/google/android/ and open up the updater-script then change the line that mounts system from

mount("yaffs2", "MTD", "system", "/system");

and change it to this

run_program("/sbin/mount", "/dev/block/mmcblk0p3", "/system");

not sure why it aborts...does it give any message?...you can pull cache/recovery/log and it will give a more detailed log of why it's aborting.