yashsingh1/xdaforums huggingface dataset:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
yeah i used tickle my android..

here's the log:

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\משה\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

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

Decompile Successful!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Thanks. I'll also need your recompiling log and your history.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
i archived it to a zip file.. here you go

thanks for helping me, really! =]
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Anytime. :)

Your history suggests you didn't prepare your SystemUI.apk after recompiling it..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
i didn't read how to recompile, i assumed that i need to replace the files you have modified for me with the original ones and then recompile using tickle my android.. am i wrong? how to do this properly?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Basically, recompiling isn't enough. Once the apk's recompiled it needs to be signed and it has to be signed properly. With Tickle My Android that's known as 'preparing'. Without this, even if the code I gave you is right and I hope it is, the apk simply won't work.

Read the first two posts in the Tickle My Android thread and they'll tell you everything you need to know.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
got it. well, the phone booted up but everything is centered.. here's a screenshot

and there's a problem.. i can't pull down the status bar.. here's a video
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Sorry but I've had a bit of bad news offline and I might not be able to do much xda stuff for a few days, at least until after I attend a funeral on Wednesday.

The good news for your mod is that it worked, you were able to recompile, prepare and all that. Now we just need to work out why it didn't work out the way you wanted.

I don't know why the status bar doesn't pull down. There's nothing in the xml that can effect that, or in the compiling/preparing process. The only thing I can think of is if you didn't change your apk with a zip but used an app like ES file explorer. That can cause all sorts of unusual bugs.

But we'll get it nailed down and work out precisely what we need to do. It's just that might not be until later in the week. If I get a chance I'll look at this earlier for you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mosheg91:
Sorry to hear that.. no problem, i'll wait

btw, except that the status bar doesn't pull down, my friend want to have the all icons (battery, wifi/data, alarm clock, gps and etc) on the right, but

only

the clock on the center. also, he wants the classic order of these icons (first - battery icon/percentage - then - cellular reception (signal bars+ h+), wifi\data, alarm clock and gps and others after that)

i'll be glad if you'll manage to do that after you'll back to full activity on xda.. thanks =]
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] rastigo:
Ticklefish-Your expertize required once again

Hi Ticklefish,

Hope all is well at your end. I have another issue which requires your expertise.

I implemented Erhany's guide to move toggles below the JB date and time header.I managed to recompile without any error. However when I load the file and start phone,status bar crashes and disappears.

Am attaching my status_bar_expanded.xml and my SystemUI. Please can you have a lood and let me know.

Imp: I did copy meta_inf folder and Androidmanifest.xml to the compiled apk. It still crashed...

Hope you will find out why as you have done in the past and helped us out.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] cagkandonmez:
hi guys!

i was trying to do some changes on status_bar_tracking.xml file but i got this problem i couldn't get over with...

perhaps it would be a very tiny problem for you fellas. i also tried so many things but i just couldn't figure it out.

so question is how do i get rid of this transparency of carrier label background? here's my code from xml file:

<LinearLayout android:gravity="bottom" android:orientation="vertical" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
<com.android.systemui.statusbar.phone.CloseDragHandle android:orientation="vertical" android:id="@id/close" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="13.0dip" android:textColor="#c7c0c0" android:gravity="center" android:layout_gravity="bottom" android:id="@id/carrierLabel1" android:paddingBottom="8.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.phone.CarrierLabel2 android:textSize="13.0dip" android:textColor="#ffcbcbcb" android:id="@id/carrierLabel2" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<ImageView android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/tw_status_bar_close_on" android:scaleType="fitXY" />
</com.android.systemui.statusbar.phone.CloseDragHandle>
</com.android.systemui.statusbar.phone.TrackingView>

so if anyone knows how to deal with this, please let me know too :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] keysoh2:
Does anyone know if this method works on the US Galaxy S4?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
It certainly should. This isn't rom-specific, it's just using standard Android code.

Give it a try and see what happens. As with any mod, don't forget to backup first!

Are you still having this issue?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] keysoh2:
I can't figure out where your code goes on my status_bar.xml. I tried inserting your code and it wouldn't compile.

Is there anyway you can take a look at my status_bar.xml and guide me?

I attached the xml here.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] keysoh2:
It wouldn't compile. I got the same error as before. I will upload the entire systemui and the log file.

Thank you again for all your help :).
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Not a lot I can do with just your SystemUI.apk on its own.. If you want me to try this mod myself, I'll need your framework-res.apk.

And is this your SystemUI.apk before or after you tried centering the clock?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] keysoh2:
Edit:

NV I totally missed the last 2 lines of code when I tried to compile it.

It works!!! Thank you so much for your help.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Cool! Feel like sharing a screenshot? ;)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] keysoh2:
For sure. I also removed the am/pm, just need to adjust the blue tone to match :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Toni5830:
Hi Ticklefish,

I'm try to centre clock in status bar using your "best" method, but seems like I'm not the best themer in the world, in fact my clock is now on the left and icons on the right are "pushed" out of the screen..

I'm attaching original file and modded one, if you can please drive me to the solution :)

(they are .txt because xda doesn't want me to upload xml files)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Can you share a screenshot please?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Toni5830:
(I've been trying a lot of time, simple method worked but when i have many notifications they overlap)

ok I attached 2 screenshot (just if you want to see the original status bar :D )
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Toni5830:
What the.. :eek:

I'll study this, then I'll try to move left and right icons (I've already tried but they all were on the left :sly: )

No overlapping! You're great!

Sent from Italy using Tapatalk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] bamzzz:
Right icons overlapping if clock set to center, how to fix this? Thanks..

Sorry my bad English :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I know. :)

In your code, you had two different things with the same id. I don't think that would have made any real difference but it's worth being aware of.

I just removed the first LinearLayout inside your id/icons. Without going into a lot of boring detail, it looks like this what was causing the issue.

How did you center your clock?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Oh..that'll be because I got interrupted halfway through doing this at work. I missed part of the process. Sorry! I'll do it again tomorrow. Whoops..

And you can't have anything with an apostrophe, I'm afraid. Android thinks it's a special symbol and it gets a little confused.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
ok..thanx...can you change it to Liverpool Fans Forever???..:p thank man!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Ah, I did wonder. I can do that, but I will need to keep it from everyone back at Old Trafford..lol

You know, you could just not have any text but have the club shield as the image you pull down..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
please do that to..:)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] XclusionNL:
@Ticklefish

is it also possible to remove my clock entirely from the status bar, and thus move all remaining icons to the right? Because of the small sk17i screen I want to have my statusbar less cluttered since I already have a clock widget, and the lockscreen displays time aswell.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Removing the clock is a piece of cake. Moving everything to the right could be trickier. For that we'd need a RelativeLayout and the last time I tried that in status_bar.xml, I got a FC.

If you want a minimalistic look, it's worth looking at my earlier post in this thread. That might be what you're after.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Try this out. http://db.tt/TcvYCd7j
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] iPusak Gaoq™:
@TickleFish......

i have a suggestion (sort of a challenges :p )

Please look at the screenshot below........

would it be possible to modified/change the carrier label (mark arrow) from carrier name to Wifi AP name????

every time we connected to WiFi, the AP name will be appear automatically....if not connected then "No Internet Connection" Appear.....

it would be nice to see what AP we have connected without 3rd party apps to do it....
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Not without doing a lot of smali editing. There's nothing in SystemUI that already does that so all new code would have to be written. And I have no idea how to do that.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
Oooooooooooooooooops...........
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] iPusak Gaoq™:
:laugh: :laugh: :laugh: ....alright Moving Onnnnnn!!!! :p
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] budak_getah:
its not work..see the screenshot..i cannot push up the notification..:(

and the clock reset..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] physcodelic:
can you teach me the step to add quickpanel like serajr mod, but on gingerbread rom?

or, maybe you can release it as a mod for GB?

forgive me if I ask to much...I like his simple mod, but ICS stock still lagged like hell for long term use for me :( thats really bad sony!!

I can find quickpanel mod for GB, but they add bunch of mod (reboot power menu, brightness, etc) to it, that not really usefull. some feature conflicted too.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
This is the original thread started by lildroid about this mod: http://xdaforums.com/showthread.php?t=1289896
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] physcodelic:
Thank bro.....really appreciate that

edit:

can you explain this step number 5. Compile SystemUI with apktool, Sign it if you have modify AndroidManifest.xml. Push it into /system/app/

do I need to sign system's apk?

on the apkmanager tut somewhere, I've readed that we don't need to sign system app...
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I don't use apkmanager (oddly enough) but it's true, you don't need to sign system app's. They're already signed. You only need to do this if you modified your AndroidManifest.xml.

Tickle My Android has an option for preparing system apps once they've been compiled to make sure they're still signed and compressed correctly. I would have thought apkmanager would have something similar. If you don't do anything to a system app after compiling it and just flash it, you will bootloop your phone.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Now that's odd. I'll have a look at this when I can for you.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] whalesplaho:
OP... update tha first page with any new Mods!!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] XclusionNL:
Oh I think I said it wrong, I didn't mean moving EVERYTHING to the right, I wondered if the icons that are already on the right of the middle (and thus on the left of the clock, since it's the most-right 'icon' on the statusbar) can be moved to the right, as in, fill up the space left behind when I remove the clock, or will this happen automaticly when I remove the clock... and also, how do I remove the clock, just delete the lines from the file and push it back to the phone etc?

So: notifications and stuff thats normally filled from the left can stay there, but will the standard icons like battery, wifi, alarm on/off move themselves to the right when the clock is removed?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Yes.

How's that for a simple answer? :laugh:

The icons and clock are all located within a LinearLayout which stretches the whole width of the statusbar so if you remove the clock, the icons to the left will move to fill up the empty space. Delete the battery icon and the signal icon moves to fill up that empty space and so on.

The notifications icons will stay on the left because that's the first 'child' in the layout (starting to get technical here lol) and so it will be at the beginning.

Removing the clock is simply a case of deleting the line and recompiling as normal.

So I'm saying yes to all your questions so this post can be summarised as simply..yes.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Toni5830:
Yeah, I noticed it but at the first moment I was impressed because what seemed to me a total mess was solved by you in just one try, but after all "my" code was not a total mess..:)

Sent from Italy using Tapatalk
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Oh, your code was fine. It just needed a little tweaking, that's all. You did good. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] nakula1:
Center Clock is really a 'thing' in android. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
lol It is. :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
bro what part of the tutorial is the easiest? coz i really dont understand :( im so sorry :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
There are two methods in the tutorial. The second one is the best...but it is the hardest until you've got more experience with xml. The first method is the best.

As long as you've made a backup, feel free to experiment. If it doesn't work, you can always just flash the backup. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
for instance i will use the simple method, (please read my question on the image :D )
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Image not loading. :(
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
im sorry mate. how about this
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
That line of code is the line that displays the clock. If you're using the first method, you need to make sure the clock has a layout_width of "fill_parent", not "wrap_content" and you have a gravity of "center". :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
ok thanks mate. so i will just have to put the red text above this line?

<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">

and then recompile?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Only if the line of code for the clock in your xml is the same as in the example in the op.

You need to take the clock line from your code, put it one line above the icons LinearLayout and make those little changes I mentioned.

Don't copy and paste my code, just in case your xml is different to mine.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
thank you sooooo much mate!! its working now! haha. btw, do u know how to add small AM/PM beside the clock?

what if i will use the best method:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Pictures not working again...I think it must be my work connection. I'll have a look when I'm home.

Adding am/pm beside the clock might be a smali change and I don't know much about smali yet.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
sorry again mate. how about this one
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
This is for [MENTION=4752816]darkmage17[/MENTION].

Try the zips attached to this post. If the first one doesn't work, try the second one. :good:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
To get those lines, you just need to find them in your xml.

So if you want the battery icon on the left side of the statusbar, you'd put the battery icon line where I've said that 'Here Go The Codes For The Left Side Of The Statusbar'..or however I phrased it.

Have a look at the lines of your code. Each one does something. Some might not be very obvious but most will be.. :)
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
ok isee. how about this mate
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Those lines won't be in your xml. You'll need to edit the xml and put those in yourself. :cool:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FunSucker:
[MENTION=4315551]Ticklefish[/MENTION] : Sir, can you help me to remove the battery icon and make the center clock ?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] slink722:
haha. once again, THANK YOU SO MUCH!!!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I certainly can! :)

Instructions for centering the clock are in the op. Removing your battery icon should be pretty simple. Can you share your status_bar.xml please?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FunSucker:
yeah great :D

this is my status_bar.xml sir (thanks a lot to [MENTION=3989065]serajr[/MENTION] for SystemUI v8, awesome :D )

sorry if straggly :D
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
lol [MENTION=3989065]serajr[/MENTION] is the Master! :D

To remove your battery icon, change:

<ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />

to:

<ImageView android:id="@id/battery" android:visibility="gone" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />

And that's it!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FunSucker:
thank's, sir :victory: If I want to add icon signals and carrier label (for dual sim), is that easy as well?

EDIT :

I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\apktool\systemui\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\apktool\systemui\res/layout-sw600dp
invalid resource directory name: C:\apktool\systemui\res/values-sw600dp
invalid resource directory name: C:\apktool\systemui\res/values-sw600dp-port
invalid resource directory name: C:\apktool\systemui\res/values-sw720dp
invalid resource directory name: C:\apktool\systemui\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\User\AppData\Local\Temp\AP
KTOOL3798318296657515287.tmp, -I, C:\Users\User\apktool\framework\1.apk, -S, C:\
apktool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\User\AppData\Local\Temp\APKTOOL3798318296657515287.tmp, -I, C:\Users\User\a
pktool\framework\1.apk, -S, C:\apktool\systemui\res, -M, C:\apktool\systemui\And
roidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

I get an error, sir :confused:

If I try to delete systemui \ res/drawable-sw600dp-mdpi, etc etc etc, I get the error in public.xml
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
I don't know what you mean by 'icon signals' but yeah, probably.

As for your recompiling error, what version of apktool are you using?
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] smokin901:
How about position of status bar icon like in this video

[YOUTUBE]y_fSWo2n8cU[/YOUTUBE]
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
So signal and WiFi icons on the left and battery and clock on the right?

Simple enough. It's worth thinking about where the notification icons go though..
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] FunSucker:
my device is dual sim, but my SystemUI.apk is for single sim ROM :D so, my signal bar for 2nd sim doesn't appear in the status bar, sir.

i'm using apktool v1.5.2 , sir .
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Ticklefish:
Have a look for a file called something like 'msim_status_bar.xml'.

It's worth trying the beta version of apktool 2.0. For that matter, it's worth trying Tickle My Android 8.0.. ;)

Your network signal icon and wifi icon are displayed by the same line, '@id/signal_cluster'.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] jimmy16:
Delete
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] :
[MENTION=4315551]Ticklefish[/MENTION]

Hi buddy.

I have a question...

I want hide the clock from status bar in Xperia Z lockscreen...

Is there anyway??

Thank you.