If anyone wants to take a crack at it, here's the script that worked on the Galaxy S3 mini. I've tried switching around the addresses in /dev/block/vold with no success.
Might not be hard. I don't have a GS4 though.
Go to /system/etc in your favorite file explorer and open vold.fstab as text and post the contents in Pastebin and link here.
ChronoReverse said:
Might not be hard. I don't have a GS4 though.
Go to /system/etc in your favorite file explorer and open vold.fstab as text and post the contents in Pastebin and link here.
Click to expand...
Click to collapse
I'll do better than that. Here's my vold.fstab file.
OP,
what path to put in directory bind? cant wait to try games I used to play on NOTE 2 using data INT2EXT script.
blackknightavalon said:
I'll do better than that. Here's my vold.fstab file.
Click to expand...
Click to collapse
Hmm, it's different from previous devices like the Note 2 and GS3. No wonder the script doesn't work.
Could you look in /storage and see what folders are in there? And then do the same for /storage/extSdCard
If you're feeling brave, have root and have a custom recovery with working nandroid, you could try replacing this line (I TAKE NO RESPONSIBILITY FOR THIS):
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
with this:
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.2/mmc_host/mmc2/ /devices/platform/msm_sdcc.4/mmc_host/mmc2/
after you backup your ROM first.
ChronoReverse said:
Hmm, it's different from previous devices like the Note 2 and GS3. No wonder the script doesn't work.
Could you look in /storage and see what folders are in there? And then do the same for /storage/extSdCard
If you're feeling brave, have root and have a custom recovery with working nandroid, you could try replacing this line (I TAKE NO RESPONSIBILITY FOR THIS):
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.4/mmc_host/mmc2/ /devices/platform/msm_sdcc.2/mmc_host/mmc2/
with this:
Code:
dev_mount sdcard /storage/extSdCard auto /devices/platform/msm_sdcc.2/mmc_host/mmc2/ /devices/platform/msm_sdcc.4/mmc_host/mmc2/
after you backup your ROM first.
Click to expand...
Click to collapse
Under /storage, I have the following:
container
emulated
extSdCard
sdcard0
UsbDrive (lettered A through F)
Click to expand...
Click to collapse
extSdCard is just my SDcard, and the T-Mobile version doesn't have custom recovery yet.
Hello! Any updates??
BUMP!!! Any updates??
No, but I'm going to try to tweak the script again in a day or two.
Okay, this is the error I'm getting with a modified script. Anyone want to take a crack at it?
The script itself, functional or otherwise, needs to be dropped in /data and you'll need to chmod it to 777.
Working on It also
I've been working on it as well. Samsung has heavily modified the vold.fstab file. They no longer use vold.fstab to mount the internal sdcard storage. We need to find where the file that contains their mounting of the internal sdcard is. We won't be able to swap until we find that file. I am looking.... I strongly recommend not using the script for the Galaxy S3. I compared the S3 vold.fstab and S4 vold.fstab and they are significantly different!
I would be VERY interested to know if or when a swap script is out..
I have had my SGS4 i9505 for 2 days.. And it is almost out of internal card space
Any updates on this one yet ?
@OP.: buddy, what i thought is you must do changes in Vold.fstab file first. I know after changing your mobile be lilbit unstable due to system setting & storage crashing. But then you can provide the logcat. Then we can check the same.
BTW, I have successfully swapped the memories of Galaxy R CM version. But if you could do the changes then I can help you out..
Reply me then I can send you codes via PM.
The latest firmwares do allow you to place games on your sd card.
No need anymore for that script
Sent from my GT-I9505 using xda premium
Sammath said:
The latest firmwares do allow you to place games on your sd card.
No need anymore for that script
Sent from my GT-I9505 using xda premium
Click to expand...
Click to collapse
It can allow you to shift the application not the whole data.
* *
http://forum.xda-developers.com/showthread.php?t=1772234
Sent from my GT-I9500 using xda app-developers app
Related
This is a quick tutorial I want to write up based on a recent experience I've had recently with my micro sd-card. (More info on that below)
This how to shows how to switch between the internal sd card and the external sd cards mounting points (so the external is accessed via /sdcard, and the internal is accessed through /eemc)
The nuts and bolts how to:
0. Perform backups on System, i am not responsible for any damages or boot loops.
1. Download root explorer (or any other file explorer with root privileges)
2. Go to /system/etc, and mount R/W
3. Long press on vold.fstab and select Open With... , select Text Editor
4. You will find a line with sdcard in it a few times, change this section:
dev_mount sdcard /mnt/sdcard
Click to expand...
Click to collapse
To:
dev_mount emmc /mnt/emmc
Click to expand...
Click to collapse
5. Do the same thing with the emmc section:
dev_mount emmc /mnt/emmc
Click to expand...
Click to collapse
To:
dev_mount sdcard /mnt/sdcard
Click to expand...
Click to collapse
6. But you just flipped the first section around? Yes I did, this changes the mounting points. But not the original location of where it is being mounted......
7. Please don't change anything else in this file....
8. Reboot, enjoy!
I had to do this hax because the current nightly of CM9 doesn't support there being no external sd card, and mine got corrupt (eep!), it then continued to mount the internal sd card location to emmc instead (wtf?). So i did this quick hax so i could take pictures with the stock camera and use several applications which just default to the internal sdcard (and doesn't allow changing that).
Hope that helps some random Googlers......
Note: This has only been tested on CM9 Nightly apr-9th on SGSII, but i see no reason for this not work across all ROMs and devices( with ICS, the emmc thing wasn't on GB and below i don't think) as long as you don't do anything as foolish as change more than the lines specified above.
An example of a swapped file is (DO NOT COPY AND PASTE THIS, YOU PROBABLY WONT BE ABLE TO BOOT):
# internal sdcard
dev_mount emmc /mnt/emmc 11 /devices/platform/dw_mmc/mmc_host/mmc0/mmc0 encryptable_
# external sdcard
dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
Please note that the latest CM9 nightlies lets you do this from the system menu! This was written pre that advancement. This is for the curious and other ROMs/phones.
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
If I understood your question right, that's the default behavior in CM7/9 so you don't need to change anything.
(internal gets mounted as /sdcard and external as /emmc. At least that's how it always behaved on my device -takes a bit of getting used to but it's manageable once you know the trick)
edit : aw sawry, mistook /mnt/external_sd for /mnt/sdcard. But it changes nothing besides the name of the mountpoint, easily adjustable.. Although why you would want to have it named like that is beyond me, it makes for more keys to hit when typing it... xD
Zewsan said:
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
Click to expand...
Click to collapse
same doubt raised here ...is it possible to mount external sdcard to /mnt/external_sd instead of mnt/emmc...???
please need solution
Zewsan said:
Is it possible to use something in the lines of:
dev_mount emmc /mnt/external_sd ? To just bind the external sd to the stock location?
Click to expand...
Click to collapse
Its the same technique....
So remember this:
Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
Click to expand...
Click to collapse
So <label> doesn't really matter, but we may as well keep it sane (and have it the same name as the mount point)! And <mount_point> is where its mounted. Make sure the folder exists first though! leave <part> and <sysfs_path*> alone and it will work correctly.
So if you were to create a folder /mnt/hammertime , then make a line look something like this (taken from my example in first post)
dev_mount hammertime /mnt/hammertime auto /devices/platform/s3c-sdhci.2/mmc_host/mmc1
Click to expand...
Click to collapse
That will work correctly.
Hope that helps!
mattisdada said:
Its the same technique....
So remember this:
So <label> doesn't really matter, but we may as well keep it sane (and have it the same name as the mount point)! And <mount_point> is where its mounted. Make sure the folder exists first though! leave <part> and <sysfs_path*> alone and it will work correctly.
So if you were to create a folder /mnt/hammertime , then make a line look something like this (taken from my example in first post)
That will work correctly.
Hope that helps!
Click to expand...
Click to collapse
is there no any requirement of changing build.prop file after doing this....?????
Ok I'll bite, late night tonight I'm going to flash back to AOKP....and give it a shot. It can't be that simple.....
Most certainly appreciate your effort...been looking for this for some time now.l!
HAvoktek said:
Ok I'll bite, late night tonight I'm going to flash back to AOKP....and give it a shot. It can't be that simple.....
Most certainly appreciate your effort...been looking for this for some time now.l!
Click to expand...
Click to collapse
I didn't think so either, but i had the problem, hoped it was like its Linux cousin and searched for fstab, i found it. Swapped the mounting destinations around. And voila, done.....
Swapped but CWM Recovery still the same
Hi, first of all nice guide you did here.
Here's the thing: somehow somewhere by flashing nightlies i ended up
with /sdcard being treated as my external SD while /emmc was for internal.
So I wanted to fix that and using your guide although the other way around
I was able to make it as such: /sdcard = internal storage; /emmc = external storage.
ALL IS GOOD however when i booted to CWM recovery:
CWM still mounts my internal storage as /emmc.
SO in recovery internal storage = /emmc while when in CM9 internal storage = /sdcard
Is there anyway i can change CWM so that internal storage = /sdcard? to be more uniform and not confusing
jeromepaez said:
Hi, first of all nice guide you did here.
Here's the thing: somehow somewhere by flashing nightlies i ended up
with /sdcard being treated as my external SD while /emmc was for internal.
So I wanted to fix that and using your guide although the other way around
I was able to make it as such: /sdcard = internal storage; /emmc = external storage.
ALL IS GOOD however when i booted to CWM recovery:
CWM still mounts my internal storage as /emmc.
SO in recovery internal storage = /emmc while when in CM9 internal storage = /sdcard
Is there anyway i can change CWM so that internal storage = /sdcard? to be more uniform and not confusing
Click to expand...
Click to collapse
Yeah CWM doesn't read the /system stuff, it has its own partition....
I've got no idea sorry, but its just a little inconvenient in CWM thats all.... But im sure you can check it out... Just search for fstab when you figure out how to explore the recovery partition (I've got no idea , short of modifying a flashable zip first and rekeying it.)
Forgot to post back with my results, Got HFS & AOKP to see the changes, however something broke when I did a PC mount. After playing with the lines "Experimentation" if you will, I ended up needing to rebuild my partitions! No fault of yours, I just wanted to see if I can have that functionality through the whole phones usage and features eg. mounting to the PC.
Thanks for the guide though, I'm seeing now that some devs are including the option to use the internal memory via a menu select, I wonder how there implementing that.
Probably something very similar but programmatically instead of the haxy file editing method I'm noting to use .
PC mounting is working as per normal for me here though...... (I don't have an external card right now so that may be a variable)
mattisdada said:
Probably something very similar but programmatically instead of the haxy file editing method I'm noting to use .
PC mounting is working as per normal for me here though...... (I don't have an external card right now so that may be a variable)
Click to expand...
Click to collapse
That it is, cause I can see my internal, but it doesn't mount the external.
Purpose
What is the purpose of this? Does it mount the EMMC so that the system thinks EMMC is actually an external sd card?
I am trying to figure out if there is a way to make the above mentioned happen. Or is there a way to re-partition it so that EMMC is used as system memory... or maybe even both? It seems that since ICS better integrates with on board memory, there would be a way to better integrate the internal memory of older devices with the system.
hfj00788 said:
What is the purpose of this? Does it mount the EMMC so that the system thinks EMMC is actually an external sd card?
I am trying to figure out if there is a way to make the above mentioned happen. Or is there a way to re-partition it so that EMMC is used as system memory... or maybe even both? It seems that since ICS better integrates with on board memory, there would be a way to better integrate the internal memory of older devices with the system.
Click to expand...
Click to collapse
This guide shows you how to "flip" the points. Several ROMs have it differently preconfigured. But if this is your current situation:
Code:
Emmc: External SD Card
SDcard: Internal SD Card
It will make it:
Code:
Emmc: Internal SD Card
SDcard: External SD Card
And vice versa obviously (its a flip).
This guide will do what your wishing it to do.
The folders sdcard and emmc (or there /mnt varient more closely) are just soft links, meaning they don't really exist, but just point to another location. We can modify which folder they are linked to in the fstab.void file.
so to make emmc to external_sd i change "dev_mount emmc /mnt/external_sd"?
Worked great on a Captivate running AOKP-36 right after a wipe data/factory.
lol you need no guide on cm9
you can switch them in storage settings by a simple checkbox
its mentioned in team hacksung's FAQ
Im on CM9. Can someone post the code so i can just do a simple copy and paste? I wanna switch emmc to external_sd
(there is no storage settings simple checkbox for me)
Sent from my SGH-I997 using xda premium
bradman117 said:
Im on CM9. Can someone post the code so i can just do a simple copy and paste? I wanna switch emmc to external_sd
(there is no storage settings simple checkbox for me)
Sent from my SGH-I997 using xda premium
Click to expand...
Click to collapse
Never use a copy and paste for the file in this operation. You only need to modify partially two lines (which you can copy and paste from the OP).
Your just swapping two words around really. Its fairly easy, just follow the steps and it will work, it looks daunting at first if your not used to doing this sort of thing, but its fairly easy.
Hi all,
I'm using Jelly Bean ROM on my i9100 with custom kernel.
Problem is that many apps are looking for internal memory using the path "/mnt/sdcard" (like address book export function, whatsapp for downloaded images, etc.), that should be a symbolic link to folder "/storage/sdcard0", new mount point of internal memory in JB.
I've tried SiyahKernel v4.0.1 and 4.1beta6, Dream-IRC 2.7.0 (I cannot try Dorimanx 5.65.1 cause it generates a boot loop with RootBox ROM) and all of them suffer same problem.
I've found that some init scripts (for example "fota.rc" or "init.goldfish.rc") are creating the folder "/mnt/sdcard" earlier than right init script could create symbolic link: those scripts cannot be changed cause they are part of initramfs, so kernel recompilation is needed.
I hope this thread could help kernel experts to solve problem.
Bye.
JediMaster said:
Hi all,
I'm using Jelly Bean ROM on my i9100 with custom kernel.
Problem is that many apps are looking for internal memory using the path "/mnt/sdcard" (like address book export function, whatsapp for downloaded images, etc.), that should be a symbolic link to folder "/storage/sdcard0", new mount point of internal memory in JB.
I've tried SiyahKernel v4.0.1 and 4.1beta6, Dream-IRC 2.7.0 (I cannot try Dorimanx 5.65.1 cause it generates a boot loop with RootBox ROM) and all of them suffer same problem.
I've found that some init scripts (for example "fota.rc" or "init.goldfish.rc") are creating the folder "/mnt/sdcard" earlier than right init script could create symbolic link: those scripts cannot be changed cause they are part of initramfs, so kernel recompilation is needed.
I hope this thread could help kernel experts to solve problem.
Bye.
Click to expand...
Click to collapse
._. I think this should be in the general forums?
Sent from my GT-I9100 using xda premium
MarioFan1998 said:
._. I think this should be in the general forums?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Hi MarioFan1998,
I've posted here cause problem is related to custom kernel recompilation, so I've thought that "Android development" was the right section: if it is not, I'll move thread to general forum, let me know.
Thank you.
Bye.
New kernels also affected...
I can confirm that also Dorimanx 5.65.1 kernel suffers same problem.
Now I've installed new Resurrection Remix 3.0.4 + Dorimanx 5.65.1 kernel and "/mnt/sdcard" is always an empty folder and not a symlink to "/storage/sdcard0" as it should be.
We need kernel Experts help!
Okay in the mean time try this I have used RemountSD app but edited the
directories likes so:
Original external SD location: /storage/sdcard0
Target external SD location: /mnt/sdcard
Now go to /mnt/sdcard you should now see your internal sdcard.
Note: the external SD location I actually put the directories of the internal SD card instead
so the internal SD will be mounted instead of external.
Press thanks if it works! Use this as a temporary solution!
EDIT: Noticed that after reboot it stops working. Recommend you remount on every boot for now.
MarioFan1998 said:
Okay in the mean time try this I have used RemountSD app but edited the
directories likes so:
Original external SD location: /storage/sdcard0
Target external SD location: /mnt/sdcard
Now go to /mnt/sdcard you should now see your internal sdcard.
Note: the external SD location I actually put the directories of the internal SD card instead
so the internal SD will be mounted instead of external.
Press thanks if it works! Use this as a temporary solution!
EDIT: Noticed that after reboot it stops working. Recommend you remount on every boot for now.
Click to expand...
Click to collapse
Thank you,
I've realized a different solution, an init.d script that, if folder /mnt/sdcard is empty, removes it at boot time and creates appropriate symlink.
I attach file to this post, it must be copied (extracted script, not tar.gz archive) to /etc/init.d, then "chown root.shell 00fixmount", then "chmod 0755 00fixmount".
It works for me in RR3.0.4 + Dorimanx Kernel 5.65.1, use it at your own risk: obviously it's a temporary workaround, until kernel developers will fix it in boot image.
Bye.
You know what you guys could do? Learn to decompile a kernel and modify initramfs yourselves! It's fun to learn.
Lack of time...
karendar said:
You know what you guys could do? Learn to decompile a kernel and modify initramfs yourselves! It's fun to learn.
Click to expand...
Click to collapse
Long ago one of my hobbies was update/configuration/recompilation of kernel on my customized Slackware distro to find best performances, today I'm using a notebook with Windoze 7...
Main problem is lack of time...
JediMaster said:
Thank you,
I've realized a different solution, an init.d script that, if folder /mnt/sdcard is empty, removes it at boot time and creates appropriate symlink.
I attach file to this post, it must be copied (extracted script, not tar.gz archive) to /etc/init.d, then "chown root.shell 00fixmount", then "chmod 0755 00fixmount".
It works for me in RR3.0.4 + Dorimanx Kernel 5.65.1, use it at your own risk: obviously it's a temporary workaround, until kernel developers will fix it in boot image.
Bye.
Click to expand...
Click to collapse
what about the external sd card.. any picture or music on it is not recognised by apps.. the builtin ones..even cwm manager.. i have to resort to quick pic and power amp
xinfinityoO said:
what about the external sd card.. any picture or music on it is not recognised by apps.. the builtin ones..even cwm manager.. i have to resort to quick pic and power amp
Click to expand...
Click to collapse
I don't use external SD card, but I see that symlink "/mnt/extSdCard" is correctly pointed to "/storage/sdcard1": which path are apps expecting to use?
Let me know.
Bye.
Whatever I try, it doesnt work. I need external_sd path for my Navigon Select and camera doesnt see sdcard.
brack11 said:
Whatever I try, it doesnt work. I need external_sd path for my Navigon Select and camera doesnt see sdcard.
Click to expand...
Click to collapse
If you want, I can try to make an init.d script to unmount internal and external sdcard devices and remount them in Gingerbread locations, but I will not be able to try, cause I don't use external sdcard...
Let me know if you wanna test.
Bye.
JediMaster said:
If you want, I can try to make an init.d script to unmount internal and external sdcard devices and remount them in Gingerbread locations, but I will not be able to try, cause I don't use external sdcard...
Let me know if you wanna test.
Bye.
Click to expand...
Click to collapse
I took the Init script from this thread and then installed ics binder from the market, configured binding from /mnt/extSdCard to /mnt/sdcard/external_sd and it did the trick, however, titanium wouldn't restore anything on sd, only on "system default"
Another thing is i don't see how jb more smooth than ics, feels the same to me and as i lose some settings for jb that i had on ics, I'm back to ics for now.
Sent from my GT-I9100 using Tapatalk 2
Here's a script I modified originally its a script written by mattiadj so I gotta give him props
Here's his thread its for the Galaxy S III I think - http://forum.xda-developers.com/showthread.php?t=1772234
This will make your external SDcard as Internal and your Internal SDCard external
It mounts data/media to your extSdcard
Please make a backup before you do this, just in case.
Let me know if you have any problems
1. Anyway.. you will need to place this script in your /data folder (Yes you need to be rooted)
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for just user)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything for user
3. Use Smamager (Download it if you dont have it, ... .its free) and goto the script file and open as script/execute, then when it opens choose "Is executable" and then click "Su" & "Boot". Click "Save".
4. Reboot and enjoy.
To go back to the normal setup just delete the script or open it back up in smanager and clear the SU & Boot options.
In order for some apps to function properly you will have to copy some folders from your old internal sdcard to your "New" one.
For example.. aptoide wouldnt work until the aptoide repos folder was copied over. If you want you can just copy over everything to be safe. I on the other hand just picked and chose what I needed
xalien8dx said:
2. Next use ES file manager and give it 777 permission (For the non-linux users, that's full permission on it, Read, write, execute for everyone)
-----------------to do this with ES file manager just press and hold down on the file and look at its properties. At the bottom you can see Permissions, hit the Change button and check-mark everything
Click to expand...
Click to collapse
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
imnuts said:
IMO, this is terrible advice. The script is probably getting run as root, and you're opening it up to be written by anyone. Imagine if malware edited the script? Think of what malware could do if it had root access...
Sent from my Galaxy Tab 2
Click to expand...
Click to collapse
Changed it to just user read, write, execute..
thanks
So, after this what happens to the internal SdCard. Does it, or is it still being used, and if so for what...?
^ same ? and has anyone tested this and is it safe?
All this is is a modded script from mattiadj. It was written for the GS3, so I changed it to work on the 3113 tablet
Here is what it does quoted from mattiadj
My aim was to use the external sd as internal sd and the original internal sd ONLY for apps installation.
So now my 64gb external sd is used for all tasks which the internal sd was used and the original internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD, which is now mounted as internal
Click to expand...
Click to collapse
The original internal sdcard is mounted by default from the system as /data/media as well as /sdcard and mnt/sdcard
so with this script it puts data/media as extSDCard and /sdcard and /mnt/sdcard are mounted to the original external SDcard
you can still access the internal SDcard from data/media or /extSDCard or mnt/extSDcard
my code
Code:
sleep 5
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:25 /mnt/sdcard
sleep 5
mount -o bind /data/media /mnt/extSdCard
this can be easily modified to work on other systems.
Hope this helps,
N8
Tried this out last night. For me it works only if run manually... After reboot, I get long "checking SD for errors" and when it actually mounts SD it gets mounted twice- as both internal sdcard and extSdCard.
Sent from my GT-P3100 using Tapatalk 2
I ran this with SCript Manager (Play Store) and it works great on my p3113. My External SD card was mounted as internal and my Internal Memory was mounted as ExternalSDcard. I am going to love having this script!
If your having problems with it mounting as your internal and external try unmounting/remounting your external card in settings under storage. Or if your skilled enough try changing the second sleep value in the script to a higher number like 10 that should fix it
Works famously. For the apps that have issues just clear data under settings and it seems to be golden.
Sent from my GT-P3113 using xda app-developers app
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
king200 said:
I haven't done anything quite like this before but I have a use in mind. My GPS program, Sygic, puts the mapset on the internal sd card. Just the Western USA states are 500 mb If I get this running, and have Sygic do it's normal install, will the mapset to to the 32 GB MicroSD card that I have?
Click to expand...
Click to collapse
It should. For example, I use Amazon MP3 and when I downloaded a song before they went to the internal card. Now they are stored on the external. The device reads your external as though it is the internal.
Sent from my GT-P3113 using xda app-developers app
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
kdog48 said:
so is there Anyway on how to force this to start on boot?
Sent from my GT-P3113 using xda app-developers app
Click to expand...
Click to collapse
Yes
in script manager choose su and boot. If you follow the first post it will execute on boot. Or if you have a rom with init.d support place this script in your /etc/init.d folder, I dont have a rom with init.d support so I dont know if that would work but it should. If someone could test this and let me know I would appreciate it. Im not sure if you still have to set permissions to execute on it.
Well I've had problems downloading certain apps to SD it says insufficient memory delete 0mb of data so I actually will just manually use it haha
Sent from my GT-P3113 using xda app-developers app
Working 100% using a 32GB memory card! thanks for this!
hi guys
is applicable to 2 10.1 GalaxyTab P5100?
requires Android 4.1.1 or 4.0.4. ?
Thank you.
If this works, I will name my next born child after you!
Anyway, I would like to know if this will work on Cyangenmod 9.0.0? Or will it only work on the stock rom. I have my old stock rom of 4.0.4 saved if I need to go back... because I will if this works.
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
I already used the thank link... but stilll thank you so, so much! I just recently got my 8gb 3113... needless to say, I REALLY needed some space. If any, it was a good lesson for me to definitely choose the 16GB Nexus 4.
MadDogE134 said:
does root explorer have the 'su boot' option? never used it to run scripts...:silly:
Click to expand...
Click to collapse
It's from SManager.
Hello,
So after I flashed XXUFME3 I noticed that non of my files on my internal memory are showing any more.
When checking the storage, I can see that there was 5 GB worth of files un-accounted for, IE they still exist they just don't show any more.
After further digging up, here is what I have found:
The mount point for internal memory is no longer /sdcard/ it is now /sdcard/0/ and to my knowledge, I couldn't find a way to actually see /sdcard/ since it was not mounted to begin with.
Here is what I did to circumvate this:
1 - I rebooted to CWM recovery
2 - From there, I went to mounts & storage and mounted /data, /sdcard and /external_sd
3 - I opened an adb shell and from there browsing to /sdcard/ showed me all my precious files again.
From here on out, the solution was simple.
You can either:
Move all contents from /sdcard/ to /sdcard/0/ this can be done by running the following:
Code:
mv -r !(0) /sdcard/0/
OR
Copy all of your contents to your external SD by running the following:
Code:
cp -r !(0) /external_sd/
Both the above commands will exclude the directory "0" and all of its contents since you do not need to move them.
Hope this helps anyone who had the same problem.
Or you can go to /storage/emulated/0/0 folder and find all your old files in there.
bcostea said:
Or you can go to /storage/emulated/0/0 folder and find all your old files in there.
Click to expand...
Click to collapse
I looked and they weren't showing there. I had a similar issue when I moved to AOKP and I was able to restore them as you said, however this time they simply weren't there.
The mount point is actually /data/media normally but here it's /data/media/0 so you can just copy everything from /data/media to /data/media/0 with a root explorer (i use es)
/sdcard and /storage/emulated essentially just redirect you to be media folder.
Sent from my GT-I9300 using Tapatalk 2
delsus said:
The mount point is actually /data/media normally but here it's /data/media/0 so you can just copy everything from /data/media to /data/media/0 with a root explorer (i use es)
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Yeah that's definitely an easier solution never found it while browsing though ! Thanks
I wrote a thread on this. Link in my signature
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
I wrote a thread on this. Link in my signature
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
sir how can i restore my nandroid backup 4.1.2 from this 4.2.2? is it possible. it says md5 sum mismatch thanks in advance
The thread title is wrong. The files are not "lost".
Also, anyone who's used 4.2.2 before knows the deal here.
Kryten2k35 said:
The thread title is wrong. The files are not "lost".
Also, anyone who's used 4.2.2 before knows the deal here.
Click to expand...
Click to collapse
So are these duplicate files or just in a different place? I did a full wipe and flashed 4.2.2, then put all my stuff back from the backup on my computer. Does this effect me?
s14sh3r said:
So are these duplicate files or just in a different place? I did a full wipe and flashed 4.2.2, then put all my stuff back from the backup on my computer. Does this effect me?
Click to expand...
Click to collapse
Different location. Full explanation in the thread I wrote in my signature
Sent from my GT-I9300 using Tapatalk 2
Turns out it is because of multi user support... If you create another user profile, all the files from that user will get saved to /sdcard/1. Only way out is to move all files from /sdcard to /sdcard/0.
Sent from my GT-I9300 using xda app-developers app
Hello guys here another method to extend the Xperia SP internal memory and enjoy all heavy games you want. With this you will mount the /sdcard/Android folder in external memory.
What you need:
1. ROOT
2. init.d support
- UB: kernel with this feature.
- LB: You can use Universal Init.d
3. External SDCARD I have a 32GB class 10 and works like a charm.
Steps:
1. Run "Universal init.d" application and enable init.d
1. Create "/sdcard1/Android" folder
2. Copy or move the content from /sdcard/Android to /sdcard1/Android
3. Create or copy the following script into /etc/init.d/mnt_android:
Code:
#!/system/bin/sh
#script to mount /sdcard/Android in external sdcard
sleep 10
mount -o bind /sdcard1/Android /sdcard/Android
df > /sdcard1/mnt_android.log
4. Set 777 permission to the script file.
5. Reboot and enjoy.
6. Press thanks button.
RESERVED
On the step 3 I was in doubt, says create or copy the script, if I choose to create in what format should I save?
can i mount another one
can i mount another folder with the same steps
many thanks
lvints said:
On the step 3 I was in doubt, says create or copy the script, if I choose to create in what format should I save?
Click to expand...
Click to collapse
no format needed just create the file in plain text and save it with the name "mnt_android" in "/etc/init.d/" folder.
bloodraven174 said:
can i mount another folder with the same steps
many thanks
Click to expand...
Click to collapse
I think it won't be a problem which folder do you want to mount?
Question
jucares said:
I think it won't be a problem which folder do you want to mount?
Click to expand...
Click to collapse
Jucares with your will we have to cut and paste from the internal android folder to the sd card every time we install and app/game?
raziel123 said:
Jucares with your will we have to cut and paste from the internal android folder to the sd card every time we install and app/game?
Click to expand...
Click to collapse
The cut and paste only will be necessary the first time you used this script after that the external data of new apps/games will be installed in the mounted folder (sdcard).
guess it wont work for apps/games installed from other than play store....i tried and games wont run!!
It's work for me, all games is playable...:thumbup:
Sent from my C5302 using xda premium
hey bro. universal init.d, I say this: your kernel does not have init.d support, keep doing the following and step 3: 3. Create or copy the Following script into / etc / init.d / mnt_android: I do not understand if it's not in the system folder or outside the system. excuse the question but I really want to do this. I'm on stock 254 BL root and cwm. and my card is sandisk 32gb ultra HC1
Turn on auto execution tab at top of universal init.d app
Make sure you created the script and copied it to the unit.d folder. Permissionneeds to be set to rw-r-r
Solved (Swap the internal storage with external)
Guy's Guy's Guy's This is an easy and quik and stable method to swap your internal memory with the external big one for our Xpeia SP :laugh:
watch it on youtube
http://www.youtube.com/watch?v=qBzQIxCFtxQ
and on xda for xperia z also works on Xperia SP - V AND ??
http://forum.xda-developers.com/showthread.php?t=2180733
MemoHada said:
Guy's Guy's Guy's This is an easy and quik and stable method to swap your internal memory with the external big one for our Xpeia SP :laugh:
watch it on youtube
http://www.youtube.com/watch?v=qBzQIxCFtxQ
and on xda for xperia z also works on Xperia SP - V AND ??
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Only works on 4.2.1 Roms..... Xperia sp is still stuck on 4.1.2
Im getting this phone soon and need to know if moving apps to SD will be possible after 4.3 update?
Me too, I want to know if this method would still work after 4.3 update.
zakkkkk said:
Im getting this phone soon and need to know if moving apps to SD will be possible after 4.3 update?
Click to expand...
Click to collapse
On Android 4.4.2 (cm 11.0) it works like a charm using FolderMount app. So you should not be anxious as far as you root the phone. You will find a way despite not the one described in this post.
Sent from my C5303 using XDA Premium 4 mobile app
moved chrome and that worked, move a game and that didn't, it exit itself back to homescreen, anyone any idea?
thanks