In Android, rooting is a process to gain administrative privileges on the phone and have access to the Android system files. This allows the user to perform different operations (that a normal user cannot like changing the boot animation etc.) and install applications that require root access (like Wi-Fi sniffer). As one of the top Android Emulators, there is always a requirement from some advanced users to root the BlueStacks application.
Proceed at your own risk as rooting BlueStacks can cause it to become unstable and it may fail to launch. Also, it may harm data or your system. Moreover, in some cases, third-party applications are used, which are generally safe but may harm your system/data. Additionally, rooted BlueStacks can be used for some illegal activities, so, proceed with extreme caution and stay within the legal boundaries.
As you are going to try to root the BlueStacks, this comes with some risks, and trying it on a BlueStacks installation that has some essential data on it, may render the installation useless. In such a case, creating a new BlueStacks instance in the BlueStacks Multi-instance Manager will be a safe approach.
Once the BlueStacks are rooted, you can try startup managers, custom animations, script managers, etc. (e.g., System Tools Android app) to customize the BlueStacks installation. For best uses, you may search the web for the best apps for rooted Android.
For many users, who just want to use root privileges for just a single app, the method discussed above will suffice. If you do not want to edit the Config file, then you may use a one-click rooting application like OneClickRoot or KingRoot. That process is very simple, so, we are not discussing it deeply.
For some of the advanced users, especially those users who need SuperSU, the above methods may not fulfill their requirements, although, the root may work, the installation of the SuperSU binary might require some extensive tweaking. The SuperSU can manually be installed but that will require quite a work, even for some experienced folks. If you are interested in manually installing SuperSU, then you may look into the XDA-developer forum post for more details. But there are other tools like the BS Tweaker that make this process very easy. Keep in mind SuperSU manages the root permissions for the apps by showing the user a prompt to either permit the root access for an application or not.
So dear readers, in this way, you can use different modules of the Xposed installer to tweak the BlueStacks instance. Also, there are plenty of other apps for rooted BlueStacks (the Internet is your best friend) to take full advantage of the rooting process.
BlueStacks is a popular Android emulator for Windows and macOS for gamers. It is popular, because the emulator ships with Google Play Store pre-installed and installing any games is easy. Unfortunately, the emulator file system is not rooted by default. How to root it?
The emulator is internally using VirtualBox and runs Android x64 binaries (64 bit). It ships with two VirtualBox VDI disk images, Prebundled.bdi and Root.vdi. Luckily BlueStacks has left a primitive su binary on the disk image, so we do not need to add this binary to the image ourselves. We still need to change VirtualBox settings, though.
The choice of whether to root Bluestacks 5 on your PC is dependent on what you require. If you are a normal user who just wants to enjoy mobile games on your computer, then rooting might not be needed for this purpose.
Rooting techniques might change as time goes on. Look for the refreshed guides and scripts that are made for the specific Bluestacks version you currently use. Also, make sure to use FurMark software to see if your PC can handle these new methods of rooting Bluestacks 5.
Finally, there is the performance aspect to consider. The game appears excellent on Bluestacks 4 and Bluestacks 5 alike, with both able to play it smoothly at maximum FPS settings of 60 FPS. However, Bluestacks 5 is more efficient in delivering this similar experience.
If you root Bluestacks 5, it not only expands the range of what is doable within the emulator but does so in a way that lessens the dangers associated with rooting physical devices. With this systematic guide, we have walked through unlocking, rooting, and upgrading Bluestacks 5. Now you can confidently use all features of Android safely in an emulator environment on a PC. Enjoy your freedom and explore possibilities with the unlocked version of Bluestacks 5!
Recently, I came across a problem: my trusty rooted Android 4 phone couldn't install an app whose API I wanted to reverse engineer, because the app was targeting Android versions 7 and above. Instead of buying a newer phone for my needs, I started looking towards emulators.
The first article I came across was from Mark Dappollone on Medium, but it was published back in 2017 and didn't address my main concern: installing Android Studio just to use its emulator is a massive waste of time and hard drive space. Android Studio is completely unintuitive, and the emulator does not work on my machine at all.
Not only that, but it's meant for developers who can add their own SSL certificates into apps, which is impractical for reverse engineering, when we usually don't have access to the source code. Instead, I turned to an emulator I had used before, BlueStacks. This article will teach you how to root the BlueStacks emulator and use it to proxy calls.
Of course, you will need to install Charles first. For the emulator, I recommend downloading the latest 64-bit version of BlueStacks 5, since it supports Hyper-V. Once downloaded and installed, launch the application once and let the emulator fully load.
Once loaded, close the emulator and download the latest version of BlueStacks Tweaker. This nifty program will allow us to root the emulator, as well as install Xposed. The latest beta works with the latest version of BlueStacks 5 (5.9).
Open BlueStacks Tweaker and navigate to the "Root" tab. Make sure the emulator is closed and press "Unlock". This will unlock the emulator for rooting. Once that is done, press the "Play" button next to your emulator and wait for the emulator to load. Make sure you have Android Nougat (7.1), because BlueStacks Tweaker doesn't support the Android Pie beta yet.
Once the emulator has loaded, press "Patch", then "Install SuperSu", then "Update Su binary". This will close the instance, so don't be surprised. Launch it again, and under the Xposed tab, press "Patch", "Install", and then "Flash". Restart the instance, and then open Xposed. It should say "Xposed Framework version 89 is active." and display a green checkmark. This means we can move onto step 3.
You will need an app like X-plore to edit the Android system files in order to add our proxy and Charles root certificate. Once you've downloaded and installed the app (you can drag the .apk file directly into the emulator), press the three dots in the top right corner and press "Configuration". You'll need to set the app into "Superuser + mount writable" mode.
Briefly head into Charles to set up your proxy. Be sure to turn off the default "Windows proxy" switch in the Proxy tab. Then press Proxy -> Proxy Settings... click both of the switches under the HTTP proxy. After that, press Help -> Local IP Address and take a note of your IP.
Then navigate to /data/system/users/0 (this will prompt the app to allow superuser access. Press "Accept".) and open "settings_global.xml" with the app's file editor. Then add these entries anywhere into the file, making sure to change the IP address to the one given to you by Charles:
Once that is done, save the file and reboot the emulator. You should start seeing HTTP(S) queries in the list, but you will not be able to see HTTPS requests yet. Turn on the SSL proxy by pressing Proxy -> SSL Proxying Settings, pressing the "Enable SSL Proxying" button and adding "*" as a location.
Now we need to install Charles' root certificate into the emulator. To do this, save Charles' root certificate locally by pressing Help -> SSL Proxying -> Save Charles Root Certificate..., and then save the file somewhere locally.
Next, you will need to add it manually into Android's certificate store. Install OpenSSL locally and navigate to wherever you saved the certificate. Then, type these two commands, courtesy of this StackOverflow answer:
And copy-paste the text into the text file we just created. Drag and drop this file into the emulator, and open X-plore again. You should find that file in /storage/emulated/0/Download. Copy that file to clipboard and paste it in /system/etc/security/cacerts.
Once that is done, download and install this Xposed module, go to the Xposed Installer -> Modules and enable it. This disables SSL verification and pinning for most apps, making them trust Charles' root SSL certificate, allowing us to sniff the traffic.
Rootcloak is your best bet, xPrivacy may be able to remove detection of root as well (just for you though). If none of these work, you'd have to go into the APK yourself and remove it manually, then use the apk instead of the playstore game.
Out of the box, BlueStacks allows you to copy applications from your phone to your PC or you can download some apps from the BlueStacks. But the company only offers a small fraction of the nearly half-million apps available in the Google Play Store.
The folks at Droid Hackings have posted instructions on gaining root access to the BlueStacks file system, and you can find more detailed instructions for enabling the Google Play Store at the xda-developers forum.
Liliputing's primary sources of revenue are advertising and affiliate links (if you click the "Shop" button at the top of the page and buy something on Amazon, for example, we'll get a small commission).
7fc3f7cf58