yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] J94w:
Is there a way to extract and apply the files required to run the so called high performance needed?

A lot of apps wont run because of that
[Android Software/Hacking General [Developers Only]] tenet421:
The files required to run the HD shiz look like they are insmodded (added to) android at start i.e. insmod /bstmods/hd_ipc_drv.ko etc.

Maybe if you have root with su binary from alpha (not apk) and r/w with the method in this thread you will have all the HD needed :)

There will be a tutorial tonight

---------- Post added at 03:17 PM ---------- Previous post was at 03:10 PM ----------

Uh oh.

After rooting the newest Root.fs gmail fails and so does the market.
[Android Software/Hacking General [Developers Only]] AndroidFileHost:
THANKS! Ill add to the OP
[Android Software/Hacking General [Developers Only]] J94w:
The zip file says invalid every time i try to download it
[Android Software/Hacking General [Developers Only]] tenet421:
Thank you @j94w

Updated the .zip file in original post because it uploaded incorrectly.

See attached file

New Zip Here
[Android Software/Hacking General [Developers Only]] J94w:
When you move the modified files, do you put it into the original location of where the original files were or do they all go into the /bluestacks/android/ folder?

Like RamDisk, does it go into the folder or back into the Root.fs file?
[Android Software/Hacking General [Developers Only]] AndroidFileHost:
Thanks for your hard work! I updated the OP. 3rd post has your guide. I made a few tweaks to the font size to make it easier to read. Let me know if it look ok

Thanks for the right up.

Also uploaded the files to my site.

http://www.androidfilehost.com/main/Misc/Bluestack/Rooting BlueStacks Beta/
[Android Software/Hacking General [Developers Only]] codelover:
Nop, every clean installation has an unique IMEI, normally an upgrade will have the IMEI carried forward so that apps like WhatsApp that heavily depends on this IMEI can continue to run without revalidation. Changing the IMEI is easy, but changing to desired IMEI is extremely hard, i am not even sure if it is possible tho. Btw, can you provide the game's apk that failed to register?

---------- Post added at 07:08 PM ---------- Previous post was at 06:49 PM ----------

For your information, the reason why you cannot get root permissions is because you provided the wrong password for the user 'root',

when you type su, you will be asked for password for 'root' user, but when you type sudo su, you are actually being asked for the passwd for the current user instead of root user,

and don't forget the program 'sudo' belongs to 'root' and has SUID bit set, does this make sense to you now?

This is the reason why you have your /system/sbin/su set to 6755.

Once you sudo su and gained # access, you can type 'passwd' to change the password for user 'root' so that next time you can use su directly by providing the right password for user 'root'.

* The above applies to Ubuntu, others distro may already have the root password set during setup.
[Android Software/Hacking General [Developers Only]] Driveskull:
You know that game is free at the market it names Rage of Bahamut , after the tutorial you need to register a device ( if not you cant send items and etc ) But when i try to register it on the bluestacks it says that Failed To register the Device , and its not android phone ,
[Android Software/Hacking General [Developers Only]] codelover:
I tried & installed the game 'Rage of Bahamut' from the Bluestacks built-in App Search and registered account without any problem few days back after you first mentioned in this forum. Not sure if this is the one mentioned, that's why i am asking, perhaps i tried the wrong one or different ver.
[Android Software/Hacking General [Developers Only]] Driveskull:
You can register account with succes . But after registration and login , you will go after tutorial , after that in yours inbox almost on the bottom ( need to scroll down ) will be information about DEVICE REGISTRATIOn ( 1 device 1 account possible to register ) after you do device registration you have full acces to the game .
[Android Software/Hacking General [Developers Only]] carlos93:
Thanks to all for the help, finally have BS rooted with rw permission, thanks :)
[Android Software/Hacking General [Developers Only]] merrickville:
sudo runs 'one' command as root

su - john

su - rick

su - admin

su - .or. su - root

Means 'sWITCH uSER'

BTW: the - in 'real' unix means load the environmental files for the user you're switching to (I.e. .bash .profile) without the -, su will switch you without running the login files/env files.

It does not matter in BS, but in Linux/UNIX, it's advisable to use the su -, that way you'll have a proper root environment.

---------- Post added at 07:00 PM ---------- Previous post was at 06:52 PM ----------

typing sudo su is really strange can only be described as an, oxymoron.

sudo allows you to run a command as root, I.e., mount which must be run by root to mount something

ANYONE can run the 'su' command (prepending with sudo is not needed), you just need to know the root password.

So: keep sudo on the back burner to run 'ONE' command as root, su to switch to root.

---------- Post added at 07:09 PM ---------- Previous post was at 07:00 PM ----------

The first thing I do after an Ubuntu install is this;

$ sudo passwd root
[sudo] password for rick:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
$ su -
Password: <root's password here>
# <you are root, be careful>

But..., this is way off topic LOL
[Android Software/Hacking General [Developers Only]] mohazia:
I was found in the project website sudo -i and the password is 123456. and now I have good experience with your code, I memorized it :fingers-crossed:

but what ever I did, I end up with root access for titanium and some folder for root explorer, but no "adb root" nor mounting RW for system folder in root explorer.

2nd [Q] can I get libwebcore.so & libwebcore.so-amr in one file (like methods of deodex) to apply arabic script on it to allow read arabic
[Android Software/Hacking General [Developers Only]] Driveskull:
Ok guys i think i found what we need to device registration rage of bahamut , i think we need to change GUID , how to acces that in the registry ? and how to change that to the correct value ?
[Android Software/Hacking General [Developers Only]] codelover:
Please have a look Here regarding RoB.

And for those who wish Bluestacks running ICS, there is a good news for us, well, sort of...

According to their official support portal, they are planning to update BS to ICS by Q4 this year!
[Android Software/Hacking General [Developers Only]] Driveskull:
@codelover the info there is outdated and doesnt work :(
[Android Software/Hacking General [Developers Only]] mammadkhata:
is there anyone tried it in windows 8?
[Android Software/Hacking General [Developers Only]] RomWiz:
No

$3nt fr0m my K4ng3d Ph0n3
[Android Software/Hacking General [Developers Only]] Verttex:
Downloaded the Root.fs and intrid from a couple pages back and installed them with the Root Installer. Now I have a non functioning BlueStacks. Can anyone write up a simple post on how to do it for newbs like me? From start to finish?
[Android Software/Hacking General [Developers Only]] shinobisoft:
If you have the newest bluestacks, those won't work. They are for BS 0.7.5.2700.
[Android Software/Hacking General [Developers Only]] Verttex:
Any download for BS 0.7.5.2700? I really want this to work.
[Android Software/Hacking General [Developers Only]] shinobisoft:
Check this post
[Android Software/Hacking General [Developers Only]] codelover:
If you are looking for 0.7.5.2700 setup, you can get it here.

By the way 0.7.7.0813 is out!
[Android Software/Hacking General [Developers Only]] milniko:
Same method for rooting works with new version:

http://xdaforums.com/showpost.php?p=32344997&postcount=346
[Android Software/Hacking General [Developers Only]] merrickville:
Confirmed

Rooted Bluestacks 0.7.7.813

Swapped out system.sfs with system.img in Root.fs

Mounted system.img in Linux

Downloaded Superuser-3.2-x86-signed.zip (extracted Superuser.apk & su, injected them by hand into system.img (/system/app & /system/bin)

Modded initrd.img to mount /system as read/write. (Attached)

Wallpaper now fits! That's nice.
[Android Software/Hacking General [Developers Only]] merrickville:
It's not simple in Windows, but in linux, it has everything you already need to mount the Bluestacks virtual hard drives and inject your apps, root etc...
[Android Software/Hacking General [Developers Only]] mohazia:
Thanks, I did and upload my Root.fs with root permission for BlueStacks 0.7.7.813 . it's HERE
[Android Software/Hacking General [Developers Only]] 6shadow6:
[Request]

when i put your root.fs my bluestacks 7.7.813 cannot run. i see never ending loading screen

any one can upload
[Android Software/Hacking General [Developers Only]] mohazia:
u have 2 use merrickville's initrd.img
[Android Software/Hacking General [Developers Only]] mohazia:
I re-upload the file, and changed the previous link. I download it again to confirm that copy. it's identical
[Android Software/Hacking General [Developers Only]] 6shadow6:
[CONFIRM]

I just use initrd and root.fs and now all is work. Bluestacks 0.7.7.813 rooted :)

nice work ppl
[Android Software/Hacking General [Developers Only]] merrickville:
:good: - Awesome, teamwork mohazia

Just on a side note, I spent about three hours last night on my computer. I downloaded 4 different programs for Windows 7 x64 that 'claim' they can mount Ext3 file system read/write (right in windows) But they ALL failed to work, I can only get Read/Only.

My plan was to put up a good Windows guide to do this. I got very frustrated, and gave up.

Plan B ...

As I type, Portable Ubuntu Linux is downloading. (but it's 1.3GB, large, but we all have high speed right?) :p

I will create a guide using "Portable Ubuntu" LINUX. You can put this on a Memory Stick (USB Memory Stick) and run it, all your changes inside Linux are saved. So, you run Ubuntu Linux inside Windows! Does not change your computer nor Windows, and you can hack Bluestacks the Linux way, easy peasy.

I want everyone to be able to do this themselves, in Linux everything is there, I will provide the commands for the Do It Yourself method.

More to follow.........................

UPDATE: Portable Ubuntu does not work in Windows 7 Pro x64. Dang, sorry guys this was my easiest way I could think of to help out the Windows Only people on here to root & hack Bluestacks.

But he, if you like Bluestacks, Pssssst, it's linux Time to get a dual boot system and learn the OS that runs your Androids and Bluestacks, and well, the Internet.
[Android Software/Hacking General [Developers Only]] rocketero:
@merricville, did you try running the version of portable ubuntu in windows 7 64bit? I did try and seems like it doesn't like the 64 bit structure, I just can see the initial splash logo but nothing else.

Also has anyone try to root and succeeded the new versions of BS (after 0.7.5.2700) with the Root.fs and initrd.img using the rootinstaller from bill_weckel listed on page 49 post# 486?

http://xdaforums.com/showthread.php?t=1571308&page=49 (post # 486 here: http://xdaforums.com/showpost.php?p=32851703&postcount=486)
[Android Software/Hacking General [Developers Only]] shinobisoft:
Here's how I do it. My main OS is Windows 7 Home Premium 64 bit. I can boot into Windows or Ubuntu, which I've upgraded to 12.04.

WUBI
[Android Software/Hacking General [Developers Only]] merrickville:
I got the same results, just a splash screen (logo only) I tried to run pubuntu.exe in Windows XP mode, that brought up a couple of more windows (consoles) but, then just sat there.

Does not like x64 Windows 7, lots about it on the Internet, so, it's just not me.
[Android Software/Hacking General [Developers Only]] merrickville:
I also installed WUBI to try it out, it's more involved as you have to run through the entire install of Ubuntu. I was really hoping to have a simple guide for Windows users to root BlueStacks [BS], but 'simple' is just not in the cards, however, there are other ways.

I run my own Ubuntu email and music servers at home, and I use Virtualbox [VB] :good: for both. It's rock sold to run Ubuntu from within your Windows desktop. It does require you to run through the entire Ubuntu install. When VB is not running, is like exiting any other program in Windows, no RAM or resources used. So you need only boot up Ubuntu when you want to root the next release of BS.

If there are any adventurous Windows or MAC only people that want to hack BS for themselves, then quote this to show your interest, and I'll provide a step by step guide using VB to install Ubuntu on your windows 7 i386 or x64 desktop or MAC System, and then hack your BS. Once you root BS once or twice, it gets really simple. I can 'root' a fresh BS install in about 5 minutes.

This is

not

a dual boot, you run Linux from your Windows/MAC desktop inside a virtual computer, it works very well if you have decent horsepower, I have two running for years now. But for the purposes of just hacking BS using VB, a simple laptop will suffice.
[Android Software/Hacking General [Developers Only]] codelover:
Does anyone here use adb? May i know what is the average transfer speed you get when transfering file to Bluestacks 'storage',

Eg: adb push 10 Mb file to /data/?
[Android Software/Hacking General [Developers Only]] merrickville:
adb is slow to transfer files.

10MB, less than one minute on my system.

In the latest bluestacks, your documents directory is mounted and is accessible inside Bluestacks. Better to put the file in your docs dir in windows, then it will be accessible (to copy) inside Bluestacks itself.
[Android Software/Hacking General [Developers Only]] codelover:
Yea i know, but still prefer adb, use for command like adb install, since copying to BS and install later need more clicks :silly:

Just curious why sometimes it can be fast, other time too slow. Read somewhere mentioned that it's related to host network connection,

not sure if it's true, but still cannot explain why the speed is not consistent. any idea?
[Android Software/Hacking General [Developers Only]] merrickville:
It does use a tcp connection, so there must be something in the network socket and bottlenecks it.

I used dropbear ssh sever on previous versions of BS, that's a very fast way to copy.
[Android Software/Hacking General [Developers Only]] codelover:
I was trying very hard to get dropbear working in BS without success, either the apps on market doesn't work or could not find any suitable dropbear binary, may i know how you did it? it would be very nice to have ssh working, miss the auto filename completion feature in shell!

Thank you in advance.
[Android Software/Hacking General [Developers Only]] merrickville:
I'm at work, and I can't remember if I used dropbear or just found some Intel 80386 binaries. I'll get back to you from home.

If you have sshd on your PC or LINUX, then this will work

WORKAROUND:

adb shell
/system/xbin/scp -S /system/xbin/ssh you@192.168.1.30:/file/to/copy/to/BS /sdcard/

EDIT: IRT filename completion...

File completion usually only works if I use PuTTY to ssh into BS or even Android phone. If I use the cygwin ssh command, the file completion does not work.

There is a version of PuTTY that you can use for adb login, I've used it and it works like a charm.

/system/xbin/ash
[Android Software/Hacking General [Developers Only]] mammadkhata:
i always receive "mount: only root can do that" error. what can i do?
[Android Software/Hacking General [Developers Only]] codelover:
I am using PuTTY with adb support, but the problem is the BS does not have sshd.

I did successfully connected to BS thru telnet with telnetd from busybox, and that does provide auto filename completion as well, but telnet is really not my cup of tea. The problem now is to find out which sshd binary works for BS, has been looking for download link for working copy (for android-x86 & similar) with no luck as most download links are now dead.

---------- Post added at 02:14 AM ---------- Previous post was at 02:09 AM ----------

You received that error because you are not running the mount command as 'root', and only root allowed to mount by default.

Have you switch user to 'root' by typing 'su' before running the above commands? What linux distro are you using?

For Ubuntu you may need to type 'sudo su' and provide your user password.
[Android Software/Hacking General [Developers Only]] mammadkhata:
my problem solved i typed this command before mount

sudo -s
[Android Software/Hacking General [Developers Only]] merrickville:
To run these commands, you must be root, so you 1st need to set a root password, then become root:

In the code below, the 1st password asked is 'YOUR' password, your account password

the 2nd password, create a new password for user root.

To keep from pulling out your hair, put a dash (-) after the (su) ( su - )

Open a terminal window in Ubuntu:

Set Root Password:

$ sudo passwd root
Password for <[COLOR="Blue"]yourname[/COLOR]>: <type in [COLOR="Blue"]your[/COLOR] password>
New UNIX Password: <type in a [COLOR="Red"]new [/COLOR]root password>
New UNIX Password again: <type in [COLOR="Red"]same [/COLOR]root password>

$ su [B][COLOR="Red"]-[/COLOR][/B]
Password: <type in the root password, not yours>
# mkdir /b
# mkdir /b/root
# etc...

Now do the mount & etc... commands to root your BlueStacks...

EDIT: You only do the above once, remember the root password, then just use su - next time.

---------- Post added at 02:28 PM ---------- Previous post was at 02:27 PM ----------

Please follow my instructions >>> sudo su <<< makes no sense at all.
[Android Software/Hacking General [Developers Only]] codelover:
ya ya, you're probably right.
[Android Software/Hacking General [Developers Only]] mammadkhata:
how can i install this zip. is this possible installing with rom manager?
[Android Software/Hacking General [Developers Only]] merrickville:
I don't know if you can use rom manager.

take Superuser.apk and su out of the Superuser-3.2-x86-signed.zip

mkdir /b/apk
mount -o loop /b/system.img /b/system_img

put Superuser-3.2-x86-signed.zip in /b/apk

cd /apk
unzip Superuser-3.2-x86-signed.zip

cp system/app/Superuser.apk /b/system_img/app

cp system/bin/su /b/system_img/bin
chown 0:0 /b/system_img/bin/su
chmod 6755 /b/system_img/bin/su

sync
sync

umount /b/system_img

Pack back inside Root.fs
[Android Software/Hacking General [Developers Only]] codelover:
What is the difference between superuser*.zip & su-bin*.zip? both have 'Superuser.apk' & 'su' :confused:
[Android Software/Hacking General [Developers Only]] merrickville:
You should just use the 'official' zips form here: http://downloads.androidsu.com/superuser/

For BlueStacks, make sure you get the x86 version.
[Android Software/Hacking General [Developers Only]] mammadkhata:
previous size of system.img is 87.1 MB while new one is 163.6 MB. so i faced space error in root.fs

i tried to mount that 87.1 MB but i see this:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,

missing codepage or helper program, or other error

In some cases useful info is found in syslog - try

dmesg | tail or so
[Android Software/Hacking General [Developers Only]] rocketero:
I also have WUBI in my 64bit Pc, but I prefer to use another PC where I have like 5 OS's including Ubuntu, OpenSuSe and Windows.

But I was just wondering why this portable Ubuntu doesn't run in a 64Bit windows.

And the main point of the post is to find out if people using your ubuntuinstaller and the Rootfs/initrd.img I posted on post #486 is still good to go with new versions of BS after the 0.7.5.2700
[Android Software/Hacking General [Developers Only]] shinobisoft:
I've tried one other, I believe its tiny Linux or small linux . I remember deleting it recently tho. As for WUBI, I'm not sure exactly why I settled with it. Kinda like having it tho. My main OS is Windows as I'm a Windows programmer.

My installer doesn't check version numbers. Its just a wizard style file copier. Along with writing the appropriate registry key, if needed.

Sent from my LG-P509
[Android Software/Hacking General [Developers Only]] codelover:
They probably will not work, i downloaded 0.7.6 images and placed them inside /Android/ folder and thought it would runs without upgrading the current HD programs 0.7.5, but nop, it failed to boot. So i think the Bluestacks apks have something to do with it, need further explore tho.
[Android Software/Hacking General [Developers Only]] shinobisoft:
I'd be willing to put together installer packages for each bs version since 0.7.5.2700

Edit:

I have found that older imgs will work with newer versions. I rooted 0.7.2 for someone and just for gp, I installed on my system and it booted. I'm running 0.7.5.2700 still.

Sent from my LG-P509
[Android Software/Hacking General [Developers Only]] merrickville:
Always make a backup copy of original Root.fs

Redo from start, and resize to make it bigger.

umount /b/root

umount /b/system_img

e2fsck -f -y /b/Root.fs

e2fsck -f -y /b/system.img

resize2fs -f /b/Root.fs 250MB

resize2fs -f /b/system.img 200MB

Now system.img will fit inside Root.fs
[Android Software/Hacking General [Developers Only]] briareos200:
Anyone know how to tell what version of bluestacks I'm using? I've seen posts on here that say a new version is out but the update bluestacks feature never says there is one.
[Android Software/Hacking General [Developers Only]] codelover:
Go to C:\Program Files\BlueStacks\, mouse hover over HD-Agent to check your BS version.

C:\Program Files (x86)\BlueStacks\ if are using x64 version OS.

Alternatively, you can check by right click HD-Agent -> Properties -> Details -> Product version.
[Android Software/Hacking General [Developers Only]] mohazia:
I did a full guide to root and add google apps with credits to mammadkhata, merrickville it's here

and add google apps to root.fs it's here

P.S: I already updated the previous link
[Android Software/Hacking General [Developers Only]] mammadkhata:
the initrd file was for merrickville not me i didn't make that
[Android Software/Hacking General [Developers Only]] mohazia:
sorry merrickville :angel:, chages done, thanx mammadkhata
[Android Software/Hacking General [Developers Only]] mammadkhata:
that was awesome finally i rooted bluestacks 0.7.7 thanks merrickville :good:
[Android Software/Hacking General [Developers Only]] mohazia:
the corrected syntax should be

resize2fs -f /b/Root.fs 250M

resize2fs -f /b/system.img 200M
[Android Software/Hacking General [Developers Only]] kianty99:
i need help to clean previous install of bluestacks

hi

i've install bluestacks (BlueStacks-ThinInstaller.exe) many times and after many changes and attempts to try to root this awesome software i've install/uninstall it various time and now i would clean because now i've installed bluestacks (this version --> BlueStacks-SplitInstaller_native.exe ) and previous not can be install

now i how can clean all and install the right version of bluestacks to root and then insert google play?

i would know too which are the exactly procedure to root because beetween the first and the third page there is a big discrepancies of instructions version

or which pages of topic i must read to root my bluestacks?

excuse me for confusion... :crying:

thanks a lot
[Android Software/Hacking General [Developers Only]] tenet420:
To do a clean uninstall use ccleaner to remove the bluestacks, then use it to clean the registry of any leftover references to bluestacks. Before reinstall, ensure that all bluestacks folders have been deleted from your system.

Edit: spelling