yashsingh1/xdaforums huggingface dataset:
[Android Themes] remuntada78:
Then you need to entry in recovery mode and search for a option to enable log, i'm with apolo kernel and this option is in apolo extras

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] pooyaaaaa:
H!

TNX BRO :highfive:
[Android Themes] JFam5:
Nice guide when we dont want to use xposed. Thanks!
[Android Themes] andrewwright:
Thanks for the guide :thumbup:
[Android Themes] :
Best Theming Guide Ever .... Unique Guide....Very Helpful.....
[Android Themes] Servine:
Thanks for the guide. Sorry for asking, but how can I completely hide whole quick settings toggles :confused: ? thanks
[Android Themes] Ticklefish:
Can you share a screenshot of what you want to hide please?
[Android Themes] joehanh88:
well, i guess your meant is the quick setting toggles which is the wifi, bluetooth, etc.

if i'm correct, then my opinion is you go to two xml :-

1) dimens.xml

2) tw_quick_setting_button.xml (if your device is TW'ed, if not try to find the xml with similar name).

change :-

-dimens.xml

<dimen name="quick_setting_button_height">[COLOR="red"]80.0dip[/COLOR]</dimen>
<dimen name="quick_setting_button_image_height">[COLOR="Red"]90.0dip[/COLOR]</dimen>
<dimen name="quick_setting_button_text_height">[COLOR="red"]80.0dip[/COLOR]</dimen>
<dimen name="quick_setting_button_text_size">[COLOR="red"]6.0dip[/COLOR]</dimen>
<dimen name="quick_setting_button_status_height">[COLOR="red"]800.0dip[/COLOR]</dimen>

all dimension to "0.0dip".

-tw_quick_setting_button.xml

find lines that have name height to "0.0dip".

or you can do the hide code, that is you need to add lines to the xml, which im not prefer :p

try, and let us know the result.
[Android Themes] :
Req.

Hey can you provide us the guide to make status bar transparent in lockscreen and launcher (as normal,i know tat) but BLACK on launching other apps??

As status bar background camouflages with the app background and there's difficulties to see status bar icons...

If any guide on that, give me link!! I cnt find any tut on tat!!
[Android Themes] reper0918:
Where can i edit this?i want to remove and change to "notification" txt...?thnx in advance for someone who reply ^_^
[Android Themes] Ticklefish:
That's probably in either status_bar_expanded.xml or status_bar_expanded_header.xml
[Android Themes] Servine:
tried it and it's still the same, also, it looks somewhat like this
[Android Themes] Toni5830:
Open dimens.xml and set

quick_setting_panel_height

to 0.0dpi

Sent from Italy using Tapatalk

Edit: oh, sorry didn't notice previous answer :/
[Android Themes] Servine:
sorry, it's still the same.

PS: I'm using samsung galaxy win with 4.1.2 stock deodexed rom

Also, my phone is dual-sim, will there be differences?
[Android Themes] joehanh88:
try to fix in "tw_quick_setting_button.xml".

change all height to 0.0dip.

of not to to put android:visibility="gone" at the first line anywhere after <LinearLayout

hope this'll fix it.
[Android Themes] Servine:
still the same :crying:, also, I've attached original apk along with modded apk if you wanna see
[Android Themes] joehanh88:
i do not have my laptop with me right now. I'm sorry, my laptop still in repair service. They did not call me yet, it's been past 2 month. I will screw them if the count become 3. =,= !
[Android Themes] Vivek_Neel:
Mobile apktool:thumbup:
[Android Themes] Servine:
hope you get it back soon ;). Thanks a lot for helping me
[Android Themes] remuntada78:
try this, in res/layout/tw_status_bar_expanded.xml remove this lines

<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
[Android Themes] Servine:
sorry, it's still the same. btw, what can cause this?

PS: sorry for late reply
[Android Themes] Zoja:
Thanks, very helpful! :D
[Android Themes] chabasse:
Hello.. I'm reading, reading and reading... and nothing.. On xda and youtube and other places are many tuts, but I can not make any changes in my device. I just want to change icons in quick toggles panel (wifi, bluetooth etc..) I replaced the pngs in decompiled SystemUi.apk (then recompiled) but when I push it to system/apps via file xplore(with root acces) it gives me reboot and nothing is changed. I followed this tutorial, decompiled, edited, recompiled, copied manifests, meta inf s.. But I don't know what I'm doing wrong.. It doesn't work for me.. I'm frustrated yet. Rom is rooted, deodexed, stock based(android 4.3). I don't want to give up... I want to change only few icons..
[Android Themes] remuntada78:
Have you already set permission in with root explore? Another way is take SystemUI.apk and open it with 7zip going in the folder where are the png and replace them with yours.then put SystemUI.apk in the device with root explorer and give it the right permission.

When you want replace normal png this is a different way

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] chabasse:
Thanks for replaying so quickly.. And yes.. I set permissions.. And the other way with 7zip i tried also with the same result.. nothing changed.. :(

Hmm it's strange.. Few minutes ago I tried to do the same things on my other device (galaxy s4 9505) and it wrorks.. Very weird..!! So what is the reason that for my Tab (galaxy note 10.1 2014 p605 lte) it doesn;t work...??? Both rooted.. 4.3 stock based..

Ok. Nevermind. Someone else from my local formu helped me. Big Thanks to Slaweczek from Poland!!!
[Android Themes] remuntada78:
Try in this way:decompile your apk , make the mod you want, compile apk and take it in dist folder and put it in your device

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] Ticklefish:
Have you tried recompiling without copying over the AndroidManifest?
[Android Themes] XxTeXx07xX:
i doing it the exact way this guide is doing it. theres a build folder not a dist folder.....

ticklefish...

i have try both with original and non-original manifest
[Android Themes] remuntada78:
are you using apktool 1.5.2? if yes thesn dist folder there should be in your C:\AAPKTOOL\apktool\Systemui after recompiled
[Android Themes] XxTeXx07xX:
yes 1.5.2 exactly... the link given in this guide there is absolutely no dist file after i try to recompile. only folder that i get is the build folder. there is no dist folder what so ever. What can be wrong ?? Im am totally lost.... I have seen the dist folder before when trying to decompile but there is not one now using these exact directions giving in this guide. Please help me

I am using windows 7 just for fuether info if it helps any
[Android Themes] remuntada78:
you don't have dist foldee because the recompilation has not finished the error is in red part

C:\AAPKTOOL>apktool b SystemUI

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

C:\AAPKTOOL\SystemUI\AndroidManifest.xml:1: error: Error parsing XML: not well-f

ormed (invalid token)

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 18, --target-sdk-version, 18, -F, C:\Users\LARRY\AppData\Local\Temp

\APKTOOL8042834928352168015.tmp, -0, arsc, -I, C:\Users\LARRY\apktool\framework\

1.apk, -S, C:\AAPKTOOL\SystemUI\res, -M, C:\AAPKTOOL\SystemUI\AndroidManifest.xm

l]

are you make modifications in this file?
[Android Themes] XxTeXx07xX:
nope never have touched the androidmanfest.xml ever..... Should i build the apk then replace the androidmanifest and META file and build again?? cause thats what i am doing. Just like the guide explains.... i even tried just decompiling and instantly recompiling it and the same thing happens. Im really stuck... I really appreciate your help and i hope we can work this out thank you very much. What can I do or try?? Any info is very useful
[Android Themes] Ticklefish:
You don't need to touch the Manifest..

Hmm..

I hate to sound like someone just advertising his own works but it's worth looking at Tickle My Android. It will do all the decompiling and recompiling for you.
[Android Themes] XxTeXx07xX:
just finished downloading it i will report back in just a few mins... :)

still unsuccessful...... darn it
[Android Themes] Ticklefish:
Well, it's always possible the apks themselves are at fault. Can you share your files please? I'll have a look at it for you.
[Android Themes] XxTeXx07xX:
sure thing

here is my systemui.apk... this is the exact file im trying to mod.... its 4.3 MK3 SPH-L710 rooted/deodexed rom by Cnexus. do you need any other file?? More then happen to provide :) thank you :)
[Android Themes] Ticklefish:
Thanks, I'll need your framework-res.apk as well.
[Android Themes] XxTeXx07xX:
framework

sorry been tryin for like 10 mins to get them up.......

i knew you needed em :)
[Android Themes] XxTeXx07xX:
think framework-res is to big or sumthing so i used my dropbox :)

www.dropbox.com/s/8dub852ix6oyihh/framework-res.ziphttp://www.dropbox.com/s/8dub852ix6oyihh/framework-res.zip
[Android Themes] XxTeXx07xX:
wow check this out

found a guide on errors when you compile systemui.apk and it said to add a + sign in front of the style errors and it worked! now im getting only this when compiling systemui.apk....

C:\AAPKTOOL>apktool b SystemUI

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

C:\AAPKTOOL\SystemUI\res\layout\system_bar_settings_view.xml:33: error: Error: N

o resource found that matches the given name (at 'style' with value [MENTION=262514]style[/MENTION]/Syst

emBarPanelSettingsRow').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 18, --target-sdk-version, 18, -F, C:\Users\LARRY\AppData\Local\Temp

\APKTOOL7083248451530275463.tmp, -0, arsc, -I, C:\Users\LARRY\apktool\framework\

1.apk, -S, C:\AAPKTOOL\SystemUI\res, -M, C:\AAPKTOOL\SystemUI\AndroidManifest.xm

l]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

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

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.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [aapt, p, --min-sdk-version, 18, --target-sdk-version, 18, -F, C:

\Users\LARRY\AppData\Local\Temp\APKTOOL7083248451530275463.tmp, -0, arsc, -I, C:

\Users\LARRY\apktool\framework\1.apk, -S, C:\AAPKTOOL\SystemUI\res, -M, C:\AAPKT

OOL\SystemUI\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd

k-version, 18, --target-sdk-version, 18, -F, C:\Users\LARRY\AppData\Local\Temp\A

PKTOOL7083248451530275463.tmp, -0, arsc, -I, C:\Users\LARRY\apktool\framework\1.

apk, -S, C:\AAPKTOOL\SystemUI\res, -M, C:\AAPKTOOL\SystemUI\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:355)

... 6 more

C:\AAPKTOOL>

Any help is very appreciated... i see another style blah blah blah error in tht. all i did was add the + in front of [MENTION=262514]style[/MENTION] blah blah blah on line blah using notepad++ and them style errors have gone away. But this is what im left with. PLEASE N THANK YOU
[Android Themes] Madaditya:
Show us contents on line no 33 in this xml

\SystemUI\res\layout\system_bar_setting s_view.xml:33

Before and after Editing.may be can help
[Android Themes] Ticklefish:
Since it's only the one error now, you could just edit styles.xml and create the missing style yourself. If you don't use the systembar, it doesn't matter what the style is just as long as there is one.
[Android Themes] evrkusd:
Awesome tutorial, it's really helpful! I'm working on something a little different so it's not covered by your tut. I'm building a ROM with the notification panel pull down completely disabled.

Any ideas how I can do this starting with this tutorial? I have a decompiled SystemUI.apk that I've been looking through, but I'm not sure exactly how to totally remove this pull-down function. I know I could probably just remove the toggles/notifications to create a blank panel, but I would rather just completely remove the pull down ability. Any idea what I can alter to remove this functionality? Maybe something in tw_status_bar_expanded.xml?

edit: btw I'm working on a galaxy tab 2 (4.1.2). right now it's odexed, but I'm assuming I can just rdeodexif that is a problem, right?
[Android Themes] Ticklefish:
Hmm..you'd probably need to edit some smali to switch the pull down function off. Exactly how you'd edit the smali, I don't know.

There might be a way to cheat and do it in xml though. Why do you want to get rid of the expanded screen?
[Android Themes] evrkusd:
Yeah, I'm happy if I can do it with an xml cheat - probably much easier.

I'm trying to disallow the expanded screen because the people who are using the tablet are only supposed to be able to do certain activities on the tablet. They aren't allowed to change system settings or anything like that. Do you think it would make more sense just to hide these settings rather than dealing with trying to remove the pull-down function?

Also, do I definitely need to deodex to modify the systemui.apk? I'm playing around with your TMA in case I need to :)
[Android Themes] Ticklefish:
Personally, I'd just remove the settings options from the pull-down menu. That way, your users can still access their notifications and all that.

But it's up to you.

If you want to stop people from pulling down the expanded screen, you could put an invisible button in the statusbar. Or even an invisible softkey. Make it the width and height of the statusbar and any attempts to pull the expanded screen down will just be interpreted as a press of the button.

Oh, and if you're planning to change your smali then you will need a deodexed apk. But you won't if you're not.
[Android Themes] evrkusd:
Thanks for all the great info :highfive: Not sure how to even begin building an invisible button, but I'll look into it. Maybe I'll start with just removing all of the toggles and other info we're trying to hide, so I don't have to deal with deodexing at the least.

What if, rather than making an invisible button, I made the size of the notification bar much smaller? Or the size of the panel? Just throwing out ideas here.. maybe they are crazy :p
[Android Themes] Ticklefish:
Well, I'm happy to help if you want. ;)

Oh, and you won't need to deodex to make an invisible button. It's a very simple bit of xml.
[Android Themes] evrkusd:
Thanks, that's awesome. Any tips you can give on the invisible button xml to cover the notification bar would be really great - thanks for the offer to help with this :victory:
[Android Themes] joehanh88:
i've tried before to removed the status bar, but seems failed. it always crash. but if someone know how to remove it successfully, it would be great things. and i can put it at my tut collection. :D
[Android Themes] remuntada78:
if it could be of interest to someone http://xdaforums.com/showpost.php?p=49884487&postcount=1964
[Android Themes] joehanh88:
i can put this to my op i guess :D

thanks!
[Android Themes] remuntada78:
Yes of course:thumbup:

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Android Themes] evrkusd:
Wow, very cool, thanks! I'll try it out and let you know how it works :) I'm working off of a galaxy tab 2, so hopefully there isn't much of a difference between the two systemui.apks.. It would work with both vertical and horizontal screen rotation, right?

Thanks again for the help! :highfive:
[Android Themes] Ticklefish:
It certainly will, yes. Just remember, my xml won't be the same as yours. The important thing is how I changed it. It's those red lines that are the key.

Any problems, just let me know. :)
[Android Themes] XxTeXx07xX:
THANK YOU

Thank you for this great post. Very useful :cool:
[Android Themes] Ticklefish:
So you're getting two translation warnings, which aren't an issue.

This is the actual error which is causing your apk not to recompile:

/home/laptop/mi1statusbar/SystemUI/res/drawable/tw_notification_row_bg.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@*android:drawable/tw_list_focused_holo_light').

Looks like you're missing a png somewhere. Either in your SystemUI.apk or your framework-res.apk.

Either that or your xml is referring to the wrong file..
[Android Themes] Vivek_Neel:
you are missing tw_notification_row_bg.xml which has to be placed in UI/res/drawable

Also u need a png of name tw_list_focused_holo_light

As tickel fish said.
[Android Themes] joehanh88:
should i report this post? lol =,="
[Android Themes] Ticklefish:
What for? Spam....or stupidity...? :D
[Android Themes] evrkusd:
The tw_notification_row_bg.xml file is there, but I'm not seeing the png. Not sure how that could happen since I didn't modify anything except the status_bar.xml. Could it be caused by being odexed?

The tw_notification_row_bg.xml file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<selector android:exitFadeDuration="@*android:integer/config_mediumAnimTime"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/tw_notification_background_pressed" />
<item android:state_focused="true" android:drawable="@*android:drawable/tw_list_focused_holo_light" />
<item android:state_pressed="false" android:drawable="@drawable/tw_notification_background_null" />
</selector>

Maybe I could just pull that line out of the file, or replace it with "@drawable/tw_notification_background_pressed" since I don't care what the notifications look like in the notification panel. Would that be crazy?

Thanks for the help all :)
[Android Themes] evrkusd:
Well.. I tried just removing that line from the tw_notification xml file, just on the off chance that it would work. The system flashes fine and boots up, but I get a "SystemUI stopped working" message and the nav/status bars disappear (surprise, surprise, I know :p)

Any ideas of what else I could do, since I don't have that file?

Could I copy another png file and rename it to "tw_list_focused_holo_light.png" or something, just as a placeholder?

Just realized --- maybe the systemUI is crashing because I didn't put the invisible button code in the correct place, not because of the removed holo_light line. Did my updated status_bar.xml file look ok to you, Ticklefish?

Thanks again :)
[Android Themes] Ticklefish:
Deleting lines from xml is tricky because you can make an apk FC...which is what happened to you.

You just need to make a png with that filename and put it into your drawable-whateverdpi folder. Then your apk will recompile.
[Android Themes] evrkusd:
So I tried making a png (and also tried .xml and no extension) of the file "tw_list_focused_holo_light" in the /res/drawable/ folder.

I continued to get the same error as before:

"/home/laptop/mi1statusbar/SystemUI/res/drawable/tw_notification_row_bg.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@*android:drawable/tw_list_focused_holo_light')."

Pretty weird, I'm not sure what the deal is.. Does it also need to be in other folders aside from 'drawable' or something?

--edit-- could it have to do with it being @*android:drawable/* rather than just [MENTION=3944923]drawab[/MENTION]le/tw_notification* like the other ones listed? --edit--

Thanks for all the help with this!
[Android Themes] Ticklefish:
The error is saying that you are missing an image file called 'tw_list_focused_holo_light'. So that's the filename you need to use.
[Android Themes] evrkusd:
Sorry, mistyped - that is the filename I'm using. I'm making pngs of "tw_list_focused_holo_light.png"

Corrected my original post. Weird, right?
[Android Themes] Ticklefish:
I think this may be my fault. I may not have been clear enough.

The png shouldn't go in your drawable folder...it should go in your drawable folder...lol

Or, to be more exact, it should go in your drawable-whateverdpi folder. So if you have a mdpi device, put it in your drawable-mdpi folder.
[Android Themes] evrkusd:
Ah hah! Thanks, that makes sense. I'll try it out and let you know how it goes :fingers-crossed:
[Android Themes] evrkusd:
Alrighty, so I went through and copied it into the drawable-hdpi folder, which I thought was the correct folder based on this site, but it gave the same error.

Then I went through and moved it to every drawable folder in /res, and tried to compile for each one, but none of them worked (gave the same error). :( Not sure what else to try.

Thanks for helping so much with this, you rock!
[Android Themes] Ticklefish:
Okay, can you share your files please?
[Android Themes] mjz2cool:
for the xml files in values folders you need to copy the resources.arsc from your re-compiled build folder to the original apk file
[Android Themes] evrkusd:
Sure - not sure how much you would need, but I included my systemui.apk, framework-res.apk, status_bar.xml (modified, hopefully correctly), original androidmanifest and meta-inf, and systemui.odex (in case that matters)

(uploaded to google drive - too large for just attaching via xda: https://drive.google.com/file/d/0BzF4_ozfNEElWFVIdnBSUWFoUGM/edit?usp=sharing)

Hope you can figure it out what I'm doing wrong, cause I'm totally confused at this point! Thanks for looking at it :)
[Android Themes] joehanh88:
I don't know about lidroid..but I will ask my friend to help you :)

wait for his reply.. :cool:

joehanh88 themed GT-I9070
[Android Themes] bersy7:
Thank u man, i'm such a noob in this things band this helped very much!
[Android Themes] darkknigh_t:
This guide is amazing thank you I would say the best guide on the internet :)

I have a couple of questions if that's okay I'm running JB 4.2.2 on i9000 and I want to change the color scheme like everything blue to orange but in the res folder i didn't find the keypad blue numbers pngs. I just saw the 9 patch pngs of blue squares so if i change that to orange will that work?

Thank you :)
[Android Themes] arief347:
This is the best guide...thanks man
[Android Themes] dafikjunior:
awesome tut bro ! :good:

btw i want to make center clock, but there is no "tw_status_bar.xml" on my SystemUI.apk

im using Jelly Vanilla Z ROM on my Lww

EDIT: oops.. maybe it's same with "status_bar.xml". looks same.
[Android Themes] joehanh88:
just trial and error :)

with that, you'll get more experience

..even if you've changed the wrong png, you'll know what to do next..and that "wrong" well help you next time..LOL :p

:beer::beer::beer:

your welcome man..

and good luck!

:angel: :angel: :angel:

joehanh88 themed GT-I9070
[Android Themes] joehanh88:
yea, my device running tw..it just the same like your status_bar.xml..

thanks..!

maybe I will write more tut someday just like this..maybe for framework :p

joehanh88 themed GT-I9070
[Android Themes] dafikjunior:
not working

status bar disappear :(
[Android Themes] joehanh88:
what is your problem actually? systemui stop working?

do your decompiling fail? Have you copy and replace the META-INF and AndroidManifest.xml from the original apk into the modded systemui?

joehanh88 themed GT-I9070
[Android Themes] darkknigh_t:
Thank you for the quick response :) i will try and see where that gets me :D

One more question where are the exact locations of the ORIGINAL META-INF and manifest files? SystemUI.apk? Decompiled one? Thats the only step thats a bit shady :)