[Q] Looking for a file manager able to change permission automatically. - Android Apps and Games

Hi, everybody. I have been looking for a file manager with the auto-permission-modification function for a long time. (yeah I invented this name : p)
This is the function that will automatically change the permissions of the files copied to the system partition.
e.g. If you copy a file from the user folder to system folder(e.g. /system/fonts), usually you have to modify its permissions to make system recognize the file and to avoid breaking your device. Therefore, it would be decent if a file manager could handle that automatically!
AFAIK FX Explorer is the only app with such function. I was wondering if there were any other app with this function.
P.S. FX is great in every aspect, I just do not like the left-margin-slide panel.

I was using FX sometime ago, but I didn't really appreciate the UI. That's why I switched to stock file manager.

Related

Question related to Android file permission

I used ES File Manager to edit a .ini file in data/data/org.gaeproxy (a proxy app) and then changed its permission from rw-rw-rw- to r--r--r-- after saving it.
After I opened the app, I checked the property of the .ini file using ES File Manager and was shocked to find the Last Modified field was updated to the right moment when I opened the app. And the editing I made to the file was gone. It seemed to me that the app had overrided the read-only permission of the file and edited its content.
But then I supprisingly found that I was able to modify the same file and save the change while it's still read-only. How is this even possible?
Both ES File Manager and the .ini file have been granted superuser permissions. Is this a possible cause? I've found this annoying problem across different devices and different ROMs. So I think there might be something I need to know about the file permission system in Android.
How can I make this .ini file truly read-only even to the app using it?

Android File Manager COPY FOLDER PATHS

Hi,
So when I first got Android you could copy folder PATHs with Astro File manager...for whatever reason this feature was removed. I later switched to Root Explorer..
I am looking for a file manager which offers Root support and lets you copy paths...I do not know why none of the popular File managers allow you to do this. Seems like a pretty standard feature IMO..
Can anyone make suggestions?

Can a hacker copy prefs from one device to another to hijack a user session/state?

Hi all,
I need to test a scenario in which a hacker will try to copy the shared prefs file (or files) from one Android device to another in order to have the same state that the original user has and use the app as if he is the original user (hijack his existing sessions for instance).
I tried to copy the shared prefs file from one device to another (where I had installed a fresh copy of the app with an empty shared prefs file). Copied the file from the original device using adb , copied it to the sd card of the target device and move it to the right shared prefs directory using a file management app with root privileges. This didn't work.
When I start the app on the target device - I can see that the shred prefs file get "rolled-back" to its initial form. Maybe Android has some kin of mechanism to prevent manipulation of an app's files/data.
So my question is - how can I test this scenario in other ways? any way to transfer the shares prefs from one device to another without Android knowing about it?
Thanks!
This is interesting. To get the second app access the original prefs file it would have to run with the same UID than the application that originally created the preference file.
I do not know how you can change the UID however. I am pretty sure that you would need a rooted device.
VilleI said:
This is interesting. To get the second app access the original prefs file it would have to run with the same UID than the application that originally created the preference file.
I do not know how you can change the UID however. I am pretty sure that you would need a rooted device.
Click to expand...
Click to collapse
Indeed you need to fake the UID, you could do this through XPosed. You could develop a method that hooks the https://developer.android.com/reference/android/content/pm/ApplicationInfo.html#uid call. You hook and return the UID value that you want. Under the assumption that this is the call that the Android system uses to load/reset the preference file. I think however, the system uses some low level access through a kernel call to determine the uid of the application. So you would need to hook the kernel which is not that easy. Your best bet then is to edit and recompile the kernel source.

How do I force a default app when no link exists? (File explorer)

Hi there, very basically I want to use Solid Explorer as my default file explorer app but no defaults exist in either the default manager or Solid Explorer.
The device is a rooted Lenovo YT3-X50F (Yoga tab 10) running Android 6/AEX. It has TWRP.
I have tried third party apps that manage default apps and as none detect the file manager association, they don't offer it up as an option to change. Some apps allow me to select Solid Explorer via the sidebar in "documents", the default file explorer.
The reason I want to do this is because some apps need access to /root and the default file manager does not browse root.
Any ideas would be appreciated.

Stock Android Files app has Download icon and keeps crashing

I have a rooted OP6 with Oxygen OS 11.1.1.1 and after messing around in the Terminal and deleting system apps I don't use, my Files app suddenly had a Download icon. It also crashes upon launch. How do I fix this? I can't just switch to another file manager because the stock Files app gives the permission to other File managers to access /sdcard/Android/data and /sdcard/Android/obb which I need to access frequently. Total Commander and File Manager + both had issues accessing the folder with root permissions even when accessing the folder using /data/media/0/Android/ . The only way that works without any issues is accessing it through TWRP's built in file manager, but that is long and has it's own drawbacks (eg. TWRP can't make folders).

Categories

Resources