In last time, i find many threads about MIUI - that good ROM by our friens from East.
After try it, i'm have some good expirience and find some disadvatages for me.
Now, i'm roll back to CM1RC1 but want to ask, how to port next features, as it possible.
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
berliozz said:
1. Which font used in MIUI ROM. Just look on 2 screen from CM and MIUI.
Fonts very similar, but in MIUI ROM placed more words in one line.
Click to expand...
Click to collapse
I believe it's Arial or Helvetica. Not sure.
berliozz said:
2. Status bar and notification area.
I'm interesting what name of the stock theme and how to port it to N1 with CM Mod.
In this theme there are no gaps between the notification. (look screen)
Can it be realize in other mod, or MIUI have very complex changes reletive to stock or CM ROM.
Click to expand...
Click to collapse
It's not a theme, per say. It's part of the UI, like the blackbar and launcher in SenseUI ROMs.
berliozz said:
I try to compare framework-res from CM and MIUI and find some difference.
I find that MIUI have additional XML files in drawable directory. But I don't know have to implement it into CM. Can anybody help me?
P.S.
Maybe exist virtual device where i'm can test themes by my experiments.
Click to expand...
Click to collapse
you want to be looking i believe in the framework-res.apk obviously, i believe it will be in /res/layout/ and look through the status bar xml's, the gap between the notifications will just be a padding value.
for the text fitting beter again, that is likey just be picking the relevent xml files and reducing the font size in them
porting the (say scrolling powercontrol widgets) from the notification bar is a whole other story, i have tried doing this to no avail, i could get things to appear within the notification bar however to get them to function requires a whole lot of smali editing in the services.jar
you make your new png, drop it into the drawable folder, then you have to refrence it in the public.xml, then add it into a layout xml with the necessary configurations such as android_id, paddings, width height ect
wish list
1) Lockscreen : beat anything even in market
2) App manager on recent apps (long press home). I think it also had KILL on one side.
If I understand correctly, for porting the theme i must to:
- Replace the file the main toolbar (status_bar_header_background.9.png)
- Make it transparent (tell me how?)
- Make it possible to use a texture for the background in the dropdown menu of notifications.
a. Put it in the drawable-hdpi (status_bar_background_texture.png)
b. Create a file status_bar_background.xml in drawable folder with below content:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<bitmap android:src="@drawable/status_bar_background_texture" android:dither="true" android:tileMode="repeat"
xmlns:android="http://schemas.android.com/apk/res/android" />
c. declare that in public.xml in the values folder
Code:
<public type="drawable" name="status_bar_background_texture" id="0x010803b3" />
- change gap in the layout files and in the style file (but i can't find where it placed)
After it, files must be compile (can i do it with apktools?) and with Metamorph add to system?
Is that right?
Related
Hey,
can someone tell me how i get the white notificationbar like in the older versions (froyo, eclair...)
i can´t find any post on the internet about that and an old theme does´nt work work for me...
sorry for my english
IF you are using CM based roms, the option is inbuilt to change your status bar colours.
IF you want to do it in a stock rom, you need to replace the png file "statusbar_background.9.png" in the /res/drawable-hdpi folder in the Systemui.apk app. You will also need to make xml and smali edits to make your text black so that it shows up on the white statusbar.
Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
that's good idea!
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
j0hnZ said:
You would have to pull the theme manager theme of choice out and change the statusbar_background.9.png to a transparent color.
So for SystemUI(using winRAR):
double click on the .zip to open it
double click on system ->app -> SystemUI.apk to open it
click on res
pull drawable-hdpi to your desktop
find statusbar_background.9.png and open it with your editor of choice that has transparency ability i.e paint.net, photoshop
make the bar transparent, save it
drop the file back in the drawable-hdpi folder of the SystemUI apk
when the little window pops up to say would you like to blah blah blah click yes
flash the rom and enjoy your transparent status bar
Click to expand...
Click to collapse
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
kvlt said:
For some reason, after multiple tries, i keep messing up my status bar. Im not sure if there are minute settings that i have to tinker with in paint.net but for some reason its just not coming out well. If you have any paint.net specific transparency settings to toggle id greatly appreciate it. Thanks for the above tutorial though, it may just be me not getting it haha.
Click to expand...
Click to collapse
You have to do it for an individual theme. EX: Cyanbread.apk you have to edit file. Sometimes you have to do some coding.
zenzip said:
Hello everybody
Could someone please give me a stepwise breakdown on if/how I could get trasparent notification bar on CM7 nightly ?
Click to expand...
Click to collapse
sonny told me this some time ago but apktool doesn't work
you need to modify the classes.dex first!
this is pretty advanced but not that hard to learn....
the only way I have been able to do this is by way of baksmali-smali..
-find smali/com/android/systemui/statusbar
-open StatusBarService.smali
-search for the line
Code:
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;-><init>(IIIII)V
-above that line you will see
Code:
const/4 v5, 0x2
-change it to
Code:
const/4 v5, -0x3
-then change to statusbar_background.9.png to the level transparency you want in gimp or photoshop
-
I thought vanilla android was supposed to be easier to modify...
j0hnZ said:
I thought vanilla android was supposed to be easier to modify...
Click to expand...
Click to collapse
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
ogdobber said:
It is this might look like greek but it is really simple once you get into it (learn baksmali-smali). changing the code line from const/4 v5, 0x2 to (-0x3) is necessary for anything to be transparent i.e. pulldown shade
Click to expand...
Click to collapse
I had to do that for the shade_bg, but I haven't found anything that's been easier so far.
Finally someone has done by following the advice above?
clearbar only for cm7 rc4
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
ogdobber said:
this will make your statusbar clear. this is the only mod. you must run a live wallpaper or if you are using a gallery picture make sure in adw settings/system preferences that wall paper hack is disabled
http://www.mediafire.com/?hx155d77k3ee9v7
edit* the pulldown is also transparent
Click to expand...
Click to collapse
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
I agree and this is a great idea!
zenzip said:
good ty so much, but i'would only pulldown bar transparent and not also notification bar, in wich way i can do this?
Click to expand...
Click to collapse
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
ogdobber said:
just un zip it and look at the names you dont want and change in gimp what you dont like...then (you still have a zipped version) use winrar to open (not unzip) and drag the newly modified .pngs in and delete the ones you don't want
then to flash turn off signature verification in recovery...(or re-sign)
Click to expand...
Click to collapse
man in .rar file not included any png or jpeg file but only modified version of framework-res.apk and SystemUI.apk ....
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
mattdub1 said:
hey og, i flashed this and it didnt work for me .. on rc4 and i use launcher pro but tried it with wallpaper hack disabled on adw with no luck, any ideas?
thanks
Click to expand...
Click to collapse
try with a live wallpaper...also the "theme chooser" needs to be (system) or the theme will override
up ............
zenzip said:
up ............
Click to expand...
Click to collapse
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
etoy said:
are you still on RC4 or you upgraded to stable?
please provide me your SystemUI.apk from \system\app and i'll edit it for you
Click to expand...
Click to collapse
now i've stable, but when i write the post had RC4.
This is my SystemUI.apk
http://dl.dropbox.com/u/548546/SystemUI.apk
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!
HOW TO MODIFY THEME CHOOSER APKs (Windows only)
this thread was created to help my HUEsers modify my theme.apk, (may be applicable to other themes as well)
to get familiar and exposed on the contents of it and basic filenames / codes inside the apk,
because some users are not fully satisfied with my releases
some want additional stuffs added, some want to change some parts/areas, some want to remove specific apk being themed,
as much i want to help and provide modified themes for you, i may be busy most of the time,
and i can't even grant all your requests
so i decided to start the thread to help you guys, guide on how to mod it,
and who knows, one of these days
you will become one of the Recognized Themer of XDA,
enjoy and i hope you found this useful
WARNING!!!:
use this guide for your own use only, if you wish to release in public and start a new thread,
PLEASE ASK PERMISSION TO THE DEVELOPER and GIVE PROPER CREDITS AND LINKS
and DON'T modify and release their paid/donate version themes, RESPECT PLEASE!!!
WHAT YOU WILL NEED?
Java Platform (JDK)
Android SDK (included in ADT Bundle)
Notepad++
APK multitool - thanks @raziel23x
modified aapt.exe - thanks @titanic_fanatic
SETTING UP...
1. now that you have downloaded all the tools above, install jdk, sdk, and apk multitool one by one,
(instructions must be on their individual websites) you may want to install them all in the root of your drive C:
2. once you are done installing apk multitool, grab the aapt.exe you downloaded in the link above
(please thanked @titanic_fanatic on his post and work - this is a modified aapt.exe that lets you compile upper case package names)
and put/replaced existing aapt.exe in APK-Multi-Tool/other
LET"S DO IT!
decompiling theme (Hue.apk for ex)
1. put Hue.apk in APK-Multi-Tool/place-apk-here-for-modding
2. double click Script.bat in APK-Multi-Tool
3. press any key
4. press 9 (Decompile apk)
5. go to APK-Multi-Tool/projects and you will find a folder named Hue.apk
6. that's it, you have just successfully decompiled my theme and time to do the edits
7. don't close script.bat
modifying apk
1. this is the time you will do your modifications (changing/adding/deleting images and codes)
2. i will discussed most important parts of apk in post #2 to keep this instruction short and clean
3. don't close script.bat
compiling / signing / installing
1. on your phone, go to settings > developer options > and check usb debugging
2. connect your phone on your pc / laptop
3. now in Script.bat opened, select 15 (this will compile, sign and install your modified theme all at once at your phone)
4. that's it, check your phone using your modified theme
5. congratulations!
6. btw your modified apk is located in APK-Multi-Tool/place-apk-here-for-modding as signed_Hue.apk (you can rename it)
MY THEMES
Hue
Asul
SimpleSoft
HeKi [Hello Kitty]
CREDITS / THANKS
Learned from their threads:
anthonycr
nhnt11
ebs512
BASICS INSIDE THE APK
3 basic file types/extensions we will be dealing with most of the time
1. .xml - color codes, image redirections, are inside this file (use Notepadd++ to open such files)
2. .png - these are the images/icons we usually see on most part of the phone ui (open using photoshop/gimp and dont edit using paint or you will lose its transparency background)
3. .9.png - stretchable pngs that expand or shrink depending on the usage (these images has a black pixel boarder that needs to be preserved, or else you will be having error in compiling)
color codes (hex codes)
quick overview of color hexcodes (range - 0 1 2 3 4 5 6 7 8 9 A B C D E F)
#FF000000 as an example (represents black while white is #FFFFFFFF)
FF or the first two letters of the code represents its transparency 00 means full transparent while FF is opaque (im using 88 or 80 for semi transparent)
next 6 digits are the RGB color code, look at this way #FFRRGGBB
if you want solid red, use #FFFF0000, solid green #FF00FF00, solid blue #FF0000FF
just play with the color codes (im sure you have just played with it in most of the rom options)
decompiled apk
once you decompiled apk, you will noticed a folder named res (this is our main concern, we will be working with this folder all the time)
inside the res folder...
there are lots of drawable-** folder that contains all of our images (.png and .9.png),
most of the icons are located in drawable-xhdpi and drawable-hdpi,
you can also find values folder containing some xmls such as
styles.xml - this xml is where i usually make my inverts of ui (from holo.light to holo for example)
drawables.xml - some color codes were redirected here
colors.xml - some of the hex codes inside styles.xml were redirected here, most color codes inside drawable folder and color folder are also redirected here, so i can only have one place of editing when converting color codes on my color versions of themes
next is the xml folder
xmls inside this folder controls the apps being themed, you can find package names of the apps as the xmls filenames
if you will noticed, there are some xmls here having upper cases, that's why we need the modified aapt.exe (again thanks titanic_fanatic)
last is the mipmap-** folder
this folder contains all the themed launcher icons, i already redirected all my themed app's launcher icons here
file names
how do i named the images? let's put an example
go to res/xml and look for com_android_calculator2.xml
now this is the xml that controls my themed calculator, if you open up the xml via Notepad++ you will notice the original png file names being replaced by my own themed png through a line code
this line for example (this is the delete icon in calculator)
Code:
<item name="drawable/calc_clear_symbol">@drawable/calculator_calc_clear_symbol</item>
the stock/original png which is calc_clear_symbol.png under drawable-xhdpi folder
Code:
<item name="[B][COLOR="Red"]drawable/calc_clear_symbol[/COLOR][/B]">@drawable/calculator_calc_clear_symbol</item>
is now being replaced by my themed icon calculator_calc_clear_symbol.png under drawable-xhdpi folder
Code:
<item name="drawable/calc_clear_symbol">@[B][COLOR="Red"]drawable/calculator_calc_clear_symbol[/COLOR][/B]</item>
i just put a prefix calculator_ so i can easily locate where they are when modifying
**most of the themes out there uses the app's package name as their prefix
for example...
in my theme i use
Code:
<item name="drawable/calc_clear_symbol">@drawable/[B][COLOR="Red"]calculator_[/COLOR][/B]calc_clear_symbol</item>
but others and most of them use
Code:
<item name="drawable/calc_clear_symbol">@drawable/[B][COLOR="Red"]com_android_calculator2_[/COLOR][/B]calc_clear_symbol</item>
i just make it simple the way i can easily search them in my drawables folder
IT'S MODDING TIME!
i will show you some examples and what file to edit with these mods
again file names of images may vary depending on theme,
but package name under res/xml are standard on all theme
before you begin modifying, delete Public.xml in res/values folder
remove themed launcher icons
delete these two folders
res/mipmap-hdpi
res/mipmap-xhdpi
remove themed specific apps
for example you don't want my themed keyboard and prefer stock aosp keyboard look
delete the xml of the apps you want to be removed, in our example keyboard which is
com_android_inputmethod_latin.xml in res/xml folder
change background of system and dialer
prepare your custom background (make sure you have the right size as per your screen resolution)
hdpi - 480x800
xhdpi - 640x960
and name it as
contacts_background_dial_holo_dark.png and framework_background_holo_dark.png
and replaced existing backgrounds in res/drawable-nodpi
change notification background
the image for that is system_notification_panel_bg.9.png located in res/drawable-xhdpi
note that this is a .9.png, be careful in editing and preserve the black 1px boarder of it
however you can bypass the image if you want to make it the stock look or pure black look
open com_android_systemui.xml in res/xml
look for the line
Code:
<item name="drawable/notification_panel_bg">@drawable/system_notification_panel_bg</item>
you can see that it was redirected to my themed image system_notification_panel_bg.9.png
if you prefer the stock background look, just delete that entire line
if you want it to be pure black, remove the redirection to the custom image and this time redirect it to hex code instead
Code:
<item name="drawable/notification_panel_bg">#FF000000</item>
change (non connected to google server) signal back to grey
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
i will update this post on my free time and depending on users concern
just ask here and i will see if i can answer all areas, sometimes i can't remember what file/png i've changed
---
Looks good
Keep up the good work
Edit: Added to the RootBox Jelly Bean Mods thread http://forum.xda-developers.com/showthread.php?t=1806577
Very nice, thank you
Sent from my Nexus 7 using Tapatalk HD
Bookmarked for the weekend! Thanks, kroz!
thanks guys, i hope you'll learn something in this thread
thanks a lot for your guide. it will help us A LOT.
but i tried to decompile "hue_2.8.apk" twice, but it showed error.
i decompile some other apps' apk files and it's ok.
yaibakt said:
thanks a lot for your guide. it will help us A LOT.
but i tried to decompile "hue_2.8.apk" twice, but it showed error.
i decompile some other apps' apk files and it's ok.
Click to expand...
Click to collapse
what error?
can you try to rename first Hue_2.8.apk to Hue.apk and decompile again
kroz said:
what error?
can you try to rename first Hue_2.8.apk to Hue.apk and decompile again
Click to expand...
Click to collapse
the 2nd time i tried, i renamed it to Hue.apk already.
ive been using this software to mod some other apps before. but this is error on mine:
yaibakt said:
the 2nd time i tried, i renamed it to Hue.apk already.
ive been using this software to mod some other apps before. but this is error on mine:
Click to expand...
Click to collapse
try to update your framework-res.apk in /other folder
replaced it with your rom's framework-res.apk (android 4.2.2)
Salamat.
How about the clock? If I want to make it the default one. Thanks
JeraldPenus said:
Salamat.
How about the clock? If I want to make it the default one. Thanks
Click to expand...
Click to collapse
which clock?
kroz said:
try to update your framework-res.apk in /other folder
replaced it with your rom's framework-res.apk (android 4.2.2)
Click to expand...
Click to collapse
still no luck. i get framework-res.apk from my phone at folder /system/framework/ and copy to the other/ folder of apk multi tool, and try to decompile again, but still error.
Just changed background for dialer and settings:laugh:
Wow. I knew before its a lot of work what you do... but its huge work(after I saw how many .png`s there)!!!:good:
Thanks for lesson Mark
yaibakt said:
still no luck. i get framework-res.apk from my phone at folder /system/framework/ and copy to the other/ folder of apk multi tool, and try to decompile again, but still error.
Click to expand...
Click to collapse
hmmm, maybe you can try to check this thread
http://forum.xda-developers.com/showthread.php?t=1310151
i am not expert on the tool itself, maybe the developer could give some suggestions
rtimoff said:
Just changed background for dialer and settings:laugh:
Wow. I knew before its a lot of work what you do... but its huge work(after I saw how many .png`s there)!!!:good:
Thanks for lesson Mark
Click to expand...
Click to collapse
there are lots of images, and i already deleted thousands of repeated images and just redirect those
to make the file smaller,
5 months in existence
kroz said:
there are lots of images, and i already deleted thousands of repeated images and just redirect those
to make the file smaller,
5 months in existence
Click to expand...
Click to collapse
yeah, titanic work
Mercado_Negro said:
@kroz
I just noticed that the signal bars are always blue (using HueLite2.8), which is weird because I've been using your theme for a couple of versions and this is the first time I notice this. You can read my specs on my signature below.
I follow the color change from grey to blue and viceversa to check if there's Internet on my phone.
Could you please tell me if I can edit this using your guide and what should I change if that's the case? It would be great if it followed the color conventions in the official version, though.
Thanks in advance, sir.
Click to expand...
Click to collapse
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
kroz said:
download HueSilver.apk, rightclick and open archive using 7zip
go to res/drawable-xhdpi (for phone ui only, for tablet ui, go to res/drawable-sw720dp-xhdpi)
drag these icons outside the apk and replaced it on the apk you were modifying
(dragging existing images from the apk is only applicable to .png and not to .9.png)
system_stat_sys_data_connected_1x.png
system_stat_sys_data_connected_3g.png
system_stat_sys_data_connected_4g.png
system_stat_sys_data_connected_e.png
system_stat_sys_data_connected_g.png
system_stat_sys_data_connected_h.png
system_stat_sys_data_connected_hp.png
system_stat_sys_signal_1.png
system_stat_sys_signal_2.png
system_stat_sys_signal_3.png
system_stat_sys_signal_4.png
system_stat_sys_wifi_signal_1.png
system_stat_sys_wifi_signal_2.png
system_stat_sys_wifi_signal_3.png
system_stat_sys_wifi_signal_4.png
Click to expand...
Click to collapse
Grrr... I'm limited to 8 thanks per day.... Thanks a ton, kroz! You're da man!
Gradient Status Bar
For Gingerbread Roms
Hello everyone, today I will show you how to get Kit Kat Gradient Status Bar on Gingerbread Roms. So, lets begin.
Requirements:
Windows/Linux
Apktool
7-zip.
Notepad++ for Editing xml in Windows
Gingerbread Rom (De-odexed) for SystemUI.apk
Resources (See Attachment)
Basic Compiling and Decompiling Knowledge.
Modding SystemUI.apk
Decompile your SystemUI.apk
Navigate to /SystemUI/res/layout/status_bar.xml
Now find this line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Now Change the Red marked line with this
Code:
android:background="@drawable/gradient"
Now copy the attached gradient.png to /SystemUI/res/drawable-mdpi
Recompile SystemUI.apk
Now open the Original SystemUI.apk using 7-zip
Now navigate to /SystemUI/build/apk and Drag the classes.dex to Original SystemUI.apk
Now navigate to /SystemUI/build/apk/res/drawable-mdpi and Drag gradient.png to Original SystemUI.apk
Push the Modded SystemUI.apk to /system/app
Thats it. Enjoy Gradient Status Bar on your Gingerbread.
XDA PORTAL
Don't forget to Hit Thanks
:good:good work
Great :laugh:
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
Nice guide. :good:
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
i will definitely gonna try it on my ace with gb
happy new year in advance :laugh::good:
MuSaddiq said:
Nice guide. :good:
Btw You can use xml method for the gradient statusbar, So that the users can change the opacity and color of their choice without any image editor. If you didn't understand you can take a look at gradient_bg.xml in SystemUI.zip from my guide.
Click to expand...
Click to collapse
Yes, we can do that. But this one is much simple and the output will be same.
aditya rathee said:
i will definitely gonna try it on my ace with gb
happy new year in advance :laugh::good:
Click to expand...
Click to collapse
Happy new year to you also.
enricocid said:
thank you.. gonna add gradients to my. next gb rom.. I've more white if you want I can share
Click to expand...
Click to collapse
Yes you can share after all XDA is a place for sharing.
can it be used on ICS ROM
pravin.narote said:
can it be used on ICS ROM
Click to expand...
Click to collapse
It should work give a try.
kk9999gada said:
Yes, we can do that. But this one is much simple and the output will be the same.
Click to expand...
Click to collapse
Ya, the output will be same and this method is simple also but if the user wants to change the color of the gradient
In image method: He should use any photo editor.
In xml method: He should just change the hex color code.
Just a suggestion that you can edit the op and create 2 methods for this, Method 1 is image method and Method 2 is xml method.
Sent from my GT-S5360
MuSaddiq said:
Ya, the output will be same and this method is simple also but if the user wants to change the color of the gradient
In image method: He should use any photo editor.
In xml method: He should just change the hex color code.
Just a suggestion that you can edit the op and create 2 methods for this, Method 1 is image method and Method 2 is xml method.
Sent from my GT-S5360
Click to expand...
Click to collapse
Ok. Thanks I will add second method also.
@kk9999gada thanks buddy need more tweaks for ginger bread .... KEEP UP THE LEGACY
kk9999gada said:
Gradient Status Bar
For Gingerbread Roms
Hello everyone, today I will show you how to get Kit Kat Gradient Status Bar on Gingerbread Roms. So, lets begin.
Requirements:
Windows/Linux
Apktool
7-zip.
Notepad++ for Editing xml in Windows
Gingerbread Rom for SystemUI.apk
Resources (See Attachment)
Basic Compiling and Decompiling Knowledge.
Modding SystemUI.apk
Decompile your SystemUI.apk
Navigate to /SystemUI/res/layout/status_bar.xml
Now find this line
Code:
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" [COLOR="Red"]android:background="#ff000000" [/COLOR]android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
Now Change the Red marked line with this
Code:
[COLOR="RoyalBlue"]android:background="@drawable/gradient"[/COLOR]
Now copy the attached gradient.png to /SystemUI/res/drawable-mdpi
Recompile SystemUI.apk
Now open the Original SystemUI.apk using 7-zip
Now navigate to /SystemUI/build/apk and Drag the classes.dex to Original SystemUI.apk
Now navigate to /SystemUI/build/apk/res/drawable-mdpi and Drag gradient.png to Original SystemUI.apk
Push the Modded SystemUI.apk to /system/app
Thats it. Enjoy Gradient Status Bar on your Gingerbread.
XDA PORTAL
Don't forget to Hit Thanks:good:
Click to expand...
Click to collapse
Hello, first thank you for this but I think this is not a full guide. I tried that but icons & words got blurred.. First do we need a transparency mod inside systemui smali files?
Erhany said:
Hello, first thank you for this but I think this is not a full guide. I tried that but icons & words got blurred.. First do we need a transparency mod inside systemui smali files?
Click to expand...
Click to collapse
There is no need to do modding with smali files for getting transparency. The icons are only for MDPI devices. I have resized the icons according to my device.
And please don't quote whole OP.
Helpp!!
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
TheStrix said:
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
Click to expand...
Click to collapse
Try these steps:
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
TheStrix said:
Hey replaced my status bar background by ur png but i am not getting that kitkat look...
any idea to solve this??
I am on CM7 based rom on galaxy y...
Click to expand...
Click to collapse
I guess you are using Holo Launcher.
If yes then go to Launcher Settings > Desktop Settings > Scroll to Bottom > Check Hide Shadows at top and bottom.
Now enjoy gradient status bar.
kk9999gada said:
I guess you are using Holo Launcher.
If yes then go to Launcher Settings > Desktop Settings > Scroll to Bottom > Uncheck Hide Shadows at top and bottom.
Now enjoy gradient status bar.
Click to expand...
Click to collapse
Thanks mate, done it successfully!!
But minor correction in ur step is tht we hav to 'check ' hide shadow option and not 'uncheck'
TheStrix said:
Thanks mate, done it successfully!!
But minor correction in ur step is tht we hav to 'check ' hide shadow option and not 'uncheck'
Click to expand...
Click to collapse
I am facing same problem in lockscreen too...
Can you tell me wat xml is of locksreen!??
TheStrix said:
I am facing same problem in lockscreen too...
Can you tell me wat xml is of locksreen!??
Click to expand...
Click to collapse
In Holo Locker > Change lockscreen tint to 0%.
Plus version of holo locker is required for this.