yashsingh1/xdaforums huggingface dataset:
[EVO 4G General] 1seven:
Parition, flash, boot. Upon boot, run whatever a2sd/data2ext/s2e/etc script your ROM runs or enable the required settings to see your SD-EXT as internal memory.

If you're talking about the other data on your SD card, I'd always have a backup on my PC, but once you've partitioned your SD card, anything in /mnt/sdcard would be unaffected by your flashing/reflashing, as long as you don't partition again. But for when you partition, yeah, backup SD to your PC and copy it back after you partition and/or flash (I took this as a chance to really clean up my SD card, most of the app-related stuff is recreated by the OS, I just worry about: my media files, nandroids, any backed up app settings, etc.)

Just make sure that when making a nandroid, you also add sd-ext to your backups/restores/wipes.

Hope that helps, if I'm understanding you correctly.
[EVO 4G General] DRatJr:
Ok I plan to flash synergy with godmode, how would I run the script on that rom?

Also, yea, I will make a backup on my PC, then I can just copy everything back over after I flash and boot? Wht I was asking is will it affect my phone / rom if my sd card is empty except for the zip of the rom after I flash and boot? Like, will it be able to boot the rom with an empty SD card? And will it affect my amon RA recovery with an empty sd card?

Sorry i have many worries lol
[EVO 4G General] 1seven:
Your phone will boot perfectly fine with an empty SD card (or in this case, SD partition.) The OS will create whatever files it needs. The only time this would present an issue that I'm aware of if you've used Android's native "move to SD" feature for an app, then remove/erase the SD card--of course the system wouldn't be able to run that app then. That doesn't apply here, since you're flashing a new ROM.

As far as I know, the only thing Amon Ra would need from your SD card is the ZIP you intend to flash.

As for Synergy ROM, you'll need to get help with that question from those guys--I haven't tried that one out yet so I'm no good to you there. I'm new to this sd-ext stuff, I just know that different ROMs can handle it differently and may have different names for it. Currently I've got CM7, with my SD card partitioned as discussed in this thread, and using the s2e implementation (an app that controls the script), which I think only applies to CM7. On my dad's LG Optimus S, it's called data2ext. Etc, etc... but the partitioning principles are the same, regardless.
[EVO 4G General] DRatJr:
Thanks a lot man. So please confirm this one last time:

Clear sd card and backup to pc

Partition

Copy synergy to sd

Flash and boot

Run the script.

Copy sd contents back on

I'm good to go

?
[EVO 4G General] 1seven:
edit: I misread, you've got it right!

1. Backup SD card to PC

2. Partition (partitioning formats your entire SD card.) I use AmonRa (also update the new partition to ext3)

3. Place ZIP(s) on your SD card, along with anything else you want--flashing won't erase anything on the card.)

4. Flash

5. "Run the script"--some ROMs handle it natively, you may have to run a script, or install an app, or do nothing at all--this is the part you need to research for that specific ROM and then confirm it's working.

6. Remember that whenever you make a nandroid backup after this, you'll want to include SD-EXT

Feel free to hit that "thanks" button if I've helped ya out any. :)
[EVO 4G General] DRatJr:
Okay and like said above include sd ext when I backup and wipe it when I switch roms too, right?
[EVO 4G General] 1seven:
Yes indeed :)
[EVO 4G General] DRatJr:
Thanks so much man haha. I will hit thanks when I get on a computer.
[EVO 4G General] DRatJr:
Also does the script need to be ran after I flash and new rom each time?
[EVO 4G General] 1seven:
edit: Your last comment wasn't appearing when I posted.

Like I was saying, different ROMs handle this different ways, so for Synergy, you'll need to read up on Synergy. Switch to a different ROM, and you'll need to see how that one treats it. And if a certain ROM doesn't support it, or you don't set it up, having the ext3 partition there won't hurt anything, it would just be ignored.

When you're talking about nandroid backups and restores, though, as long as you have it set up and working at the time of backup, and you restore all the partitions, you wouldn't need to set it up again, no.

Good luck with Synergy, hope you like it... I'll get around to trying it eventually...
[EVO 4G General] DRatJr:
When I try to copy all of the contents of my SD, it says that some file names are too long to be copied and that i can shorten the name and do it manually. It says this about 45 items at the end when mostly all the contents are copied over. How can I stop this from happening?
[EVO 4G General] 1seven:
What folder? A lot of the SD card is stuff like cache, or otherwise unnecessary to back up.

I'm not a dev, so you might check this elsewhere... but if I'm not mistaken, /.android_secure contains the apps you moved to SD using the native OS's feature--since you won't be doing this after partitioning, there's little reason to have to save this folder. It looks like /Android/data is all cache. Anything you need to save should be fairly easy to find if you navigate the folders a bit, and its doubtful that anything you'd need to save would have a name or path long enough to cause an error.

I'd just take a few minutes to investigate what's on the card and ID what needs to be saved (pics, MP3s, nandroids, downloads, whatever), especially since if I'm flashing and changing the file format, I'm going to want to install all the apps clean and fresh. So much of the rest is created by the OS as needed and serves no purpose in backing up, especially since the newly flashed OS won't be handling things the way the old OS was.
[EVO 4G General] DRatJr:
Okay but the folder like NAND backup I should copy the whole nandroid folder and recopy back on, correct?
[EVO 4G General] 1seven:
If you still want those nandroids, yeah, you'd probably want to keep that one. :D
[EVO 4G General] DRatJr:
Haha but essentially, nothing is necessary on my SD card? Everything will be generated by the OS when I flash, correct?
[EVO 4G General] taadow1030:
I have had trouble restoring nandroids on both CWM & AR. This is for nandroids created after the card was partitioned. So do full nandroids not work at all after partitioning? If so, can anyone tell me what I'm doing wrong?
[EVO 4G General] Dredz:
Correct. Be careful with nand's though. (see below.)

:cool:

1st off, I only have experience with AR so YMMV with CWM. I have been able to do full and custom nand restores on the OE 8GB SD Card with no errors. The only time I have been able to recreate the issue is by using a nand I made before partitioned. Are you using the most recent recoveries? Can you nand restore after removing the partition?

:cool:
[EVO 4G General] taadow1030:
Thanks for replying Dredz. I will hit the thanks button. I'm using AR 2.3. I have not tried to remove the partition, since they are needed for Sense 3.0. I even repartitioned my card again and made new nandroids. Same result. Is it perhaps due to apps being moved to the card?
[EVO 4G General] 1seven:
I've seen conflicting info on this, with some users saying that nandroids created before partitioning could be restored to a partitioned system. I haven't tried it myself, but it sounds like you're confirming that once partitioned, the old nandroids are useless, correct?
[EVO 4G General] ant76:
So me not being partitioned is most likely what's causing my problems the oops something went wrong error when I try to use a recovery with ra
[EVO 4G General] Dredz:
Apps on the SD should not cause any ill behavior. Unless the ROM states you MUST have a partition, it's optional. I have seen several being ran without part-ing, just don't care for the mem state. Have you tried error checking your SD on a windows pc? Also, a fresh copy of AR(I know, sounds crazy) has helped others too. You aren't backing up cahce right?

:cool:

Correct is the right answer if we add YMMV to it. To put it as simple as I can, restoring a nand you made before part-ing is like installing a new ROM and only wiping cache & dalvik. May work for some and not others, and you may see unknown issues later no one can answer.

:cool:

I can't answer that question with the info you have given. I haven't been able to recreate that error:p. More info please.

:cool:
[EVO 4G General] DRatJr:
dreds answer my PM on this issue plz
[EVO 4G General] taadow1030:
I too get the oops error message. I also check every option when creating the nandroid. Perhaps that is the reason my restores are failing. Hmm... I will delete the cache and SD card ext. from my nandroids and see if that will allow me to restore them.

Edit: I removed cache, SD card ext, etc in stages from a nandroid. No success.
[EVO 4G General] algirnavi451:
Removing partition

How would I go about removing the partition on my sd card

I am using AmonRa recovery 2.3

Thanks
[EVO 4G General] Dredz:
How are you getting this error? I am trying to recreate it on my end so I can remedy it. I haven't seen that error on my end.

:cool:

Done.

:cool:

follow the op and use 0 for swap, 0 for EXT2 and the rest for FAT.

:cool:
[EVO 4G General] taadow1030:
Dredz, I wish I knew. I installed a fresh copy of AR on the root of my card. I previously installed Recovery using ROM Manager. Perhaps, that was the issue, based on comments I read in another thread.
[EVO 4G General] dblkspecial:
If partition, install a ROM then decide to try a new Rom, do I have to redo the partition again?
[EVO 4G General] ssconceptz:
Not if u have RA recovery or a custom wipe. As long as the wipe uses wipe sd-ext it'll clear it.
[EVO 4G General] 1seven:
I know this comment is a few days old, but if you're still reading, taadow1030, the "oops" message most likely means your SD card has gone bad.

I've been trying to troubleshoot a bad r3chargeD ROM install, and at one point decided to try a different SD card, and the replacement started throwing up this error when I decided to repartition the card. Came here looking and found this post from earlier in this very thread, as well:

http://xdaforums.com/showpost.php?p=15635570&postcount=80

If you have a card reader handly, try running h2testw and see what it tells you, but you're probably going to want to look into a warranty replacement for that card.
[EVO 4G General] makmoneynslp:
Ok hello evolution community. I came over from the Samsung epic to get an stable cm7 and I'm pretty impress but anyway I have two questions

1.how can I see my partition SD in root explorer with cm7?

2. Do I have to wipe SD ext along with data delvik and cache everytime I flash a rom?
[EVO 4G General] 1seven:
I'm not currently in CM7, so somebody else will have to check that for you. I thought I recalled sd-ext showing up at the root level, but can't check atm.

But to answer your 2nd question, yes, you'll want to add sd-ext to each wipe you perform when flashing a ROM.
[EVO 4G General] makmoneynslp:
Yes it is on the root of my SD card but nothing is inside the folderon synagry it was in system/SD but thatmay had been just for synagry
[EVO 4G General] taadow1030:
Thanks 1seven! I will also run an error check on the card in hopes of saving it. Thanks button to be pressed.
[EVO 4G General] 350zx6r:
how do you remove the partition if I were to on the sdcard... cause no even windows 7 can do it. thx
[EVO 4G General] evo4ger:
are you saying to wipe everything plus wipe sd-ext when changing ROMs???
[EVO 4G General] Braneless:
Wipe sd-ext if you use a2sd. If you don't partition your sd and install apps there, don't worry about it.

NS4G NSCollab Sprint 1.0.51, Matr1x 8.0+, Caelum Theme
[EVO 4G General] oz238:
sorry for the dumb ? but just want to be certain....im stock root, and i have amon ra recovery. after i partition i cant use nanroid backup i made with amon? i downloaded from market app2sd is that still good for me even after partition?

thanks.
[EVO 4G General] dvtmg704:
Yea u can but copy all ur SD card to ur pc then partition then reboot them copy pc back to SD card
[EVO 4G General] dblkspecial:
Question, I partitioned. Now most of the time with any rom I'll reboot and then my apps are all gone, yet I never installed any on the SD card...even the market is gone so I'm forced to go back to stock. Any ideas why or how to fix it??
[EVO 4G General] runwitme:
ok i just got me a new pny 32gb micro sdhc card .. do i need to partition it? im currently running TN xplod 2.1.1 rom with tiamat 4.0.8 .. or can i just stick in my new card and copy over the stuff i want from my old sd card like my music/movies/pic .. do i need anything else? .. would i be able to use my nand still? .. srry if its been answer already but i just kinda scan thru a few pages and wasnt sure what to do .. thx

edit: ok kinda got it now .. pretty much take out my old sd card .. pop new one in .. follow the steps to partition my brand new card .. but what i dont get is install rom .. do i have to do a fresh new install of my current rom and kernel? .. im guessing its best to right ..

edit 2: cant i just partition my card .. change from ext 2 to ext 3 and jus reboot and load my rom? .. what bout ext 4? .. would the TN xplod be able to use ext 4?

edit 3: nvm figured it out .. thanks for the tut
[EVO 4G General] bytes2bits:
Please share the answer. I'm in the same boat. I just got a new 32gb card. I partitioned it and then changed from ext2 to ext 3. I copied everything from my old card to my new card (using my computer). Can I just put in the new card and boot up right from where I left off still using my previously loaded rom? TIA.

Edit: Seems like it worked fine. I had to re-add a few missing widgets but no biggie.
[EVO 4G General] savannahmick:
Help with first partition please!

I have learned how to flash and root along with alot of other stuff but haven't done a partiton yet. I am running Mik 3d SS rc1 but want to try Runny-Bliss beta8 but in thread it says I need to partition. I'm scared of losing important files and causing issues and any help or info on partiton of SD would be great! I'm not sure what ext. to use or what I need to keep and transfer back after other than personal media. Is there any files I need to keep and what are they? HELP PLEASE THANKS!
[EVO 4G General] kthorpe88:
I'm running fearmed beta 8 and I just finally partitioned my 16gb card.....here's what I did......

I flashed ra recovery via rom manger and then booted to recovery and then selected partition sdcard and set my swap to 1gb and ex2 to 4gb and left the rest for the ex3 and then I wiped user data and such and ran kingsformat all and then flashed the Rom again and redownloaded all my apps and they went right where they needed to and has worked flawlessly
[EVO 4G General] bytes2bits:
Don't forget to back up your sd card first unless you don't care about losing everything.
[EVO 4G General] runwitme:
glad it worked for you .. the rom i believe is installed into internal memory .. so i guess it would just boot up .. but i was installing a new rom anyways so i jus followed the steps and got mine up and running .. but my card write speed isnt even close to the stated speed on the card .. class 10 my *** .. write speed stuck at 5mb only .. not even close to 10 .. lol
[EVO 4G General] savannahmick:
Are there any files that are needed on SD card like the wimax info or just save my pics/music/or other media? I don't want to erase important files on accident. If I am not worried about pics or other personal media then I can just partition right? Thanks Again!
[EVO 4G General] bytes2bits:
Wimax info and that sort of thing are stored on the phone in a dedicated area. Just save the whole card onto your computer (to be safe) and then you can add any data you want back onto the card later. It's my understanding that any rom specific files are recreated onto the sd card anyway when you first boot the new rom.

Yeah, if you have everything backed up to your computer or you don't care about the pics, etc you can go ahead and partition the card.
[EVO 4G General] savannahmick:
Thanks! I will partition and flash Runny this weekend!
[EVO 4G General] bytes2bits:
Can't mount partition?

I've been using DTA2SD for several days now on a newly partitioned 32gb sd card with DTA2SD built into the rom and activated. It seems like it's working as expected however when I went to flash a new rom by first wiping all data in RA I get the following error:

Can't Mount /dev/block/mmcblk0p2

I'm not sure what to make of this. Since it's unable to mount this it appears that my sd-ext is not getting wiped and is causing issues when loading a new rom. I also can't directly mount the ext-sd from recovery. I get the same error.

Can anyone explain what's wrong? I'm really lost when it comes to anything Linux.

Thanks for any assistance.
[EVO 4G General] ccaudio1:
wipe everything one by one except SD CARD. then wipe all data...

if problem persist... i would just back up your apps on your pc, then reformat your sdcard, repartition, initalize ext2, then ext3... then copy your files back to the card..

then flash your rom.. also make sure the download isnt corrupted..
[EVO 4G General] bytes2bits:
That's the problem... part of wiping all data includes wiping the sd-ext and it's unable to do that because it can't mount it.

I think I'll have to just do the second part of your suggestion and start fresh and re-partition. I was trying to avoid that because I'm too lazy right now to have to set up a new rom from scratch. I'll wait until I'm in the mood and just go for it. Thanks for the suggestion.
[EVO 4G General] sane82:
Had the same problem too and I had to wipe everything even sd-card. But after that it was all good. make a nand and leave out the sd-ex and you should be good to restore your roms nand. at less thats what I had to do. good luck
[EVO 4G General] bytes2bits:
Were you able to eventually partition back to an extended partition or did you have to stick with the standard setup? It's weird because everything seems to work fine otherwise.

I just noticed that if I explore using Root Explorer that mmcblk0p2 is actually listed under dev/block/platform/msm_sdcc.2/ as opposed to /dev/block/ where recovery is looking for it. I also see mmcblk0 and mmcblk0p1 listed here also. What the heck is going on???
[EVO 4G General] sane82:
Yes I was able to go back to ex-3 its happen to me more then once. And from what I remember it had something to do with a bad Rom download but I could be wrong its been a little sence its happened.
[EVO 4G General] evo4ger:
do you still have to do step 4?
[EVO 4G General] bytes2bits:
I would think not. If you enter 0 for the ext2 partition than there is no ext2 partition to convert to an ext3 (step 4). I'm about to eliminate (or re-do) my extended partition so someone please correct me if I'm wrong about this.
[EVO 4G General] Dredz:
You are correct.

:cool:
[EVO 4G General] bytes2bits:
Need help please...

Hi all.

I have a 32 gb class 6 card (Topram) which I purchased about 2 weeks ago. I partitioned it with a ext2 and converted to an ext3 and had been running Mik 3DSupersonic with a2sd with no problems. Today I was copying the contents of the card to my computer using a card reader and something went wrong. Upon inserting the SD card back into the phone it was unrecognized. I have tried partitioning it with my phone through RA Anon recovery (it completes almost instantly) unsuccessfully and also through my Windows 7 computer without success. Are there any tricks I can try or is this brand new card shot?

Thanks for any insight.
[EVO 4G General] Dredz:
Have you tried running a error-check on your card through the PC? Put the card in your reader and go to properties and go to the tools tab.

:cool:
[EVO 4G General] bytes2bits:
Yes I tried but the PC didn't even see the card. I'm certain it was somehow trashed. It's on it's way back to Topram for warranty repair/replacement.
[EVO 4G General] Phillysphinest1:
Gents...

I've been putting off partitioning my card for forever now. So i get some some time and of course i screw it up. I read some more...try what i read and BAM!!!

295MB of internal space. Up from a huge 15MB!!!!:eek:

Lesson here today: Reading is fundamental:cool:
[EVO 4G General] RoadBicyclist:
This should be on post 1 for us newbies, yet is not...

Every time you flash a new ROM to your EVO, you must wipe SDEXT along with cache, dalvik cache and data, EVERY TIME!

Thanks Dredz!
[EVO 4G General] OneDeep:
Can someone explain to me why my partition stop moving new installed apps to as2d? It's been at 206mb for a while now.

I'm running MIUI.
[EVO 4G General] Notorious:
Try a2sd reinstall in terminal it should move all apps on internal to ext3
[EVO 4G General] **super_flasher**:
How do I install a2sd...
[EVO 4G General] Notorious:
Most roms come with it baked in nowadays if it doesn't just find the dta2sd thread download dta2sd flash in recovery then go to terminal emulator and type a2sd reinstall
[EVO 4G General] howdyace:
anyone use 64 for swap with cards bigger then 8 gigs?

Just want to know if its necessary or not or can i just use 0.
[EVO 4G General] Dredz:
It's not necessary, you can use 0.

:cool:
[EVO 4G General] howdyace:
thanks for the reply dredz
[EVO 4G General] sebast1an09:
I am going to partion my new 32gb sd card. How much should i use for the ext2? Is the whole process the same?
[EVO 4G General] swift2989:
I personally would use 2-3 gb, other than that the process is the same bro
[EVO 4G General] Dredz:
The size you use should depend on your use of apps. If you run 100+ you should use 2048(2 Gig). Less then that, 1024 should be plenty.

:cool:
[EVO 4G General] mayer7196:
Problem? NOOB/Kinda.

I did this to a T, except when I got to 6. I went up to USB-MS and clicked it..it said enabled....was it suppose to allow me to transfer my ROM to the card? Sorry for the dumb question
[EVO 4G General] Notorious:
Plug phone into computer then enable USB Ms toggle and it would allow to transfer files
[EVO 4G General] jminor4326:
insufficient space Error Message

the last several days I've tried to load or update Google Maps and other large apps, and I get an error that says "Error downloading: There is insufficient space on the device" What is the problem and how do I fix it? I'm running MikG v2.61 - Re-Engineered GB Sense 2.1 + 3.0 on an EVO4G and I have the SD card partitioned and am using a2SD. my Internal has 214 MB free and my 2 SD card locations have more. Any suggestions? Thanks for any help.
[EVO 4G General] Dredz:
My guess would be either a faulting SD card or ROM related. I have no experience with MikG to test further but your answer may be in his thread.

:cool:
[EVO 4G General] Raistlin1:
I want to upgrade my card and partition it. Would I be able to copy the contents of the old card onto a smaller card and save that for a rainy day? Say I want to restore to the very first stock image when I rooted (this will probably never happen but you never know). Would I be able to move the contents of the current card to a smaller card and then use that smaller card in the future if need be to do a restore?

I have so many smaller cards laying around, it would be great to save the contents of my current card to one so I can use the larger card in a different device.

Also, what app/driver do I need on my pc to hook up Evo to move the ROM zip file to it? I am at work and I don't have it on my PC and I forgot what it was called.

Could I partition card and then when that is done pull battery and card and then transfer rom to the card that way?

Thanks
[EVO 4G General] Mark_Hardware:
out of curiosity, how long should this take? Mine has been partitioning for like, two hours. dot......dot......dot......dot.....

Haven't even gotten to the next step yet
[EVO 4G General] Dredz:
Yes. All the things you asked can be done. You should need no 'special' driver to transfer the zip file to your Evo. When you connect your Evo to the PC it should allow you to use it as a disk drive. You can also do this in recovery(usb-ms toggle).

:cool:

Yeah, that's taking entirely too long. This is a fast process. What step are you stuck on? My 16GB C10 does it in a matter of seconds. You may have a bad card. Are you using AmonRa?

:cool: