"[MOD][GUIDE] Left Signal With Option"

Search This thread
Aug 6, 2014
13
6
cabuyao
Hello everyone this is my first time to share a guide sorry if the guide is not perfect and too long..


Forked from pxl roms..
thanks to that rom and to all kangstar...





[highlight]tested systemui.apk[/highlight]

custock dxlf1
hyperion 9
evolution x4

heres the guide now..

[highlight]requirement:[/highlight]

apktool or apk multitool
notepad++ or any text editor
systemui.apk
attached files,smalis and apks




now we will make some modification and edit your statusbar.xml and StatusBarPolicy.smali..

so sit back and focus to the guide...


[highlight]step 1[/highlight]
download and extract the attached files


[highlight]step 2[/highlight]
pull your systemui.apk in your system/app and decompile it..


[highlight]step 3[/highlight]
now go to statusbar.xml and open it w/ notepad or any text editor add this line.



HTML:
<com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />




[highlight]after this code[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">




[highlight]OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)[/highlight]




[highlight]heres mine[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                <com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />
                <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
        </LinearLayout>
	    <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
              <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.TickerView>
    </LinearLayout>
    <com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>



[highlight]step 4[/highlight]
now we will remodified your StatusBarPolicy.smali of your decompiled systemui goto

smali/com/android/systemui/policy/StatusBarPolicy.smali

[highlight]and find this line (whole line)[/highlight]



Code:
.method private final updateSignalStrength()V
   

.
.
.
.
.
.
.
.
.

:pswitch_data_0
    .packed-switch 0x2
        :pswitch_2
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method



[highlight]step 5[/highlight]
replace it w/ the code from attached files (.method private final updateSignalStrength) the whole code


[highlight]step 6[/highlight]
if your done replacing..
now find this line

Code:
.line 1725
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;

    const-string v1, "wifi"

    invoke-virtual {v0, v4, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

    goto :goto_1
.end method


[highlight]step 7[/highlight]
and add the codes in attached files and add two space then paste(# virtual method) whole code..


[highlight]step 8[/highlight]
copy and paste the extaracted files in systemui_src/here (just do the said guide)


then recompile and signed..





[highlight]NOTE:[/highlight]

theres a bug if the signal is in left and try to select it in airplane mode and if no signal but,
not totally a bug its the png's they are not showing..just a full or normal signal only shows..


and it is tested that theres no problem to encounter w/ that...


[highlight]i upload my evolutionx4 StatusBarPollicy.smali for the code[/highlight]

[highlight]credits and thanks to:[/highlight]

pxl rom/kangstar
potato inc
lenox rom/dev
hyperion rom/dev
evolution x4 rom/dev
sir j.c aka mariozawa
sir aryne aka pineapple owl
ardi sumardi (custock dxlf1)
sir jose jharlo pagatpatan (tester)







good luck and enjoy...
thanks...




greets:
dennis salazar

[highlight]Samsung Galaxy Young (SGY S5360) PH group[/highlight]
 

Attachments

  • SC20140726-144631.png
    SC20140726-144631.png
    16.9 KB · Views: 757
  • SC20140726-144641.png
    SC20140726-144641.png
    16.6 KB · Views: 721
  • SC20140726-144652.png
    SC20140726-144652.png
    16.9 KB · Views: 734
  • StatusBarPolicy.zip
    14.6 KB · Views: 466
Last edited:
Aug 6, 2014
13
6
cabuyao
Hello everyone this is my first time to share a guide sorry if the guide is not perfect and too long..


Forked from pxl roms..
thanks to that rom and to all kangstar...


tested systemui.apk

custock dxlf1
hyperion 9
evolution x4

heres the guide now..

requirement:

apktool or apk multitool
notepad++ or any text editor
systemui.apk
attached files,smalis and apks




now we will make some modification and edit your statusbar.xml and StatusBarPolicy.smali..

so sit back and focus to the guide...


step 1
download and extract the attached files


step 2
pull your systemui.apk in your system/app and decompile it..


step 3
now go to statusbar.xml and open it w/ notepad or any text editor add this line.



<com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />




after this code



<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:eek:rientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:eek:rientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
(HERE)



OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)




heres mine



<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:eek:rientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:eek:rientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:eek:rientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
<LinearLayout android:gravity="center_vertical" android:eek:rientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
<LinearLayout android:eek:rientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
</ImageSwitcher>
<com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
<TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.TickerView>
</LinearLayout>
<com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>



step 4
now we will remodified your StatusBarPolicy.smali of your decompiled systemui goto

smali/com/android/systemui/policy/StatusBarPolicy.smali

and find this line (whole line)



.method private final updateSignalStrength()V
.locals 15

.
.
.
.
.
.
.
.
.

:pswitch_data_0
.packed-switch 0x2
:pswitch_2
:pswitch_0
:pswitch_0
:pswitch_1
.end packed-switch
.end method



step 5
replace it w/ the code from attached files (.method private final updateSignalStrength) the whole code


step 6
if your done replacing..
now find this line

.line 1725
iget-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;

const-string v1, "wifi"

invoke-virtual {v0, v4, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

goto :goto_1
.end method


step 7
and add the codes in attached files and add two space then paste(# virtual method) whole code..


step 8
copy and paste the extaracted files in systemui_src/here (just do the said guide)


then recompile and signed..





NOTE:

theres a bug if the signal is in left and try to select it in airplane mode and if no signal but,
not totally a bug its the png's they are not showing..just a full or normal signal only shows..


and its tested that theres no problem to encounter w/ that...




credits and thanks to:

pxl rom/kangstar
potato inc
lenox rom/dev
hyperion rom/dev
evolution x4 rom/dev
sir j.c aka mariozawa
sir aryne aka pineapple owl
ardi sumardi (custock dxlf1)
sir jose jharlo pagatpatan (tester)







good luck and enjoy...
thanks...




greets:
dennis salazar

Samsung Galaxy Young (SGY S5360) PH group


ive attached the guide w/ other files..thanks
 

jasper~

Senior Member
May 4, 2014
126
7
Laguna
You should post your screenshot so somebody will understand what the guide is. But thanks anyway.

EDIT : Thanks for the Screenshot bro.
 
Last edited:

Chum.zuizui

Senior Member
Mar 22, 2013
357
49
Hello everyone this is my first time to share a guide sorry if the guide is not perfect and too long..


Forked from pxl roms..
thanks to that rom and to all kangstar...





[highlight]tested systemui.apk[/highlight]

custock dxlf1
hyperion 9
evolution x4

heres the guide now..

[highlight]requirement:[/highlight]

apktool or apk multitool
notepad++ or any text editor
systemui.apk
attached files,smalis and apks




now we will make some modification and edit your statusbar.xml and StatusBarPolicy.smali..

so sit back and focus to the guide...


[highlight]step 1[/highlight]
download and extract the attached files


[highlight]step 2[/highlight]
pull your systemui.apk in your system/app and decompile it..


[highlight]step 3[/highlight]
now go to statusbar.xml and open it w/ notepad or any text editor add this line.



HTML:
<com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />




[highlight]after this code[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">




[highlight]OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)[/highlight]




[highlight]heres mine[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                <com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />
                <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
        </LinearLayout>
    <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
              <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.TickerView>
    </LinearLayout>
    <com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>



[highlight]step 4[/highlight]
now we will remodified your StatusBarPolicy.smali of your decompiled systemui goto

smali/com/android/systemui/policy/StatusBarPolicy.smali

[highlight]and find this line (whole line)[/highlight]



Code:
.method private final updateSignalStrength()V
   

.
.
.
.
.
.
.
.
.

:pswitch_data_0
    .packed-switch 0x2
        :pswitch_2
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method



[highlight]step 5[/highlight]
replace it w/ the code from attached files (.method private final updateSignalStrength) the whole code


[highlight]step 6[/highlight]
if your done replacing..
now find this line

Code:
.line 1725
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;

    const-string v1, "wifi"

    invoke-virtual {v0, v4, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

    goto :goto_1
.end method


[highlight]step 7[/highlight]
and add the codes in attached files and add two space then paste(# virtual method) whole code..


[highlight]step 8[/highlight]
copy and paste the extaracted files in systemui_src/here (just do the said guide)


then recompile and signed..





[highlight]NOTE:[/highlight]

theres a bug if the signal is in left and try to select it in airplane mode and if no signal but,
not totally a bug its the png's they are not showing..just a full or normal signal only shows..


and it is tested that theres no problem to encounter w/ that...


[highlight]i upload my evolutionx4 StatusBarPollicy.smali for the code[/highlight]

[highlight]credits and thanks to:[/highlight]

pxl rom/kangstar
potato inc
lenox rom/dev
hyperion rom/dev
evolution x4 rom/dev
sir j.c aka mariozawa
sir aryne aka pineapple owl
ardi sumardi (custock dxlf1)
sir jose jharlo pagatpatan (tester)







good luck and enjoy...
thanks...




greets:
dennis salazar

[highlight]Samsung Galaxy Young (SGY S5360) PH group[/highlight]



Gửi từ GT-S5360 của tôi bằng cách sử dụng Tapatalk Mod by HzDragon

---------- Post added at 07:39 PM ---------- Previous post was at 07:22 PM ----------

Hello everyone this is my first time to share a guide sorry if the guide is not perfect and too long..


Forked from pxl roms..
thanks to that rom and to all kangstar...





[highlight]tested systemui.apk[/highlight]

custock dxlf1
hyperion 9
evolution x4

heres the guide now..

[highlight]requirement:[/highlight]

apktool or apk multitool
notepad++ or any text editor
systemui.apk
attached files,smalis and apks




now we will make some modification and edit your statusbar.xml and StatusBarPolicy.smali..

so sit back and focus to the guide...


[highlight]step 1[/highlight]
download and extract the attached files


[highlight]step 2[/highlight]
pull your systemui.apk in your system/app and decompile it..


[highlight]step 3[/highlight]
now go to statusbar.xml and open it w/ notepad or any text editor add this line.



HTML:
<com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />




[highlight]after this code[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">




[highlight]OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)[/highlight]




[highlight]heres mine[/highlight]



HTML:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
  xmlns:android="http://schemas.android.com/apk/res/android">
    <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                <com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />
                <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
        </LinearLayout>
    <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
        <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
              <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        </LinearLayout>
    </LinearLayout>
    <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
        <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
        </ImageSwitcher>
        <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
        </com.android.systemui.statusbar.TickerView>
    </LinearLayout>
    <com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
</com.android.systemui.statusbar.StatusBarView>



[highlight]step 4[/highlight]
now we will remodified your StatusBarPolicy.smali of your decompiled systemui goto

smali/com/android/systemui/policy/StatusBarPolicy.smali

[highlight]and find this line (whole line)[/highlight]



Code:
.method private final updateSignalStrength()V
   

.
.
.
.
.
.
.
.
.

:pswitch_data_0
    .packed-switch 0x2
        :pswitch_2
        :pswitch_0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method



[highlight]step 5[/highlight]
replace it w/ the code from attached files (.method private final updateSignalStrength) the whole code


[highlight]step 6[/highlight]
if your done replacing..
now find this line

Code:
.line 1725
    iget-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;

    const-string v1, "wifi"

    invoke-virtual {v0, v4, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V

    goto :goto_1
.end method


[highlight]step 7[/highlight]
and add the codes in attached files and add two space then paste(# virtual method) whole code..


[highlight]step 8[/highlight]
copy and paste the extaracted files in systemui_src/here (just do the said guide)


then recompile and signed..





[highlight]NOTE:[/highlight]

theres a bug if the signal is in left and try to select it in airplane mode and if no signal but,
not totally a bug its the png's they are not showing..just a full or normal signal only shows..


and it is tested that theres no problem to encounter w/ that...


[highlight]i upload my evolutionx4 StatusBarPollicy.smali for the code[/highlight]

[highlight]credits and thanks to:[/highlight]

pxl rom/kangstar
potato inc
lenox rom/dev
hyperion rom/dev
evolution x4 rom/dev
sir j.c aka mariozawa
sir aryne aka pineapple owl
ardi sumardi (custock dxlf1)
sir jose jharlo pagatpatan (tester)







good luck and enjoy...
thanks...




greets:
dennis salazar

[highlight]Samsung Galaxy Young (SGY S5360) PH group[/highlight]



Gửi từ GT-S5360 của tôi bằng cách sử dụng Tapatalk Mod by HzDragon
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Hello everyone this is my first time to share a guide sorry if the guide is not perfect and too long..


    Forked from pxl roms..
    thanks to that rom and to all kangstar...





    [highlight]tested systemui.apk[/highlight]

    custock dxlf1
    hyperion 9
    evolution x4

    heres the guide now..

    [highlight]requirement:[/highlight]

    apktool or apk multitool
    notepad++ or any text editor
    systemui.apk
    attached files,smalis and apks




    now we will make some modification and edit your statusbar.xml and StatusBarPolicy.smali..

    so sit back and focus to the guide...


    [highlight]step 1[/highlight]
    download and extract the attached files


    [highlight]step 2[/highlight]
    pull your systemui.apk in your system/app and decompile it..


    [highlight]step 3[/highlight]
    now go to statusbar.xml and open it w/ notepad or any text editor add this line.



    HTML:
    <com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />




    [highlight]after this code[/highlight]



    HTML:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">




    [highlight]OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)[/highlight]




    [highlight]heres mine[/highlight]



    HTML:
    <?xml version="1.0" encoding="utf-8"?>
    <com.android.systemui.statusbar.StatusBarView android:orientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
      xmlns:android="http://schemas.android.com/apk/res/android">
        <LinearLayout android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
                    <com.PxL.statusbar.PhoneSignal android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_porn_signal" />
                    <com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" />
            </LinearLayout>
    	    <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentRight="true" />
            <LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="fill_parent">
                  <com.android.systemui.statusbar.Clock android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:paddingRight="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            </LinearLayout>
        </LinearLayout>
        <LinearLayout android:orientation="horizontal" android:id="@id/ticker" android:paddingLeft="6.0dip" android:animationCache="false" android:layout_width="fill_parent" android:layout_height="fill_parent">
            <ImageSwitcher android:id="@id/tickerIcon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginRight="8.0dip">
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
                <com.android.systemui.statusbar.AnimatedImageView android:layout_width="25.0dip" android:layout_height="25.0dip" />
            </ImageSwitcher>
            <com.android.systemui.statusbar.TickerView android:id="@id/tickerText" android:paddingTop="2.0dip" android:paddingRight="10.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_weight="1.0">
                <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
                <TextView android:textAppearance="@*android:style/Theme.Holo.Wallpaper" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
            </com.android.systemui.statusbar.TickerView>
        </LinearLayout>
        <com.android.systemui.statusbar.DateView android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="#ff000000" android:paddingLeft="6.0px" android:paddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
    </com.android.systemui.statusbar.StatusBarView>



    [highlight]step 4[/highlight]
    now we will remodified your StatusBarPolicy.smali of your decompiled systemui goto

    smali/com/android/systemui/policy/StatusBarPolicy.smali

    [highlight]and find this line (whole line)[/highlight]



    Code:
    .method private final updateSignalStrength()V
       
    
    .
    .
    .
    .
    .
    .
    .
    .
    .
    
    :pswitch_data_0
        .packed-switch 0x2
            :pswitch_2
            :pswitch_0
            :pswitch_0
            :pswitch_1
        .end packed-switch
    .end method



    [highlight]step 5[/highlight]
    replace it w/ the code from attached files (.method private final updateSignalStrength) the whole code


    [highlight]step 6[/highlight]
    if your done replacing..
    now find this line

    Code:
    .line 1725
        iget-object v0, p0, Lcom/android/systemui/statusbar/policy/StatusBarPolicy;->mService:Landroid/app/StatusBarManager;
    
        const-string v1, "wifi"
    
        invoke-virtual {v0, v4, v3}, Landroid/app/StatusBarManager;->setIconVisibility(Ljava/lang/String;Z)V
    
        goto :goto_1
    .end method


    [highlight]step 7[/highlight]
    and add the codes in attached files and add two space then paste(# virtual method) whole code..


    [highlight]step 8[/highlight]
    copy and paste the extaracted files in systemui_src/here (just do the said guide)


    then recompile and signed..





    [highlight]NOTE:[/highlight]

    theres a bug if the signal is in left and try to select it in airplane mode and if no signal but,
    not totally a bug its the png's they are not showing..just a full or normal signal only shows..


    and it is tested that theres no problem to encounter w/ that...


    [highlight]i upload my evolutionx4 StatusBarPollicy.smali for the code[/highlight]

    [highlight]credits and thanks to:[/highlight]

    pxl rom/kangstar
    potato inc
    lenox rom/dev
    hyperion rom/dev
    evolution x4 rom/dev
    sir j.c aka mariozawa
    sir aryne aka pineapple owl
    ardi sumardi (custock dxlf1)
    sir jose jharlo pagatpatan (tester)







    good luck and enjoy...
    thanks...




    greets:
    dennis salazar

    [highlight]Samsung Galaxy Young (SGY S5360) PH group[/highlight]