yashsingh1/xdaforums huggingface dataset:
[Android Themes] rodman01:
are you sure that you posted 2 different xml codes? Because as far as I can see the clock lines are both at the same place, right above the id ticker and below circle battery...could it be that you mixed something up? And perhaps the second linear layout below the clock line is not right :confused:

<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:clickable="false" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
[Android Themes] CodeRR:
yes i'm sure. the difference is on the secound line:

original:

<com.android.systemui.statusbar.phone.PhoneStatusB arView android:id="@id/status_bar" android:background="@drawable/status_bar_background" android:focusable="true"

mine:

<com.android.systemui.statusbar.phone.PhoneStatusB arView android:id="@id/status_bar" android:background="#00ffffff" android:focusable="true" android:fitsSystemWindows="true"

this is the only thing i changed in these two xml's
[Android Themes] rodman01:
ah ok thought you want and already tried to center the clock too :).

Is the space between b and a in the word "PhoneStatusB arView" also in your original file which you have installed? Because that wouldn't work and might be one or the mistake. Or is it only a copy error view?
[Android Themes] CodeRR:
yes this is in the stock file. i copy&paste it directly from there

edit: sorry this is a copy&paste fail. it is not in the original and not in my file.
[Android Themes] rodman01:
Try it with removing this space between the letters....with this it won't work proper....

and here are also spaces in the word, which shouldn't be there:

<com.android.systemui.statusbar.AnimatedImage[COLOR="red"]Vie w [/COLOR]android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImage[COLOR="Red"]Vie w [/COLOR]android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>

Check all lines whether there are some more such spaces and delete them..I am sure then it will work :good: :fingers-crossed:

---------- Post added at 08:20 PM ---------- Previous post was at 08:17 PM ----------

Sorry but there are a lot more such spaces in your code...would suggest to decompile the original systemui from your rom again and only do the hex code change for transparent status bar background...think this would be easier then searching and finding all mistakes in that lines :)

After getting this to work, we could try to get the center clock as well.
[Android Themes] CodeRR:
I have looked through the files again but it's nowhere these distances between the letters. Many thanks for your help. Now I use the transparent statusbar from you on my sgs1. where it works beautifully!
[Android Themes] Javier.D:
Hi, i can't compile the android.policy.jar, so please, can you make it for me with a 70 percent of transparently?, thanks, and sorry for my bad English.

PD: Here is my android.policy.jar https://mega.co.nz/#!bUERwA7Y!ieEvvdC02lyju6sHMZKpPBoqeIFhvZX6QEvpZAQp550

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] Adi Aisiteru Reborn:
THANKS to Recognized Themer [MENTION=4613083]rodman01[/MENTION] for the information about [GUIDE] Add Battery % to Statusbar !,

I've tested it on CM9/CM10/CM10.1 and it work great :),

but I've made some chnge to the xml code :), check it in here http://xdaforums.com/showthread.php?t=2356012&page=2
[Android Themes] Javier.D:
Pleaseee, I need help

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
But you can compile systemui? Because there are also changes to be made...:confused:
[Android Themes] Javier.D:
I think i can, but if i can't i'll say todo you

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
Just asking because baksmali and smali of classes.dex out from androidpolicy.jar is not that different to compiling an akp....btw can you pass me the hex code for the 70% you want?...I don't have it in my mind and then I do not need to search for it :).
[Android Themes] Javier.D:
I don't Know the conde, so you can use this that is of años 80 percent #88000000

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
And here is your modded android.policy.jar....the transparent code has to be made in systemui...
[Android Themes] jordan23945bulls:
I can't compile the android.policy.jar or system UI :/ can someone do it for me? transparent top bar, please. Also do I just push them back or flash them? I looked it doesn't say anything.
[Android Themes] MWFD:
Any way you could provide a flashable zip for the verizon galaxy s 3 running cm 10.1?
[Android Themes] girakshay:
Thanks and you've been great help. I made this mod for CM10.1 RC5 and it worked perfectly. Looks like this does not work with latest CM 10.1.2 build. Any idea as to why or something has changed.
[Android Themes] rodman01:
I did it for the latest stable 10.1.2 too and it works without problems. Only thing I do is not to change the hex code to the new one...I keep the change in drawable to #00000000 for 100% transparency and don't update the code in statusbar.xml. Think that shouldn't make a difference, it should work the one or the other way, but perhaps it helps anyways to get yours working too :).
[Android Themes] girakshay:
Thanks for the reply. So i just need to change the hex value in jar and leave SystemUI.apk untouched.
[Android Themes] Adi Aisiteru Reborn:
Oke guys, I revert back to previous transperency value for 100% Transparency

#00000000

hope it still work, but if it doesn't work to your latest CM10.1 , I will observe the PhoneStatusBar.smali for the fix ;)
[Android Themes] girakshay:
Thanks for the update. Still no luck. I m not sure where i m going wrong. Attached are the files for your reference.

Is there a guide on how to make flashable zip. I m finding it difficult and new to all this.

Appreciate your help.
[Android Themes] Javier.D:
Thanks, I used Apk manager for compile/decompile .apks, but now it doesn't works so please, can you modify my systemui?. Thanks

PD: Here is my systemui: https://mega.co.nz/#!eN8RTbiY!Kv_OPyg9PGCcYm_Tw2F4v2sqD81IAJR8lvoDBeARJiY

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] girakshay:
You can you smali tool by Rizal Lovanis. Pretty easy to use with clear instructions.
[Android Themes] Javier.D:
I have tried it, and I can decompile and modify the apk, but I can't compile it.

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
Then I think there will be a mistake in the xml...what error message is given after or during compiling?
[Android Themes] Javier.D:
It says this:

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
is the file apktool.yml in your decompiled systemui folder? Have you tried o decompile and recompile without doing a change in the files? Just to control whether it is not a tool error? Do you have the right framework-res preloaded?
[Android Themes] Javier.D:
No, because i'm using apk manager, What framework-res have I to install?, I haven't got any framework-res installer.

PD: I have install APK Multi Tool, the next version of APK Manager, and now I can't decompile apks

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
But this is what in the error message is included: apktool.yml is missing. Sorry I do not know the tool, I am using pure and simple akptool.

Have you tried to decompile the systemui and compile it again without changes? If this does not work its an error of the tool or its installation.
[Android Themes] Javier.D:
I have just tried without changes with other app, but it says this:

PD: How can I Install apk tool and how does it works?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] rodman01:
Here in first post is a good explanation how to use apktool: http://xdaforums.com/showthread.php?t=1844878

And here you will find the files and things to download what you need: http://xdaforums.com/showthread.php?t=1755243

Or search via google or here on xda there are lot of threads with Guides and Howtos
[Android Themes] Javier.D:
Ok, thanks a lot, in Spain is too late, so I'll try it tomorro, if i have any questions i'll ask you

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] jordan23945bulls:
Guessing no one would help me, loll I'll try again.

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

There a way I can get a flashable zip for this? I'm running 10.1.2 too. But its the gs3 sprint version, should t matter right?
[Android Themes] mangordi89:
I've been having trouble setting the center clock. Does anyone have a working Center Clock zip? I'm on CM 10.1 on a S3 on Sprint. Thanks in advance..
[Android Themes] girakshay:
Attached are the instructions. I've followed these and it worked for me.

You can down the tool which i mentioned earlier from

http://xdaforums.com/showpost.php?p=43353411&postcount=54

Have Fun. Let me know when you encounter errors. I'll be more than happy to assist you.
[Android Themes] gasparzim:
nvm...
[Android Themes] gasparzim:
Thanks, I was looking for this :)

Do you know why the signal is a bit disaligned?
[Android Themes] rodman01:
No sorry not sure at the Moment and cannot look on my PC but if i remember right i solved it with a negative bottom layout of a few dip

sent from on the road
[Android Themes] Adi Aisiteru Reborn:
bottom land Navbar ;)

will post guide when I already have time
[Android Themes] Rydlis:
Hi,

it's possible to make transparent Status bar only in launcher? Something like MIUI, Transparent only on homescreen, will be glad for response

Thanks :)
[Android Themes] mulbyungjahri:
Wow nice! :)
[Android Themes] Adi Aisiteru Reborn:
Bottom navbar in Landscape mode

(better for gaming) added

Thanks :)

This is not a tablet ui mod. Just change navbar position to bottom in landscape mode with normal phone ui.
[Android Themes] freemandjango:
I tried this 3 times (all %100 transparency) and all have lead to the status bar completely dissapearing. Im running CM 10.1.2 d2att on I747 (Canada). I was wondering if anyone could help.. I have included both apk and jar files, if anyone can throw some advice or compile these files it would be amazing. Thanks

EDIT: uploaded Framework
[Android Themes] girakshay:
I'll try can you provide framework-res.apk along with original android.policy.jar and SystemUI.apk
[Android Themes] freemandjango:
Yep, they are all original files, they were just renamed. Thanks
[Android Themes] mhsn7:
Great guide gan!!

looks great in my homescreen and app drawer

Just wanna ask something, another guide..

As you can see in the attachments, when the backgroud of an app is black, staturbar is black too (sure, because it is transparent). and when the app background is white, it turns white. nah, how can I change this to black too when app background's white.

one more, in CM10.1 default locker, it has a black fill. can I remove that? just make the background color to be the same as the status bar..

thanks~
[Android Themes] Adi Aisiteru Reborn:
Transparent Status bar, that's how it works :)

but if you want to change the status bar background for every holo light app to black, I don't know how to to that yet,

you can try to look on all those app in their res/values/styles.xml

for lockscreen.

Lockscreen / background / color fill

;)
[Android Themes] hashworks:
This is a problem I encountered as well, but I think the only solution would be to build the ROM by yourself and add some java code.

If you find another solution, PM me.
[Android Themes] mhsn7:
actually, I wanna ask for the details. (I'm not advance in this things). but I'll try it first.

and I'm currently read this thread from the first post, another solution in post 190. hehehe.. just make the statusbar as transparet as the lockscreen background..
[Android Themes] Neora1n:
Error to recompile systemui.apk

Hi there.

I´m trying to add the transparency to the status bar, but when I try to recompile SystemUI.apk, but apktool shows a couple of error lines:

C:\apkpool>apktool b systemui

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN

otExist: apktool.yml

at brut.androlib.Androlib.readMetaFile(Androlib.java:164)

at brut.androlib.Androlib.build(Androlib.java:183)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

at brut.apktool.Main.main(Main.java:79)

Caused by: brut.directory.PathNotExist: apktool.yml

at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:

103)

at brut.androlib.Androlib.readMetaFile(Androlib.java:160)

... 4 more

Any clues?

Thanks in advace.
[Android Themes] Adi Aisiteru Reborn:
Try decompile the apk again and recompile back without make change anything,. if you get the same error, that's mean you havn't install correct framework-res.apk :)
[Android Themes] chjpfun:
How to Transparent Contact CM10.1???
[Android Themes] rodman01:
That shouldn't cause a problem in general, but if you notice some and want to get sure, then only change the lines which has to be changed...see post 120, there I tried to explain, how I always do the mod.
[Android Themes] Neora1n:
Thanks for the help!

Thanks for the help mate.

After a lot of testing, I manage to put transparent the status bar and the clock in the center of it, but I don't like so much the fact that some apps have a white background, the status bar looks awful with that color, so I reverted everything to normal except the position of the clock.

Best regards.
[Android Themes] mulbyungjahri:
[MENTION=5204709]Adi Aisiteru Reborn[/MENTION]

On 4.3, something different? Please look into those whenever you're free. I followed your instructions, got stuck in boot animation.

Many thanks in advance!
[Android Themes] Diaz1999:
[MENTION=5204709]Adi Aisiteru Reborn[/MENTION], Asking for permission to post Transparent Lockscreen Guide to Sony Ericsson Xperia Mini, Mini Pro, Active, Ray, Live with Walkman Forum :cowboy:
[Android Themes] Adi Aisiteru Reborn:
[MENTION=5355877]mulbyungjahri[/MENTION] : no , don't try on 4.3, you must wait or I must wait senior member legend Evilisto update d mod /Java code for 4.3

no problem, go a head, share it :)
[Android Themes] DsturbD:
great guide and thanks for doing this, learning a lot

but im having this issue recompiling the classes.dex file after making the change to phonewindowmanager.smali

here's my output

java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
classout/com/android/internal/policy/impl/PhoneWindowManager.smali[8112,4] Error for input '.parameter': Invalid directive
classout/com/android/internal/policy/impl/PhoneWindowManager.smali[8112,15] mismatched input '"systemRect"' expecting END_METHOD_DIRECTIVE

saw a few pages back that someone fixed the same issue but didnt say how. something about making sure the .end mthod is there and i double checked and it is. deleted exactly what the op showed and pasted in exactly what it said to

this is what i pasted in

.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I
.registers 3
.parameter "systemRect"

.prologue
.line 3057
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemLeft:I

iput v0, p1, Landroid/graphics/Rect;->left:I

.line 3058
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemTop:I

iput v0, p1, Landroid/graphics/Rect;->top:I

.line 3059
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemRight:I

iput v0, p1, Landroid/graphics/Rect;->right:I

.line 3060
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemBottom:I

iput v0, p1, Landroid/graphics/Rect;->bottom:I

.line 3063
const/4 v0, 0x0

return v0
.end method

whats missing?
[Android Themes] rodman01:
Can you post your original method too? Just to compare them?
[Android Themes] DsturbD:
sure, sorry. i just did a clean repo sync yesterday for the tmobile S3 if that helps also

.method public getSystemDecorRectLw(Landroid/graphics/Rect;)I
.registers 3
.param p1, "systemRect" # Landroid/graphics/Rect;

.prologue
.line 3046
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemLeft:I

iput v0, p1, Landroid/graphics/Rect;->left:I

.line 3047
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemTop:I

iput v0, p1, Landroid/graphics/Rect;->top:I

.line 3048
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemRight:I

iput v0, p1, Landroid/graphics/Rect;->right:I

.line 3049
iget v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mSystemBottom:I

iput v0, p1, Landroid/graphics/Rect;->bottom:I

.line 3050
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_1b

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

.line 3052
:goto_1a
return v0

.line 3051
:cond_1b
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_26

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

goto :goto_1a

.line 3052
:cond_26
const/4 v0, 0x0

goto :goto_1a
.end method
[Android Themes] rodman01:
Checkout your 3rd line:

.param p1, "systemRect" # Landroid/graphics/Rect;

this is in your original and not, or better different, in your modded....

I suggest not to copy the whole code from adi, only do the changes inside:

delete:

.line 3050
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_1b

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mStatusBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

.line 3052
:goto_1a
return v0

.line 3051
:cond_1b
iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

if-eqz v0, :cond_26

iget-object v0, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->mNavigationBar:Landroid/view/WindowManagerPolicy$WindowState;

invoke-interface {v0}, Landroid/view/WindowManagerPolicy$WindowState;->getSurfaceLayer()I

move-result v0

goto :goto_1a

and change this:

.line 3052
:cond_26
const/4 v0, 0x0

goto :goto_1a
.end method

to:

.line 3052
const/4 v0, 0x0

return v0
.end method
[Android Themes] DsturbD:
awesome, thanks bro! that let it recompile, will continue from there and see how it works!
[Android Themes] Adi Aisiteru Reborn:
Thanks for telling this, I'll put this post in the Transparent Status Bar guide

EDIT , done :good:

http://xdaforums.com/showpost.php?p=40278450&postcount=2
[Android Themes] Xback:
Nice guide sir

Thank u:)

Btw sir can u please upload guide for adding that options means 4 tiles , 5tiles and center clock options in setting

If u can then please sir

Thank u

Keep updating:)
[Android Themes] rodman01:
Great many thanks for that tip and proposal...I already noticed that dimming too, and found it also as not such good :)....but now and if you don't mind, I will include this in my mod too... sure I will mention you in OP and give you thanks ;)...this and the wonderful transparent lockscreen from Adi (with the inspiration from Peetu20 ;) I will try soon and will release it in the next version.
[Android Themes] daxgirl:
Don't mind at all, my friend!

Go ahead and use it and enjoy it along with the people who use your mod. It really adds something, does it? All of a sudden it works on most wallpapers with translucent status bar. BTW, I also change status bar clock color to pure white and it helps alot. :) Photoshoping the battery and signal clusters to something more prominent will make it even better :)

Cheers' mate :)
[Android Themes] Adi Aisiteru Reborn:
ADDED - VERTICAL CRT OFF ANIMATION SMALI GUIDE

VERTICAL CRT OFF ANIMATION GUIDE IN POST #6

YOUTUBE PREVIEW BY ORIGINAL FOUNDER >> IN HERE <<

YOUTUBE PREVIEW BY ME >> IN HERE <<

HAVE FUN :good::laugh:
[Android Themes] geva28:
many thanks to you sir for this useful guide... :)

btw can you add transparent navbar and other lockscreen style too... :D
[Android Themes] Adi Aisiteru Reborn:
it's so complicated :(

sure I will try :)
[Android Themes] rodman01:
Hi Adi, thanks again for your Guides:good:. I am using some of them for the S1 and they are working fine. Just one question: could you point me to the right way how the statusbar in launcher or app drawer could be made to transparent too? Now it is for homescreen, which is perfet, but I ported also the transparent Trebuchet Launcher to S1 and for this Mod I would try the look and feel with transparent Statusbar in Launcher too, such like Touchwiz has. Do you have an idea and can you help me to realice that?
[Android Themes] rodman01:
Update for previous post: already working with Trebucht

Hi again, please disregard my last post, because its already working with transparent Trebuchet Launcher :) :good:. The Statusbar remains transparent....so its awesome and in my opinion great! So there is nothing to do further, then flashing the mods :). Didn't tested it before, because thought it won't work, but it does, see screenshot.
[Android Themes] Adi Aisiteru Reborn:
oke :)

keep up the good working my frend :)
[Android Themes] victorwalter:
i'm very noob and would be nice zips to flash @ cwm recovery.

thanks.

[]s

VW
[Android Themes] Adi Aisiteru Reborn:
sure :)

what mod you want ?

I'll give you the list of file CM10.1 you must upload it to me , then I'll try to make it for you :)
[Android Themes] victorwalter:
i'd like transparent lockscreen... is it possible to remove (hide) lockscreen clock too?

thanks a lot..

[]s

VW
[Android Themes] Adi Aisiteru Reborn:
oke,

upload me your CM10.1 android.policy.jar and services.jar

but sorry I cannot remove the clock
[Android Themes] Dzol Cp:
Very nice and awesome guide,,

Finally i success doing all what i failed before with your guide,,transparent statusbar,,drawable,,CRT off animation,,so great buddy!!

You have done a lot of "homework" man!!

Thanks so much for this marvelous guide :)

Keep up modding man!!
[Android Themes] harirahmat:
hey i very newbie so i dont understand the guide

can you make 50% transparent statusbar and centered clock for cm10.1 gti9300 flashable zip

please:o
[Android Themes] Adi Aisiteru Reborn:
sure

thats oke :)

upload me your systemUI.apk and android.policy.jar ,
[Android Themes] harirahmat:
this the files bro

oh ya dont forget to make restore.zip too ya bro

i'm waiting bro(di tunggu ya)
[Android Themes] Adi Aisiteru Reborn:
Sorry for late repply :) , I had a bussy in my office

here you go for you :

HariRahmat_CenterClock_50%Transparent._statbar

REMOVE_HariRahmat_CenterClock_50%Transparent._statbar
[Android Themes] harirahmat:
thank you so much bro
[Android Themes] Adi Aisiteru Reborn:
GUIDE NOW FIXED !!

It also work to, CM10 / CM10.1/ JB 4.1.1/ JB 4.1.2 / JB 4.2.1/JB 4.2.2/ JB 4.3

CREDIT & THANKS TO :

- Senior Member [MENTION=3233976]evilisto[/MENTION]

- Recognized themer [MENTION=4613083]rodman01[/MENTION]

- [MENTION=5355877]mulbyungjahri[/MENTION]

- [MENTION=4987653]BOND1987[/MENTION]
[Android Themes] vanitea:
Have you any idea to enable crt animation for stock deodex rom?
[Android Themes] Diaz1999:
Use the Tweakbox Xposed Module, work for all phone all ROMs
[Android Themes] blueren:
Link please?

Sent from a Nexus
[Android Themes] kick.apple.out:
This guy gives us tons of guide :) great master in reverse engineering :thumbup: