Skip to content

Instantly share code, notes, and snippets.

@samchoi69
Forked from CHEF-KOCH/Remove BlueStacks Ads
Last active December 15, 2023 09:34
Show Gist options
  • Save samchoi69/75d9bd164597338ff116b5a441e41a83 to your computer and use it in GitHub Desktop.
Save samchoi69/75d9bd164597338ff116b5a441e41a83 to your computer and use it in GitHub Desktop.
Remove BlueStacks Ads
# Windows
1. Open Windows Command Prompt
2. Run command
"C:\Program Files (x86)\BlueStacks\HD-Adb.exe" shell
# Within BlueStacks shell
/system/xbin/bstk/su
pm disable-user com.bluestacks.s2p
# macOS
1. Open Terminal
2. Run command:
/Applications/BlueStacks.app/Contents/MacOS/adb shell
# Within BlueStacks shell
/system/xbin/bstk/su
pm disable-user com.bluestacks.s2p
# Error: device not found
# Kill the server with ADB
# Make sure BlueStacks is running before you try to start ADB and disable the user
# Windows
"C:\Program Files (x86)\Bluestacks\HD-Adb.exe" kill-server
#macOS
/Applications/BlueStacks.app/Contents/MacOS/adb kill-server
@DBurca
Copy link

DBurca commented Jan 3, 2021

Now, when I get into the daemon, I can do cd system/xbin/bstk and I get into that directory. However, when I type system/xbin/bstk/su it does not recognize that directory, even though I can run ls to list the available paths, and I see su in there. In other words, I cannot get into the su directory. Don't know what to do, I think that OP should have given more explanation.

@Learn000
Copy link

Whenever I start the daemon, it starts, then after a few seconds it says . I'm not sure what to do, and I have even restarted the server a few times. I am running bluestacks 4error: closed

i have this problem too

Copy link

ghost commented Jan 13, 2021

Maybe get root by this link and try running the above except replacing /system/xbin/bstk/su to su?
Shoot, still does not work because package does not exist, maybe Bluestacks patched this?

@MarshMeadow
Copy link

we need an updated version..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment