Related
This seems to be the best solution if you just want to stock mounting in cm7, I don't know if build.prop changes with every new nightly so you'll probably have to edit it after every flash.
Stikkontakt said:
SOLUTION:
1: Create a folder in your internal SD Card (in my case "ExternalSD")
2: Edit vold.fstab:
Code:
dev_mount emmc /mnt/sdcard/ExternalSD auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount sdcard /mnt/sdcard 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
3: Edit /system/build.prop
Code:
# Mount the internal SD card, too
ro.additionalmounts=/mnt/sdcard/ExternalSD
your external sd card is now mounted inside internal sd card. If you go to settings/storage, it will come up as unavailable, but the external content is inside your selected folder
Click to expand...
Click to collapse
nomedor said:
After that you can mount external sd as a folder of internal by using this command in terminal emulator:
Code:
mount /mnt/emmc /mnt/sdcard/_ExternalSD
The problem is that it can't survive boot and you have to write this command by hand every time. I tried to make it run on boot by adding the command in \system\etc\init.d folder as a text file but it didn't work, although it should.
Any help is welcome
Click to expand...
Click to collapse
That's why it didn't works!
Thanks for bring it up! I hope someone will help you becouse the way stock roms mount sd card is way better!
pushing it up, since this here is an interesting topic. It does indeed make more sense to mount sdcards like the stock roms mount it...
Hopefully someone can figure this out.
Also i noticed that if you do not mount emmc/_ExternalSD it gets recognised by the pc and otherwise not. This could be coincidence since i'm struggling hard with mounting my sdcards to my mac...
Unfortunately you are right, after this trick pc can only see the external sd card!
Maybe this isn't the right way to do it or somehow it needs to automatically unmount before you connect the phone on pc and then on disconnect remount it again.
Sadly my knowledge is limited, but I think that a real developer can do it in a heartbeat.
I'm not a real developer, but I remember that the modified fstab has to be put inside the kernel ramdisk.
I have found these two perl scripts somewhere on the net. They can be used to extract and repack the boot image. Could be possible that the base address has to be modified to work on the O2x, haven't tried it myself yet.
Zip including the scripts are here:
h t t p ://tuxfighter.de/Share/Scripts/
___
Sent from my Optimus 2X using Tapatalk
This is easy peasy lemon squeezy . For me at least since ex-dev.
Instructions:
Get root explorer (cba giving adb commands on my phone)
Mount r/w
Go to etc/vold.fstab
Mount r/w again
Long press the file and click open in text editor
Now at the bottom swap the mounts. Sdcard to /mnt/emmc
And
emmc to /mnt/sdcard
Save and exit.
Delete backup and reboot.
I will post a flashable zip if you want soon.
DONT FORGET TO THANK ME!
EDIT: just read first post properly. It should work on every boot. It is for me on my g2x. Try my easy method
The problem is that I can't find a way to mount external SD in "/sdcard/_externalSD" from vold.fstab where /sdcard is internal memory, just like stock rom.
It should be possible...
nomedor said:
The problem is that I can't find a way to mount external SD in "/sdcard/_externalSD" from vold.fstab where /sdcard is internal memory, just like stock rom.
It should be possible...
Click to expand...
Click to collapse
Have a look at the stock vold then
Sent from my LG-P999 using XDA App
I copied stock vold into CM7 and i got neither internal SD nor external SD then.
ranrick said:
I copied stock vold into CM7 and i got neither internal SD nor external SD then.
Click to expand...
Click to collapse
I've already tried that. I can't understand why people are not interested in this
yeah, there are almost no applications which can use /mnt/emmc. So 1 partition is almost useless at current situation.
Any progress?
Sent from my Optimus 2X using Tapatalk
ranrick said:
yeah, there are almost no applications which can use /mnt/emmc. So 1 partition is almost useless at current situation.
Click to expand...
Click to collapse
Y dont u put all your pics,videos and music in emmc and leave sdcard for application data?
Sent from my LG-P999 using XDA App
webstar1 said:
Y dont u put all your pics,videos and music in emmc and leave sdcard for application data?
Sent from my LG-P999 using XDA App
Click to expand...
Click to collapse
Because we have to do It for EVERY new photo/Video
Stock's ROM vold.fstab is mounting /sdcard/_externalSD but this is not working on CyanogenMOD, it could be a CM7 "problem" after all!
No update? CM7 way to mount sd sucks IMHO!
katun79 said:
No update? CM7 way to mount sd sucks IMHO!
Click to expand...
Click to collapse
if you want to test it (please do a nand backup before!), than try my kernel and add the -internal flag to it.
Download this
rename to vorkKernel-080611-internal.zip
and flash it.
It is untested, because I don't want this behaivour and I made it because a user requested it. So no gurantee that it will work etc.
Bennee:
From what i see in vold.fstab file in the flashable zip it only swaps paths...
Any luck mounting external sd in "/mnt/sdcard/_externalSD" ?
nomedor said:
Bennee:
From what i see in vold.fstab file in the flashable zip it only swaps paths...
Any luck mounting external sd in "/mnt/sdcard/_externalSD" ?
Click to expand...
Click to collapse
there is a additional mounting script + some permission fixes. Should be called on every boot up (mount /mnt/emmc /mnt/sdcard/_ExternalSD).
Benee said:
there is a additional mounting script + some permission fixes. Should be called on every boot up (mount /mnt/emmc /mnt/sdcard/_ExternalSD).
Click to expand...
Click to collapse
But it doesn't... _ExternalSD is empty with your kernel.
UPDATE (11/2/12):
To avoid confusion, the text was edited. See the relevant sections below.
-------------------
Hi folks,
A few of you asked me about this, so here you go. The following are CWM installable switcher for internal / external storage mounting location for SU660.
(Credits to wkpark for teaching me about this out and tonyp for the template cwm installer)
SU660 CM7/CM9 Default Mounting:
Internal storage @ /mnt/emmc
External storage @ /mnt/sdcard
Download here: http://www.mediafire.com/?afvechvvaawvwlt
SU660 CM7/CM9 Switched Mounting:
Internal storage @ /mnt/sdcard
External storage @ /mnt/emmc
Download here: http://www.mediafire.com/?zj6cca93ls9dfpu
UPDATE (11/2/12):
To avoid confusion, the text in the following section was edited.
The following patches only works with the UNOFFICIAL CM10 builds. If you are on the official CM10 nightlies, do not use the patches here.
SU660 UNOFFICIAL CM10 (JB) Default Mounting
Internal storage @ /storage/sdcard1 aka "/mnt/emmc"
External storage @ /storage/sdcard0 aka "/mnt/sdcard"
Download here: http://www.mediafire.com/?9grt94ybvv95589
SU660 UNOFFICIAL CM10 (JB) Switched Mounting
Internal storage @ /storage/sdcard0 aka "/mnt/sdcard"
External storage @ /storage/sdcard1 aka "/mnt/emmc"
Download here: http://www.mediafire.com/?84o9q0ol6du9lm0
Feel free to comment and provide feedback. Your "thanks" and/or donations are never required, but are always much appreciated.
Good work @aragorn
good job.
UPDATE (11/2/12):
To avoid confusion, the text in post #1 was edited. Patches here only works with the UNOFFICIAL CM10 builds. If you are on the official CM10 nightlies, do not use the patches here.
sorry for offtopic.
can you make one for cm10 for p990 ?
Hey, can you mount:
Internal storage @ /mnt/sdcard/_ExternalSD aka "/mnt/sdcard"
External storage @ /mnt/sdcard aka "/mnt/emmc"?
Thank you so much
RohanAJoshi said:
sorry for offtopic.
can you make one for cm10 for p990 ?
Click to expand...
Click to collapse
If you mean you'd like one for the unofficial cm10 and not the official nightlies, then P990 version is already made here:
http://forum.xda-developers.com/showthread.php?p=31284282
Sent from my LG-SU660 using xda premium
KingMGT said:
Hey, can you mount:
Internal storage @ /mnt/sdcard/_ExternalSD aka "/mnt/sdcard"
External storage @ /mnt/sdcard aka "/mnt/emmc"?
Thank you so much
Click to expand...
Click to collapse
Duplicate post. See answer here:
http://forum.xda-developers.com/showthread.php?p=33660398
Sent from my LG-SU660 using xda premium
aragorn7 said:
UPDATE (11/2/12):
To avoid confusion, the text in post #1 was edited. Patches here only works with the UNOFFICIAL CM10 builds. If you are on the official CM10 nightlies, do not use the patches here.
Click to expand...
Click to collapse
Hi, I installed CM10 nightly for SU660.
But the phone does not detect 16GB memory, detects 1.4 gb.
My su660 have 16gb memory, how can I solve this problem?, which should I use?
Help me please!
CriDDJ said:
Hi, I installed CM10 nightly for SU660.
But the phone does not detect 16GB memory, detects 1.4 gb.
My su660 have 16gb memory, how can I solve this problem?, which should I use?
Help me please!
Click to expand...
Click to collapse
Looks like you have a duplicate post. Answered your earlier post somewhere else in these forums.
Also, try looking at http://forum.xda-developers.com/showthread.php?t=1971350
hi aragorn7! I managed to flash CM10 (4.2.1) nightly successfully. but problem is, internal storage is nowhere to be found in rom. I can mount it though on CWM, but that is all there is. External storage can be seen in file manager, but some apps cannot access it like jb camera, camera zoom. I'm going nuts here!
if you can give me a heads up on this matter would be highly appreciated. thanks!
djtreo said:
hi aragorn7! I managed to flash CM10 (4.2.1) nightly successfully. but problem is, internal storage is nowhere to be found in rom. I can mount it though on CWM, but that is all there is. External storage can be seen in file manager, but some apps cannot access it like jb camera, camera zoom. I'm going nuts here!
if you can give me a heads up on this matter would be highly appreciated. thanks!
Click to expand...
Click to collapse
4.2.1 is actually CM10.1 and not CM10, for which the zips in this thread are not suitable.
Try to see if you have both /storage/sdcard0 and /storage/sdcard1. Depending on how it is mounted, one of them should be the internal and the other external.
Also, see what your /system/etc/vold.fstab says currently.
wow that was a fast response from you aragorn7!
ok, in root explorer, i only found /storage/sdcard1 and it's the external. can't find any sdcard0 or some sort..
in my /system/etc/vold.fstab says:
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage_sdcard 9 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
any idea?
djtreo said:
wow that was a fast response from you aragorn7!
ok, in root explorer, i only found /storage/sdcard1 and it's the external. can't find any sdcard0 or some sort..
in my /system/etc/vold.fstab says:
dev_mount sdcard /storage/sdcard1 auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
dev_mount emmc /storage_sdcard 9 /devices/platform/sdhci-tegra.3/mmc_host/mmc0
any idea?
Click to expand...
Click to collapse
Try changing the 9 on the second line to 10.
I'm assuming you are on the old bootloader btw.
aragorn7 said:
Try changing the 9 on the second line to 10.
I'm assuming you are on the old bootloader btw.
Click to expand...
Click to collapse
fingers crossed xD . rebooting device now...
*edit*
device rebooted. still can't find internal storage. as of root explorer, I can find three entries under /storage, /sdcard & /sdcard1
now where to go from here? so thankful you're there aragorn7!
Good job brother
Sent from my GT-S5570 using xda app-developers app
djtreo said:
fingers crossed xD . rebooting device now...
*edit*
device rebooted. still can't find internal storage. as of root explorer, I can find three entries under /storage, /sdcard & /sdcard1
now where to go from here? so thankful you're there aragorn7!
Click to expand...
Click to collapse
What's under /storage/sdcard?
aragorn7 said:
What's under /storage/sdcard?
Click to expand...
Click to collapse
both /sdcard & /sdcard0 are empty folders...
djtreo said:
both /sdcard & /sdcard0 are empty folders...
Click to expand...
Click to collapse
Seems like there is some incompatibility with vold.fstab and cm10.1. Although I can't guarantee a solution, I'll try to look into it when I get back to my computer.
aragorn7 said:
Seems like there is some incompatibility with vold.fstab and cm10.1. Although I can't guarantee a solution, I'll try to look into it when I get back to my computer.
Click to expand...
Click to collapse
oh I see. Ok, I'll be expecting your response. Thanks a lot aragorn7!
Hey everyone,
I installed the "cm-10.1-20130221-NIGHTLY-p990.zip" and the kernel "kk-exp-20130219-106-oldbl.zip" (Kowalski-Kernel for the old Bootloader). Unfortunately my internal SD card seems NOT to be mounted. If (either on phone or on my computer) navigate to /storage/sdcard the folder ist empty. I can easyly access /storage/sdcard1 which is my external SDHC card.
I also can't move apps to the sdcard. And errormessage tells me "No more free space." which is actually not true.
So do you guys have any idea what could have went wrong?
Initially I used the AIO toolkit to get back to the old partition layout and I am using CWM 5.
Thanks in advance,
cRaZy
cRaZy-bisCuiT said:
Initially I used the AIO toolkit to get back to the old partition layout and I am using CWM 5.
Click to expand...
Click to collapse
Then may I suggest you go and read the instructions in the AIO tool thread. Especially where it specifically tells you what to do if your internal SD will not mount
Sent from my LG-P990 using Tapatalk 2
kingvortex said:
Then may I suggest you go and read the instructions in the AIO tool thread. Especially where it specifically tells you what to do if your internal SD will not mount
Sent from my LG-P990 using Tapatalk 2
Click to expand...
Click to collapse
I didn't know that this exists. Thanks!
EDIT: Could you be so kind and let me know where I can find it? Is it device spefic as well? A link is much appreciated.
EDIT1: Thanks, I found it!
http://forum.xda-developers.com/showthread.php?t=2020737
I have alerte from my V that the memory is almost full
I would like to know how can i move applicatiobn to the micro SD because the only option that i have in the menu "application" is to move from phone to internal storage
Someone have the solution to really use complementary memory or are we limited to the 4gb included into the phone for application ?
Thanks in advance
Use Link2SD. It can move applications to the SD card
Thank you but it doesnt work.
Infact android consider the second part of internal memory as a sd card and don t see the real card to move the application
The V have 3 memories :
Memory of phone
Internal memory
Sd card
The solution should be to invers the internal memoory and the sd card but how ?
Use directory bind. Works perfectly in mine.
Sent from my LT29i using Tapatalk 2
Thanks i m looking forward an easy method to root my phone and i will try it
works good with directory bind.
I have some problem with directory bind.
The default is sdcard/ext scard. I supposed this is gears towards Samsung devices.
How do we do it in V?.
Or any other apps that does the same?
Sent from my LT25i using xda app-developers app
I'm on JB with locked bootloader, how to root, can anyone help?
blackcat510 said:
I'm on JB with locked bootloader, how to root, can anyone help?
Click to expand...
Click to collapse
1. Use the search button and read.
2. Post in the correct threads.
gregbradley said:
1. Use the search button and read.
2. Post in the correct threads.
Click to expand...
Click to collapse
Ok, I know xda rules, just a side question
To OP: I've found this http://forum.xda-developers.com/showthread.php?t=1716166, can you test it as I'm not rooted
wednesday13 said:
Use directory bind. Works perfectly in mine.
Sent from my LT29i using Tapatalk 2
Click to expand...
Click to collapse
can u share your setting on V sir?
bcoz im confused to setup directory bind
thx b4
yes, i sent from my phone using Xda Premium, so what?
Click to expand...
Click to collapse
andrasandhi said:
can u share your setting on V sir?
bcoz im confused to setup directory bind
thx b4
Click to expand...
Click to collapse
Just enter source from ext_card and target to sdcard. Works perfectly. Btw, I let directory bind do the transfer (check transfer files)
Sent from my LT29i using Tapatalk 2
wednesday13 said:
Just enter source from ext_card and target to sdcard. Works perfectly. Btw, I let directory bind do the transfer (check transfer files)
Sent from my LT29i using Tapatalk 2
Click to expand...
Click to collapse
Thanks, will try it when I get home,
Before I try to sdcard1 and everything just crash.
Sent from my LT25i using xda app-developers app
does anyone have problem saving the data into the sdcard when directory bind active ?
i mean , when you copy , for example music, from PC to sdcard through USB cable ,, the copied files unseen in sdcard ...
this only happen when i activate directory bind ,
sony_84 said:
does anyone have problem saving the data into the sdcard when directory bind active ?
i mean , when you copy , for example music, from PC to sdcard through USB cable ,, the copied files unseen in sdcard ...
this only happen when i activate directory bind ,
Click to expand...
Click to collapse
you must unmount all folders before connect to pc man
Hello im sorry for this thread but i really need help
i got a Galaxy S advance gt-i9070 and i tried rooting it using this methodhttp://forum.xda-developers.com/showthread.php?t=1985199
the method works and my phone is rooted and increased my custom binary by 2
but the case is .. after i rooted my phone using the above method my phone cant seems to DETECT my sd card wether its new or old fat32 or ext for any other format ...
right now my phone is currently on JB OFFiCIAL ROM ... because i thought flashing JB would help me solve the problem
My jB phone Is not rooted and i REALLY REALLY need help solving this matter
chocolemon said:
Hello im sorry for this thread but i really need help
i got a Galaxy S advance gt-i9070 and i tried rooting it using this methodhttp://forum.xda-developers.com/showthread.php?t=1985199
the method works and my phone is rooted and increased my custom binary by 2
but the case is .. after i rooted my phone using the above method my phone cant seems to DETECT my sd card wether its new or old fat32 or ext for any other format ...
right now my phone is currently on JB OFFiCIAL ROM ... because i thought flashing JB would help me solve the problem
My jB phone Is not rooted and i REALLY REALLY need help solving this matter
Click to expand...
Click to collapse
Control that the pins of sdcard slot are ok or check with another card. Check if you can mount/format in Settings>Storage
Tesla-MADAL93 said:
Control that the pins of sdcard slot are ok or check with another card. Check if you can mount/format in Settings>Storage
Click to expand...
Click to collapse
the pins are okay i've checked it ... and no i cant mount\format my sd card .. and i cant read it through recovery or through Pc
i've found a site telling that i should try fixing it using terminal emulator with rooting privilage but i cnat seems to remember the site
if you guys have any idea about it please post it here !
chocolemon said:
the pins are okay i've checked it ... and no i cant mount\format my sd card .. and i cant read it through recovery or through Pc
i've found a site telling that i should try fixing it using terminal emulator with rooting privilage but i cnat seems to remember the site
if you guys have any idea about it please post it here !
Click to expand...
Click to collapse
If you have flashed stock JB with Odin you have stock vold.fstab and recovery.fstab so the software should be ok, have you checked the card on pc with an adapter or in another phone?
Inviato dal mio GT-I9070
Tesla-MADAL93 said:
If you have flashed stock JB with Odin you have stock vold.fstab and recovery.fstab so the software should be ok, have you checked the card on pc with an adapter or in another phone?
Inviato dal mio GT-I9070
Click to expand...
Click to collapse
yes i have and its a brand new sd card freshly out of the package ... and it work using adapters and other phone
ohh before i flash the official JB rom ... my rooted rom keep notify me with my bland SD card after i rooted my phone ...
chocolemon said:
yes i have and its a brand new sd card freshly out of the package ... and it work using adapters and other phone
ohh before i flash the official JB rom ... my rooted rom keep notify me with my bland SD card after i rooted my phone ...
Click to expand...
Click to collapse
If you dont care about data loss, try formatting it from PC.
harith.unnikrishnan said:
If you dont care about data loss, try formatting it from PC.
Click to expand...
Click to collapse
format using pc ?? how just format it through my computer ?
chocolemon said:
format using pc ?? how just format it through my computer ?
Click to expand...
Click to collapse
Mount the card on pc using an adapter or working phone with mass storage option, then format with standard procedure (on Windows right click on removable disk and format), if doesn't work try to flash again stock JB, you can try another version if your device isn't simlocked to the carrier.
Tesla-MADAL93 said:
Mount the card on pc using an adapter or working phone with mass storage option, then format with standard procedure (on Windows right click on removable disk and format), if doesn't work try to flash again stock JB, you can try another version if your device isn't simlocked to the carrier.
Click to expand...
Click to collapse
or maybe can you guys give me the vold.fstab and recovery.fstab for GB 2.3.6 so i can copy paste it to my phone
chocolemon said:
or maybe can you guys give me the vold.fstab and recovery.fstab for GB 2.3.6 so i can copy paste it to my phone
Click to expand...
Click to collapse
recovery.fstab is a part of the recovery image into kernel, you can't copy-paste it, you can only touch vold.fstab with root access. But this is not your problem because you have flashed stock ROM! As I said earlier: try to flash again a different version of stock JB or try downgrading to see if the problem is resolved.
Tesla-MADAL93 said:
recovery.fstab is a part of the recovery image into kernel, you can't copy-paste it, you can only touch vold.fstab with root access. But this is not your problem because you have flashed stock ROM! As I said earlier: try to flash again a different version of stock JB or try downgrading to see if the problem is resolved.
Click to expand...
Click to collapse
well nothing really works .. and my phone still unable to read external sd card i insert .. well just have to use my phone cardless i guess:crying:
chocolemon said:
well nothing really works .. and my phone still unable to read external sd card i insert .. well just have to use my phone cardless i guess:crying:
Click to expand...
Click to collapse
Try with re-partition of your SD card. Maybe it is in ntfs format, as far I remember we do not have NTFS support out of the box (only with CoCore kernel).
How to partition your SD card guide.
shut_down said:
Try with re-partition of your SD card. Maybe it is in ntfs format, as far I remember we do not have NTFS support out of the box (only with CoCore kernel).
How to partition your SD card guide.
Click to expand...
Click to collapse
Can anyone provide me with vold.fstab gb 2.3.6 and push ot into my device
chocolemon said:
Can anyone provide me with vold.fstab gb 2.3.6 and push ot into my device
Click to expand...
Click to collapse
First - what do you want to do? vold.fstab will swap your internal and external memory. And sure it will not help you see your SD card on PC or recovery.
I had problem with non visible SD card in recovery on GB - and solution was to partition it again.
Is not only to swap, but also to set mount points. Yes, I forget about repartition, said to format current partition in fat32 but he said that with an adapter or another device works
Tesla-MADAL93 said:
Is not only to swap, but also to set mount points. Yes, I forget about repartition, said to format current partition in fat32 but he said that with an adapter or another device works
Click to expand...
Click to collapse
Use a card reader or another mobile device, in USB Mass storage mode and format it like u do for a pendrive.
EDIT: sorry, wrong quote!
harith.unnikrishnan said:
Use a card reader or another mobile device, in USB Mass storage mode and format it like u do for a pendrive.
EDIT: sorry, wrong quote!
Click to expand...
Click to collapse
Don't worry it's the same as I said