Post Reply

[guide] [mod] [jb] [touchwiz] make Flyme statusbar

OP H Nauval Enjoy Ceria

8th January 2015, 03:59 PM   |  #1  
OP Junior Member
Flag Surabaya
Thanks Meter: 5
4 posts
Join Date:Joined: Nov 2013
Hi for all, some people liked the status bar of my Custom ROM, and i resolved make this guide. This guide is based on deodex Android 4.1.2 for Galaxy note n7000. Ok, let's go!!!
This mod will add:
- Analog Clock positioned left.
- Traffic meter.
- Battery icon small.
- Two lines of notifications.



- framework-res.apk deodexed
- SystemUI.apk deodexed
- apktool
- apk Signer

Let's start:
1- Decompile framework-res.apk
2 - Go to "framework-res > res > values" and open "dimens.xml"
3 - Search for this two lines:
<dimen name="status_bar_height">25.0dip</dimen>
<dimen name="status_bar_icon_size">24.0dip</dimen>
and change the values for:
<dimen name="status_bar_height">40.0dip</dimen>
<dimen name="status_bar_icon_size">29.0dip</dimen>
4- Save and compile and sign the framework-res.apk.

Part 2: SystemUI.apk

1 - Decompile SystemUI.apk
2 - Go to "SystemUI > res > layout" and open "tw_status_bar.xml"
3 - in line "@id/icons" change
android:height="fill_parent"to be android:height="40.0dip"
4 - copy this line under the row @id/icons
<AnalogClock android:gravity="center" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
        <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="50.0dip">
            <LinearLayout android:orientation="horizontal" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="24.0dip">
5- copy all these lines at the top of the line "@id/ticker"
<ImageView android:id="@+id/garis" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="0.20000005dip" android:src="#99ffffff" />
<LinearLayout android:id="@+id/barisbaru" android:gravity="right" android:orientation="horizontal" android:paddingLeft="1.0dip" android:paddingRight="1.0dip" android:layout_width="fill_parent" android:layout_height="24.0dip">
  <LinearLayout android:id="@+id/kiri" android:orientation="horizontal" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_weight="1.0">
   <TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kiri" />    
  <LinearLayout android:id="@+id/kanan" android:gravity="right" android:orientation="horizontal" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent">
   <TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kanan" />    
5 - Delete this line to remove the Default Hours
< android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id= "@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
6- Find this line, Move (Cut) these two lines down the line @+id/kanan, to move to the notif Icon Bottom Right
< android:id="id/moreIcon" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
                    < android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_alignParentLeft="true" />
6- Find this line, Move (Cut) these two lines down the line "@id/carrierLabel" to move to the signal Icon top left
<include android:id "@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
7- COPY this line under @+id/kiri, to add to Date
< android:textSize="12.0dip" android:textStyle="bold" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:paddingLeft="1.0dip" android:paddingTop="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="2" android:singleLine="false" android:layout_centerVertical="true" />
8-To eliminate the words "kiri " and "kanan", delete the following line:
<TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kiri" />
 <TextView android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="kanan" />
9 - Save > recompile > sign > push

#note if u get error comment and send log
Attached Thumbnails
Click image for larger version

Name:	10704380_1515547438706421_3384280886517072768_o.jpg
Views:	422
Size:	143.0 KB
ID:	3104641  
Last edited by H Nauval Enjoy Ceria; 9th January 2015 at 04:50 AM.
The Following 2 Users Say Thank You to H Nauval Enjoy Ceria For This Useful Post: [ View ]
17th February 2015, 06:39 PM   |  #2  
Thanks Meter: 1
36 posts
Join Date:Joined: Sep 2013
Thank for your guide. Fix with some modification for suit in 240dpi.
Attached Thumbnails
Click image for larger version

Name:	2015-02-18-01-18-14.jpg
Views:	144
Size:	172.4 KB
ID:	3170548  
20th February 2015, 08:45 PM   |  #3  
Junior Member
Flag Aurich
Thanks Meter: 1
15 posts
Join Date:Joined: Jun 2014
thanks for your guide👍
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes