Sabtu, 22 Februari 2014

[GUIDE][MOD][SYSTEMUI] How to add 0.00KB/s meter on statusbar CROSS A27 Stockrom De-Odex

i'm try this guide how to add 0.00KB/s meter on statusbar Stockrom CROSS A27
ok, this look this my guide : 

RECOMMENDED Stockrom "De-Odex"  i'm try to Android Version JB 4.1.2

 1. basic you can understand to decompile using apktool PC or your phone.

Method : 

-Download ersanTraffic.zip and extract it
-Decompile your SystemUI.apk 
-extract file ersanTraffic.zip
-copy/paste forder ersan18 to :
com/android/systemui/statusbar/ersan18

-Then go to res/layout/gemini_status_bar.xml and add this line (copy from here)

Code:
<com.android.systemui.statusbar.ersan18.TRAFFIC android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />


-Example

Code:

<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
        <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/signal_battery_cluster" android:paddingLeft="2.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
      <com.android.systemui.statusbar.ersan18.TRAFFIC android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
            <include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/gemini_signal_cluster_view" />
            <TextView android:textSize="16.0sp" android:textColor="@*android:color/holo_blue_light" android:id="@id/percentage" android:paddingLeft="4.0dip" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" />
            <ImageView android:id="@id/battery" android:paddingLeft="4.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" />


-Save and close file.

-Then open res/values/styles.xml

edit this at the end of line or you can copy/paste from here


Code:
<style name="TextAppearance.StatusBar.Speed" parent="@style/TextAppearance.StatusBar.Clock">
      <item name="android:textSize">14.0dip</item>
      <item name="android:textColor">#ffffffff</item>
 </style>
</resources>
-Save and close file.-Recompile back your SystemUi.apk.
-push to /system/app don't forget permision it.
-ENJOY. 

My ScreenShot :

























My Resources Download here

Download SystemUI StockRom De-Odex JellyBean 4.1.2 here [ flash CWM/TWRP ]

Download SystemUI StockRom De-Odex ICS 4.0.4 here [flash CWM/TWRP ]


Don't Forget Say Thanks if you Like My Project :p

CREDITS TO : Dzol Cp [ Simple GUIDE ]
                         : REPENCIS For his 0.00k/s smali files
                         : ersan permana (MOD this Guige ) :p
                         : Alf Ng,Abangiza,Tahta Ega My Team and tested this SystemUI
                         : All User Bengkel Cross A27
                         Thread This Forum xda-developers.com
                         Enricocid [ To Help Me ]
                 








1 komentar:

  1. mas ersan tolong approve saya ke grup bengkel a27 dong id fb saya Oriza Oktabiantoro , sekalian izinin buat akses ke drive, say pengen donwload ROM sgs4 UI itu tapi belom dapet izin, makasihh mas

    BalasHapus