yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] imre85:
hi, nice work....but i can't recompile the apk. Can you mod for me?
[Galaxy S II Android Development] pcarvalho:
if someone can help me...

im trying to finalize a brightness bar visibility toggler

cheers
[Galaxy S II Android Development] Toni5830:
You mean like that in the screenshot!?! you can see my systemui.apk but it's not a work of mine..try asking YudhiezChitilieaz

View attachment 1600225

View attachment 1600226
[Galaxy S II Android Development] caroulx:
can anyone help..

my systemui apk..after doing all the guide ask..it become FC..after reboot no FC but no statusbar//:confused:..

Here's my SystemUI and framework-res.apk..

Thx..

Edit:I FIXed Already!..
[Galaxy S II Android Development] Toni5830:
First help request of the year :cool:

My status bar FCs.. http://db.tt/Dp6rPkbp inside this zip there is: original status bar, edited status bar and a logcat (I think it could be helpful)

Tapatalk 2
[Galaxy S II Android Development] mkel91:
How can I translate buttons?
[Galaxy S II Android Development] SpaceCaker:
ADd values-countryname

Translate

Then compile while having twframework-res.apk installed and by apktool.yml

Under ids -1 add -2
[Galaxy S II Android Development] hiej:
I have the same problem... how do you fixed?
[Galaxy S II Android Development] einrae214:
Well how did you do I cant seem to fingure it out. If I just flash the toggle mod it works just fine. But when I go and flash a theme status bar it crash with the result being no status bar. I know its a common question but cant seem to find a answer.
[Galaxy S II Android Development] BohArie:
How to edit lidroid Rom name on shutdown and reboot option pop up windows?? I try decompile it and edit the string.xml inside values/res/lidroid-res.apk.. but when I want to flash it on my phone, my statusbar is FORCE CLOSE...
[Galaxy S II Android Development] SpaceCaker:
Open apktool.yml with notepad

Then under ids

-1

Add

-2

And add twframework-res.apk in framework of apktool (install)

Then strings.xml

Hamster line
[Galaxy S II Android Development] mattern1974:
Thanks for the reply!! I was beginning to think I was totally screwing it up from lack of knowledge.

I did get the scrolling toggles to work but just not with the toggles deletions I wanted.

I'm currently working on a new KJ1 build and I have been trying to get it to the level of Pinnacle from the KH3 Captivate build. I guess I will have to try and compare the files like Watsa hinted to me.

Thank you again!
[Galaxy S II Android Development] netcitizen:
Do share the mods that you made for KI8.

Thanks.
[Galaxy S II Android Development] ephumuris:
Tried and tried again. I can't make edits to the lidroid-res.apk without losing my statusbar.

:(
[Galaxy S II Android Development] M_J_Nazari:
Hi Lidroid

can you describe how we can change the xml files on lidroid-res.apk?

i port it to i9000, i want to remove some toggles and make some customization on Graphic files.

i tried all ways, no succeed....

regards.

---------- Post added at 10:19 PM ---------- Previous post was at 10:01 PM ----------

i tried all ways, but no succeed on lidroid-res.apk.

i need to remove useless toggles and improve the graphic files.
[Galaxy S II Android Development] :
You can edit PNG files. XML edits are not working. Someone informed me that it was becoz Li used resourse id's starting from 0x3 in lidroid-res.apk which is against Google policy. Framework resources have to start with 0x1 or 0x2.

The way out would be to recreate all the resource id's but that would mean changing them in other areas where they are referenced too.

Here is my themed lidroid-res.apk.
[Galaxy S II Android Development] :
APM + CRT + Battery Hack : http://dl.dropbox.com/u/15444246/KI8_CRT%2BBatt_hack%2BAPM.zip

APM + CRT + Battery Hack + 12 Toggle : http://dl.dropbox.com/u/15444246/KI8_CRT+Batt_hack+APM+12Toggle.zip

Blue_Ocean custom theme with APM/CRT/Battery Hack/12 Toggle ( can be seen in the previous post ) : http://dl.dropbox.com/u/15444246/BlueOcean_KI8.zip
[Galaxy S II Android Development] 89luca89:
Hope lidroid can help me :D:D

Rebuilding from java is very important cause it opens the creation unlimited also to stock roms (instead to built from Aosp to have some features)

@sileshn

as always great work :D love your taste! :D
[Galaxy S II Android Development] ephumuris:
Nobody been successful building this from the source or modifying the xml in existing apk? :(
[Galaxy S II Android Development] 89luca89:
Nope I'm trying to build from source (i know how, but hve a little problem) but unsuccessfull

I asked already 2 times without answer...
[Galaxy S II Android Development] yoderk:
Does anyone know how I could extend the quickpanel background all the way to the across the screen. My problem is when I add a transparent background I get the transparency on the right or left hand side or the panel, the part that indicates to slide. If I leave the regular background up it looks fine. Thanks in advance!
[Galaxy S II Android Development] Siberian Tiger:
Hi sileshn are these for KI3 firmware or KI8?

Thanks :)
[Galaxy S II Android Development] theXeffect:
thats for ki8..

:(
[Galaxy S II Android Development] MikeyMike01:
This is pretty unfortunate you can't edit the .apk. The default order is baffling, and the reboot and shutdown options have no business being there.

I've tried several things and am no closer to getting it to decompile and recompile correctly. Hopefully someone can get this squared away.
[Galaxy S II Android Development] gcrutchr:
The problem is the way the OP made the lidroid-res.apk. He is using a modified apktool which allows him to use 0x03?????? as a resource id instead of the standard 0x7f?????? resource id. The standard apktool won't compile the file lidroid-res.apk properly unless you use his modified one.

It would be nice if he would provide the modified one so devs could modifiy the apk file.
[Galaxy S II Android Development] Cozmo1:
It would definitely help us in making changes we'd like to make to it. lidroid, great job on this. You mentioned in the op that you'll work on providing an apk that'll let a user change toggle order and visibility if you have time. Will this still be a possibility?
[Galaxy S II Android Development] MikeyMike01:
So what if you change the references in the SystemUI.apk from 0x03 to 0x7f?

Sent from my SGH-i777
[Galaxy S II Android Development] lidroid:
please download newest files, you can make customizable 14 toggle buttons.
[Galaxy S II Android Development] sicopat:
I cannot compil back SystemUI.apk after copying content of lidroidSystemUI using APK_manager : idx and public.xml are overwrited and missing many entries ...
[Galaxy S II Android Development] alesscam:
hi sileshn

Can you explain me where i can rename the toogle in my languages?

Sent from my GS2 with Tapatalk
[Galaxy S II Android Development] GadgetCheck:
Now the only thing left to do is link each toggle to its respective settings menu :D

Been studying the Smali codes

Only one word "superb"
[Galaxy S II Android Development] kudoluffi:
how to add wifi hotspot?? i just have 14 toggle
[Galaxy S II Android Development] Rav_Singh:
This is not working on my ROM !!!

I tried many times but I cant do it. I am attaching my systemUI.apk .

please can anyone take a look?

Thanks!
[Galaxy S II Android Development] coolbud012:
Can we port these to other manufacturers. Also to my small device like Galaxy Mini?

Sorry if this question has already been asked because there are around 79 pages and can go through all of them.

Thanks
[Galaxy S II Android Development] Ganesh A:
You don't need to port because almost all custom roms use lidroid's toggle mods!

This is nothing but the extended list of toggle options in the notification bar...

---- by ----

Ganesh,

R.C. @ XDA
[Galaxy S II Android Development] Smantanasiceapa:
work on any rom of galaxy s2? Like

[ROM][LS8][23.03]Custom Stock ROM 4.1™ Edition (Codename: ETERNITY)
[Galaxy S II Android Development] ciscogee:
http://xdaforums.com/showthread.php?t=2181597

[GUIDE][TOOL][WIN] Port Lidroid Toggles for absolute NOOBs
[Galaxy S II Android Development] Goldie:
That wont work ;)
[Galaxy S II Android Development] ciscogee:
Y not?
[Galaxy S II Android Development] Goldie:
Cos the rom he asked about is i9100 jb and needs different files changing
[Galaxy S II Android Development] ciscogee:
Oic now, yeah that link is a gb mod :)
[Galaxy S II Android Development] Rav_Singh:
Can this be used on my samsung galaxy ace duos ? I know a custom ROM that uses it but I Don't like that ROM. I want to port this on my stock ROM 2.3.6 . So help me please ? Nobody replied to my earlier posts.
[Galaxy S II Android Development] SpaceCaker:
Sure

U could also check that systemui.apk

To see where an what difference there actualy is between the orig code and code used for duos
[Galaxy S II Android Development] Rav_Singh:
I tried to port this on the stock ROM but after decompiling systemui.apk I found that the smali folder did not exist:confused:

What do I Do ?

Sent From My Samsung Galaxy Ace Duos S6802
[Galaxy S II Android Development] Goldie:
Smali folder has to exist. Its impossible for it not to. Either it crashed decompiling or you only extracted it and didnt decompile
[Galaxy S II Android Development] Deadly:
You sure its a deodexed stock rom? You don't have any systemui.odex file right?

If it has odex file.. then deodex it.. then try to decompile.

____________________________________

"The world we have created is a product of our thinking; it cannot be changed without changing our thinking."-Albert Einstein
[Galaxy S II Android Development] Toni5830:
Is your firmware deodexed??

TapaTalkato da me
[Galaxy S II Android Development] Rav_Singh:
I dont think it is deodexed :what:

So how to I deodex?

Sent From My Samsung Galaxy Ace Duos S6802
[Galaxy S II Android Development] Deadly:
There are many guides for deodexing.. you can use dsixda kitchen.. I have written a guide for it.. if you want to read.. its in my sig.

Or get it from my profile.. threads started by user..

____________________________________

"The world we have created is a product of our thinking; it cannot be changed without changing our thinking."-Albert Einstein
[Galaxy S II Android Development] Typhus_:
Hello!

First of all I want to thank lidroid for his excelent work.

Now, I'm trying to build my own custom ROM. I've been trying to flash the rom with lidroid-res.apk on the framework folder and the altered systemui.apk on the app folder. After flashing it, my result is...no status bar.

However, if I remove lidroid-res.apk and replace the altered systemui.apk for an unaltered systemui.apk I'm able to flash my custom ROM with no issues. After booting the phone, I turn it off and then I flash the "toggles" through recovery. Everything's great.

Does anyone knows what could I do in order to get this to work while flashing the ROM, instead of having to flash it, then turn off the phone and then flash the toggles?

Thanks for any help you may provide.
[Galaxy S II Android Development] patelkishan1985:
just a question...........

i have a froyo firmware.....................

i liked this toggles..........

i have framework-res.apk and twframework-res.apk...........

what i need to do........

do i neeed to paste the smali files of lidroid.systemui files in services.jar .....................and do i need to change any code.............

please help me.......

thnkyou
[Galaxy S II Android Development] willtryall:
can anybody help pls

what i have to change, if i want 6 visible toggles, instead of 5 ?

I´m on MS1 Jelly Beand deodex

thx
[Galaxy S II Android Development] ryan_joshua:
Originally Posted by sicopat@xda

To have 6 visible toggles : edit : SystemUI/smali/com/lidroid/systemui/quickpanel/PowerWidget.smali

change :

Code:

.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x5

to

.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x6

Code:

div-int/lit8 v2, v2, 0x5

to

div-int/lit8 v2, v2, 0x6
[Galaxy S II Android Development] Asmy Yuh:
i if do this the toggle text will become 2 line or not? or they will adjust text size?
[Galaxy S II Android Development] SpaceCaker:
they will just be like normal

to adjust text u can modify in layout
[Galaxy S II Android Development] Asmy Yuh:
which xml file in layout folder?
[Galaxy S II Android Development] SpaceCaker:
inside lidroid res .apk

do add

unders

ids

-1

add

-2

the layout is powerwidget
[Galaxy S II Android Development] kid1519:
thanks you very much but my path:

i have not QuickSettingsView

I ATTACH FILE and i hope you see them

they are my StatusBarService.smali

Can you helo me, please.

i am watting for you, my love :D

^^
[Galaxy S II Android Development] azhar.munshi:
i had changed android manifest.xml

below are changes can u confirm its okay or not

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

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

android:clearTaskOnLaunch="true"

android:configChanges="orientation|keyboardHidden"

android:launchMode="singleTask" >/application>

please reply its proper or not
[Galaxy S II Android Development] rsabaybay:
is it possible to apply it on AOSP 2.3.7
[Galaxy S II Android Development] encik_racun:
Can add this to stock ics rom?
[Galaxy S II Android Development] encik_racun:
Anyone? Ics?
[Galaxy S II Android Development] zalzondabuzz:
You can try this..

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

but i'hvnt been succes for my tablet :mad:
[Galaxy S II Android Development] encik_racun:
I read that earlier...hmm, this phone got to much custom roms but no one manage to do a "how to add lidroid quick panel" to it?
[Galaxy S II Android Development] encik_racun:
No other choice accept using custom rom? Akrhhhh
[Galaxy S II Android Development] Goldie:
Well as you're wanting customisation and dont seem able to do it yourself why is a custom rom so bad for you?
[Galaxy S II Android Development] encik_racun:
I can compile it but dont know which line to edit :(

Edit: custom rom usually to much mod, i just want the toggle...with zero other modification
[Galaxy S II Android Development] jatin3:
i am try 7 to 8 times but getting fc pls someone help me to modify it i will appreciate him :crying:
[Galaxy S II Android Development] Goldie:
Better to post a log to get some help and try to fix it yourself. Giving up doesn't teach you anything ;)
[Galaxy S II Android Development] jatin3:
ya i know pls help modify my systemui pls pls:D

i will thankyou bro
[Galaxy S II Android Development] Goldie:
Like I said....post logs of your errors
[Galaxy S II Android Development] :
Delete
[Galaxy S II Android Development] :
How did you do it????I can't seem to get it working????Pls help me out here!!!!
[Galaxy S II Android Development] limyuyang:
I followed all your method and guess what happen to my device ?

My device has no status bar, the status bar is gone and the systemui.apk keep crashing and a lot of apps are crashing including root explorer and now I can't move my original systemui.apk to system/app, and I'm forced to restore nandroid backup, what a sad case. :crying:
[Galaxy S II Android Development] Djole-97:
well it seems that lots of ppl(including myself) have the 'Missing status bar' issue, and i think it would be great if some1 decide not to be so selfish and post the soultion , i say selfish cuz lots of ppl seem to have solved the problem yet they just say ' no problems , I finaly got it ', 'check ur pm' ....
[Galaxy S II Android Development] Goldie:
Without meaning to sound rude....missing statusbar means ui force closed. That could be a multitude of things so there is no one "solution".

So....if people would do what modders should do and use logcat to post logs maybe people will get help. Just a thought..... :rolleyes:
[Galaxy S II Android Development] Djole-97:
yeah ik , but if those ppl spared 5 mins of their time to explain how they make it work it could still possibly help some1 :/

EDIT: Ok , i finnaly made it work . Seems like i was too sleepy to read the compactibillity of the guide (thats why the numbers werent even close ) . Well i found this one working http://xdaforums.com/showthread.php?t=1940774 ( its for galaxy y pro duos , y duos and ace users)
[Galaxy S II Android Development] giew13:
how to make 14/15 toggles without lidroid.apk?

i've been looking for this one and i don't even find it out
[Galaxy S II Android Development] SpaceCaker:
Put all images and IDs and layouts stings etc inside you're systemui.apk

and in Every smali file

Recorrect the Const values tothe public id ones of systemui
[Galaxy S II Android Development] giew13:
well, ok sir i will try it

i've ever try to make it by comparing other statusbar that without lidroid but my statusbar was force close i don't know what's wrong lol

anyways thank you sir
[Galaxy S II Android Development] Goldie:
You need to use logcat or you will never know what's wrong. Also... If you're just gonna use lidroid files why are you intent on not using lidroid-res? You won't gain anything apart from a ton of work
[Galaxy S II Android Development] giew13:
yeah i knew it but i wanna try it and i wanna make it by myself :D

i hope somebody will make a guide how to make it :)
[Galaxy S II Android Development] Goldie:
But youre not doing anything by yourself. The only difference is where the resources would be loaded from!
[Galaxy S II Android Development] giew13:
yeah i knew it. thanks anyways, i'm so sorry if i make u bother cause my stupid question
[Galaxy S II Android Development] Goldie:
Doesn't bother me mate. Just didn't understand why you wanted to make yourself work for no gain
[Galaxy S II Android Development] Dekill93:
hy all ... I managed to add 14 toggle but I want to add 1 toggle again ... what should I do? if somebody has a tutorial?
[Galaxy S II Android Development] MarXhack-TN:
thanks good job

great job but didnt work for me

please help i have those problemes

i cant decompile systemUi with apktool ( last version )

and my systemeUI is located in app-prv not app

so what to do i really nead this MOD
[Galaxy S II Android Development] Troubadour666:
according the title thread, this customization is for Samsung ROM, i mean 4.1.2 JB rom, not for 4.4.x rom like it seems you have. maybe you can try to adapt for your rom, why not.

and if you want to decompile your actual systemui.apk, try this thread :

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

thanks.
[Galaxy S II Android Development] qromwel:
great tutorial.i tried it today and i've successfully added the 14 toggles to my stock statusbar.but am unable to fix the flashloght using this guide so i jx want to ask,if there is an error in the codes u hv given above.because i cant find those codes when i search for them in my smali.
[Galaxy S II Android Development] :
At present not possible becoz you need to decompile lidroid-res.apk to add your language strings.

Decompiling ain't working.
[Galaxy S II Android Development] :
You had no errors after decompiling. No out of strings error? Did you check the log file after decompiling?
[Galaxy S II Android Development] sicopat:
nope :

--------------------------------------------------------------------------
|15/10/2011 -- 19:03:30,91|
--------------------------------------------------------------------------
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
Impossible de trouver C:\Apk_Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedlidroid-res.apk
Impossible de trouver C:\Apk_Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedlidroid-res.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Seb\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

And can you help me ?
[Galaxy S II Android Development] :
Send me your SystemUI.apk.
[Galaxy S II Android Development] sicopat:
Thanks, Here is my SystemUI.apk (not official one) : http://www.multiupload.com/D4YWGN6EUR

and i give ou too my 1.apk and 2.apk :

http://www.multiupload.com/O6SN7SXZVX

http://www.multiupload.com/0LB8INSOW2

But i would like to understand how it is possible to recompile SystemUI with the new files (lidroidSystemUI) WITHOUT errors :confused:

With first version, I had no problem (only smali files where added 1 smali file to modify)

In this new version, /res is modified too and overwrite public.xml and idx.xml and a bunch of error during recompilation

Thanks for your help
[Galaxy S II Android Development] GanGs_KiD:
Me too :( ...........
[Galaxy S II Android Development] lidroid:
copy LidroidSystemUI/smali/com directory into SystemUI/smali.
[Galaxy S II Android Development] :
You dont need to modify /res as per Li's instructions. He has asked to add only the com folder from LiSystemUI.apk.

Also you should not overwrite the xml files. If you overwrite, you delete the existing values from the xml file. You have to add the values manually to the respective xml files.

This one is without the /res values entered. Next i will send you one with the values added.

http://dl.dropbox.com/u/15444246/SystemUI.zip

Update

: looking at Li's post, i dont think you need to add /res. Let me know if you want it anyway.
[Galaxy S II Android Development] GanGs_KiD:
Thank you :p

Please can you see "0x3030003" is it right ?
[Galaxy S II Android Development] sicopat:
Many thanks :)

if it is just lines to add to public.xml, with correct hex number, i should succeed :)

it wasn't clear in first post : copy LidroidSystemUI content in SystemUI folder ...

So what is the purpose of entering new values in /res (is there a diff bitween adding them or not, for ex use of the apk ?)
[Galaxy S II Android Development] :
Maybe its required for his rom, not others. Li has to clarify this one.
[Galaxy S II Android Development] sicopat:
I can't use QuickPanel Settings : FC when pressing Widget buttons or Widget button order :confused:
[Galaxy S II Android Development] yoderk:
+1

10 char
[Galaxy S II Android Development] lidroid:
sorry, I have uploaded the QuickPanelSettings.apk again, please downloaded it.
[Galaxy S II Android Development] sicopat:
Thanks, all is perfect now :)
[Galaxy S II Android Development] 89luca89:
lidroid I asked while ago some questions about the compiling

can you kindly respond me?

I really wan tto use this mod, but I cannot integrate and mod as I want if you cannot help me, then the java source is needless if I cannot use it,...
[Galaxy S II Android Development] lidroid:
can you succeed to add this mod if you follow the steps?
[Galaxy S II Android Development] 89luca89:
surely!

The problem is in compiling from java source

back in the thread I explained the problem!
[Galaxy S II Android Development] lidroid:
modify layout is needless now, you can use QuickPanelSettings.apk to customize toggle buttons.
[Galaxy S II Android Development] sicopat:
Hi Lidroid, really good work !!

I have now a force close "Failure on Camera" when opening stock Camera.apk

I didn't have this problem using first 12 toggles version.
[Galaxy S II Android Development] pongster:
Looks like its connected to enabling the flashlight toggle. unticking that will make stock camera work again. Not sure what changed in there, code wise to make that happen.
[Galaxy S II Android Development] sicopat:
Thanks Pongster,

But i first version, i hadn't FC on camera with the flashlight toggle ... ?
[Galaxy S II Android Development] pongster:
Yeah, no FC on first 12 toggle version. Maybe the code to call the led in 14 toggle has changed? let's wait for what lidroid says regarding this. :)
[Galaxy S II Android Development] lidroid:
sure for newest LidroidSystemUI.apk?
[Galaxy S II Android Development] sicopat:
Yes, for me. But i finaly copied all smali folder /com and /lidroid

And replaced entries in public.xml and idx.xml

And adding main.xml

Perhaps it is why i had this Bug ?
[Galaxy S II Android Development] pongster:
Yes. Sicopat and I are using the same base. It seems to happen only after running flashlight or when its there as a toggle...