yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] Rodderik:
well the app doesn't convert for you yet :)

and first boot does take a while from the sdcard
[Epic 4G Android Development] styles420:
It only partially erased mine, so I imagine that it just resizes the existing partition without wiping. Some (most) of my data was still overwritten because the new partitions were written to their previous locations. But I did back everything up, so I will be deleting and restoring what was left, just in case fragmentation has led to some incomplete and invalid files...

Oh, and the stock SD card works well enough, but it is kinda slow so far with Emerald Envy (which has a cool theme so far, BTW)

[UPDATE] It was partially the launcher... Emerald comes with four, and the first one I tried was the Dell launcher. Launcher Pro comes with as well, and while it is still noticeably slower at times, it runs MUCH better :)

Rodderick, do you know if it is possible to use a command line zip tool to extract and subsequently overwrite the update script in a rom zip, so that it could be automatically converted via a search and replace script? And since those partitions aren't in use by the system when booted from nand, perhaps it would be possible to extract a rom to those partitions from the apk... And if that theory works both ways, the nand could potentially be written from the OS on the sdcard, so you don't have to boot into CWM to flash a new rom on either boot partition...

Just a couple of thoughts...
[Epic 4G Android Development] Rodderik:
chris41g wrote a script to do it but we gotta wrap it up
[Epic 4G Android Development] styles420:
No worries, just tossing out ideas. Maybe they'll find their way into a future version? Or I might try it myself, whenever I get my other computer running (it will be much better for development purposes than my outdated laptop)
[Epic 4G Android Development] ecooce:
I should be kissing your ass right now :0

Help support autism awareness,it only takes 2 seconds to help make a difference...

http://picketfenceblogs.com/vote/3616

Sent from MyEF02 using XDAPA...
[Epic 4G Android Development] formula84:
@Rodderik How does this handle Apps on SD...

Example I have main rom on NAND with many apps on sd, i flash a new rom to SD and boot that rom...i would assume that these apps would not be used but my question would be would it damage the relationship between the NAND rom and the apps on sd? Also if you installed an app to SD when booted into the SD rom would that cause problems with existing apps in .andriod_secure?
[Epic 4G Android Development] Rodderik:
i'm not certain actually...i only remount /system, /data, and /cache ...i never move apps to the sdcard. make a backup in cwm and copy it to your pc and try it...if all else fails throw our backup on ur sdcard and restore...lemme know if it causes any weird behavior
[Epic 4G Android Development] :
I think what we need next is a way to Flash from RFS2EXT4 and from EXT42RFS ROMs. I think we should have it built in to the Script so that it Flashes the Converter every time before we revert to a ROM. For example; if someone wants to go from CM7-A4/MIUI 1.3.5 to EF02. It going from EXT42RFS. I'd really like that.

Or another thing it should do is just be something that restores Nandroid Backups. So right before we load a ROM, it Wipes the phone, does the conversion if needed, and restores the oposite Nandroid. And if we need to switch back, it wipes the current ROM, Converts if needed, and then Restores the backup. Automatically. Like what we'd do, but we just let it run and then we're done. Yeaah!
[Epic 4G Android Development] styles420:
I already converted one of the EXT4 conversion flashables, it's just a matter of redirecting the format commands to the corresponding partitions on the SD card...it has proven to be pretty easy for the zip's I've converted so far, maybe I'll find a way to upload them and convert some others...

So far, I have a modified Emerald Envy and Paranoid Android (1.15) - I remove any kernel flashing, and take out the backup and restore, so every install is a clean install. I want to make sure that part works before throwing more variables into the equation.
[Epic 4G Android Development] greatlakesghost:
Edit, posted in wrong thread lol
[Epic 4G Android Development] chris41g:
ive made a script and gave it to rodderik that automatically converts cwm3+ zips to sdcard flashables...

he will need some time to implement it into the app im sure... but it works.
[Epic 4G Android Development] venumx:
if you send the script to me i can get it implemented in no time and ill throw the app on the market for future updates later tonight
[Epic 4G Android Development] Rodderik:
i gotta do some magic with it...so i'll touch base with you on irc about it
[Epic 4G Android Development] venumx:
ok, im working on the file browser for flashing zips now
[Epic 4G Android Development] Rodderik:
almost everything on the app is now working as it should! hopefully we will finalize it today or tomorrow.
[Epic 4G Android Development] tt0204:
I am trying to port this to galaxy s i9000 and I want to know what did you change in the init and recovery?
[Epic 4G Android Development] Krazy_P@:
so is the market apk 100% working?

crusing the market and well i saw dual boot helper for the epic 4g and wondered if that ment that it was fully functional or if that was an initial release waiting for a update for all functions....

Edit: says not yet implimented (sp?) Still way ****ing stoked, I wish I could help out somehow or donate but no job or unemployment at the moment so trying to learn as much as I can in my free time...
[Epic 4G Android Development] venumx:
it's fully functional, 1.2.1 is the newest version on there
[Epic 4G Android Development] Rodderik:
all the kernel changes are here: https://github.com/Rodderik/Genocide-Kernel/commit/a5dfd9f369ae4f2c90c1e7fc7d8995f88f72bd01

you need a working redirector...shoot me a pm if you need help getting it working
[Epic 4G Android Development] Rodderik:
Get the app from the market!!! Search for DualBoot Helper
[Epic 4G Android Development] stormglove:
Does the app take care off all the steps from the OP now, as far as the set up, or is it just for actually swapping roms/mods? Sorry if this is a stupid question, but thank you for any help. even if you tell me i'm an idiot.
[Epic 4G Android Development] Rodderik:
http://xdaforums.com/showthread.php?p=15486144#post15486144
[Epic 4G Android Development] stormglove:
Sorry I should have read the picture. I read that post a couple times but didn't look at the pic where it actually says what i asked sorry about that. and thank you again. I won't skip pics from now on.
[Epic 4G Android Development] JohnCorleone:
Ok Rodderik, I am game. I am going to read the instructions twice more before starting but please allow me one noob question...I backup my SD to PC, then partition EXT4 which I want but my current setup will be transferred and stay in tact? Sorry maybe I should read,read, and read again but I have two great ROMs I want to be able to choose between
[Epic 4G Android Development] Rodderik:
you can clone your current setup to the sdcard or convert a rom zip to install to the sdcard
[Epic 4G Android Development] JohnCorleone:
Ok, so if I clone my current setup then I flash the second ROM?...meaning I put my files back on SD card after the partition...sorry. I know this is simple for you but I am going to get this done I just like to be at least 90% certain before I start...
[Epic 4G Android Development] zanderman112:
Maybe you hould specify the exact setup you want, and he can give precise instructions from there :).

Posted by Mr. Z's Epic 4G via Tapatalk
[Epic 4G Android Development] Rodderik:
cloning your setup has nothing to do with /sdcard contents...it takes your internal partitions and clones them to the sdcard partitions

backup sdcard data to pc, partition, then you can put the files back on the sdcard if you want

from there you can either clone your current rom to the sdcard or convert a zip and flash it to the sdcard

if you read along the OP while you use the app then you should be fine
[Epic 4G Android Development] JohnCorleone:
Ok Rodderik, I think I understand but if I understand OP right, the ROM running from SD card will not perform as quickly as the one in the system right? Or is this just on the first run?
[Epic 4G Android Development] musclehead84:
No it wont run as fast cause its running off the sd card instead of the nand. It will be slower the whole time. Best thing to use it fir is to keep your daily setup on nand and boot to sd to test different things.

"The greatest respect you can earn is self respect" Louie Simmons
[Epic 4G Android Development] musclehead84:
My one question about this dual boot is can u perform a backup in clockwork on the rom booted on sd card? Also if I am booted on a rom from my sd card and I then want to boot from my nand does all my data stay intact on the rom from the sd card so that I can switch between them?

"The greatest respect you can earn is self respect" Louie Simmons
[Epic 4G Android Development] styles420:
As far as I know, CWM doesn't redirect, so it most likely will only backup/restore nand (unless a modified CWM is made to support the partition redirection)

And each rom has its own /data partition, etc, so installed apps are unique to each rom. It would probably be complicated to maintain the market linking and other data between both roms, unless the kernel was further modified to share the necessary partitions - but that would further restrict the number of rom combinations

Oh, and that was two questions :-D lol
[Epic 4G Android Development] duce102:
No I would think because you'll have to either restart or turn off your phone to make the backup in cwm and therefore the Rom on the SD card won't have booted yet
[Epic 4G Android Development] styles420:
It depends on how CWM references the partitions during a backup/restore - if it uses labels like /system, then it would just be a matter of mounting the correct partitions from the sd card instead of nand. I have a CWM script that should do just that, but I'm not ready to test it, lol

But if it references /dev/block/spl9 instead of /data, then we would need to modify the source for CWM...
[Epic 4G Android Development] duce102:
Oh cool I didn't think about any of that =] ..... so that should be on the list for a cwm port which I'm itching for(I have no idea why) lol
[Epic 4G Android Development] styles420:
It would be kinda nice to be able to backup an SD setup, when moving a test build to nand for example... although I suppose you could also reverse the nand to sd clone script, to clone the sd partitions into nand (I suppose there could be reasons that it won't work, but I'm not aware of any)

If I can confirm how CWM references the partitions, then I'll try pre-mounting the sdcard partitions and making a backup... but I'm slightly worried that it will bottleneck because it will be backing up to the same device that it is reading from, and I'm not sure if that will make it take forever, or corrupt files/brick my phone... or have no bearing whatsoever... I'm comfortable with the concepts of partitions and mountpoints, but not confident in my understanding of SD cards, nand and related storage devices (I started getting rusty with programming and technology before solid state storage became so popular... still catching up)
[Epic 4G Android Development] duce102:
How big is our phones cache partition? Maybe a script could wipe it before the backup then have cwm backup to the cache(which I imagine wouldn't take to long) then copy it to the SD card when its done reading.....
[Epic 4G Android Development] styles420:
An interesting proposition... it may still not be enough for a full backup in one operation, but maybe it could be used to backup one partition at a time... if there was a problem with backing up from a device to that same device, then this would certainly be a viable workaround... but it would be three full partiton writes to the cache partition for each backup and restore, which will raise concerns about wear to the cache partition...

Given the lagginess of the sd rom, this may all be more complicated than it's worth... but I may have another use for the sd rom that could be interesting...
[Epic 4G Android Development] musclehead84:
Thanks for the replies you guys. Your right it was two questions. Lol

"The greatest respect you can earn is self respect" Louie Simmons
[Epic 4G Android Development] Rodderik:
the cache partition on the internal memory is very small...there really isn't a good way to backup the way you guys are talking...sdcard to phone to sdcard

im looking into modifying the recovery.fstab on the fly so hopefully that will take care of all the cwm operations in one go but i also have to look through the cwm source to make sure any mounts are not hard coded that could cause issues

another issue i noticed with the way everything is now...if you do a cwm backup it backs up the 2nd partition on the sdcard (sd-ext)....with dual booting this partition is used for /system on the sdcard rom and gets included in the backup..so when you restore that backup it will overwrite the /system of the sdcard rom...i'm hoping with the fstab i can resolve that problem too...just be aware of it for now

i recommend you keep your daily driver on the internal memory
[Epic 4G Android Development] styles420:
Maybe we can place a scaled down, purpose-specific rom on the sd card to provide functionality that isn't possible while booted up normally or from CWM... For example, perhaps it could be used to make modifications to the framework - reboot into the sd rom, make the changes to the nand rom while it isn't running, then reboot back to the nand...
[Epic 4G Android Development] Rodderik:
that is one of many option yes :)
[Epic 4G Android Development] chris41g:
I have nandroid scripts, that can easily beadapted to sdcard backups... instead of using cwm... ill get with rodderik about it
[Epic 4G Android Development] Rodderik:
yeah we will talk about it...maybe provide some backup/restore functions in the app
[Epic 4G Android Development] duce102:
Off topic = I wanna see a Rodderik productions GB rom =D
[Epic 4G Android Development] Krazy_P@:
Am Really this retarded...?

Has anyone gotten this working with simply aosp 3.1.2 (latest version) it doesn't want to create the partitions or so it seems, I quick booted into recovery ran the script from there, tried the app, just no go and it looks like it's doing it's job, I have a SanDisk 16g Class 4 SD if it matters. I was thinking of formatting it but though that having apps on my sd might be the problem also, Running CWM 3.1.0.1 (purple) and from a 3 finger and a quickboot it takes me to 3.1.0.1 and I KNOW not to 3finger (unless she is hot and really wants it lol srry had to), My next step would be to format the SD card and start from scratch but I wasn't 100% sure a format would erase an existing partition i seem to have read in some places it will and others it won't. I'm Feeling super dumb because I can't seem to get any part of the app to work so it seems i mean it says sucsseful but no go when it try to boot a copy of my nand from the SD, I will be on IRC later if I have not made any progress, Genocide 2.0 is installed
[Epic 4G Android Development] Rodderik:
format the sdcard in your phone...it will wipe out all the partitions..then try again

also you can pm me the log from /data/dbpart.log i think is where i stuck it if it doesnt look like it partitioned correctly
[Epic 4G Android Development] cgarcia200:
Here are speed tests I did on the stock Samsung class 2 16 gig mirco sd card and a PNY class 10 16 gig micro sdhc card I ordered off Amazon. I first formatted both cards using the format sd card option under Setting>Sd card and phone storage>format SD card. That way both cards would be empty. I used the app SD Tools to test the read write speed of both. I did 3 tests on each card. So here are my results:

Stock class 2 sd card.

PNY class 10 sdhc card.

Here is the link for where i bought the PNY sd card from.

http://www.amazon.com/PNY-microSDHC-Flash-Memory-P-SDU16G10TEFS2/dp/B004X9XQ0K/ref=pd_ys_iyr_img
[Epic 4G Android Development] Rodderik:
that is great...should provide a nice boost to a rom on a sdcard
[Epic 4G Android Development] cgarcia200:
Yes it should and i think the price for the sd card is worth it. I have noticed a increase in the write and read speed to and from the sd card.
[Epic 4G Android Development] greatlakesghost:
ok i have a question, and i haven't seen this mentioned but if it has been please forgive me. what is the min/max transfer speed of the phone to sd card? i guess what i am getting at is with my old moment i had to have a class 4 card for apps2sd to work as the minimum speed the moment would transfer data was at that. i am assuming which i hate to do is that the minimum speed would be 2mb for this phone so what is the max then? i am looking at buying a new card and don't want to pay for more than what is needed, i.e. buying a class 10 when all the phone is capable of is a class 6. tia
[Epic 4G Android Development] chris41g:
I don't know the maximum, but the few posts above yours clearly shows a class 10 will work...
[Epic 4G Android Development] jeffro18:
Read the link in the op about sd cards. It seems that the small block random read/write speeds are what really matters to run a rom smoothly. Class 10 pny cards are extremely slow in that department. I have a class 4 sandisk on its way in the mail.
[Epic 4G Android Development] greatlakesghost:
Thanks, i forgot about that being in the op.
[Epic 4G Android Development] cds0699:
This looks great, thank you sir!
[Epic 4G Android Development] jeffro18:
Got my sandisk class 4 yesterday and i'm almost done making sure i have everything backed up properly. Hopefully i will have time to finally get this running tonight. I tried getting some crystaldiskmark numbers for small block random read/write speeds on both cards, but the program keeps locking up on my pc.
[Epic 4G Android Development] jeffro18:
I need a little help here. I have tried running the format sd function through the app and zip file. Neither seems to work for me. I have tried on 2 different cards. I used rom manager to boot into recovery while flashing the zip in cwm.

After flashing the format zip, i tried cloning nandroid to sd. The whole flash only lasts like 15 seconds. It says it should take roughly 15 minutes.

I then tried to boot off sd and got hung up at the genocide screen. I had to pull my battery and 3 finger boot to remove the bootsd file to get back on nandroid.

I would think this is due to the partitions not setting up properly. When i mount to usb it only loads 1 partition with full sd card memory on it. What am i missing?
[Epic 4G Android Development] Rodderik:
that is a problem that is popping up...i think it is because the sdcard is not unmounting correctly...partitioning the manual way works like a champ (hint: you can use adb from the one click to get to a shell)

im trying to figure out what to do about unmounting deal
[Epic 4G Android Development] jeffro18:
Ok, thanks. I'll give it a try tomorrow if time permits.
[Epic 4G Android Development] musclehead84:
I havent seen this answered and I havent tried this yet but hopefully someone can answer this . If I boot a rom to my sd card and get my data setup would it be saved like it is if I boot back to the rom on the nand? So for example I need to boot back to the rom on my nand for something and then boot back to the rom on the sd card will it still be the same as I left it?

"The greatest respect you can earn is self respect" Louie Simmons
[Epic 4G Android Development] Rodderik:
yes

10char
[Epic 4G Android Development] jeffro18:
Just ran the manual partition and it seemed to work fine. I am currently running the clone nand to sd from the app and it also seems to be working fine. Thanks again for your support rodderik.

Edit: Wow! I decided to stick with the stock class 2 16gb sd over the class 4 16gb sandisk. Using "sd speed increase" app set to 2048kb, I found the stock card had higher speeds with readings from "sd tools" app.

Initial sd boot after clone didn't really take any longer than a nand boot after a flash. Response speed is on par with the nand boot, and i pull the same ballpark benchmark numbers as nand. I am highly impressed. Now to convert some zips...

Edit 2: I ran through the bulk of functions I typically use and this just runs smoother than I could have hoped. I had to change wallpapers on my sd boot so I could easily tell the difference between the two. I was actually second guessing myself at first, thinking I might still be running on nandroid because it runs so well. I probably won't flash any new zips to the sd boot untill tomorrow.

Edit 3: A few more things to report: I have noticed a bit of slowdown while downloading/installing items and running media scan compared to nand boot. It is very minimal, but I can tell. Also, if I try to use the "Backup current Rom" function in rom manager it only boots into recovery instead of booting to recovery and running backup. I can still run a backup once it gets there.

Edit 4: Ok, just skimmed through the thread again and the cwm reboot to recovery now makes sense. What would be the easiest way to wipe only my sd boot after cloning? I just converted a rom zip and want to flash it fresh, not over my clone setup.

Edit 5: Got it! I used the app to partition the sd again. I didn't have to do the manual partition this time. I then did the manual rom prep script, flashed my manually converted rom zip, booted off sd, and success. Initial boot took less than 5 min. Sorry for the lengthy conversation with myself, but I hope it helps others.
[Epic 4G Android Development] jeffro18:
Awesome, I highly recommend this to anyone who is on the fence about installing it. I am up and running 2 separate roms as smooth as can be now. This has already helped me troubleshoot a few issues I had on my nand boot. I can't thank you enough rodderik.
[Epic 4G Android Development] Rodderik:
thanks...i'm glad some one can finally report on it :D
[Epic 4G Android Development] jeffro18:
Read my previous post with all of the edits to see my journey. I figured you hadn't noticed it since edits don't bump the thread.
[Epic 4G Android Development] JohnCorleone:
I second the thanks. I have been on the fence here but it sounds like its go time!
[Epic 4G Android Development] jeffro18:
Nice, I would like to hear how it is working for others. I have been switching back and forth all day now with no issues. Some more input might help rodderik dial in the app a bit. I think the app partition tool will only work right now if it is just overwriting partitions, as it has worked several times for me since I ran the manual script. I tried it countless times before that with no success.
[Epic 4G Android Development] Krazy_P@:
I too had to go the manual way adb reboot recovery... (actually I got it half way and rodderik did the heavy lifting ;) after that me and my sandisk 16 gig class 4 have been up and running so smooth I can't stop converting zips and flashing almost every rom except SRF as I think one of the tweeks is giving me a line 6 error, even flashed a few dk28 roms just to watch it do it's thing... well I can barely tell a diffrence between a rom on the SD and one on the Nand, if there is any doubt out there try it you'll love being able to dual boot, hell you can even use apps to SD well your on a rom running from the SD card! Seriously what more could you ask for? (Aside for dual android froyo/ginger kernel) with that exception and honestly a small one when considered how rad this is I'm supprised not more peeps are reporting back, tho they could be like me and just still in a lil bit of shock and disbelife that a rom on the SD runs just as smooth as the nand, I didn't benchmark anything but will, and I wouldn't be supprised when they come back slightly under the nand or even beter just based on feel I'd say it's right on par with one another, and if you don't belive me try it your self as the whole process was painless and easy really. Just wow! Great Job Rodderik! And ayone who helped!