yashsingh1/xdaforums huggingface dataset:
[Android Themes] petrukgrinder:
sorry mate I late for reply just have low connection on Indonesia.. for make dissapear "clear" text on clear button you need to edit string.xml

so, this is guide for it..

Open your string.xml on SystemUI.apk/res/values/here and find this line :

<string name="blablabla_clear_button">Clear</string>

now, you must modify the syntact like this :

<string name="blablabla_clear_button"/string>

do the same if you want dissapear the text for Notifications, On Going, No Notifications
[Android Themes] petrukgrinder:
please attach your logcat mate, maybe i can help you

Yes i will add this guide, but not now.. so wait for my guide updates..

This is mod guide, so you can modding systemui.apk by your self.. not flasable.zip

thanks mate :D will update if i not busy :D
[Android Themes] petrukgrinder:
just attach your systemui.apk

haha.. sama2 master

english : haha.. your welcome master

i use my own rom.. not a theme :D

yes mate.. hey everyone give thanks to AChep his owner of jelly layout date, time and day.. :) on updates i will add your name on OP post.. sorry i forget that.. i just remember you're a part of ginger dx team :D
[Android Themes] Imperticus:
Got it to work now :D
[Android Themes] x-dira:
Can u share systemui.apk :eek:

thanks
[Android Themes] samsoul16:
Nice statusbar liked it very much.

U can do it by giving it a background. Add a png with any name in drawable-xxxx(ldpi/mdpo/hdpi).Add this line in that layout

android:background="ur png name"

"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!! :P

Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2
[Android Themes] zhuhang:
Dear OP,

ur 2nd post is so unclear.

No xml location is small case, the big case is the settingsshortcut.zip just extract to SystemUI/ ?

Or extract each file to correct location?
[Android Themes] V!KR@M:
Hi, i'm trying the settings button implementation but i don't have this line:

iput v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

But i don't have that line. I looked for similar lines. I have the following lines similar to that one:

iput v5, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

iget v0, v0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

iput v2, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

In case someone wants to look at my statusbarservice.smali, here it is===> http://www.mediafire.com/?blq0nj9gkrpq16a

Can someone tell me, What can i do?

If someone is having that line, please provide ur .smali.

Thanks

Edit: sorted it out and it's working fine now
[Android Themes] nvky71:
I'm mod status bar jelly but the install button still does not work. I have tried all the instructions from the previous but do not have a result.

My StatusBarService not have this line

iput v7, p0, Lcom / android / systemui / statusbar / StatusBarService -> mEdgeBorder: I

only have this line

iput v0, p0, Lcom / android / systemui / statusbar / StatusBarService -> mEdgeBorder: I

Anyone can help me do the install button to work, I would be very grateful. hope someone will help me

attach StatusBarService.smali and screenshots:
[Android Themes] balamu96m:
Hey OP ! Nice guide, but can you add the reason for each step because blindly following isn't helping me in any way..............any help on that ?? Just you can add why this/that step is done...............
[Android Themes] samsoul16:
Happy New Year Guys....!!!!!!

Have a blast....!!!!:beer::p:(:D:thumbup::cool:;):)

"T}{@ÑK$" ÑøT TÕ $Ä¥ Jû§T Pr€ë$ ÎT...!!! :P

Sent From MY ¥ Dûø$ Üs!nG ËvÕ X RoM V¡Å XpArEnT TaPtAlK 2
[Android Themes] cickii:
which you took iput v5 or iput v2 ?

can you tell me what you did to make it work, thanks
[Android Themes] justuix:
Hi, someone can make that with my SystemUI.apk because all time when I'm tried, I got or FC or status bar just won't load...

db.tt/jo5IYRkQ (This is my SystemUI.apk file, copy/paste link)

---------- Post added at 06:24 PM ---------- Previous post was at 06:18 PM ----------

Someone can make this patch for my SystemUI.apk, because when I tried do that I got or FC or statusbar just won't works

Link: db.tt/jo5IYRkQ
[Android Themes] DjowBr:
its amazing... i wanna try to make it on my stock rom... u know if i can try ?? XD
[Android Themes] DorianX:
Try it man! worth it :) I have my own custom ROM (ICS/JB), I've shared it with everyone and they love it :D

Enviado desde mi LG-E730 usando Tapatalk 2
[Android Themes] DjowBr:
i will try on my neo stock rom.. i say if work xD
[Android Themes] BK201EKY:
Thanks a lot this was very useful :)
[Android Themes] rituj_b:
"iput v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I"

I don't get this code in the StatusBarService.smali file.niether with the v8.

plz tell me wht to do.
[Android Themes] cickii:
looking just for ... Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I and adjust the .line 333 and .line 334 your iput v7 or v6 or v5...
[Android Themes] lenka2611:
Hello dear!

in my file StatusBarService.smali is "v1, p0" if anyone can help me complete mod, I really have trouble with it, thanks you for help me

iput v1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I
[Android Themes] cickii:
in your case looking for iput v10, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I in row 1139 and insert the following code below.

.line 483
const v10, [COLOR="Red"]0x7f090027[/COLOR]

invoke-virtual {v1, v10}, Lcom/android/systemui/statusbar/ExpandedView;->findViewById(I)Landroid/view/View;

move-result-object v10

iput-object v10, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;

.line 484
iget-object v10, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsBut:Landroid/view/View;

iget-object v11, p0, Lcom/android/systemui/statusbar/StatusBarService;->mSettingsButListener:Landroid/view/View$OnClickListener;

invoke-virtual {v10, v11}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

The id highlighted in red must be the same as the id from public.xml.So make sure it's the same.
[Android Themes] swat4samp:
At last after a lot of iterations and almost spending nearly a month i finally succeded in making everything work on my phone...settings button, clear button on right side :)..if u need any help, dont hesitate asking me :cool:
[Android Themes] lenka2611:
Oh yeah! it works well thank you very much, cickii :good:
[Android Themes] rituj_b:
Thanks for the Tutorial.

But in the Settings Button mod.

I have

iput v6, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

i HAVE ATTACHED MY StatusBarService file.

I don't have StatusBarService$8 already so now i have copied it now.

I have tried ur solution but the status bar didn't showed up.

And i even had tried replacing v7 with v6.But again the same problem please can u mod it and upload it.

If u want my SystemUI.apk then here is the link:

http://www.mediafire.com/?xpl1mj5yry4t824

Plz can u do it.

I'm begging u.
[Android Themes] swat4samp:
Ok so i edited and attached apk files one with just icon and other with working settings button..first try settings icon to check whether its working..if thats fine then check second apk..if u still get error then let me know

Check HERE
[Android Themes] rituj_b:
Thanks a lot man. But the status bar is force closing with SystemUI(with_code).apk like before but with the other file I can see that there's a icon for quick Settings but it is not working.

Plz help.
[Android Themes] swat4samp:
Sent u a PM
[Android Themes] yayakuya:
Great Guide

i was try it on my L3 e400 and it's working :victory:

but could you tell me how to removed a carrier text on it? you just tell how to add it...

thanks in advanced

hatur nuhun kakang :D
[Android Themes] swat4samp:
Carrier text on what?
[Android Themes] yayakuya:
i mean carrier label on status bar. i just search for it (methods) and no one right. i can't search the line or words in .xml files they told. i know i'm not in the right place if i ask it here for my e400.
[Android Themes] swat4samp:
On status bar or on notification bar??Send me ur xml i will have a look at it
[Android Themes] yayakuya:
sorry, it's on notification bar (header)

i'll send you my framework-res.apk and SystemUI.apk that you can see all what have to change

https://www.dropbox.com/s/puakzew3on8l5mu/framework-res.apk?m

https://www.dropbox.com/s/dvwvr4zmh6fv81t/SystemUI.apk?m

because i don't know which .xml files needed for change it.
[Android Themes] swat4samp:
Ok i modified ur systemui..check whether it works

http://db.tt/M0ZdhIxB
[Android Themes] yayakuya:
thanks before....

i'll try it out, and let you know if it work or not
[Android Themes] Cocolopes:
Please help me!

Hi!...firt of all great tutorial...but I cant make it work on my atrix. (I can find some lines to make some mods)

Can someone help me do it? (or do it for me....:D...this is making me crazy...)
[Android Themes] diegofdg:
Excellent guide!!!!

Thank you!!!!
[Android Themes] KuaQ:
Odp: [Guide] Jellybean navigation layout for CM7 ROM

I have a question. This guide will work on GB AOSP or it work only on CM 7?

Sorry for my English.;)
[Android Themes] samsoul16:
Both

~~~~~~~~~~~~~~~~~~~~~

***IF ¥ØU W@NT $ÖM€.... ÇØM€ G€T $ÕM€...!!!!!!!
[Android Themes] KuaQ:
Odp: [Guide] Jellybean navigation layout for CM7 ROM

Thank you a lot:p
[Android Themes] furkonhesti:
same here..make me very2 crazy..please help me with my atrix

bahasa : toloong ane dong gann mastahhhh..pleaseee
[Android Themes] THEpancakes:
My phone is rooted, but does it also need to be deodexed for this to work?
[Android Themes] Jason-EX:
Yes, but you can also re-odex after you finish modding.
[Android Themes] balamu96m:
Awesome guide! Thanks a lot!
[Android Themes] jmorrisson84:
Only systemui.apk needs deodexing.

Don't follow codes to the letter, modify your Rom's coding to suit instead.
[Android Themes] Manas1796:
Can you Please provide the link for the drop down background in your screenshots ( that blue one)

Thanks!:o
[Android Themes] androidnerd2:
So what if I want to remove the network traffic speed ?
[Android Themes] chinhlevn:
Does it affect on soft-button on statusbar, i'm using cm7.2 by mebitek with trans-softbutton
[Android Themes] MarcquisDale:
How do you get the power widget?
[Android Themes] MarcquisDale:
Reverse what you did to add the network speed mod

---------- Post added at 10:50 PM ---------- Previous post was at 10:48 PM ----------

Reverse what you did to add the network speed mod
[Android Themes] GuneetAtwal:
Does any body know how to reduce the size if title bar potrait
[Android Themes] Tomislav Veličanstveni:
there isn't this line in this step:

now, open the status_bar_expanded.xml on SystemUI.apk/res/layout/here and find this line :

Code:

<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button"

Also, don't understand this step:

modify the line styles or paste my line like this :

Code:

<TextView android:layout_gravity="center_vertical" android:id="@id/clear_all_button" ingLeft="15.0dip" android:paddingRight="15.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="4.0dip" android:layout_marginBottom="1.0dip" android:text="@string/status_bar_clear_all_button" style="@style/Awesome.Button" />

:confused::confused::confused:
[Android Themes] MarcquisDale:
Its the line with your clear button
[Android Themes] arpitkh96:
I want the data traffic mode on cm10.1. I tried your guide. It works but layout problem can you help me to fix this
[Android Themes] Tomislav Veličanstveni:
What are you referring to?
[Android Themes] MarcquisDale:
The line you were referring to is the line where it shows the button
[Android Themes] hasanbasri_93:
SystemUI.apk

may i ask for your SystemUI.apk ?
[Android Themes] GuneetAtwal:
the codes for adding settings shortcut are not right

Right codes are given here
[Android Themes] Blaze:
help

will the stock statusbar in galaxy y look like this aftr modding it??? vl the 6 toogle change into 14 toggle?
[Android Themes] Tomislav Veličanstveni:
Well this is also cool thread :D

No, you need custom ROM for that or modding systemUI apk
[Android Themes] hardspace:
Anybody do you help me with SystemUI to get all things works? i follow this guide strictly but without success i don't get nothing in statusbar..

in zip it's SystemUI + framework-res without modifications thanks.
[Android Themes] Tomislav Veličanstveni:
try to 2-3 times flash that zip, cause it sometimes just don't work after first flashing ;)
[Android Themes] MaartenXDA:
Did you sign the apk? Does it force crash or just shows nothing?

Sent from my awesome fridge
[Android Themes] hardspace:
i don't get force closes but don't shows nothing...i don't sign apk i don't get errors in apktool too.

---------- Post added at 12:37 AM ---------- Previous post was at 12:36 AM ----------

i tested many times i make factory reset and wipe dalvik cache too..
[Android Themes] Ganesh A:
How to have that notifications png in status_bar_expanded.

Please give me that png...

------ by ------

Ganesh,

R.C @ XDA.
[Android Themes] MarcquisDale:
Need help with adding clear button
[Android Themes] universocrema:
no found in Rom minicm7 2.2.1. =l . This rom does not have the folder smali...
[Android Themes] L_S:
Deodex before :)
[Android Themes] erfandl:
I try it. Its not work for Minicm7 2.2.1 when flash apk to your phone status bar gone
[Android Themes] L_S:
I tried it (Not tried only Speed ​​Network Traffic) and work good on minicm7, only need deodex (http://xdaforums.com/showthread.php?t=1208320) and modify apk (i used apkmultitool) :p
[Android Themes] KuaQ:
I have this error when I try build apk

Here is StatusBArServices.smali If someone could see what I am doing wrong I would be grateful

http://www.mediafire.com/?r5d9d9irddxzjv6
[Android Themes] wahyupct:
how can i make in my GB status bar just like this?

thank's
[Android Themes] yvesadriel:
help: SG Pocket Duos

please help my Samsung Galaxy Pocket duos the network is missing, Flight mode and Data Network Mode Automatic ON

---------- Post added at 03:57 PM ---------- Previous post was at 03:36 PM ----------

please help my Samsung Galaxy Pocket duos the network is missing, Flight mode and Data Network Mode Automatic ON
[Android Themes] dadroid98:
hello, guys

the guide number 1 to add the clock in the staus bar does not work in cm7.2 .... the systemui force close ..

I am attaching my systemui stock cm7.2 hoping that someone will help me ...

sorrry for my english :)
[Android Themes] dadroid98:
help my !!

Help my please !!
[Android Themes] dadroid98:
[mod][guide] jb animation status bar port to all cm7.2 rom based

STEP 1:

Decompile systemui.apk

STEP 2:

go to res\layout\status_bar_tracking.xml

replace this

<com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>]

with this

<com.android.systemui.statusbar.CloseDragHandle android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="bottom" android:orientation="vertical" android:background="#ff000000" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.CloseDragHandle>

STEP 3 :

Download attachment

+ put drawable file to res/drawable/

+ and drawable-mdpi to res/drawable-mdpi/

STEP 4 :

Compile and enjoy :good:

Thanks me for my work :good:

SCREENSHOTS :
[Android Themes] bindasboy:
I can not find v7 nor v8...

in my case its like this

iput v10, p0, Lcom/android/systemui/statusbar/StatusBarService;->mEdgeBorder:I

What should i do???

Reply ASAP im stuck here....
[Android Themes] Sharang:
Hello there your guide is nice :D

So just wanted to ask you how do i make this divider a bit thick like stock jelly bean ?? Want that divider to be thick..How do i make it ?
[Android Themes] Sharang:
Can u post me your systemUI.apk ? Coz i liked your icon and title background
[Android Themes] Sharang:
What is your titlebar background ?? How did you shift that clear button to right side? :confused:
[Android Themes] SpaceCaker:
for settings button i have much easier method to add ;)

will up asap on pc ;),
[Android Themes] Sharang:
Cheers every1 :D I tried to simplify statusbar layout to look much like the AOSP JellyBean all by myself ;)

So now there's one bug i.e how do i change ongoing notification color to white ?? Also how do i shift clear button to right corner ?

Hoping for a +ve rply
[Android Themes] Sharang:
Finally solved black ongoing notification text color on statusbar :D:D

In order to implement it to other ROM all you have to do is

1) Decompile framework-res.apk

2) Go to res/values/styles.xml and find this line

" TextAppearance.StatusBar.EventContent.Title"

3) Change <item name="textColor">whichever color you want</item>

4) Save and recompile

This solves the bug of black ongoing notifications in some rom
[Android Themes] SpaceCaker:
for a easy method for adding settings button

inside statusbar service.smali

find

.method public addIcon

above it add this

.method public LegalizeSettingsButtons(Landroid/view/View;)V
.locals 3
.parameter "v"

.prologue
.line 1717
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

move-result-object v0

new-instance v1, Landroid/content/Intent;

const-string v2, "android.settings.SETTINGS"

invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

const/high16 v2, 0x1000

invoke-virtual {v1, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

move-result-object v1

invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

invoke-virtual {p0}, Lcom/android/systemui/statusbar/StatusBarService;->animateCollapse()V

.line 1720
return-void
.end method

then save

then go to ur layout

and add a ImageView

something like this

<ImageView android:layout_gravity="center" android:background="@drawable/ic_launcher_settings" android:layout_width="wrap_content" android:layout_height="wrap_content" android:adjustViewBounds="true" android:maxWidth="40.0dip" android:maxHeight="40.0dip" android:layout_weight="1.0" [COLOR="Magenta"]android:onClick="LegalizeSettingsButtons"[/COLOR] />

or if you already have a image view

then add

[COLOR="Magenta"]android:onClick="LegalizeSettingsButtons"[/COLOR]

this to the line

this initiates a Method Onclick
[Android Themes] petrukgrinder:
sorry for long time no update this thread..

now i will tell to u all, if u want to remove the dateview (statusbar background 2 on expanded view) try this guide by me http://xdaforums.com/showthread.php?t=2315341 and dont forget to give a thanks to dcsms and rizaleon. cause him give me a source code, and me just modify some code for work on cm7. good luck!

Send from my fvckin fingers
[Android Themes] RBDoMGaM:
Firstly, thank you for the guide, excellent guide!

Sorry I'm bothering you with this question but. anyone could help, or show how to put jelly header up power widget? I read almost all pages of this thread and found no solution for this, nothing I tried worked ...

My rom is the stock (Galaxy Mini) with lidroid toggles mod, if it helps here is my decompiled SystemUI: http://db.tt/f2D32FsD
[Android Themes] petrukgrinder:
thx for ur support..

open your statusbar.xml and look the line of jelly header and power widget, if it like this :

<com.android.systemui.statusbar.powerwidget android:id="@id/toggle" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.statusbarjellyheader android:layout_width="wrap_content" android:layout_height="wrap_content" />

Modify like this :

<com.android.systemui.statusbar.powerwidget android:id="@ids/toggle" android:layout_width="0.0px" android:layout_height="0.0px" />
<com.android.systemui.statusbar.statusbarjellyheader android:layout_height="wrap_content" android:layout_width="wrap_content" />
<com.android.systemui.statusbar.powerwidget android:id="@ids/toggle" android:layout_width="wrap_contrnt" android:layout_height="wrap_content" />

0.0px will dissapear ur toggle button and u must created a new same line of toggle under jellyheader line.

Send from my fvckin fingers
[Android Themes] SpaceCaker:
if he uses lidroid he will either need to do taking care of lidroid or moce the smali code to a higher part in statusbarservice
[Android Themes] RBDoMGaM:
Sorry but I could not identify which line is the power widget or jelly header in my status_bar.xml or other xml (like status_bar_expanded), I do not know much about it, i'm a noob ...

This is my status_bar.xml:

<?xml version="1.0" encoding="utf-8"?>
<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">
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.Ticker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:textColor="@android:color/transparent" android:gravity="left|center" android:id="@id/date" android:background="@android:color/transparent" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>
[Android Themes] petrukgrinder:
sorry i mean status_bar_expanded.xml not status_bar.xml sorry is my fault :D
[Android Themes] x-dira:
how to remove year?

look like

EEEE

d MMM (remove YYYY)

Thanks!