1.
First download that files mediafire.com/?3q5jhkwy1jvn1et
2.
(Win key + R)
"%Program Files%\BlueStacks\HD-Quit.exe" (WinX86)
"%Program Files(x86)%\BlueStacks\HD-Quit.exe" (WinX64)
3.
Copy files from this package to ""WINDOWS_DRIVE""\ProgramData\BlueStacks\...
Remember that "ProgramData" folder is hidden
4.
(Win key + R)
"%Program Files%\BlueStacks\HD-StartLauncher.exe" (WinX86)
"%Program Files(x86)%\BlueStacks\HD-StartLauncher.exe" (WinX64)
5.
If you have strange resolution import this to registry mediafire.com/?4e2lr5ddha6skd7
(this tweak change it to 1280x720)
The new root is awesome! I only have 1 question. When I root it, it shows my default GPS location as 0 deg long & 0 deg Lat (Gulf of Guinea off west coast of Africa). How can I change the default GPS location to my location? I have tried all sorts of things.
1. I modified the gps.conf file w/ no success
2. I mocked locations, but apps still see my location as Gulf of Guinea
3. I tried using wireless networks only and GPS only, but no success.
Is there a file to modify where when I open this rooted version of bluestacks, it will show my GPS location as my location?
Thanks for the package. As a suggestion I recommend removing the bluestacksrooted@gmail.com account. Since there's no reset factory defaults in Bluestacks I did the following to remove the unusable account (restart Bluestacks after entering these commands).
Open up Terminal App and enter the following commands:
- su
- cd /data/system/
- rm accounts.db
Also you should probably set the "Automatic Response" option in the SuperUser app to Prompt instead of Allow for a more secure setup.
I wanted to know if someone with experience could help me with step "H- EDITING INITRD.IMG"
I edited my Root.fs successfully and it shows the superuser.apk and everything else under /system/app when I look via File explorer but obviously not installed I assume because I can't seem to edit the INITRD.IMG properly for my older version. The one I tried editing would cause bluestacks to crash after trying to boot. I put back the original non modified INITRD.IMG file it booted properly; so it leads me to believe I'm not doing it right.
If someone can please take the time to switch the RO TO RW line for me I'd greatly appreciate it a lot.
Download link for my INITRD.IMG below:
https://dl.dropbox.com/u/12072262/initrd.img
I am an android noob, but would like to try my hand at rooting my bluestacks (manual method), sounds like fun.
One thing that is temporarily holding me back is that "Portable Ubuntu Remix" only works on 32-bit systems (might want to mention this in the tutorial). I suppose I could make a full blown ubuntu install on a thumb drive and boot off that but the ubuntu window running under windows sounds pretty nice.
Does anyone know of a portable 'nix that will run under win 7 64? I found this site "downeu.net/p/Portable+Ubuntu+For+Windows+7" but have not tried it yet. Has anyone had experience with this software?
Thanks
(I pulled the http and 3 w's from the address above so I could post it)
Portable ubuntu doesent work on WIN 7x64 better option for you is to download any Virtual Machine software and run ubuntu on it ... or any other distribution
Oracle Virtual Box : (Best free Virtual Machine)
Virtual Box Download Page
Xubuntu : (Ubuntu with lighter interface download 32bit even if you have 64bit support)
Xubuntu Download Page
if you want share files with virtual machine install
PHOTO
then use command:
mount -t vboxsf "YOUR_NAME_OF_SHARED FOLDER" "MOUNT_POINT"
Thanks for the package. As a suggestion I recommend removing the bluestacksrooted@gmail.com account. Since there's no reset factory defaults in Bluestacks I did the following to remove the unusable account (restart Bluestacks after entering these commands).
Open up Terminal App and enter the following commands:
- su
- cd /data/system/
- rm accounts.db
Also you should probably set the "Automatic Response" option in the SuperUser app to Prompt instead of Allow for a more secure setup.
My question is, do not these two sections sections of code (in part B-II and part G) do the same thing?
I do notice that the first piece of code seems to do nothing in terms of file permissions.
Also, in the second code section (G) it is copying busybox into the sdcard, why? busybox was made part of superuser.apk
in the previous code section (B-II).
Is it necessary to do ALL of the above? If so, could someone briefly explain why?
Thanks for your patience!
Good tool from "Microsoft Fix it to install/uninstall Programs" thanx Ba7rani123
1- Run command (Win Key + R) -> "%programfiles%\BlueStacks\HD-Quit.exe" (WinX86) "%programfiles(x86)%\BlueStacks\HD-Quit.exe" (WinX64)
2- Open "task manager" by run command "taskmgr" -> "Processes" tab -> "HD-LogRotatorService.exe" -> right click -> "End Process Tree"
3- Open "programs and features" by run command "appwiz.cpl" -> uninstall "BlueStacks App Player" & "Notifications Center"
4- Delete all BS folders
"%userprofile%\AppData\Local\BlueStacksSetup"
"%programfiles%\BlueStacks" (WinX86), "%programfiles(x86)%\BlueStacks" (WinX64),
"%programdata%\BlueStacks"
"%programdata%\BlueStacksSetup"
Setup from Desktop
"%windir%\Installer" -> "View" -> "Details" -> right click on column header (i.e "Name", "Date Modified", "Type") -> "Authors" -> click over column header of "Authors" to sort files according authors -> search for "BlueStacks" and delete.
Note: "%ProgramData%\BlueStacks\Logs\Hypervisor.log" will persist to delete, we will delete it later after restart
5- Download RegScanner v1.95
Install -> open it -> Registry Scan Options (it will open automatic) -> select all keys in option Scan the following base key -> write on Find String "BlueStacks" -> wait till search finish -> select all and delete -> Resisted keys can be deleted manually by open in Regedit (F8)
I can't support this application because I have Windows 7 Manager, with perfect Registry Tools 1.1, it backup & delete all keys automatic
6- Repeat step (5) by searching for "Notification Center"
7- Reboot your devive now.
8- Now you can remove %ProgramData%\BlueStacks\Logs\Hypervisor.log
Download rooted "Root.fs" and modified "initrd.img" for BlueStacks 0.7.7.813:
1- Download "BlueStacks-ThinInstaller_0.7.7.813.exe", "Root_Mod.rar" and "initrd_Mod.rar" from HERE
2- Setup BlueStacks 0.7.7.813 by file "BlueStacks-ThinInstaller_0.7.7.813.exe"
3- After setup finish installing, and BS open, close it (even before click "Got it") then run command (Win key + R) "%ProgramFiles%\BlueStacks\HD-Quit.exe" (WinX86), "%programfiles(x86)%\BlueStacks\HD-Quit.exe" (WinX64).
4- Extract "Root_Mod.rar" and "initrd.rar" into same folder "%programdata%\BlueStacks\Android" (P.S no need to make backup because it's already packed in zip file on "%programdata%\BlueStacksSetup\[xxxxxxxx].zip"
5- Open run command "%programfiles%\BlueStacks\HD-StartLauncher.exe" (WinX86), "%programfiles(x86)%\BlueStacks\HD-StartLauncher.exe" (WinX64)
Now your BlueStacks have root permission (Thanks CodeLover) and google apps (already supported).
OR
Download rocketero's rooted Root.fs & initrd.img from the 3rd post , thanks rocketero
Rooting your "Root.fs" by your self, this method allow you root any versions of BlueStacks. it need to download "Portable Ubuntu Remix", [INFO: it's a portable Linux Ubuntu 10.4 LTS emulator that works under windows environment. for more information see PROJECT.
1- Download "Portable Ubuntu Remix" from HERE
2- Download "BlueStacks" from HERE
3- Run "Portable Ubuntu Remix" and change the path to "%programfiles%\" (WinX86) "%ProgramFiles(x86)%\" (WinX64)
4- Setup "BlueStacks" until it open -> close it.
5- Open run command (win key + R) "%ProgramFiles%\BlueStacks\HD-Quit.exe" (WinX86), "%programfiles(x86)%\BlueStacks\HD-Quit.exe" (WinX64).
6- Make RAR backup of your original "%programdata%\BlueStacks\Android\Data.sparsefs" in case of any errors may happen later.
7- Follow steps of F- MOD LATEST "SUPERUSER.APK", EXTRACTED "SU" BINARY, BUSYBOX FILES .
8- Follow steps of H- EDITING INITRD.IMG and place it in "%ProgramData%\BlueStacks\Android" (P.S: don't worry about original "initrd.img" because it is packed in zip file @ "%ProgramData%\BlueStacksSetup\[xxxxxxx].zip".
9- Open run command "%programfiles%\Portable_Ubuntu_V4_slim2\pubuntu.exe" (WinX86), "%ProgramFiles(x86)%\Portable_Ubuntu_V4_slim2\pubuntu.exe" (WinX64) and wait till it fully loaded (i.e top toolbar).
10- From the top toolbar select Applications -> Accessories -> Terminal.
11- Write the following commands (P.S: # means a note for you, it's not a command):
12- Close Terminal and shut down Portable Ubuntu from system menu at top toolbar -> Shut DownCode:# Take a root permission sudo su # It will ask you for a root password: 123456 # Create a working folders mkdir /b mkdir /b/root mkdir /b/system_sfs mkdir /b/system_img # Resize Root.fs to 500 MB e2fsck -f -y "/media/cofs2/ProgramData/BlueStacks/Android/Root.fs" resize2fs -f "/media/cofs2/ProgramData/BlueStacks/Android/Root.fs" 500M # Mount root.fs to root folder mount -o loop "/media/cofs2/ProgramData/BlueStacks/Android/Root.fs" /b/root # Mount system.sfs to system_sfs folder mount -o loop /b/root/android/system.sfs /b/system_sfs # Extract system.img to /b folder cp /b/system_sfs/system.img /b/root/android # Resize system.img e2fsck -f -y /b/root/android/system.img resize2fs -f /b/root/android/system.img 480M # Unmount system_sfs and delete it (make sure the command not unmount) umount /b/system_sfs rm /b/root/android/system.sfs rmdir /b/system_sfs # Mount system.img into system_img mount -o loop /b/root/android/system.img /b/system_img # Copy MOD "Superuser" & extracted "su" binary, busybox files (which you already did in step 7) cp "/media/cofs2/pubuntu/Superuser.apk" /b/system_img/app cp "/media/cofs2/pubuntu/su" /b/system_img/bin cp "/media/cofs2/pubuntu/su" /b/system_img/xbin cp "/media/cofs2/pubuntu/busybox" /b/system_img/xbin chmod 6755 /b/system_img/bin/su chmod 6755 /b/system_img/xbin/su # Un mount system_img & delete folder umount /b/system_img rmdir /b/system_img # Set Permission for system.img chown 0:2000 /b/root/android/system.img chmod 0644 /b/root/android/system.img # Unmount root and save changes into root.fs umount /b/root rmdir /b/root rmdir /b
13- Open run command "%programfiles%\BlueStacks\HD-StartLauncher.exe" (WinX86), "%Programfiles(x86)%\BlueStacks\HD-StartLauncher.exe" (WinX64)
14- After BlueStacks run, download custom launcher (like Go Launcher HD for Pad, Apex).
15- Now your BlueStacks have root permission.
16- Make RAR backup of your "Root.fs" and "initrd.img".
1- If you have msgbox telling you of missing img, rerun the setup
2- If you the setup just start and finish very soon
See section A- REMOVE BLUESTACKS @ the top
You have to reset BS files:
a) If you follow B-I- FIRST ROOTING METHOD:
1- Download "Root_MOD.rar", "initrd_MOD.rar" and "Data_Org.rar" from HERE
2- Extract them on "%programdata%\BlueStacks\Android"
b) If you follow B-II SECOND ROOTING METHOD:
1- If you already have previous root and made backup of your rooted "Root.fs" & edited "initrd.img" & stock "Data.sparsefs" -> just extract all back to "%programdata%\BlueStacks\Android"
2- If you don't have backup -> either extract them from "%programdata%\BlueStacksSetup\[xxxxxx].zip" and start from scrach, or follow above (a) steps of B-I- FIRST ROOTING METHOD.
1- Download last version of Superuser for x86 from HERE
2- Download 7-Zip & install it from HERE (if you didn't have it)
3- Download latest version of "busybox-i686" from HERE to "C:\pubuntu" (take attention it should be small letter) and rename the downloaded file into "busybox"
4- Extract "\system\bin\su" to "C:\pubuntu" we need it to copy it to "/system/bin" & "/system/xbin"
5- Extract "\system\app\Superuser.apk" to "C:\pubuntu"
6- Close 7-zip
7- Open "Superuser.apk" via "7-zip" -> extract "assets\sutools-x86" -> rename it into "sutools-armeabi" -> drag it back in 7-zip to replace existed "sutools-armeabi".
8- Make copy of "busybox" and rename this copy to "busybox-armeabi" -> drag it again in 7-zip to replace existed "busybox-armeabi"
8- Close 7-zip and now, you have latest files MOD Superuser,apk, extracted "su" binary and busybox files
You should have "su" with root permission.
[GOOD TOOL: "Add_Open_Command_Window_Here_as_Administrator.reg" HERE to allow you open command from any folder]
a) To replace old "superuser.apk" with new file
1- Download "CodeLover_SU.rar" (superuserX86-3.2RC3) from HERE -> extract it into "C:\pubuntu" OR use your own MOD file from step F- MOD LATEST "SUPERUSER.APK", EXTRACTED "SU" BINARY, BUSYBOX FILES
2- Run "Add_Open_Command_Window_Here_as_Administrator.reg" from "C:\pubuntu" folder
3- Write commands
Code:adb connect 127.0.0.1:5555 adb -s 127.0.0.1:5555 shell su -c "rm /*uperuser.apk" adb -s 127.0.0.1:5555 uninstall com.noshufou.android.su adb -s 127.0.0.1:5555 install *uperuser.apk
b)Replace old "su" binary file with new file
1- Download "CodeLover_SU.rar" (suX86-3.2RC3) from HERE -> extract it into "C:\pubuntu" OR use your own Extracted file from step F- MOD LATEST "SUPERUSER.APK", EXTRACTED "SU" BINARY, BUSYBOX FILES
2- Run "Add_Open_Command_Window_Here_as_Administrator.reg" from "C:\pubuntu" folder
3- Write commands
Code:adb connect 127.0.0.1:5555 adb -s 127.0.0.1:5555 push su.86 /sdcard/ adb -s 127.0.0.1:5555 shell su -c "cp /sdcard/su.86 /system/xbin/" adb -s 127.0.0.1:5555 shell su -c "chown 0.0 /system/xbin/su.86" adb -s 127.0.0.1:5555 shell su -c "chmod 6755 /system/xbin/su.86" adb -s 127.0.0.1:5555 shell su -c "mv /system/xbin/su.86 /system/xbin/su" adb -s 127.0.0.1:5555 shell su -c whoami # if you got "Root" adb -s 127.0.0.1:5555 shell su -c "cp /system/xbin/su /system/bin/su"
c)Replace old "busybox" file with new file
1- Download latest version of "busybox-i686" from HERE to "C:\pubuntu" and rename the downloaded files into "busybox" OR use one you already download it in step F- MOD LATEST "SUPERUSER.APK", EXTRACTED "SU" BINARY, BUSYBOX FILES
2- Run "Add_Open_Command_Window_Here_as_Administrator.reg" from "C:\pubuntu" folder
3- Write commands
You should not have errorCode:adb connect 127.0.0.1:5555 adb -s 127.0.0.1:5555 push busybox /sdcard/ adb -s 127.0.0.1:5555 shell su -c "cp /sdcard/busybox /system/xbin/busybox-i686" adb -s 127.0.0.1:5555 shell su -c "chown 0.2000 /system/xbin/busybox-i686" adb -s 127.0.0.1:5555 shell su -c "chmod 0755 /system/xbin/busybox-i686" adb -s 127.0.0.1:5555 shell su -c "mv /system/xbin/busybox-i686 /system/xbin/busybox" adb -s 127.0.0.1:5555 shell busybox
1- Download 7-zip and install it
2- Download "NotePad++" from HERE and install it.
3- Copy "initrd.img" from "%programdata%\BlueStacks\Android\initrd.img" or extract it from "%programdata%\BlueStacksSetup\runtimedata_[xxxxxxx].zip" (where xxxxxx = ur BS version) to "C:\pubuntu".
4- Open 7-zip -> Tools -> Options -> Editor -> put the path of installed "NotePad++" ["%ProgramFiles%\Notepad++\notepad++.exe"]
5- Extract "initrd.img" via 7-zip -> open extracted file "initrd" via 7-zip -> right click "initrd" -> Edit
6- Search for:
7- Close it and save the file -> accept replacing of the file -> close 7-zipCode:[B]try_mount [COLOR="red"]ro[/COLOR] "$device /mnt || continue[/B] (It should be after "for device in /dev/sr* /dev/sd.....") and replaced with [B]"try_mount [COLOR="red"]rw[/COLOR] $device /mnt || continue[/B]
8- Open "initrd.img" via 7-zip and replace "initrd"
9- Now you have your edited initrd.img -> copy back to "%programdata%\BlueStacks\Android"
1 - Download "BlueStacks-SplitInstaller_native.exe" from BlueStacks site --> bluestacks.com/bstk-download-success-2.htm
2 - Download modified "Root.fs" and modified "initrd.img" for BlueStacks 0.7.10.869 from Mediafire -->mediafire.com/file/k3cgj6bgqdcq0xb/Rooted_BlueStacks_0.7.10.869.zip
2 - Install BlueStacks 0.7.10.869 with downloaded file "BlueStacks-SplitInstaller_native.exe"
3 - After installation has finished and BlueStacks has started successfully, exit BlueStacks.
4 - Kill all running BlueStacks processes. Open "Run Command" (Win key + R) "%ProgramFiles%\BlueStacks\HD-Quit.exe" (WinX86) or "%programfiles(x86)%\BlueStacks\HD-Quit.exe" (WinX64).
5 - Open "Run Command" (Win key + R) "%programdata%\BlueStacks\Android"
6 - Create backup of your original "root.fs" and "initrd.img" (you can rename them to "_ORIGINAL_root.fs" and "_ORIGINAL_initrd.img"
6 - Extract "root.fs" and "initrd.img" from "Rooted_BlueStacks_0.7.10.869.zip" into folder "%programdata%\BlueStacks\Android"
7 - Start all necessary BlueStacks processes. Open "Run Command" (Win key + R) "%programfiles%\BlueStacks\HD-StartLauncher.exe" (WinX86) or "%programfiles(x86)%\BlueStacks\HD-StartLauncher.exe" (WinX64)
Now your BlueStacks should have root permission.
Please verify this with one of the many apps you can find in Google Play store.
"E=mohazia;33618109]I'm here give full guide for what I was learned from mammadkhata and merrickville so all credits go to both of them.
To whom who don't know BlueStacks (as me before a week), it's emulated android system to works under windows system. for more info go to company page
You have 2 choices,
First Method:
: