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

Root [Boost Mobile] [QUESTION] Setting app defaults for custom ROMs

MrBobo

Android Expert
Can anyone give me some pointers for setting defaults in apps for my custom rom? For example I want to set some defaults for the launcher and have some shortcuts on the desktop when someone flashes my rom
 
Can anyone give me some pointers for setting defaults in apps for my custom rom? For example I want to set some defaults for the launcher and have some shortcuts on the desktop when someone flashes my rom

i may be wrong but it might be in an xml file like i said i may be wrong xD i havnt experimented with that YET haha and sorry ive been busy and havnt gotten that file to you XD ill get it to you soon maybe later tonight im currently trying to figure out why my wifi wont connect and also trying to find someone to theme my signal bars i cant do it on the library computer :(
 
Yeah its in the xmls... If you go to /data/data/ and find the folder that corresponds to your launcher and search around you will find an XML with your current settings... then you have to decompile the launcher with apktool and search around you will find a few xmls that will most likely have default in their names... if you edit them correctly you will change the defaults...

An easier way to do it would be to model the launcher the way you want and then copy the launchers data folder and include it in your flashable zip... you would have to edit the updater-script to include the data partition though

Edit: btw I tried this with the experia launcher and it didn't quite work for me because I couldn't figure out how to modify the xmls correctly... the xmls you will need to edit are in /Res/XML/

Sent from my N860 using Tapatalk 2 Beta-5
 
When I customized the defaults on my ROM I decompiled the APK's, edited the relevant XML files, then recompiled.
 
I tried to modify the xml in experia but couldn't get it to work after I pushed it to the system app folder
 
I tried to modify the xml in experia but couldn't get it to work after I pushed it to the system app folder

I had the same problem... make sure you modify the xmls correctly... I gave up on it

Sent from my N860 using Tapatalk 2 Beta-5
 
i have tried to modify the Xperia launcher but it seems that when you decompile it it doesn't recompile right or something because it stops working

On any launcher you decompile go to resource/res/xml/ then go to default_desktop.xml or it may be named differently but you will know which one. all settings for default widgets and shortcut's are in there
 
bumping this thread again because I am still trying to get this to work, either by modding xperia and other apps defaults or by a data flash but I haven't been successful at either... perhaps I need to start with a different app to make sure that's working, what apps have you guys modded in the xml that have worked?

on my to-do list:

notification toggle
boat browser
xperia home launcher
settings

Thanks for any help out there... also if anyone is aware of a ROM that flashes data I want to take a look at the updater script! Thanks again guys!
 
bumping this thread again because I am still trying to get this to work, either by modding xperia and other apps defaults or by a data flash but I haven't been successful at either... perhaps I need to start with a different app to make sure that's working, what apps have you guys modded in the xml that have worked?

on my to-do list:

notification toggle
boat browser
xperia home launcher
settings

Thanks for any help out there... also if anyone is aware of a ROM that flashes data I want to take a look at the updater script! Thanks again guys!

Shins rom flashes data. I'll pm you shortly
 
Back
Top Bottom