yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Alexban:
I've seen that you only changed the line number. can you tell me how did you know to put that line number? (of course, only if you want/have time)

Regarding the dexopt part, I've done it in a terminal emulator on the phone and didn't got any errors; it's a simple command: dexopt-wrapper sdcard/test/SystemUI.apk /sdcard/test/SystemUI.odex ; after, I've deleted classes.dex from the apk

I'll try it on an deodexed rom too. I have seen some deodexed JVZ roms that have this mod but none for the odexed variant (I had the mod for JVT odexed so, odexed should work...)

---------- Post added at 04:25 PM ---------- Previous post was at 04:04 PM ----------

I think I might be doing something wrong by copying files with root explorer instead of an update.zip. I've tried to revert to stock SystemUI.apk and SystemUI.odex by copying both files tot /system/app -> reboot recovery -> wipe dalvik cache and wipe cache and I still have no status bar... I'll try to make an update.zip to see if it works...
[Galaxy S II Android Development] :
It is the line number that is in the original smali file.

Also during odexing back, don't you need to copy the signature back? I have not done it yet, but I have seen it somewhere.

http://xdaforums.com/showthread.php?t=1208320
[Galaxy S II Android Development] Alexban:
I've used the steps in this post: http://xdaforums.com/showpost.php?p=18953293&postcount=23

I've read that I have to sign the update.zip (witch I din't use) or all apk's if I touch AndroidManifest.xml

I'll check if the rom I use (Simplicity X-MAS Edition) has all apk's signed or not.

All things aside, If I copy original SystemUI.apk and SystemUI.odex to /system/app and reboot why don't I have the status bar?
[Galaxy S II Android Development] Alexban:
you were right about the signature! It worked by following these steps: http://xdaforums.com/showpost.php?p=20785880&postcount=16

I only had to copy SystemUI.odex to /system/app (NOT the apk)

Thank you so much for your help! I'll try to make an update package and post it here maybe someone else needs it.
[Galaxy S II Android Development] :
Glad to be of help.
[Galaxy S II Android Development] shardul_seth:
I would be highly grateful if you could guide the changes required for this mod to be compatible for Samsung Galaxy Ace (if at all possible)

similar values in StatusBarService.smali can be found at two places, line # 836 and line # 900.

But editing them throws error on re-compiling (option 11).

I am attaching the smali file.

Thanks for your time.
[Galaxy S II Android Development] Alexban:
after many tries I've made the CWM zips for installing and uninstalling this mod for Galaxy S I9000 JVZ ODEXED. Once again, thank you sileshnair, Pantrif13 and, of course, LIDROID for this great mod!
[Galaxy S II Android Development] :
Try the attached file. Backup first before replacing SystemUI.apk. Dont forget to include lidroid-res.apk and QuickpanelSettings.apk.
[Galaxy S II Android Development] dead0:
hi silesh, hope u can help with my systemui. not sure what ive done wrong but i too am missing the the status bar. im using a deodexed dxkl3 rom. i was hoping to replace the files with one of jkays htc themes for kl1 but that was a no go probably due to the asian framework as when i replaced the androidpolicy.jar, it just went haywire. but anyways, i have attached my systemui for your attention. many thx
[Galaxy S II Android Development] :
JKay and Lidroid mod do not go together. You can either have JKay or Lidroid mod. Even if they do co-exist, i don't know how to do it.

Note that you have to use the stock framework + android.policy.jar + ext.jar for this to work.

Backup first.
[Galaxy S II Android Development] titipool:
Thanks for the file! :)
[Galaxy S II Android Development] jrocketdroid:
does anyone know if LiDroid mod would work on the Samsung Charge?
[Galaxy S II Android Development] shardul_seth:
Thanks a lot. It worked perfectly!!
[Galaxy S II Android Development] yagolicariao:
Hey guys, have an zip to install with CWM for i9100???

Thanks very much!!!
[Galaxy S II Android Development] :
It should work on most Samsung phones provided you have a quickmenu. Post your systemui.apk/framework-res.apk and I can take a look.
[Galaxy S II Android Development] :
Which firmware? Post the systemui.apk.
[Galaxy S II Android Development] Alexban:
You are welcome. I'm glad others use it :)
[Galaxy S II Android Development] yagolicariao:
Here it is my systemui!!! Thanks man!!!
[Galaxy S II Android Development] dead0:
silesh many thx, that seemed to have worked. i gotta try and see if i could theme this now as im hoping to release a slim DXKL3 rom. this is all kinda new to me:)
[Galaxy S II Android Development] :
You are using stock odexed firmware. Send me the SystemUI.odex file.
[Galaxy S II Android Development] yagolicariao:
Here my systemui.odex!!! THANKS!
[Galaxy S II Android Development] :
:confused::confused::confused:

New year party started early?
[Galaxy S II Android Development] yagolicariao:
Lol, i just uploaded the file. Don't know what happened. Okay, trying again!
[Galaxy S II Android Development] wittanny:
Hi sileshnair,

Could you help me out with my SystemUI.

Thanks in advance.
[Galaxy S II Android Development] marcribe:
Hi sileshnair,

Please, help me too!!!!

This is my SystemUI.apk and SystemUI.odex file (from brazilian UHKI1).

TIA!
[Galaxy S II Android Development] themthitcho:
Please help me!!!

Baseband version I9100XXKI4

Build number XWKK5

Thanks so much.
[Galaxy S II Android Development] yagolicariao:
Still aiting. Thanks!!
[Galaxy S II Android Development] manishdev:
Hi Can you please create this for I9100G
[Galaxy S II Android Development] zamcum:
Hello

Any chance of having one more toggle? It would be interesting to add a Toggle:

"Goto Sleep"

thank you
[Galaxy S II Android Development] dwitherell:
It sure does. I even took on the laborious task of merging all relevant stuffs from lidroid-res into framework-res and changed all the resource ids for a rom-ish thing I put together. That took a bit of time, but all is well now! The mod is awesome - thanks much lidroid!
[Galaxy S II Android Development] :
Why so? Lidroid made this mod so that its easier to do it. All you need to do is modify the SystemUI.apk.
[Galaxy S II Android Development] dwitherell:
Very true, but I wanted to make some xml edits, and those were a no-go with lidroid-res. I also was curious to see if I could pull it off, as it was mentioned as a work-around of sorts a number of times in this thread.
[Galaxy S II Android Development] HSaber:
Will this work with a CM7 rom ?
[Galaxy S II Android Development] :
Doesn't cm7 already have notification Widgets? I don't think it will work.
[Galaxy S II Android Development] Chris X.:
We need help for Samsung Galaxy Note Firmware XXKL8.

I have often tried, but it does not work properly.

The 14 Toogle works but not the external SD card.

It shows me "The SD card violations of security policies" (similär)
[Galaxy S II Android Development] yagolicariao:
Hey Siles, you saw this? Please help me i really need this mod! Thanks!
[Galaxy S II Android Development] Andrewtst:
Hi, lidroid / Sileshnair, I am using I9100G version, is this 14 statusbar toggle working for G version?

I had no idea how to amend on it. My phone is root but running origin firmware. I assume it is still odexed right?

Below is my phone details:

Model: GT-I9100G

Firmware: I9100GDZKJ2

What data I need to send to you for the amendment? Is it SystemUI.apk & SystemUI.odex? I had no idea on signing the modified .apk also.

Appreciate much

your help on making this working for G user.

I attached here my SystemUI. ;)
[Galaxy S II Android Development] efcndi:
Hi Sileshnair,

Could you help me out with my SystemUI.

My phone model: GT-I9100

Build number: DXKL3

Thanks.
[Galaxy S II Android Development] :
For all who are attaching Systemui here, I can do it if its deodexed only. Odexed takes more effort and I need to flash stuff on my phone to get it working.
[Galaxy S II Android Development] :
If you have a deodexed systemui, send me that alongwith framework-res.apk.
[Galaxy S II Android Development] Andrewtst:
Hi, how to deodexed it? At least how to deodexed my phone ROM? I can't find any working deodexed ROM as it seems I9100G is not worldwide release.
[Galaxy S II Android Development] Andrewtst:
I can send you the framework-res.apk but I had no idea on how to deodexed the ROM.

Appreciate any guide or tutorial link.

I know they is a deodexed ROM for i9100G here - http://xdaforums.com/showthread.php?t=1374135 but it has been theming. I want origin deodexed ROM but I can't find.

I do have Android SDK in my PC but I never try deodexed myself, I had no idea where to start, I google but seems not much on what I want. Previously I only did is install MIUI deodexed ROM for my Nexus One. I never try any deodexed myself and not much ROM support on this G version.
[Galaxy S II Android Development] :
Which rom are you using?

Update

: Can you upload all files from your framework folder?
[Galaxy S II Android Development] Andrewtst:
I am using I9100GDZKJ2 ROM which is official latest stock ROM for i9100G user.

Attached here the whole framework folder. ;)

http://www.mediafire.com/?j9fqg33287ybqx2

Let me know if you can't download from mediafire, I can upload to any upload site you prefer.
[Galaxy S II Android Development] :
If you can link me to it, i could try and make a deodexed rom for you. Let me see anyway. I will pm you with the results.
[Galaxy S II Android Development] Andrewtst:
Thanks a lot.

Did you able to download the whole framework folder? Beside this what else you need? ;)
[Galaxy S II Android Development] :
Ok. I got the link to your stock firmware file. I presume you are from malaysia.

I will make a stock deodexed rom for you. If you have any requests like 1% battery hack, ICS animations, CRT on/off, pm me. It will take a couple of hours. Downloading now.

btw, this is where i downloaded the rom from.

Update

: There is a latest version of your rom. Check this link.
[Galaxy S II Android Development] Andrewtst:
Thanks a lot, :D

Correct I am from Malaysia, that is the exact ROM. :) I just need a deodexed stock ROM with this cool 14 toggle with the setting of select which to appear at status bar. :)

Oh, latest seems is I9100GDZKL3, but when I click software updates, it still show no updates available.
[Galaxy S II Android Development] yagolicariao:
So, i'm using the oficial 2.3.6 jamaica rom. This means that i'm unable to use this mod??
[Galaxy S II Android Development] :
No, you can. But you need to know how to convert a deodexed systemui to odexed one using the directions given earlier

Its much easier for a deodexed systemui.
[Galaxy S II Android Development] Andrewtst:
Thanks a lot for your kind help on the systemUI and instruction on odex back. It is working now. :D
[Galaxy S II Android Development] :
I can make a deodexed modded Systemui.apk for you. You have to do the odexing part on your own. Let me know if interested.
[Galaxy S II Android Development] yagolicariao:
So, i'm confuse. If i follow the first post instructions i will get it?

My question in few pages ago is: have a zip file to install with CWM?

Thx!
[Galaxy S II Android Development] :
You are running a odexed rom, right?

The instructions given in OP are for deodexed roms. So what i can do is make a deodexed systemui.apk for you with the mods. You will then need to follow step3 from this link and convert your modded deodexed SystemUI.apk to a odexed SystemUI.apk.
[Galaxy S II Android Development] :
Awesome

Brother Li,

This is unbelievable. Hats off to you. Immensely impressed.

I saw this just in time. I was about to make a custom KI8 rom. I'll let you know if was successful.

Edit

: I saw a few png's of the puzzle lockscreen in the apk file. Are you planning to mod that too?
[Galaxy S II Android Development] lidroid:
I have ported cyanogemMod's lockscreen to my rom. Temporarily puzzle lockscreen is not supported. lidroid-res.apk can be used both in i9000/i9100, so there are puzzle lockscreen's images in it, http://bbs.lidroid.com/t-64568-1-1.html，Sorry for that my website only support chinese.
[Galaxy S II Android Development] :
KI8

Hi Li,

In KI8 release, the lines are as follows. How do i change it?

const v7, 0x7f030003

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

move-result-object v3

.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;

.line 420
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;

I am attaching the full statusbarservice.smali file.

Also the statusbarservice.smali file is inside the SystemUI/smali/com/android/systemui/statusbar folder.
[Galaxy S II Android Development] lidroid:
const v7, 0x303000b

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

move-result-object v3

.end local v3 #qsv:Landroid/widget/HorizontalScrollView;
check-cast v3, Landroid/widget/HorizontalScrollView;

.line 420
.restart local v3 #qsv:Landroid/widget/HorizontalScrollView;
[Galaxy S II Android Development] :
Thanks Li,

I'll let you know if i am successful.
[Galaxy S II Android Development] lidroid:
Good luck!
[Galaxy S II Android Development] :
No luck Li. Same problem as others. No statusbar.
[Galaxy S II Android Development] ladygagaLITE:
:D

u know? u rock!!! babe!!!!!!!!!!!

---------- Post added at 06:25 PM ---------- Previous post was at 06:23 PM ----------

;) hola mrz.... but i dont follow... could u plsssss english??:cool:
[Galaxy S II Android Development] Lg_X_Modderer:
Very Nice work, i love the rottary lockscreen
[Galaxy S II Android Development] lidroid:
if you didn't resign all apks in I9100 ROM, please don't resign SystemUI.apk, you can so do this work after mod StatusBarService.smali:

apktool b SystemUI

zip -uj SystemUI.apk SystemUI/build/apk/classes.dex

zipalign -f 4 SystemUI.apk new-SystemUI.apk

adb push new-SystemUI.apk /system/app/

enjoy!
[Galaxy S II Android Development] :
I have tried both with and without signing. I'll try your method now and see if it works.
[Galaxy S II Android Development] gcrutchr:
Hi Li,

I downloaded your ROM v1.4.0 and extracted the SystemUI.apk and lidroid-res.apk, placed them in the folders you said to place them in, and rebooted my phone (I am on KI3).

Still no statusbar showing at the top.

I looked at your folder structure and I had done exactly what your directions said to do when using my SystemUI.apk.

Any ideas why it's not working?
[Galaxy S II Android Development] lidroid:
Because i resigned apks in my ROM, you should mod your SystemUI.apk without resign it if you don't resign all apks for your ROM.
[Galaxy S II Android Development] :
Whoo hoo - got it to work

Thanks Li,

Got it at last. Was making a basic mistake. Thanks a lot man. Anyway you will add English to your rom?
[Galaxy S II Android Development] lidroid:
my rom has english language :)
[Galaxy S II Android Development] 02ranger:
Probably a stupid question, but can i use this to add a 2g-3g toggle to change it directly, not go to options? If so, how would i do it ? Thanks for posting this, i will be working on it shortly.
[Galaxy S II Android Development] ephumuris:
+1 for this as i constantly turn data of when not in use. I'm a heavy user and if i leave data on i get less than 8 hours!
[Galaxy S II Android Development] 02ranger:
I think it has a data toggle already. What i am looking for is a switch to use only 2g networks or 2g/3g. Data should stay on using this toggle, like cyanogenmod does, and it should not go to the mobile networks settings page. It would be a one click and its done type of thing. I read that android doesn't allow 3rd party access to that API, but since this is a modification of android's own statusbar i hope it will work.
[Galaxy S II Android Development] ephumuris:
Oh sorry yes i understand that. Also another thing i would like though!

Can anyone make this work on KI8? I don't want to resign the full rom and possibly break updating of system apps.

Or can it be shared what files need resigning and what can be left?

---------- Post added at 08:01 PM ---------- Previous post was at 07:25 PM ----------

Just had a look at KI8 and it seems a little different?

const v7, 0x7f030003

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

move-result-object v3

.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;

.line 420
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
iget-object v7, p0, Lcom/android/systemui/statusbar/StatusBarService;->mExpandedView:Lcom/android/systemui/statusbar/ExpandedView;
[Galaxy S II Android Development] lidroid:
thanks for your suggestion, i'll do this work.
[Galaxy S II Android Development] froilson:
Translate lidroid-res y QuickPanelSettings to another language

Hi,

I'm trying to translate de lidroid-res.apk and QuickPanelSettings.apk to Spanish language, but is impossible, for lidroid-res.apk over JVU Rom in Galaxy S I9000, I can't translate anything, always the status bar is hidden and a message is shown.

I'm trying with apkmanager, without sign it, with sign it, with compress with default level or with 0, with zipaling or without but never I success.

Can anybody helpme.

Thanks in advanced.
[Galaxy S II Android Development] :
Lidroid-res.apk cannot be modified by anyone other than Li. This has been mentioned many times in this thread.

Please read.
[Galaxy S II Android Development] froilson:
Thanks.

I read know all the thread, but I can find the version of lidroid-res.apk without text, can you send me to the correct post.

For the translations, Li could you make the changes in the lidroid-res.apk if I send you the strings.xml and arrays.xml in Spanish. Or Are you planning to release your modified version of apktool to the community?

Thanks to all
[Galaxy S II Android Development] efcndi:
hi Andrewts,

i from malaysia and have the same version as u, i have no idea on how to do all this, can u share me ur files for all this 14 icon setting?

Thanks...
[Galaxy S II Android Development] Andrewtst:
I get help from sileshnair - http://dl.dropbox.com/u/15444246/apps/SystemUI.apk. :)

But you need manually odexed back, I think this step dependence on phone itself.

Follow

step 3

here - http://xdaforums.com/showthread.php?t=1208113 for odexed back.

----------------------------------------------------------

If you get it working on DZKJ2, don't upgrade to DZKL3.

DZKL3 troublesome on rooting, I lastly success by change using custom kernel. Now I face another problem, I can't use the modified version from sileshnair, I already ask sileshnair do a new version base on DZKL3 but it remain same FC and no status bar. :(

** Hi, sileshnair, I sincere hope you can look back what the problem on it ;) as I really love to have this 14 toggle function.
[Galaxy S II Android Development] :
I'll take a look later this night. Out for my weekend drink with friends.
[Galaxy S II Android Development] Krendelrus:
Can I get additional statusbar toggle buttons for samsung's ICS roms using this guide (e.g. XXLP2)?
[Galaxy S II Android Development] Andrewtst:
Sure, take your time. :)
[Galaxy S II Android Development] :
The systemui that I sent you is ok. Problem might be with your odexing step.

Did you include lidroid-res.apk?
[Galaxy S II Android Development] Andrewtst:
I do include the lidroid-res.apk and I had try 3 times odexing, 2 times using the provide adb method, some more this time my phone can succesful running all the adb command without any errors, last step I try using my own method.

But all 3 ways I did none is successful. Once reboot, no status bar and FC.

I don't think is my odexed issue, as all adb command show success and I did try 3 times, in previous ROM, only one try and it success.

If your provide .apk nothing wrong, then I had no idea why it won't work.
[Galaxy S II Android Development] ramsheart:
@ Sileshnair

can i requesting help from you ?

im wanna make my own rom, for my own use. using DXKL3.

already deodex SystemUI.apk, decompile it. but i really don't know where the line to modify, the given tutorial in page 1 is different (StatusBarService.smali) with the one from decompiled DXKL3-SystemUI.apk

i attach the SystemUI.apk from deodexed DXKL3
[Galaxy S II Android Development] :
Attached. Dont forget to include lidroid-res.apk and QuickpanelSettings.apk.

Backup before use. I have tested it on KILA2 and it works.
[Galaxy S II Android Development] ramsheart:
aaahh... great.... really2 thank you :)

after comparing, now i see the different.

confirm its working .. hooraaay :p
[Galaxy S II Android Development] hielo_te:
wow this looks amazing !! cant wait to try it ..:-)

i read your thread and most of the posts, i want to add this to my stock rom.

i didn't even start because i didn't really understand how i can change lines in xml ?

i looked up some information on it and i dont really understand it ..

how can i change the lines you ref to ? can i use notepad or should i use something else ? should i sign it or not ? i haven's signed anything and i see there are alot of post regarding that ..

sry if its noob questions ...
[Galaxy S II Android Development] :
Odexed/deodexed?
[Galaxy S II Android Development] hielo_te:
I didnt deodexed, so i guess im odexed... should i deodex?

Sent from my GT-I9100
[Galaxy S II Android Development] :
Easier with deodexed. Else you will have to do the odex process on your own. Read previous posts for explanation.
[Galaxy S II Android Development] dzel:
tested this i cant enter location & security in Setttings..copied all three apks..

attached from stock deodexed systemui..could you take a look again..
[Galaxy S II Android Development] :
Try the attached one. QuickpanelSettings.apk in app folder and lidroid-res.apk in framework folder.
[Galaxy S II Android Development] nintendolinky:
Will the above files work on a stock deodexed XILA2 rom

EDIT: Answer my question, yeah they do, but the status bar toggles don't work, how do I go around fixing that.
[Galaxy S II Android Development] kedai:
Try as I might still can't make it happen.

Asking for another favor silesh. Systemui from la2

http://www.multiupload.com/WZ29LUL4BE
[Galaxy S II Android Development] dzel:
thanks silesh..working great on XILA2!

bouncy effect ext.jar dont work quite well with lidroid mod..that caused my problem..
[Galaxy S II Android Development] :
You must have screwed up somewhere becoz they do work on la2. I am using it ATM.
[Galaxy S II Android Development] :
Already attached a few posts back as reply to dzel.
[Galaxy S II Android Development] nintendolinky:
Yeah sorry mate, finally got them working. Can you check for me though, in the status bar if you add the shutdown toggle with the quickpanel settings.apk does it prompt to shutdown with lidroid ROM info on top.
[Galaxy S II Android Development] :
Yes, it does and you need to edit android.policy. jar to correct it.

http://xdaforums.com/showpost.php?p=18459736&postcount=84
[Galaxy S II Android Development] manishdev:
@ sileshnair

can you make this for the DZKL3 (i9100G) i will attach you the stock apk files if you can do it.
[Galaxy S II Android Development] :
Yup, no problem.