Mounting SDCARD as sdcard0 - Sony Xperia M

Is it possible to swap the sdcard-mounts?
ext-sdcard = sdcard0
internal storage = sdcard1
It's annoying coming from an older device and all images aren't loaded -.-
Already tried some steps via adb, but it's impossible to umount sdcard1, but I am working on it. Maybe I make a script.
Any cool ideas?

kony1994 said:
Is it possible to swap the sdcard-mounts?
ext-sdcard = sdcard0
internal storage = sdcard1
It's annoying coming from an older device and all images aren't loaded -.-
Already tried some steps via adb, but it's impossible to umount sdcard1, but I am working on it. Maybe I make a script.
Any cool ideas?
Click to expand...
Click to collapse
if u r having xperia M ...then there is already two types of swapping for it..search in Xperia M android Development
one has the swapping like u said and another has swapping with data from playstore saved in sdcard1 [default it will go to sdcard0]
but if u r using M dual..i think u need to find a way..

Related

[How to] Alternative solutions to swapping for GAMERS!!

Hi all,
I found that some of the SGW users are wondering whether they should swap internal/external sd card as their internal sd card is full with awesome GAMES data.
Here i will provide three ways to give ur SGW more space for gaming. Strictly for root users only.
Internal/External swapping
This mod will swap ur internal sd with external sd. Before swapping, backup the data on both sd cards to ur pc and manually "swap" the data from each other.
Then download and extract the vold.fstab from the attachment replace the one under /system/etc by using root explorer. Then reboot and enjoy.
Mounting script
If u want to store and run game data from external sd without swapping. Mounting script is a good solution to it.
This script will mount the game data path to your external sd. In other word, it tricked ur device for redirecting the games to load data from external sd instead of internal sd.
What u need are
Script Manager - download from market for free [https://play.google.com/store/apps/details?id=os.tools.scriptmanager&feature=search_result#?t=W251bGwsMSwxLDEsIm9zLnRvb2xzLnNjcmlwdG1hbmFnZXIiXQ..
mounting script
Create a new script file in Script manager and type the following:
(I used the Android folder as example)
Code:
mount -o bind sdcard/external_sd/Android sdcard/Android
This is for gameloft
Code:
mount -o bind sdcard/external_sd/gameloft sdcard/gameloft
After creating these, u need to cut the files in Android or gameloft from internal sdcard and paste them to the new location on external sd. Leave the original folders empty.
Remember to set them "boot" and "su" and SAVE in script manager. Reboot.
Alternatively, u can use the one I provided or create it by ur own. Extract the MOUNT external.zip and put it into ur sd card. Open it in script manager and select "boot" and "su" then save. Reboot.
If ur ROM is init.d autorun supported, just simply put the mounting script into the /system/etc/init.d folder.
Directory Bind tool
This is an apk created by one of our forum members, slig. This is based on the the same mounting script method. U can use it for simplicity. All credits go to the creator.
Link: http://forum.xda-developers.com/showpost.php?p=20668905&postcount=1
GL to SD
This apps created by tnslf2k is similar to the script I made and it is user-friendly. U can download it from https://play.google.com/store/apps/details?id=com.slf.ListglApp&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5zbGYuTGlzdGdsQXBwIl0.
For more details, see http://forum.xda-developers.com/showpost.php?p=18949753&postcount=1
That's all. Choose a way and play ur games~~!!
i made an second partition on my sd card with easeus (ext2) primary.
Now i use link2sd and everything i download is automaticly linked to my sd card.
So my internal space never get's full.
diederikmo said:
i made an second partition on my sd card with easeus (ext2) primary.
Now i use link2sd and everything i download is automaticly linked to my sd card.
So my internal space never get's full.
Click to expand...
Click to collapse
Yup, the option 2 (mounting script) gives the same effect.
regarding option 2, where should i place the script? thanks
vanir29 said:
regarding option 2, where should i place the script? thanks
Click to expand...
Click to collapse
U can put in under ur internal sd card.
yewsiong said:
U can put in under ur internal sd card.
Click to expand...
Click to collapse
thanks , i thought it should be placed in the folder where u cut the files , btw does this only work for files (saved files) what about apk? i mean in \data\app folder all the apk of the apps that i installed is there, can i use this script so that i can move my apk files? or this script only works with saved files? thanks again
vanir29 said:
thanks , i thought it should be placed in the folder where u cut the files , btw does this only work for files (saved files) what about apk? i mean in \data\app folder all the apk of the apps that i installed is there, can i use this script so that i can move my apk files? or this script only works with saved files? thanks again
Click to expand...
Click to collapse
Theoretically, it should work but I have never tried before. If u don't mind doing this experiment, please tell me the result. I am not very free to play with SGW now. Dealing with galaxy ACE at this moment.
i used the "Directory Bind" tools since 3 days ago, and it's works like a charm in my SGW untill now..
http://forum.xda-developers.com/showthread.php?t=1410262&highlight=directory+bind
yewsiong said:
Theoretically, it should work but I have never tried before. If u don't mind doing this experiment, please tell me the result. I am not very free to play with SGW now. Dealing with galaxy ACE at this moment.
Click to expand...
Click to collapse
ive tried it, but it didnt work, im using bionic2 so my internal/external is already swapped, but i want my system storage to have more free space that's why i want to move the apk's of my installed apps, here the script i made: "mount -o bind sdcard/data_app data/app" (without the quote), i moved all my apk files from data/app to sdcard/data_app after i moved it all, obviously my root explorer and script manager wont open that's why reinstalled them, ive set the script to root and boot, but before i reboot, ive ran the script and try to open some apps, it opened so i think it work, after i reboot all the apps that i moved are gone but when i go to data/app i can see all the apk files of my apps there (looks like the script works), but i dont know what the problem is, can u help me on this? or it isnt possible? and let me ask some question, in application menu, there is an option that says "move to sd card", after i press it, when i go to data/app folder, the apk of the app that i moved is not there (obviously) and it can be found in mnt/asec folder, but i cant find it in my sdcard (which is the 1.7gb because its swap), can u tell me where can i find it? many THANKS
bengonk said:
i used the "Directory Bind" tools since 3 days ago, and it's works like a charm in my SGW untill now..
http://forum.xda-developers.com/showthread.php?t=1410262&highlight=directory+bind
Click to expand...
Click to collapse
It is using the same working principle, i.e. bind command.
vanir29 said:
ive tried it, but it didnt work, im using bionic2 so my internal/external is already swapped, but i want my system storage to have more free space that's why i want to move the apk's of my installed apps, here the script i made: "mount -o bind sdcard/data_app data/app" (without the quote), i moved all my apk files from data/app to sdcard/data_app after i moved it all, obviously my root explorer and script manager wont open that's why reinstalled them, ive set the script to root and boot, but before i reboot, ive ran the script and try to open some apps, it opened so i think it work, after i reboot all the apps that i moved are gone but when i go to data/app i can see all the apk files of my apps there (looks like the script works), but i dont know what the problem is, can u help me on this? or it isnt possible? and let me ask some question, in application menu, there is an option that says "move to sd card", after i press it, when i go to data/app folder, the apk of the app that i moved is not there (obviously) and it can be found in mnt/asec folder, but i cant find it in my sdcard (which is the 1.7gb because its swap), can u tell me where can i find it? many THANKS
Click to expand...
Click to collapse
Code:
"mount -o bind sdcard/data_app data/app"
May I know the location of data/app? if it is on ur external sd, it should be
Code:
"mount -o bind sdcard/data_app sdcard/external_sd/data/app"
If u got swapped ur internal/external sd, this script is not needed since all the apps+data u installed into "phone memory" will be in ur external sd. If u try to move the apps to sd card again, it should go back to ur 1.7gb internal sd card.
FYI, system storage is where ur ROM stored and it is fixed (~550Mb) as it can't be swapped. So all system apps will be kept there.
For normal non-swapped ROM, APP to SD can serve the purpose of moving apps from system storage to internal sd (1.7Gb)
yewsiong said:
Code:
"mount -o bind sdcard/data_app data/app"
May I know the location of data/app? if it is on ur external sd, it should be
Code:
"mount -o bind sdcard/data_app sdcard/external_sd/data/app"
If u got swapped ur internal/external sd, this script is not needed since all the apps+data u installed into "phone memory" will be in ur external sd. If u try to move the apps to sd card again, it should go back to ur 1.7gb internal sd card.
FYI, system storage is where ur ROM stored and it is fixed (~550Mb) as it can't be swapped. So all system apps will be kept there.
For normal non-swapped ROM, APP to SD can serve the purpose of moving apps from system storage to internal sd (1.7Gb)
Click to expand...
Click to collapse
data/app folder is in the root of the phone, that's why i use this script "mount -o bind sdcard/data_app data/app" what im trying to do is to get more space for system storage, and i think it is 1.07GB, when u go to task manager under storage tab, thanks for ur patience
vanir29 said:
data/app folder is in the root of the phone, that's why i use this script "mount -o bind sdcard/data_app data/app" what im trying to do is to get more space for system storage, and i think it is 1.07GB, when u go to task manager under storage tab, thanks for ur patience
Click to expand...
Click to collapse
Ok~ I got it. data/app is under system storage. Maybe u can try APP2SD to move them into ur external_sd (which is ur sdcard in this case)
yewsiong said:
Ok~ I got it. data/app is under system storage. Maybe u can try APP2SD to move them into ur external_sd (which is ur sdcard in this case)
Click to expand...
Click to collapse
ok, thanks
is the 1st option safe for SGW with rio saputro blacknotes gen2 ?
chocolemon said:
is the 1st option safe for SGW with rio saputro blacknotes gen2 ?
Click to expand...
Click to collapse
Not try yet. It works with Cow V7 so it should be working with Hybrid 2nd gen too.
how about option 3? i think its the easiest way...
anyone tried GL to SD app?
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,? and also > . < why my galaxy W having only 350mb+ RAM ( i seen on my task manager ) it must be 512mb right.? > , < thanks and srry for newbie question.
jomz878 said:
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,?
Click to expand...
Click to collapse
no, in option 2&3, the apk and sd files are automatically saved first to usb storage or internal sd. Option 2&3 is for moving the games only saved at usb storage.
jomz878 said:
Hi Me can ask a newbie question > , < what if my galaxy W internal storage is full.? the apk or something will install direct to SD card ,? and also > . < why my galaxy W having only 350mb+ RAM ( i seen on my task manager ) it must be 512mb right.? > , < thanks and srry for newbie question.
Click to expand...
Click to collapse
First thing, ur sgw must be rooted to use these. To move apps from internal storage to external sd, u can use app2sd.
Secondly, 512mb is the total ram for our device. but part of it will be reserved for running the android system. 350mb is the available ram for u to use.

External SD CWM backup?

Hi guys,
I have my clockwork mod folder on my external SanDisk 16gb sdhc...does anyone know how to be able to restore this way? Does the backup have to be on internal storage? I don't see a "mount ext sd" option in mounts...
While I'm asking this..
When you move apps to external do they no longer show up in your app drawer...? I'm using go launcher but it seems they disappear when I move them to external sd card.
Sent from my SAMSUNG-SGH-I927R using xda premium
I would like to know about using the external sd card for cwm instead of internal as well....
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
dudejb said:
by default from what I read CWM uses the internal SD card but I believe I heard some people mentioning on the forums that you can modify something in the kernel or a config file somewhere to change this. Unfortunately I do not know how sorry.
Click to expand...
Click to collapse
Ive looked through every kernel thread and just about every rom thread and dont see anything about being able to switch it over to using your external sd card for backups....it sux but guess its not possible yet
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
romanr said:
Can you please mount external sdcard instead of internal one.
/etc/fstab:
Code:
#/dev/block/mmcblk0p4 /sdcard vfat rw
/dev/block/mmcblk1p1 /sdcard vfat rw
Click to expand...
Click to collapse
then he says he did it like this below:
romanr said:
Thanks, but not needed. I swapped my internal/external storage and this recovery now perfectly fits for me - my .android_secure is backed up by backup tool now - that's only why I asked.
How about adding
Code:
/dev/block/mmcblk1p1 /sdcard/external_sd vfat rw
/dev/block/mmcblk1p2 /sd-ext ext4 rw
to the fstab ?
Click to expand...
Click to collapse
This may do what you want?
dudejb said:
There is a few posts in the CWM thread that talk about swapping the internal SD for the External SD.
then he says he did it like this below:
This may do what you want?
Click to expand...
Click to collapse
Ill have to give it a try, kinda scared too cuz im a noob at that kinda stuff but i appreciate the help!
ok so im using root explorer, opened up the fstab file to edit and am stuck there, not really sure where to add those commands at...i think it would just be easier to leave it on internal storage lol
Yes it would be easier to leave it as it is. Lol. I have modified the fstab in Linux but not on my phone. If it is the same type of file you need to make sure you are opening it as root and there should already be a line with your current file system being mapped and simply replace it with the new line.

SwapSD: beta testers needed

http://forum.xda-developers.com/showpost.php?p=28419837&postcount=1
I think this app will work on the W, but I don't have one to test with.
Thanks!
Note: Not for CyangenMod or RebelROM. Stock-based ROMs only.
Work fine .
bangprovn said:
Work fine .
Click to expand...
Click to collapse
Thanks for testing!
What does SwapSD do ?
Dwama said:
What does SwapSD do ?
Click to expand...
Click to collapse
Full detail in the OP's link, but it switches sdcard & external_sd.
jocala said:
Full detail in the OP's link, but it switches sdcard & external_sd.
Click to expand...
Click to collapse
I already applied old "manual" method.. is this reversible?
I mean, can swap between memories multiple times?
thanx!
spino1970 said:
I already applied old "manual" method.. is this reversible?
I mean, can swap between memories multiple times?
thanx!
Click to expand...
Click to collapse
Yep. Going back and forth is np.
This is not optimized for ics I guess? My CM9 wonder soft bricked when I tried it!
Sent from my GT-I8150 using xda app-developers app
Gary122 said:
This is not optimized for ics I guess? My CM9 wonder soft bricked when I tried it!
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
I was just about to post this LOL!.
I also got soft-bricked
cyyong95 said:
I was just about to post this LOL!.
I also got soft-bricked
Click to expand...
Click to collapse
Sorry you guys got bit. Cyanogenmod has a built-in routine to manage storage, so this is for stock roms. But what do you mean by soft-brick?
I've added a note to the link's OP warning about cm9. Below you'll see cm9's vold.fstab; it's quite different from a stock Samsung. From the instructions:
If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
Click to expand...
Click to collapse
Code:
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
dev_mount sdcard /mnt/sdcard 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# externel sdcard
dev_mount emmc /mnt/emmc auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
Your original vold.fstab was saved when the app first runs. You can rename the backup and reboot to recover from any problem.
I tried this and it says that my 32gb sd card is usb storage. Is there a way to make it system memory? When i did this it gave me less system memory and made my usb storage huge. I would rather have more system memory than usb storage.
PSG4m3r said:
I tried this and it says that my 32gb sd card is usb storage. Is there a way to make it system memory? When i did this it gave me less system memory and made my usb storage huge. I would rather have more system memory than usb storage.
Click to expand...
Click to collapse
This app will not make your external_sd system memory. It swaps sdcard and external_sd as mount points.
jocala said:
This app will not make your external_sd system memory. It swaps sdcard and external_sd as mount points.
Click to expand...
Click to collapse
So will all my downloads and apps go onto the external sd rather than system memory?
worked fine on my stock rooted 2.3.6. thanks. if I chose to swap manually I presume I could simply over write my existing vold.fstab with your vold.fstab.swap (renamed to vold.fstab)?
jamesg302 said:
worked fine on my stock rooted 2.3.6. thanks. if I chose to swap manually I presume I could simply over write my existing vold.fstab with your vold.fstab.swap (renamed to vold.fstab)?
Click to expand...
Click to collapse
Yep.
PSG4m3r said:
So will all my downloads and apps go onto the external sd rather than system memory?
Click to expand...
Click to collapse
Anything that installs to /sdcard/ will instead go to external_sd if you do the swap.

Dead Internal SD Solution Galaxy S

Fully working Samsung Galaxy S - Using 16GB External Micro SD to run OS and function as External SD!!
Ok so to set the scene I will quickly explain the issue I had with my Samasung Galaxy S.
One day it worked....
Next day it didn't...from then on it would only boot to first screen then continually repeat this step.....
After day two of having no luck at fixing the issue I got an S3...great phone!
BUT DONT GIVE UP JUST YET! It can be fixed!!!
Overall I think I would have spent somewhere in the ballpark of about 40 hours trying to fix the Galaxy S...stubborn? Yes....and my Galaxy S was such a good phone I hated the idea of binning it.
I wont waste your time listing the hundreds of methods I tried or posts I read, but in the end all things pointed to a dead internal SD.
I should be able to run the OS off an external SD... shouldn't I? The answer is Yes!
Many hours were spent on this stage and for about a week I had a working pone with OS running on External SD, but no access to the camera or anything which required an external SD.
I now have a perfectly working phone, using a 16gb External SD to run the OS and remaining space on it recognised as the external SD.
I can't promise this will work for everyone but here is the last of WAY TO MANY methods I used which completely solved this problem for me.
Let me know if this works for you & GOOD LUCK!
Step 1:
Your phone must be rooted!
The best, easiest and only way I was able to do it is with the following guide, big thank you to the person who put it up. As my Internal SD was dead! my external SD was to be my new internal SD...so the standard add to zip method for rooting on external SD... would obviously not work for me! yes I worded that perfectly!
BIG IMPORTANT NOTE IN CAPITAL LETTERS! - Make sure you have your external SD inserted during the below process!
http://forum.xda-developers.com/showthread.php?t=1852546
NOW! You should have your phone booting as it used to back in the good old days! However.....some of you wont...if this is the case please follow Step 1B.
Step 1B:
If the above did not work for you then you need a way to connect your Micro SD to your PC (I did this using a USB adaptor).
1. Download and install EaseUS partition master
2. Insert Micro SD in PC
3. EaseUS partition master
4. Wipe all partitions/data.
5. Create EXT4 partition approx 2gb
6. Create FAT32 partition with remaining space.
7. Remove battery from phone
8. Insert SD, Battery back in.
9. Turn on, you should have your phone booting as it used to back in the good old days!
IF NOT THEN.....Start with Step 1B then do Step1 then if all looking as it should move to step 2. If not...sorry...I have failed you!
Step 2:
You phone should now have booted like the good old days....but if you go into SD/Storage on android OS, you will notice it does not recognise the remaining space on the External SD as an external SD...it must be very confusing for the green robot!
So next steps as follows!
1. Install script manager app and mount r/w app from Google Play (market)
2. Use mount r/w to Mount the system partition in r/w mode.
3. Browse using script manager app as root (change setting in config).
4. Go to /system/etc folder and change file permission for vold.fstab to rwxrwxrwx (This means tick all the 9 boxes on the left not the 3 on the right.....such a technical explanation)
5. Then edit the vold.fstab file as text and change the following
Change:
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc2
Change:
s3c-sdhci.0
to
s3c-sdhci.2
Change:
mmc0
to
mmc2
Save the file and reboot the phone!
If all has gone well then your sdcard partition will be mounted and old faithful is ready to ride once again!
I hope this worked for you, if it didn't...gutted and I guess you have moved onto the next post...good hunting!
Please note this solution was created from a pile of posts I trawled through to get a solution. The above vold.fstab solution was taken from the following post. Unfortunately this posts overall solution didn't work for me, but I would not have been able to mount remaining External SD Space as well...you know THE EXTERNAL SD! without his post, which is the best part!
http://forum.xda-developers.com/show....php?t=1193010
Thanks for this, I'm going to try this again. Finally a good explanation of what to do.
I posted a thread yesterday with, I think, the same problem. Could you take a look and see if I have the same problem as you did?
Thread: http://forum.xda-developers.com/showthread.php?t=1905284
EDIT
Does the EXT4 partition has to be the first and the FAT32 the second?
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
EDIT
Thanks in advance!
Good Luck!
Pindagus said:
Thanks for this, I'm going to try this again. Finally a good explanation of what to do.
I posted a thread yesterday with, I think, the same problem. Could you take a look and see if I have the same problem as you did?
Thread: http://forum.xda-developers.com/showthread.php?t=1905284
EDIT
Does the EXT4 partition has to be the first and the FAT32 the second?
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
EDIT
Thanks in advance!
Click to expand...
Click to collapse
Does the EXT4 partition has to be the first and the FAT32 the second?
do EXT4 first, make both as primary partitions (NOT logical..probably obvious but just spelling it out )
If so, isn't it a problem that windows can't read the FAT32 partition. In case I need to drop files on it? (because it only reads the first)
with the method I used above you shouldnt need to drop any files on, let me know.
Quite similar except I couldnt acces my internal SD at all, let me know how you go!
Same issue ?
Hi,
My friend has Galaxy S, And he has similar issue. For him phone boots till splash screen and then reboots on its own.
He was able to go to recovery mode/wipe data/cache partitions etc. He was also able to go to download mode.
But he didn't try flashing custom ROM or anything instead he gave it to Samsung service center where they told him that his Motherboard has gone for toss and need to replace complete MOBO which would cost $110 (6K INR).
Though i didnt get time to check his cell myself i guess it is because of internal SD card has gone. Because he was telling in recovery page it was showing some mount error (not sure if it was internal or external SD card). If that is the case i can try this method to run OS from external SD card .
I have two questions here.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Thanks
Exactly the same issue! MOBO i doubt it!
happy20b said:
Hi,
My friend has Galaxy S, And he has similar issue. For him phone boots till splash screen and then reboots on its own.
He was able to go to recovery mode/wipe data/cache partitions etc. He was also able to go to download mode.
But he didn't try flashing custom ROM or anything instead he gave it to Samsung service center where they told him that his Motherboard has gone for toss and need to replace complete MOBO which would cost $110 (6K INR).
Though i didnt get time to check his cell myself i guess it is because of internal SD card has gone. Because he was telling in recovery page it was showing some mount error (not sure if it was internal or external SD card). If that is the case i can try this method to run OS from external SD card .
I have two questions here.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Thanks
Click to expand...
Click to collapse
That is exactly the same situation my phone was in, exactly.
I highly doubt there was any issue with the motherboard, as I understand it the internal SD is hard wired on the MOBO which is probably why they said to replace it as one piece.
1] If MOBO was gone (like samsung service guy told) would it still boot at first place ? or even if it boots would it go to recovery or download mode ?
As above! As i understand it it would not go into either mode if MOBO was fried, doubt you would get any response at all.
2] Where exactly Recovery image is stored ? internal SD or in some other memory ?
Il get back to you on this one
Same issue ?
--- deleted double post ------
Dead Internal SD Solution Galaxy S - HELP
reganstott,
First of all thank you for the hope.
1 - Your step 1, the link provided doesn't work (http://forum.xda-developers.com/show....php?t=1852546)
is there another link available?
In what step I ACTUALLY install the OS on the EXTERNAL SD, just asking to get the whole pic.
Is it possible, in order to just test it, use a 2GB SD card?
thanks
It seems to work, I only have to do a mount switch now.
The only thing is; I had the EXT4 (2GB) as first partition and FAT32 (5GB) as second, but now if I connect to my PC it sees only 2GB storage of FAT32. So I guess I have to switch them?
I'm going to try again and then do the mount switch.
EDIT
Confirmed this is working, running on CyanogenMod 9.1.0 right now.
I thank you really reaally much! I almost gave up, but luckily I saw your post in time.
Thanks!
help please
Hello,
I guess I have the same problem and wanted to know if you have to CORRECT links to the files
needed to do this.
thanks
p.s.
maybe a short EXTRA explanation on how you did it may help.
DannyBrazil said:
Hello,
I guess I have the same problem and wanted to know if you have to CORRECT links to the files
needed to do this.
thanks
p.s.
maybe a short EXTRA explanation on how you did it may help.
Click to expand...
Click to collapse
Just follow the steps, in case it is still unclear here exactly what I did;
Needed
microSDcard
Step 1
1. Wipe your external SD card and create 2 partitions; first one FAT32, second one EXT4 (about 2GB). Both has to be primary (not local)
I did this with Minitool Partition Wizard
2. Insert the SD card into your phone and install firmware from point 2: http://forum.xda-developers.com/showthread.php?t=1852546
3. Install CF-Root link is also here: http://forum.xda-developers.com/showthread.php?t=1852546
4. Check if phone boots right (this goes slower than normal, so just wait)
5. If phone works right do Step 2 from first post
Step 2
My phone happened to have no Play Store after the root. If so, follow this step 2
1. Install this zip: will upload this file in a minute -> I can't post outside links yet -.-
This will to the mount swap (for firmware above)
OR
2. Install a root explorer APK through ADB and edit vold.fstab like Step 2 in first post
Now your phone has to be working. If not, check the steps and try again.
Otherwise your problem is others than ours.
p.s.
If you do flash another ROM don't forget to swap mounts! (edit /system/etc/vold.fstab in zip file from ROM)
Currently on Slimbean 2.5
Thank you
Hello,
First I want to thank you for the effort and time. I believe that my SGS has a very similar problem.
I try to flash it with many ROMS, uninstall the apps, but after reboot they always come back and I get TONS os FORCE CLOSES.
Can't Install new apps, so I guess the internal SD is the problem.
The thing is that my SGS is a Brazilian model I9000b (with TV) just wanted to make sure if it changes anything from the
instructions you gave me.
(I don't need a working TV, so I don't care for another firmware)
thanks
---------- Post added at 09:49 AM ---------- Previous post was at 09:31 AM ----------
Just a question:
1 - I created 2 partitions on the EXTERNAL SD
2 - inserted the EXTERNAL SD into phone.
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
---------- Post added at 10:15 AM ---------- Previous post was at 09:49 AM ----------
when I try to apply the new ZIP from sd it doesn't recofnize the SD
actually it never did.
it is showing me the INTERNAL SD with all the folder of the apps I had, which I can't delete anymore.
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
I don't know how it works, but it does work.
when I try to apply the new ZIP from sd it doesn't recofnize the SD
Which ZIP do you mean? You only have to flash firmware and root through ODIN.
Great
Pindagus said:
It seems to work, I only have to do a mount switch now.
The only thing is; I had the EXT4 (2GB) as first partition and FAT32 (5GB) as second, but now if I connect to my PC it sees only 2GB storage of FAT32. So I guess I have to switch them?
I'm going to try again and then do the mount switch.
EDIT
Confirmed this is working, running on CyanogenMod 9.1.0 right now.
I thank you really reaally much! I almost gave up, but luckily I saw your post in time.
Thanks!
Click to expand...
Click to collapse
Not a problem, glad it worked for you too. Not sure why the step 1 link isn't working anymore. Anyone else reading this.... I will post soon with the method for step one rooting exercise. (to put a up a brief its just using the odin way of rooting to avoid the issue of not being able to use external sd add zip method)
Info
Hey there,
2 important questions:
1 - My SGS is the Brazilian model I9000B, does it make any difference?
2 - Can I use a 2GB EXTERNAL SD, or it MUST be more than this?
3 - Do I need to have any knowledge in LINUX?
thanks again.,
I have managed to get it all done, modded .fstab file before applying new rom but after applying the new rom and booting in, I get encryption unsuccessful. (CM9.1.0)
Is this unfortunately the end of what can be done?
Nope..
KiDCady said:
I have managed to get it all done, modded .fstab file before applying new rom but after applying the new rom and booting in, I get encryption unsuccessful. (CM9.1.0)
Is this unfortunately the end of what can be done?
Click to expand...
Click to collapse
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
reganstott said:
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
Click to expand...
Click to collapse
Thanks for getting back to me. I modded the rom to have the fstab use the correct settings but I still get the issue. I've tried with Darky and with CM.
Seems I will need to stay with jw4 and the app crashes until I get a new phone at the end of the year.
Pindagus said:
3 - on ODIN, how he knows to install the new firmware ON THE EXTERNAL SD rather that on the INTERNAL SD??
I don't know how it works, but it does work.
when I try to apply the new ZIP from sd it doesn't recofnize the SD
Which ZIP do you mean? You only have to flash firmware and root through ODIN.
Click to expand...
Click to collapse
Hello,
Does my phone have a dead Internal Storage ?
after i install any (stock) rom by odin , it shows up in recovery 3e:
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet, please UI menu for format and reboot actions
E:format_volume: rfs format failed on /dev/block/mmcblk0pk2
and i try to flash new rom in External SDcard following http://forum.xda-developers.com/showthread.php?t=1852546,
odin don't know what i want , it puts new rom in internal sd which was broken so above error display.
I have formated my external sd by MiniTool Partition Wizard Home Edition with 2gb ext4 and 5.592 gb fat32.
but same errors.
What should i do to flash rom in external sd.
sorry about my English , i'm not native speaker.
reganstott said:
If you use this method and then do a new rom...u have to do the whole process again...each time you put a new rom on you will need to change .fstab etc..
Click to expand...
Click to collapse
Do you mean that after the new rom is applied and I get encryption unsuccessful, i need to access the root of the phone somehow (presumably android commander or something similar) and change the fstab that way while it is powered on and stuck on the error message?
Or do I need to modify the zip file I want to apply before I apply it and then deploy it? If so, then I have already done this with no success.
Also, is there a way to ensure that messages and contacts don't get lost everytime the phone loses power?
vietanhnc said:
Hello,
Does my phone have a dead Internal Storage ?
after i install any (stock) rom by odin , it shows up in recovery 3e:
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet, please UI menu for format and reboot actions
E:format_volume: rfs format failed on /dev/block/mmcblk0pk2
and i try to flash new rom in External SDcard following http://forum.xda-developers.com/showthread.php?t=1852546,
odin don't know what i want , it puts new rom in internal sd which was broken so above error display.
I have formated my external sd by MiniTool Partition Wizard Home Edition with 2gb ext4 and 5.592 gb fat32.
but same errors.
What should i do to flash rom in external sd.
sorry about my English , i'm not native speaker.
Click to expand...
Click to collapse
Yes, means your internal storage is dead. My advice - if you can get it replaced thru warranty do that, otherwise buy one on Ebay with broken screen (or/and any other parts) but with working motherboard and swap it. Last option - sell your phone for parts and get a new one...

[Q] Moving apps to SD card android 4.3->

So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
leripe said:
So what I have gathered is that this phone even with root/cmod/titanium backup doesn't allow me to move apps to my _real_ sdcard. So is it really phone related or is there a way to do it with custom rom/kernel or some other way?
Click to expand...
Click to collapse
on stock android 4.2 u could actually use app2sd to move some apps to external storage
using Cyanogenmode 4.3 based Carbon MOD i found that i no longer can do that, tried app2sd and link2sd
i read somewhere that external storage is defined in system PATH variables, dont know how relevant that is but seems connected
but i honestly dont know yet much about the android platform to fix this issue myself, so i might be wrong
we need some pro tip help
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
tesme33 said:
Would be very interesting to habe feature. Especially for phones with only 8 GB internal flash. Hope this will come for my s4 Mini. Samsung has this implemented in their stock Rom.
Gesendet von meinem GT-I9195 mit Tapatalk
Click to expand...
Click to collapse
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cwm and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature.
Edit:
All of the above may not be like that nowadays, and this is somewhat speculation since there hasn't(?) been an official statement from cm about app2sd support. Though emulated sdcard may require something different.
(edited 19.2.2014)
Moving apps to external card.
leripe said:
Yes this would be awesome, but seems that cmod has gone moneymaking company and tries to make cmod to google standards which means they have been starting to remove/hiding features. Their goal now is to make installing cmod without cmw and to remove root or have it as optional feature. Or all this is what I gathered over the net, but I still hope some other custom rom could have this feature. This feature may only need one to repartition the sdcard, but I can't get it to mount as mass storage nor with sdcard reader(it shows "empty" card) in windows(maybe i should try it in linux).
Click to expand...
Click to collapse
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Kingsman1 said:
About two months ago I upgraded my Xoom to JB 4.2.2, and because space was limited, I hadn't noticed whether I could move operating programs to the external card or not. This was a custom rom. Well, I was using a 32 Gig card that was nearly full of data.
This last week, I invested in a 64 Gig sdhc card and upgraded my rom to Kit-Kat 4.4.2. Thus its also a custom rom, but now I find that though, for the most part, I can designate the external card to store and access data from, I can't run programs from it. Hmm!
Here I am with all this memory. Sure wish I had better management options.
Click to expand...
Click to collapse
Well check my thread on my signature and the requests section in the 1st post for more info on about app2sd.
Resolve the issue
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
dlightx said:
Hi all,,,
This is my first time in XDA. Someone fixed this bug for me. You need to be rooted to fix this issue. Install from market Terminal Emulator and type the following commands
su
/system/bin/restorecon -R -v /data/media/
Click to expand...
Click to collapse
Can I check with you what bug this fixes?
Ability to use app2sd?
I use FolderMount and works real well. No need to partitioning sd card.
I've gotten to getting Link2SD working on the GT-I9195 with nightly 20140402 KitKat.
Based loosely on [Tutorial/HOWTO] Convert Your External SD Card from FAT/exFAT to EXT4! (3 ways!)
1. Clear everything out of your external SD card. We're gonna be formatting it so you'll have to backup your data.
2. Boot up into recovery and have a working ADB environment setup on your computer
3. adb shell (Do NOT mount your /storage/sdcard1)
5. Check that you have fdisk and mke2fs installed (Type fdisk --help and mke2fs --help ensure they don't throw up errors)
6. fdisk /dev/block/mmcblk1
7. Type o and Enter to destroy the partition table
8. Type n to create a new partition. Make sure its Primary (p). Select first partition and choose how many cylinders you want to allocate to it.
9. Type n to create your second partition. Again, make sure its Primary (p). Leave cylinder allocation blank to use remainder of space by default.
10. Verify partition layout by typing p to show partition layout.
11. Exit fdisk and save changes by typing w
12. mke2fs -t ext4 /dev/block/mmcblk1p1
13. mke2fs -t ext4 /dev/block/mmcblk1p2
14. reboot
15. Once CM has booted up, check if your external storage partition 1 has been mounted. It should be mounted at /mnt/media_rw/sdcard1
16. Try creating a folder in /mnt/media_rw/sdcard1 and /storage/sdcard1 to test if your read/write permissions are correct.
17. Install DiskInfo from playstore to check if your second partition is visible
18. Once done, install Link2SD and select ext4 when prompted to ask what kind of filesystem your 2nd partition is.
19. Reboot after Link2SD installs scripts.
20. Voila!
Let me know if there are any issues. I modified several files while doing this so not sure if any of them affected.
Should #16 not work, try:
1. Going to /system/etc/permissions/platform.xml and adding media_rw group to the element that only has sdcard_r group in it.
2. Typing mount in Terminal Emulator (su) or adb shell and see whether your partitions are mounted. If you're not sure, post the output out here.
Final mount output (filtered with mmcblk1 or sdcard stuff):
Code:
/dev/block/mmcblk1p2 /data/sdext2 ext4 rw,seclabel,relatime,data=ordered 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_i
d=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:33 /mnt/media_rw/sdcard1 ext4 rw,dirsync,context=u:object_r:
sdcard_external:s0,nosuid,nodev,noexec,noatime,data=ordered 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1
023,default_permissions,allow_other 0 0
EDIT 2: *** IMPORTANT!! Do NOT select External in the App2SD option in Link2SD. Otherwise you will not be able to install any apps from the Play Store (Insufficient Storage error)
I use GL to SD on my Slimrom: https://play.google.com/store/apps/details?id=com.slf.ListglApp
It may not have fancy UI like FolderMount or Link2SD, and it slight complex to use. But it works on per app basis, without re-partition too.
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Oijkn said:
Hi leripe !
I have got the same device and ROM like you and i would like to know if you have found a solution to move apps to the sdcard ?
Thank you in advance, regards.
Click to expand...
Click to collapse
If it non system apps, you can use GL to SD as I provide the link already above. It works.
TNCS said:
If it non system apps, you can use GL to SD as I provide the link already above. It works.
Click to expand...
Click to collapse
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Oijkn said:
Hi, i tried your link but this tool don't show all my user app so i can't move them... Have you another tool that can do the job please?
Click to expand...
Click to collapse
Nope, sorry. I tried this tool and it work so never bother to look for another one.
If GL to SD doesn't have the app you want to move, you can manually link the app and the relevant folder at GL to SD settings. After you linked them, at the main page of apps you can tell it to start to move.
This thread shows up on google for me when trying to figure out why minitool partition wizard doesn't detect my phone at all. The guide I'm following says USB-SDcard reader is required but is that really true?? Surely there is a way to mount the SDcard at a low enough level to partition it without addition hardware?? Even if I have to mount it using TWRP recovery or something I would think it's possible. Anyone know?

Categories

Resources