[GUIDE][MOD]Adding custom ROM image in Settings.apk - Android Software Development

Custom ROM Image in Settings.apk​
Featured in Cosmic v2, I was searching for this for a long time, I happened to ask for help to some people, but, it didn't work out.
I knew the code to be added, but I was adding it in wrong file, then i figured it out and mod was complete
I looked back and remembered that Sniper Killer suggested me to try custom layout and smali editing. I knew, it was nothing to do with smalis, duh. Just a simple ImageView Tag it was. But the Custom Layout thing was true.
Guide​
1. Download the SettingsSource.zip
2. Decompile your Settings.apk
3. Extract contents of SettingsSource.zip to respective folders in Settings.apk
4. Open /res/xml/device_info_settings.xml
You'll see several <Preference android:title tags
Add this just a line above the first Preference tag:
Code:
<PreferenceCategory android:layout="@layout/areebisawesome" android:key="blah" android:title="" />
Finally, it will look like this.
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:layout="@layout/areebisawesome" android:key="blah" android:title="" />
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
Save the file
5. Now,go to /res/drawable/
There, you'll see cosmic.png Change it to any png of size 320x200 You can change this size description in /res/layout/areebisawesome.xml
6. Recompile the apk
7. Enjoy
And if you want a method for changing the image on clicking, my buddy abhi922 has found a very easy to follow way for that :
And if you want a method for changing the image on clicking, my buddy abhi922 has found a very easy to follow way for that :
http://forum.xda-developers.com/show...1&postcount=36
XDA:DevDB Information
[GUIDE][MOD]Adding custom ROM image in Settings.apk, Device Specific App for all devices (see above for details)
Contributors
AdvaitT17, iamareebjamal
Version Information
Status: Beta
Current Stable Version: 1.0
Stable Release Date: 2015-12-23
Current Beta Version: 1.0
Beta Release Date: 2015-12-23
Created 2015-12-23
Last Updated 2015-12-23

Guys this is guide for "ANY DEVICE"

If this post is useful.....pls hit thx button..

AdvaitT17 said:
If this post is useful.....pls hit thx button..
Click to expand...
Click to collapse
The SettingsSource.zip download link would be helpful.
Double check your link to post about clicking image to change. It brings up a blank page.

Sorry sir the link which I have posted is not incorrect but it is mixed with other lines that's why it show about.blank in browser
Regards,
AdvaitT17

AdvaitT17 said:
Sorry sir the link which I have posted is not incorrect but it is mixed with other lines that's why it show about.blank in browser
Regards,
AdvaitT17
Click to expand...
Click to collapse
Where is the link? I cant find it.
*quoted by mistake

Here is the SettingsSource.zip http://www.mediafire.com/download/lkybr2ijle6qryc/SettingsSource.zip

Related

ThrottleBirthday : My first TL 0.9.3 Plugin -> Birthday notifier

Hi all,
I have developped a small plugin for TL 0.9.3 that will display the birthdays to come on any page.
There is no cab installer yet, I will try to find out how to make one if someone may ask for it.
It is my first try to developping in c#, so it may be bugged...
Please report any comment / error you may have
[09/03] : No more ini file. All the configuration is made through params in xml file. See ReadMe.txt in zip file for details.
Thanks.
I'll give it a look.
screenies?
Fresh2Death said:
screenies?
Click to expand...
Click to collapse
+ 1
gratzi!
Screenshots
JstarLuvsTina said:
+ 1
gratzi!
Click to expand...
Click to collapse
Screenshots added
Congrats!!
Hi!!
First of all thank you for developing a plugin for throttle . I've tested it and have a little issue:
- You're searching for the fixed path by using \Program Files\ThrottleLauncher\Plugins hardcoded... This has make plugin crash on my device as I have an Spanish ROM and path is "Archivos de Programa" instead of "Program Files". Also user's can have Throttle Installed on their SD card. The simplest alternative to take the path that will solve this two problems. Add a parameter to the throttleplugin:
Code:
<throttleplugin name="ThrottleBirthday" path="#$THROTTLE#\Plugins\ThrottleBirthday\ThrottleBirthday.dll" height="25" class="ThrottleBirthday.ThrottleBirthday">
<param name="path" value="#$THROTTLE#\Plugins\ThrottleBirthday\"/>
</throttleplugin>
Also you can get rid of the ini file by using params:
Code:
<throttleplugin name="ThrottleBirthday" path="#$THROTTLE#\Plugins\ThrottleBirthday\ThrottleBirthday.dll" height="25" class="ThrottleBirthday.ThrottleBirthday">
<param name="font" value="Arial"/>
<param name="size" value="10"/>
...
</throttleplugin>
That way people developing setups for throttle can parametrize your plugin so it can be configured through the main ConfigDialog of the setup by using:
Code:
<param name="font" value="#@ThrottleTodayFont#"/>
Now... as you are the first developer for plugins for throttlelauncher may I ask you how it was? Did you encounter any problems or lack of documentation?
thank you very much again!!
If I could do it...
Hi APBilbo,
First of all, thanks for the tips, I will do my best to apply them for the next version
Regarding the difficulties I had, I started from your HelloWorldPlugin and learned C# from scratch, and well, asides from the problem of getting Throttle directory, it was quite a piece of cake.
It was a pleasure (and a great fun !!!) to develop a plugin (as simple as it may be) for your Throttle, as this app is for me a good representation of what a pocket pc app should provide
I will be on vacation next week, but I was curious about developping a ThrottleCal.0.2...
Be sure you will have news from me
No more ini file
Hi all,
Thanks to APBilbo' advices , there is no more ini file, only params in the xml file, and it should work on any region ROM (no more hardcoded silly path ).
You may check the Readme.txt in the provided zip file for details.
malrok37 said:
Hi all,
Thanks to APBilbo' advices , there is no more ini file, only params in the xml file, and it should work on any region ROM (no more hardcoded silly path ).
You may check the Readme.txt in the provided zip file for details.
Click to expand...
Click to collapse
Thanks . Keep up good work . And enjoy your vacations!!

[10/12 update] Manila 2D update 19 Samsung i900

Finally!
Instructions:
1. Install Manila 2D
2. Turn off TouchFlo in Start -> Settings -> Personal -> Today -> Items
3. Copy both hh_fw_background.png and HTCHomeSettings.xml to Windows directory in your device.
4. Restart TouchFlo.
Hopefully no bugs here. Sorry but this is Portrait only!
thanks to herg and the xda devs for getting manila 2d to work, ababrekar for the htchomesetting xml tut (haven't used xml in 7 years and this helped a lot!)
the screenshots are based of mbarvian skin with lepsyfou digital clock, I use both in my i900 and kaiser!
9/30: Updated xml to v3 (no v2 released). bigger message area. thanks to us1111 for verifying for me as well.
10/2: For Update 18 + skins and clocks only. With update 18, there were a few changes, including installing files to \Windows\ManilaGfx folder. For those that install skins from http://forum.xda-developers.com/showthread.php?t=425974, files will be installed in \Windows. So for those that install their skins and clocks, you can use this update where the images are in \Windows and not in \Windows\ManilaGfx.
10/12: For M2D update 19! updated xml and background. turn off M2D first before installing. stock skin.
For those that want custom backgrounds, just create a 400x240 image and save as hh_fw_background.png and copy to windows folder in your device.
Chinese Simplified language has it?
Did everything asper instruction, but all i get is this:
"Tap here to launch TouchFLO", then I tap, and then it says "Launching TouchFLO", then it says "Tap here to launch TouchFLO" again. I get nothing. Any ideas?
I900
I have all these files (latest) from the Manila link:
First I installed all:
AudioManager 2.0
HTC Enchasements
HTC Task Manager
HTC Album
Manila2D 0.10
Then I tried with only:
Manila2D 0.10 (maybe u are using a different version?
Still no luck.
darth maximus said:
Finally!
Instructions:
1. Install Manila 2D
2. Turn off TouchFlo in Start -> Settings -> Personal -> Today -> Items
3. Copy both hh_fw_background.png and HTCHomeSettings.xml to Windows directory in your device.
4. Restart TouchFlo.
Click to expand...
Click to collapse
please could u link the exact files (cabs from manila) that are needed to run this thing (the ones that work for u on the i900).
I understand, that a lot of the cabs in the main package dont run on non HTC devices. Also which version.
I DON'T Find hh_fw_background.png flies!
Thank you, this worked very well
shaoshao said:
I DON'T Find hh_fw_background.png flies!
Click to expand...
Click to collapse
Its the last tumb nail in the first post, just right click and select save as picture.
FreakingNeo said:
Thank you, this worked very well
Click to expand...
Click to collapse
Please tell me what u installed, also what version of ROM on your i900. I cant get it to work on mine.
oalex said:
Its the last tumb nail in the first post, just right click and select save as picture.
Click to expand...
Click to collapse
thinks!
is there M2D have chinese Simplified ?
oalex said:
Please tell me what u installed, also what version of ROM on your i900. I cant get it to work on mine.
Click to expand...
Click to collapse
Just the standard rom it shipped with, and then I just followed the normal procedure for the Manilla2d update 17, installed all the cabs (1 through 16) including New EnlargedStartMenu, New Volume_Control, opal title bar.
Does this allow swipe left and right through tabs anywhere on the screen?
Following lines should be changed in the original xml file (also messages area is extended to 240x400):
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,240,388" landscape="0,0,320,268">
<Property name="IDTABWG_WIDGET_RECT" id="0" value="0,0,240,310, 0,0,400,230" />
<Property name="IDTABWG_TAB_RECT" id="2" value="0,297,240,51, 0,217,400,51" />
<Property name="IDMSGWG_MESSAGE_MASK_RECT" id="0" value="23, 50, 195, 290" />
<Property name="IDMSGWG_MESSAGE_TXT_RECT" id="3" value="25, 47, 169, 240" />
us1111 said:
Following lines should be changed in the original xml file (also messages area is extended to 240x400):
<HTCHome version="3.00.0" device="OPAL" portrait="0,0,240,388" landscape="0,0,320,268">
<Property name="IDTABWG_WIDGET_RECT" id="0" value="0,0,240,310, 0,0,400,230" />
<Property name="IDTABWG_TAB_RECT" id="2" value="0,297,240,51, 0,217,400,51" />
<Property name="IDMSGWG_MESSAGE_MASK_RECT" id="0" value="23, 50, 195, 290" />
<Property name="IDMSGWG_MESSAGE_TXT_RECT" id="3" value="25, 47, 169, 240" />
Click to expand...
Click to collapse
Trying to port this with the VGA-version of Manila2D (to my WVGA Sony Ericsson X1). Any tips?
my Clock Abnormal . 0 and 1 is Coincidence .
shaoshao said:
my Clock Abnormal . 0 and 1 is Coincidence .
Click to expand...
Click to collapse
i have the same problem. only works with some clocks. probably some wrong code in the htchomesettings.xml.
i installed colonel clock and all is well with this.
anyone willing to make a complete theme exclusively for OMNIA?
does htc album or audio manager work for any of you? no luck here..
they crash right after starting them.
I'm dreamin of a vanilla omnia rom and a rom kitchen. the htc stuff just eats too much space to be really usable.
ollip79 said:
does htc album or audio manager work for any of you? no luck here..
they crash right after starting them.
I'm dreamin of a vanilla omnia rom and a rom kitchen. the htc stuff just eats too much space to be really usable.
Click to expand...
Click to collapse
it was working (with DXHI1 ROM + M2D update 16), after upgrading to DXHI2 + update 17, it's no longer working... tsk tsk. not sure if its due to the ROM upgrade or the new version. will test more. maybe tomorrow.
it's been a while and I also hope someone can come up with a rom kitchen for omnia. i'm left with 15MB storage space on DXHI2 ROM
What i make Wrong?????
I have no fonts in the Touch Flo
Where is the Skin from pntzamaras and how can i use this?
darth maximus said:
it's been a while and I also hope someone can come up with a rom kitchen for omnia. i'm left with 15MB storage space on DXHI2 ROM
Click to expand...
Click to collapse
that would really be nice, so many things that i dont need, taking up space. Almost half of whats intalled are completely unnecessary for my and i guess there are quite a lot of us.

[Kitchen]Polaris WM 6.5

[Kitchen]Polaris WM6.5
Build is 230176
download and extract to a folder with no space maybe Polaris_kitchen
Kitchen part 1 base
Kitchen part2 EXT folder put inside kitchen folder if named Polaris_kitchen just put this inside that folder
Just noticed something thats not right... go into ROM\Polaris\23016\OEMXipKernel and delete RecMod.exe I was making some changes in the xip and forgot to delete it again the rom will still work but it's not supose to be there
How to use
open Erviuskitchen.exe
press load ROM and choose on of the 3 options
press Create ROM now wait
when finished just close Erviuskitchen.exe
now goto RELEASE_POLARIS folder and use the custom_ruu.exe to flash your new rom
Link to a working 3g Dialer DJKoa_3G_Dialer_V2.CAB thanks to kostas244 for finding it
how to use the other options I'll explain later
making packages from OEM?
Put you OEM package in the EXT Package maker folder then drag and drop it on the EXT_PAckages_rebuilder.exe and you should have a EXT package ready to put in you kitchen.
note that some oem packages you download are separated into 2 folders exsample PACKAGE_MEGA_Album and PACKAGE_MEGA_Album_0409
just drag the PACKAGE_MEGA_Album_0409 (language pack) onto EXT_PAckages_rebuilder.exe and it will a folder called 0409 inside PACKAGE_MEGA_Album
now just drag and drop PACKAGE_MEGA_Album onto EXT_PAckages_rebuilder.exe and you have a finished EXT package with language files inside.
The package will be named appname then followed by the build number of the app
will add a cab to OEM and EXT later
________________________________________________________________
Special thanks to Ervius Da_G and bepe and many others that made the tools in this kitchen
Usefull links
some links most of them are from development and hacking
Get the newest wm6.5 build here and many other usefull tips
Get the newest wm6.1 build here
porting the newest XIP/SYS here
Change the name in the bootscreen and build date of the rom
Open Ervius kitchen and coose the XIP you are going to modify
now press Xipporterex & rom tool
press find date/Version on\ROM\XIP\
change rom date and rom version press change for bouth and you have a new name in bootscreen and rom is set to new date
Change rom info in settings/Device information
go to Polaris_Kitchen\EXT\SHARED\Mods\my mods\files
open mxipupdate_OEMVERSION_100.provxml with notepad
Code:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Software\OEM">
<parm name="ROMVersion" value="5.2.23016" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="OperatorVersion" value="gullum" datatype="string"/>
</characteristic>
<characteristic type="HKLM\Software\OEM">
<parm name="ROMDate" value="20/08/09" datatype="string"/>
</characteristic>
</characteristic>
</wap-provisioningdoc>
change the info to what you want it to be
Extra Tools for kitchen
Will add some tools here as I find them
First up is a dam good and usefull app made by Jason8
View attachment Cab_Converter_by_Jason8.zip
How to use:
open CAB_Converter.exe brows for you cab
then choose cab -> OEM or cab->EXT wait for dosbox to close and you have a new OEM or EXT ready to use.
althought it a good app some cabs don't work
Have questions go here for suport
here is an other cab to OEM app(Package Converter by Ervius) that is in most of the older kitchens and works with most all cabs
View attachment cabdump.zip
just unzip somewhere and dubble click on cabConverter.CMD and follow the instructions in the dos box
gullum said:
something will come here soon
Click to expand...
Click to collapse
Soon??? maybe in a minutes??
Yesss we wait
@ gullum
Thank you... thank you ...thank you !!!!
It's amazing !!
(3g dialer doesn't work only 2g support but i will install other)
kostas244 said:
@ gullum
Thank you... thank you ...thank you !!!!
It's amazing !!
(3g dialer doesn't work only 2g support but i will install other)
Click to expand...
Click to collapse
I don't have 3g so coulden't test if you find one that works please share so I can add link
gullum said:
I don't have 3g so coulden't test if you find one that works please share so I can add link
Click to expand...
Click to collapse
Ok here it is...it's working 100%.....DjKoa 3g dialer V2.
http://forum.xda-developers.com/showthread.php?t=503116
Just
Hi,
Just to thank you, i have just flashed th ROM, it worked but the firts cold was kind a slow, got a litle scared that something wrent wrong but it turned out fine!
Now on the processe of re-learning!
Again, thank you very mutch!
OK .....im learning how to cook..
I miss a lot of things and knowledge but im trying to do something.
Ok i have a full working rom thanks to gullum , i fix the backlight issue thanks to pcarvalho, and if i fix the album scrolling issue then i will be very satisfied .
So the problem is :we have a delay when tap something in file explorer or album.
The problem fixed by disabling the touchflo scrolling with advance config.
When i do that everything working fine but i have no scrolling in photos album.
Yeeessss!!!! Album fixed.... the problem solved.
Touch flo scroll ...just fixed
Yeah...this rom now is very good!!!
this is basically just the os like microsoft gives it? but you need to add all other stuff yourself?
BelgicanoFL said:
this is basically just the os like microsoft gives it? but you need to add all other stuff yourself?
Click to expand...
Click to collapse
no it has all the packages from HTC Mega too except the camera witch actualy was still VGA when the package were release.
gullum said:
no it has all the packages from HTC Mega too except the camera witch actualy was still VGA when the package were release.
Click to expand...
Click to collapse
Oh! I wonder. I wanna port the latest 6.5 build to polaris, but I have no idea how, there should be a screenshot tutorial
BelgicanoFL said:
Oh! I wonder. I wanna port the latest 6.5 build to polaris, but I have no idea how, there should be a screenshot tutorial
Click to expand...
Click to collapse
there are several how to tutorials in the Da_G wm builds thread in development and hacking in general it's mostly drag and drop actualy
Nice one Gullum!
Releasing your kitchen was an awesome idea, I'm messing around (when I have time) with the kitchens and learning as I go.. I have to say its a lot of fun.. cant wait to take a look at yours with all the modifications you've made to the rom.
gullum said:
there are several how to tutorials in the Da_G wm builds thread in development and hacking in general it's mostly drag and drop actualy
Click to expand...
Click to collapse
Cool I'm gonna try it starting now
Hi gullum thanks for the kitchen!! I am training and i wanna change the language of rom. I try with a package of this release for 0a0c Spanish. But when I install the rom in the device and the device boot dont show me calibrate screen. Do you know the reason of this? Sorry my really bad english. And thanks for all!!
When i try to run erviuskitchen.exe it says i need administrative privileges? Is it something to do with winrar being a trial copy? Thanks
loggie1 said:
When i try to run erviuskitchen.exe it says i need administrative privileges? Is it something to do with winrar being a trial copy? Thanks
Click to expand...
Click to collapse
no but if you using vista or win7 it means uac is active...use right click...run as administrator...or...right click on file and goto properties>compatibility....

[Guide]Theme Your ROM

A simple guide to theme your android roms
Whats this??​We are going to theme apps. You can choose your own app.
Requirements
1.Any text editing software. I prefer notepad++
2.Any tool that can recompile and decompile
3.A site for hex color codes. Use this
Instructions​Decompile the apk you wish to edit.
Go to /res/values/colors.xml
There you see the name I.e the color is for which part
At last of the sentence you will see color codes in hex form
Don't change the first three (I.e. #xx)
Now go to the site i gave link of for color codes
Choose your color and copy the hex code
Now go colors.xml and search what you want to change and replace the hex code you copied from the old one
Like this way you can theme any apps like dialer,contacts,framework,systemui,etc
Note:- You can change the first two digits of code but thats for transparency so I prefer dont touch it
Isn't it very simple??
Please hit thanks if I helped you​
XDA:DevDB Information
Theming Your ROM, Theme for the Android General
Contributors
Devam03
Version Information
Status: Testing
Created 2015-02-09
Last Updated 2015-02-09

[GUID] Light Color SystemUI for Xperia Oreo FW

Hi
Sony released Oreo firmware for same xperia devices. But the Quick Settings panel not changed (old N and M style)
with this easy tutrial you can make your systemui like official oreo (AOSP, Nexus, Pixel)
lets start...
All you need:
- knowlage about decompile and compile APK (apktool)
- Stock framework-res.apk
- Stock SystemUI.apk
- xml editor (notepad++ or Atom or emmac. etc)
Step 1: play with SystemUI.apk
decompile your apk file.
inside /res/layout find "qs_footer.xml" and open that. change:
Code:
<com.android.systemui.qs.QSFooter android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/header" android:paddingTop="0.0dip" android:clickable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="48.0dip" android:baselineAligned="false"
TO:
Code:
<com.android.systemui.qs.QSFooter android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/header" [COLOR="Blue"]android:background="#00000000"[/COLOR] android:paddingTop="0.0dip" android:clickable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="48.0dip" android:baselineAligned="false"
inside /res/layout find "qs_panel.xml" and open that. change:
Code:
<com.android.systemui.qs.QSContainerImpl android:id="@id/quick_settings_container" android:background=[COLOR="Red"]"@drawable/qs_background_primary"[/COLOR] android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:elevation="4.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.qs.QSPanel android:id="@id/quick_settings_panel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="28.0dip" android:layout_marginBottom="48.0dip" />
TO:
Code:
<com.android.systemui.qs.QSContainerImpl android:id="@id/quick_settings_container" android:background=[COLOR="Blue"]"?android:colorPrimaryDark"[/COLOR] android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="wrap_content" android:elevation="4.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.qs.QSPanel android:id="@id/quick_settings_panel" [COLOR="Blue"]android:background="#00000000"[/COLOR] android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="28.0dip" android:layout_marginBottom="48.0dip" />
inside /res/layout find "quick_status_bar_expanded_header.xml" and open that. change:
Code:
<com.android.systemui.qs.QuickStatusBarHeader android:layout_gravity="@integer/notification_panel_layout_gravity" android:id="@id/header" android:paddingTop="0.0dip" android:clickable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_header_height" android:baselineAligned="false" android:paddingStart="0.0dip" android:paddingEnd="0.0dip"
TO:
Code:
<com.android.systemui.qs.QuickStatusBarHeader android:layout_gravity="@integer/notification_panel_layout_gravity" android:id="@id/header" [COLOR="Blue"]android:background="#00000000"[/COLOR] android:paddingTop="0.0dip" android:clickable="false" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_header_height" android:baselineAligned="false" android:paddingStart="0.0dip" android:paddingEnd="0.0dip"
Okey... re-compile your SystemUI.apk
Step 2: play with framework-res.apk
decompile your apk file.
All you need are inside this path /res/values/styles.xml. Open that xml file.
Search for: "Theme.DeviceDefault.QuickSettings"
Code:
[COLOR="Red"]<style name="Theme.DeviceDefault.QuickSettings" parent="@style/Theme.DeviceDefault">[/COLOR]
[COLOR="red"]<item name="dialogTheme">@style/Theme.DeviceDefault.QuickSettings.Dialog</item>[/COLOR]
<item name="colorControlNormal">?textColorPrimary</item>
<item name="colorPrimary">@color/primary_device_default_settings_light</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings_light</item>
<item name="colorAccent">@color/accent_device_default_settings_light</item>
<item name="colorSecondary">@color/secondary_device_default_settings_light</item>
</style>
TO:
Code:
[COLOR="Blue"]<style name="Theme.DeviceDefault.QuickSettings" parent="@style/Theme.DeviceDefault.Light">[/COLOR]
<item name="colorControlNormal">?textColorPrimary</item>
<item name="colorPrimary">@color/primary_device_default_settings_light</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings_light</item>
<item name="colorAccent">@color/accent_device_default_settings_light</item>
<item name="colorSecondary">@color/secondary_device_default_settings_light</item>
</style>
Search for: "Theme.DeviceDefault.QuickSettings.Dialog"
Code:
<style name="Theme.DeviceDefault.QuickSettings.Dialog" parent="@style/Theme.DeviceDefault.Dialog">
<item name="colorPrimary">@color/primary_device_default_settings</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
<item name="colorAccent">@color/accent_device_default_settings[COLOR="Red"]_dark[/COLOR]</item>
<item name="colorSecondary">@color/secondary_device_default_settings</item>
</style>
TO:
Code:
<style name="Theme.DeviceDefault.QuickSettings.Dialog" parent="@style/Theme.DeviceDefault[COLOR="blue"].Light[/COLOR].Dialog">
<item name="colorPrimary">@color/primary_device_default_settings[COLOR="blue"]_light[/COLOR]</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings[COLOR="blue"]_light[/COLOR]</item>
<item name="colorAccent">@color/accent_device_default_settings[COLOR="blue"]_light[/COLOR]</item>
<item name="colorSecondary">@color/secondary_device_default_settings[COLOR="Blue"]_light[/COLOR]</item>
</style>
Search for: "Theme.DeviceDefault.Settings.Dialog"
Code:
<style name="Theme.DeviceDefault.Settings.Dialog" parent="@style/Theme.Material.Settings.Dialog">
<item name="colorPrimary">@color/primary_device_default_settings</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
[COLOR="Red"]<item name="colorAccent">@color/accent_device_default_settings_light</item>[/COLOR]
<item name="colorSecondary">@color/secondary_device_default_settings</item>
</style>
TO:
Code:
<style name="Theme.DeviceDefault.Settings.Dialog" parent="@style/Theme.Material.Settings.Dialog">
<item name="colorPrimary">@color/primary_device_default_settings</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
[COLOR="Blue"] <item name="colorAccent">@color/accent_device_default_light</item>[/COLOR]
<item name="colorSecondary">@color/secondary_device_default_settings</item>
</style>
find: "Theme.DeviceDefault.Settings.Dialog.Alert"
Code:
<style name="Theme.DeviceDefault.Settings.Dialog.Alert" parent="@style/Theme.Material.Settings.Dialog.Alert">
<item name="colorPrimary">@color/primary_device_default_settings</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
[COLOR="Red"]<item name="colorAccent">@color/accent_device_default_settings_light</item>[/COLOR]
<item name="colorSecondary">@color/secondary_device_default_settings</item>
</style>
TO:
Code:
<style name="Theme.DeviceDefault.Settings.Dialog.Alert" parent="@style/Theme.Material.Settings.Dialog.Alert">
<item name="colorPrimary">@color/primary_device_default_settings</item>
<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>
[COLOR="Blue"]<item name="colorAccent">@color/accent_device_default_light</item>[/COLOR]
<item name="colorSecondary">@color/secondary_device_default_settings</item>
</style>
find: "Theme.DeviceDefault.Settings.Dialog.NoActionBar"
Code:
<style name="Theme.DeviceDefault.Settings.Dialog.NoActionBar" parent="@style/Theme.DeviceDefault.Light.Dialog.NoActionBar"[COLOR="Red"]>[/COLOR]
[COLOR="Red"]<item name="colorPrimary">@color/primary_device_default_settings</item>[/COLOR]
[COLOR="Red"]<item name="colorPrimaryDark">@color/primary_dark_device_default_settings</item>[/COLOR]
[COLOR="Red"]<item name="colorAccent">@color/accent_device_default_settings_light</item>[/COLOR]
[COLOR="Red"]<item name="colorSecondary">@color/secondary_device_default_settings</item>[/COLOR]
</style>
TO:
Code:
<style name="Theme.DeviceDefault.Settings.Dialog.NoActionBar" parent="@style/Theme.DeviceDefault.Light.Dialog.NoActionBar"[COLOR="blue"] />[/COLOR]
NOTE: every thing change in lates code is meaning close the style method in first line and remove there items. change > to /> and remember input space befor the slash!
Okey... re-compile your framework-res.apk
NOW, PUSH YOUR FILES TO SYSTEM, SET PERMISSIONS AND REBOOT​
...end of the post!
For awsome look, replace Noto fonts with google pixel Official Noto fonts....
Update 1: So sorry for forgot add this two style to my tutrial
Guid updated with add that stylies
1- "Theme.DeviceDefault.QuickSettings"
2- "Theme.DeviceDefault.QuickSettings.Dialog"
Update 2: For users problem with re-compile SystemUI.apk:
a bad patched file inside /res/drawable-xxhdpi called "pip_dismiss_scrim.9.png"
This is Sony problem... but don't cry!!!
I edited 9.png true patch side file fix your problem!
place attached file inside /res/drawable-xxhdpi and try again. after apktool ask you do you want to keep untoched file say yes
Inside keep folder don't touch orginal "pip_dismiss_scrim.9.png"... after compile finished, the sony orginal 9.png back to your apk.
(do this every time you re-compile your SystemUI)
I found also soke interesting lines in the SystemUI, Settings and Framework, by all the 3 apk files in strings.xml stand Reboot_Change_Theme or similar, but dunno howto activate it or add in bools.xml, it have sure todo with white and black changing for Systemui...
Nice guide btw and plese post some screenshots
Verstuurd vanaf mijn G8231 met Tapatalk
Pandemic said:
I found also soke interesting lines in the SystemUI, Settings and Framework, by all the 3 apk files in strings.xml stand Reboot_Change_Theme or similar, but dunno howto activate it or add in bools.xml, it have sure todo with white and black changing for Systemui...
Nice guide btw and plese post some screenshots
Verstuurd vanaf mijn G8231 met Tapatalk
Click to expand...
Click to collapse
Here you are... I themed my settings too and use pixel fonts too.
I try to add accent colors option to appearance settings (Like OnePlus OOS)
Can you change it on Nougat , sir ?
Can someone upload the modified files for xz as I am unable to recompile anything after modifying them
Thanks in advance
Hoang.hpump said:
Can you change it on Nougat , sir ?
Click to expand...
Click to collapse
I am on Oreo but try that in Nougat
@GenomeX Will this work on odex ?
korom42 said:
@GenomeX Will this work on odex ?
Click to expand...
Click to collapse
Yes
You don't need touch any smali files... Means you don't need have a deodex ROM.
is pushing modified systemui and framework breaks OTA updates ?
also can someone with XZ1 compact share its modified files (FW 47.1.A.5.51) ?
sheraro said:
is pushing modified systemui and framework breaks OTA updates ?
also can someone with XZ1 compact share its modified files (FW 47.1.A.5.51) ?
Click to expand...
Click to collapse
If you have unlocked bl then yes but how you wanna push it if you dont have root ?
Verstuurd vanaf mijn G8231 met Tapatalk
@GenomeX Unfortunately I'd no success trying to recompile the apk :crying:
I uploaded framework-res.apk and SystemUI.apk for xz oreo odex
If you or someone can help please edit and share the modifed apk :fingers-crossed:
https://mega.nz/#!LdxRSDrB!Ex6OZoi8y1JJHEC2ykxa_bhYwvLTfujOxOx-ciRYKX0
korom42 said:
@GenomeX Unfortunately I'd no success trying to recompile the apk :crying:
I uploaded framework-res.apk and SystemUI.apk for xz oreo odex
If you or someone can help please edit and share the modifed apk :fingers-crossed:
Click to expand...
Click to collapse
@korom42
Try this (not flashable zip/ push to system manual)
And for notic: sony system ui and settings and some other apks is deodexed (odex folder only for faster boot! you can keep odex file for some apps or deleting!)
2nd POST updated...
Update 1) for my mistake
Update 2) for guys problem with recompile SystemUI.apk with sony bad patched NINE.PNG
My next try for add adaptive icons to some sony apps like Album,Contacts, Dialer, Massage, Camera, Music and ... (must be re-engining some apps and add forground icon and background mask and some method to java codes)
@GenomeX
about update 2... you can remove that png and also the line in public.xml without issue, i struggled earlier with that and when i deleted it, succesfully compiled
Pandemic said:
@GenomeX
about update 2... you can remove that png and also the line in public.xml without issue, i struggled earlier with that and when i deleted it, succesfully compiled
Click to expand...
Click to collapse
That Png work with picture-in-picture mode, do you test pip work without that?
For safe compileing i patched that file with draw9patcher inside android studio, now is true patched
For better UI i change some classic png with vector graphics (xml format)
For example see my screen recorder! Now more harmony to other UI elements.
I do this with settings, and want do for systemui signal and wifi (aosp style) too
GenomeX said:
That Png work with picture-in-picture mode, do you test pip work without that?
For safe compileing i patched that file with draw9patcher inside android studio, now is true patched
Click to expand...
Click to collapse
What is that abd how you do picture in picture ? Sorry still investigate Oreo ^^
Verstuurd vanaf mijn G8231 met Tapatalk
Pandemic said:
What is that abd how you do picture in picture ? Sorry still investigate Oreo ^^
Verstuurd vanaf mijn G8231 met Tapatalk
Click to expand...
Click to collapse
You must be a YouTube Red user, then can use it in youtube.
But work nice in chrome when play online video
Play video (switch video to full screen mode), then hold home button and back to home screen and video playing inside a mini floating window!
GenomeX said:
@korom42
Try this (not flashable zip/ push to system manual)
And for notic: sony system ui and settings and some other apks is deodexed (odex folder only for faster boot! you can keep odex file for some apps or deleting!)
Click to expand...
Click to collapse
wow thanks works perfectly :good:
Pandemic said:
If you have unlocked bl then yes but how you wanna push it if you dont have root ?
Verstuurd vanaf mijn G8231 met Tapatalk
Click to expand...
Click to collapse
I'm trying to stay away from root/ub on oreo, I installed substratum and Andromeda so themes can apply without root, but until now I didn't find any theme that gives white systemui on xperia's oreo, if someone find it plz share

Categories

Resources