Breaking news

random

Guide Custom Recent Panel Style

Assalamualaikum wr wb.

hai sobat? amatnewbe akan berbagi tutoiral Guide Custom Recent Panel Style  apa sih itu recent panel ? recent panel adalah tampilan dimana kita dapat melihat aplikasi-aplikasi yang sebelumnya kita buka agar kita tidak mudah bosen dengan tampilan recent yang biasa-biasa saja makanya perlu adanya sedikit modif dari tangan-tangan kreator. nah untuk guide ini bisa sobat simak dibawah :


syarat : Paham DC & RC
Level : sedang
Bahan 

Untuk jaga2 Backup file berikut :
[framework-res.apk, framework.jar, systemUI.apk]

- Decompile framework-res.apk
  buka red/value/dimens.XML
  rubah jadi :

    <dimen name="thumbnail_height">160.0dip</dimen>
    <dimen name="thumbnail_width">240.0dip</dimen>

- recompile
- sign in

-------------------------

- Decompile framework.jar
- masukan bahan ke tempatnya, kalo udah ada lewati

- Recompile
- Sign in
- push framework-res.apk & framewok.jar ke system
- reboot
- Kalo sukses (gk bootlop) lanjut


- Decomple systemUI.apk compere dulu bahanya yg d systemUi_src/res/layout-land sama layout-port & pastikan semua id sama dg id yg ada d recent stock ente, hati" beda 1 id aja UI ente akan hilang d telan bumi,
- buka res/value/strings.xml
   tambahkan :

    <string name="service_background_processes">%1$s free</string>
    <string name="service_foreground_processes">%1$s used</string>
 diatas </Reseorces>

- buka res/value/colors.xml
   tambahkan :

    <color name="green">#ff00ff32</color>

    diatas </Reseorces>

- buka res/value/bools.XML

  Ubah :
    <bool name="config_recents_thumbnail_image_fits_to_xy">true</bool> ----> false jadi true

- kalo udah yaqin recomple lalu decomple egen
- buka systemUI_src_src/smali/com/android/systemUI/statusbar/phonestatusbar.smali
- cari line ini :

.method protected updateRecentsPanel()V
    .locals 2

- ubah .locals 2 jadi .locals 5

- masih d method yg sama :

.method protected updateRecentsPanel()V
    .locals 5

    .prologue
    .line 988
    sget-boolean v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->useTouchWizGUI:Z

    if-eqz v0, :cond_3

    .line 989
    const v0, 0x7f03007d
    
- ubah jd kayak gini :

.method protected updateRecentsPanel()V
    .locals 5

    .prologue
    .line 988
    sget-boolean v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->useTouchWizGUI:Z

    if-eqz v0, :cond_3

    .line 989
    iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v2

    const-string v3, "recent_style"

    const/4 v4, 0x0

    invoke-static {v2, v3, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

    move-result v2

    const v3, 0x0

    if-eq v2, v3, :cond_0

    const v3, 0x1

    if-eq v2, v3, :cond_1

    const v3, 0x2

    if-eq v2, v3, :cond_2

    :cond_0
    const v0, 0x7f03003d # layout stok ente

    goto :goto_0

    :cond_1
    const v0, 0x7f03007d #<public type="layout" name="wood_status_bar_recent_panel" id="0x7f03007d" />

    goto :goto_0

    :cond_2
    const v0, 0x7f030080 #<public type="layout" name="buble_status_bar_recent_panel" id="0x7f03007d" />

    goto :goto_0

    :goto_0

- buat device lain d sesuaikan aja ya :D
- kalo sudah save
- recomple /sign

- Lanjut Decomple settings.apk
- merge semua bahanya
- buka secsettings_src/res/xml/display_settings.xml
- tambahkan ini :

    <PreferenceScreen android:title="Custom Recent Panel" android:key="recent_style" android:fragment="com.android.settings.recent.RecentPreference" />
 
- buka secsettings_src/res/values/array & tambahkan ini:


    <string-array name="recent_entries">
        <item>Recent Stock</item>
        <item>Recent Wood Style</item>
        <item>Recent Buble Bunny</item>
    </string-array>
    <string-array name="recent_values">
        <item>0</item>
        <item>1</item>
        <item>2</item>
    </string-array>
 
- recomple & decomple egen
- ada satu id d smali/com/android/settings/recent/RecentPreferences.smali
- ganti id nya dg recent_preference.xml d id public ente

- save/recomple/sign/push
- Recent akan berubah setelah reboot/restart UI pake apk om adefikry ataupun guide yg ada d maaadr




CREDIT :
- Denz anarchyninetenine
- Pete Surga Dunia
- XDA DEVELOVER
- MAAAD.R
- BUNY & BUBBLE THEME
- PANIC XPERINCE
- Samsung Galaxy chat GT-B5330 (Official)
- Wa group Galaxy cHat Mlehoy
- Bang Banger

terima kasih.

Wassalamualaikum wr wb.

Guide Custom Recent Panel Style Reviewed by amat xcool on 23:06 Rating: 5

No comments:

All Rights Reserved by Oprek Android Ala Newbe © 2015 - 2016
Designed by SaSaThemes

Contact Form

Name

Email *

Message *

Powered by Blogger.