[Q] how to access the android file system? - Android Q&A, Help & Troubleshooting

Hello,
My objective is to create a text file in an android file system.
Using java language, I am creating an app. It has a screen with a table of 3columns. Each time a user enters the table row and click on Submit button, the row entry should be created as a separate comma-separated file on an android device. So each time when the table gets updated with new entry and clicks a submit button, a new file is getting created on the device file system. So I am looking for the file connectivity to the internal device memory where I could open the files and access it.
I have done the same in Nokia mobiles using J2ME. But for Android, I am not able to find the device file path. Please help me with the details!
Thanks in advance!

Root the phone and use root explorer to access the android file system
Sent from my HTC Sensation using XDA Premium 4 mobile app

Stefen Jerrard said:
Root the phone and use root explorer to access the android file system
Sent from my HTC Sensation using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Why do we go for a file manager app to access the android file system.
For messaging we have a separate in-built option to capture all the txt messages. Like wise we have a in-built Gallery functionality to capture the pictures. Likewise, where the text files will be stored?
Is installing a separate file manager the only option of accessing the android file system?
Please correct my understanding. Thanks!

sa
---------- Post added at 10:34 AM ---------- Previous post was at 10:32 AM ----------
User0913 said:
Why do we go for a file manager app to access the android file system.
For messaging we have a separate in-built option to capture all the txt messages. Like wise we have a in-built Gallery functionality to capture the pictures. Likewise, where the text files will be stored?
Is installing a separate file manager the only option of accessing the android file system?
Please correct my understanding. Thanks!
Click to expand...
Click to collapse
root is a process to gain control of your phone search and find how to root is device specific so search using your device name and root explorer is an app which can access filesystem of your phone with the root access it is a paid app you can use alternatives like es file explorer root browser etc

Related

PC software - Android file manager??

Hi,
is there a file manager which i can use on the PC to access the android phone but i would also like to be able to access the file system menu like root explorer.
is this possible if so could someone point me to the right direction.
a5ian300zx
This is one way: http://forum.xda-developers.com/showthread.php?t=1030107
Sent from my GT-I9100 using XDA Premium App
Hi,
thanks for the reply,
I have found PC software that lets you explorer the file system inc system partition and loads of excellent features.
Droid Explorer
http://de.codeplex.com/
Thanks
replay
you can use application "Easy Android Manager" in website viyoona [dot] com
Another option is to use TotalCommander with Android ADB plugin.

Apps that monitor the changes of the file and directory

May I know is there any apps that can track the file changes in my android phone?
example when I launch an app and it make a change in a a.txt file and this app can track that a.txt is changed?
ken-ywk said:
May I know is there any apps that can track the file changes in my android phone?
example when I launch an app and it make a change in a a.txt file and this app can track that a.txt is changed?
Click to expand...
Click to collapse
you can set tasker to
Sent from my R800i using Tapatalk
tasker cant access root file...
ken-ywk said:
tasker cant access root file...
Click to expand...
Click to collapse
what? as in /system etc? if so then i am not sure of a alternative but since it is a android phone. i bet their is a app for that somewhere
Sdmaid has an option that allows you to see what files have been edited in a chosen time frame, but its a general overview I believe, and no more details like the type of modification made.
http://market.android.com/details?id=eu.thedarken.sdm
Regards
Couple of screenshots, not sure if it's any good.
Cheers
File monitor by steelworks
Here this apps tracks every file modify acces close delete but dont have filter and dont know about root directory
mustafacandan211 said:
File monitor by steelworks
Here this apps tracks every file modify acces close delete but dont have filter and dont know about root directory
Click to expand...
Click to collapse
Sadly it don't monitors root directory. What other app can do?
What version of SD Maid did that on the post above? Seems an old version.. Will search for it.
ken-ywk said:
May I know is there any apps that can track the file changes in my android phone?
example when I launch an app and it make a change in a a.txt file and this app can track that a.txt is changed?
Click to expand...
Click to collapse
Here example of a Shell script that does the job.

[Q] Quick way to register new file types?

Hi there!
Have searched all over and found zilch about NON PROGRAMATICALLY adding file types to Android that actually works.
Does anybody know about an app that can do it?
The most logical to me was that File Expert or ES version could do it, but couldn't find it. And some links said that Astros could do it, but haven't found the feature in their latest version at least.
I just want to be able to click on the file and have it open the app without having to open the app first.
For example if I have an attached file in another apps storage space (outside normal file space) I can't open the main app first. And I don't want to have to download/import the file. Takes too long.
Thanks!
BTW-The app in question is SimpleMind, which unfortunately haven't had the good grace to register their file type for their own creation..

[Q] Help-a question

Hi
today I rooted my android 4.2 xolo a500s and by using root explorer I go into data>data>com.whatsapp folder. There in files folder was a file named expiration_date but I can't open it and if I delete the file it automatically gets restored.So please can you tell me how to open the file and why after deleting file it gets restored.
thanks in advance..
the vishal said:
Hi
today I rooted my android 4.2 xolo a500s and by using root explorer I go into data>data>com.whatsapp folder. There in files folder was a file named expiration_date but I can't open it and if I delete the file it automatically gets restored.So please can you tell me how to open the file and why after deleting file it gets restored.
thanks in advance..
Click to expand...
Click to collapse
This file relates to when your paid subscription (After the first free year of using Whatsapp) ends and is re-generated as a security measure to prevent you from circumventing the cost of paying for the subscription. For future reference please remember XDA Rule 6 Do not post warez, or talk about how to get around paying for applications as that is in the same category dealing with warez.

problems after Pushing user apps into system apps

Hi every one.
I am new here. So I'm writing with all the details I can think of.
I'm using HTC desire x jelly bean in India. I've temp rooted the device. Now I run with a twrp touch screen edition revovery. I run the stock version (with odex) Rom. The only changes I made is removal of some bloatware.
The main reason I've rooted my device is to save space by pushing non movable and frequently used apps to system/app .
Since I only have temp root, The way I'm making user apps as system app is as follows
1. creating a backup Apk file either by manually copying from data/app or by clean master.
2 uninstall the app.
3 after entering the twrp recovery, I move the Apk files to system/app ( I don't create any odex files for the moved app)
4 reboot after wiping dalvik & cache.
Its a working method. But my problem is that several apps both that I frequently uses and high size are cannot converted into system apps. After making such apps as system apps, when I try to open them it force closes, crashes, or misbehaving (eg. Shows No internet connectivity even if I'm connected to web). I tried odexing the user Apk. But it not seems to be the problem. I like to know
1 why is this happening.
2 can I identify such apps before moving it to the /system/app
3 how/can I solve this isue ( I don't own a pc).
4 I am writing a list of apps that I've already tried and failed to convert as system apps. If there is no general methods can you suggest methods for the following apps
Quick pick
Mx player
BS player
Chrome
Adobe reader
Google plus
Opera mini
Opera
Google Maps
RAR
Mozilla Firefox
Freecharge
Advance download manager
Google search
Dolphin browser Jetpack
Chess free
Thanks in advance.
Sent from my HTC Desire X using XDA Free mobile app
Probably those apps have and lib files
e.x
1.With root explorer hit a app and open it in view mode
2.Navigate to lib/armeabi..xxx
3.You will find lib(xxx.so) files
4.Extract them
5.Move those files to system/lib/and set them with rw-r--r-- permissions
6.Move and the app to system app with same permissions
7.Reboot
Sorry for my English..
Superuser_ said:
Probably those apps have and lib files
e.x
1.With root explorer hit a app and open it in view mode
2.Navigate to lib/armeabi..xxx
3.You will find lib(xxx.so) files
4.Extract them
5.Move those files to system/lib/and set them with rw-r--r-- permissions
6.Move and the app to system app with same permissions
7.Reboot
Sorry for my English..
Click to expand...
Click to collapse
Thank you very much for your answer. I was searching it for a very long time. It worked like a magic with my Google play services. Before moving the lib files apps like gmail, inbox by gmail, hangouts were showing "unknown problem with Google play". I couldn't afford the space for an non movable app with about 27 mb staying in my app storage.
I was really having a trouble for the same question in following thread.
http://forum.xda-developers.com/showthread.php?t=2956631
That is why I created this thread.
Sent from my HTC Desire X using XDA Free mobile app
@Superuser_
Can you please give me more advice or thread links regarding this subject.
Sent from my HTC Desire X using XDA Free mobile app
Tried with bs player too. Its really working. :thumbup:
Sent from my HTC Desire X using XDA Free mobile app
OMG the lib files of new Google chrome is about 38 MB.
Sent from my HTC Desire X using XDA Free mobile app
Let's make a lesson...
I don't know with witch method has du move apps in system before and first you must check in system/app folder if have you double apps.
ex.
when you move an update of YouTube.apk, the name of updated app must have exactly the same name of default system app to overwrite it.
check and delete the oldest apks.
when you install a app from play store, that app creates a data folder,a dalvik cache file and perhaps a sdcard folder or a sdcard/android/data/xxx.xxx folder
when you uninstall a app from play store,the app has a script where automatically delete any created file.
when you delete a system app do must manually delete those files.Those files are in:
/data/data /the app data folder
and
/data/cache/dalvik cache or /data/dalvik cache
You can do all this only with root explorer or with one root file manager
the installed apps from play store you can find them in:
/data/app
You can see witch apps are in internal memory installed and you can copy from there...
always check first if the app works without lib files and if not,then move and those libs files
edit:
The play store and Google services apks are updated automatically without your permission and you can see that only in installed apps
All these sounds tricky but with a little practice you will become expert
@Superuser_
When new updates releases should I delete the lib files I just copied along with the app and replace it with the new updated apk's lib file.
Or the lib files I copied for older version works for new versions too?
Sent from my HTC Desire X using XDA Free mobile app
The old copied lib files wil not work in a new version
you must again copy those files and when you paste them will automatically overwrite the old ones
don't forget each time to change the permissions
The thing is I'm temp rooted. (htc desire x). And I use touch version of twrp recovery for jelly bean. I do all the things we were discussing with my recovery. And I assume chmod_66 or something like that is the command to set the read write permission. But I think whenever I copy apps or lib files to system using my recovery it's permission is read write by default. I assume this because I never faced a single problem for not setting any permission. I am not sure about it though. And will you please tell me what is the fix permission option under advanced menu in twrp recovery is used for?
@ashifashraf5
I don't have HTC DX..but a LG p700
Just visited the thread because I was looking if 4.4.4 came out for my girlfriend desire
The only thing I know is, when you are root you are root
Temporary root,I haven't heard before
The permissions can be changed with root explorer app.long press on a apk/permissions
Google it the:
how i can change permissions with root explorer app
@Superuser_
I was testing this method with Google maps. I found more than one subfolders in lib folder. My processor is arm v7. Is it what the armeabi-v7a stands for ?. Should I move all the .so files in lib folder or should I only move the armeabi_v7a subfolder .so files ?
I also attached a screenshot for convenience
Sent from my HTC Desire X using XDA Free mobile app
I think Google maps working in system without libs or not?
The other folders is for different processors
You must copy only the v7 files
@Superuser_
If I delete the libraries from the Apk using an explorer the size of Apk will get reduced. My doubt is , since we are copying the lib files needed , to the system/lib , if I delete the Lib Files from Apk and move it to system/app would there be any problem?
I mean
1. Will the app work properly ?
2. Will there be any difficulty for updating such modified apps through Google play
Sorry for the constant questions. And thanks for helping
Sent from my HTC Desire X using XDA Free mobile app
I've never tried..
try it
work great. lg g2.
Choose armeabi-v7a
Ai type keyboard.
Thank you Superuser! Great. Thank you ashifashraf5 for this question.

Categories

Resources