[Q] Move game data without root to extSdCard - General Questions and Answers

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

Related

[Q] What's on my SD Card?

I was flicking through Root Browser on my SD Card today and I noticed some things that I have no idea what they are. In the past, I deleted them and it messed with my gallery or with other kinds of stuff.
The specific names of the folders are as follows:
burstlyImageCache
LazyList
LOST.DIR
Mikulu
myrecord
.wiyun
.udstate
.config_c38
What are these? what happens if I delete them? I'm not overly concerned, I'm just curious.
Chrisruns said:
I was flicking through Root Browser on my SD Card today and I noticed some things that I have no idea what they are. In the past, I deleted them and it messed with my gallery or with other kinds of stuff.
The specific names of the folders are as follows:
burstlyImageCache
LazyList
LOST.DIR
Mikulu
myrecord
.wiyun
.udstate
.config_c38
What are these? what happens if I delete them? I'm not overly concerned, I'm just curious.
Click to expand...
Click to collapse
generally if you do not know what something is, don't delete it. I think the image cache thing has to do with the camera, and anything with a dot in front of it is a system file, so leave those alone.
Delete it if its unuseful!
generally if you do not know what something is, don't delete it. I think the image cache thing has to do with the camera, and anything with a dot in front of it is a system file, so leave those alone.
Click to expand...
Click to collapse
I don't agree!!!
Apps often let unused files in various folders, saturating the memory of the SD Card.
If u don't know what its for, ask (or ask google )
For exemple, wiyun is a chinese game editor. Hence .wiyun is its trash directory. If you don't have any games left from this editor, you can safely delete the folder.
Mikulu folder is probably from Mikulu music player ...
etc.
Directories myrecord & myalbum
Directories myrecord & myalbum are created by the
"Easy Downloader" app and by the "Pro" variant also.
Creating empty files with equal names prevents directory
creation. But uninstalling is the only way to avoid this completely.
Best regards
P.S. I assume that other "Easy ..." apps by the 2Easy Team
developer will create them because of the in app promotion
content.

[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] Need the help for application

I don't know whether to ask it here or not.
Want to know that is there any way of hiding the apps and folder other then putting period(.) before file name or folder
I want to do it parametrically I just want to know the way or anyidea about it other then above one
I am working on app which is password protected and have to take care that hidden files once hidden that are even not visible to root users without that application.
So it here any way of doing this in external memory card.
Please provide me with solution or coding reference if you have.
Note that I am not asking for any android application that available in android market
Click to expand...
Click to collapse
dykhatri said:
I don't know whether to ask it here or not.
Want to know that is there any way of hiding the apps and folder other then putting period(.) before file name or folder
I want to do it parametrically I just want to know the way or anyidea about it other then above one
I am working on app which is password protected and have to take care that hidden files once hidden that are even not visible to root users without that application.
So it here any way of doing this in external memory card.
Please provide me with solution or coding reference if you have.
Click to expand...
Click to collapse
When we speak about media files:
an empty < no media > file, in a folder,
ussualy solves the problem of visibility, for other-media focused-on board apps,
I presume is not what you have in mind,
The ussual way-the apps are protecting their data-in windows for example,
is to create their own file format, like: .cpt, .dat, etc...
Files on an external sdcard are recognised by the strings to them,
and thus known to the index...
but when you remove those strings,
you ussualy destroy also the files structure
although he files themselves still do exist...
In my humble opinion, only the separate,encrypted partition on an sdcard,
along with internal file format, may provide
efficient level of security that you seek for your app...
There surely always will be an app, able to see hidden contents,
especially on removable media,
but to be able to see it- is one thing,
and the ability to read its contents- is a completely different story...
asgardr said:
When we speak about media files:
an empty < no media > file, in a folder,
ussualy solves the problem of visibility, for other-media focused-on board apps,
I presume is not what you have in mind,
The ussual way-the apps are protecting their data-in windows for example,
is to create their own file format, like: .cpt, .dat, etc...
Files on an external sdcard are recognised by the strings to them,
and thus known to the index...
but when you remove those strings,
you ussualy destroy also the files structure
although he files themselves still do exist...
In my humble opinion, only the separate,encrypted partition on an sdcard,
along with internal file format, may provide
efficient level of security that you seek for your app...
There surely always will be an app, able to see hidden contents,
especially on removable media,
but to be able to see it- is one thing,
and the ability to read its contents- is a completely different story...
Click to expand...
Click to collapse
What you have said makes seance to me sir but I forgot to mention here that I am only taking about android mobile OS specially. I am making application specially for android mobiles.I am not concern about another whether i can be display in PC or not that is not my concern.
can you have any idea for that
dykhatri said:
What you have said makes seance to me sir but I forgot to mention here that I am only taking about android mobile OS specially. I am making application specially for android mobiles.I am not concern about another whether i can be display in PC or not that is not my concern.
can you have any idea for that
Click to expand...
Click to collapse
1.there is always a possibility that something hidden locally- on board of your device-
could be found through a computer connection,
so if you wanted app sensitive data to be secure, this aspect should also be taken into consideration...
2. windows is just an example:
some dependancies are similar throughout many other systems- just because they work as expected...
An internal file format and file encription is to be found in some of the android apps as well

[Resolved] [Q] Error with Titanium Backup data profiles. HELP!

Hello everyone,
:crying:
I have a ROOTED Hisence HS-U980 Infinity Pure 1 . Running android 4.2.1
I use TIBU data profiles like crazy. And I use alot of profiles, and once I finish, I delete the unneeded ones.
Anyway,
I was using data profiles today as usual, and I changed the profile to a different one -as always-, but this time I noticed that titanium backup told me "Data profile changed to "...." and applied to 0 apps". ZERO APPS
I was like "Whaaaaaatttttt!!!!". I went after that to the apps I use, to check and see if the multiple profiles for them are somehow disabled. But NO, they are on. So I tried disabling multiple data profiles for them to see what going on with the feature.
And this is what I got: "Sorry, a problem occurred when switching the data profiles for .... app"
And it shows to all the apps I use multiple profiles with. So I think the problem is within TIBU.
What should I do?
I don't want to lose my data on my apps,
Thanks for your help.
EDIT: and BTW, when I activate multiple profiles for a new app, it works fine. But all the previous ones are in error.
SOLUTION
[SOLUTION]
I managed to solve the issue, here are the steps.
- First make a new data profile for this, so that we work away from your old data profiles, and hopefully not lose any former data.
- Go to " /Device/data/data/ " (and there you will find all the apps folders, search for your app folder and enter it)
- (In your app folder) Backup/copy all the data in here -for insurance-, or just copy the needed ones. (you will also see folders named after your data profiles)
- (In your app folder) You will see a folder -mostly hidden- named " .data_profiles ". This is the one causing the error for your app. Delete it, but make sure you don't delete something important inside it, like data profiles or something, unless you made a copy of them.
- Now go back to TIBU , and go to your app, you will see that the multiple profiles feature is now disabled because we deleted ".data_profiles" folder.
- Enable multiple profiles feature for the needed app.( you will see that TIBU will tell you that the current data will be assigned to the current data profile, which is the one we made first.)(CAUTION: THIS STEP WILL DELETE ALL PREVIOUS APP DATA PROFILES FOLDERS FOR THE APP YOU ARE WORKING ON , because now TIBU thinks that this is the first time this app uses data profile, therefore, it will delete all previous data folders to make new ones)
- Now, the multiple profiles feature is re-enabled for your app.
- Go again to your app data folder, and PASTE any needed info from the data you copied previously.(but don't paste the ".data_profiles" folder. You can paste the data that were in it before -if any-, but dont paste the folder itself)
-DONE
"Sorry, problem occured while switching profile data for watsapp 2.12"
Plz help me how to fix it...???
did u fix it? pls help me
sgmarouf said:
[SOLUTION]
I managed to solve the issue, here are the steps.
- First make a new data profile for this, so that we work away from your old data profiles, and hopefully not lose any former data.
- Go to " /Device/data/data/ " (and there you will find all the apps folders, search for your app folder and enter it)
- (In your app folder) Backup/copy all the data in here -for insurance-, or just copy the needed ones. (you will also see folders named after your data profiles)
- (In your app folder) You will see a folder -mostly hidden- named " .data_profiles ". This is the one causing the error for your app. Delete it, but make sure you don't delete something important inside it, like data profiles or something, unless you made a copy of them.
- Now go back to TIBU , and go to your app, you will see that the multiple profiles feature is now disabled because we deleted ".data_profiles" folder.
- Enable multiple profiles feature for the needed app.( you will see that TIBU will tell you that the current data will be assigned to the current data profile, which is the one we made first.)(CAUTION: THIS STEP WILL DELETE ALL PREVIOUS APP DATA PROFILES FOLDERS FOR THE APP YOU ARE WORKING ON , because now TIBU thinks that this is the first time this app uses data profile, therefore, it will delete all previous data folders to make new ones)
- Now, the multiple profiles feature is re-enabled for your app.
- Go again to your app data folder, and PASTE any needed info from the data you copied previously.(but don't paste the ".data_profiles" folder. You can paste the data that were in it before -if any-, but dont paste the folder itself)
-DONE
Click to expand...
Click to collapse
Please explain for those of us who are not experts: What are you talking about here:
- Go to " /Device/data/data/ "
Do you mean on your internal storage on the phone, or what?
Hello. Sorry for being away for so long. Thought the details were enough and never checked back on this thread.
Anyway, "Do you mean on your internal storage on the phone, or what?",
If my memory serves me right, I believe it is only on the internal storage. If you are using data profiles then you are rooted and have access to the internal storage. Go there and check it out and also show any hidden folders if they are not visible.
Good luck.
pnadimm said:
"Sorry, problem occured while switching profile data for watsapp 2.12"
Plz help me how to fix it...???
Click to expand...
Click to collapse
Please follow the steps one by one and your problem will be solved. Backup "copy/paste" your data profile folders first before you do anything.
This problem is caused by TIBU for some reason. Corrupted directory of some sort and this is why you need to do the steps mentioned and make TIBU create a new folder. Then you can paste your old data profile information and regain access.
Again, don't paste the whole folder, just the contents inside.
In my solution, what I am explaining is:
There is a folde directory making a problem for TIBU. This directory needs to be deleted. But NOT the contents and data inside it. Making a new version of the problem directory will fix the issue.
In short, the solution is: (From internal storage), backing up all the data profiles for the application you are using, then deleting the directory that is causing the problem "".data_profiles" folder", then going back to TIBU and REACTIVATING multiple profiles for your application will create a clean copy of " ".data_profiles" folder ". Paste the old contents you copied before from ".data_profiles" folder into the NEW version of ".data_profiles" folder. This will fix the problem.
THIS WAY TO SOLVE AN ERROR DATA PROFILE'S ENABLE BUT SHOW ERROR WHEN USER TRY TO DISABLE THEM.
This caused damage may the user change or other activity to system root like change device id with other app or imei with other app where they not supported by TIBU.
Ok, let go to fix.
(CAUTION!!! THIS IS NOT ONLY ONE THE WAY TO FIX THEM IT'S JUST ABOUT MY EXPERIENCE BUT IT'S WORK FOR MY PROBLEM LIKE THIS)
STEPS:
1. OPEN THE TIBU PRO
2. NEXT -> GOTO BATCH ACTIONS
3. CHOOSE -> MANIPULATED DATA -> RUN WIPE DATA FOR USER & SYSTEM APPS
4. THEN YOU WILL SEE THE WIPE DATA FOR USER & SYSTEM APPS AND AND APPS LIST.
5. TAP INVERT SELECTION
6. THEN CHOOSE YOUR APPS WHERE YOU ENABLE MULTIPLE DATA PROFILES BEFORE.
7. TO EXECUTE AND FIX THEM TAP THE SUBMIT BUTTON IN THE RIGHT TOP CORNER OR TAP THIS BUTTON [√].
8. REBOOT YOUR PHONE (DO NOT USE A SOFT REBOOT) BUT FULL REBOOT.
9. OPEN AGAIN TIBU, AND ENJOY WITH PROFILE AGAIN.

|ROOT/ADB?| Fully stopping Instant Apps from installing ever again

Hey guys, this is my first thread, and I'm a bit confused on the app. Today I'll tell how did I stop the freaking google 'malware' from installing and updating every single day. This would work on any rooted device that has access to the data partition, maybe it could be reproduced via adb without root.
First off, I searched everywhere looking on how to disable, uninstall, break, or do anything to this forced battery hog. The best answers were using 'pm hide' on the package but this caused a very high battery usage, due to the file dependencies. So I searched where it was installed. Luckily enough, it is an user app, so it means I would find it on /data/app and /data/data. I will use solid explorer, but any file manager with root access and chmod to change permissions should do just fine.
Once we locate the folder (/data/app/com.google.android.instantapps.supervisor-1 in my case) we delete it. Utterly. After that, we will create a file, and name it exactly the same as the folder did. This is a dummy file that the system will believe it is a folder, and will try to install the application inside it. We fill that file with enough random characters for making the system think it can't just delete it (sometimes cleaners point empty files as worthless and wipe them out)
Now we need to make the dummy file unremovable for anyone but us, by using chmod. Solid explorer has a nice interface for that. We long press the file, enter to properties and set the permission to 0 0 0 (attributes tab). This makes play store unable to delete the file to recover the old folder, and when it tries to download the package, it will fail because it won't have a respective folder to be sent to.
After this, we reboot the phone and see that google play services for instant apps has lost roughly 90% of it's size, and when we enter settings>google>google play instant it'll ask for installation. I was bold enough to accept, just for getting an error dialogue when it tried to install itself.
Known issue: The app reinstalls once again after reboot. The cause is that, when android can't install the app in the first folder (the one that ends with a -1), it can create a second one (ending with a -2 instead), like an alternative. This is solved by just doing the same procedure above on the second folder, and you will end up having two dummy files instead of one. A third folder cannot show up, or at least it didn't in my phone.
Notes: You can repeat this with the folder in /data/data and any other data partition level instant app folder, but I wouldn't do it because I already broke all functionality since I deleted the base apk, and the app size is less than 300KB now so I don't think the trouble is worth it.
You must whitelist these files from any memory cleaner, i.e SD maid corpse finder will delete it thinking it's a leftover of an old app
WARNING; I'M NOT RESPONSIBLE FOR ANY MISLEADS, WRONGS, OR PLUTONIUM-UNSTABLE ROMS THAT MAY EXPLODE IN ANY WAY. YOU ARE THE RESPONSIBLE FOR YOUR DEVICE'S SAFETY AS THIS ISN'T EVEN FULLY TESTED IN MY PHONE AND I DON'T KNOW THE ULTIMATE CONSEQUENCES OF DOING THIS. YOU ARE WARNED.
PD: Please make some suggestions about how I made the thread, I did what I think it's my best

Categories

Resources