Hello guys here is a small tut
very simple thing to add changelog in settings
you need stock deodexed settings.apk
1. First decompile settings.apk
2. Open res/values/strings.xml and add these codes
Code:
<string name="changelog_title"><b>Changelog</b></string>
<string name="changelog_title_summary">View recent changes in ROM</string>
<string name="changelog_loading">Loading changelog...</string>
<string name="changelog_error">Unable to load changelog</string>
<string name="changelog_unknown">Unknown</string>
<string name="changelog_version">Version</string>
3. Open res/xml/device_info_settings.xml and look for this code ( or your wish)
Code:
<PreferenceScreen android:title="@string/device_feedback" android:key="device_feedback" />
Add this code after or before that code
Code:
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog" android:summary="@string/changelog_title_summary" android:fragment="com.android.settings.rz.ChangeLog" />
4. Now Download this View attachment Settings.zip merge this code
5. Now compile and Decompile for Replacing public id
#0x7f090f8e #<public type="string" name="changelog_error" id="0x7f090f8e" />
6. Then after download this View attachment RZChangelog.txt ( Place this in System/etc )
edit what you need in the text file
Ohhh now its done
Thanks to Cyanogenmod
Great bro.. Keep up the good work. Master of making tutorials
For cm12??
Thanks Sir !!!
Thanks Sir !!! @venkat kamesh
Confirmed work on CM 13 with 6.0.1 :laugh:
{
"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"
}
@venkat kamesh
Thanks a lot for this guide
Its working perfectly on My Galaxy S5 G900H Running S7edge Port Rom
But when i apply dark themes i cant view text in Changelog
Only when i use light Bg themes i am able to view
Not a problem but any way to change color of text as per theme??
@venkat kamesh
Hi I have not tried this method in a main screen application, do not have root authority and how should I follow a way to android 6 system?
Related
Hi everyone,
So I'm a big fan of supercurio's work with Voodoo sound, but I'm also a semi-OCD theming/graphic design nerd, lol.
So I made a couple gingerbread style status icons, and found a way to enable them in the voodoo control app, and thought I'd share them for anyone else that's interested.
{
"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"
}
http://dl.dropbox.com/u/9401664/stat_notify_icon.png
http://dl.dropbox.com/u/9401664/stat_notify_icon 2.png
Download whichever icon you prefer (please note, that the white space in both icons is actually "negative" space, so that will be transparent, and inherit the color of your status bar) and make sure its named stat_notify_icon.png
Then decompile the voodoo control app (I used apk manager), and browse to /smali/org/projectvoodoo/controlapp and open VolumeManager.smali
Change line 846 in VolumeManager.smali to:
Code:
const v9, 0x7f020002
Save and close that file, and navigate to /res/values and open Public.xml
Right after
Code:
<public type="drawable" name="icon" id="0x7f020001" />
Add the following line, then save and close:
Code:
<public type="drawable" name="stat_notify_icon" id="0x7f020002" />
Now copy the icon into /res/drawable-hdpi
Finally, compile, sign (zipalign if you want) and install.
Make sure you uninstall your old version first, or this will fail to install because of the signature mis-match.
Anyway, hope someone else likes this, and Supercurio is free to use either icon in the app if he wants.
Cheers everyone, =)
Hello,
I want to change background of Title Bar. I tried every possible png inside framework-res.apk, SystemUI.apk but I can't change it.
I've managed to change background image of Status bar but not the Title bar.
{
"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"
}
Please tell me the actual location and name of PNG.
Thanks,
Rahul
Rahulrulez said:
Hello,
I want to change background of Title Bar. I tried every possible png inside framework-res.apk, SystemUI.apk but I can't change it.
I've managed to change background image of Status bar but not the Title bar.
Please tell me the actual location and name of PNG.
Thanks,
Rahul
Click to expand...
Click to collapse
for your theme it's not a png ...you got to change the xlm (systemui.apk) and the name is :
systemui/res/layout/status_bar.xml
SystemUI.apk/res/drawable-hdpi/statusbar_background.9.png
Lar3s said:
SystemUI.apk/res/drawable-hdpi/statusbar_background.9.png
Click to expand...
Click to collapse
how it looks in the end? where to change it?
Same question, have tried this too...
mirash11 said:
how it looks in the end? where to change it?
Click to expand...
Click to collapse
bassie1995 said:
Same question, have tried this too...
Click to expand...
Click to collapse
open the status_bar.xml
PHP:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="@drawable/statusbar_background" android:focusable="true" android:descendantFocusability="afterDescendants"
look at this
PHP:
android:background="@drawable/statusbar_background"
find it on " Drawable-HDPI" folder
statusbar_background.png
or
statusbar_background.9.png
Recently used the ..ICS COMPLETE PACKAGE 2.1 w/ Juggernaut 4.1. Enjoy it alot but not a fan of settings color
{
"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"
}
How would i change the color of these icons from the blue to a white?
KrisHilbun said:
Recently used the ..ICS COMPLETE PACKAGE 2.1 w/ Juggernaut 4.1. Enjoy it alot but not a fan of settings color
How would i change the color of these icons from the blue to a white?
Click to expand...
Click to collapse
Easy way, which is not easy, is to learn how to edit the systemUI.apk and framework-res.apk ..
There is no "simple" way to change these without flashing a new theme ...
Which apk/'s would i need to decompile and edit?
Sent from my SGH-T989 using xda premium
Update;
Android ApkTool Tutorial Extremely helpful..
Setup apktool on linux
installed frameworks with apktool, since was changing settings.apk required both frameworks to be installed..
Code:
apktool if framework-res.apk
apktool if twframework-res.apk
Once framework installed decompile the settings.apk (case sensitive)
Code:
apktool d Settings.apk out
apktool d (decompile) Settings.apk (/locaation/apk/) out (folder name for after decompiled)
Once decompiled go to folder.. mine which is named out in home directory..
/res/drawable-hdpi/ location of the pngs (pictures seem blown up but i think thats flickr)
ic_settings_icon_juggernaut.png
ic_settings_applications.png
now to change colors of png and recompile...
TO BE CONTINUED!
I have icons themed ICS blue. All the icons to the right hand side appear as ICS blue but the icons on the left hand side have an overlay that makes it darker... Any help would be appreciated.
{
"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"
}
ForeverSupra said:
I have icons themed ICS blue. All the icons to the right hand side appear as ICS blue but the icons on the left hand side have an overlay that makes it darker... Any help would be appreciated.
Click to expand...
Click to collapse
Decompile the SystemUI.apk go to the values folder, open the dimens.xml file and find the <item type="dimen" name="status_bar_icon_drawing_alpha"> and change it to 100%. Recompile and push to /system/app.
And by the way, this post should not be here, it has nothing to do with development.
iridaki said:
Decompile the SystemUI.apk go to the values folder, open the dimens.xml file and find the <item type="dimen" name="status_bar_icon_drawing_alpha"> and change it to 100%. Recompile and push to /system/app.
And by the way, this post should not be here, it has nothing to do with development.
Click to expand...
Click to collapse
Thanks a lot man!
iridaki said:
Decompile the SystemUI.apk go to the values folder, open the dimens.xml file and find the <item type="dimen" name="status_bar_icon_drawing_alpha"> and change it to 100%. Recompile and push to /system/app.
And by the way, this post should not be here, it has nothing to do with development.
Click to expand...
Click to collapse
thanks
tested
works
Hello everyone
It's not important to have a preview but I think (maybe others too) it's just nice to have a preview. That's why I'm gonna show it to you. Let's start.
{
"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"
}
First put the screenshots or pictures you want to set as preview in to the drawable folder of your theme and name it for example semc_theme_preview_screenshot.
jpg and pngs are both supported.
Example: themefolder/res/drawable-xxhdpi/semc_theme_preview_screenshot.jpg
Then open your AndroidManifest.xml of the theme and add the red marked line:
Code:
<uses-permission android:name="com.sonymobile.permission.RUNTIME_SKIN"/>
<application android:icon="@drawable/semc_theme_preview" android:label="@string/somc_theme_title">
<uses-library android:name="com.sonymobile.runtimeskinning"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.image_wallpaper" android:resource="@drawable/semc_theme_wallpaper"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.lockscreen_background" android:resource="@drawable/semc_theme_lockscreen_wallpaper"/>
<meta-data android:name="com.sonymobile.runtimeskinning.core.SKIN_COLOR" android:resource="@color/skin_color"/>
[COLOR="Red"] <meta-data android:name="com.sonymobile.runtimeskinning.core.SKIN_PREVIEW" android:resource="@array/previews"/>[/COLOR]
</application>
Now go to themefolder/res/value and create a xml file called arrays.xml which should look like this (you can also just use my attached arrays.xml file if you like):
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/semc_theme_preview_screenshot</item>
</array>
</resources>
If you want to add more screenshots you have to add more item in arrays.xml.
Now recompile your theme and you've done it.
Attatchments
arrays.xml
How to order the screenshots / pictures
It depends on the name of the screenshots / pictures. You have to call them for example this way:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/theme_ss_a</item>
<item>@drawable/theme_ss_b</item>
<item>@drawable/theme_ss_c</item>
<item>@drawable/theme_ss_d</item>
<item>@drawable/theme_ss_e</item>
<item>@drawable/theme_ss_f</item>
</array>
</resources>
Just changing the order in string file won't have any effect to the preview order!
I don't know if there is a limitation of pictures you can set, but 6 are defenetly possible
Good one
Just figured out how to change order of the screenshoots/pictures (first, second,..) in preview.
It depends on the name of the screenshots/pictures. You have to call them for example this way:
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<array name="previews">
<item>@drawable/theme_ss_a</item>
<item>@drawable/theme_ss_b</item>
<item>@drawable/theme_ss_c</item>
<item>@drawable/theme_ss_d</item>
<item>@drawable/theme_ss_e</item>
<item>@drawable/theme_ss_f</item>
</array>
</resources>
I don't know if there is a limitation of pictures you can set, but 6 are defenetly possible
Edit: Added it to second post