yashsingh1/xdaforums huggingface dataset:
[EVO 4G Android Development] unCoRrUpTeD:
1. After the initial boot to sdcard, which does take a while, It is going to be slower than running it off of the phone.

2. Yes if you set it up, you could do as many as you wanted. I was thinking of setting up some extra partitions and trying it out.

3. Right now /data is seperate. I have not tested it yet. Just wanted to get this working before changing anything. It would require removing the lines in the update-script to format data.

If this is implemented in a recovery it would be for 2 roms only.
[EVO 4G Android Development] unCoRrUpTeD:
If you head on over to Dual Boot 2 Roms there is a download for linux. I need some testers for other phones.
[EVO 4G Android Development] smarcin:
Will the download on the Hero forum work on our Evos, or only on Heroes? I have a Hero, but it's not activated. I'd rather try it on my Evo...
[EVO 4G Android Development] pinero:
EVO tester right here how may I be of service>?
[EVO 4G Android Development] traybent:
dual boot on the Evo

can i run dual boot on my evo,and if so where is the link
[EVO 4G Android Development] unCoRrUpTeD:
Yes. Download the zip, connect your phone and following the instructions. Should work with any phone that has amonRA recovery.
[EVO 4G Android Development] agreen1985:
Is this reversible?
[EVO 4G Android Development] unCoRrUpTeD:
Yeah. Just back up your sdcard and partition sdcard from recovery. Then flash a rom.
[EVO 4G Android Development] AyoJake:
anything for windows yet?
[EVO 4G Android Development] DraginMagik:
looking forward to hearing back from the first wave of testers.

thank you OP.
[EVO 4G Android Development] unCoRrUpTeD:
Working on it. Going between working on a batch script and fixing issues with clockwork recovery.
[EVO 4G Android Development] crimeslunk:
Lol just noticed the message you sent me corrupt. I would be down for testing but I don't have Linux nor am I familiar with it. Glad to see someone is working on it I had this idea months ago and no one wanted to work on it then. Would love to see this working could only make this bad ass phone even better.
[EVO 4G Android Development] futuristicstyles:
When your done with windows I wouldn't mind testing.... CM-B2 and MYN'S 2.2 would be my two roms
[EVO 4G Android Development] unCoRrUpTeD:
There is an issue with running any AOSP rom or CM6. It does not detect the sdcard, however the sense based ones do. Once this is fixed I will finish the batch script for testing as I work on a new recovery.
[EVO 4G Android Development] bradleyw801:
Thanks for working on this. This is a brilliant idea. Once all the kinks are worked out, if you provide a way to run CM6 and another ROM of our choosing, this will be one of the epic steps forward for this phone and android in general.

It seems like from the comments, most people, myself included, want to switch between sense based, and AOSP, like CM6. When it's up, make sure to publish it in the market, or give us an easy way to donate. You deserve to be rewarded for this.
[EVO 4G Android Development] futuristicstyles:
You seem to be making great progress at a great speed. Thanks for working so hard on this. I can't wait, I would show off my phone even more than I already do lol
[EVO 4G Android Development] adeyo:
feature request

wow, this does look promising. ...would it be able to share phone data? i mean, if my call logs from my sense rom were stored in the same place as my cm6 rom, could i call "johnny" at 4pm in sense, reboot into cm6 and show my placed call to "johnny" at 4pm? (i.e. texts show up in both too, etc)
[EVO 4G Android Development] unCoRrUpTeD:
As of right now no. The only way it would work was if you used the same dialer and messaging app. With my first go around with it I was having problems with the UID's. But that could have been because I had data and cache running from the phone. I need to look into where the UID info is stored.
[EVO 4G Android Development] unCoRrUpTeD:
Watch out!!!!!!!

Dual Boot is coming soon with a linux and windows script that fixes the issues with CM6.

This will be a temporary script until a new recovery or app is made to streamline the whole process
[EVO 4G Android Development] Bizdady:
I bow before you!! Cant wait! Will deff keep my eye out for this.
[EVO 4G Android Development] reallango:
Awesome

I can't wait I was actually just thinking about recovering back to sense or trying another sense rom but this may be better as I love my cm6 for the most part. now if it can just share the data that would be sweet.
[EVO 4G Android Development] piscesjoey:
I definitely agree with you on this!

EVO on Tapatalk
[EVO 4G Android Development] DraginMagik:
absolute brilliance.
[EVO 4G Android Development] jasonziter:
I'll second that question. Unless you are booting from a nandroid on the SD or something like that.
[EVO 4G Android Development] unCoRrUpTeD:
Refer to the linked thread in the first post. Everything is ran off of the sdcard. It is possible to resize and create a new partition on the phone, but until we learn more about this I would not attempt it.
[EVO 4G Android Development] unCoRrUpTeD:
Need testers (linux and windows)

I need some testers to test this out before I re-release this. I need both linux and windows testers and those for windows need to know some basic batch script editing and adb commands. Also let me know what OS you have.
[EVO 4G Android Development] sac23:
I can test too
[EVO 4G Android Development] Stalte:
I'm in.

Windows 7 64bit

Rooted HTC EVO 4G running AvalancheMods V9

Hit me up with what you want me to do

Oh and I plan on Dual booting Ava's V9 and MIUI 1.23

Thanks you rock

EDIT: Do you want the testers to just PM you or will seeing us on the thread be enough
[EVO 4G Android Development] Matt_TX:
I'd like to test too :)
[EVO 4G Android Development] unCoRrUpTeD:
I see you posted in the other one too..

I'll look on here. i just need to finish getting the setup for the sdcard working properly and boot into Windows to test out my batch script as far as I can since I haven't put the sdk or much else on it whenever I replace my hard drive..
[EVO 4G Android Development] M@XLOL:
I am using linux what do you need tested?
[EVO 4G Android Development] BiG JeW:
you know im ready bro.. sent you a PM and waiting on a reply.. thanks for the hard work.
[EVO 4G Android Development] Jun1orV:
Would love to try this.
[EVO 4G Android Development] gernade23:
I would also love to test this out if possible!!

Using Windows 7
[EVO 4G Android Development] mrfuzzie23:
im down to test it on windows and/or linux..

im on calkulins rom with kings cfs 11 running perfectly...would love to dualboot with CM6
[EVO 4G Android Development] teshxx:
I can do either windows 7 64 bit or Ubuntu. Looking forward to it.
[EVO 4G Android Development] AyoJake:
i would like to do this but know nothing about adb and all that so i'll wait till later.

wow i must be tired if i misspelled know FAIL.lol fixed it.
[EVO 4G Android Development] unCoRrUpTeD:
It should be out tomorrow or Friday. Just trying to fix an issue with the sdcard and AOSP.
[EVO 4G Android Development] xhazyx:
i would like to try this... im using windows 7 x64
[EVO 4G Android Development] joshhunt:
I'll test for windows
[EVO 4G Android Development] eunice3:
I would love to test, just gotta 16GB card oh boy!
[EVO 4G Android Development] Stalte:
I just now noticed you were the OP over there too.
[EVO 4G Android Development] Zeman4323:
Testing

Seems like you got a lot of people, but I would be happy to test window, linux. or both.

Thanks!
[EVO 4G Android Development] unCoRrUpTeD:
Just to update everyone:

AOSP does not like the partition method used to do this. I got the problem fixed.I am now using the 2nd partition on the sdcard for cache but now roms using a2sd are creating a problem. They use this partition for a2sd. I need to add some stuff to the script to remove the lines in the update script that give it permission and remove all files in the rom that have to do with setting up a2sd.

I am going to look into an easier thing to do.

I may just finish up my batch script and since there are a couple of files you have edit real quick while running it I can just add everything to delete. And then I can finish working on my linux script. I just need to test out booting the rom after removing everything.
[EVO 4G Android Development] Cayniarb:
This sounds like the greatest idea ever. I am definitely willing to test. Win 7 (x86), and have a spare 8GB micro SD to devote to the cause.
[EVO 4G Android Development] don83:
I would love to test this out for windows
[EVO 4G Android Development] rujelus22:
I would love to test this, flipping between my sense and cm6 themes is a pain if I could boot into either it would save a ton of time. I have both Windows and Linux boxes.
[EVO 4G Android Development] dbzfanatic:
I would definately be willing to test this. I have windows xp and vista as well as opensuse 11.1, my phone is running CM6 right now if that helps or makes a difference.
[EVO 4G Android Development] fldash:
Any updates on this?
[EVO 4G Android Development] jordanetodd:
I would love to test on either Mac osx or windows 7 32bit
[EVO 4G Android Development] unCoRrUpTeD:
Well Conap on the Eris forums got it working on the Eris with froyo working and recognizing the sdcard, which is a bug on the Hero. I can get it working on my Hero, but froyo doesn't recognize the sdcard. There is no problem with running 2 sense based roms. I'll finish the batch script and release it as a beta as it may work on some phones and not work on others.
[EVO 4G Android Development] kevinniven:
wow

I want this! so excited I'm rubbing my nipples!
[EVO 4G Android Development] onicrom:
wouldnt a simple way to implement this be to write a nandroid backup/restore front end that creates a nandroid backup each time you want to 'dual boot' restoring the rom of your choice when switching roms?

ie

myfavrom1 running

boot recovery

nandroid backup myfanrom1 (youd want to overwrite the last backup [or at least have an option to do so as to not store 100000 backups])

restore myfavrom2

bored of myfavrom2?

wash rinse and repeat the above step

seems a lot simpler than trying to implement a boot loader, and save a lot of space on the flash memory
[EVO 4G Android Development] unCoRrUpTeD:
Because then all you're doing is restoring a backup. I have decided not to go with any kind of bootloader right now. I am working on one, but need to finalize my other dual boot method.

This method flashes the rom's the first time and then after that all you are doing is changing the boot.img for the rom you want to boot into, which takes 5 seconds to flash.
[EVO 4G Android Development] Samzebian:
is there any sort of ETA as to when this may come out? I'd love to test this out, dual booting CM6 and baked snack is tedious, not to mention a battery killer. Every day I backup my sms and any apps I've installed, nand backup my bs rom, reboot into recovery, restore a Nand backup of cm6, download the newest nightly, and flash it over the backup. I use it for a while, check out the new features, backup my sms and any new apps I've installed, do a nand backup,and then restore from my bs nand backup. So annoying! Is there any way I can test this out now?
[EVO 4G Android Development] unCoRrUpTeD:
Depends on what phone you have and if you are running Linux or windows. There is a problem with cm6 on certain phones. I work on it when I get a chance.
[EVO 4G Android Development] warrior420:
Correct me if im wrong, but when you say "runs off of the SD card", you mean, loads the OS from the SD into the phones internal memory on boot? Because That would be ideal...

Because its my understanding that these SD cards are really slow... ASOP would be the only OS worth it, as it's pretty lean...
[EVO 4G Android Development] xlGmanlx:
this would be nice, i am running an Evo and everything your working on sounds exciting! This would be huge for the android community to be able to dual boot ROM's
[EVO 4G Android Development] Cy_n_ic:
Sounds like were getting closer to the day when switching roms could be as easy as changing wallpapers...exciting!
[EVO 4G Android Development] unCoRrUpTeD:
I haven't been able to work on anything. My laptop finally died which had Ubuntu running on it. When I get some time I'm going to get one of my desktop running Ubuntu. I'm going to work with some other devs who are working on a huge project and want an easy way to choose where to boot from.

Also, Conap from the Eris forums had this up and running and he had higher quadrant scores when he was running it off the sdcard.
[EVO 4G Android Development] xlGmanlx:
this would be something that if it comes to fruition, we will always wonder how we got around before in android aftermarket without this! i will donate and like it!! :D:D
[EVO 4G Android Development] danielt021:
Device not found

Hey guys any progress recently, or maybe someone feels like helping me out. Just before file are pushed to my devices i get the message that my device was not found thus no files were copied and nothing can be installed, how can i fix it?
[EVO 4G Android Development] unCoRrUpTeD:
Before you start the script type adb devices and see if it lists your phone. Make sure debugging is checked in setting/applications.

I'm now working on a new bootloader/recovery which should appear when you restart the phone. It was a slow process getting my desktop setup and syncing all the repos needed.
[EVO 4G Android Development] danielt021:
Yeah debugging wa on and adb listed my device. Before I had a probelem when flashing the second rom, but someone gave me advice to close the terminal right after it starts to flash, but never tried it because I installed a fresh copy of Ubuntu on my laptop and ever since when running this script this error pops out ine the beginning. Thank your for replying.
[EVO 4G Android Development] xlGmanlx:
so did i read this right in that it will be handled by a custom recovery? will it ever be possible to change between NAND's like flashing theme's/roms etc?
[EVO 4G Android Development] unCoRrUpTeD:
With the little bit of time I have to work on this, which is like 2 hours a day- if that, I am going to focus solely on getting at least my hero to boot from sdcard through an image found on the fat32 partition. Each phone is seperate because of the options that were enabled or disabled when compiling the kernel. Some phones have no problems with extra partitions or booting from .img files and some do. Once I get a good way of doing this it can easily be changed with a gscript so you will not have to boot back into recovery.

A new bootloader and recovery would follow this setup, which could be compiled at a later time..

The phone would boot into a bootloader before proceeding to the recovery. You would then specify what os/rom you want to flash, backup, etc and then it would boot into the recovery which would only apply any options from within the recovery to the os/rom you chose previously.
[EVO 4G Android Development] xlGmanlx:
that would be amazing, no rush as this would be another huge step for the community!
[EVO 4G Android Development] unCoRrUpTeD:
I am continuing to work on this when I have a chance, but that is not as often as it was. I have abandoned any type of script to be ran on the computer and have eliminated extra partitions. I might go with setting up a fourth one, which does not create problems with froyo, but will not have seperate partitions for each part of android. After testing out several different methods it is apparent that certain phones can run things setup a certain way and others can't. My goal as of right now is to create a simple way to do this within any recovery or phone and without a computer.
[EVO 4G Android Development] xlGmanlx:
thanks for the update and appreciate the continued work on this.
[EVO 4G Android Development] unCoRrUpTeD:
I just might have figured a way. Now if I only had time. It came after Conap from the Eris forums sent me a PM about his ROM release recently with froyo on the sdcard and 2.1 on the phone. What he did is format the sdcard into several partitions, and created his update script and init.rc to install to the sdcard and boot from there. He took what I had worked on and modified it some. However we have problems with froyo and multiple sd partitions.

Anyways.. He changed it up a little and then gave me an idea which would solve the problem I had been running into. I don't want to go into details right now on how this would work...
[EVO 4G Android Development] xlGmanlx:
Don't worry about it. This is getting exciting, imagine being able to bounce back to another rom quickly will be huge
[EVO 4G Android Development] unCoRrUpTeD:
Check OP: I will be releasing something soon
[EVO 4G Android Development] corybucher:
ill test, thanks for the hard work.
[EVO 4G Android Development] Fadakar:
This is monumental! I'll test! :D
[EVO 4G Android Development] xlGmanlx:
huge, if this is even remotely close to expectations everyone should donate and like it! this will be huge for the community
[EVO 4G Android Development] caguirr4:
This is going to be awesome!!!!!!cant wait to try it
[EVO 4G Android Development] -viperboy-:
I will happily test. I have a spare EVO laying around that's going to be my "dev phone" so whatever you need tested, let me know.

Any plans to do a bootloader type of thing? Kinda like on my iPhone 3G that has Android on it it lets me pick which OS I want to boot into.
[EVO 4G Android Development] namoroman:
This would save me like an hour a day. I'm always nandroiding between three or four different ROMs, Titanium Backup, etc. Even if this will always only be two ROMs it would still be huge.
[EVO 4G Android Development] xlGmanlx:
Yeah, I have all kinds of ideas for this but we shall see how it turns out. I think this will be one of those things we can't imagine living without once it gets dialed in
[EVO 4G Android Development] unCoRrUpTeD:
I don't want to mess with the bootloader as it is different for every phone. Possibly a new recovery with extra options later on.
[EVO 4G Android Development] mlin:
I look forward to playing with this when you finish, thanks for making this happen.

Tapa tapa tapa
[EVO 4G Android Development] fatapia:
would love to test for you if you do not have enough testers yet. finally, do not have to choose between sense and AOSP hahaha
[EVO 4G Android Development] unCoRrUpTeD:
Need someone to run a quick command!!!!

Could someone do this through terminal or command and post your results..

Make sure your phone is plugged into the computer

adb shell cat /proc/iomem
[EVO 4G Android Development] looneylu:
C:\Users\Home>adb shell cat /proc/iomem
02b00000-02efffff : msm_hdmi.0
03700000-039fffff : kgsl_phys_memory
03700000-039fffff : kgsl
03a00000-03a3ffff : ram_console
03b00000-03dfffff : msm_panel.1
20000000-2e7fffff : System RAM
20028000-20428fff : Kernel text
2044a000-2058c9b3 : Kernel data
30000000-3bffffff : System RAM
a0000000-a001ffff : kgsl_reg_memory
a0000000-a001ffff : kgsl
a0200000-a0200fff : msm_serial_hs_bcm.0
a0300000-a0300fff : msm_sdcc.1
a0400000-a0400fff : msm_sdcc.2
a0500000-a0500fff : msm_sdcc.3
a0800000-a0801000 : msm_hsusb
a1200000-a1200fff : spi_base
a9900000-a9900fff : msm_i2c.0
a9900000-a9900fff : msm_i2c
aa200000-aa2effff : mdp
aa600000-aa600fff : msm_mddi.0

hope that is what you needed.
[EVO 4G Android Development] danielt021:
I got this...
[EVO 4G Android Development] unCoRrUpTeD:
Thanks. I have several members with different phones involved now. This was to see how different phones have the addressing setup. Now I need to write a script that only gets the base address for the kernel(bolded above) since each model is different
[EVO 4G Android Development] mprunty:
This will be epic. I'm down to help test.
[EVO 4G Android Development] smarcin:
I got the exact same result.
[EVO 4G Android Development] unCoRrUpTeD:
I have 2 released right now. Untested. Here is the link > unCoRrUpTeD Dual Boot

If yours isn't listed please send me a pm with a printout of

adb shell cat /proc/iomem

. I will update when I get the base address
[EVO 4G Android Development] smarcin:
I'll be testing this as soon as I nandroid. But, is it possible, or will it be possible, to use a nandroid for one or both of the ROMs?
[EVO 4G Android Development] unCoRrUpTeD:
You can use it for the phone ROM. You might have to turn off the phone and then boot into recovery to reset the recovery
[EVO 4G Android Development] cesarcerros31:
Just wondering but im guessing you have to do this through adb and I never used this so asking will there be a flashable zip when out of beta?

Sent from my overclocked Cyanogenmod htc evolution 4g sucka
[EVO 4G Android Development] Tiffany84:
Can someone tell me why when I type in the command nothing shows up?
[EVO 4G Android Development] skydeaner:
It is possible to make programs that run from a fully booted phone that reboot the phone and run commands from recovery. So a physical GUI is definitely a possibility. Or a flashable zip.

To the deb's. If you need help making said GUI contact vaelek. He has a badass settings program that runs all kinds of commands. Upon selecting a command like flash the latest radio, it reboots into recovery, runs the commands and then rebpots the phone back to system. You might already know how. Just letting you know someone that knows how in case you don't. :D
[EVO 4G Android Development] Tiffany84:
Tried it and when I tried to boot into the rom on sd it got stock on splash screen.
[EVO 4G Android Development] unCoRrUpTeD:
attach the file /sdcard/dualboot/recovery.log

to see if something went wrong with the install to sdcard
[EVO 4G Android Development] theXeffect:
this might be of topic but can this be use for the g2? :)
[EVO 4G Android Development] Tiffany84:
Not sure how to attach it
[EVO 4G Android Development] Tiffany84:
Also, is there a way to remove the rom from sd if needing to free up space?
[EVO 4G Android Development] Karadorde:
I had a couple of questions before I jump right in and get myself in a bind. Does this require me to have partitions set up on my sdcard? Does the dualboot.zip partition it for me? Can I use Rom Manager or Amon_Ra to partition my sdcard if need be?
[EVO 4G Android Development] Dees_Troy:
I have uploaded my recovery.log

I followed the instructions to a T. I used a brand new install of Fresh Evo 3.4.0.1 to the SD card and then restored my nandroid of CM6.1 RC1 using Amon-RA recovery 1.8.0.0. Running the script to boot into SD ROM caused the phone to get stuck at the main Evo boot logo (not the Fresh logo). I even waited 15+ minutes at the boot logo. Pulling the battery and restarting resulted in the same boot logo freeze. To get my phone to boot again I had to restore my nandroid backup. Even after trying to set up dual boot, I still have over 1.6GB of free space on my SD card.

I would love for this to work and might even donate a couple of bucks when it does. It would be real nice to be able to dual boot into a 4G Sense ROM for 4G tethering at least until Cyanogen gets 4G working in CM (assuming that it ever happens).
[EVO 4G Android Development] Dees_Troy:
Looks like you just need to delete the dualboot folder on the SD card to remove it.

There is no partitioning. This works using an existing FAT32 partition.
[EVO 4G Android Development] Karadorde:
Thank you for the prompt response. So my sdcard should be squared away as it is right now? Sounds good. Time to test this out.
[EVO 4G Android Development] jxr94:
What happens if your running the rom off your sd card and it just poops out on you? SD cards can die right?

My guess is that rebooting the phone would take it to the main rom so nevermind
[EVO 4G Android Development] cesarcerros31:
To the top

Sent from my soon to be gingerbread evolution 4g
[EVO 4G Android Development] :
Any videos on this yet showing how it looks?
[EVO 4G Android Development] hondoslack:
Probably a kernel issue. Thats my guess anyway.
[EVO 4G Android Development] aimbdd:
guess there hasnt been any work on this. This seems awesome!

Edit: He has still been working on it. This isn;t the actual thread.
[EVO 4G Android Development] smw6180:
He has a link in the OP:

http://xdaforums.com/showthread.php?p=9345833#post9345833
[EVO 4G Android Development] qwasz123:
Thanks for the link!