Partitioning sdcard [sd-ext3] [sd-ext4] - Thunderbolt Q&A, Help & Troubleshooting

Mod, Solved. Please close.
Every time I wipe dalvik cache in recovery I get a notice that says E: unknown volume file. Also when a nand backup my rom it says its skipping backup of sd-ext due to unknown volume. I tried partitioning with CWM with 512mb and the default swap, but still same problem. I tried it through rom manager with the same effect. With the HTC Incredible I just used the alternate recovery and it let me upgrade from ext3 to ext4 after partitioning. I've been told by different forums that I didn't need to and others say I do. If any one could point me in the right direction on creating a ext4 partition I would greatly appreciate it. Also stop the unknown volume errors. 50% of my flashes fail. I thinking maybe because I can't wipe dalvik cache and cache partition without errors. Thank You...
Sent with my Thunderbolt which my lady took from me.

Sounds like your SD card is bad IMO
Sent from my ADR6400L using XDA Premium App

You're gonna go to jail if you keep wiping David's memory.
Sent from my ADR6400L using XDA Premium App

His memory was always shot...
I've used 4 different sdcards. Two 16gbt. One class 2 the second class 10. Then two 32gbt, they are class 4. I have unrooted the phone then rooted it again... No go. I think the Ol' lady put a curse on my Thunderbolt.
Sent with my Thunderbolt which my lady took from me.

In questions and answers, I read about a app called Gpartition. Will this make a sd-ext? ext4 on my sdcard? Getting a E:\unknown volume directory. When wiping dalvik cache and cache partition.
Edit: Used Gpartition on new class 10 - 16GB sdcard. Everything went fine through the process but still won't show the ext partition on thunderbolt. I must have destroyed a Android in a previous life on purpose.
Hey...Let me tell you something.

I got the same before, when unplugged from my computer it worked without issue.

Related

[Q] SD ext Partition: What did I miss?

First of all, I apologize in advance. I searched through everything and can't find my question. I'm a complete smartphone noob (got my first one a couple days ago--Canada's wireless providers are criminally expensive and I boycotted them as long as I could) and, while I'm reasonably good at technical things overall, I'm totally inexperienced here, with smartphones in general, Android, and it's parent OS Linux.
That out of the way: I have a Samsung Galaxy Ace, with Gingerbread 2.3.4 on it, through the provider Koodo. I am loving this phone, but I'm not entirely sure why certain things didn't work. There were apps I couldn't download due to a lack of space (despite a mostly empty 16GB microSD card), and apps that wouldn't install for other reasons. And always that frighteningly small 158MB system drive staring me in the face. So I decided to try to fix it.
I carefully read every bunch of instructions I could find and understand. Successfully rooted the phone. Installed ClockworkMod Recovery. I repartitioned the SD card with a big ext partition and swap space using CWM. I installed CF-Root-S5830_dtapps2sd-v1.2.zip successfully, and App2SD from the market.
This hasn't helped my free space at all. Nothing seems to be using that new ext partition. My available space did not go up at all...but (of course) my SD card space went down by the size of the new partitions.
I was under the impression there were kernels that could help your phone treat the SD card ext partitions like system space, but I can't figure out where or how for the life of me. Everything has worked, but it hasn't actually done anything.
-NoobGrrl
ur cf-root is not the latest, and I think if u make sd card partition by using cwm, the format will be ext3 not ext4.. so, u should try this step :
1. flash the latest cf-root v37-b82 through cwm from this post http://forum.xda-developers.com/showthread.php?t=1158197
2. partition ur sd card by using minitool partition wizard (google it) and make ext4 format.
3. flash the latest darktremor through cwm (don' forget to mount system n sd card) from this post http://forum.xda-developers.com/showthread.php?t=715116
4. install a2sd gui from market... done..
You probably forgot to move the dalvik cache to sd-ext from A2SDGUI.
To begin with, as you haven't done this before, I recommend you download the app link2sd rather than app2sdgui. Your system will be ext3 from CWM. Select and reboot. Then return to link2sd and you can move apps one by one or by batch installation to your partition by creating a "link". This method gives you finer control over which apps to move. It shows file sizes and how much of the app will be moved. After moving the apps reboot and hey presto - free internal memory.
I also recommend getting an app called DiskUsage to see what is taking up space and a file browser with root functions. I use Root Browser by jrummy16 - free on market.
Sent from a phone with an app.
First of all, thanks for the replies! I like the detailed instructions from musf especially...step-by-step for me is really the best way.
Okay, tried to follow those directions exactly. Minitool Partition Wizard has reformated the little 2GB partition I made on the SD card to ext4. Most recent CF-Root and dtapp2sd zips seemed to install fine. I think I mounted all the drives...I just do it from CWM, yes?
Downloaded A3SDGUI and it gives me an error:
Exiting A3SDGUI
Could not start for one of these reasons:
1. Your device is not rooted (it is, superuser shows access granted to A3SDGUI)
2. A3SD scripts could not be found (if so, no idea why.)
3. No EXT partition found (again, no idea why.)
Edit: Tried Link2SD and it gave an error as well, "Mount script could not be created. No such device."
Okay, so obviously it doesn't see my SD card's partition. So I put it back in my PC and recreated it again. No change at all...
yes from cwm, choose the "mount n storage" menu, then moutn system, then mount sdcard, then instal the darktremor zip file..
That seems to have almost worked...yes, I was mounting the drives after running DT. Duh. (I assumed somehow that DTapp2sd allowed me to set up the drives and I was telling the phone to mount it afterward so it could be used. I didn't realize DTapp2sd just needed to write to the drive.)
Almost. Almost worked.
Now, app2sd actually starts up successfully, no errors. (link2sd still gives the same error.) However, App2SD can't actually move anything. All items remain disabled, even after selecting them.
So then I remember the post above about the dalvik cache. So I go into App2SD and try to move it to the sd-ext folder, and it tells me there is not enough space. I have 124 MB of system memory left right now...and the SD card is mostly empty.
Follow the following instructions and tell me if they work:
(redo the steps even if you have done them already)
1. download cwm5 from the forum and place it into your sd card.
2. make a backup of your sd card and reboot your phone into recovery.
3. flash cwm5 file and reboot the recovery.
4. from the recovery, re-partition your card with a ext partition (you dont need more than 256-512mb. I have 16gb card and mine is only 256mb).
5. select swap if you want it.
6. ~partitioning complete~
7. Connect your phone to your computer with usb wire (while in recovery.)
8. mount usb storage from recovery.
9. copy the cfroot file to your memory card from pc.
10. unmount the usb storage.
11. mount system,sdcard, sd-ext (just to be on safe side) and flash with cfroot.
12. reboot.
13. open a2sdgui.
14. click yes, apps are on sd!, zipalign on boot is on!.
15. set swap if you want it.
16. from dalvik, click on dalvik cache on sd-ext and click move and rebuild.
17. your phone should reboot and you will be done
Notes: Its normal that after flashing a2sd script, your phone restarts a coupe of times so just leave it alone for a moment.
Don't forget to give superuser permission to a2sdgui.
If you still get some error, sty flashing the script again.
If it still doesn't get through, search for the dt a2sd beta 4 script and flash that from recovery. Other steps are the same!
Happy FLASHING
I'm using Clockworkmodace. That's 4, not 5, right?
I can't find a zip for CWM5 that is designated for the galaxy ace...
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
I think cwm5 should work and i made it using point 4 and it works perfectly.
p.s. sd-ext are normally ext2, not ext3 or ext4. ext4 is normally used in internal.
EDIT: No it dsn't. Use cwm4. I guess that one has partitioning option too right? O easy way out, flash to ics1.2
aymi60 said:
Here is CWM 5 : http://forum.xda-developers.com/showthread.php?t=1291327
Click to expand...
Click to collapse
Edit: Ah, missed clarifications of my worried on the second page.
Then , i would recommend you to use cyanogenmod 7.2 RC1 , it is better than a stock ROM
Click to expand...
Click to collapse
What is cyanogenmod?
musf said:
2 mistakes from redlag's instruction (cmiiw) :
first, cwm 5 is for cm7 based rom, dunno what'll happen if used on stock gb.. n second, point 4 can't be used, it'll make ext3 not ext4..
uninstall the link2sd then reflash the dta2sd (mount!) or uninstal the dt then reflash link2sd.. can't use both, they're like fire n water, lol.. u must choose..
Click to expand...
Click to collapse
No go...no change at all.
IrishRed said:
What is cyanogenmod?
Click to expand...
Click to collapse
Go to recovery, Wipe cache/system/data. (make sure you have made a backup of your data.)
Mount the stuff and flash with http://forum.xda-developers.com/showthread.php?t=1258830
You have a new rom with dt a2sd running within
I'm going to try a different version of dtapp2sd first.
Should the ext and swap partitions be logical or primary?
I'm starting to think my EXT partition is not formatting properly in mini partition tool. Unfortunately CWM uses Ext3 and I'm told it's worse than Ext4 and Ext2 is better than both for an SD card.
Both primary. 1st one should be fat32 and second one should be ext2.
Well, good news and bad news. After some work, reformatting the partitions again, reflashing a new kernel, I finally got it working.
Trouble is, it's not stable. Apps keep crashing, the "Gallery" app only shows a black screen, and it randomly loses access to the FAT32 partition when running, and the SIM card occasionally says "Unrecognized" (forcing me to "restore to factory.")
*sighs*
Flash to the rom i linked you to.

Formatting internal memory......

I have a problem restoring nandroid backups. It freezes while restoring data at the same place every time. When I try to wipe data or cache, I get an error thay says cant mount dev/block/mmblk1p2
That might not be exact. Anyway I googled some info and people with the same error traced it back to a bad partition on internal memory.
My question is would formatting internal fix it? I know my data would be gone but would system stuff be wiped too?
Sent from my Milestone X2 using xda premium
The same thing happened to me. It would freeze on the same thing every time. My guess is that your recovery file is corrupted. you might have to make a new one (if you can) if not then you can always sbf back to 2.3.4

Need help about swap partition

Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
StardustGeass said:
Several days ago, I make a 128 MB swap partition as a 3rd partition on my sd-card (the 2nd one is an ext-4 partition). It works flawlessly and going well...
Yesterday, I tried to flash another ROM... So, I make a backup via CWM, clear data, cache partitioon, and dalvik cache.. At the same time, I delete the ext-4 partition, and enlarge the swap partition to 256 MB...
Since I'm found the new ROM is unstable, I revert back to my old one, via CWM restore... But now, if I type 'free' on the terminal emulator, the swap size is 0 (before doing those things, the size is about 133000KB, since its 128MB). I tried to enable and disable compcache, but when I disabled it, the size returns to 0 again...
Any help ?
Thanks in advance..
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
this happens because when doing a full-wipe or restore, CWM format the swap partition to ext2 (some ppl say that if you have an ext partition this doesn't happen) so you need to reformat the partition to swap (sometimes I have to do it 2 times before the system acknowledge the swap partition) so, mount the sd in your pc, and reformat the partition. that should fix it.
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Ok, thank you for your answers
Sent from my U20i using xda app-developers app
penthaler said:
Dont reformat only that partition, you have to format whole memory card and create partitions again.
Dont forget to backup your data from SD card.
btw. I wiped data too and only reformating swap partition didnt work.
Click to expand...
Click to collapse
In my case sometimes works with the first try, sometimes I need to re-format the swap partition 2 times. but I haven't format the whole sd in more than a year, and I go testing roms almost every week.

Proper reset

Long story short bought a galaxy note off craigslist met up at best buy to swap phones check numbers and so on and reset phones
Went home wiped again rooted and flashed cm10 just noticed all his pics are still on here (some with sensitive info drivers license checks vin numbers).
Rather then call the guy and get him paranoid what would be the best way to wipe this completely clear
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
format of the SD card, and the internal EMMC partition...
Format the External card to FAT32 on your PC with the adapter....unless it's yours and you know it's clean....otherwise...scrub it..
Once the external is clean or replaced...(your call) then move any files you wish to keep from the internal card to the fresh external..
Then boot into your recovery, under advanced options, and format the EMMC partition..(note, not all recoveries will do this, but the latest CWM or TWRP will work)
Once the EMMC is clean, reboot the device, and the rom will populate only the files it needs to run, and all of his internal garbage will be gone..
(note: this will not remove app data stored within any apps, but the standard data wipe should handle that)
DISCLAIMER: this method "WILL" wipe all data from the internal space of the device.....proceed at your own risk....(low)
the rom will remain the same....So "SAVE" anything you want to keep before doing this..
After the EMMC format, you can move back anything you saved prior to wiping/formatting of the EMMC space....g
gregsarg said:
format of the SD card, and the internal EMMC partition...
Format the External card to FAT32 on your PC with the adapter....unless it's yours and you know it's clean....otherwise...scrub it..
Once the external is clean or replaced...(your call) then move any files you wish to keep from the internal card to the fresh external..
Then boot into your recovery, under advanced options, and format the EMMC partition..(note, not all recoveries will do this, but the latest CWM or TWRP will work)
Once the EMMC is clean, reboot the device, and the rom will populate only the files it needs to run, and all of his internal garbage will be gone..
(note: this will not remove app data stored within any apps, but the standard data wipe should handle that)
DISCLAIMER: this method "WILL" wipe all data from the internal space of the device.....proceed at your own risk....(low)
the rom will remain the same....So "SAVE" anything you want to keep before doing this..
After the EMMC format, you can move back anything you saved prior to wiping/formatting of the EMMC space....g
Click to expand...
Click to collapse
Everything is on the internal memory
Understood ....
Format the internal storage and your good ....g
I'd keep all that info in case you want to fake your death one day
johnrippa said:
I'd keep all that info in case you want to fake your death one day
Click to expand...
Click to collapse
Noted.
Sent from my SAMSUNG-SGH-I717 using xda app-developers app
Currently the older version of clockwork mod doesnt support this feature 5.8.4.8 and TWRP doesnt work for the note any other suggestion??
Can you not format the sd card and internal memory using a menu in the settings for CM10? I am not familiar with CM10 but there should be no need to use recovery to do this. The stock ToucWiz ROM can.
Agoattamer said:
Can you not format the sd card and internal memory using a menu in the settings for CM10? I am not familiar with CM10 but there should be no need to use recovery to do this. The stock ToucWiz ROM can.
Click to expand...
Click to collapse
Actually CM10 was all buggy just went back to ICS not fimiliar with Touchwiz will try to look through the menus of touchwiz and see what i find
Go menu button/settings/storage. There you can format both. Simple as that.

Erase all data when switching roms

Hey can someone help me I want to know how to erase all data when switching Roms. I've noticed when I factory reset wipe caches, some left over data will carry over from old ROM to new ROM........ Thanks in advance
Sent from my LG-E970 using xda app-developers app
iamtha1 said:
Hey can someone help me I want to know how to erase all data when switching Roms. I've noticed when I factory reset wipe caches, some left over data will carry over from old ROM to new ROM........ Thanks in advance
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
I also had this question in my mind a couple days ago and found the answer, I wiped all the caches/dalvik/system etc....then formatted the internal storage (sdcard) in cwm which i never did until now...that erased all leftovers...hope this helps
Yeah, when you get into cwm, format /system. That will take care of it for sure. Anything on your SD cards should be irrelevant to the OS unless you're restoring data.
Sent from my Optimus G using xda app-developers app
just to follow up on what jank said, if you do format /data/media, it will erase your whole internal sdcard. i do this every time i install a new rom to give it a fresh start. this does not affect your external sdcard.
Thanks so much guys!
Sent from my LG-E970 using xda premium
ok just to be clear(lol) i select format /data and /data/media option(sdcard)
Sent from my LG-E970 using xda premium
iamtha1 said:
ok just to be clear(lol) i select format /data and /data/media option(sdcard)
Sent from my LG-E970 using xda premium
Click to expand...
Click to collapse
You only need to do format /data. That will format the whole /data partition including /data/media which is the internal sd card. However, I just want to say you only need to factory reset, wipe system, then dalvik. Wiping the whole /data partition is only causing you more grief. Nothing on the internal sd card can cause ROM issues. I have been flashing ROMs on several devices (phones and tablets) and have never had to wipe my internal sd card.
All that is necessary is to follow the directions given by the ROM developer in the OP.
EDIT:
Factory Reset - Wipes /data but not /data/media. It also wipes cache.
Wipe Data - Wipes the whole /data partition (Meaning ALL user/app created files)
Wipe data/media - Only formats internal sd card.

Categories

Resources