[Android Q&A, Help & Troubleshooting] Hiroim:
How to install SuperSU and root BlueStacks 2.0.x.x manually

I'm a total noob when it comes to android but somehow I've managed to root latest 2.0.8.5638 with trial and error method :P Here is what I've done. I'm not sure if its the right way tho :)

1. Download SuperSU 2.46 from their site or download this: https://dl.dropboxusercontent.com/s/v5kje7gsb9q3pp8/tmp.7z?dl=1 I've only added necessary files in the zip.

Open cmd and push this files to BlueStacks. If you've downloaded complete supersu package then you'll need "libsupol.so, su, supolicy" from "x86" folder and "Superuser.apk" from "common" folder. You'll also need adb installed and added to your environment variable path or you can use "C:\Program Files (x86)\BlueStacks\HD-Adb.exe" instead of adb...

adb push xbin\su /data/local/tmp
adb push xbin\supolicy /data/local/tmp
adb push lib\libsupol.so /data/local/tmp
adb push app\Superuser.apk /data/local/tmp

2. Run adb shell in cmd

adb shell

And type this in shell, it will grant you root permission. They left this and also busybox in latest versions.

/system/xbin/bstk/su

3. Remount with rw rights. Not sure about first and last though, /dev/sda1 /system is necessary.

mount -o rw,remount /dev/block/sdb1 /data
mount -o rw,remount /dev/sda1 /system
mount -o rw,remount / /

4. cd to /data/local/tmp and give these permissions below to files.

cd /data/local/tmp

chmod 0775 su
chmod 0775 supolicy
chmod 0664 libsupol.so
chmod 0664 Superuser.apk

5. Move/copy this files.

cp su /system/xbin/su
cp su /system/xbin/daemonsu
cp supolicy /system/xbin/supolicy

cp libsupol.so /system/lib/libsupol.so

cp Superuser.apk /system/app/Superuser.apk

6. You have to edit init.sh file. You can do it with vi

busybox vi /system/etc/init.sh

Scroll down to end of script.

You'll see something like this.

init|"")
do_init
;;
esac

change it to

init|"")
do_init
/system/xbin/daemonsu --auto-daemon &
;;
esac

then exit with ":wq!"

or alternatively you can copy that file to bluestacks shared folder and edit it with your text editor then copy it back. Its easier this way.

cp /system/etc/init.sh /storage/sdcard/windows/BstSharedFolder/init.sh

edit init.sh file in "C:\ProgramData\BlueStacks\UserData\SharedFolder" then copy it back to BlueStacks.

rm /system/etc/init.sh
cp /storage/sdcard/windows/BstSharedFolder/init.sh /system/etc/init.sh

P.S. if you use "cp -f" you may not need to write "rm" command, haven't tried it myself. Like I said, noob here :)

Ok, now you should have root access.

You may want to install apps like apex launcher, root explorer etc. Then you can uninstall BlueStacks' bloatware if you want.

::bluestacks things

rm /mnt/prebundledapps/com.google.android.apps.photos-1.apk

rm /mnt/prebundledapps/downloads/BstFakeGps.apk
rm /mnt/prebundledapps/downloads/MyBluestacks.apk
rm /mnt/prebundledapps/downloads/bluestacksHome.apk
rm /mnt/prebundledapps/downloads/bluestacksServices.apk
rm /mnt/prebundledapps/downloads/newAppFinder.apk
rm /mnt/prebundledapps/downloads/setupWizard.apk

rm /data/downloads/AppGuidance.apk
rm /data/downloads/AppSettings.apk
rm /data/downloads/BstFakeGps.apk
rm /data/downloads/MyBluestacks.apk
rm /data/downloads/S2P.apk
rm /data/downloads/bluestacksHome.apk
rm /data/downloads/bluestacksServices.apk
rm /data/downloads/newAppFinder.apk
rm /data/downloads/setupWizard.apk

7. Remount with readonly again.

mount -o ro,remount /dev/sda1 /system
mount -o ro,remount / /

8. Don't know what it does but I've seen it on some instructions :)

sync

9. Open a cmd with admin rights and kill BS2 completely then open it again.

taskkill /f /t /im "BlueStacks.exe" /im "HD-Agent.exe" /im "HD-Adb.exe" /im "HD-BlockDevice.exe" /im "HD-FrontEnd.exe" /im "HD-Network.exe" /im "HD-Service.exe" /im "HD-SharedFolder.exe" /im "HD-UpdaterService.exe" /im "HD-LogRotatorService.exe"

10. Open SuperSu app in BS2, it may want you to update su binaries. Update it with normal option and restart it. Use taskkill way to completely kill it again.

11. Run adb shell again. You may need to run "adb kill-server" command first.

12. Run "adb shell" command then type "su". SuperSu will want grant permission approval for shell. Give it and now you should have a rooted BS2 :)