[GUIDE] Lidroid Panel (15 Toggles + Brightness Slider)

Search This thread

coolos

Senior Member
Sep 20, 2007
135
131
@tonyskyfall

Really thanks for the guide - works well.

If anyone have trouble with FC in flashlight try my fix (works in my rom for Desire Z):

Go to: SystemUI/smali/com/lidroid/util/LedController.smali

and change (on bottom)

Code:
    const/4 v2, 0x0

   invoke-virtual {v1, v2}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V

    .line 28
    return-void
.end method

to

Code:
#    const/4 v2, 0x0

#   invoke-virtual {v1, v2}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V

    .line 28
    return-void
.end method
 
Last edited:

rocky869

Senior Member
Mar 23, 2010
339
137
Kolkata
Hey can anyone build for HTC desire x dual sim T329w. We have a dedicated thread in HTC desire x general section. We can flash single sim Lidroid toggles but we loose second sim signal icon :(
 

dgupta

Senior Member
Jul 20, 2010
124
14
Any clue how to remove lidroid panel?
:confused:
Sent from my HTC Desire X using xda app-developers app
 

binely

Member
Feb 25, 2015
11
0
.smali edit someone wifiapp I have to add the edited files to qpid.smali gives me force close
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    Here is guide how to add 15 toggles to notification pulldown. All credits going to sk0t, I'm just translate his guide :)

    LIDROID PANEL

    1. Decompile your SystemUI.apk
    2. Download archive from attachments and copy drawable-hdpi(mdpi) and layout folders to your decompiled folder
    3. Open file res/layout/status_bar_expanded.xml and add string
    Code:
     <include layout="@layout/qp_layout" />
    after
    Code:
    <com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
    4. Add strings from strings.xml and arrays.xml to your files in decompiled folder
    5. Compile
    6. Decompile new apk to some newfolder
    7. Copy file newfolder/SystemUI/res/values/public.xml into res/values/ and replace
    8. Delete newfolder
    9. Next take smali folder from archive and put it into SystemUI/smali
    10. Archive contains qp_repl.js script. You must place him near SystemUI folder and execute him. Wait until script will finish his work. You must see "Done"
    11. Build your apk.

    2qscduq.png


    BRIGHTNESS SLIDER

    1. Decompile your SystemUI.apk
    2. Download slider_btn archive and extract smali, drawable-hdpi и layout folders to your decompiled folder
    3. Add string into status_bar_expanded.xml
    Code:
     <include layout="@layout/qp_brightness" />
    after
    Code:
    <include layout="@layout/qp_layout" />
    4. Build


    WARNING! The Flashlight toggle may cause FC in Sense ROMs
    1
    what can I use to decompile the apk? thanks!

    Apktool or Apk Manager. Search on xda.

    xpirt
    1
    I'm trying to add this to HTCdroid. Can someone explain this?


    @tonyskyfall

    open strings.xml from archive , copy lines, then add them to strings.xml to your systemUI.apk
    just take arrays.xml file and put it into values folder