Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,743 Members 43,811 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] 4.2 Quick Panel with Lidroid Toggles & Volume Sliders

Tip us?
 
akash akya
Old
(Last edited by akash akya; 3rd August 2013 at 03:19 PM.)
#1  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
Default [GUIDE] 4.2 Quick Panel with Lidroid Toggles & Volume Sliders

Who want 4.2 quick panel



Credits :
* 4.2 quickpanel was originally made by RT @SpaceCaker Here without him no-quickpanel
* Wonderful guide for AOSP ROMs about Lidroid... which helped me lot, its by @Adi Aisiteru Reborn his guide here
* @XDA.AGM for this... toggles in panel view was not possible if didnt supported by giving his mod
* Lidroid Toggls for samsung Lidroid & for jb Wanam
* Lidroid Toggls port for non-samsung roms is made by Recognized themer @serajr for grid view
* @bsuhas for new method for quick panel mod
* My friend @BOND1987 is also encouraged me
* My friend @Akhilendra1711 for animate collapse methods
* My friend @khan_frd2002 for helping me in updating thread


* Tested with MTK 4.1.1 must work with AOSP based 4.1.1 roms *

Q : there is already a guide for quickpanel and lidroid, why you made new thread ??
A : well, combining both is different from doing them separately... also lidroid files and quick panel files i have given is different from given in those guides...




more screenshots :
 



If you have any questions or suggestions feel free to ask... If you get any part working, post back with screenshots and device name

Things needed :
* You MUST know how to decompile & compile .jar files and .apk files
* Text editor
* SystemUI.apk

PART 1 : setup 4.2 quick panel view

if you already followed guide by Spaecaker and got it working, skip this step and follow 2nd step

Step 1 : decompile systemui.apk and open ststus_bar.xml... for MTK devices its gemini_status_bar.xml..... find
Code:
Select Code
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
add this code below it..
Code:
Select Code
<com.android.systemui.statusbar.StatusBarServiceLRPull android:layout_width="fill_parent" android:layout_height="wrap_content">
find
Code:
Select Code
<LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="2.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
add this code above it..
Code:
Select Code
</com.android.systemui.statusbar.StatusBarServiceLRPull>


Step 2 : Open status_bar_expanded (for MTK gemini_status_bar_expanded.xml),

Delete this line :
Code:
Select Code
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
find
Code:
Select Code
 <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
add this line above it..
Code:
Select Code
    <com.spacecaker.SpaceLayOut android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
            <include layout="@layout/quickpanel_quick_settings_space" />
        </LinearLayout>
find, this
Code:
Select Code
            <ScrollView android:id="@id/scroll" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginTop="115.0dip" android:layout_marginBottom="8.0dip" android:overScrollMode="ifContentScrolls">
                <com.android.systemui.statusbar.policy.NotificationRowLayout android:layout_gravity="bottom" android:id="@id/latestItems" android:layout_width="fill_parent" android:layout_height="wrap_content" systemui:rowHeight="@dimen/notification_row_min_height" />
            </ScrollView>
        </FrameLayout>
add this lines below it
Code:
Select Code
    </com.spacecaker.SpaceLayOut>
find :
Code:
Select Code
 <com.spacecaker.SpaceLayOut android:layout_width="fill_parent"
add this above it :
Code:
Select Code
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
        <include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />
    </LinearLayout>

Step 3 :open StatusBar_Expanded_Header.xml search for
Code:
Select Code
<ImageView android:id="@id/settings_button" android:layout_width="48.0dip" android:layout_height="48.0dip" android:src="@drawable/ic_notify_quicksettings" android:scaleType="center" android:contentDescription="@string/accessibility_settings_button" />
add this below it :
Code:
Select Code
<com.spacecaker.ButtonBurst android:id="@id/spacebuttonburst" android:layout_width="30.0dip" android:layout_height="30.0dip" android:layout_alignParentRight="true" />


Step 4 : open res/values/ids.xml add these at the end
Code:
Select Code
<item type="id" name="spacebuttonburst">false</item>
save all and add these files in corresponding folders :
Download files here



Step 5 : compile and decompile compiled systemui.apk , open smali/com/spacecaker/ButtonBurst.smali
find const v3, 0x7f020180 replce with your id found in public.xml, search for <public type="drawable" name="btn_toggles_normal" next to it you will find id..


same way find const v3, 0x7f02017f replace id found in public.xml, search for <public type="drawable" name="btn_tg"



Step 6 : open smali/com/android/systemui/SystemUIService.smali
add this at the end :
Code:
Select Code
.method public onClickPanelMethod(Landroid/view/View;)V
    .locals 11
    .parameter "v"

    .prologue
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    :try_start_0
    const-string v3, ","

    invoke-virtual {v5, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v6

    const/4 v4, 0x0

    aget-object v4, v6, v4

    const/4 v7, 0x1

    aget-object v7, v6, v7

    invoke-virtual {v0, v4, v7}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 v2, 0x1000

    invoke-virtual {v0, v2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    const-string v1, "statusbar"

    invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/StatusBarManager;

    invoke-virtual {v0}, Landroid/app/StatusBarManager;->collapse()V

    return-void

    :catch_0
    move-exception v0

    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    const-string v10, "Failed to execute action :\n"

    invoke-virtual {v10, v5}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    const/16 v9, 0x7d0

    invoke-static {p0, v5, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v8

    invoke-virtual {v8}, Landroid/widget/Toast;->show()V

    goto :goto_0
.end method


Step 7 : save and compile.... flash/push test whether its working before adding toggles...
The Following 29 Users Say Thank You to akash akya For This Useful Post: [ Click to Expand ]
 
akash akya
Old
(Last edited by akash akya; 1st August 2013 at 11:20 AM.)
#2  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
how to add new toggles to launch apps

open quick quickpanel_quick_settings_space.xml
to add toggle to launch app, just add
Code:
Select Code
<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings$AudioProfileSettingsActivity" android:background="@drawable/suvi_border_background" android:layout_width="120.0px" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onSuviClickGenericFailOver">
note : the red code corresponds to package,activity name...
to get activity and package name, open app you want to add AndroidManifeast.xml you will get package name with package= tag
ex : for settings
Code:
Select Code
<manifest android:sharedUserId="android.uid.system" android:versionCode="16" android:versionName="4.1.1-eng..1364989609" package="com.android.settings" coreApp="true"
activity name can be found by searching activity tag ex: for Wifi settings,
Code:
Select Code
<activity android:label="@string/wifi_settings" android:name="Settings$WifiSettingsActivity" android:clearTaskOnLaunch="true" android:configChanges="keyboardHidden|orientation|screenSize" android:parentActivityName="Settings">
finally it will look like :
Code:
Select Code
<FrameLayout android:id="@id/settings_button" android:tag="com.android.settings,com.android.settings.Settings$WifiSettingsActivity" android:background="@drawable/xyz" android:layout_width="120.0px" android:layout_height="100.0px" android:layout_weight="1.0" android:onClick="onSuviClickGenericFailOver">
also put corresponding image in drawable here xyz
The Following 13 Users Say Thank You to akash akya For This Useful Post: [ Click to Expand ]
 
akash akya
Old
(Last edited by akash akya; 2nd August 2013 at 12:21 PM.)
#3  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
Default PART 2 : add lidroid toggles

PART 2 : add Lidroid Toggles to QuickPanel

You must have working Quick panel view before trying this mod... follow first step to add quick panel view

You may also try.... @BOND1987 guide here for them who have already implimented lidroid in normal view thanks to him... (y)

step 1 : decompile systemUI.apk, merge the files i have given...
goto : res/values/ids.xml add these at the end :
Code:
Select Code
<item type="id" name="power_widget_button_text">false</item>
<item type="id" name="power_widget_button_indic">false</item>
<item type="id" name="power_widget">false</item>
<item type="id" name="automatic">false</item>
<item type="id" name="power_widget_button">false</item>
<item type="id" name="power_widget_button_image">false</item>
goto : res/values/strings.xml add these at the end
Code:
Select Code
    <string name="usb_connected_txt">USB connected</string>
    <string name="quickpanel_wifi_text">Wi-Fi</string>
    <string name="quickpanel_dc_text">Data</string>
    <string name="quickpanel_network_mode_text">Network</string>
    <string name="quickpanel_sound_text">Sound</string>
    <string name="quickpanel_sound_vibration_text">Sound vibration</string>
    <string name="quickpanel_silent_text">Silent</string>
    <string name="quickpanel_vibration_text">Vibration</string>
    <string name="quickpanel_rotation_text">Rotation</string>
    <string name="quickpanel_bluetooth_text">Bluetooth</string>
    <string name="quickpanel_gps_text">GPS</string>
    <string name="quickpanel_autosync_text">Auto Sync</string>
    <string name="quickpanel_brightness_text">Brightness</string>
    <string name="quickpanel_screen_timeout_text">Timeout</string>
    <string name="quickpanel_lockscreen_text">Lockscreen</string>
    <string name="quickpanel_airplane_text">Flightmode</string>
    <string name="quickpanel_flashlight_text">Flashlight</string>
    <string name="quickpanel_reboot_text">Reboot</string>
    <string name="quickpanel_shutdown_text">Shutdown</string>
    <string name="airplane_mode">In Flight mode</string>
    <string name="shutdown_confirm">Your phone will shut down.</string>
    <string name="screen_timeout_seconds">Screen timeout set to: %d second(s)</string>
    <string name="screen_timeout_minutes">Screen timeout set to: %d minute(s)</string>
    <string name="screen_timeout_hours">Screen timeout set to: %d hour(s)</string>
    <string name="hamster">Phone Options</string>
    <string name="yes">OK</string>
    <string name="no">Cancel</string>
    <string name="reboot">Reboot</string>
    <string name="reboot_recovery">Recovery</string>
    <string name="reboot_download">Download</string>
    <string name="quickpanel_nfc_text">NFC</string>
    <string name="quickpanel_wifi_ap_text">Wifi AP</string>
    <string name="quickpanel_lockscreen_action_text">Lock Now</string>
    <string name="quickpanel_androidbeam_text">Android Beam</string>
    <string name="brightness_settings_automatic">AUTO</string>
    <string name="brightness_settings_title" />
    <string name="quickpanel_usb_debugging_text">USB Debugging</string>
    <string name="quickpanel_usb_connection_mode_text">USB Conn. Mode</string>
    <string name="quickpanel_usb_current_mtp_title">Current mode: MPT</string>
    <string name="quickpanel_usb_current_msc_title">Current mode: MSC</string>
    <string name="usb_mpt_mode">MPT - Media Transfer</string>
    <string name="usb_msc_mode">MSC - Mass Storage</string>
    <string name="quickpanel_stay_awake_plugged_text">Stay Awake</string>
    <string name="quickpanel_battery_info_text">Battery Info</string>
    <string name="battery_info_info">Battery Information</string>
    <string name="battery_info_usage">Battery Power Usage</string>
step 2 : open smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
find :
Code:
Select Code
.field mPostCollapseCleanup:Ljava/lang/Runnable;
add this below it :
Code:
Select Code
.field mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;
Next find this method
Code:
Select Code
# virtual methods
.method public addIcon(Ljava/lang/String;IILcom/android/internal/statusbar/StatusBarIcon;)V
and Add the blue code above .return-void

Code:
Select Code
invoke-virtual {v1, v0, p3, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

    invoke-virtual {v1}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->updateWidget()V

    .line 826
    return-void
.end method
step 3 : find line similer to these
Code:
Select Code
    new-instance v11, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

    iget-object v12, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

    invoke-direct {v11, p0, v2, v12}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

    iput-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
above it you will see some thing like this,
Code:
Select Code
    iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

    const/4 v12, 0x0

    invoke-virtual {v11, v12}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V
red lines may be different i your case..

add blue lines to give it the form , edit red colored variables to match using green line:
Code:
Select Code
iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mScrollView:Landroid/widget/ScrollView;

    const/4 v12, 0x0

    invoke-virtual {v11, v12}, Landroid/widget/ScrollView;->setVerticalScrollBarEnabled(Z)V

    iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    .line 444
    const v12, 0x7f0c00e9

    invoke-virtual {v11, v12}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    .line 445
    move-result-object v11

    check-cast v11, Lcom/lidroid/systemui/quickpanel/PowerWidget;

    iput-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

    .line 530
    new-instance v11, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

    iget-object v12, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

    invoke-direct {v11, p0, v2, v12}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

    iput-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;

step 4: find lines similer to this :
Code:
Select Code
    iget-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisplayMetrics:Landroid/util/DisplayMetrics;

    iget v11, v11, Landroid/util/DisplayMetrics;->heightPixels:I

    iget-object v12, p0, Lcom/android/systemui/SystemUI;->mContext:Landroid/content/Context;
add these line above
Code:
Select Code
    iget-object v1, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPowerWidget:Lcom/lidroid/systemui/quickpanel/PowerWidget;

    invoke-virtual {v1}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
step 5: open quickpanel_quick_settings_space.xml
edit it to look like this :
Code:
Select Code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
       <com.lidroid.systemui.quickpanel.PowerWidget android:layout_marginTop="50.0dip" android:id="@id/power_widget" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" />    
	   <ScrollView android:id="@id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:overScrollMode="never">
compile and decompile to get public ids..

Step 6: Open : res/values/public.xml keep it open, then open com/android/systemui/statusbar/phone/PhoneStatusBar.smali
search : 0x7f0c00e9 replece with id you got with <public type="id" name="power_widget"

open all smali found in smali/com/lidroid/systemui/quickpanel/
search for
Code:
Select Code
0x7f
find the public name using my public.txt given
search for that name in your public.xml replace id in that smali...

step 7: Edit AndroidManifeast.xml to look like this, add red code,
Code:
Select Code
<manifest android:sharedUserId="android.uid.system" android:process="system" android:versionCode="16" android:versionName="4.1.1-eng..1364989609" package="com.android.systemui" coreApp="true"
  xmlns:android="http://schemas.android.com/apk/res/android">
      <uses-permission android:name="android.permission.CAMERA" />
save all and compile, sign your systemui.apk as you have modified manifeast

Step 8: push/flash new systemui along with idroid_settings.apk given...
Attached Files
File Type: rar lidroid_files.rar - [Click for QR Code] (162.2 KB, 891 views)
File Type: apk lidroid_set.apk - [Click for QR Code] (599.6 KB, 685 views)
File Type: txt public.txt - [Click for QR Code] (102.3 KB, 995 views)
The Following 15 Users Say Thank You to akash akya For This Useful Post: [ Click to Expand ]
 
akash akya
Old
(Last edited by akash akya; 3rd August 2013 at 12:41 PM.)
#4  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
PART 3 : ADD VOLUME SLIDER TO QUICK PANEL :


This doesn't depend on Lidroid, any one with quick panel working may try it....

If your smali don't have some lines i mentioned... post your smali

SS :





lets proceed,
step 1 : Open res/values/ids.xml

add these below :
Code:
Select Code
    <item type="id" name="quickpanel_slider_ringer_volume">false</item>
    <item type="id" name="quickpanel_slider_notification_volume">false</item>
    <item type="id" name="quickpanel_slider_voice_call_volume">false</item>
    <item type="id" name="quickpanel_slider_media_volume">false</item>
    <item type="id" name="quickpanel_slider_alarm_volume">false</item>
step 2 : Open res/values/strings.xml

add these below :
Code:
Select Code
    <string name="quickpanel_slider_ringer_volume_text">Ringtone &amp; notifications</string>
    <string name="quickpanel_slider_notification_volume_text">Notifications</string>
    <string name="quickpanel_slider_voice_call_volume_text">Voice calls</string>
    <string name="quickpanel_slider_media_volume_text">Music, video, games, &amp; other media</string>
    <string name="quickpanel_slider_alarm_volume_text">Alarms</string>
Open styles.xml add these below :
Code:
Select Code
    <style name="TextAppearance" />
    <style name="TextAppearance.QuickPanel" parent="@style/TextAppearance" />
    <style name="TextAppearance.QuickPanel.TextStyle" parent="@style/TextAppearance.QuickPanel">
        <item name="android:textSize">12.0dip</item>
        <item name="android:textStyle">normal</item>
        <item name="android:textColor">#ffcccccc</item>
        <item name="android:ellipsize">marquee</item>
        <item name="android:paddingLeft">6.0dip</item>
        <item name="android:paddingRight">6.0dip</item>
        <item name="android:fadingEdge">horizontal</item>
        <item name="android:maxLines">2</item>
        <item name="android:singleLine">false</item>
        <item name="android:drawablePadding">12.0dip</item>
        <item name="android:textAllCaps">true</item>
    </style>
step 3 : Open res/layout/quickpanel_quick_settings_space.xml
compare your code with mine to get layout as in screenshot...
Code:
Select Code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content"
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
    <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
        <com.lidroid.systemui.quickpanel.PowerWidget android:id="@id/adi_widget" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="50.0dip" />
        <TextView android:textSize="14.0dip" android:textStyle="bold" android:gravity="center" android:layout_gravity="top|center" android:background="#60000000" android:layout_width="fill_parent" android:layout_height="25.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="10.0dip" android:text="Volume Panel" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
        <ScrollView android:id="@id/scroll" android:scrollbars="none" android:fadingEdge="none" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="0.0dip" android:layout_marginBottom="30.0dip" android:overScrollMode="never">
            <LinearLayout android:gravity="left" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="10.0dip">
                 <FrameLayout android:background="#00ffffff" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="65.0dip">
                    <TextView android:gravity="left" android:layout_gravity="top|left|center" android:layout_width="wrap_content" android:layout_height="15.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="10.0dip" android:text="@string/quickpanel_slider_media_volume_text" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
                    <LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:padding="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
                        <ImageView android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@*android:drawable/ic_media_ff" android:scaleType="center" />
                        <SeekBar android:id="@id/quickpanel_slider_media_volume" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_centerVertical="true" />
                    </LinearLayout>
                </FrameLayout>
                <FrameLayout android:background="#00ffffff" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="65.0dip">
                    <TextView android:gravity="left" android:layout_gravity="top|left|center" android:layout_width="wrap_content" android:layout_height="15.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="10.0dip" android:text="@string/quickpanel_slider_ringer_volume_text" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
                    <LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:padding="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
                        <ImageView android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@*android:drawable/ic_audio_phone" android:scaleType="center" />
                        <SeekBar android:id="@id/quickpanel_slider_ringer_volume" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_centerVertical="true" />
                    </LinearLayout>
                </FrameLayout>
                <FrameLayout android:background="#00ffffff" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="65.0dip">
                    <TextView android:gravity="left" android:layout_gravity="top|left|center" android:layout_width="wrap_content" android:layout_height="15.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="10.0dip" android:text="@string/quickpanel_slider_alarm_volume_text" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
                    <LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:padding="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
                        <ImageView android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@*android:drawable/ic_audio_alarm" android:scaleType="center" />
                        <SeekBar android:id="@id/quickpanel_slider_alarm_volume" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_centerVertical="true" />
                    </LinearLayout>
                </FrameLayout>
                <FrameLayout android:background="#00ffffff" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="65.0dip">
                    <TextView android:gravity="left" android:layout_gravity="top|left|center" android:layout_width="wrap_content" android:layout_height="15.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="10.0dip" android:text="@string/quickpanel_slider_voice_call_volume_text" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
                    <LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:padding="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
                        <ImageView android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@*android:drawable/ic_audio_ring_notif" android:scaleType="center" />
                        <SeekBar android:id="@id/quickpanel_slider_voice_call_volume" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_centerVertical="true" />
                    </LinearLayout>
                </FrameLayout>
                <FrameLayout android:background="#00ffffff" android:padding="3.0dip" android:layout_width="fill_parent" android:layout_height="65.0dip">
                    <TextView android:gravity="left" android:layout_gravity="top|left|center" android:layout_width="wrap_content" android:layout_height="15.0dip" android:layout_marginTop="0.0dip" android:layout_marginBottom="10.0dip" android:text="@string/quickpanel_slider_notification_volume_text" android:singleLine="true" style="@style/TextAppearance.QuickPanel.TextStyle" />
                    <LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:padding="10.0dip" android:focusable="true" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
                        <ImageView android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@*android:drawable/ic_audio_notification" android:scaleType="center" />
                        <SeekBar android:id="@id/quickpanel_slider_notification_volume" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="0.0dip" android:layout_centerVertical="true" />
                    </LinearLayout>
                </FrameLayout>
            </LinearLayout>
        </ScrollView>
    </LinearLayout>
</LinearLayout>
step 4 : save, compile and decompile
goto com\android\systemui\statusbar\phone\PhoneStatusBa r.smali

find :
Code:
Select Code
.field private mAnimationRuning:Z
add this below :
Code:
Select Code
.field private mAudioManager:Landroid/media/AudioManager;
find : ( red code may be different in your case ignore it)
Code:
Select Code
.method static synthetic access$200(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 118
    iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mSelfExpandVelocityPx:F

    return v0
.end method
add this below :
Code:
Select Code
.method static synthetic access$1101(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)Landroid/media/AudioManager;
    .locals 1
    .parameter

    .prologue
    .line 23
    iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    return-object v0
.end method

.method static synthetic access$1200(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)Z
    .locals 1
    .parameter "x0"

    .prologue
    .line 97
    iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedVisible:Z

    return v0
.end method
step 5 : Find
Code:
Select Code
 .method private setStatusBarLowProfile(Z)V
and this code above it :
Code:
Select Code
.method private setQuickPanelVolumeSliders()V
    .locals 12

    .prologue
    const/4 v11, 0x3

    const/4 v10, 0x2

    const/4 v9, 0x0

    const/4 v7, 0x1

    .line 54
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

    const-string v6, "audio"

    invoke-virtual {v5, v6}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Landroid/media/AudioManager;

    iput-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    .line 57
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v8, 0x7f0c00ec

    invoke-virtual {v5, v8}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/SeekBar;

    .line 58
    .local v3, ringSlider:Landroid/widget/SeekBar;
    invoke-virtual {v3, v7}, Landroid/widget/SeekBar;->setKeyProgressIncrement(I)V

    .line 59
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v10}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v5

    invoke-virtual {v3, v5}, Landroid/widget/SeekBar;->setMax(I)V

    .line 60
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v10}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v3, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 61
    new-instance v5, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashE;

    invoke-direct {v5, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashE;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

    invoke-virtual {v3, v5}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 80
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v8, 0x7f0c00ed

    invoke-virtual {v5, v8}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/SeekBar;

    .line 81
    .local v2, notificationSlider:Landroid/widget/SeekBar;
    invoke-virtual {v2, v7}, Landroid/widget/SeekBar;->setKeyProgressIncrement(I)V

    .line 82
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x5

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v5

    invoke-virtual {v2, v5}, Landroid/widget/SeekBar;->setMax(I)V

    .line 83
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x5

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v2, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 84
    new-instance v5, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashD;

    invoke-direct {v5, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashD;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

    invoke-virtual {v2, v5}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 103
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v8, 0x7f0c00ee

    invoke-virtual {v5, v8}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/SeekBar;

    .line 104
    .local v4, voiceCallSlider:Landroid/widget/SeekBar;
    invoke-virtual {v4, v7}, Landroid/widget/SeekBar;->setKeyProgressIncrement(I)V

    .line 105
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v9}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/widget/SeekBar;->setMax(I)V

    .line 106
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v9}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 107
    new-instance v5, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashC;

    invoke-direct {v5, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashC;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

    invoke-virtual {v4, v5}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 126
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v8, 0x7f0c00ef

    invoke-virtual {v5, v8}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/SeekBar;

    .line 127
    .local v1, mediaSlider:Landroid/widget/SeekBar;
    invoke-virtual {v1, v7}, Landroid/widget/SeekBar;->setKeyProgressIncrement(I)V

    .line 128
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v11}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v5

    invoke-virtual {v1, v5}, Landroid/widget/SeekBar;->setMax(I)V

    .line 129
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    invoke-virtual {v5, v11}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v1, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 130
    new-instance v5, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashB;

    invoke-direct {v5, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashB;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

    invoke-virtual {v1, v5}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 149
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v8, 0x7f0c00f0

    invoke-virtual {v5, v8}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    .line 150
    .local v0, alarmSlider:Landroid/widget/SeekBar;
    invoke-virtual {v0, v7}, Landroid/widget/SeekBar;->setKeyProgressIncrement(I)V

    .line 151
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x4

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamMaxVolume(I)I

    move-result v5

    invoke-virtual {v0, v5}, Landroid/widget/SeekBar;->setMax(I)V

    .line 152
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x4

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v0, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 153
    new-instance v5, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashA;

    invoke-direct {v5, p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashA;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;)V

    invoke-virtual {v0, v5}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 170
    return-void
.end method

Step 6 : Find these lines : (Red lines may be different)
Code:
Select Code
new-instance v11, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;

    iget-object v12, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarView:Lcom/android/systemui/statusbar/phone/PhoneStatusBarView;

    invoke-direct {v11, p0, v2, v12}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$MyTicker;-><init>(Lcom/android/systemui/statusbar/phone/PhoneStatusBar;Landroid/content/Context;Landroid/view/View;)V

    iput-object v11, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mTicker:Lcom/android/systemui/statusbar/phone/Ticker;
add this above it :
Code:
Select Code
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->setQuickPanelVolumeSliders()V
Step 7 : Find this line
Code:
Select Code
.method protected updateRecentsPanel()V
add this above :
Code:
Select Code
.method public updateQuickPanelVolumeSliders()V
    .locals 8

    .prologue
    .line 176
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v7, 0x7f0c00ec

    invoke-virtual {v5, v7}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/SeekBar;

    .line 177
    .local v3, ringSlider:Landroid/widget/SeekBar;
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x2

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v3, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 180
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v7, 0x7f0c00ed

    invoke-virtual {v5, v7}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/SeekBar;

    .line 181
    .local v2, notificationSlider:Landroid/widget/SeekBar;
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x5

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v2, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 184
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v7, 0x7f0c00ee

    invoke-virtual {v5, v7}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/SeekBar;

    .line 185
    .local v4, voiceCallSlider:Landroid/widget/SeekBar;
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v4, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 188
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v7, 0x7f0c00ef

    invoke-virtual {v5, v7}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/SeekBar;

    .line 189
    .local v1, mediaSlider:Landroid/widget/SeekBar;
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x3

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v1, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 192
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

    const v7, 0x7f0c00f0

    invoke-virtual {v5, v7}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    .line 193
    .local v0, alarmSlider:Landroid/widget/SeekBar;
    iget-object v5, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mAudioManager:Landroid/media/AudioManager;

    const/4 v6, 0x4

    invoke-virtual {v5, v6}, Landroid/media/AudioManager;->getStreamVolume(I)I

    move-result v5

    invoke-virtual {v0, v5}, Landroid/widget/SeekBar;->setProgress(I)V

    .line 195
    return-void
.end method
Step 8 : Find
Code:
Select Code
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
add this below value = {
Code:
Select Code
		Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashA;,
		Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashB;,
		Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashC;,
		Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashD;,
		Lcom/android/systemui/statusbar/phone/PhoneStatusBar$AkashE;,
Step 9 : Last step : search left code in your public.xml , search right text in your PhoneStatusBar.smali replace id with your value...

Code:
Select Code
   quickpanel_slider_ringer_volume             -----         0x7f0c00ec
   quickpanel_slider_notification_volume     ------         0x7f0c00ed
   quickpanel_slider_voice_call_volume       ------        0x7f0c00ee
   quickpanel_slider_media_volume            ------        0x7f0c00ef
   quickpanel_slider_alarm_volume             ------        0x7f0c00f0
Note : dont confuse with string type ie
wrong
Code:
Select Code
 <public type="string" name="quickpanel_slider_ringer_volume_text" id="0x7f0900d5" />
right
Code:
Select Code
 <public type="id" name="quickpanel_slider_ringer_volume" id="0x7f0c00ec" />
Step 10 : Actual last step, Compile push/flash/whateva
Attached Files
File Type: rar Volume_Panel.rar - [Click for QR Code] (4.0 KB, 472 views)
The Following 13 Users Say Thank You to akash akya For This Useful Post: [ Click to Expand ]
 
akash akya
Old
(Last edited by akash akya; 1st August 2013 at 08:42 AM.)
#5  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
FAQ :
The Following User Says Thank You to akash akya For This Useful Post: [ Click to Expand ]
 
SuperDroid-BOND
Old
#6  
SuperDroid-BOND's Avatar
Recognized Contributor
Thanks Meter 3372
Posts: 1,306
Join Date: Dec 2012
Location: Your Heart, SweetHeart

 
DONATE TO ME
Actually brother,
I need some help. I have added the files given by XDA.gm. As Adi Sir told me to follow that thread. So.
No I got the everything working but the slider I got not seem to be working properly. Sorry but before you posted your guide I already started working on it.
Now please help me with the sliders and all.
Click image for larger version

Name:	uploadfromtaptalk1375352695921.jpg
Views:	2824
Size:	9.4 KB
ID:	2157379

""Hitting Thanks Don't Cost You Anything, then, Why You All Are Getting Bothered in Doing So. Hitting Thanks Increases My Motivation to Work for this Community....""
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1375352711214.jpg
Views:	1479
Size:	23.5 KB
ID:	2157380  
The Following 3 Users Say Thank You to SuperDroid-BOND For This Useful Post: [ Click to Expand ]
 
akash akya
Old
#7  
akash akya's Avatar
Senior Member - OP
Thanks Meter 1307
Posts: 711
Join Date: May 2012
Location: Bangalore
Quote:
Originally Posted by BOND1987 View Post
Actually brother,
I need some help. I have added the files given by XDA.gm. As Adi Sir told me to follow that thread. So.
No I got the everything working but the slider I got not seem to be working properly. Sorry but before you posted your guide I already started working on it.
Now please help me with the sliders and all.
Attachment 2157379

""Hitting Thanks Don't Cost You Anything, then, Why You All Are Getting Bothered in Doing So. Hitting Thanks Increases My Motivation to Work for this Community....""
for sliders you need to fix ids i guess.. i will check once...
 
thirdzcee
Old
#8  
thirdzcee's Avatar
Senior Member
Thanks Meter 361
Posts: 1,429
Join Date: May 2012
Location: Bacolod City
woah, i just fried my psu and wasnt able to use my pc for more than a day then when i get back i see you guys doing a lot of stuff already,,,, great work guys. up
My Works
NeOcOre-Hybridô JB 4.2 kernel for Xperia M/M Dual
CRT EFFECT FOR MT6577 JELLYBEAN
Phones
Samsung Galaxy Young GT-S5360 - Given to cousin
Cherry Mobile Flare S100 - Sold to a coworker
Cherry Mobile Blaze S180 - Sold to my bestfriend
Cherry Mobile Omega HD - Decommissioned
Samsung Galaxy S2 SHW-M250K - Sold to Aunt
Sony Xperia M C1905 traded for my SGH-T999

T-Mobile Galaxy S III SGH-T999 PA 4.4 running on my custom built kernel
The Following User Says Thank You to thirdzcee For This Useful Post: [ Click to Expand ]
 
Akhilendra Gadde
Old
#9  
Akhilendra Gadde's Avatar
Recognized Contributor
Thanks Meter 1514
Posts: 737
Join Date: Oct 2012
Location: Mumbai
Bro , do u have any solution to this ------>

Code:
Select Code
C:\Apktool_JB>apktool b SystemUI_og
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Apktool_JB\SystemUI_og\res\layout\quickpanel_quick_settings_space.xml:9: erro
r: Error parsing XML: mismatched tag
aapt: warning: string 'data_connection_datach_timeout_error_msg' has no default
translation in C:\Apktool_JB\SystemUI_og\res; found: de es fr in it ms pt tr vi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\AKHILE~1\AppData\Local\T
emp\APKTOOL6259043626794892065.tmp, -I, C:\Users\Akhilendra\apktool\framework\1.
apk, -S, C:\Apktool_JB\SystemUI_og\res, -M, C:\Apktool_JB\SystemUI_og\AndroidMan
ifest.xml]
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)
        at brut.androlib.Androlib.buildResources(Androlib.java:280)
        at brut.androlib.Androlib.build(Androlib.java:203)
        at brut.androlib.Androlib.build(Androlib.java:176)
        at brut.apktool.Main.cmdBuild(Main.java:214)
        at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
 exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\AKHILE~1\AppData\Local\Temp\APKTOOL6259043626794892065.tmp, -I, C:\Users\
Akhilendra\apktool\framework\1.apk, -S, C:\Apktool_JB\SystemUI_og\res, -M, C:\Ap
ktool_JB\SystemUI_og\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:335)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
        ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\AKHILE~1\AppData\Local\Tem
p\APKTOOL6259043626794892065.tmp, -I, C:\Users\Akhilendra\apktool\framework\1.ap
k, -S, C:\Apktool_JB\SystemUI_og\res, -M, C:\Apktool_JB\SystemUI_og\AndroidManif
est.xml]
        at brut.util.OS.exec(OS.java:89)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:333)
        ... 6 more

in quickpanel_quick_settigns.xml it gives an error saying mismatched tag. I am not able to compile your mod with bsuhas's quickpanel code. I tried before in my mod but it didn't work around there too...
 
Adi Aisiteru Reborn
Old
#10  
Adi Aisiteru Reborn's Avatar
Senior Member
Thanks Meter 4324
Posts: 1,639
Join Date: Apr 2013
Location: Bandar Lampung
Quote:
Originally Posted by BOND1987 View Post
Actually brother,
I need some help. I have added the files given by XDA.gm. As Adi Sir told me to follow that thread. So.
No I got the everything working but the slider I got not seem to be working properly. Sorry but before you posted your guide I already started working on it.
Now please help me with the sliders and all.
Attachment 2157379

""Hitting Thanks Don't Cost You Anything, then, Why You All Are Getting Bothered in Doing So. Hitting Thanks Increases My Motivation to Work for this Community....""
or may be, there's additional smalis for that,.,.
find additional PhoneStatusBar$xx.smali for that, or / and compare the PhoneStatusBar.smali with XDA.AGM's

The Following 2 Users Say Thank You to Adi Aisiteru Reborn For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes