sync save game with drop box between pc and android drops permissions - Android Apps and Games

knights of pen and paper saves to data.kopp on both pc and android. dropsync would not see the folder the game saves too (/data/data/br.com.beholdstudios.knightspp/files) so i used folder mount to mount it to the sdcard. i set dropsync to sync the mounted save folder, than on the pc i made a mklink, linking the file (not folder) in dropbox to the save folder on pc. it successfully syncs both ways and is playable on both platforms. the only problem is after playing on pc, when it syncs back to the droid it changes the permissions to owner can read and write only. i cant change owner to the app, and i cant elevate the games access, so each time i have to manually change permissions so "other" can read and write using rom toolbox root explorer. i was hoping this process could be completely automated. im guessing being saved on a non lynix file system erases lynix permissions. any ideas how i can fix this.

No replys, is this the best place to post this or should i move it?

Related

Transparent Encrpytion

Okay what I want is a way to encrypt files on my SD Card transparently. For example, when I make a "Compressed Folder" in Astro File Manager called "b" it makes a file called "b.acd"
What I want is a way to encrypt file like that, where it makes a file on the SD Card but like b.acd, it's encrypted (I assume b.acd isn't because I am assuming anyone who has Astro can read it).
So I want the folder to act like any other folder on my phone (and in order to access it I have to unlock my phone, no one who doesn't know my unlock pattern can't use it) and if they take out the card and use a card reader all they see is a file that they cannot open.
I guess whatever app does this will ask me for a key when I install it so then the app will encrypt and decrypt the data as I am using it.
I have searched the market for encryption software, but with the apps I found I had to manually encrypt and decrypt the files myself unlike how Astro uses ACD archives...
Possibly maybe there could be a program I can run on my PC to access the encrypted files when I provide it with the key...
I have a similar requirement
What I did was make a disk image and call it pagefile.sys
Then I mount the image to a folder when I want access
If you use an ext filesystem on the image when you plug it into windows all you see is a 1gig file called pagefile.sys and can't access it.
It is not very secure, but hidden well enough so someone can't stumpble upon it. Unless they are a bit computer savvy.
So it depends what your hiding and who your hiding it from.
Where did you put the file, on your card? How did you mount it to a folder? I want something a little more secure. Should the phone get stolen or something, even if the crackhead that steals it doesn't know how to access the files, they might find someone who can...
Yep. The file can go anywhere on the SD and be called anything.
it is mounted with a terminal emulator to any folder in the same way you would in Linux.
the command would be
# mount -o loop -w -t ext2 filename foldername
If you want something more secure I would look elsewhere.
Truecrypt is excellent. But you won't be able to access your files on your phone. Truecrypt for android would be the nuts if someone wants to port it. It is open source.
Oh so you can get a termnal emulator? Where did you get yours from, the market?
Yep. Connectbot is the best.
It says ConnectBot is an SSH client, so do you have to connect to localhost or something?
That's right. You get 3 options in connectbot.
Telnet
SSH
Local.
You can set a shortcut to local on your homescreen if you like.
Anyways, does anyone here know how to actually encrypt the files?
I found a program on the Market that lets you store text and pictures (in the paid version) and acesss them directly without encrypting and decrypting them. But it would be nice if there was a free app that let you store files like normal...
APG is what you want if you want security.
An android port of GPG, which is basically NSA quality encryption depending on how you set your keys.
Create your filesystem as mentioned above, and then encrypt it using APG. Delete the original. Now you have an encrypted filesystem. When you want to access, decrypt, mount, make changes, unmount, reencrypt, delete original.
A pain in the butt, but you won't be able to be more secure.
Would you have to repeat those steps everytime you change the filesystem?

Any good File Manager Apps

I've been learning to be pretty carefull on apps I use since I picked up my GTablet. Weird things keep happening with my movie directories. They keep deleting the movies. For instance I tried out EFile File Manager. I've been using Rockplayer which reads local sdcard (internal memory) but doesn't ready sdcard2 (my additional mini sdmc card). So I've been using sniffer to navigate to that area then play video by clicking on the file. I grabbed EFile because I wanted and app that could copy files between internal (sdcard) and the mini sdmc (sdcard2) and the standard file apps (sniffer and file manager) don't seem to be able to do that.
However, after having a process error message on EFile and then finding my video's wiped on sdcard2 I've gotten a little more carefull about what I play around with in the market store.
For regular Viewsonic G Tablet folks is there any good file managers that would be better to use for file copies between sdcards?
Thanks!
Ghost Commander is great. It has a two pane view that works really well on a tablet.
I use root explorer for my everyday stuff when on just my tab, ESfile explorer to stream from my pc, and wifi file explorer for small file transfers to my tab. I couldn't decide on just one so I got all 3. Hope this helps!
HawaiiMIke said:
I've been learning to be pretty carefull on apps I use since I picked up my GTablet. Weird things keep happening with my movie directories. They keep deleting the movies. For instance I tried out EFile File Manager. I've been using Rockplayer which reads local sdcard (internal memory) but doesn't ready sdcard2 (my additional mini sdmc card). So I've been using sniffer to navigate to that area then play video by clicking on the file. I grabbed EFile because I wanted and app that could copy files between internal (sdcard) and the mini sdmc (sdcard2) and the standard file apps (sniffer and file manager) don't seem to be able to do that.
However, after having a process error message on EFile and then finding my video's wiped on sdcard2 I've gotten a little more carefull about what I play around with in the market store.
For regular Viewsonic G Tablet folks is there any good file managers that would be better to use for file copies between sdcards?
Thanks!
Click to expand...
Click to collapse
Rockplayer will see /sdcard2. You can go into settings and set sdcard2 as default and when in sdcard2 you can hit the back button to get to the root directory from which you can see sdcard, sdcard2 and usbdisk (if you have a usb flash drive plugged in)
If you are using a file manager anyways to view media from your SDCard2, putting a .nomedia file in the root of your sd card2 should stop the files from being deleted. After that, you can use Rockplayer as normal to view your vid files.
Hands down root explorer. There is an endless amount of things it can do if you know what your doing. I've tried many. Root explorer has a plain look took it but you can do the most with it. If you are an advanced android user you can't go wrong with root explorer.
gkitab said:
Hands down root explorer. There is an endless amount of things it can do if you know what your doing. I've tried many. Root explorer has a plain look took it but you can do the most with it. If you are an advanced android user you can't go wrong with root explorer.
Click to expand...
Click to collapse
I'm a stickler on file sorting settings and view settings and root explorer does a great job here. If only it also had a file directory hiearchy window so u could just jump to another folder, instead of hitting back a bunch, ah well. It suits my needs.
Thanks for the suggestions
Thanks,
I will give those a try!
There is another one called Yaffs explorer that seems to work ok as well. It has some cosmetic bugs (menus sometimes appear in French) but I have used to do things like modify build.prop without any difficulty. And (at least at the moment) it is free.
file explorer
I use ES file explorer is what i use i activate the root explorer in the settings works geat with no problems
FastKatt said:
Ghost Commander is great. It has a two pane view that works really well on a tablet.
Click to expand...
Click to collapse
+1 for Ghost Commander. Very nice, fast and user specific configurations.
simple the best: total commander for android

[Q] Possible to Assign Multiple Group ID's to an App (UID) in Android?

Hey guys, I've been searched for many hours trying to find a solution to this problem I'm having. Let me first explain what I'm trying to do and the reason for it.
Basically I have Dropbox setup to auto sync encrypted files to a folder on my sdcard, lets say:
/storage/sdcard1/encrypted_notes/
Then I have Cryptonite installed and have created an encfs mount in my data folder here:
/data/data/share.encrypted/
I've created the mount point there because simply put, I don't want my decrypted files on the sdcard accessible by every other app that has access to the entire sdcard.
At the moment, /data/data/share.encrypted is chowned by the uid & gid that is assigned to Cryptonite.
Now I want my note reading app to be able to access all files in that folder so my plan was to simple add the note reading apps' UID to the GID of Cryptonite.
That's what I've been searching google to figure out how to do, add a UID of an app to a GID of another app in android.
Sounds simple enough, but I have no idea how to do it. There is no "groupadd" command in android as far as I can tell, nor does busybox have this command.
Is there some other way to do do this?
Or even... some other way I can setup my system so the decrypted notes are still available by both apps and no other app?
Any help is really appreciated. Thanks
I thought I had something going, I managed to change the group owner of the notes folder
/data/data/share.encrypted/ to uid of the notes program and gid of cryptonite and successfully mounted
/storage/sdcard1/encrypted_notes/ into that directory using cryptonite, and on top of that was able to edit the files in the notes program only to discover two things.
Firstly, mounting that encrypted notes folder to the data folder uses the filesystem permissions of the encrypted_notes folder on the SD Card (obviously), something I didn't think of - basically making /data/data/share.encrypted/ world write/readable to any app that has access to SD Card.
So doesn't really help me in terms of keeping things secure.
So then I thought of a new idea, creating a separate partition ext4 on my SD Card, making *that* folder my encrypted notes sync folder owned by the notes program uid and cryptonite as group and instead mount that, until I then realized, I need a 3rd app to have r/w access to this encrypted notes folder... my notes syncing app - FolderSync -
So now I think I'm back to square one. The easiest way to do all of this that I can think of (on a Linux system) would be to add the 3 apps to a group and just have the folder r/w by that group (and therefore those 3 apps).
But after lots of continued research the past few days... I'm finding that Android is very very anti-this-idea in the fact that it really really doesn't like apps sharing data (except universally shared data on the SD Card) and I can't figure out a way to assign apps to additional groups beyond their initial group that is created just for them. :crying:
I found another similar discussion about the non-security of storing your cryptonite unencrypted notes on world readable sd card here:
http://forum.xda-developers.com/showthread.php?t=1561339
With the following two points which are my personal concern as well:
http://forum.xda-developers.com/showpost.php?p=25837127
http://forum.xda-developers.com/showpost.php?p=26265852
I'm having a really difficult & frustrating time here.
Any thoughts anyone?

[Q] Move game data without root to extSdCard

Hi,
im thinking about this problem some time and i dont understand why there isnt yet app for it. If i understand its technicaly only moving files from one place to another where we have r/w access on both of them. So basicly is possible to create app, where could be some user defined database for example - user could click to add button and define icon, name and path to Android/Data folder for app/game and then add it to database. Now user can see app in list and for example by click on it could move this Android/Data using this teoretical app to extSdCard and back to internal storage.
Or there could be something like moving Android/Data folder for specified app to extSd while adding it and when user want to start it will use button in app (which use process like move back to internal storage and then run the app) or some modified shotcut generated by app (with same process) insted of original. There could be some background process controling if executed app is still running and while not it can move data back to extSdCard.
Its not the best method to do that but i dont see here anything requiring root access. Maybe i missed something?
I hope U understand what I want to say, im sorry english is not my primary language

[Q] I cant see folders on my SDCARD

When i plug my OPO on my computer all the memory is empty but all apps work on my phone and when i want to create a folder "Music" there is a message that say me "This folder already exist". I know that because i created this folder 2 day ago, so why i cant see the folder and the other folders.
(I hope my english is enough understandable)
What type of computer are you using? Mac or Windows? If you are on windows, when you are in the file explorer, try clicking on "view" at the top and checking "hidden items".
If it still doesn't show anything, try changing the usb connection on the phone from MTP to Camera, or vice versa.
Lastly, you could use ES file explorer to try to navigate your files.

Categories

Resources