Related
hi guyz..
i just want to know how can i change the background of settings menu?
you can`t change the background in setting menu ....
explor3r3 said:
you can`t change the background in setting menu ....
Click to expand...
Click to collapse
really? :O there is no way?
explor3r3 said:
you can`t change the background in setting menu ....
Click to expand...
Click to collapse
not true
donjamal said:
really? :O there is no way?
Click to expand...
Click to collapse
I never tried in the stock/stock base ROM
would be more easy if use cm7, choose theme that support to change background menu (like MIUI by zduneX25) and change the background to your image
oh yeah sorrry for my poor english
slurpdroid said:
not true
I never tried in the stock/stock base ROM
would be more easy if use cm7, choose theme that support to change background menu (like MIUI by zduneX25) and change the background to your image
oh yeah sorrry for my poor english
Click to expand...
Click to collapse
u can change it. i'll post it here. gimme sometime
---------- Post added at 11:23 AM ---------- Previous post was at 11:09 AM ----------
this is NOT my tutorial.
our dev and champ themer Gabwerkz taught me this. am just sharing his tutorial to you.
give him a thumbs up
In framework-res/res/values/styles.xml you will find:
<style name="Theme">
If you are using notepadd++, input it in search and you'll be directed to it. you will see a long line, but I'll input just the beginning where I edited. Something like:
Code:
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@color/background_dark</item>
Now the "background_dark" is the black you see as background like in settings etc. Change that name to the image name you like. Example: "background_gabwerkz". Don't loose the "background_". Then your image should be in drawable-hdpi. The image name would be then "background_gabwerkz".
No further mod then is necessary. The custom background will show in settings, or other associated with it.
Doinks, last thing before you try.. Same location I mentioned
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@color/background_dark</item>
to:
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@drawable/background_gabwerkz</item>
Change the"@color" to "@drawable" cause it's not a color but a drawable image.
Woooh, last message, sorry. same location: framework-res/res/values/styles.xml
UNDER: <style name="Theme">
FIND: <item name="windowBackground">@drawable/screen_background_dark</item>
CHANGE: screen_background_dark to a custom image.
Same procedure as my previous message. Sorry bro, been a while not touching the style theme. It makes the scrolling stutter.
__________________
HAPPY TRYING
achyut said:
u can change it. i'll post it here. gimme sometime
---------- Post added at 11:23 AM ---------- Previous post was at 11:09 AM ----------
this is NOT my tutorial.
our dev and champ themer Gabwerkz taught me this. am just sharing his tutorial to you.
give him a thumbs up
In framework-res/res/values/styles.xml you will find:
<style name="Theme">
If you are using notepadd++, input it in search and you'll be directed to it. you will see a long line, but I'll input just the beginning where I edited. Something like:
Code:
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@color/background_dark</item>
Now the "background_dark" is the black you see as background like in settings etc. Change that name to the image name you like. Example: "background_gabwerkz". Don't loose the "background_". Then your image should be in drawable-hdpi. The image name would be then "background_gabwerkz".
No further mod then is necessary. The custom background will show in settings, or other associated with it.
Doinks, last thing before you try.. Same location I mentioned
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@color/background_dark</item>
to:
<style name="Theme">
<item name="colorForeground">@color/bright_foreground_dark</item>
<item name="colorBackground">@drawable/background_gabwerkz</item>
Change the"@color" to "@drawable" cause it's not a color but a drawable image.
Woooh, last message, sorry. same location: framework-res/res/values/styles.xml
UNDER: <style name="Theme">
FIND: <item name="windowBackground">@drawable/screen_background_dark</item>
CHANGE: screen_background_dark to a custom image.
Same procedure as my previous message. Sorry bro, been a while not touching the style theme. It makes the scrolling stutter.
__________________
HAPPY TRYING
Click to expand...
Click to collapse
i only need to change the windowBackground? cuz it changes the bg but when i touch it it will be black again..
Hey Guys I am back with my new guide
{
"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"
}
Here i'll show you How to theme your settings.apk to look like xperia .As you all know sony uses colorizable function for changing the themes
But AOSP framework Doesn't support colorizable function so i've modified the files from xperia rom to make it work on AOSP roms
Topics Covered :-
1.changing switch style to look like Xperia
2.changing only settings background
3.changing the settings header style
4.How to theme settings.apk to look like XZ2
5.changing the icons and more
Click to expand...
Click to collapse
Requirements:-
apktool 2.0.0b9
Notepad++
Knowledge about decompiling and recompiling
Time and Patience
Click to expand...
Click to collapse
Decompile your framework-res.apk
download the resources from attachment and merege it with yours
navigate to framework-res.apk/res/values and open styles.xml
find
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
OR
Code:
<style name="Widget.Holo.CompoundButton.Switch"
replace the style with this
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
<item name="textOn">@string/somc_btn_on</item>
<item name="textOff">@string/somc_btn_off</item>
<item name="thumb">@drawable/semc_switch_inner_holo_dark</item>
<item name="switchTextAppearance">@style/TextAppearance.DeviceDefault.Widget.Switch</item>
<item name="track">@drawable/semc_switch_track_holo_dark</item>
<item name="switchMinWidth">72.0dip</item>
<item name="switchPadding">4.0dip</item>
<item name="thumbTextPadding">@dimen/somc_switch_text_padding</item>
</style>
like this :
and add this at the end of styles.xml before </resources>
Code:
<style name="TextAppearance.DeviceDefault.Widget.Switch" parent="@style/TextAppearance.DeviceDefault.Small">
<item name="textSize">10.0dip</item>
<item name="typeface">sans</item>
<item name="textStyle">bold</item>
<item name="textColor">@color/semc_switch_text_color</item>
</style>
like this :
now open /res/values/strings.xml and add the specified lines at the end
if you don't want on/off text on the switch add these
like this :
Code:
<string name="somc_btn_on">I</string>
<string name="somc_btn_off">?</string>
or
if you want on/off text on the switch add these
like this :
Code:
<string name="somc_btn_on">ON</string>
<string name="somc_btn_off">OFF</string>
open /res/values/dimens.xml and add this at the end
Code:
<dimen name="somc_switch_text_padding">7.0dip</dimen>
thats it now recompile your framework-res
EXTENDED THEMING TO YOUR SETTINGS ON POST #5
Enjoy
IF YOU LIKE MY WORK DON'T FORGET TO HIT THANKS BUTTON
To theme your settings look like honami style
for xperia stlye switch follow the above guide
First Decompile your settings.apk and merge the resources from the attachment
open AndroidMainfeast.xml and change this line as shown
Code:
<application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher_settings" android:label="@string/settings_label" android:supportsRtl="true" android:taskAffinity="" [B][COLOR="Red"]android:theme="@style/Theme.Holo" [/COLOR][/B]android:uiOptions="splitActionBarWhenNarrow">
now open res/values/styles.xml and add this (if you alreadry have this style change it to look like mine)
Code:
<style name="Theme.Holo" [COLOR="Red"]parent="@*android:style/Theme.DeviceDefault.Light">[/COLOR]
<item name="android:textColor">#ff000000</item>
<item name="android:listSeparatorTextViewStyle">@style/ListSeparator</item> [COLOR="red"]#### add this line to apply new header style to settings and its activities ####
[/COLOR] [COLOR="Blue"]<item name="android:windowBackground">@drawable/[COLOR="Purple"]your_background[/COLOR]</item>[/COLOR] [COLOR="red"]#### add this line to apply custom background for settings and its activities ####[/COLOR]
</style>
if you want to add custom background to settings and its activities replace your_background with your image name
also add this at the end of styles.xml
Code:
<style name="ListSeparator" parent="@android:style/Widget.DeviceDefault.Light.TextView.ListSeparator">
<item name="android:textSize">14.0sp</item>
<item name="android:textStyle">normal</item>
[COLOR="blue"] <item name="android:textColor">[COLOR="Red"]#ffED2A2F[/COLOR]</item>[/COLOR] [COLOR="red"]####for changing header's text color ####
[/COLOR] <item name="android:gravity">center_vertical</item>
[COLOR="blue"] <item name="android:background">@drawable/[COLOR="red"]semc_list_section_divider_holo_light[/COLOR]</item>[/COLOR] [COLOR="red"]####for changing header background ####[/COLOR]
<item name="android:paddingLeft">8.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAllCaps">true</item>
</style>
if you face any bugs like this
Now open
smali/com/android/settings/applications/ManageApplications$ApplicationsAdapter.smali
Search for
Code:
[B]getColorStateList[/B]
above that you will see this
Code:
[COLOR="red"]0x1060001 [/COLOR]
like this :
change it to
Code:
[COLOR="red"]0x106000[COLOR="Blue"]4[/COLOR][/COLOR]
This will fix the white text on white background problem in manage aplications tab items.
type 1 :
type 2 :
for type 1 merge the contents of type1.zip to your settings.apk
for type 2 merge the contents of type2.zip to your settings.apk
Finally Recompile your settings and flash it .
enjoy
nice work
Extended theming to your settings
In this guide I will show you how to change ram usage bar color and pager tabs color to your favourite color
1. for changing ram usage bar color
Decompile your settings.apk and Navigate to
Code:
\Settings.apk\smali\com\android\settings\applications\[COLOR="blue"][COLOR="blue"]LinearColorBar.smali[/COLOR][/COLOR]
now search for
HTML:
-0xff6634
replace --0xff6634 with your favourite color
To find smali equivalent of the color
download hex_to_smali_convertor.zip from attachment and open acc.hta type your favourite hex code and replace its smali equivalent thats it
like this :-
i.e In the above example replace -0xff6634 with -0xCC4A1B
2 .For changing the pager tab color
open settings.apk/res/values/colors.xml and add this at the end
Code:
[B]<color name="carbon_accent_dark">#[COLOR="Red"]ff9d4f93[/COLOR]</color>[/B]
replace ff9d4f93 with your favourite hex code( you can find easily hex equivalent in paint.net/photoshop )
recompile the settings
now again decompile the new settings.apk and navigate to
\Settings\smali\com\android\settings\applications\ManageApplications.smali
find
0x1060012
also open settings.apk/res/values/public.xml and find
Code:
<public type="color" name="carbon_accent_dark" id="[COLOR="red"]0x7f0a001a[/COLOR]" />
here replace 0x1060012 with 0x7f0a001a
thats it recompile everything and sign it and flash
Note :- the id 0x7f0a001a will be different for your rom
nice job
hi Sir
can u share na blur background? tnx sir
Hi pavan kr, I did follow your guide and try to modify my ROM as you said, but after I decompile your framework-res.apk successfully, I found there is no exist of framework-res.apk/res/values dircetory at all. My ROMis CM11 for HTC one X. I also check the other AOSP ROM, and again there is no framework-res.apk/res/values dircetory as well. How can that happen ? Thanks for advise.
I dont have the 0x1060012 in ManageApplications.smali
the_vanya1 said:
I dont have the 0x1060012 in ManageApplications.smali
Click to expand...
Click to collapse
If 0x1060012 is not present then search only for 0x10600 .
Always this must be a resource id linked with framework-res
chihliouma said:
Hi pavan kr, I did follow your guide and try to modify my ROM as you said, but after I decompile your framework-res.apk successfully, I found there is no exist of framework-res.apk/res/values dircetory at all. My ROMis CM11 for HTC one X. I also check the other AOSP ROM, and again there is no framework-res.apk/res/values dircetory as well. How can that happen ? Thanks for advise.
Click to expand...
Click to collapse
AFAIK once you decompile the apk there exist values folder if you have installed proper framework-res.apk ...
Use newer version of apktool 2.0+ and try..
Another metod
Settings\smali\com\android\settings\applications\ManageApplications.smali search
.local v4, tabs:Landroid/support/v4/view/PagerTabStrip;
- const v5, 0x1060012
and replace 0x1060012
pavan kr said:
AFAIK once you decompile the apk there exist values folder if you have installed proper framework-res.apk ...
Use newer version of apktool 2.0+ and try..
Click to expand...
Click to collapse
Thanks for the answer. I guess you are right that the software I use previously is not really decomiple the file. But after I have tried to build up the whole environment with JAVA JDK, and apktool from the ground, and start the decompile process, it jumps to me some error such as below :
"Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:........"
I tried to google but still not sure what's the issue there, can you advise me any website that I can learn to start the process correctly ? Thanks.
PS. atatched please find the framework-res.apk that Iried to decompile but fail. I hope the issue is not in the file itself.
PS2. I just tried to decompile some other apk file than this framework-res.apk, and it does decompile successfuly. Does that mean some native issue existing inside the framework-res.apk ???
chihliouma said:
Thanks for the answer. I guess you are right that the software I use previously is not really decomiple the file. But after I have tried to build up the whole environment with JAVA JDK, and apktool from the ground, and start the decompile process, it jumps to me some error such as below :
"Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:........"
I tried to google but still not sure what's the issue there, can you advise me any website that I can learn to start the process correctly ? Thanks.
PS. atatched please find the framework-res.apk that Iried to decompile but fail. I hope the issue is not in the file itself.
PS2. I just tried to decompile some other apk file than this framework-res.apk, and it does decompile successfuly. Does that mean some native issue existing inside the framework-res.apk ???
Click to expand...
Click to collapse
have a look at these guides it will help you
1 . http://forum.xda-developers.com/showthread.php?p=41491514
2. http://forum.xda-developers.com/showthread.php?t=1989533
pavan kr said:
have a look at these guides it will help you
1 . http://forum.xda-developers.com/showthread.php?p=41491514
2. http://forum.xda-developers.com/showthread.php?t=1989533
Click to expand...
Click to collapse
Thanks for the reply.In fact, I did google and tried some similar guide websites and I almost can confirm that my enrionement setup and apktool installation is good to go because it seems decompile other apks are quite ok, but only problem is to decoplie the attached framework-res.apk. If you have time, I am wondering if you can help to try to decompile in your current enerionment system to see if my assumption is correct. Thanks.
works on JB? 4.1.2 qualcomm
Nice job,,,thanks
when i try to recompile its show those error. see here http://forum.xda-developers.com/showthread.php?t=2964076
This tutorial does not work on my device. can anyone have a tutorial like this for Lenovo a328 (6582 MTK device with KK 4.4.2)
pavan kr said:
Hey Guys I am back with my new guide
Here i'll show you How to theme your settings.apk to look like xperia .As you all know sony uses colorizable function for changing the themes
But AOSP framework Doesn't support colorizable function so i've modified the files from xperia rom to make it work on AOSP roms
Topics Covered :-
Requirements:-
Decompile your framework-res.apk
download the resources from attachment and merege it with yours
navigate to framework-res.apk/res/values and open styles.xml
find
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
OR
Code:
<style name="Widget.Holo.CompoundButton.Switch"
replace the style with this
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
<item name="textOn">@string/somc_btn_on</item>
<item name="textOff">@string/somc_btn_off</item>
<item name="thumb">@drawable/semc_switch_inner_holo_dark</item>
<item name="switchTextAppearance">@style/TextAppearance.DeviceDefault.Widget.Switch</item>
<item name="track">@drawable/semc_switch_track_holo_dark</item>
<item name="switchMinWidth">72.0dip</item>
<item name="switchPadding">4.0dip</item>
<item name="thumbTextPadding">@dimen/somc_switch_text_padding</item>
</style>
like this :
and add this at the end of styles.xml before </resources>
Code:
<style name="TextAppearance.DeviceDefault.Widget.Switch" parent="@style/TextAppearance.DeviceDefault.Small">
<item name="textSize">10.0dip</item>
<item name="typeface">sans</item>
<item name="textStyle">bold</item>
<item name="textColor">@color/semc_switch_text_color</item>
</style>
like this :
now open /res/values/strings.xml and add the specified lines at the end
if you don't want on/off text on the switch add these
like this :
Code:
<string name="somc_btn_on">I</string>
<string name="somc_btn_off">?</string>
or
if you want on/off text on the switch add these
like this :
Code:
<string name="somc_btn_on">ON</string>
<string name="somc_btn_off">OFF</string>
open /res/values/dimens.xml and add this at the end
Code:
<dimen name="somc_switch_text_padding">7.0dip</dimen>
thats it now recompile your framework-res
EXTENDED THEMING TO YOUR SETTINGS ON POST #5
Enjoy
IF YOU LIKE MY WORK DON'T FORGET TO HIT THANKS BUTTON
Click to expand...
Click to collapse
Thank's bro.... This really helped me.:good:
Mate, if i dont ask much, can you please add a guide to make the settings ui like lollipop, white with green icons? Is that possible? I'm on MTK platform.
HOW TO PORT 25 GRID TOGGLES!
With ease!
{
"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"
}
As many people know porting the lidroid toggles to you're stock device is a lot of work especially when u port the grid toggles.
why ?
because these toggles all needs you to add all ids and such and then in all smali you need to fix 0x730254 etc values.
BUT NOW!!! that time is over i have been working on these toggles for a few days now and its set so it will get all values etc with only packagename
so you only need to copy paste the stuff i say you to
SCREENS:
REQUIREMENT:
- BRAIN
- Patient
- Know how to decompile/recompiling Apk file
- notepad++
- Tool for decompiling, : apkmanager/apktool/Virtous/apkmultitools/ etc,
1. Decomple SystemUI.apk
/res/values/ids.xml
Add the following values to ids.xml
Code:
<item type="id" name="spomc_toggle_toggle_button">false</item>
<item type="id" name="spomc_toggle_icon_button">false</item>
<item type="id" name="spomc_toggle_text_button">false</item>
2. SystemUI/res/values/strings.xml
Add the following strings to strings.xml
Code:
<string name="spomc_always_use_accessory">Use by default for this USB accessory</string>
<string name="spomc_bt">BT</string>
<string name="spomc_data">Data</string>
<string name="spomc_rotate">Rotate</string>
<string name="spomc_wifi">Wi-Fi</string>
<string name="spomc_gps">GPS</string>
<string name="spomc_wifiap">Wi-Fi AP</string>
<string name="spomc_airplane">Airplane</string>
<string name="spomc_vibrate">Vibrate</string>
<string name="spomc_silent">Silent</string>
<string name="spomc_torch">Torch</string>
<string name="spomc_sync">Sync</string>
<string name="spomc_settings">Settings</string>
<string name="spomc_control">Controller</string>
<string name="spomc_ram">Clear RAM</string>
<string name="spomc_brightness">Brightness</string>
<string name="spomc_weather">Weather</string>
<string name="spomc_volumes">Volume</string>
<string name="spomc_widgets">Widget</string>
<string name="spomc_reboot">Reboot</string>
<string name="spomc_battery">Battery</string>
<string name="spomc_troll">Troll</string>
<string name="spomc_flash">Flash</string>
<string name="spomc_prev">Previous</string>
<string name="spomc_next">Next</string>
<string name="spomc_play">Play/Pause</string>
<string name="spomc_sleep">Sleep</string>
<string name="spomc_default_wifi">WIFI</string>
<string name="spomc_default_bt">BT</string>
<string name="spomc_default_gps">GPS</string>
<string name="spomc_default_rotate">ROTATE</string>
<string name="spomc_default_vibrate">VIBRATE</string>
<string name="spomc_default_control">CONTROL</string>
<string name="spomc_default_sync">SYNC</string>
<string name="spomc_default_data">DATA</string>
<string name="spomc_default_silent">SILENT</string>
<string name="spomc_default_settings">SETTINGS</string>
<string name="spomc_default_airplane">AIRPLANE_MODE</string>
<string name="spomc_default_ram">CLEAR_RAM</string>
<string name="spomc_default_brightness">BRIGHTNESS</string>
<string name="spomc_default_weather">WEATHER</string>
<string name="spomc_default_volumes">VOLUMES</string>
<string name="spomc_default_widgets">WIDGETS</string>
<string name="spomc_default_reboot">REBOOT</string>
<string name="spomc_default_battery">BATTERY</string>
<string name="spomc_default_troll">TROLL</string>
<string name="spomc_default_flash">FLASH</string>
<string name="spomc_default_prev">PREV</string>
<string name="spomc_default_next">NEXT</string>
<string name="spomc_default_play">PLAY</string>
<string name="spomc_default_sleep">SLEEP</string>
<string name="spomc_default_profile">PROFILE</string>
<string name="spomc_default_cpu">CPU</string>
3. SystemUI/res/values/styles.xml
Add the following strings to styles.xml
Code:
<style name="brucekey_icon">
<item name="android:disabledAlpha">?android:disabledAlpha</item>
<item name="android:background">@drawable/togglebtn_bg</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
3. Copy paste the Attached Content.zip to ur systemui/
This will add the resources,arrays.xml,layout and toggle smali's
4. SystemUI/res/layout/**** any layout you want.
add the following in it to load the toggles.
Code:
<com.spacey.xperiatabs.toggles.TogglesView android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
5. Now compile the systemui.apk and it should be working
6. Add the ToggleSettings.apk to system/app
BUGS:
Data toggle Possibly working not sure yet
DONT! change any png names or string names etc it wont work
Profile Picture and Name are set blank if u select it pres sthe toggle and edit it to ur name and a picture. the picture will appear if you reboot.
CREDITS:
AuliaYF
AOKP
CM
TentenPonce
TuxKids
Aryne
Potato Bro's
MOSP team
SonyXperiaZ2 for toggle pngs
Dedy Prayetno
SpaceCaker ofcourse!
Attachements:
Content.zip dl link https://dl.dropboxusercontent.com/u/56034188/toggles/sp/ContentV9.zip
or see bottom of post for attached zip
ToggleSettings dl link https://dl.dropboxusercontent.com/u/56034188/toggles/sp/ToggleSettings.apk
or see bottom of post for attached apk
CHANGELOG:
V9 Ninth release:
10 new toggles! Yeah you heard it right !!! 10 NEW TOGGLES!
Play/Pause, Previous, Next Music buttons.
Cpu Toggle ( shows current cpu speed, update on press)
Profile Toggle ( Change name and Picture)
Reboot toggle
Battery toggle
Troll toggle
Flash Toggle
Sleep Toggle
Scrollview fixation.
Some bugfixes
More ??
V8 Eight release:
Private release this was for testers.
Unreleased on XDA
V7 Seventh release:
Add New Weather Toggle ( Need Google News And Weather app installed Also known as GenieWidget.apk)
Add Volumes Toggle ( Work In Progress ;P )
Brightness Popup Touch outside dialog will close it
Small Bug Fix
V6 Sixth release:
Possible Data on/off fix ( hope it works properly )
Fix Single time open Settings,Control and Brightness only.
Small Bugfixes in toggle code.
V5 Fifth release:
Add Brightness Toggle.
Layout fix for 2row toggles
Brightness Slider PopUp (MUAHHAHAHA Tricky way of doing it but works lol)
FC fix
V4 Fourth release:
Toggle Layout
Toggles JB switch look feel or 4 Row normal toggles
V3 Third release:
Added Reorder method. special thanks to Dedy
V2 Second release:
Added JB api version for collapsestatusbar
now on 4.1+ it will close statusbar onlongclick and settings/control toggle click aswell
V1 Initial Release:
firstbuild
FAQ:
Weather widget not working???:
This is possible cause of you not having set up ur location in Google News and Weather app.
You also might not have GenieWidget.apk installed. Try the attached apk
Profile Picture not working or updating???:
This is being worked on as of now reboot device or restart systemui to apply change.
reserved :good::good::good:
Always failed in recompiling...
Sent from my GT-N7000
Use older apktool or newer
Sent from my C5303 using XDA Free mobile app
hi sir.. tnx for this
:fingers-crossed:
Great!
A very simple way to add toggle, great.
Guide Updated
New features added
Guide Updated
Refollow the guide to make sure no problems happen
check changelogs
Sir I have a Problem
in Brightness Toggle.. when i full it to minimum i cant see anything.. sorry for my bad english
Punkzappa09 said:
in Brightness Toggle.. when i full it to minimum i cant see anything.. sorry for my bad english
Click to expand...
Click to collapse
It sets default low value.
Set it bit higher.
It differences from where u stand in sun out of sun etc
All depends om ur screen
But all it does is setminimum value of the system
So i cant really change.
Sent from my C5303 using XDA Free mobile app
Need Help
I Could'nt understand the last step
add the following in it to load the toggles.
Code:
<com.spacey.xperiatabs.toggles.TogglesView androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
where to add these codes?
Vipuldj said:
I Could'nt understand the last step
add the following in it to load the toggles.
Code:
<com.spacey.xperiatabs.toggles.TogglesView androidrientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />
where to add these codes?
Click to expand...
Click to collapse
in any layout you want
recommended is status_bar_expanded.xml or such
SpaceCaker said:
in any layout you want
recommended is status_bar_expanded.xml or such
Click to expand...
Click to collapse
I Compiled the apk file but it's not working my Status Bar same no Changes bro help me out.
Vipuldj said:
I Compiled the apk file but it's not working my Status Bar same no Changes bro help me out.
Click to expand...
Click to collapse
you didnt put it in an layout where you would see it or wrong location in the layout etc
SpaceCaker said:
you didnt put it in an layout where you would see it or wrong location in the layout etc
Click to expand...
Click to collapse
Could you can MOD for me here it is my 4.1.2 AOSP SystemUI.apk
Link:http://d-h.st/PeA
Guide Updated 10 new toggles etc
Working in stock rom huawei g630? (root i have)
mygbrno said:
Working in stock rom huawei g630? (root i have)
Click to expand...
Click to collapse
If you can html amd copy paste and edit apks yeah
Sent from my C5303 using XDA Free mobile app
TE=Vipuldj;55043676]I Compiled the apk file but it's not working my Status Bar same no Changes bro help me out.[/QUOTE]
Mediatek devices uses gemini_ status_ bar_ expanded.xml
Hello all, as I am not always available to update this app, I have decided to release a DIY tut so you guys can mod it yourself
Also from this, I hope it will give you guys some idea how to apply these mods to other apps
We shall begin
============
What is needed:
1. APK Tool or APK MultiTool or anything which you can decompile, compile and sign the apk
( Personally I use APK MultiTool and I am going to use that as an example throughout the whole TUT )
2. Java installed on your com to run APK MultiTool
3. Notepad+ or any similar code editing programs
4. Time and patience
Procedure:
1. Firstly, you are going to have to download Twitter apk of course
You can get the APK from PlayStore or apkmirror.com
2. Decompile it using APK MultiTool. Please refer to guides on how to do so if you dont know how
3. Now everything will be decompiled into a folder.
4. First thing we will mod AndroidManifest.xml
#RemovingPermissions
5. Delete the lines of permissions you dont want, eg
Code:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
6. Save the file
#Changing launcher icon
7. Now we will be changing the launcher icon of Twitter
- Usually you can find out what is the file of the icon by looking into the AndroidManifest.xml
Code:
android:icon="@drawable/[COLOR="MediumTurquoise"]ic_launcher_twitter[/COLOR]"
8. So for Twitter, we will be going to the drawables folder in res and find for ic_launcher_twitter
- Drawables folder can be drawable-ldpi/mdpi/hdpi/xhdpi/xxhdpi and so on
- ldpi, mdpi, hdpi, xhdpi, tvdpi are all screen "size". U will notice the icons in ldpi are smaller while the icons in xhdpi are bigger
- From here you also can theme other icon according to your preference
9. I have uploaded an attachment which consist of TwitterMod Teal launcher icon.
#Changing statusbar color ( For Lollipop )
10. We will create a values-v21 folder in res
- We create this folder so that only Lollipop roms will read this. Learn more here
- If values-v21 folder already exist, skip to next section
11. From the values folder, copy styles.xml to values-v21 folder
12. Now open up styles.xml in values-v21 and search for the base theme ( Hit ctrl+f on your keyboard )
- The base theme for that app usually can be found at AndroidManifest.xml also at
Code:
android:theme="@style/Theme"
- For some apps there is an exeption and may not always work with this base theme
- So improvise yourself and find the second nearest theme in styles.xml
- For Twitter, the base theme somehow is ThemeBase
13. So in styles.xml of Twitter, the base theme should look like this :
Code:
<style name="[COLOR="YellowGreen"]ThemeBase[/COLOR]" parent="@android:style/[COLOR="Red"]Theme.Material.Light[/COLOR]">
- The words in red may vary from different apps
- Please note that Theme.Material.Light is only applicable to v21 folders
- If you see Theme.Holo or something like that in v21 folder, feel free to change it too Theme.Material.Light
- Learn more here
14. Now at that base theme section, add this code
- This will be the color of your status bar, navigation bar and recent app panel app color
- Change the RED code to any color you want. I have some reference for you down there
Code:
<item name="android:statusBarColor">#[COLOR="red"]ffffffff[/COLOR]</item>
<item name="android:navigationBarColor">#[COLOR="red"]ff000000[/COLOR]</item>
<item name="android:colorPrimary">#ff123456</item>
[U]Color Code[/U]
Black - FF000000
White - FFFFFFFF
Teal - FF009688
[URL="https://www.google.com/design/spec/style/color.html#color-color-palette"]More colors[/URL]
15. Save the file
#Make the app fun ( You can skip this if you want )
16. Now open up strings.xml in values folder
17. Change what you want accordingly with some common sense
18. Now we will add some credits to yourself and maybe me?? :cyclops:
19. Goto xml folder and open up preference.xml
20. Add this line here
Code:
<PreferenceScreen android:title="@string/[COLOR="SeaGreen"]twittermod_title[/COLOR]" android:key="about" android:summary="@string/[COLOR="RoyalBlue"]twittermod[/COLOR]" android:order="1004" />
</PreferenceScreen>
21. Open strings.xml and add this code anywhere
Code:
<string name="[COLOR="SeaGreen"]twittermod_title[/COLOR]">[COLOR="Red"]BLABLA[/COLOR]</string>
<string name="[COLOR="RoyalBlue"]twittermod[/COLOR]">[COLOR="red"]BLABLA[/COLOR] </string>
22. Save it
#Finally
23. Now everything is done, compile and sign the app using APKMultiTool or whatever
24. If their is an error compilling, check what it is and post here for help
- I will do my best to reply in a short time
25. Install it and feel proud of yourself.
26. Fail and errors will exist and always, you can come here for help
I might have missed out something so it would be great if someone point it out
Next ( probably ) there will be a tut for KitKat translucent statusbar and for Facebook and Instagram
Thanks to :
Twitter for their apk
Google for their codes
reserved 1
mine also
thank you very much
Xperia Z C6603 Lollipop 5.1.1(From Stock 10.7.A.0.222 UA) Not Deodexed, Keep Your arm folder SystemUI.odex inside ! Do Not Remove it !
SystemUI Dynamic Color For No Small apps Close All Button Position fix
Installation :Go to "\System\priv-app\SystemUI" Rename SystemUI.apk to SystemUI.apk.bak and Put the Downloaded SystemUI.apk
Go to "\System\app\SmallAppsLauncher" rename SmallAppsLauncher.apk to SmallAppsLauncher.apk.bak
REBOOT !
Full Dynamic :Dynamic_no_small_apps_Recents_apps_Navbar_Dynamic : https://mega.nz/#!dAEQjA6L!KtfGO7WYqOynsxX0CUm2c_1ba9IxPpzJQ5-B_3065LU
Other Variants :
No Dynamic Recents NavBar : Dynamic Sony apps NavBar & Status BarDynamic_no_small_apps_Recents_apps_Navbar_Dark : https://mega.nz/#!sFUD3QjR!yA3sJn9ON-ffpO4_uXfZxrDW9g3tOL_SVcA2Vhhqd7s
Dynamic_no_small_apps_Recents_apps_Navbar_Semi_Transparent : https://mega.nz/#!pY13QDwA!cl55jGTLtFpy-Xn2_WvzByXbE04JtFFFSGqREvYznv0
Dynamic_no_small_apps_Recents_apps_Navbar_Transparent : https://mega.nz/#!9Btm3Qjb!scA7mnPgnwWCz3msrFkz1G2Oniqe-VSGyUkmKWIvkYc
No Dynamic Recents Navbar : No Dynamic Sony apps NavBar Dynamic Sony apps Status BarNo_Dynamic_no_small_apps_Recents_apps_Navbar_Transparent : https://mega.nz/#!EV12VL7S!VnTpqIu08LEg39fMaYt4FeKTgoSEtnMC7dqH9k7vWOA
No_Dynamic_no_small_apps_Recents_apps_Navbar_Semi_Transparent : https://mega.nz/#!1YcywJZY!6BiQMMvDJOeyqF9pYcYZY7KMhus5QYM6YRFjL2mN07I
No_Dynamic_no_small_apps_Recents_apps_Navbar_Dark : https://mega.nz/#!BIsnQTqa!rvXO2K8zeN8bSb0_xd1uVX-iAFfcC_fKt8ClmKrPWZU
No Dynamic Navbar : No Dynamic Sony apps NavBar & Status BarNo_Dynamic_no_small_apps_Recents_apps_Navbar_Transparent_StatusBar_Dark : https://mega.nz/#!lJkmGRgJ!HmMfCPohg6QPS7B4NOk6y4r-rGAJULDhqcFZ8lGDTqU
No_Dynamic_no_small_apps_Recents_apps_Navbar_Dark_StatusBar_Dark : https://mega.nz/#!ZVdUUBxA!vh_SviXsm5WFHWMzoQ6BuzCGjl-qIyVwYq5NurcMZ6Q
Ok, it's working very well. :good: However, can you please make one varient without dynamic navbar as it only seems to work with sony apps.
Also, which theme are you using?
Thanks
I use Xperia™ Theme: Aqua Green : https://play.google.com/store/apps/details?id=com.sonymobile.themes.cover.aqua
Other No Dynamic Variants : on the 1rst Post.
Enjoy ! and Share your Pics ! on this post ! and Thank's
mastacut said:
I use Xperia™ Theme: Aqua Green : https://play.google.com/store/apps/details?id=com.sonymobile.themes.cover.aqua
Click to expand...
Click to collapse
Thanks. Can you please make a variant with just no SmallApps button position fix? Dynamic navbar is very distracting on some apps.
masteriori said:
Thanks. Can you please make a variant with just no SmallApps button position fix? Dynamic navbar is very distracting on some apps.
Click to expand...
Click to collapse
You can test the None Dymanic Variants go to the 1rst Post at the END of the Post.
mastacut said:
You can test the None Dymanic Variants go to the 1rst Post at the END of the Post.
Click to expand...
Click to collapse
Thank you for your efforts. :good:
For some reason, stock sony apps still showing dynamic navbar when I installed No_Dynamic_no_small_apps_Recents_apps_Navbar_Trans parent but Recents screen had transparent navbar.
masteriori said:
Thank you for your efforts. :good:
For some reason, stock sony apps still showing dynamic navbar when I installed No_Dynamic_no_small_apps_Recents_apps_Navbar_Trans parent but Recents screen had transparent navbar.
Click to expand...
Click to collapse
Wrong Uploaded files ! (Updated on the 1rst Post) ... NOW IT IS OK !
Update NavBar Transparent :
No_Dynamic_no_small_apps_Recents_apps_Navbar_Transparent : https://mega.nz/#!EV12VL7S!VnTpqIu08LEg39fMaYt4FeKTgoSEtnMC7dqH9k7vWOA
Update NavBar Semi Transparent :
No_Dynamic_no_small_apps_Recents_apps_Navbar_Semi_Transparent : https://mega.nz/#!1YcywJZY!6BiQMMvDJOeyqF9pYcYZY7KMhus5QYM6YRFjL2mN07I
Update NarBar Dark :
No_Dynamic_no_small_apps_Recents_apps_Navbar_Dark : https://mega.nz/#!BIsnQTqa!rvXO2K8zeN8bSb0_xd1uVX-iAFfcC_fKt8ClmKrPWZU
Enjoy !
@mastacut
Could you please upload the original SystemUI? It will be useful for those that want to revert back.
Thanks :good:
masteriori said:
@mastacut
Could you please upload the original SystemUI? It will be useful for those that want to revert back.
Thanks :good:
Click to expand...
Click to collapse
Sorry about that
Sorry about that
But can you please make it also for Xperia Z1 C6903?
If you want systemui.apk I'm Ready
Thank you so much
الفلسطيني said:
Sorry about that
But can you please make it also for Xperia Z1 C6903?
If you want systemui.apk I'm Ready
Thank you so much
Click to expand...
Click to collapse
Here is for C6903 Lollipop 5.1.1 !Not Deodexed!
for rooted-prerooted firmware.
and
Pack twin ! : Odex & Deodexed
Hello, I tried it on Existenz but it wasn't working, I tried to make it myself but I had trouble decompiling the SystemUI apk.
Could you please make it for Existenz because I really like dynamic navigation bar. Here I'm attaching its systemui, thanks a lot.
Diatomix98 said:
Hello, I tried it on Existenz but it wasn't working, I tried to make it myself but I had trouble decompiling the SystemUI apk.
Could you please make it for Existenz because I really like dynamic navigation bar. Here I'm attaching its systemui, thanks a lot.
Click to expand...
Click to collapse
Try your Deodexed Existenz SystemUI (Modified)
(updated : recents.xml, styles.xml, drawables.xml, colors.xml, dimens.xml)
or
Test my deodexed SystemUI
Tell me.
Device : Xperia Z C6603 Lollipop 5.1.1
Diatomix98 said:
Hello, I tried it on Existenz but it wasn't working, I tried to make it myself but I had trouble decompiling the SystemUI apk.
Could you please make it for Existenz because I really like dynamic navigation bar. Here I'm attaching its systemui, thanks a lot.
Click to expand...
Click to collapse
Quick Tutorial : For C6603 Lollipop 5.1.1
res\values\styles.xlm
Edit: line 23:
<item name="android:navigationBarColor">@android:color/transparent</item>
to
<item name="android:navigationBarColor">@android:color/somc_color_dark_primary_dark</item>
res\values\drawables.xml
Edit: lines 6,18,19,20,21,22:
<item type="drawable" name="navigation_bar_gradient_background_non_skinnable">@drawable/nav_background</item>
<item type="drawable" name="somc_navbar_background_dark">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_dark_land">@color/system_bar_background_opaque</item>
<item type="drawable" name="somc_navbar_background_light">@drawable/somc_navbar_background_dark</item>
<item type="drawable" name="somc_navbar_background_light_land">@drawable/somc_navbar_background_dark_land</item>
<item type="drawable" name="somc_navbar_background_translucent">@drawable/nav_background</item>
to
<item type="drawable" name="navigation_bar_gradient_background_non_skinnable">@drawable/status_background</item>
<item type="drawable" name="somc_navbar_background_dark">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_dark_land">@android:color/somc_color_dark_primary_dark</item>
<item type="drawable" name="somc_navbar_background_light">@android:color/somc_color_dark_primary_light</item>
<item type="drawable" name="somc_navbar_background_light_land">@android:color/somc_color_dark_primary_light</item>
<item type="drawable" name="somc_navbar_background_translucent">@drawable/status_background</item>
Close all Button position:
Portrait mode:
res\values\dimens.xml
Edit: line 250
<dimen name="close_all_button_layout_margin_bottom">134.0dip</dimen>
to
<dimen name="close_all_button_layout_margin_bottom">64.0dip</dimen>
Landscape mode: make a copy of res\layout\layout\recents.xml to res\layout\layout-land\recents.xml
res\layout\layout-land\recents.xml
Edit line 9
<Button android:theme="@android:style/Theme.DeviceDefault" android:gravity="center" android:layout_gravity="end|bottom|center" android:id="@id/close_all_button" android:background="@drawable/somc_close_all_background" android:visibility="gone" android:layout_width="@dimen/close_all_button_size" android:layout_height="@dimen/close_all_button_size" android:layout_marginBottom="@dimen/close_all_button_layout_margin_bottom" android:layout_marginEnd="@dimen/close_all_button_layout_margin_end" android:elevation="8.0dip" />
to
<Button android:theme="@android:style/Theme.DeviceDefault" android:gravity="center" android:layout_gravity="end|bottom|center" android:id="@id/close_all_button" android:background="@drawable/somc_close_all_background" android:visibility="gone" android:layout_width="@dimen/close_all_button_size" android:layout_height="@dimen/close_all_button_size" android:layout_marginBottom="16.0dip" android:layout_marginEnd="64.0dip" android:elevation="8.0dip" />
Can you Upload a Stock .228 deodex System UI ?... all of the System UI in Deodexed roms have persistent close all button..so annoying...