Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Deleted

[Mod][How To] Disable the Boomsound icon

OP thoughtlesskyle

Prev Previous Post   Next Post Next
22nd April 2014, 04:52 AM   |  #1  
thoughtlesskyle's Avatar
OP Recognized Developer
Flag Outside of Philadelphia
Thanks Meter: 3,639
 
5,830 posts
Join Date:Joined: Nov 2008
More
I've gotten this question a few times in the SuperSix thread so I decided i'd post this as its own to make it easier to find an search
(mods can move or delete this thread as needed)

So first thing to know about the Boomsound icon in the status bar, it's not referred to as boomsound anywhere in the smali, it's still referenced as the beats icon, because it honestly is just with a different coat of paint.

what you'll need:

APKTOOL (i'm not going to spend time on how to decompile and all that)
Text editor of some sort, I love me some Notepad ++
Deodex'd rom


Grab the Framework.jar from your rom and decompile it, then open your smali folder and navigate to

smali\android\media\AudioService$HTCBeatsEffect.sm ali

look for the following
HTML Code:
.method public showBeatsIcon(I)V
    .locals 6
    .param p1    # I

    const/4 v5, 0x1

    const/4 v4, 0x0

    const/4 v3, 0x0

    iget-boolean v0, p0, Landroid/media/AudioService$HtcBeatsEffect;->mNotificationOn:Z

    if-eqz v0, :cond_0

    iget v0, p0, Landroid/media/AudioService$HtcBeatsEffect;->mIconId:I

    if-eq v0, p1, :cond_1
Change to:

const/4 v5, 0x0

it will look something like this:

HTML Code:
.method public showBeatsIcon(I)V
    .locals 6
    .param p1    # I

    const/4 v5, 0x0

    const/4 v4, 0x0

    const/4 v3, 0x0

    iget-boolean v0, p0, Landroid/media/AudioService$HtcBeatsEffect;->mNotificationOn:Z

    if-eqz v0, :cond_0

    iget v0, p0, Landroid/media/AudioService$HtcBeatsEffect;->mIconId:I

    if-eq v0, p1, :cond_1
recompile, sign, and either push or flash it how you please.


Credit goes to @Gumby63 for finding the kill switch.

Devs and Chef's if this helped feel free to include it in your roms, and credit as you see fit (we'd def appreciate it though)
The Following 8 Users Say Thank You to thoughtlesskyle For This Useful Post: [ View ]
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes