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
View Poll Results: Do you have Google Play working on your BlueStacks?
Yes 470 68.21%
No 219 31.79%
Voters: 689. You may not vote on this poll

Post Reply

BlueStacks Beta 4/3 ROOTED & Play Store Guide

OP AndroidFileHost

29th March 2012, 08:00 PM   |  #1  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
SEE POST 3 FOR ROOT GUIDE


Below you will find the neccesary steps needed to get Google Play to run on BlueStacks Beta

1. Install Root Explore (can be downloaded for free using bluestacks and typing in the app name)

2. Download the Vending.apk and Google Framework from this post.
http://www.androidfilehost.com/main/Misc/Bluestack/
3. Copy them to /data/bst

4. Give them these Permissions
(rwxr-xr-x) or through adb:

Code:

Quote:

adb shell chmod 755 /data/bst/vending.apk
adb shell chmod 755 /data/bst/googleservicesframework.apk




5. Reboot Bluestacks

6. Download ADW Launcher if you haven't (this is not a requirement but it helps as if you already have Google Play in your PC you just find it through /data/windowsdata)

7. Find Google Play and sign in with your email and password.



Step by Step Guide on how to get into root.fs and mount the system.img

Click Here

The programs that are listed in the tutorial can also be found on my site here:

http://www.androidfilehost.com/main/Misc/Bluestack/

Along with those programs you will find all the tools,apks, installers you will need to get the market on Bluestacks Beta along with the tools to modify its files.
Last edited by AndroidFileHost; 4th April 2012 at 04:39 AM.
The Following 33 Users Say Thank You to AndroidFileHost For This Useful Post: [ View ]
29th March 2012, 08:02 PM   |  #2  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Lost, Confused, Cant get the Market to run with the instructions above?

Alternative Way-UPDATED 4/2/2012 :

I have uploaded a modified root.fs to my site for you to download

I added the the market per the instructions in the tutorial on the blog.

Steps:
Download the root.fs and overwrite the current root.fs on your computer.

Location:
C:\ProgramData\BlueStacks\Android

Make sure to stop all instances of BlueStacks before overwriting the file. Also Please Please make a backup of your original root.fs before overwriting the file with the modified one.

Once you have copied over the new root.fs start Bluestacks and wait for it to load up.

Congrats you have the newest Market running on BlueStacks.

You might need to install ADW Launcher inorder to see the Play Store/Market. It doesnt show up in the bluestacks launcher

Files can be downloaded from here:
http://www.androidfilehost.com/main/Misc/Bluestack/


------------------------------------------------------------------------
Was going to post my own guide but someone beat me to it.
Here a guide on some of the Registry Tweaks

http://droidhackings.blogspot.com/20...-optimize.html
Last edited by AndroidFileHost; 2nd April 2012 at 04:51 PM.
The Following 17 Users Say Thank You to AndroidFileHost For This Useful Post: [ View ]
29th March 2012, 08:03 PM   |  #3  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
---Rooting BlueStacks Beta---

DOWNLOAD LIST (assuming you already have BlueStacks installed):
Code:
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/...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
-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***

-------------------------------------------------------------------------------------------------
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 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/...Stacks%20Beta/

Extended system.img

http://www.androidfilehost.com/main/...%20system.img/
Last edited by AndroidFileHost; 6th April 2012 at 06:04 PM.
The Following 22 Users Say Thank You to AndroidFileHost For This Useful Post: [ View ]
29th March 2012, 11:50 PM   |  #4  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2010
Thank you!
works perfect! Great!
29th March 2012, 11:51 PM   |  #5  
Senior Member
Thanks Meter: 14
 
148 posts
Join Date:Joined: Oct 2010
Can not mount r/w system, any idea, is it possible ???
29th March 2012, 11:57 PM   |  #6  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2010
I used the alternative method - with the "root.fs"
that was perfect!

I would like to get the bluestacks-alpha-fullscreen again - without the suggested apps bar etc.

Any idea?

Thanks again,
Sascha
30th March 2012, 04:08 AM   |  #7  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by Stapelmeister

I used the alternative method - with the "root.fs"
that was perfect!

I would like to get the bluestacks-alpha-fullscreen again - without the suggested apps bar etc.

Any idea?

Thanks again,
Sascha

We cant get the whole bar to go away yet. im still experimenting with that. I can make it black but not 100% gone.
30th March 2012, 04:09 AM   |  #8  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by milniko

Can not mount r/w system, any idea, is it possible ???

It is not possible yet. Still working on it
30th March 2012, 04:10 AM   |  #9  
AndroidFileHost's Avatar
OP Official AndroidFileHost Representative
Flag Texas
Thanks Meter: 1,219
 
1,085 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by imisa2

Get Maximum out of your BlueStacks Beta, Some useful Registry Hacks, tips and tricks Here:
droidhackings.blogspot.com

Well frick lol Was just posting my tutorial/guide on how to do those things. you beat me to it.


MOD-Please combine last 3 Posts.

Sorry
Last edited by AndroidFileHost; 30th March 2012 at 04:13 AM.
The Following User Says Thank You to AndroidFileHost For This Useful Post: [ View ]
30th March 2012, 07:08 AM   |  #10  
Member
Thanks Meter: 20
 
37 posts
Join Date:Joined: Mar 2011
@Repin

I went through the Mod-V3.exe that chevy uploaded for the alpha build that enables r/w access to sytem.

The main changes I saw involved system.img, init-hack.img, ramdisk.img, and registry hacks.

-The registry hacks are fairly self-explanatory, except that now there is a need for a /sde1 to allow for the PrebundledApps.fs

-We already have a good system.img with Superuser to use in place of Root.fs in the /Bluestacks/Android/ folder.

-I tore into the alpha initrd.img and compared it to the alpha initrd-hack.img. The only difference inside both initrd.img and initrd-hack.img was a bash script named init. After a comparison of the scripts I found the point where the initrd-hack init script sets up the /system for r/w access. I then compared the alpha init script and init-hack script with the beta init. The only difference between the alpha init script and the beta init script is that the beta script has two extra 'insmod' entries for HD that the alphs does not. So, I made the same changes to the beta init script that are in the alpha init-hack script to enable /system with r/w. ****I'm not sure how to repackage initrd.img with my modified init script so that we can replace the original***

-The only thing I am unsure of is ramdisk.img. My question to chevy is "Did you make any modifications to ramdisk.img contained in the Mod-V3.zip that was uploaded for the alpha build?"


Sent from my BlueStacks using XDA
(Edited for spelling)

The Following User Says Thank You to tenet421 For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
android, beta, bluestacks, market, root
Previous Thread Next Thread