[Q] Access internal memory - Shield Q&A

So I got my shield last week and have rooted it and I have been able to move all my apps to external sd. So far so good, but I want to move my save game from construction simulator to my shield. I don't have a problem getting the files off my m8 but I can't paste them to the folder in the mnt directory of the shields internal memory. I think I don't have permissions to write to it. Does anyone know how I can change this? I searched the forum but can't find it.
Thanks,
Sam.
The shield rocks!!!

Volleymansam said:
So I got my shield last week and have rooted it and I have been able to move all my apps to external sd. So far so good, but I want to move my save game from construction simulator to my shield. I don't have a problem getting the files off my m8 but I can't paste them to the folder in the mnt directory of the shields internal memory. I think I don't have permissions to write to it. Does anyone know how I can change this? I searched the forum but can't find it.
Thanks,
Sam.
The shield rocks!!!
Click to expand...
Click to collapse
The only way I know how to change permissions is by downloading ES File Explorer, long press on a file / folder and tap "Properties". From there you can change permissions. Keep in mind that ES File Explorer will only work if you have SuperUser or SuperSU installed on your rooted device.
In your case I bet you can change the permissions of the "mnt directory" to both read and write. Let me know if it worked out

Thanks for the reply, I checked what you said about the permissions in the file Explorer, it turns out the write permission was fine, I just didn't have the root Explorer option ticked!
I don't know why but I stuffed around trying to copy files from my phone to my shield and couldn't get it working. And then I figured titanium backup would make things much easier, made a backup on my phone, emailed it to my shield and bang construction simulator is ready to play with my profile loaded.
Thanks for the help, next time I'll make it easier on myself!

Volleymansam said:
Thanks for the reply, I checked what you said about the permissions in the file Explorer, it turns out the write permission was fine, I just didn't have the root Explorer option ticked!
I don't know why but I stuffed around trying to copy files from my phone to my shield and couldn't get it working. And then I figured titanium backup would make things much easier, made a backup on my phone, emailed it to my shield and bang construction simulator is ready to play with my profile loaded.
Thanks for the help, next time I'll make it easier on myself!
Click to expand...
Click to collapse
Happy to know that all worked out! GO SHIELD!!! ^_^

Related

[Q] Backup?

Noob question here, how do i make a backup on this phone? do i need to unlock bootloader? it was so easy on the hero lol
I am also wondering this. I have a new stock NS4G with 2.3.4. I would like to root it, but my understanding is that is only possible on 2.3.4 if I unlock the bootloader also... right? Which will wipe my data.
Is there ANY option I have to backup data while not rooted? Specifically some saved games I have... Plants vs Zombies and Cut the Rope... I've spent (wasted) way too much time on those games to lose my saves!
I think game data saves are stored in/data/data/
I'm not 100% on this. See if you can back that folder up. Again, I'm not 100% on this. Do your research and come back to confirm but im about 75% certain it's /data/data/ but don't take my word.
Hmm... using androzip on phone, I browse to /data and I see no contents. :-( But there are some other directories outside of SDcard that I can see contents. Weird.
You do have permissions to access the data files themselves, but you do not have permissions to see the folder contents. So you need someone rooted who has those games installed to give you the path and filenames for the save files. Then download terminal emulator and
cat /data/data/com.happy.gamex/subfolder/gamesave1.poo > /sdcard/backup/com.happy.gamex/subfolder/gamesave1.poo
Make sure the file copied correctly (the new one is not empty). Then backup the sdcard, as that will get wiped, too. After you root, play a couple levels so the game will recreate the save files. Then to put your info back:
cat /sdcard/backup/com.happy.gamex/subfolder/gamesave1.poo > /data/data/com.happy.gamex/subfolder/gamesave1.poo
Thanks for the info Max, that sounds promising. Very strange to have access permissions but not "see" permissions... never heard of that in my other computing experience. Now to find somebody to help me. I wonder if I can use SDK to install games there and see some directory structure in the emulated device to answer the question? I did a google search for Plants vs Zombies and found one guy saying it's impossible with that game, rooted or not... but I still want to find out for myself.
The111 said:
Thanks for the info Max, that sounds promising. Very strange to have access permissions but not "see" permissions... never heard of that in my other computing experience. Now to find somebody to help me. I wonder if I can use SDK to install games there and see some directory structure in the emulated device to answer the question? I did a google search for Plants vs Zombies and found one guy saying it's impossible with that game, rooted or not... but I still want to find out for myself.
Click to expand...
Click to collapse
Well, I'm having trouble installing PvZ on my virtual device, but I have some other things installed and would like to browse my device directories, but I think they are all buried in .img files in my virtual device on my Windows machine. Any tips on getting inside these .img files to look around?
The111 said:
Thanks for the info Max, that sounds promising. Very strange to have access permissions but not "see" permissions... never heard of that in my other computing experience. Now to find somebody to help me. I wonder if I can use SDK to install games there and see some directory structure in the emulated device to answer the question? I did a google search for Plants vs Zombies and found one guy saying it's impossible with that game, rooted or not... but I still want to find out for myself.
Click to expand...
Click to collapse
It's the way linux permissions work. If a folder has execute but not read permissions, you can access subfolders and files, but cannot read the folder contents. If one of the files in it has read access, you can copy it, even though you can't see the actual file listing.
Maximilian Mary said:
You do have permissions to access the data files themselves, but you do not have permissions to see the folder contents. So you need someone rooted who has those games installed to give you the path and filenames for the save files. Then download terminal emulator and
cat /data/data/com.happy.gamex/subfolder/gamesave1.poo > /sdcard/backup/com.happy.gamex/subfolder/gamesave1.poo
Make sure the file copied correctly (the new one is not empty). Then backup the sdcard, as that will get wiped, too. After you root, play a couple levels so the game will recreate the save files. Then to put your info back:
cat /sdcard/backup/com.happy.gamex/subfolder/gamesave1.poo > /data/data/com.happy.gamex/subfolder/gamesave1.poo
Click to expand...
Click to collapse
This appears to be untrue.
I finally found (via another forum) the complete path to one of the saved game files I was interested in:
/data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml
So I tried in terminal: "cat /data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml > /sdcard/test.xml"
result: "/data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml: Permission denied"
The111 said:
This appears to be untrue.
I finally found (via another forum) the complete path to one of the saved game files I was interested in:
/data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml
So I tried in terminal: "cat /data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml > /sdcard/test.xml"
result: "/data/data/com.zeptolab.ctr/shared_prefs/CtrApp.xml: Permission denied"
Click to expand...
Click to collapse
Ahh... so frustrating. I want to upgrade to 2.3.5 rooted, and if I know for sure I have to lose these files, then I guess I'll lose them. But if there is any way at all to save them obviously I want to figure that out before I cross the point of no return...

[Q] serendipity 7 - Camera

So, I just flashed the serendipity 7 ROM to my phone today, I love it. It's fast and doesn't drain the battery. Infused seem to drain the battery quickly.
Anyway, the power button to take a picture seemed to work this morning, now it doesn't. Is there some way to get it working again? I have installed lots of apps, but I don't think any of them mess with the camera. I installed the samsung quick office, music, clock and video player. (I downloaded the 4, not sure if I installed all of them.) I used the Android Sideload Wonder Machine, not sure if that is the source of the problem or not. Any help would be appreciated.
The power button doesn't work to take pictures in S7. I remember reading this somewhere and can verify it didn't work for me after flashing S7. What I did to get it working is:
(FIRST, make a nandroid backup just in case!!)
1. Using your favorite file explorer (Root Explorer for me), go to the system/app folder on your phone
2. Mount the directory as R/W.
3. Rename the camera.apk in this folder to something like camera.apk.bak
4. Find a copy of the Infused v2 ROM, unzip it, go to system/app, and copy that camera.apk.
5. Go back to the system/app folder on your phone, make sure it's still mounted as R/W, and paste the Infused camera.apk into the directory.
6. Change the permissions on the camera.apk to match the permissions of the original camera.apk.
7. Next, mount the system/app folder on your phone as R/O.
8. You may have to delete and remake any shortcuts to the camera app you have on your home screens.
This worked for me and has worked perfectly all day, but I've only used it for a day. I won't swear that it won't mess something up in the future. I have taken approx. 10 photos since changing this with no problems, but you never know. Make a nandroid backup just in case, and save the camera.apk.bak in case it does FUBAR something.
PS: I wrote this as if you're a total noob. If you're not, I apologize. Wasn't trying to be condescending, just thorough. lol
02ranger said:
The power button doesn't work to take pictures in S7. I remember reading this somewhere and can verify it didn't work for me after flashing S7. What I did to get it working is:
(FIRST, make a nandroid backup just in case!!)
1. Using your favorite file explorer (Root Explorer for me), go to the system/app folder on your phone
2. Mount the directory as R/W.
3. Rename the camera.apk in this folder to something like camera.apk.bak
4. Find a copy of the Infused v2 ROM, unzip it, go to system/app, and copy that camera.apk.
5. Go back to the system/app folder on your phone, make sure it's still mounted as R/W, and paste the Infused camera.apk into the directory.
6. Change the permissions on the camera.apk to match the permissions of the original camera.apk.
7. Next, mount the system/app folder on your phone as R/O.
8. You may have to delete and remake any shortcuts to the camera app you have on your home screens.
This worked for me and has worked perfectly all day, but I've only used it for a day. I won't swear that it won't mess something up in the future. I have taken approx. 10 photos since changing this with no problems, but you never know. Make a nandroid backup just in case, and save the camera.apk.bak in case it does FUBAR something.
PS: I wrote this as if you're a total noob. If you're not, I apologize. Wasn't trying to be condescending, just thorough. lol
Click to expand...
Click to collapse
Thank you, your explanation makes sense, and I am a total newbc lol. I'll do it tonight. Thanks!
Sent from my SGH-I997 using Tapatalk
How do I change the permissions?
Sent from my SGH-I997 using Tapatalk
If you have root explorer just long press on the file. It should have an option for permissions. The folder that the app is in has to be mounted as R/W to be able to change the permissions. I don't know specifically how to do it in other file managers. If you don't have root explorer yet, it is definitely worth getting. It's the best file manager I've used.
The exact permissions you need to set are:
All 3 rows should have Read checked, only the "Owner" should have Write checked, and nobody should have Execute checked. Make sure the file is already pasted into the system/app folder before you try to change permissions.
02ranger said:
If you have root explorer just long press on the file. It should have an option for permissions. The folder that the app is in has to be mounted as R/W to be able to change the permissions. I don't know specifically how to do it in other file managers. If you don't have root explorer yet, it is definitely worth getting. It's the best file manager I've used.
The exact permissions you need to set are:
All 3 rows should have Read checked, only the "Owner" should have Write checked, and nobody should have Execute checked. Make sure the file is already pasted into the system/app folder before you try to change permissions.
Click to expand...
Click to collapse
Thank you for all your help! It's working just fine. My icon disappeared automatically and I just had to bring it back to the front screen, no problem. Thanks!
steadly2004 said:
Thank you for all your help! It's working just fine. My icon disappeared automatically and I just had to bring it back to the front screen, no problem. Thanks!
Click to expand...
Click to collapse
Yes sir. Happy I could help.
Is it true you lose front camera functionality and HDMI out with S7? :S

[Tool] Use your external sd card for large files or game data

Only a few days with my note 10.1 and I'm already out of space (internal memory) due to large game data. The same thing happened to me with the galaxy tab plus earlier this year. Back then I used folder plug and my problem was solved but it seems that in my current situation folder plug doesn't work. That's when I heard of directory bind. I gave it a try and BINGO. The setup is pretty straightforward once you get the hang of it. I would recommend it to anyone who (just like me) runs out of internal storage on their GN 10.1. You can download directory bind from here
How to:
1) Install it of course then run it
2) Menu then add new entry
3) Target (where the file/folder you want to move is). Long press and it will give you a list of directories to choose from.
4) Source [where you want to put it (somewhere in your external sd I believe)]. Use /mnt/extSdCard/ instead of the one that is there by default.
5) Save
6) Enjoy!
NB:1) The disk icon before your link should be green if not just click on it. If it's red that means something is not right, check your directories again
2) Your device has to be rooted
can't download from 4shared , do you have other place to download? and some screen shot will be good too,
thank you
ommx said:
can't download from 4shared , do you have other place to download? and some screen shot will be good too,
thank you
Click to expand...
Click to collapse
Just checked 4shared and it's working fine. Anyways here's a new link (hope it works) .
I also included some screenshots
I can download now, thx will give it a try
this is perfect thanks, i tried it earlier but didnt put the /mnt/extsdcard/ part in, it actually works now
Hi there,
Tried to use it with Dolphin browser, in order to change the default download directory to the external SD card. As Dolphin itself can't.
No matter what I try, it just makes my downloaded files disappear from my browser's view (ES explorer).
They actually are somewhere, as I can run them from the download-window from the Dolphin browser, but ES explorer can't even find them.
Too bad.
Would have been a nice work around.
Regards,
***EDIT***
As soon as I unbind both the directories, the files reappear. In the sdcard directory that is (not etxSdCard)...
***EDIT 2***
No matter what explorer I use.
Don't use this method. Bugs many amd last files as well.
Consider swap method by other post
Sent from my GT-N8000 using Tapatalk 2
Dioky said:
Hi there,
Tried to use it with Dolphin browser, in order to change the default download directory to the external SD card. As Dolphin itself can't.
No matter what I try, it just makes my downloaded files disappear from my browser's view (ES explorer).
They actually are somewhere, as I can run them from the download-window from the Dolphin browser, but ES explorer can't even find them.
Too bad.
Would have been a nice work around.
Regards,
***EDIT***
As soon as I unbind both the directories, the files reappear. In the sdcard directory that is (not etxSdCard)...
***EDIT 2***
No matter what explorer I use.
Click to expand...
Click to collapse
That's weird i don't have such an issue with it. Did you double check your directories? I use root explorer with no issue at all (although sometimes player pro seems to show duplicates...)
hagalah said:
Don't use this method. Bugs many amd last files as well.
Consider swap method by other post
Sent from my GT-N8000 using Tapatalk 2
Click to expand...
Click to collapse
I haven't messed around with the other methods yet. However I'm gonna keep your comment in mind
Do you have your ES Explorer settings to show hidden files?
directory bind won't even install for me. it just keeps saying i am out of space, but i have 8.8 gb free. am i doing something wrong?
doesn't work on my S3. i put correcly directories as in the pictore. it cut files to my ext sd card. when i start this app it always want to download again data
slackGIR said:
directory bind won't even install for me. it just keeps saying i am out of space, but i have 8.8 gb free. am i doing something wrong?
Click to expand...
Click to collapse
I get that to it pisses me off.. So I flash cm10 and it fixed it so far I do miss some functions tho..
Sent from my GT-N8013 using Tapatalk HD
mmm, interesting...very interesting...

Hyperkin Smartboy ROM copying

First off, I am new to the forum, so if I'm breaking the rules (which I have read, and believe I am following correctly) or if this post would fit better in a different section, please let me know!
So I have the Hyperkin Smartboy USB-C version, and I was wondering if anyone knows of a way to download ROMs off of it? I have a few GB/GBC games that I would like to be able to play in times where I don't have the Smartboy and cartridge with me (NOT in order to file share, in fact I want to do this to avoid downloading the ROMs online). For those who don't know, it will temporarily place the ROM on your device and allow you to open it in an emulator. I attempted to load the ROM, open a file explorer, and copy the ROM from there, but the file wasn't there. My guess is that the Smartboy simply removes the ROM from the device unless either the Smartboy app or the emulator app is running.
Again, if this post is against the rules (as it could be considered pirating) please let me know and I will remove it. Thanks in advance for any info!
I figured it out!
Immediate after posting I messed around with it for about half an hour and figured it out, so here's how I did it if anyone is interested:
TOOLS/SOFTWARE NEEDED:
Hyperkin Smartboy
A file explorer app with the "archive" option located on the top half of the screen (I used File Explorer Root Browser by JRummy Apps)
The GB/GBC cartridge you would like to copy to your device
HOW TO:
Place the file explorer app at the top of your homescreen for easy access. Open the app and navigate to /storage/emulated/0
Plug your phone into the Smartboy and load the cartridge data
Hit "Run Launch Software". This will open the emulator
Go back to the homescreen and open the file explorer
Open the HyperkinSmartboySerial folder and archive smartboy.gb (place it in a ZIP folder)
Move the folder to your desired location and unzip it
And that's it! I hope this thread helps anyone who's been wondering how/struggling to do this. Enjoy
Disclaimer: Pirating is bad, mkay. Please don't download/share ROMs that you do not personally own a copy of.
Thanks for the info im going to try it.

Question Cant copy files in to Android/Data/

Hi All,
Just got my pixel tab and I need to push some config files in to Kodi's app data folder but am getting permission denied and cant use any file explorers on the tab to copy, same issue.
Have googled a bit and tried some of the workarounds, set my file explorers to allow system modifications under the app info page and still no dice.
Anyone have a working workaround for this? I primarily bought this thing to run Kodi on, so if I cant do something as simple as this with it... I wont be happy.
TIA
EDIT: Managed to use Kodi's internal file explorer to copy the config files, but question still stands if anyone has an answer, sure I will need to do something similar in the future.
TheAvatar said:
Hi All,
Just got my pixel tab and I need to push some config files in to Kodi's app data folder but am getting permission denied and cant use any file explorers on the tab to copy, same issue.
Have googled a bit and tried some of the workarounds, set my file explorers to allow system modifications under the app info page and still no dice.
Anyone have a working workaround for this? I primarily bought this thing to run Kodi on, so if I cant do something as simple as this with it... I wont be happy.
TIA
EDIT: Managed to use Kodi's internal file explorer to copy the config files, but question still stands if anyone has an answer, sure I will need to do something similar in the future.
Click to expand...
Click to collapse
Unless you're rooted, the only app that can access an app's data folder is the app (Kodi in this case).
This sandbox is by design for security.

Categories

Resources