yashsingh1/xdaforums huggingface dataset:
[Android Themes] Javho:
hi all, anyone can help me with edditing the volume menu ? please,(appear when i upload/down the volume) i need change the background.. and all of them.Thanks in advanc
[Android Themes] cagkandonmez:
Hello guys!

First of all i appreciate the great work here, it's an amazing tut.

And it was that problem i've been given my hours to sort it out, which is apktool i used was never recompiling what i've done with systemui files. And finally found out that my computer language settings was the problem (my native lang is turkish btw), now i'm able to decompile/recompile without any issues. I heard many folks out there having the same issue i've been dealing the whole day and the way i solved this issue may help someone like me.

BUT, my newest problem is my changes in systemui doesn't effect at all... i just did every step was given at the first post precisely. And all i was doing is just trying to change clock colour (yeah i'm a noob, i need take it slow :o).

Opening tw_status_bar and changing only this line on notepad++ and saving:

android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff00ffff"

After that, i recompile systemui and when i go to dist folder, open up the apk file, every file and folder exist just the way they should be except the META-INF folder (it doesn't exist). Anyway, i push my ORIGINAL META-INF and AndroidManifest files into it while it's open as a zip file.

But, when replace it to system/app folder via root explorer and reboot, nothing happens. Just that!

Sorry if i am bored you with these noob stuffs, but any help will be appreciated.
[Android Themes] MR.Volkf:
Someone know how to make "Device name" editable in Setting/About Device like Touchwiz JB 4.2.2 on JB 4.1.2 :D
[Android Themes] bayustev:
as I aware you mention about replacing metainf from original apk...did you replace android manifest as well...then after push to system/app did you change permission to rw.r.r...as I know if you push systemui via root explorer ..after you push your systemui will force close I presume....

send from gt-s6310 custom
[Android Themes] cagkandonmez:
yes, i did replaced androidmanifest file too.

after your reply, i also did all the steps again and before i push systemui.apk in the phone, i changed permissions as r/w. throwed apk and changed back permissions as r/o.

after reboot, i had the warning "systemui has stopped".

what am i doing wrong? :)

should i change permissions as r/w after or before pushing modded apk to the phone? and should i change back permissions as r/o after replacing apk in the root?
[Android Themes] bayustev:
well if you got force close you have to change permission after you push to system/app..everytime you choose ok in force close warning..you still have time to go to system/app and change permission to rw.r.r try it ...after changing permission reboot your phone...my advice try to use adb shell from pc its much easy-to-use to push and pull system app without havong trouble force close....specially if you like to mod system app..

send from gt-s6310 custom
[Android Themes] cagkandonmez:
thanks for the tips! i finally managed to change my clock and battery stat colors now :)

except this permission stuffi i found out my main problem is that changes i made with the tw_status_bar.xml doesn't create the look i expect. because, since i have a dual-sim phone, my changes only effect in tw_status_bar_dual.xml file. what a noob i am! :eek:

i'll try to take it from here, thanks again.
[Android Themes] bayustev:
it's on framework-res..res/drawable-mdpi or hdpi or xhdpi (depends your phone) (soory but to many i don't remember all)

tw_popup_list_btn_default_holo_dark.9..tw_menu_dropdown_panel_holo_dark.9...tw_dialog_bottom_medium_dark_holo.9

(this just example for pop up menu.) i hope this will help..
[Android Themes] chleoj:
hope someone could help me fix this:fingers-crossed:
[Android Themes] FunSucker:
i have a issue with my 'Stamina Mode' on status bar . please check this pict .

C1605 Jelly Bean Stock ROM
[Android Themes] riskbaskar:
Cool...i try dis
[Android Themes] pirate11n11:
Hi, Thank you for an excellent tutorial. Found it extremely helpful to start developing/theming systemUI and contribute instead bugging the original ROM developer.

My status bar doesn't show the data connection state icons (E/3G/H/H+) if the sim state is in roaming.. It shows only R icon instead even if data is connected.

I have all necessary png icons in place in res/drawable-hdpi (other icons come from this place only). Am i missing something to be included in the xmls? Please help
[Android Themes] G.M.L:
backround

I made it to change the Status bar close on-off button know please someone can tell me which is the icon to change quick buttons backround (photo is blue) in another backround???????
[Android Themes] remuntada78:
the png are in SystemUI/res/drawable-hdpi or mdpi or other depend of your device, they are tw_quick_panel_off.9 and tw_quick_panel_on.9 or quick_panel_off.9 and quick_panel_off.9 if your devices is not touchwiz based
[Android Themes] sakshamx:
[MENTION=5064082]joehanh88[/MENTION]

Hey can u please also add a guide :D on how to add apps on status bar like this music button if possible :fingers-crossed:
[Android Themes] EDWAR60200:
Hi

I want (Tuto. nº11) to hide only the text of toggles or only the status bar of toggles (from 23toggles mod) not both or maybe both but i dont know which lines correspond status bar and which of text.

If someone know and could help.
[Android Themes] badagila:
dude

Hi do you know how to make transparent rom for gingerbread? I mean to esit frameworks and syremui? Because other guide are not working
[Android Themes] 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 :)
[Android Themes] rayman25:
Thanks

But I finally themed everything
[Android Themes] abdoel_046:
Help.. how to remove text "No notifications"?
[Android Themes] vlngu118:
Can this be used with 4.4?
[Android Themes] Madaditya:
You can refer this to understand stuff but won't be able to implement coz according to what I read,kitkat has merged its Systemui into framework and should work differently
[Android Themes] Jay_SEAN:
nice
[Android Themes] rayman25:
to change that color go to framework-res.apk and look for this file:laugh:

tw_tab_selected_bar_holo.9.png
[Android Themes] nakasani:
Hello, sir. I'm sorry for disturbing you by my question :)

thanks for your tut thread,

I'm a newbie, and I wanna ask about #12 HINT HOW TO EDIT IMAGE WITHOUT GETTING ERROR!

am I must to edit .9patch images before recompile them ? (and edit/replace another non-.9patch images after recompile)

if yes, how many .9patch images that i must edit ? only 1 enough, or all of .9patch images there ?

and how to recompile them ? by cmd apktool again ?

thanks before, your thread very help me :)

btw, while i do this

cmd: apktool if framework-res.apk

i've got installed it to C:/user/***/apktool/framework/ file named 1.apk

but when I do this

- apktool if systemUI.apk

i got nothing, not installed like that framework.

then i try to continue decompile sitemUI and got the file folder of systemUI.

Is it alright, sir ?

-------

edited.

now i can install both of them (framework-res and systemUI) correctly.

but while i decompile SystemUI.apk, there's many error there (could not decode file), look at my screenshot below, is it ok ? what its mean ?
[Android Themes] joehanh88:
sorry for all xda members that have posted questions here. I can't answer it now since my laptop is in repair service, even though, I needed to focus on my study because I'm in my final year. But I will ask for some friends to helped you guys out only if they are able to.

sorry again.

truly regards,

joehanh88
[Android Themes] nongoei:
Hi. I dont know what screenshot mean.

But if you just want to change only icon (file .png) no need to decompile systemui

just open ( not extract) systemui with 7zip, winrar or etc. then drag and drop new icon you want to replace old icon in systemui. then close 7zip.

I change any icon by this way ( app icon, signal icon, wifi icon, alarm clock icon, dialer background and etc.) :o

sorry i bad english :p
[Android Themes] FunSucker:
I have SystemUI.apk modded in my ROM, but I want to modding again. I am confused, must insert the META-INF folder and Android Manifest.xml later to the new SystemUI.apk, from stock ROM or from the previous SystemUI.apk modded? :confused:
[Android Themes] bondhanu:
From the apk that you decompiled.

Idiots worship phones like hell♡♥
[Android Themes] josalaito:
I'm using the clock center mod in my actually rom and works fine, thank you!
[Android Themes] :
Hi Bro Nice Tutorial For Theming Purposes But Just Wants To Confirm That Is It Also Important To Replace Android.manifest.xml also after Recompiling Apks.
[Android Themes] joehanh88:
yes, to sign it.
[Android Themes] zamzameir:
ohsem! marked !
[Android Themes] joehanh88:
Trimas bro! :)
[Android Themes] Cuetzpalomit:
Settings button

A few monts ago I was makeing a mod for my phone but I didn't finish. Today I tested it and the only thing that seems to be wrong is the settings button background, does anyone know how to make it black? Here is a picture:

​
[Android Themes] remuntada78:
You need to make background of the png trasparent use a image editor like paint.net or other

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] hudarsono:
HI, please help to verify :

- After we copy and paste the original META-INF and manifest to the modified apk, should we sign it using signapk.jar again?

- Whats the diff between copy and paste the META-INF & manifest onto the build folder, then recompile versus copy it directly to the apk without recompile again? As I saw that the CRC32 of the META-INF contents to be different with that different way?

Many Thanks!
[Android Themes] Ticklefish:
To answer the first part, no. You would basically be signing with the original signature then overwriting that with a new signature..lol

As for the second part, the best thing to do is to drag and drop the folder into your new apk. That way you can be sure it's compressed exactly the same way in the new apk as in the original.
[Android Themes] hudarsono:
Thank you for your feedback :)

Btw, just one more question, before we de-compile the original apk, we deodexed the apk.

I just checked that the CRC32 of META-INF changed after it is deodexed. So, should we use the non-deodexed META-INF , or the deodexed one?

My common sense say we should use the deodexed one, but just want to confirm to ensure there wont be bootloop.

Thanks again.
[Android Themes] Ticklefish:
If you're modding SystemUI.apk, you'll never bootloop. But you can still get FC's so that's just me being fussy..lol

It shouldn't actually matter which META-INF folder you use, whether it's from an odexed or a deodexed apk. For good practice you should use the folder from the actual apk that you're modding. The important thing is to ensure it's compressed exactly the same way in the new apk as the old.

Back when I used apktool to mod my apps, I made a copy of the original apk and copied over the modded files from the new one. That way, the META-INF folder wasn't touched and I never had any signature problems.
[Android Themes] hudarsono:
Many Thanks!, its all working fine :)

Just check it again that I was wrong, the META-INF CRC32 actually never changed, before and after deodexed, and regardless whether we copy directly or using recompile, its all the same.

Cheers,
[Android Themes] UnNaMeD__:
There is no tw_quick_setting_button.xml and tw_status_bar_expanded.xml in my SystemUI.apk help!
[Android Themes] remuntada78:
What is your device?if it is not touchwiz based you need to search for xml without tw

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] UnNaMeD__:
I am Micromax A110. Not touchwiz based ROM. Serached without tw still no files which such names.!
[Android Themes] remuntada78:
which is your android version?
[Android Themes] UnNaMeD__:
4.1.2
[Android Themes] remuntada78:
can you post your decompiled SystemUI?

are you sure in your SystemUI/res/layout there isn't status_bar_expanded.xml?
[Android Themes] LiquidT:
OK. I'm must be doing something wrong. I decompiled the SystemUI.apk with apktool. I'm running quantum 4.4.2 rom, just want to make some changes with it, but all the guides I see point to files I can't find. example: Locate and open res/xml. When I open the decompiled SystemUI file the only file I see is a smali, then android and com files with in the smali file. I can't even find a res file anywhere or any xml files. there all smali files. Any help please???

P.S I attached a copy of the decompile SystemUI file. This is for a att galaxy s3
[Android Themes] Vivek_Neel:
This guide is for 4.1.2
[Android Themes] UnNaMeD__:
Oh there is status_bar_expanded. But what about second file? See my decompiled systemui pls
[Android Themes] remuntada78:
you have gemini_status_bar_expanded and status_bar_expanded but no quick_setting_button.xml.

what mod did you try to do?maybe you need to add it in a folder
[Android Themes] UnNaMeD__:
I gave you that decompiled systemui from stock rom. No mods done to it.
[Android Themes] remuntada78:
Yes but why do you need quick_ settings_button.xml and status_bar_extended?

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] LiquidT:
Do you know of any 4.4 guides??
[Android Themes] UnNaMeD__:
To remove toggles text !
[Android Themes] remuntada78:
ok you need to search in toolbar_xxxx.xml instead of tw_quick_settings_button.xml, because if you look in res/drawable-hdpi the toggles are named toolbar_etc instead in other devices are named tw_quick_etc.

now i don't know which toolbar_etc.xml is exactly
[Android Themes] Ticklefish:
Did you get your SystemUI.apk from system/priv-app? Google put it in a different location for 4.4...
[Android Themes] LiquidT:
Yes. it is from the priv-app file. I'm new with all of the customizing, but I'm trying to learn it, The guides are all for something other than 4.4.x. I wish someone could show me how the 4.4 files are arranged. meaning; if i want to customize the status bar or systemUI what all samli files are needed to be changed. Like the other guides do. I don't know the flow of the files in android or 4.4 kitkat.I can find all kinds of guides for customizing other android versions. It seems that the samli files are not named the same as the older xml files. I say older because they are not that many xml file in the 4.4.2. any help you or any others can give would be great.:crying:
[Android Themes] cheverry:
Hi, i have a problem i can`t decompile SystemUi.apk of my Alcatel Ot6030a with Android 4.1.1, when I try I get the following: :crying:
[Android Themes] agismaniax:
Hi [MENTION=5064082]joehanh88[/MENTION]

I want to remove or hide 3G/G icons beside signal icons in status bars. Could you give me a direction to the right xml file?

I already use the latest GravityBox, but it can't do that. :(
[Android Themes] Ticklefish:
I don't know what Google have done with smali in 4.4. Sorry. :(

Well, you won't be able to install SystemUI.apk with apktool no matter what the rom. It's not a framework, or resource, file.

This looks a bit odd. It could be that you need slightly more up to date files. Have you tried Tickle My Android? ;)

What xml files have you got in your SystemUI.apk?
[Android Themes] agismaniax:
I'm not sure the exact xml files, but I guess the file is toolbar_sim_icon_view.xml or zzzzz_gn_toolbar_sim_icon_view.xml.

I attach all xml files in /SystemUI/res/layout and the the image files in /SystemUI/res/drawable-xhdpi. Could you help me please?
[Android Themes] Ticklefish:
Looks like you need to edit 'gemini_signal_cluster_view.xml'. :cool:
[Android Themes] jacksace:
i try guide no9.seem nothing happen. :confused:... main purpose is to make the toggle background transparent
[Android Themes] Vivek_Neel:
Try this method

1-- create two folders original and testing

2-- copy the .9.png you want to edit

3-- paste it to both folder

4-- now you have to open draw9patch

5-- drag and drop .9.png from testing folder to draw9patch

6-- remove the patches (that black lines around the .9.png)

7--now save it as .png

8--so u have converted .9.png to png (right?)

9--now open that png in gimp

10--edit it

11--after editing is complete..save it..lol

12--now open the edited .png in draw9patch

13-- also the .9.png from original in another draw9patch.

14..now look at the patches of original .9.png (that black lines which u initially removed from testing .9.png)

15..and draw exactly the patches by looking at the original .9.png in "edited png"

16-'so you have now your edited .9.png with patches and edited.

Name must be same.

Recompile

Done
[Android Themes] jacksace:
full transparent image can be use? just wondering
[Android Themes] agismaniax:
Thanks for pointing me to the right xml. :good:

I only edit two lines like these, are these sufficient? Or I just remove those two lines?

<ImageView android:id="@id/mobile_type" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/mobile_type_gemini" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />

Refer to this post I should change these lines, but they already changed in my existing SystemUI.apk but the 3G/G icons are still there. :confused:

<ImageView android:id="@id/network_type" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/network_type_gemini" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
[Android Themes] joehanh88:
yes, but do not forget the .9patches. Or you'll face hard time in recompile/decompile process.
[Android Themes] jacksace:
thanks. it work. just recoloring the 9.png will change it.. here another thing. i try to remove text on toggle. but getting blank area. the blank area will appear either w/o brightness bar enable. i follow another guide since dont want change the icon height
[Android Themes] joehanh88:
i guess, you have wrongly resize some value there. By checking the xml that you have made a change, you will found the value that you shouldn't changed. I'm positive about it. Because I can see that your toggle's shrank like it should not be. I can't say which xml is it, cause I'm barely forgot how to mod systemui myself. lol. it's quite a long time since I didn't do these things. :p

my bad!
[Android Themes] jbonetwo:
New to theming and need some help with the status bar on neatrom jb 4.3

about 75% finished but a few things are proving difficult:

1. tried changing the date text color but keep getting bootloop

changed this line:

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="@color/notification_header_date_color" android:ellipsize="marquee" android:gravity="bottom|left|center" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:singleLine="true" />

to this

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffff" android:ellipsize="marquee" android:gravity="bottom|left|center" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:singleLine="true" />

2. additionally im unable to find a few things anywhere in systemui/res

there is no "/values/colors.xml" and "/values/styles.xml" is empty:

quick settings toggles font color

Notification title font color

Notification title background color

Notification pressed color

clear button pressed font color

handle bar divider color

any help on this would be appreciated!

Screentshots:
[Android Themes] remuntada78:
for the clock text color you need to put #ffffffff not #ffffff
[Android Themes] jbonetwo:
Still getting systemui fc

changed this xml and nothing else...

<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="marquee" android:gravity="bottom|left|center" android:id="@id/date" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:layout_marginBottom="@dimen/notification_panel_header_date_margin_bottom" android:singleLine="true" />
[Android Themes] remuntada78:
can you try to post the logcat?
[Android Themes] jbonetwo:
Here you go. Its quite large as the phone kept freezing. Hope you can make sense out of it...

View attachment 2014-01-06-17-46-57.txt
[Android Themes] remuntada78:
in this logcat i can't see any errors try with this way http://xdaforums.com/showthread.php?t=2274119
[Android Themes] jbonetwo:
Tried everything but cant get adb to collect the logcat...

The device is detected fine, no firewalls running, tried both adb and 15s adb but keep getting

--waiting for device--

and nothing else...

This is without the systemui mod
[Android Themes] remuntada78:
which kernel are you using?

have you enable debug usb in developer options?
[Android Themes] jbonetwo:
Its the XXUGML2 kernel and yes usb debugging is enabled.
[Android Themes] remuntada78:
i don't think XXUGML2 is kernel go in about device and look for kernel version
[Android Themes] jbonetwo:
Well its the kernel i chose in the neatrom aroma installer.

This is what it says in about device:

Kernel Version

3.0.31-2303192

dpi@DELL338#1

Build number

XXUGML2 NeatROM Lite v6.2

Android version

4.3

Hope this helps
[Android Themes] remuntada78:
ok seems to be the stock kernel , maybe there is an option in recovery mode that disable/enable logcat,

ohh sorry ,I remembered that your device was not being recognized after adb comand so the problem is not kernel

try this way:enable debug usb then connect device whit pc the follow the guide i linked
[Android Themes] jbonetwo:
The device is recognized with adb devices

its just that adb logcat produces nothing

Looked at the rom specs again and it has kernel debugging disabled for performance.

Not sure how to enable it as its not in View attachment build.prop.txt