I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR DEVICE BY FLASHING THIS MOD. !THIS MOD IS ONLY FOR MIUI GB ROM!
FOR ALL OF YOU WHO WANT ONLY PATTERN DOTS, HERE IS FLASHABLE ZIP FOR CM7.2, NO NEED TO MOUNT SYSTEM
AS SOON AS CM9 GET STABLE ENOUGH FOR DAILY USE, I'LL TRY TO MAKE IT WORK ON IT
Hi, I made something for You! Now You can have anything in place of Your mobile carrier name on status bar! happy? ;d And also, now You can use pattern lockscreen, because I replaced those big black ugly circles with something much more subtle ;p screenshot's and flashable zip in attachments.
TODO:
I will make this tutorial n00b friendly as soon as possible, so no one will get confused I'm also planning to expand this thread with other modifications like center clock, carrier logo for cm7, and others...
MIUI & CM7 STATUSBAR CARRIER LOGO GUIDE
I assume that You are familiar with ADB and ApkTool
1. pull and decompile SystemUI.apk
2. go to .../res/layout and open status_bar.xml
3. remove this line:
Code:
<com.android.systemui.statusbar.CarrierLabel
4. find start of this line:
Code:
<com.android.systemui.statusbar.IconMerger
5. now You have to put this right above the line mentioned above:
Code:
<com.android.systemui.statusbar.CarrierLabel android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/carrier" android:background="@drawable/carrier_logo" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6. You can save and exit now
7. now open .../res/values/ids.xml
8. check if this line is present:
Code:
<item type="id" name="carrier">false</item>
if yes, move it to bottom, right before closing tag. if no, paste it there
9. save and compile SystemUI
10. go to .../build/apk/res/layout and drag status_bar.xml to SystemUI.apk (opened in other window)
11. do the same with ids.xml (that way You won't have to sign apk)
12. put image of Your choice in res/drawable_xdpi (it must be named "carrier_logo.png", put any letter corresponding to Your resolution instead of x, for example ldpi)
13. push SystemUI.apk and reboot, and You've almost done!
14. now You just install Carrier_Name_1.2.apk from here, open it, put space in textfield and press ok, then reboot and that's it!
for CM7 skip step 3, and edit line in point 5 to Your needs (android:layout_width="wrap_content")
*edit* best way to add carrier logo to cm7, is to resize your logo to 20px in height, and put proper number in "layout_width" and "layout_heigth" eg. if your logo is 20px in height and let's say 34px in width, it will be layout_width="34pix" and layout_height="20pix" (depends on your phones resolution, this one is for ldpi)
!note - if You can't compile it back, make sure that all files referred to in xml are present in folders (eg. carrier_logo.png)
to use Your own image as carrier logo:
-open SystemUI.apk from my flash with winzip, or any other similar program of Your choice
-go to /res/drawable-hdpi and replace carrier_logo.png with any image of Your choice ;p
Bugs: image stretches when signal is null (emergency calls only)
*reserved*
For future use
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
bookmarking....
ensoy said:
Can you make it for CM7? Between NAIZ!!!
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Yeah, I will try to make it for cm7
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
ensoy said:
Where to find pattern unlock files?
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
framework-res.apk/res/drawable-xdpi but I don't remember file names
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
ichambi said:
Hi..
Can you make an ICS Style/MIUI 4 style settings? that would be great if you can Thanks in advance
Hmm, why there is still operator text on my status bar ? I just want carrier logo without carrier label text
Sorry for my bad English
Click to expand...
Click to collapse
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
nishanty13 said:
Use this app to remove your carrier name.
www.mediafire.com/download.php?0zg8wuc24xu7e3h
Click to expand...
Click to collapse
Don't know why but my carrier label name still on my status bar.. I've changed it to blank ..
ooh it just happen when i scroll down status bar.. Anyone can help me?
ill be monitoring this thread
also OP it would be nice if you could write what files should be edited to make this, i know most people would appreciate it because of different miui patchroms and devices because it doesnt work properly on all devices i guess, i know mine got a bit messed up with both carrier logo and stretched picture under it
good work tho, thumbs up
edit: nvm OP, i decompiled your SystemUI and fixed it for my rom, looks nice now, thanks
Give Up .......
I give up. Been trying since morning to get carrier logo but in the end I got this.
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
nishanty13 said:
I give up. Been trying since morning to get carrier logo but in the end I got this.
View attachment 1025490
No matter what logo I use I get this logo. I even tried editing my systemUI.apk manually and replacing it. Used the zip the OP attached but still get this logo. I wonder why.:banghead::banghead::banghead:
Click to expand...
Click to collapse
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
I will post full step by step guide today evening
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
kitrax59 said:
On mine, I can't delete/or change the default Carrier label name.. No matter how I tried to change it with Carriername.apk..
Click to expand...
Click to collapse
Try changing it with eri.xml in /system/data I hope it helps
i had to edit xml to make it work and look good, the measures were a little off but managed to fix them for my phone
attaching image with default theme
yackovsky said:
Try changing it with eri.xml in /system/data I hope it helps
Click to expand...
Click to collapse
Can't find that xml buddy..
yackovsky said:
If its miui change theme to default, some themes have built-in logo. To edit theme, open mtz with winzip, and find systemui, then open it and change it there
Click to expand...
Click to collapse
Lol, I forgot.
Related
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.
icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck
what program are you using to edit your xml's?
chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...
yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.
avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.
I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.
When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.
PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.
Title says it all
Reply
Hello. If you want your statusbar transparent you have to edit the file SystemUI and edit the background of the statusbar.
Speedyspro said:
Hello. If you want your statusbar transparent you have to edit the file SystemUI and edit the background of the statusbar.
Click to expand...
Click to collapse
It doesnt work bro
I have tried all
I have edited pngs, xmls, smalis
It doesnt work
I dedicated my 2 months on it
Still dont work
We need someone who knows a lotttttt
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Father Pio said:
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Click to expand...
Click to collapse
Is this a pic of your Ace I
Because when I tried it months ago
I lost my status bar
Which decompiling tool you use
Can you give the link
iamareebjamal said:
Is this a pic of your Ace I
Because when I tried it months ago
I lost my status bar
Which decompiling tool you use
Can you give the link
Click to expand...
Click to collapse
Yes, it is. I did this screen shot especially for you to show you result of changes.
To tell the truth I don't remember from which place I downloaded my apktool, but use google and I'm sure that you will find what you looking for
Father Pio said:
Yes, it is. I did this screen shot especially for you to show you result of changes.
To tell the truth I don't remember from which place I downloaded my apktool, but use google and I'm sure that you will find what you looking for
Click to expand...
Click to collapse
The apktool I used first could not compile SystemUI.apk
Then I changed it
Then I changed the hex code to semi transparent
And when I replaced the SystemUI.apk
My status bar was gone
I think transparent might work
Can you please upload your apktool
I would be really grateful
As U wish, here U are. Hope will be helpful
Okay?
Father Pio said:
M8, it is easy like the quantum theory
1. Decompile systemUI.apk
2. go to its /layout folder
3. edit status_bar.xml file:
- find line : <com.android.systemui.statusbar.StatusBarView ...... containing android:background="#FF000000"
- change value of background to "#00000000" and now you have got full transparency of statusbar ( just like mine )
easy, isn't it ?
Click to expand...
Click to collapse
I want 35% transperacy
For 35% transparency
use this: #59000000
I've done as you said and but my status bar gone
I think it is not that easy but I don't know I'm just a noob
Father Pio said:
As U wish, here U are. Hope will be helpful
Click to expand...
Click to collapse
Your tool wont allow to open the file :/
You need to have these things first :
1- Root
2- Deodexed ROM
3- PC (with JAVA installed)
4- Any apk decompiler (apktool, apk-multitool, etc..)
How to :-
1- Copy SystemUI.apk from /system/app/ to your sd card via any root browser.
2- transfer SystemUI.apk to your computer.
3- Decompile SystemUI.apk.
4- Open res\layout\status_bar.xml
5- There you will see a value like android:background=FF000000
6- To make it translucent type 5F000000 instead of FF000000 or to make it full transparent type 000000
Enjoy and if any questions plz ask here.. .
Credits :
Google (for searching)
XDA (for some knowledge about status_bar.xml)
Ok, this guide needs to be elaborated... :angel:
I did the same, and following was output:
1. Even while changing background to 5f000000, background became full transparent.
2. Whenever i open an app, status bar becomes black again(opaque)
3. During media scanning also status bar looses transparency!
This means status bar is only transparent when on homescreen!
I'm attaching images which i tried on jelly blast rom and also the modded systemui.apk (of Jelly Blast rom) if anyone wants to try. Just rename the file to systemui.apk and put in system/app, change permissions and reboot. you will face lots of force close messages but don't worry after reboot it'll be fine!:good:
js2892 said:
Ok, this guide needs to be elaborated... :angel:
I did the same, and following was output:
1. Even while changing background to 5f000000, background became full transparent.
2. Whenever i open an app, status bar becomes black again(opaque)
3. During media scanning also status bar looses transparency!
This means status bar is only transparent when on homescreen!
I'm attaching images which i tried on jelly blast rom and also the modded systemui.apk (of Jelly Blast rom) if anyone wants to try. Just rename the file to systemui.apk and put in system/app, change permissions and reboot. you will face lots of force close messages but don't worry after reboot it'll be fine!:good:
Click to expand...
Click to collapse
lol,that's normal.
HolyTyphlosion said:
lol,that's normal.
Click to expand...
Click to collapse
I think editing framework-res.apk will solve this!
Sent from my GT-S5830i using xda app-developers app
js2892 said:
Ok, this guide needs to be elaborated... :angel:
I did the same, and following was output:
1. Even while changing background to 5f000000, background became full transparent.
2. Whenever i open an app, status bar becomes black again(opaque)
3. During media scanning also status bar looses transparency!
This means status bar is only transparent when on homescreen!
I'm attaching images which i tried on jelly blast rom and also the modded systemui.apk (of Jelly Blast rom) if anyone wants to try. Just rename the file to systemui.apk and put in system/app, change permissions and reboot. you will face lots of force close messages but don't worry after reboot it'll be fine!:good:
Click to expand...
Click to collapse
Now, everything is not perfect
Atleast it gives SOME satisfaction...
tried editing the drawer.xml from framework-res.apk but still gives me blackstatusbar.. I only get transparent upon pulling the notification down..
iMaker said:
tried editing the drawer.xml from framework-res.apk but still gives me blackstatusbar.. I only get transparent upon pulling the notification down..
Click to expand...
Click to collapse
So why don't you try what is written in this guide?
i just did
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
i just did
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
bro you don't have to edit drawer.xml but statusbar.xml -.-
And this guide is small and easy one for those who don't want to all the long fuss!
so you will get transparent status bar only when on homescreen or pulling the notification panel down
And I you want permanent transparency then you must search other guides or if they are not there then I will try to make it when I would get time
i think that I should mod the launcher so that it will have permanent trans. but I don't know how, if its ok with to make a tut it will be a big help for me
Sent from my GT-S5360 using Tapatalk 2
iMaker said:
i think that I should mod the launcher so that it will have permanent trans. but I don't know how, if its ok with to make a tut it will be a big help for me
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
here is an guide, though it is Galaxy Y's but it might work
http://forum.xda-developers.com/showthread.php?t=2204389
Nabs Zains said:
You need to have these things first :
1- Root
2- Deodexed ROM
3- PC (with JAVA installed)
4- Any apk decompiler (apktool, apk-multitool, etc..)
How to :-
1- Copy SystemUI.apk from /system/app/ to your sd card via any root browser.
2- transfer SystemUI.apk to your computer.
3- Decompile SystemUI.apk.
4- Open res\layout\status_bar.xml
5- There you will see a value like android:background=FF000000
6- To make it translucent type 5F000000 instead of FF000000 or to make it full transparent type 000000
Enjoy and if any questions plz ask here.. .
Credits :
Google (for searching)
XDA (for some knowledge about status_bar.xml)
Click to expand...
Click to collapse
This guide is correct. Just make it sure that you paste this value "#00000000" or "#ff000000"
android:background="#00000000" or android:background="#ff000000"
Thanks!
i cannot find RES/layout in my system UI apk...
anmol7ify said:
i cannot find RES/layout in my system UI apk...
Click to expand...
Click to collapse
decompile it correcctly
iamareebjamal said:
decompile it correcctly
Click to expand...
Click to collapse
ok after i decompiled it correctly...i was able to mod it...but the status bar dont become transparent...it remains black..i even replaced the status_bar_bg tiles to transparent PNG no luck...then i tried to induce a colour and magically the status bar was coloured..but whenever i try to make it transparent it remain black..it seems like the status bar is transparent but some thing black is behind the status bar which is making it appear black..
p.s i even tried modding drawables.xml
iam on a aosp non tw rom.
anmol7ify said:
ok after i decompiled it correctly...i was able to mod it...but the status bar dont become transparent...it remains black..i even replaced the status_bar_bg tiles to transparent PNG no luck...then i tried to induce a colour and magically the status bar was coloured..but whenever i try to make it transparent it remain black..it seems like the status bar is transparent but some thing black is behind the status bar which is making it appear black..
p.s i even tried modding drawables.xml
iam on a aosp non tw rom.
Click to expand...
Click to collapse
Aw man...
I think it only works on samsung ROM
Nabs Zains said:
Aw man...
I think it only works on samsung ROM
Click to expand...
Click to collapse
Is their any way to make the status bar transparent of stock aosp Rom..?? I am trying very hard..but no luck
anmol7ify said:
Bro is thr any way to make the status bar transparent of stock aosp Rom..?? I am trying very hard..but no luck.
Click to expand...
Click to collapse
She's a girl bro.
Sent from my GT-S5830i using Tapatalk 2
anmol7ify said:
Is their any way to make the status bar transparent of stock aosp Rom..?? I am trying very hard..but no luck
Click to expand...
Click to collapse
Which phone u using dude?
CanvasHD aosp
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.
Guide How to remove Carrier Label from Status Bar and Notification Panel
Edits required to XML in /system/priv-app/SystemUI.apk
Locate your SystemUI.apk
adb pull /system/priv-app/SystemUI.apk
Extract from Stock unmodded S5 ROM
Decompile the apk
Using either Virtuous Ten Studio or Apk-Multitool
decompile the apk.
In the decompiled folder browse to /res/layout
Open res/layout/status_bar.xml
Open res/values/dimens.xml
Step 1:
Open res/layout/status_bar.xml with notepad++ or compatible text editor (Not notepad or wordpad) and make the change below
1. Search for "carrier"
2. Change the default value to match the Blue highlighted value
Code:
<TextView [COLOR="blue"]android:textSize="0.0dip"[/COLOR] android:textColor="#ffffffff" android:gravity="center_vertical" android:id="@id/carrierLabel" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
3. Save and close the file.
Step 2:
Open res/values/dimens.xml with notepad++ or compatible text editor.
1. Search for "carrier_label_height"
2. Change the default value to match the Blue highlighted value
Code:
<dimen name="carrier_label_height">[COLOR="Blue"]0.0dip[/COLOR]</dimen>
3. Save and close the file.
Recompile the APK DO NOT RESIGN THE APK
Reboot to SS recovery and adb push to /system/priv-app/SystemUI.apk
Delete Cache and Dalvik-Cache and reboot.
NOTICE
This MOD has been around for years and is constantly being modded or adjusted for each OS version,
each device and each devs own needs. DEVS are free to use this mod no need to ask for permissions.
All I ask is recognition as to where you got it from.
Click to expand...
Click to collapse
See post #2 for an alternate method
Alternate Method [smali edit]
Alternate method for removing carrier branding using smali edits
Pull /system/priv-app/SystemUI.apk - either from device or from ROM zip file.
Decompile using available tools - I recomend Virtuous Ten Studio
Locate /smali/con/android/systemui/statusbar/phone/PhoneStatusBar.smali
Search for this method .method setCarrierLabelVisibility(ZI)V
Replace the entire contents of the method with the one below:
Code:
.method setCarrierLabelVisibility(ZI)V
.locals 0
return-void
.end method
Re-compile the apk and adb push to your device or add back into ROM zip and flash.
NOTE:
This method has the advantage of not interfering with the statusbar layout or ticker display as previous mods would occasionally cause
the statusbar icons to "jump" as tho some ticker display or carrier logo was attempting to display.
The other advantage is that this method should work for android lollipop as well (untested)
cstayton said:
reserved
Click to expand...
Click to collapse
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
carlospr21 said:
How can i get this on stock nd3 odex??
Sent from my SAMSUNG-SM-G900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
only for de-odexed sorry
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
TheAxman said:
nice...I completely didnt look for this when I did the att rom...good job...will come in handy for the next build...thanks sir for the guide...??
Click to expand...
Click to collapse
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
cstayton said:
as a note @TheAxman the statusbar is still a little flaky it comes and goes of its own accord but the notification panel one is completely gone,
P.S.
Think I'm gonna have to check out your complete vissix rom when you get it done :good::good:
P.P.S. I just modded the OP, think i may have fixed the statusbar label as well
Click to expand...
Click to collapse
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
cstayton said:
logo still visible on the statusbar expaneded it should look like the screenshot attached (with the exception that i have a custom background)
if you want the logo off of the lockscreen thats a different mod
and the normal status bar one is still flaky
Click to expand...
Click to collapse
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
TheAxman said:
We are doing this mod now, I will let you know the result....:good::good:
EDIT: Ok, I tried everything, checked each line character by character, logo still visible, what am I missing? Something else must be located somewhere else....
Click to expand...
Click to collapse
@TheAxman i just PM'd you an laternative way to handle it let me know if that helps
TheAxman said:
I figured that out after, sorry, you are correct, it does work for the pulldown, I did not read, my apologies...:good:
Click to expand...
Click to collapse
lol i think our replies crossed paths whew glad it worked, i think the status bar label is a smali edit i just havent found it yet.
I'll be posting a revised mod this evening that will correctly remove all instances of the carrier labeling.
Sent from my SAMSUNG-SM-G900A using XDA Free mobile app
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
cstayton said:
[OP] has been revised, this will correctly remove the carrier label from the notification pull down as well as from the status bar
Click to expand...
Click to collapse
Yep, tested and working, great job @cstayton, not one issue. Thanks for your work on this one......:good::good::good:
Been looking for this fix for the Note3 when it was released for the att device, best guide for the carrier removal is right here hands down, easy and quick! And I have tried most all others...
Is there a way to revert this to restore back the carrier label
vat829 said:
Is there a way to revert this to restore back the carrier label
Click to expand...
Click to collapse
Do you still have the systemui.apk before it was modified? If yes, two ways.
Safer way: make a flashable zip that replaces your current one with it.
Quicker way: copy/paste the original apk in system, fix permissions, reboot. This way will cause systemui.apk to fc until you reboot.