Mod Default Settings? - Samsung Galaxy 5 I5500

Hi, I'm currently working on a custom rom. I have modded build.prop and now I would like to change the default settings for the rom. For example I would like allow install from Unknown Sources to be checked at first boot and some other stuff. My question is where in the system are these settings stored? I need to find the files so I can edit them. Please help

You could try decompiling the settings.apk abd search in the apk for default settings, don't know

XdaNoob98 said:
You could try decompiling the settings.apk abd search in the apk for default settings, don't know
Click to expand...
Click to collapse
Will try this when I get home.

Related

Please help

Okay so here is my problem i want to change the stock folder icon without another app i just need to know the location of the image i looked in framework-res.apk i dont see it in there and i have looked in the system apks but i still cant find is so can someone please tell me the location of the folder icon
mkeller96 said:
Okay so here is my problem i want to change the stock folder icon without another app i just need to know the location of the image i looked in framework-res.apk i dont see it in there and i have looked in the system apks but i still cant find is so can someone please tell me the location of the folder icon
Click to expand...
Click to collapse
What icon are you tryin to change? It would be in the app apk file...
If it's a system on try com.htc.resources.apk or look through your app list..
Are you talking about the folder icon or a app icon?????

Replacing icons in apk

Hi
sorry if for expert devs this is a basic question
I have been looking around but I did not found this explained
HOW TO CHANG THE ICON ASSOCIATED WITH AN APK ????
I know how to open a apk with 7 zip and that I have to change the png file there
but which file ?????
do I need to change just the file associated with the icons or all the others ?
I mean .... inside (for example) mm.apk I found the icons related to contacts.apk to email.apk etc ... do I need to chenge all of them with the new ones ?
decompile and recompile
Decompile the app with apktool and go into the res folder and find the icon u want to replace ,,change it and recompile with apktool.Lastly sign the app and you are good to go
I have never tried change icons but i tried to change the background images for dialer and system menu. I used the same method mentioned above by opening the apk using 7zip and changing the images files with my custom images and rename them exactly the same as old ones.
Then I used CWM to flash the zip which contains the modified apk (i.e. contacts.apk and framework-res.apk)
However, I would recommend that you backup your ROM before flashing the modified zip file just in case something wrong happens.
Good Luck
I remember that there is a tool much faster than apktool ti decompile recompile but ... I have not been on the forum for long and I lost it
Is it also possible to change only theicon by using vrtheme ? if yes can someone explain how ?
Thanks
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Darkside Agent said:
Give this thread a whirl...should be very useful
Basic theming guide by Dully79
Click to expand...
Click to collapse
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
ads7112 said:
All very interesting I am sure I will use it at some point
I installed Java SDK and APKtool ... I remembered what they are for ... but still ...
the only thing I needed to know was if I need to change all the images in res or only that associated to the icon.....
Click to expand...
Click to collapse
fine, whatever, ignore my post
Please .. do not missunderstand me !!!
Your help is very much apreciated
I knew approximately what to do to modify the theme also if in general I preferred kitchen uot
Instead I was hoping in a simple change of icon afetr decompressing/decompiling the apk but apparently it is not so simple ...never mind

[Q] Changing Settings menu options

I'm running a Galaxy Nexus, and the ROM I'm currently on has a Perfomance option in the Settings Menu, which gives control of the kernel and stuff. However, I'd rather use TricksterMod, and I would like to be able to launch TricksterMod from Settings instead of the Performance app.
So far, I've decompiled my Settings.apk, and looked through the files, and I'm not sure what to change.
I have to change \settings\res\xml\settings_headers.xml, correct? Specifically,
Code:
header android:icon="@drawable/ic_settings_performance" android:id="@id/performance_settings" android:title="@string/performance_settings_title" android:fragment="com.android.settings.performance.PerformanceSettings" />
I would also have to change \settings\res\values\strings.xml, specifically, the string referenced by "@string/performance_settings_title" so that I can have the correct name, correct?
And similarly, settings\res\drawable, for the icon.
The big question is, what do I replace with for "com.android.settings.performance.PerformanceSettings"? Do I need to move TricksterMod somewhere specific, or what would I reference? \data\app\com.bigeyes0x0.trickstermod-1.apk?
After making all these changes, I'd simply recompile and push the Settings.apk back without signing, correct? Have I missed any steps?
Firnagzen said:
The big question is, what do I replace with for "com.android.settings.performance.PerformanceSettings"? Do I need to move TricksterMod somewhere specific, or what would I reference? \data\app\com.bigeyes0x0.trickstermod-1.apk?
Click to expand...
Click to collapse
That's what I would try BUT would just be that, to try, seems like you have everything else covered.
Hm. Well, that didn't work.
I successfully made the edits, recompiled, and pushed the file in place of the old Settings.apk.
The Settings app immediately disappeared, and trying to install it (selecting the .apk with a file manager) didn't work; it simply gave me an 'App failed to install'.
Any suggestions as to what I might have done wrongly?
Anyone?

[HELP] want to edit SecSettings.apk how can i?

i want to edit SecSetting.apk
i can decompile it and recompiled it signed properly and i pushed SecSettings.apk to system and by setting permissions. all successfully done
problem is there is no settings apk
and when i clicked settings icon in statusbar it hangs and after few seconds it tells unfortunetly systemui had stooped
so i want to edit settings apk please help me in any way
pandian8552 said:
i want to edit SecSetting.apk
i can decompile it and recompiled it signed properly and i pushed SecSettings.apk to system and by setting permissions. all successfully done
problem is there is no settings apk
and when i clicked settings icon in statusbar it hangs and after few seconds it tells unfortunetly systemui had stooped
so i want to edit settings apk please help me in any way
Click to expand...
Click to collapse
Wrong section...ask help in :banghead: Q and A section

APKTool gives me error everytime i try to modify my system apps??

I Have a Verizon Galaxy S4 and i am running on Hyperdrive ROM RLS 19.... I Wanted to edit some of my system apps specifically my keyboard, Messages, phone, and Notification center toggles. I Know some basics about apktool but not much. i know that you must first Use the command "apktool if framework-res.apk" and i also did the same for the SystemUI and Touchwiz framework apk ... However everytime after ive decompiled and I do the editing-- (Ex. editing image files with image editor or changing color codes in values files)-- and try to recompile it gives me errors and wont allow me to recompile. please help i cant seem to find out what im doing wrong. ive scowered the internet and cant seem to locate a solution. Please Help.... if there is an easier method or program for editing apps please tell me.
Thanks
ampiscool said:
I Have a Verizon Galaxy S4 and i am running on Hyperdrive ROM RLS 19.... I Wanted to edit some of my system apps specifically my keyboard, Messages, phone, and Notification center toggles. I Know some basics about apktool but not much. i know that you must first Use the command "apktool if framework-res.apk" and i also did the same for the SystemUI and Touchwiz framework apk ... However everytime after ive decompiled and I do the editing-- (Ex. editing image files with image editor or changing color codes in values files)-- and try to recompile it gives me errors and wont allow me to recompile. please help i cant seem to find out what im doing wrong. ive scowered the internet and cant seem to locate a solution. Please Help.... if there is an easier method or program for editing apps please tell me.
Thanks
Click to expand...
Click to collapse
Greetings.
Thank you for using XDA Assist. I'm going to move this thread to your device's Q & A forum. You should get an expert response there.
Good luck!

Categories

Resources