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!
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.
Hi Guys, just flashed my O2X with CM7 and it worked fine but for some reason its not detecting the internal storage. What happened is that I followed the instructions, saved the zip on my external sd card and then flashed it. Did I do something wrong?
Heyy could you say what CM7 version you are using? Plus it sounds like you did everything fine.
Sent from my Optimus 2X using XDA App
Try to reflash it ....
Sent from my GT-I9000 using xda premium
mags014 said:
Hi Guys, just flashed my O2X with CM7 and it worked fine but for some reason its not detecting the internal storage. What happened is that I followed the instructions, saved the zip on my external sd card and then flashed it. Did I do something wrong?
Click to expand...
Click to collapse
Nope, you did it right.
Sounds like you haven't used CM7 before, it's easy to think the internal SD is gone, but it isn't. CM7 by default mounts the external SD-card as /sdcard, where your internal card used to be mounted.
The internal card is at /mnt/emmc.
There is an option in the settings somewhere where you can switch them around (don't have CM7 installed at the moment, but just search in the CM7 Nightlies thread and you'll find lots of info about it.)
TrymHansen said:
Nope, you did it right.
Sounds like you haven't used CM7 before, it's easy to think the internal SD is gone, but it isn't. CM7 by default mounts the external SD-card as /sdcard, where your internal card used to be mounted.
The internal card is at /mnt/emmc.
There is an option in the settings somewhere where you can switch them around (don't have CM7 installed at the moment, but just search in the CM7 Nightlies thread and you'll find lots of info about it.)
Click to expand...
Click to collapse
I think you are wrong, i am on CM7.1 and by default my internal sd card was in mnt/sdcard and external is mnt/emmc. Now I use FadeFX 1.6 update, which changes this to internal sdcard - mnt/sdcard and external sdcard to mnt/sdcardexternal_sd as it is on samsung ROMs..... (for this you need to check this feature in settings you mentioned) ....
goranbm said:
I think you are wrong, i am on CM7.1 and by default my internal sd card was in mnt/sdcard and external is mnt/emmc. Now I use FadeFX 1.6 update, which changes this to internal sdcard - mnt/sdcard and external sdcard to mnt/sdcardexternal_sd as it is on samsung ROMs..... (for this you need to check this feature in settings you mentioned) ....
Click to expand...
Click to collapse
Ok, they may have switched the defaults around since the last time I tried it. Doesn't take away from the main point of the post though. Mount points are different in CM7 from what people are used to, and confusing if you don't know about it.
But only external sd is different... internal it is the same, isn't it ???
goranbm said:
But only external sd is different... internal it is the same, isn't it ???
Click to expand...
Click to collapse
No, I was right. (Just installed the latest nightly)
External card mounted as /mnt/sdcard, also reachable from a symbolic link /sdcard.
Internal card mounted as /mnt/emmc.
default install.
Because This feature was introduced from nightly #148 or something .... And he installed CM7.1 wich is nightly #144 I am on this too, so I know how it was after installation.
goranbm said:
Because This feature was introduced from nightly #148 or something .... And he installed CM7.1 wich is nightly #144 I am on this too, so I know how it was after installation.
Click to expand...
Click to collapse
Nonsense. It's been like that since nightly #1. There were however KANGs floating around which switched mountpoints, you may have used one of those.
Thanks for the info guys...yes this is my first custom ROM and my first CM so sorry for being noob LOL
For some reason its now working. What I did was rebooted my phone, removed the external SD, and it somehow assigned sdcard for internal storage. Rebooted the phone and put back the external SD, and its now emmc...weird but it works now. I just have to move my apps all over the place
TrymHansen said:
Nonsense. It's been like that since nightly #1. There were however KANGs floating around which switched mountpoints, you may have used one of those.
Click to expand...
Click to collapse
No i was on stock... I was reading nightly thread.... This is the way that I understand :
Before nightly #149 thing was fine, but after this nightly users must check option "use internal storage" and then everything works fine...
If i got it wrong, i apologize.
goranbm said:
No i was on stock... I was reading nightly thread.... This is the way that I understand :
Before nightly #149 thing was fine, but after this nightly users must check option "use internal storage" and then everything works fine...
If i got it wrong, i apologize.
Click to expand...
Click to collapse
You're in the wrong forum, aren't you? That's why everything's confused, you're talking about CM7 on the Galaxy? This is the Optimus 2X forum.
Ohhhh my god .... can't believe how stupid this is.... I apologize for this. I am o cell phone, and did't see this.... so embaresed
Sent from my GT-I9000 using xda premium
As title, I can't use internal storage as SDcard and External SD as /emmc... I tried with the zip of CM 9.1 but didn't work! If someone could help me...
Gjot said:
As title, I can't use internal storage as SDcard and External SD as /emmc... I tried with the zip of CM 9.1 but didn't work! If someone could help me...
Click to expand...
Click to collapse
See my post here:
http://forum.xda-developers.com/showthread.php?p=31284282
Sent from my LG-SU660 using xda premium
Can any one just give the lines i need to replacr. I had them in my bloc note bit forgot to save it. (Toke the one from cm7) but out my head i dont know what i must change
hello?*
i just want the lines that i need to change in vold.stfb
i find it easier, than .zip, dont want ot brick my sd etc...
---------- Post added at 09:47 PM ---------- Previous post was at 09:43 PM ----------
dont want too make a new thread.... f*** nvm will try your .zip see nobody anwsers
**** i think i got boot loop XD
lol that where i wa scared off, i looked at you file and my stock mount #aragorn7
isnt the same as my cm10.1 old bootloader stock mount
but i think i know what i need to change now
like always cant enter recovery ****y phone........
aragorn7 said:
See my post here:
http://forum.xda-developers.com/showthread.php?p=31284282
Sent from my LG-SU660 using xda premium
Click to expand...
Click to collapse
this is yours
dev_mount sdcard /storage/sdcard1 auto /devices/platform/tegra-sdhci.2/mmc_host/mmc1
dev_mount emmc /storage/sdcard0 9 /devices/platform/tegra-sdhci.3/mmc_host/mmc2
na mine on cm10.1 loooks liks this
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
dont have mmc2 but mmc0
and it's not sd card0 9 but just 9
and the sdhci is first then tegra and you its tegra first
but will try have noting to loose
"just changed sdcard1 auto to sdcard0"
"and sdcard 9 to sdcard1 9"
get boot loop,
plz any one help for cm10.1 i will make new thread no on come here
Hi,
first of all tnx to the penguins for the great CM10 based PA ROM. I'm running it since Build 02 and lovin it.
I noticed that the external SD is mounted under /storage/sdcard1 next to the internal /storage/sdcard0 or /sdcard
This leads to one strage thing: Under /sdcard/_ExternalSD I only see the empty folders .../DCIM/Camera while the Camera pictures get (correctly) filed under /sdcard/DCIM
I can only access the external SD with root explorer therefore and it's contents cannot be used by many apps and functions (like Airdroid)
Am I doing anything wrong? Is there an easy way to fix it?
tnx in advance
jolithan said:
Hi,
first of all tnx to the penguins for the great CM10 based PA ROM. I'm running it since Build 02 and lovin it.
I noticed that the external SD is mounted under /storage/sdcard1 next to the internal /storage/sdcard0 or /sdcard
This leads to one strage thing: Under /sdcard/_ExternalSD I only see the empty folders .../DCIM/Camera while the Camera pictures get (correctly) filed under /sdcard/DCIM
I can only access the external SD with root explorer therefore and it's contents cannot be used by many apps and functions (like Airdroid)
Am I doing anything wrong? Is there an easy way to fix it?
tnx in advance
Click to expand...
Click to collapse
Thats my Dear friend is our Beloved ICS Formatation there are Tools to Swap or Redefine Partitions like http://forum.xda-developers.com/showthread.php?t=2020737 its comes with a self explaining Manual.
And Well. Hit thanks if i Helped
Have a nice day
You can use in terminal : "mount -o bind /storage/sdcard1 /storage/sdcard0/_ExternalSD" after creat with "mkdir /storage/sdcard0/_ExternalSD". For have all the time, after boot, use SManager ( in play store ) for execute a small script, juste une ligne : mount -o ..... by.
Hi there,
I am using CM 10.1 for almost five hours and I am very happy with it.
But I am missing a tweak which put the external sdcard as main. Is there any way to make this possible.
I tried the mounttweak from imperticus but this did not work because it was for cm10?
Edit /system/etc/vold.fstab with a root text editor and remounted system partition. Switch sdcard with sdcard1 and vice versa.
Sent from my LG-P990 using xda app-developers app
I tried you method but all I get is a bootloop.
Ok...so after searching more than 10 threads completely I found a flashable zip which can mount the external sdcard as internal for cm10.1.
But then the internal storage about 4,63 GB is gone. All I get is a message on the statusbar that the internal sdcard is broken and can not be mount.
At least it works so if anyone wants to have more internal free space...here you go:
Working Mounttweak
EDIT: Works fine with temasek cm 10.1