Quote:
Originally Posted by monx®
Ok so here is the idea. I like HTC based rom but I dont like RECENT APPS in notification bar pulldown. Its wasting notification space as we can hold home touch button to get recent apps list.
So after many trial n errors, here is the way :
(If others hv easier method pls share. tq)
*Im using Desire HD rom frm 2.31 base with GB2.3.3 but i believe it will work on all rom which has quicksettings tab on notification pulldown bar.
So we need SystemUI.apk , apktool & winRAR
Here is the step :
1- Unpack apk using apktool
2- Browse to \SystemUI\smali\com\android\systemui\statusbar\ & delete this files :
RecentApps$1.smali
RecentApps$2.smali
RecentApps.smali
RecentAppsPage$1.smali
RecentAppsPage.smali
RecentAppsTaskManager$1.smali
RecentAppsTaskManager.smali
UpdateShortcutReceiver$1.smali
UpdateShortcutReceiver.smali
3. We hv to edit 3 files
StatusBarFlag.smali
DELETE THIS LINES
Code:
.field public static final HTC_RECENT_APP:Z
.field public static final HTC_RECENT_APP_PAGE:Z
.field public static final HTC_RECENT_APP_TASK_MANAGER:Z
StatusBarService$1.smali
DELETE ALL CODES IN THIS LINES
Code:
.line 440
.line 441
.line 442
.line 443
StatusBarService.smali
DELETE THIS LINES
Code:
.field private mRecentApps:Lcom/android/systemui/statusbar/RecentApps;
.field private mRecentAppsPage:Lcom/android/systemui/statusbar/RecentApps;
.field private mRecentAppsTaskManager:Lcom/android/systemui/statusbar/RecentApps;
.method static synthetic access$100(Lcom/android/systemui/statusbar/StatusBarService;)Lcom/android/systemui/statusbar/RecentApps;
.locals 1
.parameter "x0"
.prologue
.line 98
iget-object v0, p0, Lcom/android/systemui/statusbar/StatusBarService;->mRecentApps:Lcom/android/systemui/statusbar/RecentApps;
return-object v0
.end method
.method static synthetic access$102(Lcom/android/systemui/statusbar/StatusBarService;Lcom/android/systemui/statusbar/RecentApps;)Lcom/android/systemui/statusbar/RecentApps;
.locals 0
.parameter "x0"
.parameter "x1"
.prologue
.line 98
iput-object p1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mRecentApps:Lcom/android/systemui/statusbar/RecentApps;
return-object p1
.end method
.method static synthetic access$102(Lcom/android/systemui/statusbar/StatusBarService;Lcom/android/systemui/statusbar/RecentApps;)Lcom/android/systemui/statusbar/RecentApps;
.locals 0
.parameter "x0"
.parameter "x1"
.prologue
.line 98
iput-object p1, p0, Lcom/android/systemui/statusbar/StatusBarService;->mRecentApps:Lcom/android/systemui/statusbar/RecentApps;
return-object p1
.end method
DELETE ALL CODES IN THIS LINES
Code:
.line 1036
.line 1037
.line 1786
.line 1787
4- Rebuild using apktool
5- Open original SystemUI.apk using winRAR & drag n drop classes.dex from modded SystemUI\build\apk folder
6- Push SystemUI.apk using adb to \System\app
7- Done
|
Hi, this is what I was looking for.can I apply this mod on my desire z? Thx
Sent from my HTC Vision using XDA
|