yashsingh1/xdaforums huggingface dataset:
[Android Themes] Logen91:
Re: [TUT][JB] HOW TO THEME SystemUI.apk for newbie!

When will you update? :)

Tapatalk 2-vel küldve az én GT-I9070-ről
[Android Themes] joehanh88:
UPDATED!

TUT 11 added.

:angel::angel::angel:

PS. : thanks to Koulis2000 because he teach me that thing actually :p
[Android Themes] Razvan:
Guys, he has some exams, let him learn to promote, or ... :D
[Android Themes] joehanh88:
actually i already updated the OP :)
[Android Themes] bobfrantic:
and now your thread is in the main theme section for android :) wtg
[Android Themes] Logen91:
I did the TUT 11, but the phone gets into bootloop :D WTF?
[Android Themes] joehanh88:
are you really sure that you have follow all steps?

have you copy and replace the meta and androidmanifest from the original apk into the build folder?
[Android Themes] Logen91:
Yes. I did 6 files continuously during the modding. The 6th including the tut 11. I installed the 6th, got bootloop. After that reinstalled the 5th and it got bootloop too. What's the next step? :D

Tapatalk 2-vel küldve az én GT-I9070-ről
[Android Themes] joehanh88:
did you have edited any of the .9patch?

have you installed framework and systemui with "apktool if" command?

did recompiling gave any error?
[Android Themes] Logen91:
.9 did not edit. They are installed too. There was only translation errors...

Tapatalk 2-vel küldve az én GT-I9070-ről
[Android Themes] joehanh88:
just ignore that translation error..its nothing actually..

weird, i dont get any bootloop while doing those TUT.. :p

there's maybe some mistake somewhere..

check your coding..
[Android Themes] Koulis2000:
So, you have the SystemUI.apk, you decompiled it, made the changes on step 11.

Now recompile it and try to decompile the new file(edited). Do you get any errors?

Most of the times I got bootloops because of compiling errors. If you get errors when decompiling the edited SystemUI.apk, that means you have problems compiling or you did something wrong. If you are sure you did everything right then try to download the latest version of apktool.

( http://apkmultitool.com/ - I use this)

And make sure that your system is deodexed.
[Android Themes] Namoi:
All is done in the layout. I will have a look if you want in mine tomorrow (no text, no tickles).

I can post a psd too with all the toggles redone (nicer IMHO) and ready to be colored the way you want.

Bump here if i forgot.
[Android Themes] hara74:
yeah m8 would be great,

but I modded my lidroid-res with different toggles already,

if you can give a "how to" to remove the text under the toggles and maybe to get the toggles a little bit more down,

that would be really great

psd? but yes I want ;)

here´s my themed systemui and lidroid-res
[Android Themes] Namoi:
Nice design even if i am more AOSP ;) hence my psd follow that line, but i can post it anyway.

For the layout i will have a look, but mine is for sgs2 so the margin dip will probably have to be changed a little for you, nothing fancy though.

Again, bump here tomorrow (gmt +1 here) if no news.

Edit: your png toggles will have to me modified as they are designed to allow the text to be "inside" them.

Without the source psd it will be tricky.
[Android Themes] hara74:
ok, thanks again

I look into my toggles if u post ur stuff tomorrow ;)

so, now it´s time to look a movie with my girlfriend :D

the new "Man of Steel"

c u tomorrow

bye and greetings

hara
[Android Themes] dehosti:
deleted
[Android Themes] Namoi:
Well enjoy and tell us if it is better than the one with C.R... I still remember this old fashioned one, but Gene wad an amazing Lutor, which is missing in that "reboot :D
[Android Themes] Sami Kabir:
I have a very weird bug with the Settings icon on the Notification Bar Header... the icon seems to randomly change its position and therefore sometimes only half of the icon is seen and sometimes the icon completely disappears.. the bug is only seen in DULP8 firmware and not any other firmwares - so how can I fix it on DULP8 firmware's SystemUI (as my ROM is built using this firmware)... And yes I did not change any xml or code that could have resulted in this... more @ my attached screenshot...
[Android Themes] muop_92:
I removed the text by set them transparent and modified the bottom padding. That is the idea but i can not remember how because i had tried alot of things to get the result @@

---------- Post added at 02:21 PM ---------- Previous post was at 02:15 PM ----------

I also have that in CM rom. Try disable ap/pm in the clock?
[Android Themes] Namoi:
OK, the layout of the toggles is set in power_widget_button.xml

Here is my code

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:orientation="vertical" android:id="@id/power_widget_button" android:background="@drawable/stat_power_bg" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="76.0dip" android:layout_weight="1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_image" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="2.669983dip" />
<TextView android:textSize="0.0dip" android:textStyle="normal" android:textColor="@color/power_widget_button_text" android:gravity="center_horizontal" android:layout_gravity="center_horizontal" android:id="@id/power_widget_button_text" android:paddingTop="46.669983dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/power_widget_button_indic" android:paddingLeft="2.3299866dip" android:paddingRight="2.3299866dip" android:layout_width="fill_parent" android:layout_height="5.3299866dip" android:layout_marginBottom="4.5dip" android:scaleType="fitXY" />
</FrameLayout>

1.

id/power_widget_button is the main Widget. In here you can change the background of the toggles by modifying the stat_power_bg.png.

Also the android:layout_height defines the height of the widget.

2.

After we have id/power_widget_button_image. This one is the actual icon of the toggles. But you can change nothing in here except the top or bottom margin. I wouldn't change them.

3.

Next we have id/power_widget_button_text : this is the text themself. You can change the color by playing with the android:textColor parameter, the location relative to the top by playing with android:paddingTop, the size by playing with android:textSize.

If you want no text, just put android:textSize="0.0dip".

4.

And finally the tickers : id/power_widget_button_indic. You can change their apparance by modifying 3 pngs :

stat_bg_ing.png

stat_bg_on.png

stat_bg_off.png

Or make them invisible by just make them transparent. Maybe an android:visibility="gone" could do the trick too.

That's it.

My PSD in attachement. It has Layer Slices already defined with the correct names for the toggles. Just hide the backrounds (Go to Layer Comps) and save for web (choose user defined slices). It will create all the toggles with the correct name automatically.

Enjoy
[Android Themes] hara74:
@ Namoi

thanks a lot buddy :thumbup:

will give it a shot this afternoon,

starting with a new theme :D

ps by the way "Man of Steel" isn't the over burner but a pretty cool movie ;)

sent from my G-Note
[Android Themes] hara74:
sorry, I don´t understand that exactly,

what is the psd for, and how I can open that file :confused:
[Android Themes] Namoi:
This the Photoshop file contening the icons (AOSP Look). So you need Photoshop.

But you don't need this for your mod. It is just in case you would want to design new toggle button...
[Android Themes] hara74:
ah, ok

thanks

starting with with new theme now :fingers-crossed:
[Android Themes] hara74:
hey m8,

I get it to work :D

sent from my G-Note
[Android Themes] Kamy:
Nice work buddy. Great progress in theme development. And of course thanks Naomi.
[Android Themes] ch3mistry2222:
Hey guys, could you guys tell be how to make transparent status bar?

For an example

Gửi từ GALAXY SIV I9500 của tôi sử dụng TAPATALK 2
[Android Themes] Sami Kabir:
TouchWiz right? then follow this:

- Decompile your SystemUI.apk and go to res\values folder

- Open drawables.xml with Notepad++

- Find <item type="drawable" name="status_bar_background">

- Then look at the color value, for e.g mine is "#ff040404"

- Change it to any color code you like - for e.g full transparency is "#00000000"
[Android Themes] hara74:
my problem with lidroid-res.apk are gone after following this guide

http://xdaforums.com/showthread.php?p=31991217

if anyone wants to know ;)

sent from my G-Note
[Android Themes] Sami Kabir:
1. How to change the color of the text of "Mute, Vibrate and Sound" at the bottom of the Power Menu?

2. How to change the color of the volume bar from blue to any color I want?
[Android Themes] Kamy:
Hey dear,

did you compile lindroid as system file or non-system file? I cannot compile it as system file :(

I need ti change the text color to black.
[Android Themes] Kamy:
was trying with another command which was quoted in your given link but no success. By your command installed it successfully. I use multi apk and don't use apktool.bat directly. However I managed to install it. Thanks again :thumbup:
[Android Themes] hara74:
good to hear ;)

sent from my G-Note
[Android Themes] Sami Kabir:
I don't have any "drawable-sw360dp-hdpi " but instead I have drawable-sw320dp-hdpi but I didn't find what I was looking for :p Anyways I Googled a bit but the instructions given in many webpages and thread did not work for me..

[OT]

This is my 999th post, hurray :D :p
[Android Themes] hara74:
then look for scrubber,

open res folder and type scrubber in the search field of windows and u will see all things what u need, I hope ;)

sent from my G-Note
[Android Themes] Davisk8:
Very Useful

Thanks Man! :D
[Android Themes] Javho:
Anyone know thw method for eraser the toogle buttons?

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Android Themes] Namoi:
Sorry mate, but what you are asking is unclear. Screenshot would help or try to reformulate.
[Android Themes] Javho:
I need eraser the toogle buttons (WiFi,gps,bluetooh....etc) of notificación bar

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Android Themes] Namoi:
You don't want the icons in the statusbar ?

Because you speek of toggles which is not the same.

So : Screenshot please if you want help.
[Android Themes] Javho:
The icons of wifi vibrator ...etc this icons i need eraser

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Android Themes] Namoi:
What you are showing is the toggles.

I don't know which rom you use, so i can't help... but the look of these seems to me AOSP/AOKP or CM themed.

They should be configurable through settings.

Write in your own language (i have some skills) and put the translation as we are on an english board.

Whish rom are you on?

Whish device?
[Android Themes] Javho:
my device is galaxy s advance, and the rom is stock but with the 15 toogles mod, but if i eraser all toogles of the mod black is a line where they should go, and i don't know how to eraser this black line the original look of status bar is this

and and I'm looking to achieve the status bar look like jelly bean original
[Android Themes] Namoi:
Ok, you want to remove ALL the toggles and don't have the black line where they should be... isn't it?

Send me your tw_status_bar_expanded.xml
[Android Themes] Javho:
here's the link http://d-h.st/7pX , thx for your help :D
[Android Themes] Namoi:
So press the "thanks" button ;)

I will have a look tomorrow.
[Android Themes] Namoi:
@Javho

Try this modded xml inside the zip. I just added

android:visibility="gone"

and

android:layout_width="0.0dip" android:layout_height="0.0dip"

to the layout of your toggles. It should work.

Cheers
[Android Themes] Javho:
Thx for evrething :D i try in a par of minutes and i tell you

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Android Themes] Javho:
yes yes yes yes yes you got it !!! thx really thx for evrething man :D really works :D

now you you could finish explaining me about things when editing certain things? please

what is circled in red locked I need to remove

AND

which is enclosed in green locked what I need I need to change color or background to make it so

thx for your help :D
[Android Themes] Namoi:
Well mate you know how to do the hardest : decompiling and compiling.

The rest is much more easy ;)

The first you ask, i will see tomorrow : it is a png somewhere.

The second is much harder as it deals with smalis AND png on Sammy roms.

See ya tomorrow
[Android Themes] Javho:
matt good I managed with what you explained and succeed in eliminating the text of active applications and when there are no notifications, now I can only change two things

and the first and urges me most is to change what is enclosed in green

so it looks like the notifications of the image here below

the second thing I want to change is to write 100% black bar that is enclosed in blue in the image, because when I have notifications under it it shows a line with dark blue
[Android Themes] amitnv:
Just a small advice-

The OP is filled with emoticons/Smiley's

Like:p :D and:) please leave a space like this : p it will be automatically corrected..
[Android Themes] joehanh88:
only if you are viewing with an app like xda app or tapatalk, it will be like that..LOL..

=)
[Android Themes] Namoi:
Iam sorry, I don't understand the first and the second request. Be more precise please. And for the second request a screenshot with the "blue line" would help.
[Android Themes] Javho:
at the first point I ask is the how to change notifications (enclosed in green) so they are like photo of the original jelly bean .

The second point is to write what is circled in blue fully black, I attached a picture of how it looks below the blue line below that rectangle

thx for your time :D

---------- Post added at 04:54 PM ---------- Previous post was at 04:45 PM ----------

In between the red lines you can see the blue line, which is repeated after each new notification (I think of it as a separator between notifications)

Enviado desde mi GT-I9070 usando Tapatalk 4 Beta
[Android Themes] Namoi:
Sorry very busy right now.

For the notifications i don't know. The one you show look as mine and i am on stock sgs2 rom.

The two lines you are speaking are located before and after the quick settings widget.

Look for imageview.

Delete those two layouts and you should get rid of them.
[Android Themes] Javho:
thanks for the reply, I succeed in making everything but change the background of the notice :/
[Android Themes] Namoi:
Almost sure this one is in the Smali.
[Android Themes] Javho:
How in the smali ?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] Namoi:
Look this guide. Go the 5th part. Hope it helps.

http://xdaforums.com/showthread.php?t=2078585
[Android Themes] Sami Kabir:
(TWO QUESTIONS)

- There is a problem I've been facing for a few days now.. no matter what .apk I edit, I always get the same error.. its related with Public.xml and it keeps telling me "public symbol declared here is not defined".. I also tried decompiling a stock .apk and recompiling it without modifying it and I still get the error.. what can I do??

- When we pull down the Notification Bar, we see a "Scrolling Animation" of all the toggles - if you understood what I meant.. do you know how to disable it?
[Android Themes] IND190:
You can remove the public.xml
[Android Themes] Sami Kabir:
Something else is wrong here.. I tried doing that and I got another error saying that the xml files in drawable folder can't find any of the image files in drawable-hdpi.... As if apktool cannot find my drawable-hdpi folder or something... :eek::eek::eek:

I have reinstalled apktool and my framework-res.apk (using the "if" command) but still couldn't fix the problem...
[Android Themes] Namoi:
Are you using latest apktool (1.5.2) and latest aapt.exe ?

Could you also try to put all your files (apktool.bat and jar + aapt.exe and your apk) in C:\apktool (to avoid potential folder naming problems). Decompile from here and try to recompile.

Just a "worth a try" as i never faced that problem before...

PS: is your error a true error (E : in the log ) or just a warning (W : in the log) ?
[Android Themes] Javho:
Hi Namoi you know how to dessable the scroll animation of toggles ?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Android Themes] Namoi:
You should ask Goldieking. ASFAIR he introduced an option in the next Alliance ROM update (i think i read this on his thread.

Cheers

---------- Post added at 11:11 PM ---------- Previous post was at 11:05 PM ----------

Hi,

TBH i don't know.

Try first to delete public.xml, it will be recreated at compile time.

PS:

You had no error when decompiling?

Did you try to recompile without any changes at all (i think you did but not totally sure).

Are you sure your 9.png are properly edited (decompiled before editing) ?
[Android Themes] Sami Kabir:
- Another user told me to do the same thing (i.e delete public.xml), i did that and then I got some other error telling me that the png files mentioned in the xml files (in drawable folder) does not exist... even though they do exist :eek:

- I didn't get any errors while decompiling

- I have already tried recompiling without performing any changes to the .apk

- Yep the .9.png files are properly edited - but I am rechecking them again
[Android Themes] Namoi:
Yeah, in theory it is better not to delete public.xml... but well, worth a try.

Upload your framework, your original apk and your modded one. If you want of course.

I will see if i can compile it from my side.

But tomorrow : time to sleep here ;)
[Android Themes] kicolik:
:eek:

great job.....like a boss ;)
[Android Themes] galaxyfitankit:
Followed the tutorial did all the changes needed but when I use the systemui. Apk from dist folder and replace it with my old one with root Explorer and give proper permission I lose status bar and system ui failed msg comes when I switch off and reboot after wiping everything I get boot loops?? Any mistake in doing bro
[Android Themes] Javho:
[MENTION=4296852]Namoi[/MENTION] Might tu me how to change the icon size of the notifications? please

I mean what is circled in red
[Android Themes] Namoi:
Hi mate,

Not totally sure, but AFAIR this one is smali coded.

Will see om Monday : no coding for me on WE due to my Woman Factor, if you know what i mean ;)
[Android Themes] Sami Kabir:
As far as I think, you did some mistake while editing any xml or smali file(s).. please recheck all your edited files and try one "editing" at a time so that you can easily find where the mistake was made earlier..
[Android Themes] galaxyfitankit:
help

Can we directly replace the system ui. Apk in dist folder or we have to make zip
[Android Themes] Sami Kabir:
You can directly replace it... just use any Root Browser and go to System > app and place your modded SystemUI.apk there... but keep a backup or nandroid copy of all system files incase you get into a bootloop ;)
[Android Themes] galaxyfitankit:
Thanx a lot bro... Actually mostly I edited xml only png i edited was battery icon of which I replaced around 17 png of one apk to the moded one same way copy n replace... I think there must b some file error... Thanx again bro :) waiting for sami rom:)
[Android Themes] Toni5830:
Bump.. I'd like to remove it too.

After editing the apk and after compiling it did you sign it? The method I use is very simple: open both apks (original and modded) using 7-zip and copy meta-inf folder and androidmanifest.xml from original apk to modded one.. will work..I do this every time :)

Inviato con Tapatalk 2 dal telefono di casa
[Android Themes] galaxyfitankit:
OK bro... Thanx s lot will do that I put meta inf and manifest in build apk and than recompile systemui and than take systemui.apk from dist folder... Will try your method Thanx a lot bro
[Android Themes] Toni5830:
No..recompile it and then put meta-inf and androidmanifest.xml in the apk you find in dist folder, using 7-zip (open apk as a zip file)

Inviato con Tapatalk 2 dal telefono di casa
[Android Themes] galaxyfitankit:
Do I have to recompile after every edit like after I have changed icons in drawable hdpi than recompile edit tw_status bar header recompile or only after editing everything like xml and png? Thanx in advance
[Android Themes] Vivek_Neel:
Do all the editings and finally recompile it
[Android Themes] galaxyfitankit:
Thanx a lot bro... But Don't know bro... Whatever I do I get boot loops or no status bar at all
[Android Themes] Vivek_Neel:
Don't push the apk manually..:)

Make a flashable zip and flash it through recovery to avoid such problems..

Edit:;

http://xdaforums.com/showthread.php?t=2163974
[Android Themes] galaxyfitankit:
Thanx a lot bro

Thanx a lot bro... Now I think my phone won't go into boot loop... Thanx a lot for guidance bro
[Android Themes] Toni5830:
If you are editing systemUI.apk your phone can't go into bootloop! Are you trying to edit something else??

Inviato con Tapatalk 2 dal telefono di casa
[Android Themes] galaxyfitankit:
System ui. Apk... When I replace it and change permission msg comes system ui failed and I lose status bar and wallpaper and than I switch off phone and wipe cache n dalvik my phone goes into boot loop. :(

---------- Post added at 10:54 PM ---------- Previous post was at 10:53 PM ----------

Made a zip file flashed it... Flash successful but nothing changed :mad:
[Android Themes] Namoi:
What phone? Galaxy s2 or another samsung device with a preload partition?

In this devices, system/app contains only the symlinks. The actual app are in preload (except framework of course).

So if you push systemui there, it would explain your bootloop.
[Android Themes] galaxyfitankit:
Samsung s advance i9070
[Android Themes] Toni5830:
Try not to wipe dalvik cache.. just a normal reboot..

Is your rom deodexed??

Inviato con Tapatalk 2 dal telefono di casa
[Android Themes] galaxyfitankit:
Thanx bro

Deodexed bro... Rom tool box works but after I change icon n boot nothing changes.. With rom tool box also same complain.... Without wiping cache bro no difference.Thanx a lot bro for sparing your time for my noob queries
[Android Themes] Namoi:
But do you know if your app are symlinked to the preload partition?
[Android Themes] galaxyfitankit:
hi

Yup symlinked but system ui. Apk not there bro...? Only apps like music phone sky type
[Android Themes] Namoi:
Well, if it is the case the problem doesn't come from this.
[Android Themes] galaxyfitankit:
Hmm... I think I need a sleep something in doing wrong... Tomorrow will do fresh start. :) :)
[Android Themes] Namoi:
Hum, maybe you could first decompile then recompile without a change and push. Just to see...
[Android Themes] galaxyfitankit:
good one

Hmm that's better idea to know what's the fault bro....
[Android Themes] Namoi:
Well, do this and report; if it works, we will have to check what you modded, step by step, to narrow the problem.
[Android Themes] galaxyfitankit:
Thanx a lot bro for helping me out... After work I'll work on it and report to you asap
[Android Themes] galaxyfitankit:
help needed

OK bro here's what I did recompiled and decompile without any changes flashed the zip nothing changed it remained same as it was before flashing also when manually changed the systemui.apk same systemui error and wallpaper lost and when restart get boot loops... Also one more thing I noticed my original system ui. Apk is 2. 95mb while the one I decompile and recompiled without any change is 3.04mb...?what's the problem bro?
[Android Themes] Namoi:
When you have recompiled, you need to rename as a zip your apk and open using 7zip (not extract) and replace manifest and meta inf by the original ones (just drag and drop)

After rename back to apk then push.

And also never sign a system app.
[Android Themes] galaxyfitankit:
found this link

www.droidrzr.com/index.php/topic/18870-how-to-begin-making-themes/

www.virtuous-ten-studio.com/ this tool is very easy to use for theming
[Android Themes] shaikhsumair99:
Ya bro I also use this for decompiling and compiling and it has many other theming feature with deodexer.