yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] matury:
Resize TUT

sorry for the mess in pictures... but I had a hard time remembering what I did last night :P but you'll be ok :)

and remember if I helped you say Thanks ;)

Ok first you need to install Bluestacks Cloud in your phone, after u set it up and all, you need to install AWD Launcher and sync it with BC (Bluestacks Cloud), install it in ur computer... and open it, after that B will ask you to set a default launcher, choose AWD, then you have a full home Android... done with that.

Un rar DATA.IMG Maker.rar to desktop

(remember to stop any progress with Task Manager related to Bluestacks, even sidebar.exe)

Next step. navigate to "C:\ProgramData\BlueStacks\Android" and make a backup of SDCard.fs like this SDCard.fs.bak - then rename the SDCard.fs to SDCard.ext3

Next: open Resize SD.bat, as seen in picture inside the folder " DATA.IMG Maker"

Next: check " fine file" and navigate to "C:\ProgramData\BlueStacks\Android" and open SDCard.ext3

In the pic I didn't check "resize file only no rezide2fs", but you

have

to check it or click it on...

Next: check the "resize file only no rezide2fs" " you can resize it to 100GB ++ if want it :D and click "Resize File" ... wait till done. PIC

Next: after finishing the process... and drag amd drop on top of "mke2fs.exe" and type " Y " and Enter... wait for it to finish as seen in PIC and then.... just change the extension back to .fs like this SDCard.ext3 to -----> SDCard.fs

Next start the Bluestacks Gadget in start menu... wait for it to load and open AWD launcher .. PIC 6 and PIC 7

Next: you gonna see in top Notification bar a lil SD card... that's what we want! just click it and format your sd card and your done@! PIC 10 thru 13

just click format

deleting...

and done! 10GB SD Card:cool:

In logs theres alot of information about what the process does and when, also info on the kernel and staff like that, I think I can edit the HD-Service.exe ... it handles kernel loads and much more... I think can be edited with Restorator 64bits witch I have ....but like I said before I have a 32bit *****ty netbook.. I cant run Restorator.. till next week (getting Alienware) and I can continue the Development of Hacking Bluestacks. I dont know much about Andoid Linux, but I know alot about Windows, I can provide my help on anything, count on me with that ;)

Oh, and ext2explore.exe is an ext2 (I think ext3 too) partition explorer for windows ;)

Hope I helped you all :rolleyes:
[Android Software/Hacking General [Developers Only]] cccy:
Seems to be pretty much stock. Just need root, a homescreen (Already done, but does not come with the rom by default) and a home button (Perhaps CM7 too?). Anyone know of any hacks to change the device info (Device name, manufacturer, rom version, etc)? Any method, even if it requires root are welcomed. Looking to hack this to allow apps which the market blocked to be installed.
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
i got root, i have tested this by running a few apps that need it and the ones that don't crash work.

i got the su/busybox binarys from

http://www.android-x86.org/download out of the android-x86-2.3-RC1-asus_laptop.iso and added them to the root.fs>system.sfs>system.img
[Android Software/Hacking General [Developers Only]] midtown2:
great job

great job guys. i am using bluestacks since the first day the alpha was released

the only problem i faced was being not able to use Whatsapp, any body knows a workaround to use it?
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
see here for rw mounting the system partition

http://xdaforums.com/showpost.php?p=18562346&postcount=61
[Android Software/Hacking General [Developers Only]] compchick813:
I followed these steps but I don't have root access. Are there any other steps required?
[Android Software/Hacking General [Developers Only]] cracksmurf:
I am probably running into the same issue as you. Ran "Root Check" application from market and got the following results stating that I have root, however when I open up a root required app such as "Titanium Backup" it states I don't have root. I followed the above steps, as well as installed superuser.

Congratulations! You have root access!

Superuser.apk - com.noshufou.android.su - version 3.0.5 is installed!

System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin

The adb binary is set to default shell user access as root

Standard su binary location: ls -l /system/bin/su:
/system/bin/su: No such file or directory

Standard su binary location: ls -l /system/xbin/su:
-rwsr-sr-x root root 110572 2011-10-08 18:37 su

Alternate su binary location: ls -l /sbin/su:
/sbin/su: Permission denied

Alternate su type binary location: ls -l /system/xbin/sudo:
/system/xbin/sudo: No such file or directory

Root user id:
uid=0(root)

Root group id:
gid=0(root) groups=3003(inet)

System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin

BusyBox binary location: /system/xbin/busybox

Installed BusyBox Version:
1.16.2androidfull

BusyBox supports the following applets:
[, [[, arp, ash, awk, basename, bbconfig, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chgrp, chmod, chown, chroot, chvt, cksum, clear, cmp, cp, cpio, cut, date, dc, dd, deallocvt, depmod, devmem, df, diff, dirname, dmesg, dnsd, dos2unix, du, echo, ed, egrep, env, expr, false, fdisk, fgrep, find, fold, free, freeramdisk, fuser, getopt, grep, gunzip, gzip, halt, head, hexdump, id, ifconfig, insmod, install, ip, kill, killall, killall5, length, less, ln, losetup, ls, lsmod, lspci, lsusb, lzmacat, lzop, lzopcat, md5sum, mkdir, mke2fs, mkfifo, mkfs.ext2, mknod, mkswap, mktemp, modprobe, more, mount, mountpoint, mv, nc, netstat, nice, nohup, nslookup, ntpd, od, openvt, patch, pgrep, pidof, ping, pkill, poweroff, printenv, printf, ps, pwd, rdev, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod, route, run-parts, sed, seq, setsid, sh, sha1sum, sha256sum, sha512sum, sleep, sort, split, stat, strings, stty, swapoff, swapon, switch_root, sync, sysctl, tac, tail, tar, tee, telnet, test, tftp, time, top, touch, tr, traceroute, true, tty, tune2fs, umount, uname, uniq, unix2dos, unlzma, unlzop, unzip, uptime, usleep, uudecode, uuencode, vi, watch, wc, wget, which, whoami, xargs, yes, zcat
[Android Software/Hacking General [Developers Only]] compchick813:
Yeah, same here. Root check says I have root, but I can't mount r/w on system with Root Explorer.
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
C:\ProgramData\BlueStacks\Android\Root.fs a ext4(?) image

Root.fs contains lost+found, and android folders. the android folder contains ramdisk.img, and system.sfs. system.sfs is a squashfs4 file containing system.img which is an ext4 image and what blue stacks mounts as /system

superuser.apk is not needed as su auto grants root. let me verify something on computer #2 as it had less testing

EDIT: i don't think /system is re-mountable with root explorer due to the fact it is mounted on /dev/loop1, as for root not working i don't know
[Android Software/Hacking General [Developers Only]] TheManii:
With the way root.fs is organized it wouldnt matter if system was remountable in RW mode, squashfs by design is read-only.

Even if you could modify system i wouldnt expect bluestacks to be able to rewrite/rebuild the root.fs

The only way (currently known) would be to rebuild the filesystem offline. If bluestacks supported something like unionfs to overlay on top of it it would be possible to change it, but it would be on an overlay file and not directly modifying rootfs.

If you could make it so bluestacks could mount root.fs and have system\ directly in that instead of inside root.fs/system.sfs/system.img that would make it act like a normal modifying partition.

They might be intentionally using squashfs to make it harder to modify, given that bluestacks is ment for pcs and squashfs is more approporate on resource limited systems it sounds reasonable.
[Android Software/Hacking General [Developers Only]] compchick813:
Ah, that explains why I couldn't install busybox (needed for Titanium Backup).
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
It looks to me like someone needs compile a x86 version of the current su binary as bluestacks wont run it if is not x86 compatible. Also if it is a root app and needs a newer su binary then that root app wont work.

old versions of titanium backup work ~v3 but the current does not
[Android Software/Hacking General [Developers Only]] TheManii:
While i'm not 100% sure about it truely being read only, this is 100% true.

apks are dalvik = cross platform

libs and bins = platform specific (arm or x86 depending on how they were compiled)

apks with libs included = platform specific

Since bluestacks and android x86 are the only way of running full android (and not just a dalvik vm) they must use libs compiled for x86

This is why some apps will install and some wont, depending on the maker they might use the NDK or not, if they do they pretty much only compile arm versions since android for x86 is rare.

Bluestacks does not emulate or translate arm binaries. It could eventually add in a translator (whatever method they choose isnt relevent to us at this point as it's so new) but it would be much slower then native x86 code.

One way around it is to convince app makers to compile both arm and x86 libs into their code if they require native libs, or to compile seperate arm and x86 versions side by side. The market already supports multiple apks.

They could also simply include fallback so it runs in dalvik on x86, using native libs is for speed (usually) on android arm, but x86 is much more powerful and can brute force it's way though
[Android Software/Hacking General [Developers Only]] hodostamas:
can we somehow access to the sd card from windows? ftp?
[Android Software/Hacking General [Developers Only]] torturedsoul802:
This has already been solved in out FB group.

http://www.facebook.com/groups/185729648172160/

Scroll down, Mateo created pre-made 1gb and 2gb card images, or you're free to make your own as well.
[Android Software/Hacking General [Developers Only]] hodostamas:
ok, but i want to access it fast, in real time. like i said with ftp or somehow. or can i open the sdcard image in windows for read/write.
[Android Software/Hacking General [Developers Only]] cccy:
You might want to try AndFTP (Available on the Android Market).
[Android Software/Hacking General [Developers Only]] nick_1964:
contacts with bluestacks ??

Hi,

I have now access to the market with bluestacks,gmail,everything works but I have troubles with the calender and contacts.

I know I have to install GoogleContactsSyncAdapter and GoogleCalendarSyncAdapter but they won't install for certificate reasons, does anyone know a way how to install the contacts and calender, so that they sync ?

I have tried several sync adapters,but they will not work.

Someone there who can help me ?
[Android Software/Hacking General [Developers Only]] gizmostack:
@OP,

Hey there you posted my function list to GizmoStack but nothing else how come? you posted the remove fullscreen registory code but my app does this

You can find out more about the software here

freestacks.me/viewtopic.php?f=15&t=9&sid=44c39fd587ed26bf73812205dca3b6b8

just very stange you added my function list then tell no one about it else where lol
[Android Software/Hacking General [Developers Only]] TheManii:
I cant recall who found out first, but it's all there in the registry. You dont need an app per-se if you want to edit the values directly/manually. Not saying that your app is useless, just that it's an alternative.

If you want to access the virtual sdcard in realtime offline you can use adb push/pull. The bundled adb doesnt work for some reason (at least not for me) but the normal adb bundled with the android sdk does. Just follow the directions for using adb as you would with the official sdk vm
[Android Software/Hacking General [Developers Only]] cccy:
My bad, I missed out on it. Sorry about that. I will update it now.
[Android Software/Hacking General [Developers Only]] nick_1964:
Please help

Android commander (windows program) sees the virtual device, you can acces SD card in a glance, and it has install and de-install for progams.

Beautiful program,makes the work with the virtual device much faster.

I have Gmail working

I have the market working

, I only need a reset tool, and see a way to add contacts.

I could not find a working GoogleContactsSyncAdapter.apk which is needed :(

It's now running all my apps,but I hate it to see that the contact isn't working and the agenda isn't working.

/edit:

Got it all fixed, it runs and sync the market, I can download from it,have my contacts up and running and sync, my agenda and gmail works, I am completely happy.
[Android Software/Hacking General [Developers Only]] dilwaladoctor:
If you can spare some time and make a good quality video of the whole thing, we all will be praying for your long life and pressing Thanks button of course. :-D
[Android Software/Hacking General [Developers Only]] nick_1964:
Ehh make a video.... how do I do that, I mean.. with my telephone..maybe thats to big, I can try... I can make pics. (now that souds like a noob, but I never feel the urge to make a video with my phone, I have a HD moviecam for that) I made a test now and hope to get that on flickr, I get back for it.

If there are more people interested in a video, please tell me what you want to see. (and where I can upload the video)
[Android Software/Hacking General [Developers Only]] -krs-:
A step by step tutorial in text form will also do the work.
[Android Software/Hacking General [Developers Only]] nick_1964:
I have a video, Quality is not to good.

I removed the vids, don't want to have legal problems with Google

Make a tutorial of 4 days work ?

There is enough in this forum to make your way.

You need modified files as stated before, and there is a link provided.

http://xdaforums.com/showpost.php?p=18336028&postcount=7

GoogleServicesFramework.apk

OneTimeInitializer.apk

SetupWizard.apk

Vending.apk

Gmail.apk

That is for the market and G-mail.

For the contactlist you need a modified version of

GoogleContactsSyncAdapter.apk

GoogleCalendarSyncAdapter.apk

CalendarProvider.apk

Contacts.apk

You can find them in every Android forum with adapted Roms, simply extract them out of the packages.

Sorry for my English, I come from the netherlands and have only one year lessons.
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
well i managed to get /system rw mountable while bluestacks is running, but i broke the gadget somehow.

EDIT: i have system.img mounted from %ProgramData%\BlueStacks\Android to /system it is not in the Root.fs>system.sfs>system.img format anymore. Doing this requires at a minimum editing the windows registry and replacing initrd.img.
[Android Software/Hacking General [Developers Only]] :
@chevyowner how? what do you have edited?
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
i edited the init script in initrd.img, init.rc in ramdisk.img and the BlockDevice Keys.

It still needs work, But should operate

bluestacksfsmod-v2

to use that simply extract bluestacksfsmod-v2.zip a safe location, then copy initrd-hack.img and ramdisk.img to C:\ProgramData\BlueStacks\Android.

then use ext2read open root.fs>android system.sfs to anywhere and open a command promt and navigate to where you saved system.sfs

next and run "unsquashfs system.sfs" from the command prompt and move the squashfs-root>system.img to C:\ProgramData\BlueStacks\Android

finnally add the registry-chages file to registry restart bluestacks and try it out
[Android Software/Hacking General [Developers Only]] :
i don't use the gadget, so no problem for me :)

EDIT:

tryed, but android didn't booted..

i will try it at home

EDIT2:

worked :)
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
i think the gadget works it appears I killed it on my computer and on reinstall it works
[Android Software/Hacking General [Developers Only]] DieBagger:
Home button

A home button (or keyboard shortcut) to quickly get to the launcher (and maybe the search button as well), that's the only thing really missing for me now...

It's a great tool to use for developing android as it's so much faster then the android emulator...

:)
[Android Software/Hacking General [Developers Only]] TheManii:
It may be a hack, but you could simply remove everything but the launcher you use from the widget, it functions pretty closely to a home button that way, except it has no long press equivilent
[Android Software/Hacking General [Developers Only]] nick_1964:
Just a shortcut on your desktop works great.

See my movie: I removed the vids, don't want to have legal problems with Google.

Shortcut details: "C:\Program Files (x86)\BlueStacks\HD-Frontend.exe" android
[Android Software/Hacking General [Developers Only]] exadeci:
Meanwhile you can use Button Savior (find it on alternative market)
[Android Software/Hacking General [Developers Only]] DieBagger:
Thx alot, didn't know that app! Works great until someone figures out a way to replace the buttons at the bottom of the bluestacks app... ;)
[Android Software/Hacking General [Developers Only]] borce_razor:
removedzcvzvxv

---------- Post added at 11:20 PM ---------- Previous post was at 10:56 PM ----------

works, added su & busybox binary from x86 2.3 build, rooted. titanium backup doesn't work, probably x86/arm libs problem
[Android Software/Hacking General [Developers Only]] ludalex07:
did someone managed to have Titanium Backup working?

My main goal is to install WhatsApp and without the use of TB it's no use.

p.s: i'm following this guide: http://noob2geek.wordpress.com/2011/10/13/install-whatsapp-on-pc/ but i can't get root access with TB.
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
OK for me at least I got a version of Titanium Backup working that when i first loaded it said i did not have root. What i did was go into the preferences and check both "force system busybox" and "force system SQLite", then going to settings and force stopping it. When i relaunched it, it worked
[Android Software/Hacking General [Developers Only]] bled82:
I installed SoftKeys it works great in the settings you can modify the home button actions. https://market.android.com/details?id=net.hoopajoo.android.SoftKeys&feature=search_result#?t=W251bGwsMSwxLDEsIm5ldC5ob29wYWpvby5hbmRyb2lkLlNvZnRLZXlzIl0.
[Android Software/Hacking General [Developers Only]] spunker88:
Is it possible to make a shortcut in Windows directly open an app. I'm wondering if a shortcut to HD-Frontend.exe with the right statement at the end will work. The gadget appears to be using ActiveX to open straight to an app, but I don't have enough programming knowledge to decipher it. This would bridge the gap between Windows and Android if you could have a shortcut directly to an app.
[Android Software/Hacking General [Developers Only]] torturedsoul802:
"C:\Program Files (x86)\BlueStacks\HD-Frontend.exe android"

This is in the main post, update number 4.
[Android Software/Hacking General [Developers Only]] spunker88:
I wanted to be able to create a shortcut in Windows to open an Android app. For example a shortcut to open pandora radio on the emulator. The best way I've found is to write a batch file that uses hd-adb to connect to the emulator and then launch the app. It ends up being quicker just to use the launcher on the device.
[Android Software/Hacking General [Developers Only]] tampitzel:
maybe ?

hey i was just wondering, now that we know so much about rootfs and how the system works, couldnt we port honeycomb for bluestacks ? i know it sounds like hard modding, but i think zimage could be edited , or am i wrong ? i mean if this works on so many systems , laptops , computers with all kinds of processors, i guess the kernel is pretty generic huh ?

i`m not a programmer and i have minimal knowledge about the Android SDK but if this thing is so moddable i`m just wondering, cant honeycomb be a choice.

Sorry if its a stupid question, peace !
[Android Software/Hacking General [Developers Only]] cccy:
Not impossible if you could get everything fixed up. I have tried, but due to my lack of skills, I ended up with a honeycomb that doesn't work (You could say it "boots"/works but then doesn't even respond to "touches"/clicks/button presses). Perhaps if we could get some experienced ROM cookers we could get this properly working.
[Android Software/Hacking General [Developers Only]] TuRDMaN:
File Mirror

Could someone upload RootMod.zip to a different host? The Mediafire link is down :-(

Edit: Okay, nevermind, I see that file isn't needed anymore :-P
[Android Software/Hacking General [Developers Only]] 4x4le:
im not seeing where it isnt needed, and I just read through the entire thread. Maybe im not seeing it because I just assumed that people were still using the rootmod.zip method though.

I tried busy box installer, but it wont even get in there. I would love to get this thing rooted, I would love a way using adb shell if needed (as that is a way I rooted several phones).

Anyways I am really excited about this because I had been using bluestacks (as it was intended) just as something to play around with until I read a post about installing .apks on it and first thing I decided to do was a launcher. Then I started searching around and came to this thread.

I now have the gadget deleted, have working market, gmail, 2gb sd card, tapatalk ect but I want root in order to further have fun
[Android Software/Hacking General [Developers Only]] 4x4le:
ok, so Im guessing this post is where the other method is not needed anymore.

Im hanging up on using ext2read. I am running it as admin however I cannot get it to open up my root.fs file. Im also at a misunderstanding about the >android system.sfs part.... I do not see that file anywhere. I guess it might maybe make more sence if I could get ext2read to work properly (am I having trouble because it is not on an actual partition?) but if the >android system.sfs does not become apparent to me after getting ext2read to work then I still am at a loss.

I think i need more info on this subject. I really think bluestacks should have its own place on this forum instead of a ton of different ideas being thrown around in one thread. We could have a thread dedicated to each task (rooting, home screens, making different apps work ect) instead of this one being a several page long melting pot where its hard to decipher who is talking to who and what they are talking about.

Ive never felt more confused when on xda and that says allot because I have been pretty confused trying to keep up with some of the brains on here lol.
[Android Software/Hacking General [Developers Only]] aDigitalPhantom:
Ok the link is called ext2read but the file you run is called ext2explore. why it is that way on sourceforge I don't know

In ext2explore go to file open image then open C:\ProgramData\BlueStacks\Android\Root.fs, then there should be a hdd icon on the right panel click that, and you should see the android folder open the android folder you should see system.sfs

you might need to close the process HD-Service in task manager
[Android Software/Hacking General [Developers Only]] bled82:
For adb access got to the bluestacks folder and use HD-adb as you would adb for android , C:\Program Files (x86)\BlueStacks\HD-Adb
[Android Software/Hacking General [Developers Only]] UnAbsoluTe:
Does anyone have direction to the location I can find su and busybox compiled for x86?
[Android Software/Hacking General [Developers Only]] spook:
Honeycomb

Android-x86 has released Honeycomb for various hardware. Has anyone figured out how to inject Android-x86 releases into bluestacks?
[Android Software/Hacking General [Developers Only]] nick_1964:
Whatever I do, I don't see a HDD icon, and I don't see system.sfs

Disabled the whole HD service, opened as admin, but no files...

Stuck here.
[Android Software/Hacking General [Developers Only]] hp420:
the root package isn't available on mediafire anymore :(