tried it, gets stuck on boot. i'm using latest Magisk canary from you
tried it, gets stuck on boot. i'm using latest Magisk canary from you
try thistried it, gets stuck on boot. i'm using latest Magisk canary from you
Still stuck. I had bootloop enabled so it disables once I reboot again
Hey mate, I'd love to see how you did this as I'm trying to achieve the same thing at the moment!Hello.
I was able to edit, add, and remove apps directly on BlueStacks disks, even before installation.
At end, I got an updated Play Store, Google Services Framework and Play Games. I removed the default launcher and added Nova Launcher. Also, removed the pre-installed apps, like the built-in games.
Maybe this is a more effective way to install Magisk, and/or updated Google apps like GApps. My aim is to have a certified device on Play Store.
If anyone is interested, I'll show how I did.
Hello!Hey mate, I'd love to see how you did this as I'm trying to achieve the same thing at the moment!
Many thanks in advance![]()
vboxmanage clonehd "path_to_original_data.vhdx" "path_to_converted_original_data.vdi" --format vdi
vboxmanage clonehd "path_to_original_root.vhd" "path_to_converted_root.vdi" --format vdi
Thank you so much for putting this guide together buddy! I'll give it a go and update this thread with the result in case anyone might be interested.Hello!
I abandoned this "project", as I was unable to get a certified device, but isn't a complicated process. You will need a computer or a virtual machine with a Linux distro (like Ubuntu) to preserve the files attributes (Windows can't handle Linux attributes). I've used a Ubuntu distro on VirtualBox, as VirtualBox can work well with the needed files, so I'll show you with this way.
So, at first, do a backup for your c:\programdata\Bluestacks_nxt folder and close any instance!
Now you'll need to convert the BlueStacks's virtual disks to VDI format. Use these commands:
andCode:vboxmanage clonehd "path_to_original_data.vhdx" "path_to_converted_original_data.vdi" --format vdi
Code:vboxmanage clonehd "path_to_original_root.vhd" "path_to_converted_root.vdi" --format vdi
Once converted, VirtualBox will list these virtual disks on Tools tab. Go there, select the VDI files you just converted, and copy the UUID for each disk. You'll need to edit a file with same name as your's BlueStacks instances (I use only one, named Pie64, so my file is Pie64.bstk). It is located at Bluestacks_nxt folder, at subfolder "Engine". This file is like a XML file, so, I recommend you to use Notepad++ instead default Windows notepad.
There are some lines to edit. Look at lines starting with "HardDisk uuid" at top of the file. You do not need to edit the line with "fastboot.vdi", but edit the others to match the UUIDs and the converted VDIs filenames.
At bottom of the file, look for lines starting with "StorageControler". Inside these groups, change the UUID to match the converted VDIs, again. Close the file and start BlueStacks. If you did all correctly, everything will work as expected. Update/install any app you want, and close the instance.
Fire up your VirtualBox, attach the VDIs to the Ubuntu virtual machine as secondary disks, and start it. Inside the machine, open the root.vdi, and do the "mods" you want, like delete default apps. You can also open original_data.vdi, and delete the BlueStacks default app updates, and move the apps you installed/updated to root.vdi. I don't remember exactly where the apps folders are located, but isn't hard to find.
Once you finish, unmount the VDIs inside the virtual machine, and close it. Dettach the VDIs from the virtual machine, and start BlueStacks.
You're done! Good luck!
Hello!Hey mate, I'd love to see how you did this as I'm trying to achieve the same thing at the moment!
Many thanks in advance![]()
vboxmanage clonehd "path_to_original_data.vhdx" "path_to_converted_original_data.vdi" --format vdi
vboxmanage clonehd "path_to_original_root.vhd" "path_to_converted_root.vdi" --format vdi
Thank you so much for putting this guide together buddy! I'll give it a go and update this thread with the result in case anyone might be interested.Hello!
I abandoned this "project", as I was unable to get a certified device, but isn't a complicated process. You will need a computer or a virtual machine with a Linux distro (like Ubuntu) to preserve the files attributes (Windows can't handle Linux attributes). I've used a Ubuntu distro on VirtualBox, as VirtualBox can work well with the needed files, so I'll show you with this way.
So, at first, do a backup for your c:\programdata\Bluestacks_nxt folder and close any instance!
Now you'll need to convert the BlueStacks's virtual disks to VDI format. Use these commands:
andCode:vboxmanage clonehd "path_to_original_data.vhdx" "path_to_converted_original_data.vdi" --format vdi
Code:vboxmanage clonehd "path_to_original_root.vhd" "path_to_converted_root.vdi" --format vdi
Once converted, VirtualBox will list these virtual disks on Tools tab. Go there, select the VDI files you just converted, and copy the UUID for each disk. You'll need to edit a file with same name as your's BlueStacks instances (I use only one, named Pie64, so my file is Pie64.bstk). It is located at Bluestacks_nxt folder, at subfolder "Engine". This file is like a XML file, so, I recommend you to use Notepad++ instead default Windows notepad.
There are some lines to edit. Look at lines starting with "HardDisk uuid" at top of the file. You do not need to edit the line with "fastboot.vdi", but edit the others to match the UUIDs and the converted VDIs filenames.
At bottom of the file, look for lines starting with "StorageControler". Inside these groups, change the UUID to match the converted VDIs, again. Close the file and start BlueStacks. If you did all correctly, everything will work as expected. Update/install any app you want, and close the instance.
Fire up your VirtualBox, attach the VDIs to the Ubuntu virtual machine as secondary disks, and start it. Inside the machine, open the root.vdi, and do the "mods" you want, like delete default apps. You can also open original_data.vdi, and delete the BlueStacks default app updates, and move the apps you installed/updated to root.vdi. I don't remember exactly where the apps folders are located, but isn't hard to find.
Once you finish, unmount the VDIs inside the virtual machine, and close it. Dettach the VDIs from the virtual machine, and start BlueStacks.
You're done! Good luck!
CTRL + S
if using browser in Windows OSsu
export PATH=/system/xbin:/system/bin
cd /sdcard/Download
sh update-binary 2 1 $PWD/SR5-SuperSU-v2.82-SR5-20171001224502.zip
META-INF/com/google/android/update-binary
from the zip to /data/local/tmp
su
cd /data/local/tmp
chmod 777 update-binary
NO_UIPRINT=1 ./update-binary 2 1 xposed-v89-sdk25-x86.zip
rm update-binary xposed-v89-sdk25-x86.zip
NO_UIPRINT=1 ./update-binary 2 1 xposed-v89-sdk25-x86_64-signed.zip
rm update-binary xposed-v89-sdk25-x86_64-signed.zip
mkbootimg --ramdisk ramdisk --kernel kernel -o boot.img
emu works perfectly and magisk installed properly. i don't think there's any file check, at least on MEmu. I tried same method on Nox Player, the emu itself works as intended but magisk doesn't. on Nox player, magisk doesn't detect ramdisk partition. I'll try LDplayer.Which raises another question, whether other emu's will work if one could replace the ramdisk successfully? Is there any file check that prevents booting from a modified ramdisk? Further testing is needed.
su
sh /sdcard/Download/run.sh
/sdcard/init.d/bin/magisk.apk
run.sh
script from below attached zip to any folder like /sdcard/Download
run.sh
script. To do this run below commands in Terminalsu
sh /sdcard/Download/run.sh
I'm not sure. Probably the emulator is beign detected.Ah, I made this guide for only SuperUser management in MEmu.
But it turns into many other things like using Magisk modules, passing SafetyNet etc.,
I also tried as @VD171 said. Installed Xposed, Magisk and installed HiddenCore but PokenmonGo fails to login.
I have no idea about these things. Let us wait for someone look into these things.
Thanks