yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
ok, I will try with flashable zip and/or fresh installed rom. pray me it'll works....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arceusxcv:
Hi! can someone edit my status_bar.xml :)

i tried to follow the OP, but i dunno why it's not the same :crying:

here's my xml
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
What have you tried yet and what have you got? And what changes do you which to have? Any screenshots or more details would be fine. Also you can post your modded code here, its easier and sometimes faster for us to help you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
hi rodman, I had make a 3 flashable zip from systemui.apk that you attached. then I go to recovery mode and I wipe data and flash a new rom. after that I flash the systemui.zip that I had made. this is the result:

1. with first you attach my status bar are still not changed.

2. then I go to recovery mode again and flash rom again and systemui2.zip, my statusbar is missing.

3. I do it again with third systemui the statusbar still missing.

so confused...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
Great thanks for testing and verifying...now we could be quite sure that it is not the rom and not the way how you put the new apk on your phone. So it mus be the change in statusbar itself. Attached is a new one with another possibility to change. Would you please try this too? And hopefully we will get an other result then disappeared statusbar :fingers-crossed:

Edit: think I got the problem...the "@id" of the clock is different...sorry just noticed that a second ago...please try also or better first the new and additional attached systemui5
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
great thanks too for concerning to help me. I'll try it right now...

---------- Post added at 10:04 PM ---------- Previous post was at 09:41 PM ----------

edit:

(≧▼≦) hufftt... my statusbar still missing...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
ggrr and now and with new systemui6?

btw: do you have time for more tests? Or should we move it to an other day or date?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
actually, I cannot sleep if not done. I'm doing by now...

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

with a new one my statusbar is not missing. but, the clock is still on the right side... :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
ok but anyways a kind of success :)

I would say last try for now and today...please flash attached v7
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
still no changed. maybe you should rest, I will try to decompile maybe I can find something...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
Yes you might be right...I take a rest....so I am sorry that I couldn't help and many thanks for your time.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
whoaaa....!!!!

my clock moved to the left....!!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
Hello guys and gals, can I request some little things?:o:D

for now I have this status bar

and I want it looks like that

to

move signal and wifi icons to left corner

and make

centered clock a bit smaller

in proportion to the battery percentage(for example)

Is it possible?

Thanks in advance

here is a flashable .zip I`m using for now

And original SystemUI.apk

P.S. I`m using Xperia ZL b.t.w
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
Cool and gongrats :good:...glad you figured it out and the clock is moving now :). Could you get it centered too in the meantime?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
don't sure cause I think the strings is make my head blowed up :confused:

and I figured out that our mistake is we focused to edit status_bar.xml, so I thought that is the tutorial is not for my rom. there's one file named msm_status_bar.xml that can moving the clock. :o
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Can you post this again, but check/tick the 'Disable Smilies In Text' option please? They're all over that code.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
:laugh::highfive::good:

Bounty 5$
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
well, I had open my msim_status_bar.xml and your tutorial on first page, open again and again.

finally, I don't know where is that I should change. I think the strings in my xml is totally different with the stock xml that you quote. so I can't apply it to my xml. or, maybe that my brain has stuck.

I wonder that you able to edit my xml in my systemui.apk that [MENTION=4613083]rodman01[/MENTION] had attached...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
With which one of mine you were able to move the clock to the left? And how did you got that? Perhaps you can post it here or attach the related systemui again? Because of the relation of the clock to the msim_stastus_bar.xml, I changed in the last versions of mine the "@" id of the clock line to stock reference. Maybe that this is not working correct at the moment, but perhaps it can show us the way to the right or a new direction how we could get it?!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] sadab:
As awsm as always :thumbup:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
This effect is normal if you use method 1. Try method 2 and you will get the center clock always visible.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
this is my systemui.apk that moved my clock to the left. I already made it to zip installer. i just change the msim_status_bar.xml file, moved up the strings android.policy.clock or something like that.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
I have centered my clock but...

[MENTION=4315551]Ticklefish[/MENTION]

I was able to center my clock, however, I have one minor problem. The Extended Stanby Mode Icon is at the left side of the clock. Below is the screenshot. what is the [MENTION=228980]iD[/MENTION] of the battery mode? or how can I put it back at the right side?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
That is a StatusIcon. To put it back to the right side, you need to rearrange your xml. So..I need to see your xml.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] spaceghost21:
If u dont mind, what theme are you using?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
I'm using the theme of ibanez7.

Here is the link for it.

http://xdaforums.com/showthread.php?t=2372381
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Sorry, that's my mistake. I probably wasn't clear enough. I need your decompiled xml please. If you're using a ZL, you should be able to do this with no problem at all as you'll be on at least 4.1.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
Thank you

Yes, I see the difference, it`s starts from <include android:id="@id/signal_cluster"....

I`ve decompiled SystemUI(APK-Multi-Tool and TickleMyAndroid methods), edited status_bar.xml with NotePad++ and XML Notepad 2007(Ok), then stucked on recompiling errors wiyh both methods.

Seems I need more time to learn all this things. And it takes ages for me for now to do one operation, lol

Killed 2.5 hours for this elementary steps and .... error error error
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
By the looks of that picture, your SystemUI.apk didn't decompile correctly. Which is why you can't recompile it. Did you install your framework-res.apk before decompiling?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
:o now installed correct

after decompiling, in Notepad++ copy/paste the line <include android:id="@id/signal_cluster".... to right place, delete old line. After recompile file and pushed to system/reboot - nothing changes. Decompiling one more time - all lines on originals places:eek:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Which means something went wrong after you recompiled. If you're using Tickle My Android, it's possible you didn't prepare the file. See the op in that thread for instructions for using the tool.

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I'm on the move so I can't check your code completely. But I did see that you have two @id/ticker lines, one with a background, one without. Have a look at your original code, I'm willing to bet you don't have that many there..:)

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Felimenta97:
Thanks, just noticed it. Will add the android background thing later. Away from pc now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arceusxcv:
Nevermind, i've already figure it out :D

JARVIS sent it using xda app-developers app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Excellent! Welcome to the wonderful world of xml modding!

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] arceusxcv:
Yeah, xml Modding is challenging but the result is wonderful :D

I'm trying to mod the expanded now,

Btw, i've already tried your tool, it's a very useful tool :thumbup:

JARVIS Sent it using xda app-developers app
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
Has error

Hello [MENTION=4315551]Ticklefish[/MENTION],

I tired the xml you provided me and its giving me an error after flashing. The error was "Unfortunately, Systemui has stopped".

If you have time, please help me how to fix it. Thanks.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
Hmm, really strange, because it goes step by step: installled framework-res; pulled&decompiled SystemUI; edit it; 13 recompile; 14 prepare app; 17 create zip(and another way dont create zip just pushed by root explorer with permissions)

Decompiling "SystemUI.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

----------------

I: Baksmaling...

I: Loading resource table...

I: Loaded.

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\USer\apktool\framework\1.apk

I: Loaded.

I: Regular manifest package...

I: Decoding file-resources...

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-hdpi/stat_sys_data_fully_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-hdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-hdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-xhdpi/stat_sys_data_fully_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-mdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-hdpi/stat_sys_data_fully_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-xhdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-mdpi/stat_sys_data_fully_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-xhdpi/stat_sys_data_fully_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-mdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc2-xhdpi/stat_sys_data_connected_h.png

S: Could not decode file, replacing by FALSE value: drawable-mcc208-mnc1-mdpi/stat_sys_data_fully_connected_h.png

I: Decoding values */* XMLs...

I: Done.

I: Copying assets and libs...

----------------

Decompile Successful!

Recompiling "SystemUI.apk"

With Tickle My Android

(tinyurl.com\ticklemyandroid)

----------------

I: Smaling...

I: Building resources...

I: Building apk file...

----------------

Recompile Successful!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
its done, finally....

millions thanks for everyone that has teaching me with pattience. bravo to all, never stop learning...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
(This post is going a bit wrong. The app is fighting me. Typical Friday!)

Right, to save multiple posts I'm going to try to sort this out for you two in one go. Can you please share your original framework-res.apk, original SystemUI.apk, your modded SystemUI.apk and the zip file you created?

I'll take a look, work out what's going wrong and fix it. Hopefully that'll be today but may be over the next few days.

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
Dont worry, take your time:good:

files
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rodman01:
Cool and glad you figured it out finally :) :good: If you need any further help in future you know where you can find us :)!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
Thanks a lot.

Thanks for really taking time to check on our issue.

EDIT: Here are the links for my systemui and framework-res.apk

Systemui - https://www.dropbox.com/s/53ojn8ab9yitk3n/SystemUI.apk.zip

framework-res.apk - https://www.dropbox.com/s/96d7rzabvlgieny/framework-res.apk.zip

I used a working flashable to flash my zip - https://www.dropbox.com/s/6bogfsj4j4e59ob/CLOCK.zip

I will be sending it once I'll be home.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
special thanks to mr. [MENTION=4613083]rodman01[/MENTION].

next project is how to porting rom. I have learn from thishttp://xdaforums.com/showthread.php?t=1908008 but still understand...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
why still overlap?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] wuuu:
thx

thx very much. It works perfect.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
You are the Demi God of XML! =)

OMG you are a freakin' Genius... Hats of to you [MENTION=4315551]Ticklefish[/MENTION] Wo0o0oho0o0o0o0o0o..... It Working Perfectly...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
I use first method, cause with the second my systemui won't recompiled...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
Did you checked moded files? As I told you earlier, status_bar.xml wasn`t moded after recompile. That is a problem, not in wrong place(because I`ve used another method - pushed it to system/app manualy via RootExplorer)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Lol This is easily my favourite post in this entire forum.. :cool:

Glad it's working but..can you tell what I did..and why?

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
You will get overlaps with the first method. The clock is no longer part of the section of code that controls the placing of the icons, so there's nothing to stop those icons from overlapping it.

The second method gets rid of the overlaps, although it's still worth not having lots and lots of uncleared notifications. The second method is a bit more complex though..

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Hmm..I'll have a look when I get home.

..Have you tried Tickle My Android yet?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
I wonder if you could compiled it for me :o;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Pangkoy08:
Let me see if I can get it right.

hmmm.. basing on my comparison with the old status bar and the new one you have completely rearrange the everything. I'm not yet sure what was moved but its a completely different sequence. I will be able to learn more faster this way since I'm a visual type of learner.

Thank you so much for what you have done. Cheers
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ngh55:
Thanks for the reply, so I need to edit public.xml instead of the smali?

{©}Sent from the Death Star{©}
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
No, you don't need to do either. Though it's interesting to know that this can be done by smalI.

You only need to edit public.xml if you're deleting an image as the image will be gone but the reference for it won't be.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
so @Ticklefish...how??can u do that for me??:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ngh55:
Actually I compiled the first time without modifying the smali, only adding the change to the statusbar xml and adding the file itself to drawable folder and apktool gave me a resource missing compile error.

{©}Sent from the Death Star{©}
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
That's odd. I've just tried this myself without touching the smali or public.xml and the file compiles without any issue. It's the same thing that happens when you change your battery icon from one that changes every 10% to one that changes every 1%. You're adding another 90 or so icons but you don't have to do anything in smali or public.xml to tell Android that they're there.

Perhaps you're using an older version of apktool? Or maybe there was some other issue when you compiled that first time?

It's actually a good thing that you're getting used to editing smali though. That's still far beyond me at the moment. :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Yes, I can. But you just need to be patient a bit. I'm working on it today.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Of course, there's no reason why you have to limit this to just status_bar.xml

I've swapped some bits of status_bar.xml, status_bar_expanded.xml and status_bar_tracking.xml around to come up with this..

​

My homescreen may not look that impressive but it's full of invisible icons, letting me have access to my sms, camera, etc. And I am using a Mini Pro...it's only about 3 and a half inches tall!​
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Wow, dis looks great!!!!! would love to try dem out..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Well, you've got the clock in the center...but you've left it on the right of the status bar as well. You need to delete that second clock.

And it doesn't look like you've changed anything to do with the carrier label.

If you want somebody to look at your xml code, you should post that instead of a link to the full compiled app. It would make everything a lot faster.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
ok...thank you..:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
So you've got a line above the first LinearLayout. That'll center the clock correctly. And you've added a background to the '@id/ticker' LinearLayout. This is all good so far.

But you haven't deleted the original clock. This code will produce a clock in the center and a clock on the right. You need to delete that second line.

I don't see anything in here about your carrier label... Have a look at status_bar_tracking.xml for the code you need.

Have a look at the code I posted in the carrier label thread to see what you need.

Be aware, though, that if your carrier label is too long, it might overlap the clock. Mine just says 'Vodafone UK' which isn't too long, yours might be different.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
This looks fine. Have you tried it out?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ngh55:
WOW mate this is sick, did you actually added the brightness control over there?

I want that :P

EDIT: BTW you where right, I removed the edited line in smali and also the public.xml because I think it was giving trouble and recompiled: No errors now.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I can't take credit for the brightness control, I got that with one of the quickpanel mod's available elsewhere in this forum.

Can't remember where from exactly, but I can share the zip file if you want.

Good to know about the smali. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
i havent brov, my phone still under repair... But can yhu help i should upload my SystemUI.apk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
There you go: http://db.tt/TcvYCd7j
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
thanx man..:) its working..but the text in notification bar its overlap with my service provider name...why??its that because i just flash this mod http://xdaforums.com/showthread.php?t=1772120 or not??can you check it??by the way thank you for helping me...and the correct spelling is You'll Never Walk Alone..:)

i attach the screenshot
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] ngh55:
Thank you and yes, if you can I will appreciate having the file for the quick settings.

I am on a different phone, HTC EVO 4G on cyanogenmod 7.2 and in the quick settings on the status bar there is no option to add a reboot and/or power off button, could you help me out adding this?

Actually if you know the terminal command for calling the power menu (when you long press the power button) that will be more than enough for me.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Okay, this is odd. Your modded SystemUI.apk is exactly the same as your original. Even down to the dates. Which suggests something has gone wrong somewhere.

It's worth resetting TMA, decompiling your apk, changing your xml, recompiling and preparing it..then decompiling it. If the xml has gone back to how it was originally, then something is very wrong.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I can change your code for you. Can you share your current xml please?

No problem. :)

I've replied to one of your previous posts...and forgot to mention that somebody has kindly given me some battery and signal icons that you did based on iOS. Do you mind if I include them in the next version of Tickle My Android? With credit, of course.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rtimoff:
This .png`s not mine, I grabbed it(base) on SGS4 forum(link), and make some of them blue.

iOS7 icons & signal

But this forum was created in order to share with others, isn`t it?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] dzingga:
I can change it by my self, but even the code has perfectly same with your tutorial it cannot recompile. don't know what the code has not support...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Indeed it was! :cool:

If you're using the exact same code as my tutorial, it will only work if your original, unmodded code is the same as mine..

What problems are you getting when you try recompiling? That will help us work what's going wrong for you.

Have you Tickled Your Android lately?

(tinyurl.com/ticklemyandroid)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] manfredo16:
Thanks :good: