Why internal sdcard not mounts? - Samsung Galaxy SL i9003

I build CM and then I test it found that InternalSD card not mounts. For me this problem is first.
I dont know why because /system/etc/vold.fstab is correctly.
Look logcat there or in atachements.
http://pastebin.com/x6e5ep0i

Related

[Q] Use only External SD on G2X possible? (2.3.3)

Is it possible to make the device think there is only one SD card (External)?
You mean like combine the 2 into 1? Not sure.
You CAN swap them though so that your external sdcard is actually used as your sdcard. You have to be rooted though.
Thought SD swap was not there for 2.3.3?
Thought SD swap was not possible on 2.3.3? So I was wondering if internal could just be disbled....
I would like this too, ability to combine both.
fcisco13 said:
I would like this too, ability to combine both.
Click to expand...
Click to collapse
It's close to impossible
But I would love to see if we can use the "internal SD" for OS secondary cache. I am brain storming lol.
Wouldn't it be possible to just repartition /data and make it take up the internal SD?
Yea kinda like how the g1 had the custom MTD partitions to make more internal space..interesting
abhinav.tella said:
Thought SD swap was not possible on 2.3.3? So I was wondering if internal could just be disbled....
Click to expand...
Click to collapse
The best I've come up with is straight up swapping the mount points in the /etc/vold.fstab file. Its a little confusing having the internal memory labeled _ExternalSD, but at least my /mnt/sdcard is actually using my microsd card.
Thanks, for the tip. I cut the _External part from sdcard and pasted to extsdcard in vold.fstab.... by the way I see after the 2.3.3 update there are 3 partitions as opposed 2 in froyo.... Is the extra partition in extsdcard the new LG swap?
phburks do you know how to mount on PC after this edit? Mine mounts and immediately disconnects.... I can safely say USB mounting is now broken anyone have ideas, how to swap mount points without breaking USB mounting?
abhinav.tella said:
Thanks, for the tip. I cut the _External part from sdcard and pasted to extsdcard in vold.fstab.... by the way I see after the 2.3.3 update there are 3 partitions as opposed 2 in froyo.... Is the extra partition in extsdcard the new LG swap?
phburks do you know how to mount on PC after this edit? Mine mounts and immediately disconnects.... I can safely say USB mounting is now broken anyone have ideas, how to swap mount points without breaking USB mounting?
Click to expand...
Click to collapse
I actually hadn't noticed that until you posted this. I don't usually mount my sdcard to my computer. Not sure whats causing it to break but I'll mess around with it.
Hope you figure it out, thanks for taking a look into it.
Hope you figure it out, thanks for taking a look into it. Many of us with stock roms, want this as some apps just fill the internal sd fast like map apps... Since a large external is probably better for such apps I hope someone can figure out how to swap cards like in CM7....
Hope you figure it out, thanks for taking a look at it...
Delete... Accidental double post...

Solved! How to swap the internal and external SD cards so apps install externally

If you are like me and bought the 16GB version of our beloved SG3, thinking you could always move apps to the external sd card, then this mod is for you. It swaps the internal and external sd cards so apps install on your external card, because your phone is fooled into thinking the external card is the internal card.
I suggest that if you are going to do this, you should probably do it right after installing a new ROM, and before you install any apps. That way everything will get installed onto the external SD card.
I didn't invent this, Zedomax adapted in from mattiadj. But most people haven't been able to get it fully working, probably due to variations in the init.d function of various ROMS. They'd be able to see the External SD card as the internal SD, but the internal SD would disappear. This method avoids using init.d, and instead uses the app Script Manager to load the script on boot.
After much fooling around, I figured out how to do it so the External SD card and the internal cards are swapped, but you can see both with any file Explorer. I got it working on CleanROM 2.0, but it should work on Beans 10 as well.
Here's how to do it: Warning, if you do not understand the following instructions, or don’t have experience doing these things, you probably don’t want to do this hack. I am not responsible if you a) brick your phone, b) delete your data, or c) get very frustrated. That being said, the most likely failure will be that you only see the one card (the External card).
Back everything up that you care about first!!!!
1. First, I'd recommend making a Nandroid backup of your phone.
2. Next, just to be extra safe, I would backup your internal SD card to your PC. While you are doing that, if you have data on the external SD card, back that up too.
3. Next, I would format your external SD card to fat 32. (You could probably use Ext format too, but I didn’t test that.)If you already have it in that format, and have content on it, this won't affect the content, but back it up just to be safe. It’s probably better to have the Ext SD blank to begin with, you can always copy back its content from your pc.
4. Next copy the contents of the internal SD to the External SD card. This is to avoid confusion about apps and such.
5. Next install script manager free from the play store:
https://play.google.com/store/apps/...anager&feature=nav_result#?t=W251bGwsMSwyLDNd
It will show up on your phone as S manager ads.
6. Download the mod from here: http://downloadandroidrom.com/file/...ternalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
7. You’ll see a folder called: 11extsd2internalsd_gs3_fat32orextfat_US_ZEDOMAXv0.2.zip
You need to unzip the folder, then go to System/etc/init.d and copy the 11extsd2internalsd file from there to your phone. Put it into the /data directory. Use Root Explorer, and your phone will need to be rooted.
(https://dl.dropbox.com/u/6305/SD Card Hack SG3/11ext file in data directory.png)
Or you can get just the 11extsd2internalsd file here: https://dl.dropbox.com/u/6305/SD Card Hack SG3/11extsd2internalsd
8. Using Root Explorer, navigate to that file in the /data directory. Press and hold the file name until the menu pops up, and click on permissions.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permissions.png
(Unix geeks set them to 777, and everyone else copy the picture below. Click OK.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Permission settings 777.png
9. Open the script manager app, and select Browse as Root in the config screen. Tell it to remember this setting.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager browse as root and save.png
10. Navigate to the /data directory and choose the 11extsd2internalsd file that is located in /data and click on it. Click on the “Is script” button.
11. Now tap on the buttons that say Su, Boot, and Save. The file name will come up in yellow after the save.
https://dl.dropbox.com/u/6305/SD Card Hack SG3/Script manager setting after save.png
12. Reboot your phone and you should see the swap working and be able to access both internal and external SD cards. The external card will show up as sdcard, and the internal card will show up as extSDCard. Your apps should now install to the external card, since your phone will think it's the internal card. Is that confusing? It was to me too!
Good luck and please share your experiences specifying which ROM you used, so that others can avoid frustration.
Thank you’s always appreciated.
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
On my X2, this same mod was done via a flashable zip...not sure how it worked, but it was worked perfectly. At some point the roms incorporated the flip flop as part of the Rom. I like the feature because I wouldnt need to move certain app data to my external sd card. Also, I wouldn't have to show tibu where to look for my backups.
Sent from my SCH-I535 using Tapatalk
Clienterror said:
Wonder if this works on asop roms as well.
Please excuse my Galaxy S III, it's a bit Paranoid.
Click to expand...
Click to collapse
What's the consensus on this? Can this mod as posted above be applied to AOSP/CM9/CM10?
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
maniac2k said:
Just flashed this on aokp and both sdcard and external_sd are my physical sd card. The internal card is not showing.
Op, can we get an cm10 ver?
Click to expand...
Click to collapse
Are you actually flashing it, or using the Script Manager? As far as I know, only the Script Manager approach works.
maniac2k said:
Did a little playing around. Below seems to work on cm10 aokp. Can op confirm this is good?
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
Click to expand...
Click to collapse
Not sure, but take a look at the code from 11ext2internalsd file. If it works, and you can see both sd cards, then you've nailed it.
Yeah sorry, im running the script apk. It seems to work. I just dont understand the exacts of the vold/179:97 or if it should be vold/197:96?
When i go into settings/storage, should my physical sdcard stats be showing under internal memory?
Thanks I got mines to work now. Thanks to your suggestions.
Sent from my SCH-R530U using Xparent SkyBlue Tapatalk 2
Update: ive been using the script below for a littlw while and it is working great on cm10. It is best to enable it after a fresh rom install.
mount -t vfat -o umask=0000 /dev/block/vold/179:97 /storage/sdcard0
mount -o bind /data/media /storage/sdcard1
I need to do this.
MODERATOR.
This is not a Q&A Thread. Needs to be moved to appropriate location.
Apps Did Not Move After Internal / External SD Swap for GS3
Well I thought everything went perfectly because as mentioned, when I go to storage my internal shows my 64g card and internal of 12g now shows as external. However the apps are still on my internal which is now called my external and when I go to app manager it shows remaining space 5.9g. So I am not sure what I did wrong because I have reviewed this several times and started right after I installed a fresh rom . I am hoping someone can help me correct this because basically all it did was change the name of the two drives but apps are still getting installed to original location. Thanks in advance for any help you can give me
Swapping internal>external did not work
i followed all steps as stated above but when I go to File Manager (default), long pressing Internal SD>Details show 1.2 MB and External SD shows 1.8 GB which is not true. I have external SD of 8 GB and internal is 2 GB in my micromax a110 phone.
The steps above did not work to swap the memory but it now shows even incorrect size. I installed Root Browser lite but got no way to chck the size of the SD cards.. Please help
Does this work with the new Verizon Jelly Bean which they are now sending out via OTA? Are there other Verizon S3 Jelly Bean Roms that are known to work with this method? Thanks
Its works on the leak so i dont see why it wouldnt work on the actual vz rom
not working
This is not working with my samsung s duos please help
Any cm 10.1 updates for this?
I am unable to change the file permissions to -rwx-rwx-rwx- whenever I try to change it I get an error that the phone is unable to change permissions.
EDIT:
Successfully changed permissions and followed the instructions as given. Still not working on the international S3, my internal memory is still 16 GB and external 32GB

[Q] Can someone explain ext4 sdcards

I wanted to convert my external sdcard to ext4 so I can create a symbolic link. Mainly because one of the apps I use won't see the sdcard (devs tell me it's because the tf700 isn't using mass storage drives apparently) and I thought this might solve the problem if I could put a link on the internal card that pointed to the external. I'm aware that symbolic links cannot work with FAT32 partitions but will between ext4/3/2 partitions.
I formatted the card with minitool partition and the TF700 wouldn't mount it. It shows up in settings > storage as a MicroSD with a Mount option but this simply does nothing. Having trawled through some thread someone provided this script to mount an ext4 card.
Code:
mkdir /Removable/MicroSD
mount -o noatime,nodiratime -t ext4 /dev/block/mmcblk1p1 /Removable/MicroSD
chmod -R 777 /Removable/MicroSD
Which should be done at each boot. This seemed to work as I got to the card and was able to manually copy something to it but it seems to be flakey and unreliable. eg. a picture copied to it would fail to load. I managed to get it to after a while (not sure what I did). Then I tried an .apk file and it wouldn't install, giving an error. I also used Rom toolbox to specify Apps2SD destination to the external but trying to install anything will give "not enough space" error.
So I am stumped.
As I am rooted but NOT unlocked I can't install a rom which might be the solution but I'd like to know if what I'm trying to do is possible without that.
I find it odd that the TF700 can't deal with an ext4 partition since it can happily deal with them on the internal. I'm confused so any clear explanation of the situation would be welcome.
louiscar said:
and I thought this might solve the problem if I could put a link on the internal card that pointed to the external. I'm aware that symbolic links cannot work with FAT32 partitions but will between ext4/3/2 partitions.
Click to expand...
Click to collapse
The internal "sdcard" is not an ext4 partition, it's a FUSE filesystem that emulates some properties of FAT (no case sensitivity, no permissions) on top of ext4. It also does not support symlinks.
louiscar said:
I formatted the card with minitool partition and the TF700 wouldn't mount it.
Click to expand...
Click to collapse
Many users of the Data2SD mod had problems with Minitool - use gparted to create ext4 partitions.
louiscar said:
This seemed to work as I got to the card and was able to manually copy something to it but it seems to be flakey and unreliable. eg. a picture copied to it would fail to load. I managed to get it to after a while (not sure what I did).
Click to expand...
Click to collapse
Are you on the latest 10.4.4.25 firmware? Because that fixed something with microSD cards, and it's the only kernel so far that reliably works with my Sandisk "Mobile Ultra" microSD card, even with ext4.
_that said:
The internal "sdcard" is not an ext4 partition, it's a FUSE filesystem that emulates some properties of FAT (no case sensitivity, no permissions) on top of ext4. It also does not support symlinks.
Click to expand...
Click to collapse
Ok although I don't understand the Fuse fs (still trying to get to grips with basic unix stuff), I did think that symlinks were used internally.
_that said:
Many users of the Data2SD mod had problems with Minitool - use gparted to create ext4 partitions.
Click to expand...
Click to collapse
Ok I'll give that a go.
_that said:
Are you on the latest 10.4.4.25 firmware? Because that fixed something with microSD cards, and it's the only kernel so far that reliably works with my Sandisk "Mobile Ultra" microSD card, even with ext4.
Click to expand...
Click to collapse
Yes, I've just done the OTA to .25 a few days ago.
So basically what you are saying is that there's no reason why an external MicroSD formatted as Ext4 shouldn't work with the TF700?
Many thanks for the quick reply. I'm going to get gparted and give this a go.

[Q] Tablet/micro SD card permissions

Hi everyone.
I've got a problem with the permissions of my brand new Micro SD Card. I was copying music files to my card from my pc and tried to delete some on my tablet. It would not let me delete them saying I didnt have permission. I can only read the files I put on it, not modify/delete them or write new ones.
My tablet is running Chromi-X 4.6.1 with _that modded stock kernel. Im not sure how to figure out what my micro SD card it formatted to, but I want to reformat it to NTFS or FAT32 since I think that is the problem. Is there any way to format the micro sd while in the tablet? Also, what should I format to, NTFS or FAT32. Im not sure what to do.
I hope someone help me with this? Thank you
wl123 said:
Hi everyone.
I've got a problem with the permissions of my brand new Micro SD Card. I was copying music files to my card from my pc and tried to delete some on my tablet. It would not let me delete them saying I didnt have permission. I can only read the files I put on it, not modify/delete them or write new ones.
My tablet is running Chromi-X 4.6.1 with _that modded stock kernel. Im not sure how to figure out what my micro SD card it formatted to, but I want to reformat it to NTFS or FAT32 since I think that is the problem. Is there any way to format the micro sd while in the tablet? Also, what should I format to, NTFS or FAT32. Im not sure what to do.
I hope someone help me with this? Thank you
Click to expand...
Click to collapse
Do you have access to a terminal emulator (GPlay Jackpal Android Terminal Emulator)? Do you have GPlay ES file explorer? What size and type of SD do you have (SDHC, Class 6?)
[Edit] First lets make sure you have your MicroSD mounted rw. In ES file explorer, in the left column find Tools, click-expand it, and find Mount RW, click that and open it. What do the radio buttons say for /Removable/MicroSD? If the RO button is dotted, change it to RW. If not, continue below.
Its probably a formatting issue but we need to check directory permissions to rule that out first. In ES file explorer, if you browse over to /Removable and then see /MicroSD as a folder, you may see permissions similar to "drwxr-xr-x" when what you need is "drwxrwxrwx". If this is the case then its a permissions problem. Proceed with the following fix.
Go open the terminal emulator and type the following code:
Code:
su
cd /Removable
chmod MicroSD 777
Which will change mode on the directory permissions to "drwxrwxrwx". The number in the code are OCTAL (4=read, 2=write, 1=execute; Sum=Root User, Group, Others) permissions codes.
If you already see "drwxrwxrwx" and still can't delete or rename then reformat your card from a PC. Quick format twice usually does it. Or you can try to copy everything off the card to PC, then copy it all back. If you want to use it ever for recovery then go FAT32. Otherwise you can go NTFS.
If its a 64GB (or larger) SDHX card, then it needs to be exFAT and you can't use it for recovery.

Swap sdcard with external_sd under CM 11

Hi there,
I got a little problem swapping the "internal" sdcard with the external_sd card (64gb micro SD). I tried some ways already:
- App "external 2 internal"
- Add this line "persist.sys.vold.switchexternal=1" to /System/build.prop
- Try to modify the vold.fstab in etc folder, but there is no file with that name. Only a file called vold, but it contains only bytecode
All of them fails =(
I'm running CM 11 (cm-11-20140104-SNAPSHOT-M2-xt897).
I would say it's an easy task, done with 1 or 2 simple commands in a shell, isn't it? Please help me.
Thanks a lot.
Greetings Meik
No idea, someone?
There were some options for this added to customized builds of CM10.2...
But this has not persisted for CM11. Emulated storage makes this quite a bit more difficult than it used to be.
I guess most of us just "deal" with the small 8gb internal SD.
Since yesterday I go rid of the emulated sdcard mount.
It involved hacking boot.img and framework-res.apk to be inline with the legacy devices like the nexus one.
Now I just have the external sd mounted as /sdcard and all the internal memory on /data is available for apps.
The storage overview also correctly displays the configuration. And it should now be possible to move apps to sd, at least the menu entries are shown.
I will try to put together a flashable zip and start a new thread so everybody can easily achieve this.
Stay tuned!
It's done!
You will find the thread here:
http://forum.xda-developers.com/photon-q-4g-lte/development/mod-classic-sdcard-mount-t2804085/post53883989

Categories

Resources