OK, I'm using omnirom, first working release. I updated to the new one, then went back to my backup, my phone later shut down due to low battery and after I charged it back my sdcards (internal and external) haven't been mounting properly.
They're not corrupted, twrp reads and mounts them fine, but every time I boot into system they get mounted randomly. Actually I managed to have them both mounted only once. One reboot later I was back to the drawing board.
Now, does anybody know what could be the problem? I tried wiping cache and dalvik multiple times, restoring the backup once more, anything really, but no satisfying substantial results as of now.
Also, I wanted to try to mount them manually via terminal emulator, but I don't know the name of the blocks to mount. Would anyone be so kind to enlighten me?
Thanks in advance!
Edit: now, for instance, it has mounted my sdcard0 but it refuses to mount sdcard1.
I swear I'm going ballistic!
Sent from my GT-I9070 using Tapatalk
This is how it looks like on cm10.2 fstab
## Vold managed volumes ##
/devices/sdi2/mmc_host/mmc0/mmc0 /storage/sdcard0 auto defaults voldmanaged=sdcard:8,nonremovable,lun=/sys/class/android_usb/android0/f_mass_storage/lun0/file
/devices/sdi0/mmc_host/mmc1/mmc1 /storage/sdcard1 auto defaults voldmanaged=sdcard:auto,lun=/sys/class/android_usb/android0/f_mass_storage/lun1/file
Sent from my SGS Adv. using xda-developers app.
Thanks buddy!!
Not sure whether it was this or chkdisk, but I managed to mount them in the end!!
Sent from my GT-I9070 using Tapatalk
Related
I was wondering if a dev would be able to come up with a SD Storage flip flop for the Bionic? I had always used the modified app that navenedrob had posted here for my Droid X2,
http://forum.xda-developers.com/showthread.php?t=1229294
I'm hoping someone could come up with this for the Bionic.
Sent from my DROID BIONIC using XDA App
I'd also second this.
Sent from my DROID BIONIC using Tapatalk
Terri M said:
I was wondering if a dev would be able to come up with a SD Storage flip flop for the Bionic? I had always used the modified app that navenedrob had posted here for my Droid X2,
http://forum.xda-developers.com/showthread.php?t=1229294
I'm hoping someone could come up with this for the Bionic.
Sent from my DROID BIONIC using XDA App
Click to expand...
Click to collapse
I would like to "third" this.
Fourth?
Sent from my DROID BIONIC using xda premium
sd flip flop
i would love to have the flip flop. it would fix a few things
Count me in!!
Sent from my DROID BIONIC using Tapatalk
+1 for me.
What a pain in the ass the two storage systems are.
I haven't tested this but it's just a theory since Linux is generally pretty flexible. Hypothetically you could just use the Terminal to unmount both the storage spaces, and then re-mount them but switch the addresses. See here:
/dev/block/vold/179:1 is the address of the external storage, named '/sdcard-ext'
/dev/block/vold/179:58 is the address of the internal storage, named '/sdcard'
so you could HYPOTHETICALLY type into the terminal:
su
unmount /sdcard-ext
unmount /sdcard
mount /dev/block/vold/179:58 /sdcard-ext
mount /dev/block/vold/179:1 /sdcard
and it should mount the two in each others' locations.
Again, I haven't tested this and my phone is on the charger right now so I'm not going to yet, but assuming that works it would probably just restore itself to normal when you reboot since I'm assuming there is a script that mounts the hardware locations to everything when Android loads.
K.AuthoR said:
I haven't tested this but it's just a theory since Linux is generally pretty flexible. Hypothetically you could just use the Terminal to unmount both the storage spaces, and then re-mount them but switch the addresses. See here:
/dev/block/vold/179:1 is the address of the external storage, named '/sdcard-ext'
/dev/block/vold/179:58 is the address of the internal storage, named '/sdcard'
so you could HYPOTHETICALLY type into the terminal:
su
unmount /sdcard-ext
unmount /sdcard
mount /dev/block/vold/179:58 /sdcard-ext
mount /dev/block/vold/179:1 /sdcard
and it should mount the two in each others' locations.
Again, I haven't tested this and my phone is on the charger right now so I'm not going to yet, but assuming that works it would probably just restore itself to normal when you reboot since I'm assuming there is a script that mounts the hardware locations to everything when Android loads.
Click to expand...
Click to collapse
The "script" is vold.fstab in /etc folder. I edited this and was able to change mount locations, but had random reboots when trying USB mount to computer.
sk8tingusmc said:
The "script" is vold.fstab in /etc folder. I edited this and was able to change mount locations, but had random reboots when trying USB mount to computer.
Click to expand...
Click to collapse
Probably because when it's trying to mount it sees them still as what they really are instead of the edited vold.fstab. There is probably somewhere else you would need to edit to get that working correctly also. Or you could try something such as Auto Mount in the Market. Maybe it'd work.
Anyone have luck downloading that file? Seems like its down or its just me?
Sent from my DROID BIONIC using Tapatalk
sk8tingusmc said:
The "script" is vold.fstab in /etc folder. I edited this and was able to change mount locations, but had random reboots when trying USB mount to computer.
Click to expand...
Click to collapse
I was wondering if it was an fstab file but I didn't really poke around. Good to know, thanks!
frostincredible said:
Probably because when it's trying to mount it sees them still as what they really are instead of the edited vold.fstab. There is probably somewhere else you would need to edit to get that working correctly also. Or you could try something such as Auto Mount in the Market. Maybe it'd work.
Click to expand...
Click to collapse
The problem is after the swap when you connect to the PC over USB it unmounts the internal memory, and dual-mounts the microSD card. If the phone accesses the card at the same time as the PC the phone will reboot. To fix this the init.rc file would need to be modified, but it reverts to the stock file on each reboot.
cvmaas said:
The problem is after the swap when you connect to the PC over USB it unmounts the internal memory, and dual-mounts the microSD card. If the phone accesses the card at the same time as the PC the phone will reboot. To fix this the init.rc file would need to be modified, but it reverts to the stock file on each reboot.
Click to expand...
Click to collapse
Good to know. I was messing around with it. Ill check into this. Maybe I can magically make something happen
Sent from my DROID BIONIC using Tapatalk
Let us know if you have any luck, even if it's just a temp solution, because I would most certainly like to quit using this stupid internal memory if possible.
cvmaas said:
The problem is after the swap when you connect to the PC over USB it unmounts the internal memory, and dual-mounts the microSD card. If the phone accesses the card at the same time as the PC the phone will reboot. To fix this the init.rc file would need to be modified, but it reverts to the stock file on each reboot.
Click to expand...
Click to collapse
Oh okay. Does the bootloader need to be unlocked to edit that? I'm coming from the Incredible (hence my name) and have just become used to the Incredible's unlocked bootloader.
Anyone have any luck downloading any file in the browser?
Sent from my DROID BIONIC using Tapatalk
CWM zip originally by navendrob
Does not have full functionality yet! Read below!
Here is a CWM zip that I have modified that will flip flop SD storage locations. This is just to speed the process when someone figures out how to mount them to computer.
Important Facts
make your own back up before flashing
mount storage in CWM
Flash
This will mount the actual SD card as SDCARD and internal as SDCARD-EXT, but will not mount via USB to a computer. This will reboot phone and has already been discussed in thread.
sk8tingusmc said:
Does not have full functionality yet! Read below!
Here is a CWM zip that I have modified that will flip flop SD storage locations. This is just to speed the process when someone figures out how to mount them to computer.
Important Facts
make your own back up before flashing
mount storage in CWM
Flash
This will mount the actual SD card as SDCARD and internal as SDCARD-EXT, but will not mount via USB to a computer. This will reboot phone and has already been discussed in thread.
Click to expand...
Click to collapse
Thanks to everyone who is working on this!! Sk8, I will give this a try and will let you know! Thank you!
Sent from my DROID BIONIC using XDA App
dadsterflip said:
Anyone have any luck downloading any file in the browser?
Sent from my DROID BIONIC using Tapatalk
Click to expand...
Click to collapse
The stock browser is actually a POS. Try using the Dolphin hd browser.
Sent from my DROID BIONIC using XDA App
I finally decide to have a partion on my 8GB SD other than FAT32. So i used the FuFu Minimod to split my SD. First to Ext2 then to Ext3 and then to Ext4.
It all went fine. I have moved some basic apps like Facebook and Igo to the Ext4 partion.
The weird thing that drove me to create this thread is the fact that my phone became a bit slow... unresponsive... and just because the Ext4 with basic apps on it?
Did i miss something or this is normal?
Appreciate all feedbacks.
WF
Sent from my Milestone using xda premium
Try wipe both Cache and Dalvik-Cache
Thanks... but is not the case... and yes i already did that before creating the thead.
Tks
Well then, manually move the app to the sdcard, then move back to the phone.
It should move into the ext4 partition.
They are all in ext4...
Sent from my Milestone using xda premium
wisefreakz said:
They are all in ext4...
Sent from my Milestone using xda premium
Click to expand...
Click to collapse
I know it is inside ext4. Please try to move to the sdcard and back to the phone again.
I did face this b4
I have done that before you mention... and it looks like its a bit more stable.
One doubt... i notice that all sd-ext\app files are alson in data\app.
Why is that?
Sent from my Milestone using xda premium
Why
Is ext4 faster or what ?
Im kinda noob on this android and stuff things, so i donno.
I can put my apps on SDcard without formatting to ext2, 3 or 4.
Well, now after billions of testing, formating, reflashing... all looks pretty nice now.
@ivanotera: moving apps to sdcard is not the same as moving apps to a second partition where this second partition is journaled - case of ext4.
It means that when you boot your phone, this partition is ready to use and does not need to be "prepared" as the usual fat32 - thats why we see the message after boot up that sd card is being prepared (in fact the OS is checking if the partion is corrupted or not.
Also when moving apps directly to sd card like you are doing, is not good as phone becomes slow, widgets, shortcuts dissapear while booting phone and while phone is connected to pc via usb with sd mounted for access.
With ext4 (using ext4.ko module) OS will think that this second partition is part of the internal storage and all of the above mentioned will not be a problem anymore and you will not get that anoying message that you have not enough space just because you added a couple apps.
Hope this can clarify some important things.
Cya
Sent from my Milestone using xda premium
Yeah, got it.
But another question, is ext4 "viewable" by windows ?
Because i have a 32gb card, so i use it as a "pen drive", have some apps so when i format a pc, not at home, i have some apps already, and dont have to download it.
Or in the case of creating a ext4, i partition the sdcard, so i have the "apps" partition and the "windows" partition ?
First post and first topic here, bear with me a little. I have a rooted phone and when I wanted to make a symlink using Terminal Emulator, to my horror, the internal NAND mounted at /mnt/sdcard is formatted as FAT32, so I get an access denied error.
The main reason I wanted to make a symlink is because the darn alarm application doesn't detect Musics outside the /mnt/sdcard/Samsung/Musics directory! I think the method I wanted to use to solve it seems overkill but I think it's the most worthwhile, as I do plan to try a lot of other things with this phone.
Important info is probably that I'm a linux newbie.
You can mount the dir to get an alias without using symlinks although it's possible to format it as ext of course.
Sent from my superior GT-N7000 using Tapatalk
Whoops, thought this was in the A500 section.
I'll take the plunge and see what I can do with mke2fs. Also, it seems like I can only do ext2, as finding a mkfs.ext3 seems difficult. Will post here once I'm done. See you guys next week.
I picked up my Touchpad today to play with it, and my Internal Storage seems to have disappeared in Android. I rebooted to WebOS, and everything seems to be OK there, but when I reboot back to CM10, there's no "SD Card". There aren't any errors or anything...I wouldn't have noticed except that I opened ES File Explorer and it said "SD Card empty, unmounted or not present". I'm not sure how to troubleshoot this...any ideas? I'm running [12/16] Unofficial CM10 Preview by Jcsullins.
Strangely the same thing happened to me today as well. I booted into WebOS and checked the filesystem and there were some corruptions and I fixed that but it didn't change anything so I just reflashed my rom and that fixed everything...for now. I did notice that somehow I suddenly had both superuser and supersu so I had to disable one of those, maybe check that too
I have Ubuntu (13.04 alpha, from the thread in the Dev forum) installed on the Touchpad, and I noticed in the dev thread that there was some kind of problem with mounting the "SD Card", that it was mounted with the wrong uid or something. Could that be connected to my problem? I can access the "SD Card" in WebOS and Ubuntu, just not in Android, which makes me think it's some kind of mounting issue. I'd prefer to troubleshoot the issue, maybe get a solution that will benefit others, as opposed to going with the WebOS Doctor nuclear option. Any thoughts?
All that worked for me is reflashing the ROM.
Sent from my HP TouchPad using xda-developers app
Tired_ said:
I picked up my Touchpad today to play with it, and my Internal Storage seems to have disappeared in Android. I rebooted to WebOS, and everything seems to be OK there, but when I reboot back to CM10, there's no "SD Card". There aren't any errors or anything...I wouldn't have noticed except that I opened ES File Explorer and it said "SD Card empty, unmounted or not present". I'm not sure how to troubleshoot this...any ideas? I'm running [12/16] Unofficial CM10 Preview by Jcsullins.
Click to expand...
Click to collapse
I had the same thing happen. I wiped/reset, wiped cache, formatted system and wiped dalvik cache. Reflashed ROM and gapps. So far so good.
Ok, so I tried reflashing my Android. I wiped cache/Dalvik, but nothing else. My internal storage was fine when I was done this, and I didn't lose any files or settings. Sounds great, right? Well, I rebooted into Ubuntu 13.04 Alpha, and everything seemed fine there, till I rebooted into Android, and lo and behold, internal storage not found. Just for laughs, I went into Terminal, and typed "mount -t vfat /dev/store/media /sdcard", and then I was able to access the files on the internal storage, but only through a file manager by going to /storage/sdcard0...none of the apps could see the internal storage the normal way. I still think this is some kind of mounting or permissions problem, and now that I can replicate the problem reliably, maybe we can put our heads together and find out why.
What recovery have you been using please?
sstar said:
What recovery have you been using please?
Click to expand...
Click to collapse
I am currently using TWRP 2.4.3.0. I was using an earlier TWRP, in the 2.3 series, but I upgraded it today when I reflashed my rom.
Tired_ said:
I am currently using TWRP 2.4.3.0. I was using an earlier TWRP, in the 2.3 series, but I upgraded it today when I reflashed my rom.
Click to expand...
Click to collapse
Have a read of this http://forum.xda-developers.com/showthread.php?t=2177905.
You are not the only one, your files are probably in a folder called Lost.Dir but renamed to an unusable number.
sstar said:
Have a read of this http://forum.xda-developers.com/showthread.php?t=2177905.
You are not the only one, your files are probably in a folder called Lost.Dir but renamed to an unusable number.
Click to expand...
Click to collapse
My files are all there, not renamed, not in a lost directory. I can access each and every one in WebOS (same way as always), in TWRP (again, the same way I always could), and in Ubuntu...and in Android if I manually mount /dev/store/media (but they're in /storage/sdcard0 rather than /sdcard). I'm pretty sure I said this already.
The file "loss" happened from booting Ubuntu. Before I booted Ubuntu, the "SD Card" was present, and accessible in Android. I boot Ubuntu, just to see if it came up OK (it did), so I rebooted back to Android. Immediately, it says SD card unavailable or not mounted, until I remount manually, which made the files appear in /storage/sdcard0 until reboot, at which time I'd have to manually remount again to see them.
It's kind of a long story... I got this tablet yesterday and immediately tried to see if I could install cyanogenmod on it (the stock OS is quite horrible). With every step, I faced challenge after challenge - there's an in-depth guide using Heimdall on these forums that gave me a lot of issues. In particular, the most recurring problem I had was that my Galaxy tab was never able to mount its internal SD card, which meant that installing cyanogenmod was pretty hopeless (the installer's not compatible with my tab). As time went on (I spent a LOT of time on this) I figured out that I could access the root of my tab using the adb shell command. Here, using parted, I stupidly formatted my internal sd card to an ext4 filesystem thinking that would solve all of my problems. This is where my real problems started though, because now my tab will not boot up completely no matter if I give it the original stock rom or a rom with superuser and root access built in or anything.
Everything I try either causes it to immediately go to the recovery menu and display a bunch of errors very similar to this: forums.androidcentral.com/samsung-galaxy-tab/222766-galaxy-tab-might-bricked-help-needed or just enters a boot loop with the glowing Samsung logo. I've seen miracles performed here, so I thought maybe I could try all the suggestions I can get before I give up.
Here is what I can do:
- I can enter download mode and interact with Odin.
- I can use Odin to install ClockWorkRecovery and I can boot into cwr
- I can copy files to and from my tab using adb, and I can use adb shell
- I know how to manually mount my internal sd card so I can install zip files.
- I can format my sd card to anything BUT the rfs filesystem it desperately needs
I'm willing to try anything. Thank you for reading.
Buy a 2gb microsd, only a few dollars. But a USB card reader. Also a few dollars.
Or sprint tab has no microsd slot?
Anyway, I thought internal SD is vfat/fat32. Not RFS.
Sent from my GT-P1000 using xda app-developers app
priyana said:
Buy a 2gb microsd, only a few dollars. But a USB card reader. Also a few dollars.
Or sprint tab has no microsd slot?
Anyway, I thought internal SD is vfat/fat32. Not RFS.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Ok, through some kind of magic I got the stock+rooted+CWM rom to install and now it works correctly! my partitions look like this:
Number Start End Size Type File system Flags
1 32.3kB 1201MB 1201MB primary fat32 lba
2 1201MB 1700MB 499MB primary ext2
3 1700MB 1900MB 200MB primary linux-swap(v1)
I made these partitions myself. My fstab looks like this:
/dev/block/mmcblk0p1 /cache rfs rw
/dev/block/mmcblk0p2 /data rfs rw
/dev/block/stl10 /datadata rfs rw
/dev/block/stl9 /system rfs rw
/dev/block/mmcblk1p1 /sdcard vfat rw
/dev/block/mmcblk1p2 /sd-ext rfs rw
I have no idea what I did to make this work, but I guess it just does now...
So now that I have CWM and a rooted stock 2.3.4, how do you think I should install cyanogenmod? Part of me wants to use ROM manager...
I don't know why your internal SD is only 1.2G+499MB+200MB
That is total less than 2GB.
What happened to the remaining?
Best is you repartition your SD again.
Sent from my GT-P1000 using xda app-developers app
priyana said:
I don't know why your internal SD is only 1.2G+499MB+200MB
That is total less than 2GB.
What happened to the remaining?
Best is you repartition your SD again.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
I don't know the exact amount of storage I have in MB, so I just guessed. You know how when you buy a computer with 500gb of storage on it there is really less than that. If I were to guess, I'd say the SD card is about 1940-1970MB, but without any way of knowing I didn't want to tell parted that there was more space there than there actually was. In parted, you have to specify the amount of space you allocate to each partition, and I don't know of a way to see the total amount available.
So that being said, how do you think I should go about installing cyanogenmod? Thank you for all of your help so far. It's nice to have this community