Pages

Wednesday, April 4, 2012

BLUESTACKS BETA ROOT INSTRUCTIONS



Finally, we have root access to Bluestacks beta. Credit goes to tenet421, Repin, and xRepinsSporx at xdaDevelopers for his commendable efforts. Here is step by step guide produced by  xRepinsSporx with few modifications by me to make sure that gapps work properly.

DOWNLOAD LIST (Download only these files from androidfilehost link given below) (assuming you already have BlueStacks installed):
Code:
1. initrd-betahack.img    ***INCLUDED***
2. ramdisk.img ***INCLUDED***

3. su.x86 ***INCLUDED***
4. BlueRegistryMOD ***INCLUDED***
---------------------------------------------------------------------------------------------
Download from Here:
http://www.androidfilehost.com/main/...Stacks%20Beta/
Code:
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
Download from Here
Extract the zip file and
-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***

---------------------------------------------------------------------------------------------
Code:
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\Andr oid]
"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 (from task manager kill all HD- process) 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
IMPORTANT: THIS LITTLE TUTORIAL IS ONLY FOR THOSE WHO DON'T KNOW HOW TO INSTALL adb. GEEKS CAN SKIP THIS AND GO TO STEP 4
To get adb on your computer, You can simply download Android sdk tools from HERE.
  • Unzip it to your C:\
  • Now go to start, type cmd, hit enter. command prompt will open.
  • In command prompt type "cd c:" without quotes and hit enter. If you are already in c:\users\ur_user_name, just type "cd.." (cd double dot without quotes) and hit enter, again type "cd.." (cd double dot without quotes) and hit enter.
  • Now you should be in C:\>
  • Now type "cd tools" (without quotes) and hit enter
You are ready to follow the Next steps:
4
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 and Don't forget to bookmark this blog. I will soon upload a video tutorial on How you can enjoy Android Icecream Sandwich (ICS) on your windows PC.


New Visitor? Like what you read? Then please subscribe to my Blog Feed or sign up for Free Email Updates.  If you have anything to share, please do write us a comment below. As a token of thanks I request you to share this blog with your friends at facebook, twitter or Google+. If you want to play the Best Games on your Android you can find Here. Oh you were looking for some crispy apps? Go get from Here Thanks for Visiting!
DOWNLOAD FREE ANDROID GAMES