[Android Software/Hacking General [Developers Only]] AndroidFileHost:
---Rooting BlueStacks Beta---

DOWNLOAD LIST (assuming you already have BlueStacks installed):

1.	initrd-betahack.img	***INCLUDED***
2.	ramdisk.img	***INCLUDED***
3.	system.img-----------------NOT INCLUDED!!!
4.	su.x86	***INCLUDED***
5.	BlueRegistryMOD	***INCLUDED***

--------------------------------------------------------------------------------------------------

Download from Here:

http://www.androidfilehost.com/main/Misc/Bluestack/Rooting BlueStacks Beta/

These are the custom files needed for root and r/w
-initrd-betahack.img
-ramdisk.img
-system.img
-su.x86

FILE: initrd-betahack.img

-From Beta (modified)

-Place it in \%programdata%\BlueStacks\Android\

FILE: ramdisk.img

-From Mod-V3.zip alpha

-Place it in \%programdata%\BlueStacks\Android\

FILE: system.img

-Extracted from xRepinsSporsx Root.fs (for Google Play)

Or

-Extracted from latest BlueStacks Root.fs

-Place it in \%programdata%\BlueStacks\Android\

FILE: su.x86

-From Androidx86 build (extracted from rooted alpha)

-This is the x86 superuser binary that auto-grants superuser-rights

***This file will be pushed to android using adb later on***

-------------------------------------------------------------------------------------------------

These files are the stock Beta files and remain in place
-kernel.elf
-Data.fs
-Prebundled.fs
-SDCard.fs

FILE: kernel.elf, Data.fs, Prebundled.fs, SDCard.fs

-From Beta

-Placed in \%programdata%\BlueStacks\Android\

---------------------------------------------------------------------------------------

Changes that need to be made to the registry are contained in BlueRegistryMOD.reg

FILE: BlueRegistryMOD.reg

***WARNING***

YOU MUST ENTER YOUR SPECIFIC USER ID BEFORE RUNNING BlueRegistryMOD.reg !!!

Where the registry key says ENTER-YOUR-GUID-HERE you need to enter the number (with dashes) found here:

FIND YOUR SPECIFIC GUID HERE!!!

[HKEY_CURRENT_USER\Software\BlueStacks]

“USER_GUID”=”SOME-NUMBERS-HERE”

Example of a GUID:

“USER_GUID”=”8dfcb602-4b7d-11e1-9dc9-f3dea6cb4293”

Example of a modified “BootParameters” with correct GUID and changes made to mount /system:

[HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android]

"BootParameters"="root=/dev/sda1 SRC=/android DATA=/dev/sdc1 SDCARD=/dev/sdd1 GUID=8dfcb602-4b7d-11e1-9dc9-f3dea6cb4293 armApps=true GlMode=1 OEM=BlueStacks "

***ENTER-YOUR-GUID-HERE must be changed in 2(two) places in BlueRegistryMOD.reg***

-------------------------------------------------------------------------------------------

THIS IS THE PROCESS:

***Make sure to exit BlueStacks before proceeding***

1.	Paying attention to the guidelines above, place the following files in their correct location – this includes initrd-betahack.img, ramdisk.img, and system.img.

2.	After finding your GUID and making the appropriate changes to BlueRegistryMOD.reg in 2(two) places, run the registry file.

3.	Start/restart BlueStacks – go to the Start menu>type Start Bluestacks

4.	Start adb on your computer

a.	Connect to bluestacks - #adb connect 127.0.0.1:5555

b.	Ensure you have root access - #adb root

i.	You should get message: “adbd is already running as root”

c.	Mount system as read/write - #adb remount

d.	Remove ‘dummy’ superuser - #adb shell rm /system/xbin/su

e.	Push x86 superuser to BlueStacks - #adb push su.x86 /system/xbin/su

i.	su.x86 must be in the same Windows directory you are running in the console

f.	Correct the permissions for superuser - #adb shell chmod 6711 /system/xbin/su

g.	Remount system read only - #adb shell mount -o ro,remount t-ext4 /dev/sdb1 /system

h.	Exit adb by closing the console window

5.	Restart BlueStacks – go to the Start menu>type Start BlueStacks

6.	At this point you should have root and read/write access.

a.	Verify root using a tool like Root Check. I suggest Root Check Pro because it will point you to what the problem is if you do NOT have root.

b.	Verify read/write access using a tool like Root Explorer.

7.	Enjoy.

***This is a sure-fire way to get root and read/write access. However, I find that there are still issues with GAPPS (gmail, calendar specifically)

Download from here:

http://www.androidfilehost.com/main/Misc/Bluestack/Rooting BlueStacks Beta/

Extended system.img

http://www.androidfilehost.com/main/Misc/Bluestack/Extended system.img/