[Q] Shortcut in sdcard for a folder in sdcard-ext - Atrix 4G Q&A, Help & Troubleshooting

Hey guys!!!
Does anybody know a way to create a shortcut in sdcard where files stored in that folder is actually a shortcut to the folder in sdcard-ext....
I dont know if any one is getting this....
I mean to say that my sdcard is very low on memory and most of the applications requires memory in it...i want to create a shortcut in sdcard which is actually a shortcut to a folder in Sdcard-ext...so that any application would recognize it as a folder in sdcard when it actually stores in sdcard-ext and executes the function of the file in the shortcut folder properly...
I actually found a thread but no explanations....
sorry if anyone finds this thread unnecessary but if someone knows the answer that would be helpful for so many of us...
Thanks
Harish

harishjkhv said:
Hey guys!!!
Does anybody know a way to create a shortcut in sdcard where files stored in that folder is actually a shortcut to the folder in sdcard-ext....
I dont know if any one is getting this....
I mean to say that my sdcard is very low on memory and most of the applications requires memory in it...i want to create a shortcut in sdcard which is actually a shortcut to a folder in Sdcard-ext...so that any application would recognize it as a folder in sdcard when it actually stores in sdcard-ext and executes the function of the file in the shortcut folder properly...
I actually found a thread but no explanations....
sorry if anyone finds this thread unnecessary but if someone knows the answer that would be helpful for so many of us...
Thanks
Harish
Click to expand...
Click to collapse
I assume you are on a stock ROM?
On CM7 I can mount the say internal sdcard to something like /sdcard/internal. On CM7 internal is mounted as /emmc and external is /sdcard.
Have to change fstab and build.prop and reboot.
Sent from my MB860 using Tapatalk

If I remember correctly, we used to do this with the ZT180 tablet, have a look at creating a symlink.

Thank you karloos and dennis for the prompt reply....
@dennis....yeah I am using a stock rom...is there any way to make it work...
@karloos....would you mind giving me the instructions as to how to create a symlink
And did it work in the tablet....
Thanks guys

harishjkhv said:
Thank you karloos and dennis for the prompt reply....
@dennis....yeah I am using a stock rom...is there any way to make it work...
@karloos....would you mind giving me the instructions as to how to create a symlink
And did it work in the tablet....
Thanks guys
Click to expand...
Click to collapse
Not sure on stock but if you would like send me your /system/build.prop and /system/etc/vold.fstab files and I can modify them.....basicly find where is mounts the /sdcard and /sd-ext and change them.
Like I said no idea if it will work on stock rooted roms.
The sdcard can not accept symlinks from my research. It will not allow it do to permissions on the partition.

Related

Sd card organization

Hi everyone,
I have a question or maybe someone can give me some advice?
Is there an application that can do this or maybe a terminal app, and someone knows the commands to enter?
I am very anal and a complete neat freak, so my sd card on my xperia looks very unorganized. I have tried to create a folder called android and move all the dependent files to android there but the folders and files just get recreated.
I would love to have my sd card Folders look like:
Android (defualt for android),
Music,
Pictures,
Movies,
Temp,
and so on.
does anyone know how this type of organization could be done, I have an X10a rooted. So could i not open a terminal and change the default path to my sd card to a folder rather than the root of the card.
So this would make android put anything it wanted to write to the sd card into a folder called Android.
Hope someone is as anal as me and has figured out a way to do this.
I agree and would also like to know if there's an option to deal with this. I think it's absurd that Android defaults to dumping temp files an app folders all over the sdcard with no actual organization. I can't think think of a single reason why it can't just put all of these things in an "Android" folder and make a giant mess out of that, instead of doing it right in the sdcard root.
This was posted in July and this is the first response. Anyone have any ideas?
Root explorer paid app will allow to create folders and move stuff around
sent from my Commodore 64
BUMP
would also really like to know if it can be tidied up
what about dynamic links like the same way apps2sd works
Just an idea
Bump, still searching for a solution to this
I would think that with all the mods, this might be able to be done.
I'm going to ask if the moderators good move this thread to a more general forum like the android q&a?
would be nice to have all sym links go to an android folder, instead of the root of the sd card. or maybe the android files need to be on root?
still searching......
I am afraid this cant be done - every Android app has a ability to write wherever on sdcard. There is dierectory Android, which is default for every android app data.
Some developers respect it some not, many apps dont write do /sdcard/Android but creates their own dirs wherever on sdcard.
I think about one solution, because I am linux geek and hopefully many thinks could be done on Android similar way
Repartition the sdcard with two discs - one to be mounted as /mnt/sdcard - where all of the junk stuff and android configs will be stored as usual and second one partition (bigger) mounted eg. as /mnt/ext_sdcard
But there is one problem, because not all of apps are able to work with files on eternal storage....

Where are the wallpapers/ringtones located?

My phone is rooted, i've cleaned out most of the bloatware and i'm starting to customize it to my own, but i'm trying to find out where to put my music/ringtones/pictures/wallpapers and i'm kind of lost.
When I mount and open it to view files, these are the folders in my internal storage
Android
ClockworkMod
data
DCIM
FeebeRings
layar
TitaniumBackup
newsImage
update.zip
Can someone please tell me exactly where to put all of my things? It would be GREATLY appreciated, thanks!
For your Music,, you can put them in any folder,, the OS does a screen on the SD Card on every boot and it will detect your music. So basically just put them in a folder named Music.
The Ringtones go in \system\media\audio\Ringtones
Pictures Goes in DCIM, wallpapers can be put in the same directory cuz when the OS scans the SD Card it will detect your wallpapers as pictures.
The built in wallpapers are in an .APK so you can not have your wallpapers added to the built in...
^ I think you could probably take the TWwallpaper .apk and extract it to find the pics and delete/add them and then rezip it?
system/app/twwallpaperchooser/res/drawable-hdpi
this is where the backgrounds are. I wonder if you could just add/delete them in this folder using root explorer?
I have never done it.. but it seems like it could be done.
eortizr said:
The Ringtones go in \system\media\audio\Ringtones
...
Click to expand...
Click to collapse
So, I have the same question (having just successfully flashed), but am confused about the answer. In the poster's question, as in my phone, there is no "system" directory.
I still have bionix-v-1.3.1.zip in the root directory of the internal memory. Apparently the poster had already removed the .zip file of whatever version he/she flashed from the root directory. The only place I can find a \system\media\audio\Ringtones directory is in that zip file. I see all of my currently available ringtones there, and can't find them in any other directory. (This seems odd, as I'd have expected them to be created somewhere else in phone's internal memory, as part of the flashing process).
Are you saying to just go ahead and treat bionix-v-1.3.1.zip like a directory, and drag a file into the directory in that file?
P.s. I have that "is this so obvious to everybody but me?" feeling, since xKrazYx626 seemed to have no problem understanding your answer
You guys need to get root explorer to view these directories
Project-V 6/11/11
Shortbus-Driver said:
You guys need to get root explorer to view these directories
Project-V 6/11/11
Click to expand...
Click to collapse
+1 to that shortbus

How to find apps moved to storage?

This may be a dumb question. I am wondering where apps moved to internal storage are to be found. Somehow I can't find them anywhere in /storage. Thanks!
arpruss said:
This may be a dumb question. I am wondering where apps moved to internal storage are to be found. Somehow I can't find them anywhere in /storage. Thanks!
Click to expand...
Click to collapse
What you mean with find the apps?
The apks? The data folders?(savegames)
You can get the apks of your apps with a backup programm
I am assuming their data is stored in /data/data, but I could be wrong. I'm looking for the directory where the apks are stored, so I can back them up (with tar).
arpruss said:
I am assuming their data is stored in /data/data, but I could be wrong. I'm looking for the directory where the apks are stored, so I can back them up (with tar).
Click to expand...
Click to collapse
Do you have root?
There are an file path with the apks, i'll search it
Yes, I have root.
I tried:
su
cd storage
find . -name \*.apk
and it didn't find them. Nothing that du shows seems promising, either.
Sorry i dont find the path, but just backup your apks with this progamm:
http://market.android.com/details?id=tw.nicky.AppBackupReinstall
This will create a dirsctory in your storage named "App Backup"
In that directkry there all your app's apks
Found it! It's accessible from /mnt/secure/asec .
Here's an interesting thing. It contains apps I had installed, and then I reset Android, so they disappeared from the app drawer. But they were there in /mnt/secure/asec all along, taking up space, though inaccessible.

Sony Xperia J Problem Please Help!!! :(

I have a Sony Xperia J, and the performance and among others are excellent, but I have a problem due to my own stupidity in using others product memory card loader and screw-up the whole system.
Basically I didn't brick my device it still boot perfectly but the problem is, after boot-up it will shows the error message "Unfortunately, com.sonyericsson.usbux has stopped" = PC can't recognize my device anymor and my device won't recognize the internal and external card anymore.
Is there anyone can help me step by step on how to edit the '\system\ect\vold.fstab' and replace the content of that file, then I think this will solve the problem.
The problem arise when I replaced the file '\system\ect\vold.fstab' with froyo edited version.
Thanks in advance,
Aavatar(a.k.a. Paul Tsen)
You should try replacing the vold.fstab with the stock one. Extract it from a stock ftf for your phone
Tapatalked !
Rapier07 said:
You should try replacing the vold.fstab with the stock one. Extract it from a stock ftf for your phone
Tapatalked !
Click to expand...
Click to collapse
I have the stock vold.fstab, I've backed up but I can't replace the file cause the \System\ect\ folder are read only and I can't even copy the stock vold.fstab into my device. Any suggestion on how to copy the stock vold.fstab back to the \system\ect\?
Thanks in advance.
I Have the Same Problem......
Hi i have the same problem, and im advance in the solution first you have to search the app "SOLID EXPLORER" this app lets you make modifications even if the folder is in "read-only mode" now you can modify the vold.fstab file, im stuck here because i dont know how to code the file, so please help me to find the solution.
FelinoZX said:
Hi i have the same problem, and im advance in the solution first you have to search the app "SOLID EXPLORER" this app lets you make modifications even if the folder is in "read-only mode" now you can modify the vold.fstab file, im stuck here because i dont know how to code the file, so please help me to find the solution.
Click to expand...
Click to collapse
For your info 'SOLID EXPLORER' does not have any root access and cannot edit protected folder file so can't do anything, but anyhow I've send back my device to Sony Center for RMA and just get back a new replacement, thanks for the reply anyway.
For an advice, next time anyone that wanted to edit or replace the vold.fstab file, copy to root and rename it to vold.fstab.bak so that if you screw up you still can use the root explorer to copy it back to the /system/ect/ folder.
Aavatar said:
For your info 'SOLID EXPLORER' does not have any root access and cannot edit protected folder file so can't do anything, but anyhow I've send back my device to Sony Center for RMA and just get back a new replacement, thanks for the reply anyway.
For an advice, next time anyone that wanted to edit or replace the vold.fstab file, copy to root and rename it to vold.fstab.bak so that if you screw up you still can use the root explorer to copy it back to the /system/ect/ folder.
Click to expand...
Click to collapse
For your info i fix my Xperia TIPO actually i replace the internal SD for the External SD with SOLID EXPLORER but anyway if you dont want to expend 3 hours to writte the code manually you made a good decision.
FelinoZX said:
For your info i fix my Xperia TIPO actually i replace the internal SD for the External SD with SOLID EXPLORER but anyway if you dont want to expend 3 hours to writte the code manually you made a good decision.
Click to expand...
Click to collapse
Now I have a much safer solution for this, I use 2 apps(DirectoryBind and Link2SD both need root access) in order to achieve everything.
1. Partition your External SD Card for use with Link2SD(for my case I'm using a 16gb Class 10 SD Card 1st partition takes whatever space and
leave 1gb for 2nd Partition Primary and format = FAT32)
2. Install Link2SD(from PlayStore) and assign the 2nd partition(make sure you have root access).
3. Check the Auto Link in Link2SD Preference
4. Select External in Install Location(Link2SD)
5. Install DirectoryBind,
6. Create a folder name Bind(or whatever you like to call it) for placing all the bind folders.
7. Create a another folder called 'android' inside 'Bind' folder eg:- /Bind/android/ (for PlayStore Apps Data)
8. Create another folder called 'Gameloft' (if you intended to install gameloft games) and create another 'Gameloft' folder in Internal Storage
9. Now add the External SD Card /Bind/android/ to Source (Data) Path at DirectoryBind and Internal Storage Android /SDCard/android/ to
Mount (target) path, check the 'Transfer files from target to data' (if the source android folder isn't empty) and press Add.
10. Do step 9 with Gameloft folder
11. Select Bind all checked to activate
12. Do the same step 9 for all others apps that create own forlder in internal storage such as Sygic create 'Aura' Folder in your internal storage.
Now you are done and any apps from Playstore or Gameloft the default apps will be linked(placed) in Ext SD Card 2nd partition and Data to Ext SD Card Bind folder
Have fun!!!!!
Sony Xperia J Widgets Removing Problems
I have experienced an hair splitting problem to remove short cuts and widgets from Home screen.
The herculean task never shown any results so far. If this gadget is meant for only computer wizards
why the hell the sell it for the common man ! This is impossible for any user. Only the creator can
solve the entangled knots. They should not have sent this model to show cases for public. Please
help if any egg- head can solve it...
Same Problem
Aavatar said:
I have a Sony Xperia J, and the performance and among others are excellent, but I have a problem due to my own stupidity in using others product memory card loader and screw-up the whole system.
Basically I didn't brick my device it still boot perfectly but the problem is, after boot-up it will shows the error message "Unfortunately, com.sonyericsson.usbux has stopped" = PC can't recognize my device anymor and my device won't recognize the internal and external card anymore.
Is there anyone can help me step by step on how to edit the '\system\ect\vold.fstab' and replace the content of that file, then I think this will solve the problem.
The problem arise when I replaced the file '\system\ect\vold.fstab' with froyo edited version.
Thanks in advance,
Aavatar(a.k.a. Paul Tsen)
Click to expand...
Click to collapse
Hello,
I am facing the same problem, Please Help me how did you fix it. It would be easier if you guide me step by step. Thanks

Moving Google Access Music To SD With FolderMount??

I cannot get folder mount tovmove my Google Access music. In fact when I use it to browse my SD card, it never populates folder sizes or anything else.
I used this for the sane purpose on my Razr, with success. Has anyone got this app to work on their S4?
jeepguy_1980 said:
I cannot get folder mount tovmove my Google Access music. In fact when I use it to browse my SD card, it never populates folder sizes or anything else.
I used this for the sane purpose on my Razr, with success. Has anyone got this app to work on their S4?
Click to expand...
Click to collapse
I'm also having the same problem. Are the files stored somewhere else, because they don't appear to be in com.google.android.music.
EDIT: I think I figured it out! The location for the music is actually /data/data/com.google.android.music. Happy listening!
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Does it still let you write new music to this location?
It has for me. I have cached about 400 songs offline after doing the symlink
Sent from my SCH-I545 using Tapatalk 4 Beta
Ainvar said:
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Click to expand...
Click to collapse
symlinks are the way to go. do it with my solid state hard drive to a bigger drive, works great
This worked for me. But every time I reboot I get a "Google Music has stopped working" error. It onky does it once, right as the OS loads back up.
Ainvar said:
First kill play music app so it is not running
Then (I used solid explorer, but I am sure you could use a terminal app. adb shell, or any other app you prefer to use.
In Solid Explorer by deleting the music folder located in /data/data/com.google.android.music/files/music and then I created a symlink from /storage/extSdCard/files/music to /data/data/com.google.android.music/files which makes a music folder that points back to the external sdcard.
Last reboot your phone
It works very very well and all the music I want to cache from what I have stored in google works well.
Hope this helps you out.
Click to expand...
Click to collapse
It worked. Thank you.
Fixed the error. Now it's 100%
jeepguy_1980 said:
Fixed the error. Now it's 100%
Click to expand...
Click to collapse
How'd you fix it? Or did it just stop?
Sent from my SCH-I545 using xda app-developers app
I assume the problem was because I had converted Play Music to a use app. I just reinstalled my Rom and then recreated the symlink and it seeme to be working now.
darek65 said:
It worked. Thank you.
Click to expand...
Click to collapse
Anytime!
Ainvar said:
Anytime!
Click to expand...
Click to collapse
Is this really working or is it just duplicating your device folder on your sdcard? Since our phone's file system doesn't support symlinks, I don't understand how this is working! I've read many threads and no one can get this to work on the verizon version. Just curious!
Working for me! Symlink does work... thats what folderMount does.
Sent from my GT-N8013 using xda premium
krazykevin76 said:
Is this really working or is it just duplicating your device folder on your sdcard? Since our phone's file system doesn't support symlinks, I don't understand how this is working! I've read many threads and no one can get this to work on the verizon version. Just curious!
Click to expand...
Click to collapse
I did not symlick the folder from the phone to the sd card. I actually deleted the cache and files folder located in /data/data/com.google.android.music and then I created a symlink from the cache and files folder I created on the sdcard to the system root partition.
So look at it like this. I created shortcuts inside the system root folder from the source located on the sdcard. So when Google Music go to place content in the cache and files folder in the system root partition it is actually placing this content on the sdcard.
This has been keeping my internal storage from diminishing and is using the sdcard.
I would say why not try it out yourself and test it out. You will be able to see everything for yourself.
This is doing exactly what FoulderMount does from internal storage to sdcard, but for the system root. I actually got the idea to try this when I got an error from FolderMount stating it cant be done from within the app.
Hope this answers your questions and concerns on this.
---------- Post added at 12:57 AM ---------- Previous post was at 12:53 AM ----------
chewwy420 said:
Working for me! Symlink does work... thats what folderMount does.
I am actually using FolderMount to do this for AmazonMP3 folder, DCIM, Downloads, Wallbase, and quite a few other apps. Specially with the beta setting os excluding the duplicate folders from being scanned into the media apps. The folder I have the files and cache in I have a .nomedia file in the rot folder to keep duplicate files from showing up in the media apps.
Sent from my GT-N8013 using xda premium
Click to expand...
Click to collapse
Exactly, it is what made me try it for Google Music. I was thinking of doing this for the space time studios games but they don't hit over 50 megs each when you download the content.
i did try folder mount. And that's why I'm asking how yall two got it working. Our phone's, GS4's, does not support symlinks. Google it. There is no one else on the net with a verizon phone that has this working. Yes, there are tutorials on the net about using folder mount and various other ways, but they don't work for our verizon model. There are many many threads on the verizon gs4 forums about people asking about foldermount. When most verizon gs4 users use foldermount, it just makes a duplicate folder on the sdcard, both the device folder and the sdcard folders just mimic each other, not gaining you any space on the phone itself.
krazykevin76 said:
i did try folder mount. And that's why I'm asking how yall two got it working. Our phone's, GS4's, does not support symlinks. Google it. There is no one else on the net with a verizon phone that has this working. Yes, there are tutorials on the net about using folder mount and various other ways, but they don't work for our verizon model. There are many many threads on the verizon gs4 forums about people asking about foldermount. When most verizon gs4 users use foldermount, it just makes a duplicate folder on the sdcard, both the device folder and the sdcard folders just mimic each other, not gaining you any space on the phone itself.
Click to expand...
Click to collapse
I am guessing you did not read what I have said in this thread. I did not use foldermount for this one but I did list the ones I did use foldermount for. I did state however that I did a "symlink" for google music folders. I never stated that I used foldermount for that. But no matter what I have said in the past few posts you dont want to listen or even try it out for yourself. I am very happy to know there are so many threads stating this cant be done.
Here is some information about symbolic links as I think you should read more about it.
Also you can create a symlink on an ext4 FS which is where the link resides and its target is on a fat32 FS. I never stated that I created the target on a fat32 you assumed this.
Also googling around about this I found an actually XDA thread that talked about yet someone else who was able to do this back in Nov 2012....
More links for your reading pleasure.... link 1, link 2, and last but not least one about the space usage which seems pretty clear that it does not do double space. Depending on how the software reads it, it may think it is using that space but it really is not. Read a little more next time. Google is not a hard thing to use when searching for answers. Also it is not hard to accept something works when others in this thread and others have plainly stated that it works.
Also just a little more information just in case you aren't sure about everything you read
Screenshot of files symlink and screenshot of cache symlink
Screenshot of files folder on the SDCARD and now for the screenshot of the cache folder on the SDCARD
I removed some songs to see if the device would record different storage use on the system root folder and it did not.
All in all believe what you want and do what you want, this works for me and it has worked for others on this thread and another thread I found earlier tonight.
Now....
You must be rooted....
Force Stop Google Music
In Solid Explorer (this is what I used)
go to system root and /data/data/com.google.android.music/ and delete files and cache (cache if you want to)
go to sdcard and make a folder called Google Music (or anything you want to name it...) create a folder called files and cache in this folder.
now right click and chose properties on files and chose create a symlink and give the path of the "/data/data/com.google.android.music/files This will be the target that is created.
now right click and chose properties on cache and chose create a symlink and give the path of the "/data/data/com.google.android.music/cache This will be the target that is created.
Now you are done. This is exactly what I did and it works very very well........
I'm man enough to admit when I'm wrong. I should have dug some more on the symlinks. I got even more confused when chewy said he made symlinks, that's what folder mount does. How do you have your sd card partitioned and formatted if you don't mind answering?
Sent from my SCH-I545 using xda premium
krazykevin76 said:
I'm man enough to admit when I'm wrong. I should have dug some more on the symlinks. I got even more confused when chewy said he made symlinks, that's what folder mount does. How do you have your sd card partitioned and formatted if you don't mind answering?
Sent from my SCH-I545 using xda premium
Click to expand...
Click to collapse
Not a problem, I just wanted you to be able to see the info.
My sd card FS is fat32 formatted by winbloze 7. Now my real test will be to replicate all of this once I get my 64gb sd card which will be formatted in exFAT.
I use foldermount for everything else though. It does well from my usage so far for the base few days and I dont have to remember which folders I use symlinks on. I just know from reading either on here or on the app page that the app does not make links in the system root. So I just tried to do a symlink and it worked well. Googling tonight actually showed me someone else did it before me.
Since you are having issues can I ask what type of sdcard do you have and what fs is on it? Also what app are you using to do the symlink? is it an app or are you doing it from a terminal emulator or through adb shell?
Ainvar said:
Now....
You must be rooted....
Force Stop Google Music
In Solid Explorer (this is what I used)
go to system root and /data/data/com.google.android.music/ and delete files and cache (cache if you want to)
go to sdcard and make a folder called Google Music (or anything you want to name it...) create a folder called files and cache in this folder.
now right click and chose properties on files and chose create a symlink and give the path of the "/data/data/com.google.android.music/files This will be the target that is created.
now right click and chose properties on cache and chose create a symlink and give the path of the "/data/data/com.google.android.music/cache This will be the target that is created.
Now you are done. This is exactly what I did and it works very very well........
Click to expand...
Click to collapse
Just wanted to say thanks for this! I ended up buying Folder Mount thinking it would do it but I couldn't seem to access root folders. I didn't realize Solid Explorer could do it too and I already own it. The steps made it a snap

Categories

Resources