[GUIDE][MOD][ICS] Swap internal and external storage - Samsung Galaxy R i9103

Hi All,
I managed to modify the vold.fstab in ICS to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through Root Explorer before creating this zip - so I am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- Dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for Ginderbread. Credit to Pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
FLASH AT YOUR OWN RISK !!
I am not sure if I posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (Don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
And
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
Thats all that was required

Title seems bit confusing, it will be better and clear if stated as *swap internal and external storage*
Sent from my CM7.2 powered Galaxy R using Tapatalk 2.

xlm13x said:
Title seems bit confusing, it will be better and clear if stated as *swap internal and external storage*
Sent from my CM7.2 powered Galaxy R using Tapatalk 2.
Click to expand...
Click to collapse
Title changed as requested

Anyone tried it yet? Does it work fine for you guys?

parajsinghal said:
Anyone tried it yet? Does it work fine for you guys?
Click to expand...
Click to collapse
Yes it is working perfectly.
Thanks !!
Sent from my GT-I9103 using xda app-developers app

I tried it too. works fine so far.
explorer, task manager, Titanium backup all are recognizing the change.

pudup said:
Alright. Strange issue here. This may or may not be the cause.
I can't mount sdcard on CWM 4.0.0.2
I could with the gb swap on GB.
Can other use memory card on clockwork mod?
And never mind.... I flashed CWM 5.5 and its fine now
"I like spelling my name backwards"
Click to expand...
Click to collapse
Yes, I have been on CWM 5.5 all the way and never faced this issue ... But is it really happening on 4.0.0.2? Will check at my end too and add it to OP if that is the case. And ofc I will add instructions to backup data too. Its just that I have been a little busy lately. I hope to get some time over the weekend

My memory is swapped as i'm on Neo Rom v3 which is having this feature by default.
Will my sd card gets wiped if I wipe data via CWM or if I do a factory reset?
How to swap memory again to the default mode without flashing another Rom ?
Sent from my Galaxy Royale using xda-developers app
NeO RoM v3 - ardatdat's kernel 1.8.3

parajsinghal said:
hi all,
i managed to modify the vold.fstab in ics to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through root explorer before creating this zip - so i am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for ginderbread. Credit to pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
flash at your own risk !!
I am not sure if i posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
and
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
thats all that was required
Click to expand...
Click to collapse
dude you are a godddddd! I worship you from now on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

parajsinghal said:
Hi All,
I managed to modify the vold.fstab in ICS to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through Root Explorer before creating this zip - so I am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- Dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for Ginderbread. Credit to Pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
FLASH AT YOUR OWN RISK !!
I am not sure if I posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (Don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
And
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
Thats all that was required
Click to expand...
Click to collapse
im tottally BUMMED. turns out the 32 gb i used for this was a FAKE!!! its says its a 32 gb but once you add data, it gets erased or becomes unreadable. so my question is how do you revert to the original default sdcard settings?
---------- Post added at 11:56 AM ---------- Previous post was at 11:24 AM ----------
symax said:
im tottally BUMMED. turns out the 32 gb i used for this was a FAKE!!! its says its a 32 gb but once you add data, it gets erased or becomes unreadable. so my question is how do you revert to the original default sdcard settings?
Click to expand...
Click to collapse
nvm, i just relpaced the vold in the rar and flashed it, now im back to being a 4gb'er ;(

symax said:
dude you are a godddddd! I worship you from now on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
Thanks for kind words buddy but you got to be kidding me
Its just a mod that already existed for gb. I just manged to play around and bring it to our phone for ICS. But yes you'll definitely find some devs whom we can actually worship on this forum. They do a great job.
Btw, sad to hear your sdcard turned out to be a fake. Thats a new for me. Never heard that for memory cards
Sent from my GT-I9103 using xda app-developers app

Please someone give me stock ics vold file. I used this vold and now i m not able to download game data for any game.

gitanshu said:
Please someone give me stock ics vold file. I used this vold and now i m not able to download game data for any game.
Click to expand...
Click to collapse
Here's the stock vold. Just rename from vold.fstab.txt to vold.fstab before using it. Anyway, what issue are you facing? Are you using CWM 5.5.0..4. Some users reported issues with older CWM. I am not much of a gamer myself. Do other users also face this issue?

When i try to download game data, game says you need 0 MB more space to download data but at that time, more than 2 GB is free.
Sent from my GT-I9103 using xda app-developers app

done, thanks

I didn't want to create another thread for this but, is it possible to physically swap the internal flash from one phone to another. I crush a my gnex and would like to pull some stuff off the old one. just curious

I'll try it know, just after coping everything to external sd. Will confirm if it works.
Cheers
Sent from my I9103

Will it work with Angeeks?
Sent from my GT-I9103

khpatel4991 said:
Will it work with Angeeks?
Sent from my GT-I9103
Click to expand...
Click to collapse
Yup
HiT ThE ThnX BuTTon If I Help U

Has worked perfectly after copying all the internal card to the external.
Great!
Sent from my I9103

Related

[Q] File System question

I performed a Factory Reset / Wipe and was under the impression this cleared everything off the Xoom that I had added. Upon looking at the /mnt/sdcard folder I see folders of Apps that I had previously installed.
Question
Can the /mnt/sdcard be formatted ? If so how ?
Not super familiar with the whole file system setup so If this is a noob/stupid question could you please explain things for me.
mgabriel2 said:
Can the /mnt/sdcard be formatted ? If so how ?
Click to expand...
Click to collapse
There are two ways that I know of that I personally have done just in the last week or so. First you can unmount the SD card from the Xoom and place it in an Android Cell Phone, and go to settings/storage and from there unmount the card and click reformat SD card. Or you can hook the Xoom up via USB and clear it from within the PC/mac. Hope this helped.
Sent from my Xoom using xda premium
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
mgabriel2 said:
Nope that would be for the micro USB card this is the /mint/sdcard which is part of the internal memory
Sent from my Xoom using xda premium
Click to expand...
Click to collapse
Fastboot -w wipes all user data including /mnt/sdcard I lost some pictures of my dog because of it
Sent from my MB860 using xda premium
The simplest way I know of is thru the Backup/Restore options in CWM, just doing the wipes won't do it. I use the Team Rogue version of CWM tho, i don't remember off hand if it can be done in the other recovery's (i.e. Rom Managers version or the one from solarnz that is most popular).
I just, personally, like the way the menus are laid out with Team Rogue's version and not having like a dozen No's with one Yes when confirming an action, nothing against the others.
Thanks guys I will try the Fastboot -w when at home and able to use it and Team Rogue's Recovery when at work.
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
mgabriel2 said:
Its been awhile but what is the option in Team Rogue recovery I dont see one to wipe the Internal data
Click to expand...
Click to collapse
I believe that its or in the Advance or Mount Storage options....

Htc sensation not start and boot

Hi,
friends
i have installed AOKP_RMS_DIANXIN_HYBRID_BUILD_34 rom and it works fine. But today i try to erase sd card and then try to start phone in recovary then phone switch off and now phone nt starting. I try to remove battarey then try to start but nt starting. Even nt show orange light during charger connect. It seems like phone is dead . So please help me friends.
Thanking u all in advance
Does your battery provide voltage if you measure it? Could be that it somehow died
Sent from my HTC Sensation using XDA
Uh oh.
Do you have handy the .zip of the ROM still? If so, open it up and look at the file /system/etc/vold.fstab if it contains:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
instead of:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Then basically what you've just done (unwittingly) is wiped the phones eMMC. It is now useless.
Rusty! said:
Uh oh.
Do you have handy the .zip of the ROM still? If so, open it up and look at the file /system/etc/vold.fstab if it contains:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
instead of:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Then basically what you've just done (unwittingly) is wiped the phones eMMC. It is now useless.
Click to expand...
Click to collapse
Yes Your right i seen in this file and it has same code
like
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
..
so now what is solution for it .. bro please help me it just 5 month old phone .
You can't do a thing, it's dead. You'll have to send it back to HTC and get it repaired under warranty.
I installed custom rom so is it come under warranty?
There is no evidence that you installed a custom ROM, there is no evidence of anything anymore, the phone is now completely empty.
What HTC will make of that I don't know, it could be that it's the equivalent of a dead motherboard. Some other people had the same problem after formatting the SD card, but I don't know what they did about it.
All you can do is call them and hope. Don't mention the custom ROM though, that would be silly.
hi
is there anyother way to fix it , rather go to htc care ?
drshail23 said:
hi
is there anyother way to fix it , rather go to htc care ?
Click to expand...
Click to collapse
What happen is the device formated the internal NAND memory so you now have no bootloader. With no bootloader your device can not boot or be flashed. The only fix I s to replace the mainboard or JTAG.
What about the unbricking project?
primekrieger said:
What about the unbricking project?
Click to expand...
Click to collapse
It's not bricked, it's unuseable, send it to htc, and 99% you will get another one (or replaced motherboard). There is no way to see that you rooted or anything.
this is similar to my phone problem... I only clean the pin connector in phone and battery and expecially in the phone i push in and out the four pin connector and repeat that for some minutes ..... sorry for my bad english i hope you understand
look at this thread at post 5 and 6
http://forum.xda-developers.com/showthread.php?p=42186812#post42186812

[APP] swapsd beta: Samsung

Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well. Note: This app is not compatible with CyanogenMod. Root is required.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required. Easy install: copy the apk file to your SD card and open with a file manager.
Please nandroid backup before testing!
If you get "Unknown Error, Contact Developer" you are more than likely not properly rooted! This app requires Superuser and Busybox to properly function!
Please note that if you've already moved existing apps to SD or existing apps have placed support files on SD, swapping mount points is not a good idea. Uninstall these apps, then reinstall after swapping.
jocala said:
Tested on the Samsung Galaxy Exhibit only. If your device's /system/etc/vold.fstab file matches the attached fstab file, it may work for you as well.
Please nandroid backup before testing!
Click to expand...
Click to collapse
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Works on any rom?
Sent from my GT-I8150 using xda premium
willynatedgreat said:
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
Click to expand...
Click to collapse
The Galaxy Exhibit 4G was formerly known as the Exhibit II 4G
mosta_9741 said:
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Click to expand...
Click to collapse
The fstab.txt is the original from the Galaxy Exhibit. It's attached so you can compare it to the /system/etc/vold.fstab on your phone. If the two match, this app may work for you.
Karmalot said:
Works on any rom?
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
So far.
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Pkt_Lnt said:
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Click to expand...
Click to collapse
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
jocala said:
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
Click to expand...
Click to collapse
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
sd/swap beta
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
Click to expand...
Click to collapse
The swapsd.apk in this thread is the app. Disregard any links to zips, they are outdated.
roto rooter said:
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Click to expand...
Click to collapse
I've attached a screenshot to the OP, hopefully that will help. It's pretty simple:
Root is required. Run the app, you'll see four buttons, Help, Default, Swap, Reboot.
To swap sd and external_sd press Swap.
To return to default, press Default.
Once you press either of the buttons above, press Reboot.
For instructions, press Help.
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
Click to expand...
Click to collapse
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
jocala said:
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
Click to expand...
Click to collapse
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Pkt_Lnt said:
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Click to expand...
Click to collapse
Glad it worked out for you. Good luck with your Galaxy Exhibit
jocala said:
Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required.
Please nandroid backup before testing!
Click to expand...
Click to collapse
How to change the file?
Many thanks
NOLAchick said:
How to change the file?
Many thanks
Click to expand...
Click to collapse
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Pkt_Lnt said:
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Click to expand...
Click to collapse
That's the big question....for us noobies
Tanks though...
NOLAchick said:
That's the big question....for us noobies
Tanks though...
Click to expand...
Click to collapse
Copy the file to your SD card. Open it in your file manager.

SDCard and SDCard-ext wrong location

I just installed a new ROM and the SDCARD and SDCard-ext are in the wrong location. They are listed under the root director ( / ) and /storage instead of under /mnt/sdcard
Does it work? You could create a symlink. If that fixed it, put it in a script on bootup.
post-mortem said:
Does it work? You could create a symlink. If that fixed it, put it in a script on bootup.
Click to expand...
Click to collapse
Does it work is a relative question. (wasn't meant to sound wise-a$$). I can access them, but apps do not see them at all. They are looking for the cards in /mnt therefor not finding them.
I changed them in /system/etc/vold.fstab but now it won't boot. The not booting is not an issue, I can fix that, but I don't know how to fix these incorrect paths/
No one else who's using this ROM is having these problems? I say either reflash, create symlinks, or choose another ROM.
post-mortem said:
No one else who's using this ROM is having these problems? I say either reflash, create symlinks, or choose another ROM.
Click to expand...
Click to collapse
Not sure if anyone else is running it. Haven't been able to find a thread on here for it. How do you do symlinks?
mikemikemikexxx said:
Not sure if anyone else is running it. Haven't been able to find a thread on here for it. How do you do symlinks?
Click to expand...
Click to collapse
ln -s target shortcut
See a bit more here.
Make a script in your /system/etc/init.d directory, so these links will be created on every boot.
post-mortem said:
ln -s target shortcut
See a bit more here.
Make a script in your /system/etc/init.d directory, so these links will be created on every boot.
Click to expand...
Click to collapse
From what I have read you cannot use them on FAT.
Why does editing this file not work? I fail to see how Android could do anything other than read the file, provided permissions are the same.
mikemikemikexxx said:
From what I have read you cannot use them on FAT.
Why does editing this file not work? I fail to see how Android could do anything other than read the file, provided permissions are the same.
Click to expand...
Click to collapse
The internal memory is not FAT; typically, only the 1st partition on the SD card is FAT, everything else should be EXT. So, executing ln -s /storage /sd-ext should work (or wherever it's currently being mounted).
post-mortem said:
The internal memory is not FAT; typically, only the 1st partition on the SD card is FAT, everything else should be EXT. So, executing ln -s /storage /sd-ext should work (or wherever it's currently being mounted).
Click to expand...
Click to collapse
I meant the card but ln is not working.
One more thing I am going to try is an ADB pull and push. If that doesn't work I really need some community support.
bump to the front.
Are my questions that complex or that dumb that I get so few replays? /bump
Sent from my XT875 using xda app-developers app
Is there a good reason that you don't want to use another ROM?
Mainly speed and compatibility. I need the offline commands only available in JB. Stock ROM is dead slow and is only ICS. Other custom ROMs were also on the slow side and/or battery hogs.
Sent from my XT875 using xda app-developers app
So, is this right?
FAT partition is currently being mounted as /storage
EXT partition is currently being mounted as /mnt/sdcard
post-mortem said:
So, is this right?
FAT partition is currently being mounted as /storage
EXT partition is currently being mounted as /mnt/sdcard
Click to expand...
Click to collapse
Well the way my phone is laid out is
System (I assume too large so they split it in two which resulted in the below SD-Card)
SD-Card
SD-Card EXT (The actual SD Card) - FAT32
I assume the System and SD-Card are standard Android partition format.
Do you use a file manager on the phone, such as ES File Explorer? Are you familiar with using adb?
Edit: Basically, I'm trying to figure out the exact path of the mounted partitions, and where they're supposed to be mounted.
post-mortem said:
Do you use a file manager on the phone, such as ES File Explorer? Are you familiar with using adb?
Edit: Basically, I'm trying to figure out the exact path of the mounted partitions, and where they're supposed to be mounted.
Click to expand...
Click to collapse
They are 100% supposed to be mounted under: /mnt/sdcard and /mnt/sdcard-ext
Right now they are mounting to: /storage/sdcard and /storage/sdcard-ext
There is also an entry in under root ( /sdcard and /sdcard-ext --- For these two I am booting into stock ROM to see if they are suppose to be directly in root as well, will post up when I know)
Check the scripts in your init.d to see if one of them is mounting the sd partitions under /storage.
I suppose you could also try booting without the sd card in place, and see if those /storage directories still exist. Not sure how much that will tell you, though.
post-mortem said:
Check the scripts in your init.d to see if one of them is mounting the sd partitions under /storage.
I suppose you could also try booting without the sd card in place, and see if those /storage directories still exist. Not sure how much that will tell you, though.
Click to expand...
Click to collapse
The init.d for sure says to load sdcards to /storage . (on this particular ROM only)
I will try without the sdcard as you suggested and let you know. Battery died on me, phone won't boot even when plugged in until at least 10%.
Which script is mounting the sd card to /storage? Is it part of the ROM, or is it something which the dev included in this ROM? I ask in case the ROM expects the sd card to be mounted there.
Regardless, try changing the script to link to /sdcard.

About xperia E memory

After i buy xperia e dual(the 2sims), i notice that this phone has phone memory 738mb, internal storage 2.01gb, and my sd 7.28gb(8gb).
The question is, can i put the games data file in the sd card? Because when i connect to pc, the internal and sd card will appear,
I test the tapsonic games and it dont work with the data file in sd card, but when i put in the internal the games works, but my internal only 2gb, it mean i cannot have many games =(
Any solutions?
Sent from my R800i using xda app-developers app
i can just. tell you the keywords:
all you need just Root + Directory Bind app...
thats it, you can use your search engine from now on....
Regard,
You should try vold.fstab method instead. Its kinda smaller since im also using link2sd on my 16gb class 6. The phone memory goes over that limit because of link2sd hehe.
Paradox ST21i
zzztidurvirus said:
You should try vold.fstab method instead. Its kinda smaller since im also using link2sd on my 16gb class 6. The phone memory goes over that limit because of link2sd hehe.
Paradox ST21i
Click to expand...
Click to collapse
Ade link tak? Hehe
Sent from my R800i using xda app-developers app
blackbox92 said:
Ade link tak? Hehe
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
coba ini
http://forum.xda-developers.com/showpost.php?p=41660896&postcount=14
yayakuya said:
coba ini
http://forum.xda-developers.com/showpost.php?p=41660896&postcount=14
Click to expand...
Click to collapse
just flash zip itu sahaja k mcm mana?
kene root jgak la kalu nk flash .zip nye, betol x? =)
blackbox92 said:
just flash zip itu sahaja k mcm mana?
kene root jgak la kalu nk flash .zip nye, betol x? =)
Click to expand...
Click to collapse
no, its not flashable zip. you must extract it > take that vold.fstab then replace the original one... (do a backup for it/ copy your original vold.fstab onto your sdcard)
after replace, change permission to rw-r-r-- and owner to root-root, reboot your phone n enjoy
ps: are you rooted already? its need root privilege to do it....
yayakuya said:
no, its not flashable zip. you must extract it > take that vold.fstab then replace the original one... (do a backup for it/ copy your original vold.fstab onto your sdcard)
after replace, change permission to rw-r-r-- and owner to root-root, reboot your phone n enjoy
ps: are you rooted already? its need root privilege to do it....
Click to expand...
Click to collapse
not yet.
ok, i get the idea,
tq btw, i will do it. cannot do it now because got slow internet.
blackbox92 said:
not yet.
ok, i get the idea,
tq btw, i will do it. cannot do it now because got slow internet.
Click to expand...
Click to collapse
You can just edit that file yourself. Search /mnt/sdcard and edit it.
Paradox ST21i
zzztidurvirus said:
You can just edit that file yourself. Search /mnt/sdcard and edit it.
Paradox ST21i
Click to expand...
Click to collapse
the file is root /system/etc isnt?
i already copy and paste there,
but not working,
how to do it manually btw?
blackbox92 said:
the file is root /system/etc isnt?
i already copy and paste there,
but not working,
how to do it manually btw?
Click to expand...
Click to collapse
Oh, sry. It can be found in /system/etc. Permission set to 0644 (rw-r-r)
X-x-o
X-o-o
X-o-o
Find the word: dev_mount sdcard /mnt/sdcard and change it to dev_mount sdcard /mnt/ext_card (check your ext_card location, this is tipo stock)
Sent from My Awesome Paradox ST21i
Which line to edit?
Sent from my R800i using Tapatalk 2
What do you see here? Its xplore file manager. Theres this storage0 (yours), sdcard and also ext_card. You need real location and real mount points. The typical for tipo and e dual (stock) is /mnt/sdcard and /mnt/ext_card. Did you do something to it?
Sent from My Awesome Paradox ST21i
zzztidurvirus said:
What do you see here? Its xplore file manager. Theres this storage0 (yours), sdcard and also ext_card. You need real location and real mount points. The typical for tipo and e dual (stock) is /mnt/sdcard and /mnt/ext_card. Did you do something to it?
Sent from My Awesome Paradox ST21i
Click to expand...
Click to collapse
So /mnt/sdcard and /mnt/ext_card? I will paste at both, and tell u the result.
Sent from my R800i using Tapatalk 2
No. Not paste the vold file. I mean is, can you access your data from these 2 locations, where sdcard is the 2gb internal and ext_card is microsd. The vold.fstab mod switches these locations.
Sent from My Awesome Paradox ST21i
Yes i can, both is in /mnt/
Then what i need to do?
Sent from my R800i using Tapatalk 2
Okay. Good. Edit the vold.fstab via text editor. Then just switch the two. Before: dev_mount sdcard /mnt/sdcard and dev_mount ext_card /mnt/ext_card After: dev_mount sdcard /mnt/ext_card and dev_mount ext_card /mnt/sdcard --- set permissions and restart.
Sent from My Awesome Paradox ST21i
I already did it, and everytime i swap the line or using your script my phone lose access to my external sd card, lucky i got backup.
If u see, the script in my vold.fstab is kinda different with your,
See this,
Sent from my R800i using Tapatalk 2
blackbox92 said:
I already did it, and everytime i swap the line or using your script my phone lose access to my external sd card, lucky i got backup.
If u see, the script in my vold.fstab is kinda different with your,
See this,
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
Okay. Do you have this /storage/sdcard0 folder? Because e dual stock jb uses the same format, /mnt . Also, you got 3 dev_mount. Are you on stock e dual?
Sent from My Awesome Paradox ST21i
Yes i am on stock e dual. And i dont have the folder sdcard0
Sent from my R800i using Tapatalk 2

Categories

Resources