[Q] [BSR] Should I format/partition my SD/sd-ext? - Motorola Droid X2

Device Info:
- Droid X2
- 2.3.4
- CyanogenMod 10
- Patched BSR
Whenever I go into BSR to wipe my dalvik-cache, I always get an error right when I click it.
Code:
E: Can't mount /dev/block/mmcblk0p2
(File exists)
This has never necessarily caused any problems, since it still wipes it (I can verify because once I reboot, it rebuilds it). But should I do something to fix this? I've read that formating your SD and sd-ext are ways to fix it if they aren't partitioned correctly (like in FAT32 or something).
Should I format/partition them, and if so, what is the best way to do it and what settings/options should I make if needed? (PLEASE be specific and clear)!
Thanks - any questions feel free to ask!

I don't see it helping it does that on my droid x also.

appl3mac said:
I don't see it helping it does that on my droid x also.
Click to expand...
Click to collapse
I eventually did it anyways. I formatted my Internal, External. I also partitioned my External to include a 512M sd-ext. After doing this, I no longer get an error (but that error didn't cause any problems anyways). I think the error is just because it looks for a sd-ext partition, but I could be wrong.
Formatting and Partitioning wall all done through BSR.

IAreKyleW00t said:
I eventually did it anyways. I formatted my Internal, External. I also partitioned my External to include a 512M sd-ext. After doing this, I no longer get an error (but that error didn't cause any problems anyways). I think the error is just because it looks for a sd-ext partition, but I could be wrong.
Formatting and Partitioning wall all done through BSR.
Click to expand...
Click to collapse
Well that's good to know I loose hard drives buy trying to partition them so I stick to what works. Can't afford many more.

I get that error now too when wiping dalvik. I was wondering what it was about. As long as it doesn't present a problem I can live with it.
Sent from my JB'd X2

Re-format internal/external
IAreKyleW00t said:
I eventually did it anyways. I formatted my Internal, External. I also partitioned my External to include a 512M sd-ext. After doing this, I no longer get an error (but that error didn't cause any problems anyways). I think the error is just because it looks for a sd-ext partition, but I could be wrong.
Formatting and Partitioning wall all done through BSR.
Click to expand...
Click to collapse
I have been giving some thought to re-formatting both my internal and external cards also.
My X2 is extremely unstable on CM10. Most apps FC after a few seconds.
Kyle - any chance you could walk me through this process? Especially the sd-ext partition?
I assume once I have completed re-formatting I can BSR to 2.3.4 and flash away. Correct?

fambaus said:
I have been giving some thought to re-formatting both my internal and external cards also.
My X2 is extremely unstable on CM10. Most apps FC after a few seconds.
Kyle - any chance you could walk me through this process? Especially the sd-ext partition?
I assume once I have completed re-formatting I can BSR to 2.3.4 and flash away. Correct?
Click to expand...
Click to collapse
I hope you aren't thinking that formatting all that will fix the apps force closing. Because there are apps that just wont work on CM10 for us because our phone doesn't have the necessary stuff to run them. Unless its happening to every app. Usually I only have the problem of all apps force closing if I didnt do a data reset and wipe all cache

jsgraphicart said:
I hope you aren't thinking that formatting all that will fix the apps force closing. Because there are apps that just wont work on CM10 for us because our phone doesn't have the necessary stuff to run them. Unless its happening to every app. Usually I only have the problem of all apps force closing if I didnt do a data reset and wipe all cache
Click to expand...
Click to collapse
That is exactly why I was thinking of doing this.
I did SBF back to 2,3.4. Wiped data and cache and flashed CM10.
Just about every app seems to FC on me including stock browser and stock email client.
Reading through the thread it seems hit or missing for everyone so I thought the reformat might elinimate whatever is causing the issue/
Thank you.

fambaus said:
That is exactly why I was thinking of doing this.
I did SBF back to 2,3.4. Wiped data and cache and flashed CM10.
Just about every app seems to FC on me including stock browser and stock email client.
Reading through the thread it seems hit or missing for everyone so I thought the reformat might elinimate whatever is causing the issue/
Thank you.
Click to expand...
Click to collapse
The stock email and gmail do force close. There is nothing we can do about it. I have had very little force closes in the stock browser though. Facebook has also been said to force close. This is a quote from dragonzkillers OP:
"Some ICS/JB Apps Will Crash: This is noticeable on Chrome for example. This is because our drivers don't have External OES Textures. Basically that means when the apps want to draw using them (such as with Chrome's tab preview) the app will crash. This is the same problem on CM9/ICS. There is nothing we can do."
The best thing to do is just to find alternatives to those apps. There are many in the Play Store that dont force close.

fambaus said:
I have been giving some thought to re-formatting both my internal and external cards also.
My X2 is extremely unstable on CM10. Most apps FC after a few seconds.
Kyle - any chance you could walk me through this process? Especially the sd-ext partition?
I assume once I have completed re-formatting I can BSR to 2.3.4 and flash away. Correct?
Click to expand...
Click to collapse
Yeah sure, it's really easy! (I'm trying to remember the exact option names, so some might be a bit off), but jsgraphicart is right, it won't just fix all your problems - but I just found it nice to clean it all out and such. I've never had issues with the stock browser though... I use Gmail for my email app, stock browser and almost stock everything else. Stock Camera, Gallery, etc. They barely FC on me.
1. Backup all the data you need from your Internal and External SD. (it will ALL be wiped, so make sure you get everything!)
2. To be safe I wiped Data, Cache and Davlik-cache (I was reflashing CM10 - to be safe, but not yet).
3. Go to Mounts and format both the Internal and External SD's.
4. Go into "Advanced" and go to "Partition External Storage".
5. For sd-ext size choose whatever size you want (READ BOTTOM OF THIS POST). Set 0 for swap.
6. Flash CM10, Gapps and reboot. ALL DONE!
When choosing sd-ext size, this is the amount of your External SD that will be used as Internal Storage. So if you choose 256MB, you will lose 256MB of space on your External SD but gain 256MB on your internal storage. Any size will be fine, personally I choose 512MB because I put all my backups on my Internal Storage and tend to use that more than External - but most people say 128MB minimum is good. It's more of a personal preference. (Don't mess with swap, it's not worth it. SWAP is basically formatting part of your SD to be used as RAM, but it's not really worth it from what I've seen).
PS: I got the Galaxy Nexus. It feels so nice to be free from all these troubles with a locked Bootloader. I still got my DX2, so I'll be doing some modifications and whatnot to it. Hopefully I can still help out around this part of the forums... lol.

Related

Apps2SD and switching memory cards

Hi, I used to own a G1 but have got a hero (and I am proud). I always used A2SD with G1 because of the shocking storage, however I have been getting away with the amount on this for sometime now, Until recently, though, when apps have been getting bigger (20+mb for raging thunder).
Is the Hero the same as the G1, or am I able to remove the memory card that has A2SD (while the phone is switched off, i don't mind), put a different memory card in, and view images from that memory card (i put my digital camera card into phone often to send images) obviously with none of my apps installed, and then switch the phone off, put the original memory card back in, and carry on using apps like normal?
PS this is on VillainRom 4
Thanks
Bump..Anyone?
Can anyone help withthis? A simple Yes/No would do
Thanks
Considering how Apps2SD works (basic symlinks), as long as you have an ext partition with the appropriate folders on both cards (at the same place, number-wise), you should be fine.
I would imagine the boot process probes /data/app and /data/app-private at some point - you just need to make sure those exist (even if they're empty).
If you've moved dalvik-cache as well, you will experience slowdowns when you switch cards.
tucka20 said:
Can anyone help withthis? A simple Yes/No would do
Thanks
Click to expand...
Click to collapse
#
Why don't you just try it? Seems a lot simpler way of finding out to me!
Regards,
Dave
Here's a related issue.
Obviously with the OS relying on the ext partition, you shouldn't remove the sd card while the phone is on & certainly not while it's mounted (unless you want filing system corruption), but in my naivety I thought it would be ok to power down, remove the card & power back up. So similar to the situation the OP is asking about, only with no card, rather than a new card, present on the reboot.
Clearly your apps on the card are not going to work as they're gone & you might get some complaints as /data/app now links to a non existent directory, but I assumed:
1) Most things would work.
2) More importantly, I assumed if I then powered down, replaced the card & rebooted, I'd be back to where I started with fully working apps.
1) Turns out to be true.
2) Doesn't. After replacing the card I found most (though not all) apps resident on the card would force close at some point, often sooner than later. I ended up having to reinstall them.
Can anyone explain why/how this happens? I can only guess that when the phone was run without the card present, it changed the missing apps user data or dalvik cache in a way that broke them once they are brought back. Trouble is, I can't see what mechanism would result in such behaviour.
have you tried wiping the dalvik-cache before booting up after reinserting the card?
kendong2 said:
have you tried wiping the dalvik-cache before booting up after reinserting the card?
Click to expand...
Click to collapse
If you mean me, no. This was shortly after i got my phone & I was less comfortable experimenting. Plus at the time I didn't have a nandroid backup & reinstalling twenty odd apps put me off
I'll give it a try shortly though. First as you suggest, & if that isn't enough, I'll try wiping the cache when the card is first removed too.
[Edit:] Nope, wiping Dalvik cache doesn't help at all. It seems if you attempt to run an Android install which utilises apps2sd without the sdcard present, something gets changed in the existing partitions on internal flash (other than the Dalvik cache) such that when the system is subsequently booted with the card present, app installs will have been corrupted leading to force closures & the need to remove/reinstall those apps.
Seems a shame. I'd have preferred an atomic means of relocating apps to sd, such that removal of the card means the system behaves as if the app had never been installed, with normal behaviour once the card is replaced. Ah well.
At least I used the chance to revert my ext4 partition to ext3 to avoid having to use tune2fs everytime I want to run a nandroid backup.
BTW For the record I should make clear this was all tested on a gsm Hero running MCR 3.2 with Amon Ra's RA-hero-v1.6.2 recovery.
Ha! Painful memories. Found this out the hard way as well. Wish I'd read more about how A2SD works (symlinks). In fact I wanted to swap while phone was on.
cauli said:
[Edit:] Nope, wiping Dalvik cache doesn't help at all. It seems if you attempt to run an Android install which utilises apps2sd without the sdcard present, something gets changed in the existing partitions on internal flash (other than the Dalvik cache) such that when the system is subsequently booted with the card present, app installs will have been corrupted leading to force closures & the need to remove/reinstall those apps.
Click to expand...
Click to collapse
I tried wiping Dalvik cache as well as ext repair. Nothing helped.
cauli said:
Seems a shame. I'd have preferred an atomic means of relocating apps to sd, such that removal of the card means the system behaves as if the app had never been installed, with normal behaviour once the card is replaced. Ah well.
Click to expand...
Click to collapse
Agreed, serious "flaw" in the A2SD way of things.
cauli said:
At least I used the chance to revert my ext4 partition to ext3 to avoid having to use tune2fs everytime I want to run a nandroid backup.
Click to expand...
Click to collapse
I used to employ ext4 for the /sd partition, then I read ext3/4 wear out your SD memory much quicker, because they are journaling filesystems (see http://en.wikipedia.org/wiki/Ext2), so I used the opportunity to repartition and stick with ext2.
cauli said:
BTW For the record I should make clear this was all tested on a gsm Hero running MCR 3.2 with Amon Ra's RA-hero-v1.6.2 recovery.
Click to expand...
Click to collapse
When I had this happen, I too was on MCR 3.2, with Amon RA 1.6.2 or possibly 1.5.2 or 1.5.3.1.

Insufficent space on the device

What's the problem? I have almost all the memory i need...
under Settings> Storage
I have 8.11Gb on SD card
1.53GB on internal storage
1.68GB on additional storage: /mnt/emmc (idk what this is im guessing... applications???)
So.. everytime i try to download a app from the market, it comes up with
"error downloading ________ insufficient space on the device!"
What would i need to do to fix this?
Before someone says it, yes I did search.
more than HALF of the problems i searched was talking about not enough space on /system
I dont think thats my problem...
The other solution i found was to ODIN and check repartition, which i ALWAYS, ALWAYS do.
Would i HAVE to odin? I really don't like odin now-a-days its a pain.
so what would I need to do to fix this?
bumpppppppppppppppppppppp
Is it CM? If so reflash gapps or CM7 itself.
If you're using the new Market, then you will need to delete unused files from /cache using a shell. For some reason the new Market uses /cache to cache apps it downloads/installs. If you install a big one, there's not enough space free to cache another app.
Edit: /mnt/emmc is your external SD card.
raduque said:
If you're using the new Market, then you will need to delete unused files from /cache using a shell. For some reason the new Market uses /cache to cache apps it downloads/installs. If you install a big one, there's not enough space free to cache another app.
Edit: /mnt/emmc is your external SD card.
Click to expand...
Click to collapse
Yes!
This started as soon as I got new market. Guess I'll go back to old one...
Went to old and everything works...
How would I be able to use new market without rights problem, I didn't have this problem before...
someone please help me, its still happening on the old market now
in cwm, wipe your cache partition. see if that helps.
also, self troubleshooting doesn't hurth wither
geoffcorey said:
in cwm, wipe your cache partition. see if that helps.
also, self troubleshooting doesn't hurth wither
Click to expand...
Click to collapse
wiped the cache partition, still not fixed...
Self troubleshooting? I've tried EVERYTHING lol, i'm going to ODIN back right now and flash CM7 again *sigh*
I've been having the same issues with my phone. I've been having a lot of issues with my Vibrant actually, I wish I would have just kept my G2.. Anyway, did starting fresh fix your problem? Wiping the cache worked for me but this is from a fresh install as well. Hopefully this isn't just a temporary fix though.. I never had issues like this on my G2, must have had a larger cache partition.
Your like the 3rd person in which I had to tell them wwhat to do, but anyway, I used to have this problem. All you need to do is clear market cache, if that doesn't work, backup and then reformat your internal and external SD cards, that is what actually did the trick for me.
After you reformat, it should work, if I doesn't, reflash, then it should.
Sent from my SGH-T959 using XDA App
So far clearing cache in cwm worked fine, I think the issue had something to do with the google application auto-installer because I had that problem twice and both times it happened when I used that google app installer bs.

[Q] Completly wipe phone...

How do I Completly whipe my phone? I've cleared the cache, and done a factory reset, i've re-flashed with Odin to the stock rom, and yet, when I reboot, and go look under "My Files" , there is still crap there from before ( Most notably, 4 or 5 diffrent folders for Go Locker, Go STore.. etc ).
How do i clean this thing out for a 100% restart?
are the things your seeing on an external SD card?
No. The Directories are ( And i'm ommitting quite a few here, just to give you the idea ).
Android
Application
bluetooth
camera360
...
...
DCIM
external_sd
...
...
...
etc ad nausium..
So since i have the external_sd mount there in the middle, this must be the internal right? WHen I select the external_sd directory, that does contain my external card, and that's fine. I expected that to have stuff on it since i've not formatted it yet.
My DCIM dir still has all the pictures etc in it as well.... ( which I would not have expected since I did a factory wipe, yet there they are too ).
Any idea?
timgt said:
are the things your seeing on an external SD card?
Click to expand...
Click to collapse
He's saying he wants to wipe his internal SD because it has all his app data from previous ROMs/installations (such as stock). He's probably going to a new ROM and wants maximum storage space and getting rid of all the leftover trash.
Exactly. Just want to make sure the wipe is complete or previous issues will just haunt me.
Look in those folders they should be empty.....The phone creates the folders upon turning on (by factory),,those are the essential folders needed...check it out let us know...they should be empty
They all have stuff in them, and many are not from the os. GoLocker, GoLauncher, etc all have dir's there with data in them, all some , those in particular, i don't have loaded. I've not re-loaded anything yet.
Try going here; Settings > Storage > Format USB Storage
Thats the ticket Thank you.
Or in cwm recovery, go to mounts and storage, and format sdcard
clockcycle said:
Try going here; Settings > Storage > Format USB Storage
Click to expand...
Click to collapse
Can doing this cause any unwanted and/or unexpected problems?
Nope. It just wipes sdcard storage, like you just took it out of the box
studacris said:
Nope. It just wipes sdcard storage, like you just took it out of the box
Click to expand...
Click to collapse
I think I'm confused about erasing external sdcard storage and/or internal storage.
"Formatting USB Storage" is which one of these?
And which storage location can you get yourself into trouble with "wiping/formatting?
Maybe neither?
Thank you!
Neither as far as I could tell. I did both. The SD Card is just that, your external memory card. The USB is the "user" storage on the phone, so nothing critical there either. Wipe away safely
Neither as mentioned. As long as youre doing it do from the storage settings from within the stock rom's menus. It only wipes your user data on the external sd and internal storage, if you chose to do so. You may lose any programs installed/moved to sd card also.
Going into CWM youre opening yourself a whole 'nother can of worms. I highly do not recommend going this route if you are not 100% sure of what youre doing. You can seriously render your device useless, aka brick (a term used too lightly).
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Incorrect.
All you could do in cwm is wipe the os.. In which case just button combo into recovery and flash a ROM.
A Brick is missing or corrupted bootloaders. you cannot format bootloaders in cwm.
And avoiding something because it could be dangerous...instead of taking the maybe 5 minutes to understand what's happening add ya know, actually learn something is just not in the spirit of xda AT ALL.
Read. learn. Try. Share.

NEVER enough space. Which ROM should I use?

There is absolutely never enough room for anything on any ROM I've used on my Aria. I install everything to SD, but even with updates and whatnot, it fills to the point where I can't even receive a SMS text message because the memory is full.
I've tried every custom ROM that existed as of December 2011 but now there seems to be new ROMs, including some CM9alpha/ICS ROMs.
I just want the ability to take some pictures, install some apps (TO SD!) and not have to be constantly deleting texts just to receive more.
So my question to you all is which ROM leaves the most space available? At this point aesthetics mean absolutely nothing. I'm sorry if this has been answered before, I did a few searches and nothing turned up. I can't imagine I'm the only person who experiences this issue.
changoland said:
There is absolutely never enough room for anything on any ROM I've used on my Aria. I install everything to SD, but even with updates and whatnot, it fills to the point where I can't even receive a SMS text message because the memory is full.
I've tried every custom ROM that existed as of December 2011 but now there seems to be new ROMs, including some CM9alpha/ICS ROMs.
I just want the ability to take some pictures, install some apps (TO SD!) and not have to be constantly deleting texts just to receive more.
So my question to you all is which ROM leaves the most space available? At this point aesthetics mean absolutely nothing. I'm sorry if this has been answered before, I did a few searches and nothing turned up. I can't imagine I'm the only person who experiences this issue.
Click to expand...
Click to collapse
CM7 should take up the least space. What do you mean by "There is absolutely never enough room for anything"? Have you ever done a clean install?
1) Format your SD card so that you have two partitions. The first one is FAT32 and the second one is ext3 (in that order). Apps will install to the ext3 partition, so make it as big as you need. I'd suggest 1GB if you have the space, but you probably won't need that much. Remember to put CM7 and Gapps back on the FAT32 partition before the next step.
2) Install your favorite version of CM7 & Gapps using the usual process.
3) Follow these instructions exactly: http://forum.xda-developers.com/showpost.php?p=21667779&postcount=5
4) Never manually move applications to the SD card from the Manage Applications menu. Once you set up everything like above, you can use the phone freely without ever changing any settings about where apps are installed.
99% of users will never run out of space if they use this setup.
This can be done with other ROMs too, but isn't as easy to set up.
Edit: Oh, and I forgot to mention. You really should only do this if you have a fast SD card (class 6 or better). Otherwise it'll probably slow your phone down a lot.
Theonew said:
CM7 should take up the least space. What do you mean by "There is absolutely never enough room for anything"? Have you ever done a clean install?
Click to expand...
Click to collapse
^^ Agreed.
CM7 left me with I believe 80mb or 100mb for internal storage with a clean install. Highly recommend it, as far as storage goes.
drumist said:
1) Format your SD card so that you have two partitions. The first one is FAT32 and the second one is ext3 (in that order). Apps will install to the ext3 partition, so make it as big as you need. I'd suggest 1GB if you have the space, but you probably won't need that much. Remember to put CM7 and Gapps back on the FAT32 partition before the next step.
2) Install your favorite version of CM7 & Gapps using the usual process.
3) Follow these instructions exactly: http://forum.xda-developers.com/showpost.php?p=21667779&postcount=5
4) Never manually move applications to the SD card from the Manage Applications menu. Once you set up everything like above, you can use the phone freely without ever changing any settings about where apps are installed.
99% of users will never run out of space if they use this setup.
This can be done with other ROMs too, but isn't as easy to set up.
Edit: Oh, and I forgot to mention. You really should only do this if you have a fast SD card (class 6 or better). Otherwise it'll probably slow your phone down a lot.
Click to expand...
Click to collapse
Thanks for this. I'm going to give it a try. Storage space was also my issue.
This worked perfectly. Thank you so much.

[Q] Internal SD card reporting HUGE SIZE

So, Ive been getting Low Capacity warnings on my XT910 rooted, stock rom.
So, I check the stock Storage settings. It reports
1.34GB - Apps
11.01MB - Pics Vids
212KB - Audio
0,95GB - Downloads
10.13MB - Available.
Im missing something. Looks like Im consuming no more than 3GB for my stuff, and the SDCard capacity is 8GB, WTF?
I dont know much about Cache, but take to step to clear all cache with ES AppManger's Cache Cleaner. Disappointed when it only reports 232MB cleaned, and /mnt/sdcard show no change in availability.
So, Pop open Root Exporter, and get the properties of /mnt/sdcard.
Size = 201326599.88 GB???
Thinking this cant be right, I try again with ESFileExplorer... Same Result Size = 201326599.88GB, thats GB, I check it 3x.
Though it would be cool to be rocking that much media, it is obviously wrong. I make a check of /mnt/sdcard-ext. That check reports a more sane and correct consumption size
What could possibly be wrong here. I can get the device replaced if its really broken, but thought I would try to learn something. My own skills are not noob, but Im obviously not awesome at this.
Thanks for any help...
javlinsharp said:
So, Ive been getting Low Capacity warnings on my XT910 rooted, stock rom.
So, I check the stock Storage settings. It reports
1.34GB - Apps
11.01MB - Pics Vids
212KB - Audio
0,95GB - Downloads
10.13MB - Available.
Im missing something. Looks like Im consuming no more than 3GB for my stuff, and the SDCard capacity is 8GB, WTF?
I dont know much about Cache, but take to step to clear all cache with ES AppManger's Cache Cleaner. Disappointed when it only reports 232MB cleaned, and /mnt/sdcard show no change in availability.
So, Pop open Root Exporter, and get the properties of /mnt/sdcard.
Size = 201326599.88 GB???
Thinking this cant be right, I try again with ESFileExplorer... Same Result Size = 201326599.88GB, thats GB, I check it 3x.
Though it would be cool to be rocking that much media, it is obviously wrong. I make a check of /mnt/sdcard-ext. That check reports a more sane and correct consumption size
What could possibly be wrong here. I can get the device replaced if its really broken, but thought I would try to learn something. My own skills are not noob, but Im obviously not awesome at this.
Thanks for any help...
Click to expand...
Click to collapse
try this?
Titanium backup to external sd.
Use ES explorer to backup your internal stuffs to external sd.
Format phone.
I didn't suggest to use usb backup to a pc because it might try to fix the corrupted card and screw it up instead. Happened to one of my external sd.
Nikorasu said:
try this?
Titanium backup to external sd.
Use ES explorer to backup your internal stuffs to external sd.
Format phone.
I didn't suggest to use usb backup to a pc because it might try to fix the corrupted card and screw it up instead. Happened to one of my external sd.
Click to expand...
Click to collapse
Thanks for the idea. The format did work to clear the false capacity report, but my backup didn't restore. Manual rebuild sux, but is better than the symptoms of the original issue. Thanks again.
Sent from my DROID RAZR using xda app-developers app
No probs. Do note that this may just be a temp fix. Use your external SD card for important files like photos and etc. If it happens again its time to get Motorola to fix it.

Categories

Resources