yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dewobedil:
i can confirm this steps to resize system.img is working.

i have ubuntu 10.04 machine and successfully resized it.

i resized it to 500MB partition. as you can see that it now has 344mb of free space

here is the command

here is my screenshot

i also got a problem that my titanium backup can't start. it says Application Failure Detected, Try Again
[Android Software/Hacking General [Developers Only]] sangtrananh:
Help me!

Can somebody help me where to put the file " BlueRegistryMOD.reg " . I did'nt see in the post and what is adb in step 4 " 4. Start adb on your computer ". Is it related to Android SDK Tool? I really want root but it seem not easy to do.
[Android Software/Hacking General [Developers Only]] J94w:
First be careful, are you running the limited version? Because it does not work yet on the limited version.

Second, have you modified the BlueStacksMod.reg file? If not open up a text editor and change the entry's for the GUID with you will find in regedit under [HKEY_CURRENT_USER\Software\BlueStacks] and just copy and paste where it says ENTER-YOUR-GUID-HERE 2 TIMES and save.

Third after that, all you have to is double click on the BlueStacksMod.reg file, and it will automatically do the work.

Fourth ADB is a program for android developers, and you have to get it off line, and install it to your computer.

ITS REALLY EASY, BUT FOLLOW THE RULES

IF YOU DONT FEEL COMFORTABLE DOING IT, THEN DONT!!

AGAIN IF YOU HAVE THE LIMITED VERSION THAN THIS WILL NOT WORK, AS I HAVE FOUND OUT AFTER MANY FRUSTRATING TIMES, EVEN tenet421 SAID SO
[Android Software/Hacking General [Developers Only]] rocketero:
I edited the post where I posted the procedure to resize system.img to include a parameter or argument to the resize2fs command. This procedure can be done with an ubuntu virtual machine in virtualbox or vmware. Also there is a windows-ubuntu that can be installed as a dual boot, it can be downloaded from ubuntu.com
[Android Software/Hacking General [Developers Only]] tenet421:
** About the "Application Failure Detected. Try Again" message I can not tell why that's happening, once an app start doing that is almost a miracle to make it work again. Not even re-installing it or installing it with ADB (side-loading it) will fix it. I guess the only or most viable solution would be collecting the system-logs and send them to Bluestacks tech support.[/QUOTE]

The reason for "Application Failure Detected. Try Again" is because it seems we break the ARM emulator when we use system.img instead of Root.fs; when that happens we are effectively running androidx86 and only apps compatible.

***Can anyone with real knowledge of linux/android answer this:

Can I symlink ALL the folders in a read-only filesystem to a read-write filesystem?
[Android Software/Hacking General [Developers Only]] J94w:
You can always go ask developers of android, I can point you to some really good ones on android central, and i know one who works for a living with linux.

---------- Post added at 03:42 AM ---------- Previous post was at 03:14 AM ----------

At tenet421:

http://forums.androidcentral.com/members/tdm-273227/

Ask him, he may be able to help, he is into Linux and that's his job

Also if he doesnt know ask:

http://forums.androidcentral.com/members/jerryscript-212508/

He is also very respected on the fourms, he even has developer status
[Android Software/Hacking General [Developers Only]] borce_razor:
It depends on the app. Both cut the rope and cut the rope: experiments are running OK; Portal is running OK (game-play is slow as sh*t, but it's running)
[Android Software/Hacking General [Developers Only]] Ping192:
What is the difference between softpedia's url and the bluestacks (official) one? Why is that a "full version"?

Both sites give me the same version of the installer!
[Android Software/Hacking General [Developers Only]] J94w:
There isn't a difference, its both the same BlueStacks

It depends on your computer if you get the FULL or LIMITED during download.

Like me, they thought my computer was not able to handle thier software graphically so they gave me the limited version.
[Android Software/Hacking General [Developers Only]] Ping192:
Ah, I get it :P thanks.

I am now trying to customize and pre-root system.img

Resizing it in ubuntu works like a charm.

Mounting the image in RW also. That gives possibilities :D
[Android Software/Hacking General [Developers Only]] swimmer 4:
If this not clear how too ROOTED bluestacks & install Google Play Store on bluestacks. Here is a youtube movie.
[Android Software/Hacking General [Developers Only]] rozelle25:
Hey all,

This is a pretty technical thread so I'm not sure I'll be able to go thru the root process. I did install Google Play. However, almost nothing is compatible with my "device". Any tricks to get apps made available without that notice? Or do I HAVE to root?
[Android Software/Hacking General [Developers Only]] J94w:
It sounds like you have the limited version, so NO rooting will not help

First because the limited version hasn't been hacked yet, the dev. will get to that soon..

Even after root, that ain't going to help, because the apps look at the spec. of the emulation and thats why you cant run apps like the full version.

I myself is in the same boat, I just gave up using BlueStacks, and just keep watching the forums and wait for improvements.

Emulation on bluestacks is very limited right now, even on the full version because of lag and other nags.

---------- Post added at 04:05 PM ---------- Previous post was at 03:57 PM ----------

Thats only how to install the Market
[Android Software/Hacking General [Developers Only]] rozelle25:
Thanks for responding. I think your approach of waiting it out a bit makes sense.
[Android Software/Hacking General [Developers Only]] J94w:
It's no problem, and I think I help the dev.'s a lot by keep this forum running and not to have them pounded with questions daily, while they get a chance to keep playing with this software. I just cant wait until they do some really cool mods, and finally get us lesser user's that are on the limited version bumped up to the full version.
[Android Software/Hacking General [Developers Only]] swimmer 4:
No also for root bluestacks with root.fs
[Android Software/Hacking General [Developers Only]] J94w:
That wont garner root access, Root.fs holds the ramdisk image and system image witch already comes installed into BlueStacks. Other wise to gain full root access you would have to install the old su.x86_binary's from the Alpha, use a modified registry, a modifeid ramdisk image, a modified initrd-betahack.img, and then push all of that with ADB.

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

Cause you can install Market WITHOUT root access
[Android Software/Hacking General [Developers Only]] tenet421:
:(

Hello to everybody.

I will be lurking around here to read and post but I'm not sure I will not be releasing any more work on BlueStacks Beta-1 root or system r/w until they come out with a final release.

Can't wait to see what else you guys come up with.
[Android Software/Hacking General [Developers Only]] J94w:
Man sorry to here that you may not be posting anything new until final release

I hope you come back to help out the other dev's
[Android Software/Hacking General [Developers Only]] tenet420:
Thanks for your responses to questions, it definately relieves the burden.

The reason I'm backing off is because I need to start digging into the windows side of bluestacks to better understand their emulation of ARM so that we can get root AND read/write access without breaking the emulator.

This is far from over for me...

tenet421
[Android Software/Hacking General [Developers Only]] J94w:
Man its no problem, im glad to help

And that's good to here that you are certainly working on a fix

I hope you do find the looming answer, but shouldn't you take the Root Guide down until there is one more stable and wont break emulation?

I wish you best of luck tenet421
[Android Software/Hacking General [Developers Only]] rocketero:
that's a good video on how to install Google play/market

but not rooting, that's a bit more complicated.
[Android Software/Hacking General [Developers Only]] J94w:
I was mentioning that to him earlier also, he though he gained root by pushing with adb the root.fs file, in which he didn't.

But I do agree, that is another good way for people wanting to use adb to push the market to BlueStacks
[Android Software/Hacking General [Developers Only]] rocketero:
HOW TO RESIZE SYSTEM.IMG USING UBUNTU

This is for people who have Rooted Bluestacks Beta with the procedure written here on this thread.

For anyone who wants to resize the system.img because after adding some files like su, busybox, etc, it ends up with too little free space.

The procedure as it was shown in 2 pages before this post is related to get access to an ubuntu system. In my case I downloaded the ubuntu that runs in a windows folder and once installed it boots with a double or third boot option depending on what boots options you already have (I have windows7 and Windows server2008 so I got a third boot option with ubuntu).

After you get into ubuntu, you open a terminal window from the Accessories Icon on the Left or the Menu on the top left, then run the sudo su command

then to mount a windows share where you have system.img to this:

1. # sudo su (then type your admin password)

2. # apt-get install smbfs (need it to mount windows shares)

3. # cd /mnt

4. # mkdir windowsshare (could be any name you want for this folder, I just called it windowsshare)

5. # mount -o rw,username=windowsuserid,password=windowspassword -t cifs //windowsbox/folderwithsystem-img /mnt/windowshare

for instance: # mount -0 rw,user=george,password=12345 -t cifs //winserv1/share1 /mnt/windowsshare

the rw after -o is important if you want to resize it in place in your windows share, it means read/write. share1 is the windows share that contains the system.img file and windowsshare if the ubuntu folder inside /mnt that will hold the mount.

you then change directory (cd) to where system.img is now mounted:

6. just make a backup of system.img before proceeding to be on the safe side

7. # cd /mnt/windowsshare

8. # /sbin/fsck.ext4 -f system.img

at this point you may get a replay with something like: "multiply-claimed block(s)", click on the link and you'll see an explanation, it's very important that you reply to YES if see any message with multiply-claimed blocks so the system creates clones of those inodes that somehow got shared by 2 or more apps at the same time.

9. SIZE="3"]#/sbin/e2fsck -f system.img/COLOR][/SIZE]

it will ask you if you want to create /lost+found, answer with y (YES) or simply press ENTER at the default. If you answer n (NO), I shows a WARNING message about filesystem still has errors, and the next command will NOT execute to resize system.img

after system.img is cleaned up, you issue the command to resize your system.img:

10. # /sbin/resize2fs -p system.img 500M (for 500MB, you can change it to desired size, the -p parameter is to show a progress bar)

At the end of the command it will tell you system.img has been resized and how many blocks it has now.

after that you can just reboot your computer if you installed ubuntu in the same pc and copy the new re-sized system.img to /programdata/bluestacks/android

hope this helps, as I mentioned make a copy of system.img before proceeding to make sure in case something goes wrong witch is hardly the case but always in the safe side.
[Android Software/Hacking General [Developers Only]] merrickville:
Dock

Is there a way to disable the dock icon? The one that expands, the "X" Hide only shrinks it, does not 'hide' it.

Awesome work, up and running with root and market.
[Android Software/Hacking General [Developers Only]] J94w:
http://www.androidfilehost.com/main/Misc/Bluestack/Tools/

Go here and download HD-RemoveDock, once downloaded just double click on it and it should say dock removed and presto your done!
[Android Software/Hacking General [Developers Only]] tenet421:
Small Update to Root tutorial

Just wanted to make sure that people who root BlueStacks know that some Apps will no longer work due to breaking "SOME" ARM emulation.

A warning has been posted to the original tutorial POST #57.

Have a great weekend.
[Android Software/Hacking General [Developers Only]] Dingo_HR:
how to block sync with bluestack channel ???

I have google play and whenewer I get new version for market app it get overvriten by older one in bluestack chanel.

If i unsubscribe from that app in chanel few seconds after instalation of app, app is automaticaly removed from bluestack player.

anyone ?

thanks
[Android Software/Hacking General [Developers Only]] J94w:
Well the answer that comes to mind is that the way we install the market, we dont include the market updater, and other market junk that allows the market to update itself.

Try finding the newer version by searching on google and install the vending and googleframework inside the zip the same way as on the original post.

Just make sure to delete the old market files under Root.fs>system>apps

If you want you can try adding the other stuff, but I dont know if that would work. The devs on this form would have to chime in about that.
[Android Software/Hacking General [Developers Only]] tenet420:
If you're rooted and have the Google apps in /sytem/app/ you can have market updater installed and it works for upgrading to the newest Google Play. However, if you're using symlinks in /system/app/ and you installed the vending and googleframework apks in /data/bst/ it fails to update more often than not. The premade system.img from droidhacks.com (posted earlier in the thread) is very stable when it comes to Google services as everything required is in /system/app/ already.
[Android Software/Hacking General [Developers Only]] J94w:
Ya what that guy said haha
[Android Software/Hacking General [Developers Only]] Dingo_HR:
I think you got me wrong.

Market is not the problem iti is bluestack channel http://channels.bluestacks.com/home/

First time used bluestack cloud connect from my smartphone and now aplications what I have in that chanel have two options. subscribed and unsubscribed.

If subscribed what ever NEW version I install in bluestack player it gets overvriten by version in snyc.

If not subscribed it gets uninstalled by player imediately after instalation.

OMG I just realised obvious I'll use bluestack sync app inside bluestack player !!

edit: worked for my problem, market is x.x.16 and all apps are updated to latest from market (google play)
[Android Software/Hacking General [Developers Only]] merrickville:
That was easy! :) Thanks.
[Android Software/Hacking General [Developers Only]] J94w:
No problem
[Android Software/Hacking General [Developers Only]] Wetzel402:
Just found out a quick way to have fun with the BlueStacks boot animation. Find a GIF animation and drop it into C:/>Program Files (x86)>BlueStacks. The file must be named "loading" and I recommend copying the original to a backup location.

Give this one a shot :)

https://skydrive.live.com/redir.aspx?cid=7eb358e495e201cb&resid=7EB358E495E201CB!178&parid=root

link 2

http://cloud.addictivetips.com/wp-c.../Android-Particle-Ring-Bootanimation-Cyan.gif
[Android Software/Hacking General [Developers Only]] J94w:
Haha nice, now all we have to do is remove that ugly (kinda) logo from the top.

Good mod though, I was starting to think this was becoming a sleeper thread lol
[Android Software/Hacking General [Developers Only]] J94w:
Thanks to idea by Wetzel402, I thought to make my own personal modification up.

Kinda like it better than the old common screen, could be better though I know. :rolleyes:
[Android Software/Hacking General [Developers Only]] Wetzel402:
Nice :D

Now we just need to find the file used to control the placement of the GIF and maybe we can get the animation to fill the window.
[Android Software/Hacking General [Developers Only]] J94w:
That's probably found in one of BlueStacks registry file's
[Android Software/Hacking General [Developers Only]] tenet421:
cyanostacks(beta)

A nod to the O.G.s...CM every day.

Here ya go bud.

Place it in Programs(x86)\BlueStacks\.

Remember to backup the original.

***I tried to make it larger but it keeps showing up squashed at boot. Feel free to experiment.***
[Android Software/Hacking General [Developers Only]] J94w:
Links broken, and I've made mine also(look a few posts up), but thanks good to any one else who wants to change, and i face the same problem where the image wont get any bigger
[Android Software/Hacking General [Developers Only]] tenet421:
@j94w

Nice.
[Android Software/Hacking General [Developers Only]] J94w:
@tenet421

The zip is broken/invalid lol

And thanks!
[Android Software/Hacking General [Developers Only]] tenet421:
Fixed, dangit.

Been a long day... :)
[Android Software/Hacking General [Developers Only]] J94w:
Ok haha, it works now

And nice work, though I would hold onto to that and use if you ever decide to make your own custom ROM, if thats even possible on this software.
[Android Software/Hacking General [Developers Only]] dabyd64:
Hi, I did this, few times, reinstalled twice and repeated..but it keeps in boot screen animation.

I did exactly what its typed.

After clossing all processes, I modify the reg file with my GUID, then copy initrd-betahack.img, ramdisk.img and system.img into %programdata%\bluestacks\android.

Then I start bluestacks and it keeps in loading screen forever

I downloaded the big installer (~100MB), "BlueStacks_HD_AppPlayerPro_setup_REL.msi", it tells it is beta 1.

Is it the correct version?

Also, I'm using win7 x64.

Is there any thing that I'm missing?

Regards
[Android Software/Hacking General [Developers Only]] Wetzel402:
The only difference I have found in installers is that the thin installer downloads the install files during the installation process. The big one includes those files withing the .exe file.

It may be best to uninstall BlueStacks and start over from the beginning. That might also help if you somehow missed a step or something even though it sounds like you did everything correctly.

I am running Windows 7 64 bit so that isn't a problem.
[Android Software/Hacking General [Developers Only]] tenet421:
Also, using a registry cleaner like Ccleaner to fix up the registry after uninstalls ensures a clean re-install.

-If anyone is having problems, I suggest making sure that BlueStacks works for you before any modding.

-After ensuring BlueStacks works, try the mod with all the regular installation files.

-If all is well up to now, THEN try switching out larger system images, or extending your own. Make sue you back up all working files so that you don't have to do a complete re-install if it gets boned up.
[Android Software/Hacking General [Developers Only]] merrickville:
I had the same issue, just 'loading....' for ever.

My issue, after much hair pulling, system.img was corrupted. The MD5 sum on the web site did not match mine (md5sum.exe google it)

Re-downloaded system.img, and everything just worked.

Worth a look.
[Android Software/Hacking General [Developers Only]] dabyd64:
My md5 was different too :S

Downloaded again and matched. But still...nothing :mad:

I will uninstall again, delete all registry keys related to bluestacks...and try again :rolleyes:

---------- Post added at 10:09 PM ---------- Previous post was at 09:45 PM ----------

I've given up.

I downloaded everything from here: http://www.androidfilehost.com/main/Misc/Bluestack/

Installed that installer version, put that system.img, ramdisk.img and initrd-betahack.img.

Copied my GUID and modified the reg file pasting the GUID between quotes. *EDIT* this was my error. No quotes!!!

Always loading. All md5sums are OK. Nice try anyway.

Tried with the extended fs.ext4 (renaming it to system.img) but the same.

Thanks for your work :D
[Android Software/Hacking General [Developers Only]] Wetzel402:
You should not need to rename the system.img file. It should already be just that, a system.img

For those of us that are having fun with the boot/loading animation I created a new thread for us to share our animations and discuss it.

http://xdaforums.com/showthread.php?p=24689548#post24689548
[Android Software/Hacking General [Developers Only]] dabyd64:
I renamed the enlarged fs, (fs.ext4) to system.img, as it is typed in the folder "EnlargedSystem_Rename(system.img)".

It was just to try if that version worked.

Finally I got it working. The problem was that I was typing the GUID betweeen quotes in the reg file.

My bad hehe :D

---------- Post added at 11:03 PM ---------- Previous post was at 10:41 PM ----------

There's and error:

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

corrected:

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

:D
[Android Software/Hacking General [Developers Only]] albertma:
no root for me

not sure what I'm doing wrong.

I'm on 0.6.3.2212

I rooted using the easy method, replacing the Root.fs with the version on the tutorial site

everything seems to work (google play, terminal emulator, ADW, ES File Explorer)

however, su gives permission denied.

also tried to get into root through adb. I can adb shell, but adb root promptly disconnects.

any ideas?

I have a Linux virtual machine and can peek into the .fs files if necessary.

btw, did anybody notice that the windows volumes are mounted on /data/windowsdata/C,D,etc... very cool..
[Android Software/Hacking General [Developers Only]] rocketero:
most probably you forgot to: #adb shell chmod 6711 /system/xbin/su

it happened to me and was getting the permission denied from su.
[Android Software/Hacking General [Developers Only]] abel.jacob:
Loading !

i tried the alternative method but after replacing the root.fs it doent start just keeps loading! why ?
[Android Software/Hacking General [Developers Only]] J94w:
Either cause your running the limited version, or cause your system image is corrupt.
[Android Software/Hacking General [Developers Only]] rocketero:
running Bluestacks sync (Bluestacks channels in Google chrome) inside Bluestacks player and also Bluestacks cloud connect inside Bluestacks player didn't work for me. (With Bluestacks rooted). I am happy for you that it worked.

I installed a normal Bluestacks in another computer and Bluestacks sync work perfect, so I am guessing here that the rooted Bluestacks still needs some tweaks to work, as for the emulator being broken may be one of the reasons for it.
[Android Software/Hacking General [Developers Only]] albertma:
thanks for the response

well tried different things to that effect. there would be two steps involved here.

1. remount /system to be r/w

2. chmod

both these operations require root already.

besides, the permissions on su already look correct.

I could go through the hassle of unsquashing and resquashing the filesystem in order to do the chmod, but would it really help?
[Android Software/Hacking General [Developers Only]] Esoteric48:
When i go to push su.x86 it says "cannot stat su.x86 no such file or directory". does anyone have any suggestions? i have been googling for a few hours now. thanks
[Android Software/Hacking General [Developers Only]] albertma:
are you sure su.x86 is in the current directory? I just put it in the platform-tools directory for convenience.

btw, I've solved my root issue. it was a misunderstanding after all. post #2 isn't supposed to give you root access, just an easy way to do post #1. in the end, the best instructions to follow are are just post #3. it's pretty foolproof.
[Android Software/Hacking General [Developers Only]] Esoteric48:
I tried that, when i downloaded su.x86, the link only opened up a text file so I saved the link with my browser. Maybe thats where the problem is? i have put copies of the file in like 5 directories hoping to fix this.
[Android Software/Hacking General [Developers Only]] tenet420:
***EDIT: @Esoteric48 - rename the text file you downloaded to su.apk then push it into place. The browser is changing .apk to .txt