[Q] DirectoryBind /data/data - Droid RAZR M Q&A, Help & Troubleshooting

Using root explorer I found that a lot of the apps are stored under /data/data.
But when I used directorybind I am unable to see /data/data.
Has anyone come up with a solution to this?

Turn off the directory validation and it will work, but you will have to enter the path manually.
Sent from my XT907 using xda app-developers app

That didnt work... directory bind cannot read from that directory.

Nevermind I got it. There was a space in one of the directory names. I just manually did some of the folders since some of the apps crash when moved to the sd card.

polo2883 said:
Nevermind I got it. There was a space in one of the directory names. I just manually did some of the folders since some of the apps crash when moved to the sd card.
Click to expand...
Click to collapse
can you please provide more details (specific steps you took)? I'm still struggling with this!!!!

Related

internal memory

So has anyone been able to figure out how to use the internal memory for movies/music/pictures
I've been able to add items to the internal memory via an update.zip installed through Clockwork.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
NotATreoFan said:
I've been able to add items to the internal memory via an update.zip installed through Clockwork.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
Click to expand...
Click to collapse
I don't think you understood my question. but how would I install my music/movies/pics through an update file, and be able to see it in music player and gallery.
titos1997 said:
I don't think you understood my question. but how would I install my music/movies/pics through an update file, and be able to see it in music player and gallery.
Click to expand...
Click to collapse
I understood your question. I create an update.zip containing the folder structure that Android recognizes, and then I script them to install to internal memory. After rebooting, my ROM is untouched and I have the files in the internal memory.
Can you not just use root explorer to move the media files to a place on internal memory.?
Sent from my DROIDX using XDA App
monkespit said:
Can you not just use root explorer to move the media files to a place on internal memory.?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
You can put them there with root explorer, but the only place I know of that you can put files on the internal memory is /data. If you place them anywhere else they will disappear after a reboot. I have movies on mine (with root explorer)but in order for the app (rockplayer) to see them I have to remount and chmod the /data directory. I have a very simple script in gscript to do this with as the permissions reset themselves after reboot. Here is the command:
mount -o rw,remount -t yaffs2/dev/block/mtdblock3 /data chmod 777 /data
The whole thing is a pain and the stock apps don't see the internal memory so you have to use rockplayer or vplayer to use the files. The update.zip is probably a better solution, but I would have no idea how to go about that.

Move apps from ext to internal memory?

Hi,
I wanted to move some apps from the ext-partition of my cm6-based rom back to the internal memory. I tried moving the apk from /sd-ext/app to /system/app with ES-File Explorer but this broke the apps (FC). Do I need to move more files or is there another trick to get this to work?
Try moving app from data app to system app. I use root explorer for this and works fine
I've got no "app" folder in my /data/ folder
Janzomaster said:
I've got no "app" folder in my /data/ folder
Click to expand...
Click to collapse
If you're using estrongs I'm not sure you'd see it. Root explorer works for me but ADB is another way to do it. If you have an ext partition on SD all downloaded apps will go there but some file managers I used don't access bits of data on my SD : )
Sent from my HTC Hero using XDA Premium App

[How To]Play games from external sdcard//

Requirements :
Terminal Emulator
Game data
SuperUser
The game data is usually found in /sdcard/Android/data or at /sdcard/Android/obb....
1] Copy the game data from your internal sdcard to the external sd card.
2]Create an empty folder with the same name as that of the game data folder at the place from where you copied the data.
[In my case i copied jp.sega.vt folder from /sdcard/Android/obb to /extSdCard/gamedata
3]Open terminal emulator and type
su
mount -o bind /current location of game data /location from where you copied game data
In my case, i wrote
Code:
su
mount -o bind /extSdCard/gamedata/jp.sega.vt /sdcard/Android/obb/jp.sega.vt
Do this for all games you want to move..
Enjoy the game...
You'll have to repeat this process every time you restart the tab..Otherwise create a shell script and run it..
the current location of your gamedata is on your extsdcard??
theelitekiller said:
the current location of your gamedata is on your extsdcard??
Click to expand...
Click to collapse
yup...i copied the game data to the extsdCard and now am mounting it to the sdcard...
kan_bleach said:
yup...i copied the game data to the extsdCard and now am mounting it to the sdcard...
Click to expand...
Click to collapse
It keeps telling me mount no such file or directory.
Can you make a video?
Sent from my GT-P5100 using XDA Premium HD app
theelitekiller said:
It keeps telling me mount no such file or directory.
Can you make a video?
Sent from my GT-P5100 using XDA Premium HD app
Click to expand...
Click to collapse
i'll try making one...
Meanwhile, tell me the steps you took..
Also post a snapshot of your root directory...
I made a folder called gamedata on my extsdcard and i copied the folder of the game and put it in gamedata and removed it from sdcard
Sent from my GT-P5100 using XDA Premium HD app
theelitekiller said:
I made a folder called gamedata on my extsdcard and i copied the folder of the game and put it in gamedata and removed it from sdcard
Sent from my GT-P5100 using XDA Premium HD app
Click to expand...
Click to collapse
your sd card should also have an empty folder with the same name as that of the folder of the game...
it worked i just had to type extSdCard instead of extsdcard.
why not just use the script from here..http://forum.xda-developers.com/showthread.php?t=1961097 and have the ext as internal and alot less painful of having to go through each game? Not trying to start a flame war, seriously just asking?
truskillzz said:
why not just use the script from here..http://forum.xda-developers.com/showthread.php?t=1961097 and have the ext as internal and alot less painful of having to go through each game? Not trying to start a flame war, seriously just asking?
Click to expand...
Click to collapse
I found this method more suitable...
kan_bleach said:
I found this method more suitable...
Click to expand...
Click to collapse
gotcha..lol yea was just wondering
or..is not possible merge internal and external card, so with a ext.32gb we could have a 48gb internal sd?

[HOW-TO] Recover Internal Memory lost after XXUFME3

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

[Q] Make external sdcard show up under internal storage

Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
TrofeoSC said:
Would this help you?
http://forum.xda-developers.com/showthread.php?t=2285221
Click to expand...
Click to collapse
Thanks, but I already looked into that. It won't work for this unfortunately.
Please read forum rules before posting
Questions and help issues go in Q&A and help
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Ingenium13 said:
Is there a way to basically create a symlink to /storage/extSdCard on the internal sdcard? I'm using an app that will only let me view files on the internal card. I'm coming from an HTC phone and the external sd card appeared as /sdcard/ext_sd.
I've tried creating the symlink through Root Explorer, Solid Explorer, and manually via adb (with root). I've tried every location I can find for the internal storage (/storage/emulated/legacy, /storage/emulated/0, /sdcard). Every time it says "link failed Operation not permitted".
I'm wondering if there's a way I can basically mount the external sd card in an additional location (in this case under the internal sdcard)? I've used a custom firmware on a router before that had a flash drive mounted as both /opt and /media/USB, so I think it's possible to have a partition mounted in multiple places.
Does anyone know how to do this, or have suggestion for a different way to accomplish it? Thanks.
Click to expand...
Click to collapse
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
screwdestiny said:
I use the FolderMount app. https://play.google.com/store/apps/details?id=com.devasque.fmount&hl=en
I use it to create a symlink between the directory in data/data where Google Music stores files and my external SD card.
Click to expand...
Click to collapse
Thanks, but I've already tried it and it won't work for this situation.
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Firsh said:
I found the solution, registered just so I can share this with you or anyone who needs it. Folder mount didn't seem to work for me either.
There is a file manager called 'Lidroid File' and a plugin for it called 'Super mount', both are available for free from the play store.
Install them, and then you can nicely pick a folder on the internal storage to mount the whole microSD in it, simple as that!
I needed this for Samba file sharing as I wanted to see the SDcard on the LAN and give it a network drive letter under windows 7.
Click to expand...
Click to collapse
Any updates to your solution? Does this still work?

Categories

Resources