xcanX033
Ambitioniertes Mitglied
- 5
Servus Leute, könnte mir jejema ausführlich ererklärewie ich folgende mods installieren kann, ich blicks nicht so wirklich...
[Guide How-to] Remove Safe Volume Warning
This removes the safe volume warning that pops up when you turn up the volume beyond a certain point.
This mod requires modifying framework.jar
Edit smali/android/media/AudioService.smali:
Changes are in .method private checkSafeMediaVolume(III)Z
, new lines are in BLUE:
:cond_1
iget-object v6, p0, Landroid/media/AudioService;->mSafeMediaVolumeState:Ljava/lang/Integer;
invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I
move-result v6
goto :goto_td
if-ne v6, v7, :cond_4
---
goto :goto_1 :goto_td :cond_4 monitor-exit v5 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_0 goto :goto_0 .end method
[Guide How-to] Remove Power Saving Notification
This will hide the ongoing Power Saving notification in the pulldown.
SecSettings.apk smali edit:
smali\com\android\settings\powersavingmode\PowerNo tiReceiver.smali
Add new code in BLUE to skip to the bottom of the method.
Code:
.locals 11
goto :goto_td
.
.
.
:goto_td
return-void
.end method
[Guide How-to] Remove Safe Volume Warning
This removes the safe volume warning that pops up when you turn up the volume beyond a certain point.
This mod requires modifying framework.jar
Edit smali/android/media/AudioService.smali:
Changes are in .method private checkSafeMediaVolume(III)Z
, new lines are in BLUE:
:cond_1
iget-object v6, p0, Landroid/media/AudioService;->mSafeMediaVolumeState:Ljava/lang/Integer;
invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I
move-result v6
goto :goto_td
if-ne v6, v7, :cond_4
---
goto :goto_1 :goto_td :cond_4 monitor-exit v5 :try_end_3 .catchall {:try_start_3 .. :try_end_3} :catchall_0 goto :goto_0 .end method
[Guide How-to] Remove Power Saving Notification
This will hide the ongoing Power Saving notification in the pulldown.
SecSettings.apk smali edit:
smali\com\android\settings\powersavingmode\PowerNo tiReceiver.smali
Add new code in BLUE to skip to the bottom of the method.
Code:
.locals 11
goto :goto_td
.
.
.
:goto_td
return-void
.end method