yashsingh1/xdaforums huggingface dataset:
[Android Themes] Typhus_:
No more smali issues

Hello again.

I was having an issue while recompiling SystemUI.apk regarding the smali files. I've mention this HERE but no one cared to answer me. Thank you. You are great.

The error is shown on the attach.

As I've mentioned before, if I delete that smali, the same error passed on to another smali, and another, etc.

Since I'm not as stupid as I was convincing myself, went google about this.

Turns out that, if we try to recompile SystemUI.apk, after adding space's smali files, using apktool version 2.0.0b7, that error will appear. If we use an apktool older version,

it will be ok

. :eek:

WHY? Because, most likely, those smali files were produced by baksmali 1.*.

For what I've read, there were a handful of changes in the format between 1.* and 2.*.

To convert the smali to the new format, we could assemble the old smali files with smali 1.4.2 (https://code.google.com/p/smali/downloads/detail?name=smali-1.4.2.jar), and then disassemble with the latest baksmali.

Either that, or just use an older version of apktool (that uses an older version of baksmali) to avoid bumping in the same error I've bumped into.

Thank you for not having answering me. I'm not joking. I really thank you because I've learned more about this subject.

Just thought I could share with you my newly learnings.

Gonna tweak a status bar now.

Cya soon.
[Android Themes] badagila:
can i make a simple one? like hyperion?
[Android Themes] lhamilton1807:
Did your findings solve the problem, or have you not tried it yet?
[Android Themes] professor_proton:
Consider Pressing the button rather than saying thanks

Sent from my Xolo A500 with proton UI
[Android Themes] badagila:
hi asking for favor

anyone can help me to put this on my systemUI? my device is samsung galxy gio
[Android Themes] Ticklefish:
Urg...smali...I really, really need to start getting my head around that stuff.. :eek:

Have you posted about this on the apktool thread?
[Android Themes] Typhus_:
Err...no.

I didn't because I thought that there's nothing they can do about it.

My guess is that people who have built their own smali files, using older baksmali versions, will have to "update" they're smali files to smali/baksmali 2.x.

Dunno... :confused:
[Android Themes] usuapogi:
Hi where can i get the 15 toggles background? thx!
[Android Themes] usuapogi:
HELP pls! notification and ongoing on my status bar was gone :eek: and settings short cut on jellybean header is not working how to fix this? thx!
[Android Themes] Rekjezt™:
ask

where's the guide??

---------- Post added at 02:08 AM ---------- Previous post was at 01:57 AM ----------

give me a guide for your screenshoot..

thanks..
[Android Themes] :
To do that u can follow this guide itself but just have replace png in drawables with ur own png keeping in mind the size on pngs...

Those png are found in kitkat systemUI.apk or any kitkat themed systemUI.apk...:)
[Android Themes] ramachandra:
is that able to make cwm flasheble zip. for non samsung phones. if posible please give me a package.zip

my phone is intex aqua trendy
[Android Themes] dadroid98:
Excuse me, but can not I write you a guide as I do not remember the steps and it took me days! I can tell you that I added lidroid toggles, look for the guide on XDA there are endless;)
[Android Themes] shelowe:
Help!

First of all thank you for a tremendous job.

When you add all files and compile attachement has thrown me the following error. Can you help me, excuse my English.

My device is a LG OPTIMUS ME, are correct files that I'm using?

:good:
[Android Themes] dadroid98:
http://xdaforums.com/showthread.php?p=49500376&nocache=1 ;)
[Android Themes] Suicidalbraain:
help me with this please :C
[Android Themes] SpaceCaker:
u forgot 2 layout files
[Android Themes] Suicidalbraain:
what 2 layout files ? i edit everything as you explain :c
[Android Themes] miki2o:
Is there a version of this mod for JB 4.1 and 4.2 CM-based roms?
[Android Themes] SpaceCaker:
no i am sorry

with JB and ICS u will get overlapping etc and is bit harder t achieve
[Android Themes] er.davinder:
[MENTION=3862405]SpaceCaker[/MENTION] Congrats your mod got featured on the main xda page/ :highfive: :highfive:

Can you also upload edited Systemui with JB style statusbar for ddkq8.

I am pro Noob. :silly:

I know how to use root explorer and adb to push apps to the /system/app.
[Android Themes] ahmadsamhann:
this only work on Stock Acei? or any CM based GB?
[Android Themes] :
Wasn't that this type of Statusbar was first made by [MENTION=4453341]marinalin85[/MENTION]? *No Offence*

Just saying
[Android Themes] SpaceCaker:
this one is different in some parts

he used lidroid toggles in quickview

and i did credit him

after figuring out all modifications done

and i had this typebof statusbar before but with dcsms miui toggle bottom

and modded to 2 pngs but thanks to marina we have it in one button
[Android Themes] :
Okay :)

Will it work on CM7 based rom's too o.O
[Android Themes] SpaceCaker:
yes

but u need to remove sammy toggles
[Android Themes] :
I'll try and get back to you :)
[Android Themes] m4RinKo2:
Thanks for this
[Android Themes] balamu96m:
mind blowing work bro!!

thanks! Good to see hard-core reverse engineering after a long time!
[Android Themes] NicoCaldo:
later it will also be possible to follow this guide on ROM based on cm7 and terminals are not marked on samsung?
[Android Themes] sandy7:
[MENTION=3862405]SpaceCaker[/MENTION] awesome guide man...

just a quick question can the same method can be used on sony GB fw ? ...i would like to try it
[Android Themes] SpaceCaker:
yes

erhany has managed on his arc GB fw aswell ;)v
[Android Themes] sandy7:
cool...ill start porting it for xperia MDPI
[Android Themes] SpaceCaker:
this was his screenshot
[Android Themes] :
SIR,

Is it possible to port this to JB coz I m gonna try this. Just a few questions, what files I need to delete from original and/or what major modifications do I have to follow or remember.

BTW thanks a ton for this awesome guide SIR.
[Android Themes] K.A.:
FINALLY you made a guide for that!!! :eek::eek:
[Android Themes] SpaceCaker:
Use this layout file if u port to non samsung device ;)

rename .zip to .xml
[Android Themes] SpaceCaker:
currently not

as on ics / JB it overlaps with notifications and doesnt work properly :/
[Android Themes] SpaceCaker:
no resource found.

u forgot to add the ayout file that u assigned i statusbar expanded
[Android Themes] Suicidalbraain:
i dont understand much friend, because my english in not good, but i'm edited the systemui from a custom rom that i have on my cell phone, and my status bar has the quickpanel toogles, how i add this ? , or what layout are you saying that i have to add ?

here's one picture of my statusbar, if u want to help me
[Android Themes] SpaceCaker:
its try and error man..

the apktool exactly says whats wrong. even i said whats wrong.

u are missing the layouts u should add them

log says it all
[Android Themes] Suicidalbraain:
Ok, i check all again a now give me this error, i have to add any comand in the quick panel quick settings ? im a little lost in this
[Android Themes] SpaceCaker:
Guide aint easy so i recommend u to not do it as u cseem to not have enough experience/knowledge about this.

u havent read the whole guide aswel because everything is declared. and even said

u are using wrong quickpanelspacekauout
[Android Themes] Suicidalbraain:
oh ok :(

and where i find this guide ?
[Android Themes] SpaceCaker:
http://xdaforums.com/showthread.php?t=2315342
[Android Themes] Suicidalbraain:
oh this guide haha, but i read them man, the entire guide, i reach to the part thats said i add the spaceadds and compile and thats its the error in the compile, but i know im not extremely expert in this, but i dont understand much, how i do to get these xml declared or something like these ?

, sorry but is hard for me to expresate, i speak spanish and its hard to expresate :c

whats the solution for all of this ? try and try ?

edit: hey i have to use this ? http://xdaforums.com/showpost.php?p=42702913&postcount=59&nocache=1&z=2812979682348668

i dont have a samsung device
[Android Themes] Suicidalbraain:
I modified the quickpanel settings space with your layout xml

but now this error u.u , is correctly modified but i dont know whats wrong u.u
[Android Themes] dadroid98:
if your phone have a Cyanogenmod 7 you can use my systemui and framework ...it's impossible to make a guide!xD
[Android Themes] SpaceCaker:
its idneed hard to make guide on the layout of this

:p

mostly what i did before there existed even such a guide was try and error

ofcourse this guide wont work properly on all devices because u need to adapt ur own try and error part to the files

because i mean it works on all phones if u have enough experience/knowledge in try and error and xml and such.

even with my new method u will be even more irritated with layout as when i put stuff wrong at one place it kills everything :P
[Android Themes] Suicidalbraain:
i dont have cm7 :s , another idea ? :c
[Android Themes] dadroid98:
no... http://xdaforums.com/showthread.php?t=1511307 i have used this
[Android Themes] Suicidalbraain:
thanks for what its that ?
[Android Themes] 63nu1n3:
Help...!!:confused:

:confused:

Can anyone tell me how to shift jellybean header clock to above toggles.....

and also remove toggles from second layout.....

and thanks SpaceCacker for the great tutorial
[Android Themes] akashujjainkar:
i followed everything dev !! it worked looks clean thanx for that !

but i have no notifications !

can u please clear this bug for me !
[Android Themes] Dekill93:
hy all master...

i try this guide... i compile and i zipalign no error

but my status bar FC

how to fix ?

im using galaxy mini 2 on stock rom GB 2.3.6
[Android Themes] SpaceCaker:
read first page and u will know
[Android Themes] Dekill93:
hy [MENTION=3862405]SpaceCaker[/MENTION] i read again page one and its work.. so thx ..

but how do I make a screenshot like yours ?

please help

check my screenshot
[Android Themes] SpaceCaker:
open quickpanel_quick_settings.xml in layout of systemui.apk

find this

(second line )

<com.android.systemui.statusbar.quickpanel.QuickSe ttingsView androidrientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0"

and change it to something like this

<com.android.systemui.statusbar.quickpanel.QuickSe ttingsView androidrientation="horizontal" android:id="@id/quickpanel_quick_settings" android:background="@drawable/quickpanel_quick_settings_background" android:layout_width="fill_parent" android:layout_height="0.0dp" android:layout_weight="1.0"

what i did was changing android:layout_height="wrap_content" to android:layout_height="0.0dp"
[Android Themes] zorekh:
CM7?

Works in cm7?
[Android Themes] SpaceCaker:
yeas if u know how to mod though
[Android Themes] Jay_SEAN:
these mine sir :D 1st try for my galaxy y

thanks for the tut
[Android Themes] Dekill93:
hy [MENTION=3862405]SpaceCaker[/MENTION] thank you very much for the tutorial and with your help I can make the status bar like SGS3... :) +1
[Android Themes] SpaceCaker:
Sweet :thumbup:

this is what i eventually made with my new method and new smali ;)
[Android Themes] Dekill93:
WOW very very nice ... O master, if you can teach me how to make my systemUI be like yours? it is very much like a SGS4 very amazing
[Android Themes] dadroid98:
Publish this, right?
[Android Themes] SpaceCaker:
i will publish but i am bit.. Confused / dont know really how i would make a guide of this .

because now u will require to rewrite a ton more const values for animation and such.

its become way harder to mod because its now also very layout wanted.
[Android Themes] dadroid98:
ok I understand, add lidroid is not easy ..
[Android Themes] SpaceCaker:
first line tell it.

please read the wholee first page first.

use the cm7 quickpanel xml
[Android Themes] mangDroid:
adding new intent, I got FC

I tried to follow your guide in your own first reply. I try to change the intent "android.settings.SETTINGS" in the smali file statusbarservice by putting another intent. but I got fc when i tap the icon in the statusbar expanded. I think that my mistake is in the way I write the intent. these are the steps I have done:

1. I declare the android:onClick as simOption so it looks like android:onClick="simOption" (I add everything needed in the status_bar_expanded.xml related to this like text, png, and so on)

2. I copied the code for quick setting in the related smali file (above addNewIcon)

3. I change the settingButton (in the copied code) to simOption

4. I change the intent to "android.settings.multisimsettings.MULTI_SIM_SETTING_WIDGET"

5. Recompile the file (no error)

6. Push and set the permission to rw-r-r

7. Reboot and the statusbar appears as usual. The icon I added before appears too. But when I tap the icon, it gets FC.

I don't have any more idea since other intents i put to the code always result in same FC. Did I miss something?

Note: quick setting works.

Thank you very much.
[Android Themes] shlnarang:
Great guide :good: how shoud we add lidroid toggles in ur quickpannel..??
[Android Themes] uriel_zo:
using this http://xdaforums.com/showpost.php?p=42702913&postcount=59

and clears the status_bar_close_on.png

and try to compile again.
[Android Themes] inaqi69:
:( ERROR In download !!!

When i download the NON-Samsung file i get this error when opening it :(

Now can you provide me that file? So i can try :)?
[Android Themes] SpaceCaker:
:rolleyes: read if possible

i said in that post

i couldnt ipload it as xml

so u need to rename it :rolleyes:
[Android Themes] inaqi69:
:D Sorry!!! :angel:
[Android Themes] Mrinal Roy:
cmon spacecaker make a guide fot it! :3 if u ask me i think its not really hard..all we did is just copy and paste..
[Android Themes] m4RinKo2:
Follow this. http://xdaforums.com/showthread.php?t=2644229

Sent from my GT-S5570I
[Android Themes] Dekill93:
hy all sorry oot ... I have lidroid toggle .. and I want to add one more toggle wifi AP that ... how do I add it?
[Android Themes] SpaceCaker:
with smali

it isnt easy though
[Android Themes] iamJSRCA:
Problem here...I made the layout but title bar and notifications are not showing up but toolbar panel is there what is the problem? pls guide me because I've heard about putting notifications from othere layout but how? thanks :)
[Android Themes] SpaceCaker:
This mod requires you to have basic knowledge about XML

it aint easy bro
[Android Themes] uriel_zo:
I can add as toggles lidroid

to quick_panel_settings_space.xml

this is my line

<com.lidroid.systemui.quickpanel.PowerWidget android:id="@id/adi_quickpanel" android:layout_width="fill_parent" android:layout_height="75.0dip" />
[Android Themes] Mrinal Roy:
..

Its for galaxy y.i have karbonn a9 and i dun think lidroid toggles will work on my phone
[Android Themes] runi.hoon:
Do I have to deodex systemui?

Do I have to deodex systemui?
[Android Themes] professor_proton:
Yes !
[Android Themes] WinKarbik:
Help Me!

Please help me, after installing the status bar disappears, lines of logcat:

[ 02-23 11:00:28.898 3405:0xd59 D/PackageManager ]

scanPackage : /system/app/SystemUI.apk

[ 02-23 11:00:28.914 3405:0xd59 I/PackageManager ]

/system/app/SystemUI.apk changed; collecting certs

[ 02-23 11:00:28.968 3405:0xd59 E/PackageParser ]

Package com.android.systemui has no certificates at entry AndroidManifest.xml; ignoring!
[Android Themes] SpaceCaker:
u either signed the systemui.apk while you're frameworks didnt had the Disable signature verification mod inside

or u replace manifest.xml aswell

mostly its because of signing that it does this or replacing manifest.xml
[Android Themes] badagila:
this can be also wrork on cm7?
[Android Themes] SpaceCaker:
offcourse works with all roms

atleast if u have proper knowledge on

xml

smali and logcarting for errors
[Android Themes] badagila:
Ok dude i will try
[Android Themes] arshadnawaz89:
Will it works for Galaxy Pro B7510 (Landscape Qwerty phone)?????
[Android Themes] jeswinjv:
Wen i Was on StocK pretty usiNg diz....:)

Nw chanGd to cm....

via Tapatalk
[Android Themes] Cpt.mactavish:
heyyyy

[MENTION=3862405]SpaceCaker[/MENTION]

i'm getting this error

C:\Users\Shahriar Kabir\APK GUI\InProgress\SystemUI.apk\res\layout\status_bar_expanded.xml:28: error: Error parsing XML: mismatched tag

here's my expanded that i've edited as ur direction

please,i'll be really grateful if someone,resolve it
[Android Themes] lacoursiere18:
I tried the best i could, not really knowing much about this mod in particular..

Your problem was here, towards bottom (highlighted in RED)

<LinearLayout android:orientation="vertical" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.NotificationLinearLayout>
</ScrollView>
<ImageView android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/title_bar_shadow" android:scaleType="fitXY" />
</FrameLayout>
[COLOR="Red"] <com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">	[/COLOR]
</com.spacecaker.SpaceLayOut>
</com.android.systemui.statusbar.ExpandedView>

I do not know why you had that line there.. It's not in the OP.. but anyways..your error in the cmd prompt identifies the exact problem

C:\Users\Shahriar Kabir\APK GUI\InProgress\SystemUI.apk\res\layout\[COLOR="Red"]status_bar_expanded.xml:28: error: Error parsing XML: mismatched tag[/COLOR]

28 identifies the line, then mismatched tag is explained HERE

So removing that line should fix it!:good:

Here ya go

View attachment status_bar_expanded.zip

Let me know if it helps!:good:
[Android Themes] Typhus_:
Close drag handle

Hello!

I'm sorry for asking this here but, since it's statusbar related, and since there are a lot of themers out there reading this thread, I've decided to ask you all for help.

The thing is, whenever I drag DOWN the statusbar, the image that's shown, at the bottom, is status_bar_close_off.png (the grey one...).

When the descent is over, if I click on it, it truns to status_bar_close_on.png (the blue one...).

If I drag up the statusbar whithout moving my finger out of the "close_bar_handle" it will be "blue" until top but, if my finger moves just a little bit, it will become "grey" again and it's not possible to have it "bule" again.

My goal is for it to always be blue, EXCEPT, when the status bar is fully on screen and I'm not touching the "close_bar_handle" (I'm trying to replicate JB truly, and this is how it's showing on JB).

This is my current status_bar_close. xml:

<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/status_bar_close_on" />
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/status_bar_close_on" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/status_bar_close_on"/>
<item android:state_pressed="true" android:drawable="@drawable/status_bar_close_on"/>
<item android:drawable="@drawable/status_bar_close_off" />
</selector>

And this is the "darg_handle code" present on my status_bar_tracking.xml:

<com.android.systemui.statusbar.CloseDragHandle android:layout_gravity="bottom" android:orientation="vertical" android:id="@id/close" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" >
<ImageView android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/status_bar_close" android:scaleType="fitXY" />
</com.android.systemui.statusbar.CloseDragHandle>

It still doesn't work like I want to, regardless the changes I've made on either xml files.

Does anyone have a clue on how I can get this done?

I would really appreciate all help you could give me since I've already tried different mods and neither one worked as I wanted.

Thanks.
[Android Themes] lacoursiere18:
Not sure of which android version your one bc they have changed some things recently but anyway. . There should be two pngs in your drawables folder. .One with Grey handle and another with blue. .copy paste the blue and rename it to what the grey one is named..make sure you save a backup just in case. .recompile and test..

Basically you'll have two handle pngs that are blue and that should solve your issue:thumbup:
[Android Themes] Typhus_:
Hello!

Thanks for answering. I'm on GingerBread.

Correct me if I am wrong, if I do what you suggest wouldn't the handle bar always be blue?

I don't know if I explained my goal correctly.

This is my objective:

Statusbar is being dragged up, or down -> Blue

Statusbar is totally dragged dow:

If i touch it -> Blue​

If i don't touch it -> Grey​

Thanks in advance!
[Android Themes] lacoursiere18:
Not sure if that is possible.. yo would probably have to add a third image and some lines in a xml;)
[Android Themes] P3jit:
Help

I am running on Mediatek mt6575 .....MIcromax A52....followed ur instructiions and faced no error while process but pluging it with the device tmy status bar disappeard.....even no FC I faced , it just disappeard.........Awaitng for a early reply :mad::mad::mad:
[Android Themes] SpaceCaker:
u might have signed it
[Android Themes] P3jit:
Yes... I used apktool b SystemUI command to recompile the apk and then patched it ... btw i didnt used cwm to flash it ,, I used the root explorer method...is this the prob ?????

And the best part is......I first thought that I miight have done some wrong but when I used a different statusbar form other rom...it also disappeared whereas Patching to the other rom it worked like charm...plz hlp me out .. I have made many roms but Never face this prob...Asking you to help as you are experienced.
[Android Themes] SpaceCaker:
mainly what i only can think of when modding apks of systembase

is that while puttin the new stuff in the systemui.apk

u also replaced AndroidManifest.xml

then its possible that ur statusbar disappears and not fcs

also when u sign the apk while ur system has other signature keys ( or not yet disable Permission lookup in services.jar)

for that i only know those as reasons.
[Android Themes] P3jit:
I solved that prob .... but the matter is the statusbar shows but it is unchanged.....it shows the previous statusbar not the edited one.
[Android Themes] P3jit:
reply soon plz.....
[Android Themes] abhishekr700:
hello sir i was trying this on my systemui.apk

and i got error while compiling the error i got is as follows-->
[Android Themes] SpaceCaker:
ur xml has typos

it says the error i the log..
[Android Themes] P3jit:
I managed to edit it...but when I push it in the system it appears unchanged......I am running on mediatek mt6575 ....plz sir hlp me
[Android Themes] SpaceCaker:
then u havent edited proper files or such

its mostly trial and error with the layouts and such.
[Android Themes] professor_proton:
You changed you avatar space :P , sorry for going OT i just noticed :P
[Android Themes] abhishekr700:
yes sir i noticed that i did not close one of the tags...ahter that everything worked well but why am i getting this plzz see screenshot
[Android Themes] professor_proton:
Play with layouts, make changes , its hit and trial man , unless you're a pro , like space .

Change the android:layout_width for each button
[Android Themes] P3jit:
Facing FC*

After defeating lot of bugs...now i face this problem....I face FC* , logcat says android runtime error.....

For info : running on mediatek chipset

Model : MMXA52
[Android Themes] Gustavo Lopez:
change icons position toogles bar

I want to change icons position toogles bar. The data icon is next to wifi, but can not find how. I have Samsung S5310L Galaxy neo pocket. I Might you tell me where to look or how to do it, as I find?
[Android Themes] SpaceCaker:
you didnt read the whole first page.....

this is described