-->

Cara pasang flyme status bar all device android

Cara pasang flyme all device

Syarat
1. Paham dc/rc.
2. Paham id content.
3. Paham pembuka / penutup layout.   

1. disini saya menggunakan msim_status_bar.xml (tinggal kalian cari ajah mana xml status bar yang aktif)
2. Decompile SystemUI.apk tunggu hingga selesai lalu buka folder SystemUI_src/res/layout/msim_status_bar.xml
4. Buka msim_status_bar.xml -> Guide flyme (jangan lupa copy msim_status_bar.xml ori lalu paste terserah kalian di folder mana aja)
5. Selanjutnya hapus script di msim_status_bar.xml dari bawah android:id="@id/status_bar_contents" / sampai diatas @id/ticker.

Seperti dibawah ini .

<?xml version="1.0" encoding="utf-8" ?>
<com.android.systemui.statusbar.phone.PhoneStatusBarView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" android:orientation="vertical" android:id="@id/msim_status_bar" android:background="@drawable/system_bar_background" android:focusable="true" android:fitsSystemWindows="true" android:descendantFocusability="afterDescendants">
<ImageView android:id="@id/notification_lights_out" android:paddingLeft="6.0dip" android:paddingBottom="2.0dip" android:visibility="gone" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lights_out_dot_small" android:scaleType="center" />
<LinearLayout android:orientation="horizontal" android:id="@id/status_bar_contents" android:paddingLeft="6.0dip" android:paddingRight="6.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">


<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="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:layout_marginRight="4.0dip">
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_width="@dimen/status_bar_icon_size" android:layout_height="@dimen/status_bar_icon_size" android:scaleType="center" />
</ImageSwitcher>
<com.android.systemui.statusbar.phone.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="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" />
</com.android.systemui.statusbar.phone.TickerView>
</LinearLayout>
</com.android.systemui.statusbar.phone.PhoneStatusBarView>
.
6. Lalu copy script flyme di Guide dan paste tepat dibawah android:id="@id/status_bar_contents"
(copy scrip flyme dari awal ampe ahir)
7. Copy script sinyal, batre, notif dll lalu paste ketempat masing masing sesuai petunjuk guide atau sesuai selera kalian
9. Pastikan tidak ada @id yg tertinggal/belum di copas dari msim_status_bar_ori.xml dan pastikan juga pembuka dan penutup nya harus sama
10. Jika sudah silahkan recompile SystemUI-src lalu sign.

Selanjut nya :

1. decompile framework-res.apk
2. Jika sudah buka res/values/dimen.xml
3. lalu cari <dimen name="status_bar_height">22.0dip</dimen>
4. Ubah jadi <dimen name="status_bar_height">50.0dip</dimen>
5. save lalu recompile sign
6. Push semua yang udah kalian dc rc tadi mulai dari systemui.apk ama framewor-res.apk
7. push manual ketempat nya masing masing lalu reboot atau bikin flashable zip pasang via twrp/cwm terserah kalian

NOTE: nah yg paling penting pembuka dan penutup harus sama
<pembuka>   dan  </penutup>
kalo kayak gini <jones/> kenapa kok di bilang jones :v ? soal nya dia sendiri dibilang pembuka bukan penutup juga bukan beda dengan pembuka dan penutup mereka tuh di takdirkan bersama :D sebener nya <...../> tanpa buka/tutup semoga ajah kalian paham yang sudah saya jelasin di atas.

Selamat mencoba ^.^

Related Posts

4 comments

Post a Comment