yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] rocketero:
I'm puzzled by something I can't find the answer. I have 2 computers, both with Windows 7 x64 bit.

I upgraded one Bluestacks that had 8GB SDcard.fs in it to 0.7.5.270 and after upgrading the 8GB Sdcard was kept the same and Google Store works

On the second computer, I got all the above, but the Google Store app doesn't want to work, one click on it and it says you don't have a Google Account associated with, and a button to ADD one, but clicking on add it just closes with not messages.

I then had to reinstall Bluestacks on this second computer, and not keeping the userdata in order to make work Google Store app. But I don't like as the SDcard size is only 2GB, and I have a blank 8GB SDcard that I re-sized a while back, same I'm using with the first computer, but I have not idea how to add it up or exchange the 2GB as I don't see anywhere a SDcard.fs after Installing Bluestacks.

Any idea what's happening or how to fix this issue is appreciated!
[Android Software/Hacking General [Developers Only]] ammmaday:
Reply

please check here: C:\ProgramData\BlueStacks\Android

remember ProgramData is a hidden folder. if you can't see programdata, go to control panel- folder options- click VIEW tab- and select "show hidden files, folders and drives".Now press Apply. And go to C drive you should see ProgramData.

Thanks
[Android Software/Hacking General [Developers Only]] rocketero:
I'm an old dog about Bluestacks, so I know very well where the bluestacks files/folders are, ..well I was till now..I was one of the members who helped increase the /system partition size of bluestacks as after rooting there was just a few MB free left, so I have been around, just that haven't done much with Bluestacks in the last few months, but now that I want to get back to it I got this issue and can't shake it off.

Just wondering where can I place the blank 8GB SDcard.fs that it gets recognized by bluestacks -- the programdata/lbuestacks/android doesn't seem to contain one, there is instead 2 folders one called Data.sparsefs and the other SDcard.sparcefs, but in the second one that I though I was going to find an sdcard.fs there isn't any.

On the second computer that is the one with the problem, when I updated Bluestacks from older version to 0.7.5.2700, it kept the user-data, and the c:\programdata\bluestacks\android\data.fs (and same folder for file sdcard.fs) where moved to: C:\ProgramData\BlueStacks\UserData\Gadget and at that time when I opened bluestacks and went to settings>>storage I had the 8GB SDcard listed.

So both files, data.fs and sdcard.fs were moved to that '...\UserData\Gadget' folder.

then because I couldn't make Google Store work, I uninstalled Bluestacks and this time I requested to NOT KEEP USERDATA.

So when I reinstalled bluestacks, Google Store works now, but there is not a listing anywhere for a file called 'sdcard.fs'. I did a full search of the C:\ drive for an instance of this file and there is none. So where is this 2GB sdcard listed now in bluestacks>>Settings>>storage ????

and just for the heck of it, I copied the 8GG blank sdcard.fs file I have to c:\programdata\userdata\gadget, but after opening bluestacks still shows the 2GB size sdcard in settings>>storage.

I know some of you have worked with this app in the last 4 months that I have been away from it, so any input on this would be greatly appreciated!!
[Android Software/Hacking General [Developers Only]] codelover:
Starting 0.7.4.x Bluestacks is using the new method to store data, as you may have noticed: Data.sparsefs & SDCard.sparsefs

As far as I understand these files are still ext4 sparse files and are being created ONLY during the installation process.

Prior to 0.7.4, Data.fs/SDCard.fs will be recreated by program if these files are missing/deleted.

As for your question, there are two ways to achieve what you want if you are using M$ Windows:

1) Modify registry under BlockDevice 1/2 to use the Data.fs instead of Data.sparsefs

2) Grab the executable used to create the .sparsefs and create your own any sized FS (Lots of work!)

Thanks & Regards
[Android Software/Hacking General [Developers Only]] black_eagle5000:
How to play some game from gameloft. I tried to install some game but it ain't compatible.
[Android Software/Hacking General [Developers Only]] zulu99:
all the logs folder in the file, i have also attached a jpg that show you when i remount in rw the system folder with the hd-adb.exe remount

http://www.2shared.com/file/iMp-nMfJ/Logs.html
[Android Software/Hacking General [Developers Only]] tenet421:
@zulu99

I'm sorry, for some reason the files on 2shared will not download for me.
[Android Software/Hacking General [Developers Only]] tenet421:
@zulu99

Ok, this is a big fix.

I made a mistake on the “BootParameters” entry in the registry. It needs to be customized for each installation. The reason the GUI failed is because I didn’t specify it in “BootParameters”!!!

Please try doing everything the same as my original post but delete this registry entry:

[HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android]

"BootParameters"="root=/dev/sda1 SRC=/android DATA=/dev/sdc1 SDCARD=/dev/sdd1 GUID= OEM=BlueStacks"

And replace it with this one:

[HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android]

"BootParameters"="root=/dev/sda1 SRC=/android DATA=/dev/sdc1 SDCARD=/dev/sdd1 GUID=***ENTER-YOUR-GUID-HERE*** armApps=true GlMode=1 OEM=BlueStacks "

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 my GUID-

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

Example of my modified “BootParameters” with my 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 "

Thank you for your help!
[Android Software/Hacking General [Developers Only]] all_brother2002:
how to root bluestacks beta?

hello

i am new to bluestacks and i want to root it so i can use arabic (connected and right to left)is it possible?

if yes, please write a simple guide i can follow.

thank you in advance
[Android Software/Hacking General [Developers Only]] nagar.xda:
Update Default Fonts

Hello All, Thanks for Help and Assistance,

Really I Want to Update Default Fonts in BlueStacks, I installed Terminal Emulator but could not get root access with order Su, Access Denied

However i already rooted Bluestack with method number 2

Pleas any one guide me how to change default fonts .

Thanks you

يامعلم ياعربي نهارك فل .... المشكلة في الخطوط الافتراضية مفيهاش ولا خط عربي .. عشان كدا مش بيدعمها لا قراءة ولا كتابة

انا كمان بعاني من نفس المشكلة .. اشطة يا باشا يا رب نلاقي الحل
[Android Software/Hacking General [Developers Only]] zulu99:
thanks tenet421 this method work.

i can remount system and have gui, but why the command -- su -- tells me permission denied?
[Android Software/Hacking General [Developers Only]] tenet421:
@zulu99

AWESOME!!! Glad it worked for someone other than just me. I am still figuring out why superuser isn't working. I can mount as r/w from adb and verify it visually with root explorer but I am not getting root. I am going to try and pull the superuser files from the alpha and I suggest you try the same if you're feeling adventurous.

Good luck!

EDIT: We can haz root!
[Android Software/Hacking General [Developers Only]] zulu99:
the su from the last x86 emulator inside the android sdk work.

i have also su now. but the application superuser x86 not show me a request of superuser
[Android Software/Hacking General [Developers Only]] tenet421:
The su we are using is supposed to auto-grant superuser permissions.
[Android Software/Hacking General [Developers Only]] dennytor:
Works! Thanks!! :D
[Android Software/Hacking General [Developers Only]] zulu99:
We have full root.

p.s.

if you want experience multitouch on bluestack but your windows not have multitouch screen

install droidmote client on your phone (free), install droidmote server for windows(free) on your windows.

for example in google maps you can zoom in out rotate with two finger, in fruit ninja you can play well etc. etc.

http://xdaforums.com/showthread.php?t=1292627
[Android Software/Hacking General [Developers Only]] rocketero:
can you update the Bluestacks installer, I got an invitation to downloaded it. if you can access this link you can downloaded there: http://cdn.bluestacks.com/bstk-download-success-2.htm otherwise it's attached to this post.

the original version is 0.6.3.0686, then it came out the 0.6.3.2208 and this one I got is 0.6.3.2212

by the way I was just wondering how to update the version from 0686 that I have to this one 2212 without loosing all what have been installed ?
[Android Software/Hacking General [Developers Only]] rocketero:
I've been reading this thread and I see that now you have accomplished root. But still not sure how can it be done, I see some registry changes posted by tenet421 and zulu99 made some changes to root.fs by extracting ramdisk.img from mod-v3 and replacing it with the one from Bluestacks beta and repack root.fs

So I'm confuse on how to proceed, can you make step by step tutorial on how to accomplish root, even that still superuser.apk don't work.
[Android Software/Hacking General [Developers Only]] milniko:
su for me woks with system.img from Root.fs from :

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

But still can not implement initrd, can not repack even original files back with

find . | cpio -o -H newc | gzip > ../initrd.gz

and have Bluestack to work.

@tenet421 can you share with us initrd.img, look like it's file not related with GUID and will work for everyone ???

Thanks

[SOLVED]

OK get it;

1 so use BLUESTACKS-mod-v3.zip for:

ramdisk.img

initrd-hack.img

http://xdaforums.com/showpost.php?p=23392276&postcount=111

2 system.img from here (thanks to xRepinsSporx)

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

3 folow instruction for registry from

http://xdaforums.com/showpost.php?p=24287824&postcount=28

And it will work, su and /system mount as r/w
[Android Software/Hacking General [Developers Only]] tenet421:
Sorry, been at this 24 hours and I'm trying to get a tutorial put together with some pictures and what not... maybe someone else will beat me to it 8]

Edit:

milniko has it exactly.

Additionally, running fullscreen with a width of 1600 x height 852 the bar on the right side is broken and I can see my full homescreen instead of a black box. IHowever, it doesnt allow mouse input in the space.

If you have root through adb but can't get it while booted into android and everything else works you probably need to fix the permissions on the su binary (that was my problem in post #32.

su should be in /system/xbin

from terminal:

$adb shell

#mount -o rw,remount -t ext4 /dev/sdb1 /system

#chmod 6711 /system/xbin

#mount -o ro,remount -t ext4 /dev/sdb1 /system

(reboot BlueStacks)

else:

adb remount

adb shell busybox chmod 6711 /system/xbin/su

adb shell reboot
[Android Software/Hacking General [Developers Only]] milniko:
Thank you tenet421 for your work, it is just my expressions related with all my tests.

Still I can get how to impalement custom initrd (how to pack gz archive)

I tried with this way:

http://xdaforums.com/showpost.php?p=24233963&postcount=13

or pack with

find . | cpio -o -H newc | gzip > ../initrd.gz

But nothing works ???

[solved]

custom initrd.img works with hacked ramdisk.img, but not h original installed
[Android Software/Hacking General [Developers Only]] tenet421:
Great work,...That was fun. Anyone gonna try it with the update? I'm going to bed!

Thank you:

xRepinsSporx

milniko

zulu99

@milniko

Try saving as cpio | cpio

Then gunzip the cpio | gz

Then rename gz | img

Example:

$ find ./ | cpio -H newc -o > /foldername/new-initrd.cpio

$ cd /foldername

$ gzip new-initrd.cpio

$ mv new-initrd.cpio.gz new-initrd.img

Copy to windoze rename new-initrd.img to initrd-hack.img and put it in the Android folder.
[Android Software/Hacking General [Developers Only]] rocketero:
I'm getting hammered by this pop up constantly even that I just re installed it using the latest version 0.6.3.2212 that I posted on post #37

Not only on this new version but I was having same issue with version 0.6.3.0686.

Any way to fix this?

​
[Android Software/Hacking General [Developers Only]] matury:
SD

Sorry guys I been out for some time, too much work. But IDK I haven't try this yet on the beta http://xdaforums.com/showpost.php?p=18432723&postcount=33 , if someone can report if is still working on beta.

I haven't had too much time to play with beta, but it seems that has an .exe controlling the changes made to system files, please report with any findings
[Android Software/Hacking General [Developers Only]] rocketero:
thanks codelover for the update. Seems like I have my work cut out. where can I get that executable to create sparsefs' files?. I used to have another program, matter of fact was a collection of tools to resize the sdcard.fs: reisize2fs, mk2fs.exe, tclkit.exe and others. the end result was a .ext3 file than then we renamed .fs. is this sparsefs type file different to create?

EDIT: I just can't believe it, I did a Google search for 'sparcefs' and my previous post come out as first option out of 2 or 3 more links, then I change the search to 'create sparcefs' and it was listed as the second option, so this doesn't seem to be a general knowledge stuff.
[Android Software/Hacking General [Developers Only]] codelover:
I dont think any ext4_utils programs will work on these new format, based on my understanding:

Data.sparsefs/Map - store ext4 header, defined max, current size etc

Data.sparsefs/Store - actual data store

For example: If your current 'Store' is 212 Mb, delete it and replace with an empty 'Store', when the program runs, 'Store' 212 Mb size is restored but the android will see it as an empty ext4, this mean that Map is storing the current/max FS size 'somewhere'.

Anyway i personally feel this new method causing the android runs slower than the pre-allocated size FS, since the file size is dynamically increasing, well, i could be wrong.

As for the executable, it's not installed or provided in anyway you could see or use, or even know it's existence, but lucky we live in a planet that has Google.com, the executable comes with the MSI installer but it would required alot of work to finally get the tool. Suggest you to stick with the Data.fs.

Thanks
[Android Software/Hacking General [Developers Only]] rocketero:
So if I want to stick with Data.fs and SDcard.fs, I go and change the values in registry /blockdevice 1/2, and then what? do I just simply place previous values of Data.fs and SDcard.fs in /programdata/bluestacks/android?
[Android Software/Hacking General [Developers Only]] briareos200:
Is there a idiot proof walkthrough or even better a single click program that I can use to root bluestacks? I only have a few minutes before the nurses put the jacket with the long arms on me and put me back in the room with the soft walls. It's so bouncy!!!! Please hurry!
[Android Software/Hacking General [Developers Only]] codelover:
Introduction

-Removed-
[Android Software/Hacking General [Developers Only]] ThumbDriveCorps:
Is there another "new-ish" version besides the BETA?

The BETA keeps telling me my graphics card needs updating..but it is already up to date..and is pretty good..

I did send them the LOG file..but I would like a stable version please.

Both downloads on the bluestacks site are the BETA versions.

Please, any new-ish versions besides BETA?

Thanks in advance.
[Android Software/Hacking General [Developers Only]] shinobisoft:
OK. BlueStacks Root Installer is written, and uploaded.

Important

I have only been able to test this on my machine. Windows 7 64-bit. It is a 32 bit installer. I can build a 64 bit version if need be. My point, there is a possibility that the installer will fail, more than likely not, but a possibility none the less. This thing is written completely from scratch in C.

[ How to Use ]

The installer does NOT contain the files needed to install the BlueStacks Root patch. With that said, download the installer and the root patch package. Unzip them both to the same directory/folder. Make sure that Root.fs, system.fs, and initrd.img are in the same directory/folder as the BlueStacksRootInstaller.exe. Run the installer. The registry hack in the root package is no longer needed. I will modify the package to remove it when I have some more time.

[ What it Does ]

During the installation process, if the installer detects that BlueStacks is running, it will stop the BlueStacks service and the BlueStacks ADB daemon. It will then backup your original Root.fs and initrd.img to ProgramData\BlueStacks\backup into a folder that is created and named as the date and time the backup was made. From there, the patched files will be copied to the ProgramData\BlueStacks\Android folder as well as adjust the registry to allow BlueStacks to boot from the new system.fs image from the patch package.

If the installer stopped BlueStacks, it will attempt to restart the BlueStacks Service as well as the BlueStacks ADB daemon. That's it.

I believe that if you are running an older version of BlueStacks, that it will be upgraded to this patched version, which is 0.7.5.2700.

[Credits]

merrickville - method for this limited root patch. Post here

me - For building the BlueStacks Root Installer to automate the patch work

[ Downloads ]

BlueStacks Root Installer
[Android Software/Hacking General [Developers Only]] briareos200:
Ok It ran fine but when I try something like root checker it says it doesn't have root access. Is there any way to know for sure?
[Android Software/Hacking General [Developers Only]] shinobisoft:
Let me check my code... The patched Root.fs and initrd.img images didn't get copied. Copy operation was set to fail if the file existed. Sorry. Fixed and reuploaded...
[Android Software/Hacking General [Developers Only]] briareos200:
Worked! Thanks!
[Android Software/Hacking General [Developers Only]] shinobisoft:
You're welcome :cool:. And thanks is usually best expressed with the "Thanks" button ;)
[Android Software/Hacking General [Developers Only]] codelover:
Hi bill,

Thanks for all your efforts. I would like to give you some advice for further improvement:

1) You can remove the 'system.fs' as this file will NEVER get mounted as system.sfs is not exists in anywhere, the statement to mount is always FALSE in initrd.img. Also your method success because system.img exists in Root.fs, if you replace Prebundled.fs with system.fs then this only works if the user already has prebundled data copied to /data/. Lets say i wish to restart everything, a fresh & clean android, i could simply delete the Data.sparsefs but then your root.fs will fail to boot because there is no where to copy prebundled data (Default launcher is in Prebundled.fs) - So just leave Prebundled.fs as it or add a launcher perhaps.

2) As your /dev/sda1 (Root.fs) is mounted as ro there is NO WAY you can mount /system as rw because your /system (system.img) is in Root.fs. To mount /system as rw you need to have /dev/sda1 mounted as rw first. I think i have given enough hint for you to make a full rw /system, and also you might need to consider increasing the system.img FS size before packing it into Root.fs since /system size depends on it, it's pointless if you have rw on /system but no space left on it.

Keep up the good work, Cheers!
[Android Software/Hacking General [Developers Only]] shinobisoft:
I will have to dig into it a bit more. Credit should go to merrickkville as he came up with the method to perform the "root". I just applied his method and put it all together. Thanks for the tips ;)
[Android Software/Hacking General [Developers Only]] rocketero:
Ok finally I fixed it, following your advice I first changed blockdevice 1/2 to data.fs and sdcard.fs, it did work in a way just that Google Store failed again on me as I had said at my first post (the problem was in the data.fs file), so the way I did it was uninstalling it and starting from scratch, installed first v0.7.3.x, this version still use data.fs and sdcard.fs as you just pointed out, then I replaced the 2GB sdcard.fs with my 8GB in size I have. After installing this version I noticed that it didn't come with Google Store, but once I updated it to v0.7.5.2700 it did install Google Store, so now it's working as a charm, with my 8GB Sdcard.

@codelover, Thanks for your support/advice.

I just have a question if by any change you know: After the update, I see in settings>>storage I have 8GB sdcard, but there is nowhere to be seen, there is not sdcard.fs in programdata/bluestacks/android or in programdata/bluestacks/userdata/gadgets, as a matter of fact the whole size of programdata/android folder is 1.8GB. So this is puzzling me as I don't know where this sdcards.fs was moved after updating from 0.7.3.x to 0.7.5.2700

Now the next step is getting it rooted, but I see there is an installer with an .EXE extension that I don't know what exactly it modifies, so I'll have to take a look at it.

---------- Post added at 09:23 AM ---------- Previous post was at 08:44 AM ----------

where are the posts or links for merrickkville's work? I would like also to take a look at what hi did or is doing.
[Android Software/Hacking General [Developers Only]] codelover:
Since you are upgrading from 0.7.3 to 0.7.5, i believed that the /data on Data.fs has been migrated to the new Data.sparsefs along with the ext4 metadata hence the 8Gb remains on the new sparsefs. As for the 1.8Gb, the term 'sparse' explains it all. The size of Data.sparsefs/Store increasing dynamically as the actual content on /data grows.

Thanks.
[Android Software/Hacking General [Developers Only]] shubhkirtisharma:
HELP in Installer

Hey,

at the last of the installer it was written that

"Bluestacks Root Installer is unable to locate the Root.fs and system.fs."

As far as i know that the Root.fs and system.fs got copied to C:/ProgramData/BlueStacks/Android....

Is this any error or it has been rooted..
[Android Software/Hacking General [Developers Only]] shinobisoft:
Its a buffer error that I thought I had fixed. But, it should have installed. DL root checker to be sure

Sent from my LG-P509