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.
[highlight]after this code[/highlight]
[highlight]OR compare your statusbar.xml to my statusbar.xml code (custock dxlf1)[/highlight]
[highlight]heres mine[/highlight]
[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]
[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
[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]
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
Last edited: