Hi
Who know how to change the background color of the Settings Menu:-
[ Its not as Documented!] I made Every possible mod. but it still white:-
[ Its not as Described for other 2.2 froyo!]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any info will be appreciated!
Thanks
Can u send me settings.apk?
I dont have a tab, but i Will lok into code (to change it)
Hi krkrs
Settings.apk
and i will upload framework-res.apk if it required.
with thnx
Galaxyer said:
Hi
Who know how to change the background color of the Settings Menu:-
[ Its not as Documented!] I made Every possible mod. but it still white:-
[ Its not as Described for other 2.2 froyo!]
Any info will be appreciated!
Thanks
Click to expand...
Click to collapse
I did a minor moding on a Galaxy S Settings.apk and it worked 80%
1-what doesnt work (change of language) it is stuck with english
2- One page in the wireless and settings is still in white :s
other wise the settings page is now in black
Edit: Nevermind
DistortedWisdom said:
I did a minor moding on a Galaxy S Settings.apk and it worked 80%
1-what doesnt work (change of language) it is stuck with english
2- One page in the wireless and settings is still in white :s
other wise the settings page is now in black
Click to expand...
Click to collapse
Hi Disto,
I'm already have a modified version of 2.2 Galaxy S Settings.
but with Tab the issue is another story...the black menu turns my hair white....
thnx
I know, what i was talking about is a modified port from Galaxy S to Galaxy Tab... and it is working except for 1 page and the case that it is stuck with english..
I have black menu in Settings on the tab
Galaxyer said:
Hi Disto,
I'm already have a modified version of 2.2 Galaxy S Settings.
but with Tab the issue is another story...the black menu turns my hair white....
thnx
Click to expand...
Click to collapse
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
DistortedWisdom said:
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
Click to expand...
Click to collapse
it looks great. but when i tap on call settings it'll FC.
kay_kiat88 said:
it looks great. but when i tap on call settings it'll FC.
Click to expand...
Click to collapse
Which firmware are u on?
Sent from my GT-P1000 using XDA Premium App
DistortedWisdom said:
http://www.mediafire.com/?h1fbhm53yzb7xqt
check it out it might help !!
Click to expand...
Click to collapse
Trying to decompile this but ended up with some value errors, is this apk from galaxy s or a stock/modified tab? missing the right framework-res i guess.
DistortedWisdom said:
Which firmware are u on?
Click to expand...
Click to collapse
i'm on overcome 1.6.0!
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Galaxyer said:
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Click to expand...
Click to collapse
i tried to decompile the settings.apk using apk manager but it gives me some error.
Galaxyer said:
Hi to All....
Finally after digging and xml-ing the folders of Settings.apk, I found the Magic words that will darken the Settings.apk menu...
Mod:-
In the file Settings.apk\res\values\styles.xml
search for: -
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Light">
<item name="android:listViewStyle">@android:style/Widget.ListView.White</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Light.NoTitleBar">
change to:-
Code:
<style name="WhiteStyle" parent="@android:style/Theme.Black">
<item name="android:listViewStyle">@android:style/Widget.ListView</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
<style name="WifiTheme" parent="@android:style/Theme.Black.NoTitleBar">
Thanks...
Click to expand...
Click to collapse
Cool will try it out, tnx for the code..
kay_kiat88 said:
i tried to decompile the settings.apk using apk manager but it gives me some error.
Click to expand...
Click to collapse
Ull have to have the framework-res (from same rom) renamed to 1.apk in /apktool folder..
ex tutorial @ http://www.miui-au.com/add-ons/apktool/
biopsin said:
Ull have to have the framework-res (from same rom) renamed to 1.apk in /apktool folder..
ex tutorial @ http://www.miui-au.com/add-ons/apktool/
Click to expand...
Click to collapse
i did that. i decompiled, edited the styles.xml and compiled it. but doesn't work.
kay_kiat88 said:
i did that. i decompiled, edited the styles.xml and compiled it. but doesn't work.
Click to expand...
Click to collapse
Only move resources.arsc from (unsigned)builded apk to original apk and store changes..(winrar is the easiest to use)
Ill try finding Galaxyer winrar example from the remove brightness post, to simplify it..
here http://forum.xda-developers.com/attachment.php?attachmentid=511229&d=1297080660
Note:
Call settings and Account and sync are not affected..
biopsin said:
only move resources.arsc from (unsigned)builded apk to original apk and store changes..(winrar is the easiest to use)
ill try finding galaxyer winrar example from the remove brightness post, to simplify it..
here http://forum.xda-developers.com/attachment.php?attachmentid=511229&d=1297080660
note:
Call settings and account and sync are not affected..
Click to expand...
Click to collapse
thanks a million i got it to work!!!
yeah call settings and accounts and sync are still white.
Related
Transparent Setting.apk for Android 2.3.3
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
replace system/app/settings.apk
If we have something to remove system/app/settings.odex
Niice, thanks.
Uplinked through my mind
Thx very much...
How do I apply this?
Sent from my GT-P1000 using XDA Premium App
Should be cwm I guess.
Sent from my Overcome 2.0.0 Galaxy Tab
ssserpentine said:
How do I apply this?
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Alvin Lai said:
Should be cwm I guess.
Sent from my Overcome 2.0.0 Galaxy Tab
Click to expand...
Click to collapse
Although not specific but it's mentioned in de OP.
Just download the settings apk and replace it by any explorer with root access.
Works on new rom 2.3.3 as u say. That's
Sent from my GT-P1000 using XDA Premium App
perfect. Use root explorer to copy over.. make sure the permissions are set right, I usually just copy them from any apk in the same folder, basically read all users and write for root. Reset file system as read only again using the button in root explorer. Lol didn't even have to reboot!!
Looks good too, thank-you.
Sent from my GT-P1000
Not working on 2.3.3 gb, at time of installing after few seconds it says application not installed
Sent from my GT-P1000 using XDA App
deepx10 said:
Not working on 2.3.3 gb, at time of installing after few seconds it says application not installed
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
You don't install it. All you do is copy it.
This is one sweet mod! Thanks.
someone got the backup setting.apk ? i forgot to back up that apk .. and now i need that . hehe ..
cub3r said:
someone got the backup setting.apk ? i forgot to back up that apk .. and now i need that . hehe ..
Click to expand...
Click to collapse
Standart setting
den339 said:
Transparent Setting.apk for Android 2.3.3
replace system/app/settings.apk
If we have something to remove system/app/settings.odex
Click to expand...
Click to collapse
I know how to make the Settings black or transparent but I want to put a background behind it. I tried lots of ways but they don't work.
Do you know how to do it?
thanks
den339 said:
Transparent Setting.apk for Android 2.3.3
replace system/app/settings.apk
If we have something to remove system/app/settings.odex
Click to expand...
Click to collapse
Can u give the tutorial or source files for making it transparent? It would be really helpful. Thanks in advance..
arunmcops said:
Can u give the tutorial or source files for making it transparent? It would be really helpful. Thanks in advance..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1051807
den339 said:
http://forum.xda-developers.com/showthread.php?t=1051807
Click to expand...
Click to collapse
complete styles.xml... That line is not there... (froyo 2.2 Samsung Galaxy 3)
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="info_label">
<item name="android:textAppearance">@style/TextAppearance.info_label</item>
<item name="android:paddingRight">4.0dip</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="info_value">
<item name="android:textAppearance">@style/TextAppearance.info_value</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="info_small">
<item name="android:textAppearance">@style/TextAppearance.info_small</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="info_layout">
<item name="android:orientation">vertical</item>
<item name="android:paddingLeft">10.0dip</item>
<item name="android:paddingTop">10.0dip</item>
<item name="android:paddingRight">10.0dip</item>
<item name="android:paddingBottom">10.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
</style>
<style name="entry_layout">
<item name="android:orientation">horizontal</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="form_value">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="TextAppearance" parent="@android:style/TextAppearance" />
<style name="TextAppearance.info_label" parent="@style/TextAppearance">
<item name="android:textSize">14.0sp</item>
<item name="android:textStyle">bold</item>
</style>
<style name="TextAppearance.info_small" parent="@style/TextAppearance">
<item name="android:textSize">12.0sp</item>
<item name="android:textStyle">normal</item>
</style>
<style name="TextAppearance.info_value" parent="@style/TextAppearance">
<item name="android:textSize">14.0sp</item>
<item name="android:textStyle">normal</item>
</style>
<style name="TallTitleBarTheme" parent="@android:style/Theme.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
<style name="Theme.CustomDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowBackground">@drawable/filled_box</item>
</style>
</resources>
Nice Settings ! ! !
i would be great if there are also transparent for
= PHONE & MESSAGING
br
awesooome!!!
Amazing n thanks...but,i have problem with u settink.apk...i cant sent any file with my bluetooth...can u fix this problem?
Sent from Galaxy Tab Seven™ Powered by XDA Premium®
Thanks Just installed and running at Overcome Kratos after i do a reboot
Hey gang!
I had a couple users ask me how this is done and this is how in a few simple steps!
This will not be a comprehensive how-to for apktool and/or android-utility. There are many many guides! Consult here for awesome advice!
For this to work, you need these tools:
apktool by Brut.all
Alternately, you can use Android Utility by yours truly (for Mac OS X and Linux)
Java JRE and JDK (for apktool to work)
Text Editor (Bluefish or Gedit on Linux works wonders, TextWrangler on Mac OS X, Unsure for Windows)
A bit of Knowledge on android references to styles and framework
That should be it!
First, acquire those tools above.
Second, acquire frameworks-res.apk and com.htc.resources.apk from your ROM (either adb pull or simply from the rom.zip you downloaded)
Third, for our intents and purposes, I will be working from a directory on the Desktop called SettingsCustom. So place all three files into that directory.
Fourth, let's get down to the commands for dissembling the apk:
Code:
cd $HOME/Desktop/SettingsCustom
# the following "for" command is a one-liner, just copy and paste entire command into terminal
# hint, to copy and paste inside terminal, use CTRL+SHIFT+C and CTRL+SHIFT+V
for a in framework-res.apk com.htc.resources.apk ; do apktool if $a custom ; done
apktool d -t custom Settings.apk Settings
Fifth, I will list the files you need to edit and what to do add to them one by one. This is for setting a custom transparency but not a custom background. It will use the current wallpaper.
Settings/AndroidManifest.xml:
ORIGINAL:
Code:
<application android:theme="@style/Theme" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
CHANGE TO:
Code:
<application android:theme="@style/Theme.Custom" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
Settings/res/values/colors.xml:
ADD LINE:
Code:
<color name="classic_transparent">#7f111111</color>
Keep in mind for this one you can make the transperancy whaever you choose! 00 is full transperancy and 7f is roughly 50%. I like 50%.Settings/res/values/styles.xml:
FIND:
Code:
<style name="Theme">
<item name="htcPreferenceStyle">@style/HtcIconPreference</item>
<item name="htcCheckBoxPreferenceStyle">@style/HtcIconPreference.HtcCheckBoxPreference</item>
</style>
ADD DIRECTLY UNDER:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Keep in mind it you can technically paste that chunk anywhere but it is cleaner code-wise to keep like snippets close togther.Settings/res/values-hdpi/styles.xml:
ADD TO BOTTOM OF FILE [before </resources>]:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Sixth, the following is what you need to do to add a custom background instead of having to use the wallpaper:
Hang tight. Coming later. This is rather easy but I want to make sure I have the best way possible
I really hope this helps you some! If you know of a more efficient way to do this let me know. I know that you can just reference the styles Theme.Wallpaper from framework-res but that is tricky because you cannot set a custom transparency without having to edit framework-res.apk as well. This way, all of your work is localized inside Settings.apk.
This is for Sense based Settings.apk. I am pretty certain AOSP will be different.
Enjoy the possibilities...
Tommy Nguyen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I will be trying this out later tonight. Thanks Like always dude
Sent from my PC36100 using xda premium
tommytomatoe said:
Hey gang!
I had a couple users ask me how this is done and this is how in a few simple steps!
This will not be a comprehensive how-to for apktool and/or android-utility. There are many many guides! Consult here for awesome advice!
For this to work, you need these tools:
apktool by Brut.all
Alternately, you can use Android Utility by yours truly (for Mac OS X and Linux)
Java JRE and JDK (for apktool to work)
Text Editor (Bluefish or Gedit on Linux works wonders, TextWrangler on Mac OS X, Unsure for Windows)
A bit of Knowledge on android references to styles and framework
That should be it!
First, acquire those tools above.
Second, acquire frameworks-res.apk and com.htc.resources.apk from your ROM (either adb pull or simply from the rom.zip you downloaded)
Third, for our intents and purposes, I will be working from a directory on the Desktop called SettingsCustom. So place all three files into that directory.
Fourth, let's get down to the commands for dissembling the apk:
Code:
cd $HOME/Desktop/SettingsCustom
# the following "for" command is a one-liner, just copy and paste entire command into terminal
# hint, to copy and paste inside terminal, use CTRL+SHIFT+C and CTRL+SHIFT+V
for a in framework-res.apk com.htc.resources.apk ; do apktool if $a custom ; done
apktool d -t custom Settings.apk Settings
Fifth, I will list the files you need to edit and what to do add to them one by one. This is for setting a custom transparency but not a custom background. It will use the current wallpaper.
Settings/AndroidManifest.xml:
ORIGINAL:
Code:
<application android:theme="@style/Theme" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
CHANGE TO:
Code:
<application android:theme="@style/Theme.Custom" android:label="@string/settings_label" android:icon="@com.htc:drawable/common_app_ic_launcher_settings" android:taskAffinity="" allowSkinChange="false" pluto:isThemeable="true">
Settings/res/values/colors.xml:
ADD LINE:
Code:
<color name="classic_transparent">#7f111111</color>
Keep in mind for this one you can make the transperancy whaever you choose! 00 is full transperancy and 7f is roughly 50%. I like 50%.Settings/res/values/styles.xml:
FIND:
Code:
<style name="Theme">
<item name="htcPreferenceStyle">@style/HtcIconPreference</item>
<item name="htcCheckBoxPreferenceStyle">@style/HtcIconPreference.HtcCheckBoxPreference</item>
</style>
ADD DIRECTLY UNDER:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Keep in mind it you can technically paste that chunk anywhere but it is cleaner code-wise to keep like snippets close togther.Settings/res/values-hdpi/styles.xml:
ADD TO BOTTOM OF FILE [before </resources>]:
Code:
<style name="Theme.Custom" parent="@android:style/Theme">
<item name="android:windowBackground">@color/classic_transparent</item>
<item name="android:windowShowWallpaper">true</item>
<item name="android:colorBackgroundCacheHint">@null</item>
</style>
Sixth, the following is what you need to do to add a custom background instead of having to use the wallpaper:
Hang tight. Coming later. This is rather easy but I want to make sure I have the best way possible
I really hope this helps you some! If you know of a more efficient way to do this let me know. I know that you can just reference the styles Theme.Wallpaper from framework-res but that is tricky because you cannot set a custom transparency without having to edit framework-res.apk as well. This way, all of your work is localized inside Settings.apk.
This is for Sense based Settings.apk. I am pretty certain AOSP will be different.
Enjoy the possibilities...
Tommy Nguyen
Click to expand...
Click to collapse
Once again thanks for the write up Tommy! I seem to be all out of thanks for the day, but will definitely hit you up with my next daily allotment.
Awesome will try it just for the heck of it.
Your a great dev Tommy! Thanks for taking it one step further to teach others.
I'm not sure it was referenced (or maybe I didn't undersand), but how would you change the text color? Which files would you change?
edgarzonjr said:
I'm not sure it was referenced (or maybe I didn't undersand), but how would you change the text color? Which files would you change?
Click to expand...
Click to collapse
This guide was solely for the background. The text color is controlled by either colors.xml within settings.xml or in com.htc.res. I haven't tried yet so I can't tell you for sure.
Sent from my PG86100 using Tapatalk
tommytomatoe said:
This guide was solely for the background. The text color is controlled by either colors.xml within settings.xml or in com.htc.res. I haven't tried yet so I can't tell you for sure.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
I am not sure but I think the text color in the setting is in the framework and then you end changing it in other place too but I am not sure I could be wrong
Sent from my PC36100 using xda premium
This is a beautiful thing! I hope you know we all have big expectations now from classic 1.0 :beer:
Sent from my PC36100 using xda premium
jessesse said:
This is a beautiful thing! I hope you know we all have big expectations now from classic 1.0 :beer:
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
Dude pm me when you can I need a little help from you with something
Sent from my PC36100 using xda premium
Can't wait to learn how to make the custom background.. no hurry though. I know you have your hands full.
Sent from my PC36100 using xda premium
Transparent widgets
Can you use the same idea to make transparent widgets for evo4g sense 3.5 ?
Hi Tommy - I just stumbled over this thread and wanted to say Hi. I always used a slightly different approach and added my custom styles to framework-res and used a png as background in order to be flexible with gradients or whatever I needed.
In settings in Android.Manifest.xml it was pretty similar, but refered to the custom style in framework-res.apk
PHP:
android:theme="@style/Theme"
in
android:theme="@android:style/Theme.Custom"
In framwework-res I added the following style to styles.xml plus a background png (hestheone.png)
PHP:
<style name="Theme.Custom" parent="@style/Theme.Wallpaper">
<item name="windowBackground">@drawable/hestheone</item>
That is very flexible and I can always refer to my custom style in other apk`s, whenever i need to change to that bg. Having said that, your approach is certainly better for individual mods - my version makes sense for full Themes (if only m.10`s wouldn`t be locked...).
he_stheone64 said:
Hi Tommy - I just stumbled over this thread and wanted to say Hi. I always used a slightly different approach and added my custom styles to framework-res and used a png as background in order to be flexible with gradients or whatever I needed.
In settings in Android.Manifest.xml it was pretty similar, but refered to the custom style in framework-res.apk
PHP:
android:theme="@style/Theme"
in
android:theme="@android:style/Theme.Custom"
In framwework-res I added the following style to styles.xml plus a background png (hestheone.png)
PHP:
<style name="Theme.Custom" parent="@style/Theme.Wallpaper">
<item name="windowBackground">@drawable/hestheone</item>
That is very flexible and I can always refer to my custom style in other apk`s, whenever i need to change to that bg. Having said that, your approach is certainly better for individual mods - my version makes sense for full Themes (if only m.10`s wouldn`t be locked...).
Click to expand...
Click to collapse
Hey stranger!
Yeah the framework-res method is definitely more portable to an entire theme. I figured this method was easy enough for most users to follow without messing up any other aspects of their theme/Rom.
Can't wait to see you at it again once m10 is cracked
Sent from my PG86100 using Tapatalk 2
Apart from secsettings, I will also post a guide to other apk's so that themers can make a VRtheme! It will work on all the variants of Galaxy S4. Though the changes look huge, but it is pretty small only...so dont be scared by looking at code!:laugh: It is tested on GT-I9500 MF3 FW. I have also attached a secsettings.apk for I9500 (MF3 FW) flashable zip for deodexed rom.
Anyway major change is very simple all we need to change is from Theme.DeviceDefault to Theme.DeviceDefault.Light. This is only change which controls all other apks apart from some png's. So themers can give a try.
Some hidden secrets for themers:
1. You can make the entire apk / rom/ fraemwork to white by just modyfying the styles.xml from Theme.DeviceDefault to Theme.DeviceDefault.Light
2. To make any app to work in full window (I mean to hide statusbar), all we need to do is add a following line at the beginning of styles.xml and by default the app works in full window
PHP:
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
Download Link
This flashable zip works only with GT-I9500 deodex roms only. If you have odex, then delete the odex files and then flash the zip. I have not tested on any other variants, so odnt scream on me if it doesnt work. Only call recording mod is not enabled, which i will upload today evening. Mirrors are welcome. For secsettings.apk, the download link is avaibale at the bottom of this post.
Download for all other apks
Task Manager in White
Secsettings in white for GT_I9500
Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TO- DO
1. Music Player Done
2.Keyboard Partially Done and it will be done tonight hopefully
3. Phone.apk Done
4. Seccontacts.apk done
5. Secmms.apk done
6. Framework Partially Done
7. Secsettings.apk done
Must Have
1. Apktool
2. Some knowledge about compiling and decompiling
3. 7zip
4. notepad++
5. backsmali
Screenshot
Target File
SecSettings.apk
Changes to be done!
1. Decompile the attached secsettings.apk and navigate to drawable folder and copy the following png's to your secsettings.apk
smartnetwork_bar_off.9.png
tw_divider_ab_holo_light.9.png
tw_preference_contents_list_divider_holo_dark.9.png
2. Navigate to drawable-xxhdpi and copy the following png's to your secsettings.apk
tw_divider_ab_holo_light.9.png
3. Navigate to values folder and make following changes
from
PHP:
<style name="SetupWizardTheme_phone" parent="@*android:style/Theme.DeviceDefault" />
<style name="SetupWizardTheme1" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="SetupWizardTheme_phone" parent="@*android:style/Theme.DeviceDefault.Light" />
<style name="SetupWizardTheme1" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="Theme.CreateShortCut" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="setup_wizard_theme" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="TextAppearance.PagerTabs" parent="@*android:style/TextAppearance.DeviceDefault.Small">
to
PHP:
<style name="TextAppearance.PagerTabs" parent="@*android:style/TextAppearance.DeviceDefault.Light.Small">
from
PHP:
<style name="SettingsTheme" parent="@*android:style/Theme.DeviceDefault" />
<style name="SettingsTheme.Dialog" parent="@*android:style/Theme.DeviceDefault.Dialog" />
<style name="SettingsTheme.Dialog.NoWindowDisplay" parent="@*android:style/Theme.DeviceDefault.Dialog">
to
PHP:
<style name="SettingsTheme" parent="@*android:style/Theme.DeviceDefault.Light" />
<style name="SettingsTheme.Dialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog" />
<style name="SettingsTheme.Dialog.NoWindowDisplay" parent="@*android:style/Theme.DeviceDefault.Light.Dialog">
from
PHP:
<style name="SettingsTheme.NoActionBar" parent="@*android:style/Theme.DeviceDefault.NoActionBar" />
<style name="SettingsTheme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.DialogWhenLarge" />
<style name="SettingsTheme.Panel" parent="@*android:style/Theme.DeviceDefault.Panel" />
<style name="SettingsTheme.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert" />
to
PHP:
<style name="SettingsTheme.NoActionBar" parent="@*android:style/Theme.DeviceDefault.Light.NoActionBar" />
<style name="SettingsTheme.DialogWhenLarge" parent="@*android:style/Theme.DeviceDefault.Light.DialogWhenLarge" />
<style name="SettingsTheme.Panel" parent="@*android:style/Theme.DeviceDefault.Light.Panel" />
<style name="SettingsTheme.Dialog.Alert" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert" />
from
PHP:
<style name="Theme.OffloadDialog" parent="@*android:style/Theme.DeviceDefault.Dialog">
to
PHP:
<style name="Theme.OffloadDialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog">
from
PHP:
<style name="TabTheme" parent="@*android:style/Theme.DeviceDefault">
to
PHP:
<style name="TabTheme" parent="@*android:style/Theme.DeviceDefault.Light">
from
PHP:
<style name="Theme.WifiP2PDialog" parent="@*android:style/Theme.DeviceDefault.Dialog.Alert">
to
PHP:
<style name="Theme.WifiP2PDialog" parent="@*android:style/Theme.DeviceDefault.Light.Dialog.Alert">
Download Link for GT-I9500_SECSETTINGS_WHITE_MF3
Feel Helped, Press Thanks! Any one free to use this with due credits and link to this thread
reserved
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Rixsta said:
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Click to expand...
Click to collapse
I tried all other apks and everything is coming white with small change in xml. I guess you can try as well! Tonight i will try to edit the framework as well (oops I just done it and need to change the secondary color and framework is also done), in the mean time, here you go the myfiles...still the work needs to be done though...
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Does your guide also only work for Deodexed Rom?
Rixsta said:
Worked perfect, thank you, that saved me some time to find out where the xmls were, massive help for my new theme..
Click to expand...
Click to collapse
Please make white music player and keyboard if possible..
dong2007 said:
Does your guide also only work for Deodexed Rom?
Click to expand...
Click to collapse
it wworks with odexed as well, because i am not making any changes in classes.dex, hence you can follow the guide with no problems... Let me reveal the secret..
all the apks and framework xml's needs to be changed from Theme.DeviceDefault to Theme.DeviceDefault.Light in styles.xml and twseconadry and primarycolors needs to be changed. Thats all, you will have white theme of entire samsung ROM
Another Hidden secret! TO make any app to work in full window. Navigate to styles.xml and add the following line
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
dong2007 said:
Does your guide also only work for Deodexed Rom?
Click to expand...
Click to collapse
jashir101 said:
Please make white music player and keyboard if possible..
Click to expand...
Click to collapse
white music player is already done and working on keyboard right now...
Rixsta said:
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Click to expand...
Click to collapse
Bro, i am not much in to themeing, I am only interested in coding...but somehow (I love white though) i got motivated to make this theme by editing xml files...i guess, you can contact vertumus , propably he can help you...
edit: I guess it can be done, as i remember DARKY ROM / ALLIANCE ROM scripts works like vrtheme and they use the same for themeing...i will check tonight
there is many things in settings that still has white text, if you were to use a pure white background then there is a lot in the sub menus that would be unreadable. I think the project is just far to big for myself to make a complete theme, its just to complex
Thanks anyway
grgsiocl said:
it wworks with odexed as well, because i am not making any changes in classes.dex, hence you can follow the guide with no problems... Let me reveal the secret..
all the apks and framework xml's needs to be changed from Theme.DeviceDefault to Theme.DeviceDefault.Light in styles.xml and twseconadry and primarycolors needs to be changed. Thats all, you will have white theme of entire samsung ROM
Another Hidden secret! TO make any app to work in full window. Navigate to styles.xml and add the following line
<style name="Theme" parent="@*android:style/Theme.DeviceDefault.Light">
<item name="android:windowFullscreen">true</item>
</style>
Click to expand...
Click to collapse
Kk thx, I will give a try . Can I use Sublime text instead of Notepad ++?
Excellent... Excellent Works ...Great finding... You Rocks Always.. Hidden Developer ...
---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------
dong2007 said:
Kk thx, I will give a try . Can I use Sublime text instead of Notepad ++?
Click to expand...
Click to collapse
You Can use any Text editer ..
prasadnaidu66 said:
Excellent... Excellent Works ...Great finding... You Rocks Always.. Hidden Developer ...
---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------
You Can use any Text editer ..
Click to expand...
Click to collapse
If you have the I9505, can you upload the modded SecSetttings?
I can only find they 3 first "From" PHP code in styles.xml :-/
Can op upload flashable zip for the rest of the mods like secphone/contact/mms/sms and etc?...tq
Sent from my GT-I9500 using xda premium
hazri1974 said:
Can op upload flashable zip for the rest of the mods like secphone/contact/mms/sms and etc?...tq
Sent from my GT-I9500 using xda premium
Click to expand...
Click to collapse
i am out now...but you can get from the other threads following apks, seccontacts & secmms which i posted earlier...secphone.apk i am having problem with the video call. I will fix that and then upload....
you can get some of them here
Rixsta said:
I use vrtheme but i cant use that for settings because the value folder is hidden in the apk
Any help with that please mate ?
Click to expand...
Click to collapse
All xml files from values* folders end up in 'resources.arsc'. It would be a nightmare if one couldn't change values here but it's for sure not a problem for vrtheme.
Cheers
Toscha
toscha42 said:
All xml files from values* folders end up in 'resources.arsc'. It would be a nightmare if one couldn't change values here but it's for sure not a problem for vrtheme.
Cheers
Toscha
Click to expand...
Click to collapse
I wish you would come on board with me lol. Anyway thanks for the info. Most helpful
Sent from my GT-I9505 using xda app-developers app
Rixsta said:
I wish you would come on board with me lol. Anyway thanks for the info. Most helpful
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
UPLOADING ALL THE APK'S INLCUDING WHITE KEYBOARD IN A WHILE...Just want to know, users want modded apk's or unmodded one before i upload...Screenshots in a while at the first post
grgsiocl said:
UPLOADING ALL THE APK'S INLCUDING WHITE KEYBOARD IN A WHILE...Just want to know, users want modded apk's or unmodded one before i upload...Screenshots in a while at the first post
Click to expand...
Click to collapse
I think the modded one so we can enjoy them
Inviato dal mio fantasticamente nero e puro Galaxy SIV con tapatalk 2
Hello Everybody!
Just wanted to write a guide for the systemUI mods because I learnt it the hard way, but I really Don't want others to learn like that when it can be done in a much easier way.
The Food has to be eaten, no one cares how..
Ok so lets start.
Things Needed:
1) APK tool
2) Notepad ++
3) Brain-Time-Patience
4) Framework-res.apk & Lge-res.apk
Steps:
1) Install the Framework source files.
2) Decompile the LGsystemUI.apk.
3) Navigate to "res" folder after decompiling.
Brightness bar-
Remove it completely:
1) Go to res>layout>Statusbar_expanded.xml.
2) Find this
Code:
<ViewStub android:id="@id/brightnessslider_stub" android:layout="@layout/brightnessslider_layout" android:layout_width="fill_parent" android:layout_height="wrap content" />
to
Code:
<ViewStub android:id="@id/brightnessslider_stub" android:layout="@layout/brightnessslider_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
then save it.
3) Go to res>layout>brightnessslider_layout.xml
4) Find this
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/brightnessslider" android:background="@drawable/indi_noti_brightness_panel_bg" android:paddingLeft="@dimen/brightness_slider_padding" android:paddingRight="@dimen/brightness_slider_padding" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layoutDirection="ltr"
xmlns:android="http://schemas.android.com/apk/res/android">
to
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/brightnessslider" android:background="@drawable/indi_noti_brightness_panel_bg" android:paddingLeft="@dimen/brightness_slider_padding" android:paddingRight="@dimen/brightness_slider_padding" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layoutDirection="ltr"
xmlns:android="http://schemas.android.com/apk/res/android">
save it and recompile the APK as system apk.
Remove Volume Slider:
1) Go to res>layout> Statusbar_expanded.xml .
Search for :
Code:
<ViewStub android:id="@id/volumeslider_stub" android:layout="@layout/volumeslider_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
and change it to:
Code:
<ViewStub android:id="@id/volumeslider_stub" android:layout="@layout/volumeslider_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
Save it and close it.
2) Go to res>layout>volumeslider_layout.xml.
Search for
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/volumeslider" android:background="@drawable/indi_noti_volume_panel_bg" android:layout_width="fill_parent" android:layout_height="@dimen/volume_slider" android:layoutDirection="ltr"
and change it to :
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/volumeslider" android:background="@drawable/indi_noti_volume_panel_bg" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layoutDirection="ltr"
Save and Recompile.
Remove Quicksettings-
1) Go to res>Layout>quick_settings.xml.
Search for :
Code:
<com.android.systemui.statusbar.phone.SettingsPanelView android:id="@id/settings_panel" android:background="@drawable/notification_panel_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
change it to
Code:
<com.android.systemui.statusbar.phone.SettingsPanelView android:id="@id/settings_panel" android:background="@drawable/notification_panel_bg" android:layout_width="fill_parent" android:layout_height="0.0dip"
2) Save it.
3) Now go to res>layout>status_bar_expanded.xml.
Search for :
Code:
<ViewStub android:id="@id/quicksetting_stub" android:layout="@layout/quicksetting_layout" android:layout_width="fill_parent" android:layout_height="wrap_content" />
Change it to
Code:
<ViewStub android:id="@id/quicksetting_stub" android:layout="@layout/quicksetting_layout" android:layout_width="fill_parent" android:layout_height="0.0dip" />
4)Save & Recompile the xml. You are done.
Remove the Carrier Font
1)Go to res>Layout>carrier_label.xml
Search for
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_height"
change it to
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrier_label" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="0.0dip" android:layout_marginBottom="@dimen/close_handle_height"
Save & Recompile the apk as system apk.
Transparent Status Bar with 3Rd party Launcher
1)Go to res>Values>drawables.xml
Everything in Red is changed value.
Everything In Blue is the name for which value has to be changed.
Search for
Code:
<item type="drawable" name="APKTOOL_DUMMY_04c7">false</item>
<item type="drawable" name="[COLOR="blue"]status_bar_background[/COLOR]">[COLOR="red"]#00000000[/COLOR]</item>
<item type="drawable" name="notification_number_text_color">#ffffffff</item>
<item type="drawable" name="ticker_background_color">#ff1d1d1d</item>
<item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
<item type="drawable" name="status_bar_notification_row_background_color">#ff090909</item>
<item type="drawable" name="recents_callout_line">#99ffffff</item>
<item type="drawable" name="notification_item_background_legacy_color">#ffaaaaaa</item>
<item type="drawable" name="intruder_bg_pressed">#ff33b5e5</item>
<item type="drawable" name="notification_header_bg">#ff000000</item>
<item type="drawable" name="[COLOR="Blue"]system_bar_background[/COLOR]">[COLOR="red"]#00000000[/COLOR]</item>
<item type="drawable" name="[COLOR="blue"]notification_icon_area_smoke[/COLOR]">[COLOR="Red"]#00000000[/COLOR]</item>
<item type="drawable" name="quicksettings_header_bg_color">#ffa9a9a9</item>
<item type="drawable" name="quicksettings_button_on_text_color">#ff03f0ff</item>
<item type="drawable" name="quicksettings_button_off_text_color">#ffffffff</item>
<item type="drawable" name="quicksettings_button_off_text_color_vzw">#ffababab</item>
<item type="drawable" name="quicksettings_drag_font_color">#ff000000</item>
<item type="drawable" name="quicksettings_after_drop_font_color">#ff000000</item>
<item type="drawable" name="notification_tracking_bg_att">#cc000000</item>
<item type="drawable" name="tp_select">#00000000</item>
<item type="drawable" name="operator_view_att_color">#ffffffff</item>
<item type="drawable" name="operator_view_skt_color">#fff0f0f0</item>
<item type="drawable" name="ir_control_gray">#ffababab</item>
<item type="drawable" name="ir_control_text_color">#ff3c3c3c</item>
Press Thanks & Many Many more coming!
Not continuing today because I have to visit the hospital early tomorrow.
# Reserved 1
You have a few redundant steps. You only need to set the vertical to 0.0dip in Statusbar_expanded.xml for brightness and volume stubs. You dont need to do anything else in any other files
Not Exactly.. Try it out, you will understand Why I have written! Obviously not a waste of time!
Recent apps button? Is it possible?
I know I ask this a lot throughout the threads, but do you foresee a way to remove the AM/PM through this method? Or would it be elsewhere? Or possible at all...
Hello!
I am trying to get rid of teh volume slider, but i cannot seem to find Statusbar_expanded.xml nor volumeslider_layout.xml.
i have checked in both framework-res.apk and lge-res.apk
framework-res.apk and lge-res.apk i pulled from /system/framework/...
What am i missing?
You are Missing the SystemUI.apk ! hehehe
Jishnu Sur said:
You are Missing the SystemUI.apk ! hehehe
Click to expand...
Click to collapse
There is no Statusbar_expanded.xml in the LGSystemUI.apk however there is a status_bar_expanded.xml
should that work?
I have i international version of the G2
Thank you in advance!
Edit:
It worked like a charm
You can merely flip the volume slider off in dimens.xml under values, FYI.
Sent from my LG-D800 using Tapatalk 2
burningembers said:
You can merely flip the volume slider off in dimens.xml under values, FYI.
Sent from my LG-D800 using Tapatalk 2
Click to expand...
Click to collapse
Sorry?
Sent from my LG-P990 using xda app-developers app
Jishnu Sur said:
Sorry?
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
My bad. I mean bools.xml in /values once you "apktool d" against SystemUI. There is a simple true/false boolean value to dictate the appearance of the slider.
Thats right.. but this is another method. As said in OP many different ways friend..
Sent from my LG-P990 using xda app-developers app
for transparent status bar ?
I'm slightly familiar with editing xmls, etc, having done some work with the S3. I was able to edit my SystemUI.apk to have the statusbar look completely AOSP (no Verizon 4GLTE, etc):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What would I need to do for the G2? I'm getting it on Wed. is it as easy as replacing the .pngs or are there smali edits.
Thanks!
See easiest way is what I prefer.. I shall post what to do..
Sent from mobile
You guys should really consider using Xposed.
This way any modifications you make on your currect G2 build, will probably still work on future versions of LG firmware as well.
I'm not a modder or developer, atleast not for android, but the power of Xposed is really compelling.
A little question about decompiling LGSYSTEMUI.APK
i've stock Korean version F320K11a that contains apk + odex files.
But when i try to decompile systemui.apk, don't work and in log i find a lot of errors.
So i can't decompile nothing.
Can someboby tell me why or help me ( i want to change the clock color in status bar )
Thanks in advance for your valuable help
devadip said:
A little question about decompiling LGSYSTEMUI.APK
i've stock Korean version F320K11a that contains apk + odex files.
But when i try to decompile systemui.apk, don't work and in log i find a lot of errors.
So i can't decompile nothing.
Can someboby tell me why or help me ( i want to change the clock color in status bar )
Thanks in advance for your valuable help
Click to expand...
Click to collapse
Please Get me the LOG.
Jishnu Sur said:
Please Get me the LOG.
Click to expand...
Click to collapse
Sorry.... Jishnu,
now i'm at work,
i will send you everythings this afternoon.
thanks a lot
Here is My guide how to add Owner pic in settings about Panel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Always backup any original file before modifying. If your phone doesn't boot push that backup to your phone.**
REQUIRED:
--Android SDK
--APK Tool
--WinZIP
--NOTEPAD
STEPS:--- Download the attached ZIPowner.zip
--Decompile your Setting.apk folder
--and replace mine res folder with yours
Code:
<PreferenceCategory android:layout="@layout/preference_category" android:title=" INFO " />
<Preference android:focusable="false" android:clickable="false" android:layout="@layout/lenox_pic" />
Below this line
xmlns:android="http://schemas.android.com/apk/res/android">
Click to expand...
Click to collapse
IT will look like this
Open res/values/ids.xml and add these at the end
<item type="id" name="image">false</item>
<item type="id" name="owner">false</item>
<item type="id" name="linear_layout">false</item>
<item type="id" name="profile_pic">false</item>
<item type="id" name="layout1">false</item>
<item type="id" name="change_picture_text">false</item>
<item type="id" name="photo_picker">false</item>
<item type="id" name="linear_layout1">false</item>
<item type="id" name="layout2">false</item>
<item type="id" name="name_field">false</item>
<item type="id" name="name_edit">false</item>
<item type="id" name="profile">false</item>
<item type="id" name="profile_name">false</item
Click to expand...
Click to collapse
Open strings.xml and add these strings
<string name="change_pic">Change profile picture</string>
<string name="profile_pic">SET PROFILE PICTURE</string>
<string name="profile_name">CHANGE PROFILE NAME</string>
Click to expand...
Click to collapse
Now recompile the apk and decompile it again. Now open the public.xml and find these ids.These may not be the same in your apk
-- Now, Copy the "b16h22" folder to \smali\com\(here)
Below are the most imp. steps:
This step is for matching the codes found in public.xml with that in smali foder.
1. Open each Smali files one by one which you copied now.
2. Also open Open the PublicPre.xml provided by me and Public.xml of ur current ROM in which u had registered the ID's.
3. In your smali files, find the id codes like 0x.......
4.Search dis in PublicPre.xml.
5.Copy the Item name related to dis code and search dis in ur current Public.xml.
6. And finally copy the Id of that ITEM name and replace with that in your Smali file.
7. Do the above steps with each ID codes in each Smali..
Now open the res/xml/ settings.xml
and add this iconpreferencescreen.You can add it anywhere you want.I'm assuming you have basic knowledge about preference xmls.
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
Now open the res/xml/ Open AndroidManifest.xml and add this
[QUOTE]<activity android:label="@string/change_pic" android:name="com.b16h22.Profile">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
[/QUOTE]
10. Now you are done with modifications. Recompile and sign the settings.apk with kitchen
Here is the last step
you have to disable signature check otherwise settings will not work
Here is My Guide
Decompile /system/framework/services.jar,
open com/android/server/packagemanagerservice.smali, look for
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/SignatureI
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921
Click to expand...
Click to collapse
and add the red part
method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/SignatureI
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1921
const/4 v6, 0x0
return v6
Click to expand...
Click to collapse
Credit
b16h22
MARK
if u like my guide then press thanks button
nice guide
thanks.. nice guide bro
Sent from my Micromax A57 using xda app-developers app
welcome Sir
very nice mod.... i will sure include this in my rom....& ofcourse ur & author's credit will be there...
Hi @SK(SurajKumar), will this work on 4.1.2 jelly bean as well ?
limyuyang said:
Hi @SK(SurajKumar), will this work on 4.1.2 jelly bean as well ?
Click to expand...
Click to collapse
sir did not try on 4.1 android and other high version!!
but you can try !!
and tell me result
and bro i am using 2.3.5:victory:
SK(SurajKumar) said:
sir did not try on 4.1 android and other high version!!
but you can try !!
and tell me result
and bro i am using 2.3.5:victory:
Click to expand...
Click to collapse
Hmm.....okay. I guess this mod will only work on GB because this code is only for GB, not for JB.
Code:
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
limyuyang said:
Hmm.....okay. I guess this mod will only work on GB because this code is only for GB, not for JB.
Code:
<com.android.settings.IconPreferenceScreen android:title="Owner Profile" settings:icon="@drawable/ic_settings_owner">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" />
</com.android.settings.IconPreferenceScreen>
Click to expand...
Click to collapse
sir
may be it will work
Code:
<header android:icon="@drawable/ic_settings_owner" " android:title="Owner Profile" >
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.b16h22.Profile" / />
</header>
Would it be worthwhile trying to create a collections of settings.apk files for various phones on various networks? Then the uninitiated, like myself, would be able to try this too
Is this an APK teardown of Hyperion?
CarlDeanCatabay said:
Is this an APK teardown of Hyperion?
Click to expand...
Click to collapse
Bro,I posted this guide long before him.I got this idea from your rom.
So,I gave you credits you can check my thread.
He just copied my thread.
I will report to the moderator.He didn't gave you credits and saying that he made this guide.
plz tell me, about guide multypanel settings for JB 4.1 Samsung Touchwiz
I hope you come out with an update guide fir kitkat. Thanks though as this is fabulous
dugeriss said:
plz tell me, about guide multypanel settings for JB 4.1 Samsung Touchwiz
Click to expand...
Click to collapse
TecknoFreak said:
I hope you come out with an update guide fir kitkat. Thanks though as this is fabulous
Click to expand...
Click to collapse
Check out my thread for 4.1 to 4.4.Check owner profile in about phone bro.
nightwalker said:
Check out my thread for 4.1 to 4.4.Check owner profile in about phone bro.
Click to expand...
Click to collapse
Ok i will once I'm on PC as i cant navigate into your threads from the xda app to get link
Thanks
This is nothing more than a copy and past thread that was stolen from @nightwalker
Please check out the original thread here
http://forum.xda-developers.com/showthread.php?t=2591100
Thread Closed