• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Help- where do applications store config settings?

D0VeR

Android Enthusiast
I'm going nutty here. I have a couple apps here that I'm trying to change default configs for, so when i flash the rom... everything is already optimized/setup. Where would an apk store config settings beside on sd?

Thanx
 
There is a (are) database table(s) of sort in /data/data, which is where the settings are saved. I'm not keen on the actual structure of the database(s) but I do believe they are text -editable, but like i said, i've never researched it long enough to know all the ins and outs. I hope this gives you a starting point.
If you have the time, you could try peering through XeppelinRox's (xda member) V6 supercharger source file/script and see how he interacts with the database files for some insights on how you'd want to move forward editing them...
 
Damn man... your just full of answers!

I was assuming it was in /data.... but can't for the life of me figure out why nothing is visible in the data folder.

Got an answer to that one?
 
Alrighty.... looks like i can access through terminal. Any other way to manipulate files?
Anyone
Anyone
 
you must use root access to view the files in /data.
You can use Root Explorer or ES File Explorer, with root access granted.
/data is not user-level accessible for various (some obvious, some not) reasons - mainly for security.
 
you must use root access to view the files in /data.
You can use Root Explorer or ES File Explorer, with root access granted.
/data is not user-level accessible for various (some obvious, some not) reasons - mainly for security.


None of the browsers allow me to see the files.
In command line I see them using such command however.

Weird

So as a loophole, I copied entire /data directory to SD. Then manipulate needed files, and push to phone during ROM install.

GREAT SUCCESS
 
Actually, :) what your looking for lies within the apk.. decompile and in res/xml should some prefference xmls and thata where the default settings are ;)
 
As far as the Esteem, the new Root Browser doesn't see the data folder, the old versions do. Es File Explorer does, but you must enable root settings in the menu.
I have emailed the creator, but no response beyond he is looking into it.
Solid Explorer also can access data folders.
Funny enough, if you open data in Root Browser and create a folder called data or apps, you can then open that folder to find the contents waiting, leaving the folder will have it revert to being invisible again.
 
Actually, :) what your looking for lies within the apk.. decompile and in res/xml should some prefference xmls and thata where the default settings are ;)

Was trying to avoid all that.... but i think I'm stuck.

The theory was... if i set up the app too my preference... and then find the config file on my on my device and preload it into rom package..... this woukd save a lot of trouble.

This worked for cpu software, and rom now loads with cpu set at 1.1, and performace govenor stock.

I have been trying to do the same thing with a launcher... trying to avoid first start tutorial, and theme the launcher... but the software doesent want me to do this.

Ahhhhhhhh balls
 
Was trying to avoid all that.... but i think I'm stuck.

The theory was... if i set up the app too my preference... and then find the config file on my on my device and preload it into rom package..... this woukd save a lot of trouble.

This worked for cpu software, and rom now loads with cpu set at 1.1, and performace govenor stock.

I have been trying to do the same thing with a launcher... trying to avoid first start tutorial, and theme the launcher... but the software doesent want me to do this.

Ahhhhhhhh balls
well i guess you can try just doing a data pull via adb (NOT DATA/APP, the whole data folder itself)...? should give you EVERYTHING in data, then you can pin-point the app's data and do ya thang i guess :D didn't really think it worked that way.. but ehh what do i know lol just be carefull not to preload any of your sync information lol
 
well i guess you can try just doing a data pull via adb (NOT DATA/APP, the whole data folder itself)...? should give you EVERYTHING in data, then you can pin-point the app's data and do ya thang i guess :D didn't really think it worked that way.. but ehh what do i know lol just be carefull not to preload any of your sync information lol

I know what your thinkin.....
This guy is messed up!

But you got it all wrong.
I am a pioneer
A very very special little pioneer :)

But no, I'm not adding anything tje gathers personal information. This method workes like a charm and was super easy and quick for nofrills.

Go launcher on the other hand.... is a mess. Awesome launcher. 2 Megs of awesomeness... and the 4 megs of bull5h1t. I would rather not delete their tutorials and widgets and other crap from their coding.... but rather pretend that the user has already seen all that crap on initial startup... and is ready to atart using the goodness.

Make sense? Or do i ditch it?
 
Back
Top Bottom