yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] mattcfk:
seems like this wanam systemui script will mess up terribly with translucent script. anyone know how to set translucent after setting up this wanam thingy? seems like lidroid.apk or wanam script will supercede the systemui configuration, not allowing any modification done. not a great script. :mad:

edit: any advise to twist around with the transculent status bar after using wanam/lidroid script?
[Galaxy S II Android Development] danividalg:
Hi,

I think the problem is because of the copy of new SystemUI.apk

I solved the problem doing the following:

- Download the "15BarStatus.zip" file attached on my tutorial post

- Make a copy of this file and rename it as "Original.zip"

- Open "Original.zip" with winrar or with 7zip

- Go to "system/app" folder and delete "QuickPanelSettings.apk" file

- Drag and drop your ORIGINAL SystemUI.apk and SystemUI.odex file into this folder (this will overwrite SystemUI.apk in the zip file)

- Go one folder back and go into "framework" folder

- Delete "lidroid-res.apk" file

- Drag and drop your ORIGINAL framework-res.apk file into this folder

- Close winrar/7zip

- Open "15BarStatus.zip" with winrar or with 7zip

- Go to "system/app" folder

- Drag and drop your MODIFIED SystemUI.apk and SystemUI.odex (if you have re-odexed it) file into this folder (this will overwrite SystemUI.apk in the zip file)

- Close winrar/7zip

- Copy "Original.zip" and "15BarStatus.zip" into your /sdcard/xRecovery on your phone

- Now restart into recovery

- Install "Original.zip" and do NOT reboot

- Install "15BarStatus.zip"

- Reboot and all should work ok

I don't know why this works, but it works :)

Have a nice day :D
[Galaxy S II Android Development] yoderk:
Ok so I got this up and running now, thank you guys very very much for the guides on the previous page. One question, has anyone been able to make the toggle buttons shorter in height so that it doesn't look tall when I remove the text and toggle on/off bar? Thanks if anyone can help me out.
[Galaxy S II Android Development] Sm0L:
Hello

I am trying to put the 15 statusbar toggle on my full stock XWLP7 deodexed rom but i am getting no status bar but no errors.

I have followed danividalg guide and i got a full deodexed rom zip without SystemUI.apk modifications and i have a 15BarStatus.zip but when i flash the rom zip and then the 15BarStatus.zip without booting the status bar is not shown and i loose the wallpaper.

But when i flash the rom zip and boot the phone normally and then restart to the CWM and flash the 15BarStatus.zip the 15 statusbar works.

Of course i want to eliminate to necessity of 2 zips and want just the rom zip.

Any ideas about this?
[Galaxy S II Android Development] M_J_Nazari:
I had this problem before.

this problem comes with Signature controler from services.jar file.

Baksmali Services.jar file

open the PackageManagerService.smali file.

Search this method:

.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

and change the values like below.

.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 10
.parameter "s1"
.parameter "s2"

.prologue
.line 1927
const/4 v6, 0x0

return v6

if-nez p1, :cond_a

.line 1928
if-nez p2, :cond_8

const/4 v6, 0x1

.line 1947
:goto_7
return v6

.line 1928
:cond_8
const/4 v6, -0x1

goto :goto_7

.line 1932
:cond_a
if-nez p2, :cond_e

.line 1933
const/4 v6, -0x2

goto :goto_7

.line 1935
:cond_e
new-instance v3, Ljava/util/HashSet;

invoke-direct {v3}, Ljava/util/HashSet;-><init>()V

.line 1936
.local v3, set1:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p1

.local v0, arr$:[Landroid/content/pm/Signature;
array-length v2, v0

.local v2, len$:I
const/4 v1, 0x0

.local v1, i$:I
:goto_16
if-ge v1, v2, :cond_20

aget-object v5, v0, v1

.line 1937
.local v5, sig:Landroid/content/pm/Signature;
invoke-virtual {v3, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

.line 1936
add-int/lit8 v1, v1, 0x1

goto :goto_16

.line 1939
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_20
new-instance v4, Ljava/util/HashSet;

invoke-direct {v4}, Ljava/util/HashSet;-><init>()V

.line 1940
.local v4, set2:Ljava/util/HashSet;,"Ljava/util/HashSet<Landroid/content/pm/Signature;>;"
move-object v0, p2

array-length v2, v0

const/4 v1, 0x0

:goto_28
if-ge v1, v2, :cond_32

aget-object v5, v0, v1

.line 1941
.restart local v5 #sig:Landroid/content/pm/Signature;
invoke-virtual {v4, v5}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z

.line 1940
add-int/lit8 v1, v1, 0x1

goto :goto_28

.line 1944
.end local v5 #sig:Landroid/content/pm/Signature;
:cond_32
invoke-virtual {v3, v4}, Ljava/util/HashSet;->equals(Ljava/lang/Object;)Z

move-result v6

if-eqz v6, :cond_3a

.line 1945
const/4 v6, 0x0

goto :goto_7

.line 1947
:cond_3a
const/4 v6, -0x3

goto :goto_7
.end method

sometimes need twice rebooting to see Statusbar.

the problem is come just when you try to change the Signature.

for more information, compare the attached files, the original and edited file are packed.

the source is attached.

based on Samsung i9000 , JW1 2.3.6 Firmware.
[Galaxy S II Android Development] Sm0L:
M_J_Nazari i am using Android 4.0.3 ROMs, the method there is completely different, not even the same name and i don't know which modifications should be made.
[Galaxy S II Android Development] gcrutchr:
For those of you who want to modify the lidroid-res.apk file, here is how to do it.

This method does work.

Mod Lidroid-res.apk
[Galaxy S II Android Development] brolee93:
You think this tuto work wiht ICS samsung galacy note ZCLP6 ?
[Galaxy S II Android Development] kahvitahra:
Hi!

I made bottom mod ( miui style toggles) to work with 15 toggle system. Also you can set toggle text on/off. Check following link for xwlp9 flashable zip.

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

For porting to other firmwares just use lidroid-res.apk from that links .zip and diff changes in systemui.apks smali/xml.
[Galaxy S II Android Development] chrystal0925:
does this mod work on samsung 2.3.6 rom thats mdpi? ive tried to no avail???

if some one could help me
[Galaxy S II Android Development] SpaceCaker:
@lidroid

i made this on my rom

but

i cant find reboot and shutdown

anymore

even in quickpanel settings

they arent there

they are gone

how to fix ?
[Galaxy S II Android Development] SpaceCaker:
Hmm i only have 10 of the 14 toggles what did i wrong ?
[Galaxy S II Android Development] Silesh.Nair:
Post your framework-res.apk as well. I will take a look.
[Galaxy S II Android Development] chrystal0925:
here it is thanks alot :]
[Galaxy S II Android Development] Silesh.Nair:
I will take a look today. Which phone is this for, btw?
[Galaxy S II Android Development] chrystal0925:
its for conquer i made a rom ported a few things over but any widget port i try dont work i dont actually own this phone im trying to get some development going for them i have some testers to get it going with my rom but if you could get this going much much appreciated ;)
[Galaxy S II Android Development] Silesh.Nair:
I had a look at the code, but i don't seem to find quick settings. Does the phone have quick settings in the dropdown notification?
[Galaxy S II Android Development] chrystal0925:
no it doesnt but when i look at other phones that added it in it lookes like its the last line of make status bar view.. right under a line of code that says register receiver
[Galaxy S II Android Development] chrystal0925:
http://db.tt/LNFVssfU

this is my latest build but statusbar forcecloses not sure what im missing in code?
[Galaxy S II Android Development] GeekSpin:
can anyone plz tell me how to remove the toggle text and make switch type toggle like in ics

thanks
[Galaxy S II Android Development] SpaceCaker:
Strings.xml to remove the toggle text
[Galaxy S II Android Development] GeekSpin:
so what about the line where ro find stings xml

and the switch i want to make someting

like on off switch

thanks
[Galaxy S II Android Development] Goldie:
Strings.xml is a file not a line. Inside values folder of the apk.
[Galaxy S II Android Development] GeekSpin:
thats what i m asking it will be in which apk

and can you help with the on off switch toggle button
[Galaxy S II Android Development] Goldie:
Well lidroid i would assume
[Galaxy S II Android Development] :
hehe, :) how are you my friend, smiles....
[Galaxy S II Android Development] SpaceCaker:
Lidroid-res.apk

has the toggles and on off switches as pngs

for the text u need to edit strings.xml in res/values
[Galaxy S II Android Development] GeekSpin:
when i put tge switcges png and edit strings xml by deleting quick panel text

and compiling it flashing it gives me an error status bar fc

plz help
[Galaxy S II Android Development] Goldie:
You need to check logcat

Sent from my GT-N7000
[Galaxy S II Android Development] GeekSpin:
it says system ui status bar force close and how to get logcat i have checked alogcat app it says the same error dont know whats messing up can u plz tell the lines to remove toggle text
[Galaxy S II Android Development] Goldie:
Don't know if its been changed but when this first came out it was not possible to edit lidroid-res due to lidroid using a modded apktool. I think this is your issue.

Sent from my GT-N7000
[Galaxy S II Android Development] SpaceCaker:
Same prob xd

I just keep it simple

But

I have a problem

I have only 10 of 14 toggles

In the quickpanel settings -_-
[Galaxy S II Android Development] GeekSpin:
anyone know how to solve it i just wanted to remove toggle text

thanks
[Galaxy S II Android Development] shoman94:
Did you edit the xml?
[Galaxy S II Android Development] Marchintosh:
do you work on ICS?
[Galaxy S II Android Development] xDa.Fun:
Themeing the Text of Toggles

Hi

I have themed the lidroid toggles pings, now need to change the color of text to match them. Please let me know which files need to be edited.

I want toogle text remains white when toggle is off and want to turn into blue when toggle is on.

Another way in my mind is to delete the text and use PNGs with text. (it don't seems appropriate)

Thanks
[Galaxy S II Android Development] nakedninja42:
The Android Manifest? Do I need to have the xml code found in the OP? I was using the 15 toggle instructions and did "Copied "important" lines from wanam "tw_status_bar_expanded.xml", "ids.xml" and "public.xml" files".
[Galaxy S II Android Development] Huexxx:
Hi all!

First of all, thanks a lot for your work.

I'm trying to port powerwidgets from Samsung to LG Optimus Black.

I have a lot of work done, but I have a problem that I don't know how to solve, i hope is an easy task for you.

I can figure out why those ****ing lock icons appear!

Do you know how to remove them?

Regards and thanks!
[Galaxy S II Android Development] manoranjan2050:
Thanks ............

Thanks For Great guide............... Today i Going To Try it In My Galaxy Y Duos .....
[Galaxy S II Android Development] hell_lock:
Its not working for me, whenever I flash it, my status bar dissappears!! I did not edit the xml... here's my logcat

D/PackageManager( 1467): scanPackage : /system/app/SystemUI.apk

D/PackageManager( 1467): scanPackage : /system/app/SystemUI.apk

D/szipinf ( 1467): Initializing inflate state

I/PackageManager( 1467): /system/app/SystemUI.apk changed; collecting certs

D/dalvikvm( 1467): GC_CONCURRENT freed 343K, 44% free 3940K/6919K, external 509K/517K, paused 11ms+10ms

E/PackageParser( 1467): Package com.android.systemui has no certificates at entry AndroidManifest.xml; ignoring!

---------- Post added at 08:40 AM ---------- Previous post was at 07:48 AM ----------

never mind.. i solved the problem myself
[Galaxy S II Android Development] chrystal0925:
How did you solve it
[Galaxy S II Android Development] hell_lock:
I did a wrong step
[Galaxy S II Android Development] nakedninja42:
Could you elaborate?
[Galaxy S II Android Development] hell_lock:
Instead of copying the classes.dex onto the original systemui.apk, i was copying it in the compiled systemui.apk
[Galaxy S II Android Development] Ricardo_Is:
Hi there.

I was trying to make 14 toggles for XXLPW but can`t compile the SystemUI folder.

Someone know what can be wrong?

Tanks.
[Galaxy S II Android Development] SpaceCaker:
U are building for ics ?
[Galaxy S II Android Development] Ricardo_Is:
Yep, I`m trying build it for ICS 4.0.3 XXLPW.
[Galaxy S II Android Development] chrystal0925:
Ive been attempting this mod for conquer the status bar will show with no toggles??

Logcat is here:

https://dl.dropbox.com/s/2u4o3ogh5j79fic/logcat.txt?dl=1
[Galaxy S II Android Development] ImbaWind:
anyone experiencing the flash light just turns on for a while then it turns of back itself?

any idea?
[Galaxy S II Android Development] CarpeNoctem:
Hi there,

I am trying to port this to the Samsung i927 but so far no success, this phone has a flashlight so I skipped step 3. I pushed all the apks but still not status bar...

Any clue?
[Galaxy S II Android Development] Hagarza:
Having trouble doing this mod, trying to do this for the Blaze 4G. I get no status bar, I'm definetely doing something wrong, tried signing not signing. I tried a SystemUI.apk from a T989 Rom, it worked, but as soon as i plug into computer get statusbar FC.

I attached a deodexed SystemUI.apk from the stock Blaze ROM if anybody can help, or point me towards what mistake I'm doing.

Thanks in advanced!
[Galaxy S II Android Development] CarpeNoctem:
At least you have the bar showing, for me what ever I do the bar or FC before loading or simply does not show
[Galaxy S II Android Development] sleshepic:
I've been trying to get them working for the Galaxy S2 Epic touch, and it seems to be little different. I am working with the phonestatusbar.smali file in Com/android/systemui/statusbar/phone instead of the one posted in the OP. There is no statusbarservices.smali in my phone's systemui, and am not sure where to add/change the code since things are little different. attached is the SystemUI I am working with. Any help would be Greatly appreciated.

Edit: I used the guide on(or around) page 67, using Wanam's Phonestatusbar.smali as a guide. I'm hung up at compiling the classes.dex file now. There are a few errors when I smali saying "the register number must be less than v16"...

Edit: nevermind, got it working!
[Galaxy S II Android Development] ramzidjoudi:
this is a great work

thank you

please how to change background color please
[Galaxy S II Android Development] dsjoes:
how do i add the 15 toggles on full deodexed stock lp7 ics?

Thanks
[Galaxy S II Android Development] deman05:
Hi!

Adapted this status a bar for a tablet, but some buttons work not correctly...

There is at somebody source code QuickPanelSettings.apk? Or how it is possible to adapt this app under the big screen?

Thanks.
[Galaxy S II Android Development] The-Droidster:
Hey buddy, what was that basic mistake...plzz share....I'm stuck with no status bar at all:(

Also does this work on all samsung roms?....I'm trying this in a GALAXY R....which is a variant of the SII. My decompiled SystemUI does not have the android folder inside the com folder and hence no statusbarservice.smali....Plz reply.

I have attached my SystemUI.apk....if someone would be kind enuf to patch it...I shall be really grateful:fingers-crossed:
[Galaxy S II Android Development] samsoul16:
Can u plz make dis for Samsung Galaxy Y Duos Stock rom??
[Galaxy S II Android Development] masual:
I just make it work on a Galaxy R, but the flashlight button just make the flash turn on for less than a second, then it turns off. Any idea?
[Galaxy S II Android Development] Deadboy2201:
Hey guys,

i´ve got a question :) I want to you this for my own CustomRom, but i can't get further than step 4, because this branch "SystemUI/smali/com/android/systemui/status/StatusBarService.smali" is not there. I can be at most go to "SystemUI/smali/com/android/systemui/", but "status/StatusBarService.smali" is not there :S Can you maybe help me ?

Greeting

Deadboy :)
[Galaxy S II Android Development] vd69:
Hello .Very good job .I trieded to do it my self but with no succes.if someone could do it for me i would be very greatfull. I have i9000 xwjw8 latest rom odexed.THANKS
[Galaxy S II Android Development] SohamJ:
I am a galaxy fit user with DXKT7 as my baseband. I am building my own custom rom based on it. I decompiled SystemUI.apk from it and went to StatusBarService.smali but i cannot file the following code in the whole file

const v7, 0x7f030002

invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

move-result-object v3

check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;

.line 379

.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;

Can someone please help me?
[Galaxy S II Android Development] hell_lock:
Guys the download option in reboot doesnt work...
[Galaxy S II Android Development] ciscogee:
So I have a samsung replenish that's ldpi. Also by default I don't have pulldown toggle, yet I decompile twframework and see them in the statusbarexpanded.xml any idea of a way I can get them to appear and mod?
[Galaxy S II Android Development] reference.phone:
Is this possible for pure AOSP?
[Galaxy S II Android Development] bobfrantic:
notification bar gone...

Tried this in my Galaxy Ace, with 2.3.6 XWKTM installed. I followed all the steps. Put all files in the correct folders, by pushing and not with Root Explorer. When I rebooted my phone my taskbar wasn't there and there was no FC on it either. Would some kind dev please look at my systemUI.apk and see why I have no taskbar please? My systemUI is deodexed but rest of my phone isn't if that means anything...

Thank you in advance :)

View attachment 1239044
[Galaxy S II Android Development] SpaceCaker:
Bob xwktm has support.now :p
[Galaxy S II Android Development] bobfrantic:
your mod has transparent taskbar with 15 toggles you mean? can you look at my systemUI please tell me what i did wrong, in pm if you prefer... thanks :)
[Galaxy S II Android Development] SpaceCaker:
15 togles

But transparent is easy

Go to uot choose transparent

Then when done and you flash you think * Ehh..... Its not transparent !* well for that we just need to change in statusbar.xml

Change some color codes to @drawable/statusbarbackgroundv2

And then add png called

Statusbarbackgroundv2 in drawable-mdpi

And done

Uot doed the smali edit you normally need yo do
[Galaxy S II Android Development] The-Droidster:
Can this be done on stock odexed rom...without deodexing? Can someone guide?
[Galaxy S II Android Development] bobfrantic:
tried to do it your way, but got errors compiling the systemUI after editing the status_bar.xml with both notepad++ and editplus3. oh well... maybe you can post a clear tutorial on how to do this for everyone to see. thanks anyways...:(
[Galaxy S II Android Development] SpaceCaker:
someone in our q and a thread asked the same

i have posted small tut there :p

anyways here http://xdaforums.com/showthread.php?t=1292707 other guide
[Galaxy S II Android Development] chinhlevn:
Is this only for Stock ? I Can't find code text in my SystemUI, GT-S5570 CM7.2 by mebitek
[Galaxy S II Android Development] iovaniorgovan:
Does this framework work on latest rom ICS 4.0.4 for S2 i9100? Anything I should be warned about before trying?
[Galaxy S II Android Development] JohanDelief:
The flashlight button just make the flash turn on for 3 second, then it turns off.. Solution?
[Galaxy S II Android Development] Messi10:
plz help me, i'm trying to add this to my rom:

1- when i copy smali and don't edit manifest nothing happened

2- when i copy smali and edit manifest nothing happened

3- when i copy smali and edit manifest and sign apk statusbar don't show

plz help me thanks in advance

P.S my phone is galaxy ace 2 it has flash and i have uploaded original systemui.apk thanks http://www.mediafire.com/?uenuv3x72bhy72e
[Galaxy S II Android Development] msy198:
need help with this mod on Samsung Galaxy Beam

Hi,

I have been trying with this mod on my Samsung Galaxy Beam with no luck. The status bar is not showing at all. I have managed to deodex my SystemUI.apk for this mod. I think its because of the StatusBarService.smali. Appreciate if someone could help me with this. Attached is my deodex SystemUI.apk.
[Galaxy S II Android Development] SpaceCaker:
Could you upload the framewok-res and twframework res apk to ?

Will look what i can do ;)
[Galaxy S II Android Development] msy198:
Great. Thanks.

Here is the required files. Hope you can help me out on this.
[Galaxy S II Android Development] neodarklink:
Hi I am trying to apply this mod for my Samsung Galaxy i9003 for the firmware UBLH1 (value pack for latin america) but I cant get it working because if I modify AndroidManifeset.xml the statusbar is not showing in the other hand if I only modify StatusBarService.smali the statusbar is showing but the toggles dont work so I dont have any clue what is not working. If anyone could help me I would apreciate it. Here is my stock SystemUI.apk

Edit: I forget todo mention that I solved this morning
[Galaxy S II Android Development] Kashif.Ali:
Included
[Galaxy S II Android Development] hell_lock:
How to add more toggles in it??
[Galaxy S II Android Development] SpaceCaker:
Add new smali and add new resource to lidroid -res.apk

Smali comparison can be done with cm or other rom wich has more toggles
[Galaxy S II Android Development] ICS_XD:
Can we use it in 4.0.3 ?

When i try it was not working..
[Galaxy S II Android Development] Kashif.Ali:
No Status Bar

can you attach smali.zip
[Galaxy S II Android Development] Goldie:
smali.zip??
[Galaxy S II Android Development] fr4nger:
Hello, first thank you for your work, and sorry to bother you, not a lot of English, and do not understand how to make it work in my sytemUI flashlight, only I have this problem, if you were so kind as to guide me I'd appreciate it.

My Cel Model is s5830M
[Galaxy S II Android Development] demis95:
Hello lilidroid, I would like to ask you a question.

I created a theme with uot kitchen but when I install it, the topic will overwrite the icons in the status bar by putting 5 green icons .....

I would like to create a rom and put the 15 toggle or create a interface with uot kitchen ... but I would like to change the color and shape of the toggle ..... is it possible?

Inviato dal mio GT-S5830i con Tapatalk 2

Inviato dal mio GT-S5830i con Tapatalk 2
[Galaxy S II Android Development] faceliler:
when i wat to compile new apk, apktool says me errors on every time :( why
[Galaxy S II Android Development] ciscogee:
You would have to let us see the error, errors can occur for a lot reasons

---------- Post added at 09:03 AM ---------- Previous post was at 09:01 AM ----------

Mod (toggles) your files after u themed them in uot.

Replace icons in quickpanelsettings.apk
[Galaxy S II Android Development] peter_baz:
can someone tell me how to delete the red area? (text and indicator)

i just want that space to be taken by the lower (carier)

i tried to edit power_widget_button and ok i can make them disapear but then i have this epty area:\

iwant the carrier to be exactly under the toggles...
[Galaxy S II Android Development] SpaceCaker:
delete the layout file or change textsize to 0.00000999dip
[Galaxy S II Android Development] peter_baz:
thanks for your answer

yes i did change android:layout_height="0.0dip" for the text and for the indicator and now i just have an empty black space

i want the carrier to take over that space

edit:ok i did it,the png under the toggles was oversized :P
[Galaxy S II Android Development] hypnos17:
how to edit smali? Yorzua links are died..
[Galaxy S II Android Development] Adi_aishiteru:
hello ..is there someone has been succesfully replaced stok power widget button CM9 or CM10 with this Lidroid toggle ?
[Galaxy S II Android Development] SpaceCaker:
yes someone at ace forum has ported cm toggles + cyanmobilex lockscreen tweaks
[Galaxy S II Android Development] cjlallana:
I know it says that this is for Samsung ROMs, but is there any chance that this could be ported to other devices, for example, an HTC Wildfire?
[Galaxy S II Android Development] kazi_rizwan:
+1