yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] :
Its already been done for ICS roms. Check out the development section for a few roms which have them.
[Galaxy S II Android Development] ElHechicero:
Yeah ... I know .... Criskelo has it , for example. But I don´t see manual to implement for GalaxyS (so far no one has done).

Thanks.
[Galaxy S II Android Development] wanam:
Are you sure?? i think Cris never released an ICS based Rom.

PM EMT9(Legendk95) he was the first to port it, he can help you.
[Galaxy S II Android Development] SpaceCaker:
Thx it worked really cool :)
[Galaxy S II Android Development] michael1982t:
Help.....Not Working

This is not working for me, I get FC's after reboot. I tried to modify my SystemUI.apk according to the instructions of the first post:

1. Download LidroidSystemUI.apk and decompile it whit apktool, then you get LidroidSystemUI dir.

2. Decompile SystemUI.apk, copy LidroidSystemUI/smali/* into SystemUI/smali.

( should be decompile the SystemUI.apk file from your phone )

3. Modify SystemUI/AndroidManifeset.xml, add this code before </Application>

5. Compile SystemUI with apktool, Sign it if you have modify AndroidManifest.xml. Push it into /system/app/

6. push lidroid-res.apk in /system/framework/, push QuickPanelSettings.apk in /system/app, reboot.

My phone: SGS2 LTE HD

Attached is my SystemUI.apk and its odex file inside the attached "MySystemUI.zip"

If someone could quickly make a flashable zip or let me know what's wrong I'd appreciate. Thanks.
[Galaxy S II Android Development] :
You don't need to do the AndroidManifest.xml edit and you missed the main StatusBarService.smali edit. And the directions are for a deoxeded SystemUI. How did you do it?
[Galaxy S II Android Development] michael1982t:
Well the instructions mention that I need to edit the AndroidManifest.xml

I skipped StatusBarService edit as it states "skip this step if your phone has flash" my phone has flash. SGS2 HD LTE.

Deoxeded SystemUI??? I don't follow, my zip file has the oxeded version of the file as well in there. You mean I need to use that file instead? I don't follow ( sorry I am new to all this ).

If someone would just provide me with a flashable zip with this mod that would help ( I'm sure it only takes you guys in here 2 seconds since you've done it before ).
[Galaxy S II Android Development] :
I can do it for a deodexed rom. If you don't understand what deodexed rom means, i am sorry. I will not be able to help you. If you want to know the difference between odexed and deodexed, look here. If you link me to which rom you are using, i might be able to give you more info.

You are supposed to skip the androidmanifest edit part if you have a led flash, not the StatusBarService edit.
[Galaxy S II Android Development] data2318:
looks amazing and works, but how to integrate this in a new rom without this update.zip seperated? No success for just copying lidroid-res.apk in framework folder and copying the other two files in app folder. Any ideas?
[Galaxy S II Android Development] SpaceCaker:
Ok one again

i cant compile

i didnt mod anythin at this one

please once again if someone would love to help thank you :)
[Galaxy S II Android Development] SpaceCaker:
this is just a normal systm appp

-_- apk tool is once again mad -_-
[Galaxy S II Android Development] :
Attached modded apk.
[Galaxy S II Android Development] data2318:
can someone add the mod code to this systemui.apk for me please? I have tried many times and just end up not working in my rom. Really appriciate any helps.
[Galaxy S II Android Development] qkster:
Sileshnair,

Can you help me?

I tried using apkmanager to decompile, changed the script but can't seem to compile.

Error.

this came from stock i997 gb.

Thank you.
[Galaxy S II Android Development] qkster:
Thank you...

I sent a coffee your way.

Confirmation number: 0T199636WA725770Y
[Galaxy S II Android Development] SpaceCaker:
wow thanks again

your great
[Galaxy S II Android Development] Cloud2F:
sileshnair, can you have a look onto my systemui?

its from LPH, ICS for SGS2 (4.0.3) and i also send you a PM.

thank you so much for the great work, youre doing here!
[Galaxy S II Android Development] kuwait:
Hi, can somebody help me with this file from my SGS2 (i9100) - stock rom XWKF3, android 2.3.3

View attachment 907982

When I decompile it there is no smali inside - only res directory and AndroidManifest.xml file.

Meanwhile in LidroidSystemUI every thing is as should be - there is directory smali

I use for decompiling xdaAutoTool with apktool_1.3.2.jar

Is this because rom is not deodexed? I have SystemUI,apk & SystemUI.odex files in system/apk.

Please advise.
[Galaxy S II Android Development] :
Yes. It is becoz you are running a odexed rom.
[Galaxy S II Android Development] shoman94:
To the OP,

Can we get a lidroid-res.apk with no text under toggles in drop down?
[Galaxy S II Android Development] gcrutchr:
If you can provide a little more detail on what actual changes you made in the files, I can try to help.

I am working on this for XXLPH also.

So far I have not checked every file, just the PhoneStatusBar.smali file

So far I have not checked every file, just the PhoneStatusBar.smali file

EDIT: You cannot use "- cd sysui; check res/values/public.xml for exp_power_stat (the id is 0x7f0e00b4)" - this ID value as it is already used.
[Galaxy S II Android Development] kedai:
Yup, the id was autogenerated from ids.xml (when we recompile and decompile again)

initially, i changed PhoneStatusBar.smali only too. but i did a diff and noticed that tw_statusbar_extended.xml was also changed.

i think we're almost there, just the recompiling (last step) that's wrong somewhere coz i tried with working SystemUI.apk from simplistic (lpb) and decompile and recompile again and push to /system/app, and still no status bar.
[Galaxy S II Android Development] data2318:
wow, thanks that works.
[Galaxy S II Android Development] data2318:
Settings.apk

After adding the quick panel I decide to remove the power control panel in the widget list through editing the settings.apk, but phone not booting or ended up in bootloop after I compiled it. Could someone help me to compile this Please? Any helps are appreciated.
[Galaxy S II Android Development] albsat:
So many people asking for 14 icon MOD for LPH version. This means that the Lidroid Patch is simply a necessary option in our phone. Personally I am still looking for someone share this Mod with the community.
[Galaxy S II Android Development] :
http://xdaforums.com/showthread.php?t=1443498
[Galaxy S II Android Development] Schrotty35:
How can i add this in CM9?
[Galaxy S II Android Development] bluestarr:
My I9100 is XXKI3 Stock TW ROM ... seems an odexed rom

cause i found SystemUI.apk and SystemUI.odex in /system/app

and i copied /system/framework to c:\framework

"java -jar baksmali.jar -d c:\framework -x SystemUI.odex "

tried to deodex SystemUI.odex

but not work...:(

anyone can help me...and thanx a lot :confused:

attachments is my SystemUI.apk/SystemUI.odex and /framework
[Galaxy S II Android Development] wanam:
Feel free to get it from my Rom V8.7, i checked with Legendk95 implementation to cleanup my changes.
[Galaxy S II Android Development] :
Its a bit difficult for odexed roms. In simple terms, you deodex SystemUI and make changes.

Then use dexopt wrapper and odex it back. You also need to copy back the signature from the original odexed SystemUI. This step is done on the phone.

Edit

: Attached deodexed SystemUI.apk with mod.
[Galaxy S II Android Development] SpaceCaker:
it works on odexed phone f i remove the.odex of sytemui :p
[Galaxy S II Android Development] bluestarr:
I would try to odex it back later.when i do know how to do this.

and how can i copy back the signature from the original odexed SystemUI, what is the signature,which file should i copy?

finally, thank ur help.
[Galaxy S II Android Development] :
Well, spacecaker says it works by deleting SystemUI.odex file from /system/app folder. Try that. Copy the SystemUI.apk that I attached and delete SystemUI.odex file.
[Galaxy S II Android Development] bluestarr:
I use dexopt-wrapper to odex it and done...

Thank you for help...i got it done.:):):)
[Galaxy S II Android Development] data2318:
How to decompile lidroid-res.apk to mod buttons

I try to decompile lidroid-res.apk to mod buttons to match the theme in the rom I am working on, but can recompile it. Any ideas on how to recompile it? (decompile works , just can't compile back)

---------- Post added at 11:22 AM ---------- Previous post was at 11:19 AM ----------

Thanks for the mod, but the flash light is not working, status bar force close once I use touch the flash light button.
[Galaxy S II Android Development] :
You cannot modify lidroid-res.apk apart from PNG changes. Any other change and you will lose statusbar.

Which phone are you using. You need led flash in your phone for flashlight to work.
[Galaxy S II Android Development] data2318:
The model I have doesn't have camera flash,

The model I have doesn't have camera flash, I just want the flash toggle to give me a bright white screen, could you please mod it again to make it work?
[Galaxy S II Android Development] :
Well, I can do it but you will then have to resign SystemUI.apk and all your system apps with the same key, else your statusbar will FC. No one has got it working AFAIK.

If you want to give it a go, let me know.
[Galaxy S II Android Development] data2318:
OK

OK, so all of them still get fc ? By the way, I would like to know where's the code to change the order of the quick panel. I plan to rebuild something similar to lidroid-res.apk through another way and would like to know.
[Galaxy S II Android Development] rogerscrack:
i cant...

[sileshnair]

I resigned myself to continue .. and tried a lot but I can not do.

I attach the SYSTEM folder and inside contains another 2, App and Framework with unmodified apks deodexed.

Mi phone is Galaxy SCL (gt-i9003) or Galaxy S i9003 - rom stock UBKPD (ARO) 2.3.6

I hope your help, thank you and goodbye!
[Galaxy S II Android Development] charles98:
COuld someone help me to decompile my systemui.apk

COuld someone help me to decompile my systemui.apk? Everytime I get errors, so please help... someone please... by the way, i don't have camera flash, so I need this code mentioned by lidroid:

android:name="com.lidroid.systemui.quickpanel.FlashlightActivity"

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"

android:clearTaskOnLaunch="true"

android:configChanges="orientation|keyboardHidden"

android:launchMode="singleTask" />

But I can't even decompile my SystemUI.apk... If someone can mod it for me it will be fantastic... thank you.
[Galaxy S II Android Development] :
The SystemUI.apk that you provided already has JKay mod included in it. Why do you need lidroid-mod?
[Galaxy S II Android Development] :
Attached modded SystemUI.
[Galaxy S II Android Development] rogerscrack:
The SystemUI.apk has nothing, is the stock. I just did the zip folder with the SYSTEM work.

But I only go up again systemui.apk
[Galaxy S II Android Development] :
This one is stock, not the earlier one you gave me. That had JKay mod in it.

Modded SystemUI is attached.
[Galaxy S II Android Development] rogerscrack:
Ok.. sorry and thank you..
[Galaxy S II Android Development] charles98:
Now the status bar is gone.... is there a better one please?
[Galaxy S II Android Development] :
Dude, what do you mean by better one? I presume you know that you have to resign the SystemUI.apk and all system apps with the same key before trying this.
[Galaxy S II Android Development] charles98:
I did, it just doesn't work by resigning the systemui.apk. And if I resign all apk in app and system, then phone won't even boot.
[Galaxy S II Android Development] M_J_Nazari:
This is a strange result! my status bar is disappeared. [JVU 2.3.6 Official SG1 ROM]

sometime works fine, sometimes no!

when status bar doesn't work, i replace the stock systemUI.apk, the problem is exists too!!!!!

removed all of files that added before, like lidroid-res.apk ,, etc! the Status bar will not appears even with full wipe, i am petrified with this result

any IDEA?

and i want to know, why statusbar don't gives any fc, but it is hide?!
[Galaxy S II Android Development] :
I can't help that. I did what you asked me to do.
[Galaxy S II Android Development] ziroxs:
One stupid question, is it possible to change the colour of lidroid´s status bars?
[Galaxy S II Android Development] :
Statusbar background is not controlled by lidroid mod. It is controlled by SystemUI.apk. So yes, it is possible.
[Galaxy S II Android Development] SpaceCaker:
i saw there where lockscreens in lidroidres.apk

how to enable those ?
[Galaxy S II Android Development] :
That's only available on lidroid rom. It has 4 lockscreen types.
[Galaxy S II Android Development] SpaceCaker:
oh :(

you know where to get sources to enable 4 /6/9/10 lockscreen mod ?
[Galaxy S II Android Development] :
Check kahvitahra's thread on the same topic.
[Galaxy S II Android Development] SpaceCaker:
link ?

:p

srry if i am irritating but couldnt find :p
[Galaxy S II Android Development] :
http://xdaforums.com/showthread.php?t=1291295
[Galaxy S II Android Development] yoelsd:
I need some help modifying My LPH

I took the classes.dex out of my systemUI.apk and Decompiled it using APKtool with no errors.

now, when i look in : com/android/systemUI/statusbar (there is no status)

i don't have a file called StatusBarService.smali, any idea where it hides in ICS ?
[Galaxy S II Android Development] gcrutchr:
It's in the 'phone' folder and is called PhoneStatusBar.smali
[Galaxy S II Android Development] yoelsd:
Hey, thank's for the reply :)

However, i can't seem to find the code in PhoneStatusBar.smali

the closest thing i found is :

Could you point me to the code perhaps ?

thanks so much !
[Galaxy S II Android Development] gcrutchr:
Google changed a lot of code and the places where you modded in Gingerbread are different.

Attached is a SystemUI.apk for XXLPH. Decompile it and compare what you have with this one.
[Galaxy S II Android Development] GenomeX:
excuse for posting there. ;)

my phone is galaxy mini and have a lot's of custom rom with this mod and work perfect !!! i want add this mod for my deodexed stock rom but have problem:

my StatusBarService.smali is different.

have 7 line with this codes: "QuickSettingsView"

and other codes is different too!

i compair code with other galaxy mini custom rom , i am a littel confuse, that roms code is very different ... changed in several lines. :confused:

any one can help me with codes? which lines must be edit.

sorry for my bad english ;)
[Galaxy S II Android Development] :
If GB rom, post your SystemUI.apk here. I'll take a look.
[Galaxy S II Android Development] GenomeX:
thanks man.

my phone is galaxy mini and no any flash light too.

i send twframework and framework too. maybe need it.
[Galaxy S II Android Development] :
There are 2 versions attached. One with manifest edit and one without.

The one without manifest will work but you cannot get flashlight to work. It will FC.

The one with manifest edit has to be resigned alongwith all the system apps on your phone. Else your statusbar will FC. As you may have read in previous posts, no one has got this working yet.
[Galaxy S II Android Development] M_J_Nazari:
Hi, is anyway to edit lidroid-res.apk file?
[Galaxy S II Android Development] :
Nope. No way unless Li gets generous and releases the modded apktool that he uses.
[Galaxy S II Android Development] M_J_Nazari:
Deleted, update the apktool version and now works fine
[Galaxy S II Android Development] dead0:
hi silesh, any chance you can do this for uhlb2? i have attached the systemui.apk many thanks
[Galaxy S II Android Development] :
http://xdaforums.com/showpost.php?p=23020008&postcount=7

Pull it out from the zip file mentioned there.
[Galaxy S II Android Development] clck:
Hi sileshnair,

I can't decomplie SystemUI.apk file from Galaxy Note

Will lidroid mod work on DXLA1 ?

Thanks
[Galaxy S II Android Development] :
I need SystemUI.odex and all files in your framework folder as well.
[Galaxy S II Android Development] clck:
I can upload the entire framework folder. It says too big or some kind of token required to upload?!

Which file(s) you need from the framework folder?

framework.* ?
[Galaxy S II Android Development] :
/system/framework/*.*

Zip it up and upload to mediafire / dropbox and send me the link.
[Galaxy S II Android Development] clck:
Zipped n stored in my server

http://www.scawww.com/scaw/temp/framework.zip

Note: My Galaxy Note is GB 2.3.6, stock, franco kernel, only framework-res.apk is deodex with battery % modded. Singapore
[Galaxy S II Android Development] :
Backup and flash the attachment.
[Galaxy S II Android Development] clck:
Attachment link is invalid
[Galaxy S II Android Development] :
http://dl.dropbox.com/u/15444246/Lidroid_mod/DXLA1_GalaxyNote_Lidroid_mod.zip
[Galaxy S II Android Development] M_J_Nazari:
Hi, i found when you change the SystemUI.apk's signature, you have to change the signature controller from Services.jar package.

you need to modify the

services.jar/com/android/server/PackageManagerService.smali

file. otherwise your modification and status bar doesn't work.

i think it must be write on first post.
[Galaxy S II Android Development] clck:
Coffee Confirmation number: 192208516D824674U
[Galaxy S II Android Development] :
Modify with what? Post the procedure here for the benefit of others.
[Galaxy S II Android Development] mhx:
humm I keep getting no status bar after doing this mod

http://pingthat.com/android/14/SystemUI.apk
[Galaxy S II Android Development] gcrutchr:
Hi Sileshn,

How did you get it to work? What was the basic mistake you said you made?

Thanks,

Gary
[Galaxy S II Android Development] 02ranger:
Oh, ok. I didn't expect you to do all the work. I'm more than happy to fiddle with it until i get it. I just didn't know if it was worth the time. Thanks for all your work on this. It is an awesome tweak.
[Galaxy S II Android Development] :
Li,

if i need to reduce the no of toggles, how do i go abt it? Also if i want to have only 6 and remove scrolling, is that possible to do?
[Galaxy S II Android Development] lidroid:
you should mod lidroid-res.apk/res/layout/quickpanel_quick_settings.xml
[Galaxy S II Android Development] _JKay_:
Wow.. this is great... ill try and add these to JKay Deluxe v12.... and also add recovery and download buttons... thanks!
[Galaxy S II Android Development] lidroid:
Reboot options selection Dialog will be shown when click reboot button, include 3 options: reboot, recovery and download.
[Galaxy S II Android Development] ephumuris:
Any ideas on my previous post? Want to make this work on stock ki8.

Ephumuris
[Galaxy S II Android Development] _JKay_:
Ok... I might do it differently then in my version :)
[Galaxy S II Android Development] lidroid:
please ref http://xdaforums.com/showpost.php?p=18195206&postcount=24
[Galaxy S II Android Development] M_J_Nazari:
Hi lidroid, i run it on SGI I9000

thanks.

is there any way to remove the flash light button?

Edit: if i want to change the buttons order, i must change the values from lidroid-res.apk?

Edit, found the answer from previous posts.

thanks bro.
[Galaxy S II Android Development] 89luca89:
I sent you a PM but probably you missed it xD

SO I post here my question!!:D

I'm trying to compile the Java sources you provided as a separated app

Now You did also separate the drawable/Layout in another apk (lildroid-res.apk)

Now How I have to threat them? Obv if I put simply your source I have errors concerning the non existence of them, I have to put a decompiled "lildroid-res.apk" (so with decompiled xml and png) in the same folder of the app I'm trying to compile?

What to do? (I'm compiling it together with an AOSP rom in the /packages/apps folder)

Thank you!
[Galaxy S II Android Development] M_J_Nazari:
i have a problem with compilling lidroid-res.apk.

when i edit the values from layout folder, phone hangs on Samsug Galaxy s logo... :(
[Galaxy S II Android Development] ephumuris:
Thanks a lot testing now!

Works!

Are you re-signing the apk because my guess is it needs signing...not sure what key though.

Just checked, sign with platform key.

Hmm not sure actually i just modified the quickpanel quicksettings file and signed with platform key and lost statusbar...
[Galaxy S II Android Development] mattern1974:
I did the same thing....no status bar now :-(
[Galaxy S II Android Development] yoderk:
I am also curious as to what your mistake was, I'm stuck at the same spot you were. No statusbar

Edit:

Never mind figured it out! lol
[Galaxy S II Android Development] Army92:
You might want to share your files? I tried it at SGS I9000 too but it fails, no statusbar is showing.
[Galaxy S II Android Development] tonz22:
Hi lidroid..

I use VR3.0 , don't have this line: const v7, 0x7f030002 in SystemUI.apk

(StatusBarService.smali). how can i modify it.

thank you.
[Galaxy S II Android Development] mattern1974:
Has there been any answer on how to remove toggle buttons?

I'm using this on a Captivate and I don't need the Flashlight, Reboot, and Power Off toggles. EDIT: Brightness toggle seems pointless with a Cappy, too. (slide taskbar raises and lowers brightness)

Any help would be appreciated.
[Galaxy S II Android Development] :
Nope. Any edit to lildroid-res.apk results in no status bar. Something to do with resource id's, I heard.
[Galaxy S II Android Development] mhx:
anyone have a working SystemUI.apk for a skyrocket that doesnt break USB connect page?

The instructions dont port over to skyrocket or something. The status bar is gone once I followed the instructions in the first post.

Ive also tried

http://xdaforums.com/showthread.php?t=1367396

Which works, but it breaks the USB connect page.

I tried several things to merge the two systemUI but still get the same results.

I am trying to insert mods to my ROM one at a time cleanly. Plz help

---------- Post added at 09:49 PM ---------- Previous post was at 08:51 PM ----------

OK.. I have fixed this. This how to is missing key info.

As LONG as you dont modify the Modify SystemUI/AndroidManifeset.xml,

"DO NOT SIGN the APK"

Follow Step 4 exactly on the main post. Make sure you paste the right code where it goes. Do it line by line.

apktool if LidroidSystemUI.apk

apktool d LidroidSystemUI.apk

apktool if SystemUI.apk

apktool d SystemUI.apk

cp -R LidroidSystemUI/smali/* /root/crap/SystemUI/smali/

apktool b SystemUI

Now.. You have a NEW SystemUI/dist/SystemUI.apk

I did this in windows using p7zip.

Open each archive (keep em zipped easier)

First open the Original SystemUI.apk remove classes.dex and resources.arsc

Open your new modified SystemUI.apk you just built from SystemUI/dist/SystemUI.apk

Copy the classes.dex and resources.arsc to your Original SystemUI.apk

Push files to Phone., Reboot.

Poof. Magic

Enjoy​
[Galaxy S II Android Development] atlantis.mu:
http://xdaforums.com/showthread.php?t=1531222

possible?
[Galaxy S II Android Development] rogerscrack:
solved

I Solved the problem
[Galaxy S II Android Development] :
I don't understand what you say. You want me to do what?

1% battery mod is not in SystemUI.apk for GB roms. It is in framework-res.apk. In ICS roms, it is in SystemUI.apk.
[Galaxy S II Android Development] rogerscrack:
Wait, I do not need, now if I take the mod you did. No need to edit it, thank you and excuse me
[Galaxy S II Android Development] lactardjosh:
sileshnair - any chance you could mod a deodexed systemui.apk from the AT&T Galaxy Note, as well?
[Galaxy S II Android Development] lactardjosh:
Thank you, sir. Some coffees coming your way, when I'm in front of my computer once again. Thanks so much!

Edit: thanks again! Confirmation number: 52448831TM292432N