1. Download
LidroidSystemUI.apk
link
Lidroid-res.apk
link
Quickpanel.apk
link
2. Decompile SystemUI.apk, dan LidroidSystemUI.apk
copy smalinya LidroidSystemUI.apk ke smalinya SystemUI
3. buka SystemUI/smali/com/android/
systemui/status/StatusBarService.smali.
Cari (Ctrl + F) kode
QuickSettingsView
, ganti
kode ini
Code:
.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 352
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
dengan
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line 352
.local v3, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
4. Compile SystemUI
5 .Selesai
Tinggal push ke system
Quicpanel.apk dan SystemUI.apk ke system/app
lidroid-res.apk ke system/framework
*tested on galaxy young
Credit :
-Lidroid
-Dcsms
Tidak ada komentar:
Posting Komentar