• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

BlueStacks Tweaker 6. Tool for modifing BlueStacks 2 & 3 & 3N & 4 & 5

Search This thread

theangelsinhell

New member
Sep 20, 2021
1
0
Hi!

I try to change device model, then I get this message:
1632138074500.png


Btw, i am using bluestack 4.30.50.1690 and bstweaker 5.16.1 and my bluestack has been rooted already.
Here is my log file. Please check this out:
Thank you!
 

Attachments

  • 20210920.bst.log.txt
    2.8 KB · Views: 26
Last edited:

Anatoly79

Senior Member
Feb 28, 2014
374
339
Moscow
Current version of BSTweaker 6.8.0 beta.

What is your question?

Hi!

I try to change device model, then I get this message: View attachment 5414477

Btw, i am using bluestack 4.30.50.1690 and bstweaker 5.16.1 and my bluestack has been rooted already.
Here is my log file. Please check this out:
Thank you!
I don't remember why, but some phone models don't work with old version of BlueStacks.
Use BlueStacks 4.2xx
 
Last edited:

Protocold

Member
Nov 1, 2007
21
2
Hi I have BS4 with multiple instances on old PC but the I am trying to grab the these instances into a new PC with new windows.

I installed the same version of BS4 in the new PC, copied across the Bluestacks folders from C:\ProgramData and also from the user's AppData\local\BlueStacks, when i open the multi-instance manager I only see empty list with only one VM..

How can I fix this? where is this info stored? Many thanks!


NOTE: I have resolved this by exporting the whole BS registry key from windows folder and import it into the new one.
 
Last edited:

Kiinasu

Senior Member
Apr 15, 2012
172
84
Jeju
any chance i can get the source code? I want to know how to interact with the bluestacks api and do not want to waste endless hours reversing it, thanks a ton

Same. Would love to start emulators and get the adb port from a script but bluestacks seems to hate the idea of sharing any documentation. The .dll files expose some methods for it but for non .net applications this is a bit awkward.
 
  • Like
Reactions: xingyunjohn1

xingyunjohn1

Senior Member
Feb 9, 2018
58
11
Code:
BSTweaker 6.8.1 beta
does NOT work with
Code:
5.3.120.1002 N64 Hyper-V
.
It's recognized as
Code:
BuleStacks 5 (Nxt)
.
2021-10-16 21:18:32.2477 DEBUG NLog.Init
2021-10-16 21:18:33.8432 ERROR
2021-10-16 21:18:33.8582 DEBUG Registry::
2021-10-16 21:18:33.8582 ERROR System.Exception: Emulator BlueStacks4 is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8740 ERROR
2021-10-16 21:18:33.8740 DEBUG Registry::
2021-10-16 21:18:33.8740 ERROR System.Exception: Emulator BlueStacks4_64 is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8740 ERROR
2021-10-16 21:18:33.8740 DEBUG Registry::
2021-10-16 21:18:33.8740 ERROR System.Exception: Emulator BlueStacks4_msi2 is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8740 ERROR
2021-10-16 21:18:33.8740 DEBUG Registry::
2021-10-16 21:18:33.8740 ERROR System.Exception: Emulator BlueStacks4_64_hyperv is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8740 ERROR
2021-10-16 21:18:33.8740 DEBUG Registry::
2021-10-16 21:18:33.8740 ERROR System.Exception: Emulator BlueStacks4_lollipop is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8780 ERROR
2021-10-16 21:18:33.8780 DEBUG Registry::
2021-10-16 21:18:33.8780 ERROR System.Exception: Emulator BlueStacks5_arabica is not exist
在 Engine.CheckSupport.GetEmulator(Emulator emulator)
2021-10-16 21:18:33.8780 DEBUG Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_nxt/InstallDir:C:\Program Files\BlueStacks_nxt\
2021-10-16 21:18:38.1597 DEBUG Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_nxt/DataDir:C:\ProgramData\BlueStacks_nxt\Engine\
2021-10-16 21:18:38.1597 DEBUG Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_nxt/Version:5.3.120.1002
It looks like the adb connection is nonexistent where there is none Full Stop button though adb is enabled in the emulator settings.db
====Update====
adb seems working for a while after unlock command(only by web url) and suinstall & xposedinstall works. But once I try to updatesu, connection aborted.
1634392271299.png

Thanks for your work.
 
Last edited:

sdyalor

New member
Jan 25, 2020
1
0
Starting an instance from BlueStacks Tweaker 6(6.8.1) beta with 5.3.120.1002
Keeps root but disables drang and drop (I think cuz admin privileges from runing the tweaker)
But When running with the bs multi-instance the instance starts but after some interaction, the root is undone.

Help.
 

Bobj2008

New member
Jun 15, 2018
4
0
Hello, I am using both Bluestacks 4 and 5.

For BS 5 (5.3.120.1002), I can start the instance, but it doesn't seem to have control of the instance as the start button doesn't switch to the stop button.

For BS 4 (Hyper-V) (4.280.0.4206) , I can successfully start/stop the instance but do not have access to SuperSU and Xposed buttons. It also looks like the ADB is not connecting (It is enabled in the emulator).

Code:
2021-10-17 00:24:37.1512 ERROR System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:58157
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at Helpers.HttpEx.HttpExGet.Send(Int32 timeOut)
2021-10-17 00:24:38.4236 ERROR System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at Helpers.Adb.TcpCommand.SendCommand(TcpClient tcp, String command)
   at Helpers.Adb.TcpCommand.Send(String& output, String[] commands)
2021-10-17 00:24:38.5603 DEBUG Adb.Server. Kill
2021-10-17 00:24:40.4323 ERROR 127.0.0.1:58154
2021-10-17 00:24:41.1431 ERROR 127.0.0.1:58154
2021-10-17 00:24:43.1528 ERROR System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:58157
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at Helpers.HttpEx.HttpExGet.Send(Int32 timeOut)
2021-10-17 00:24:43.7007 DEBUG Adb.Server. Start
2021-10-17 00:24:45.2073 ERROR 127.0.0.1:58154
2021-10-17 00:24:46.1506 ERROR 127.0.0.1:58154
2021-10-17 00:24:48.1588 ERROR System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:58157
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetResponse()
   at Helpers.HttpEx.HttpExGet.Send(Int32 timeOut)
 
Last edited:

Bobj2008

New member
Jun 15, 2018
4
0
Ok, the IP for the ABD seems to be different, hence why it's not connecting.

IN the log, it shows 127.0.0.1:58154 while the emulator shows 127.0.0.1:56564
 

Bobj2008

New member
Jun 15, 2018
4
0
Maybe I don't know what I'm saying :p

Code:
2021-10-17 00:43:26.8030|DEBUG|BSTweakerConsole.Program|NLog.Init
2021-10-17 00:43:27.5891|DEBUG|VmBlueStacksBase.Internal.RegistryManager|Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_bgp64_hyperv/InstallDir:C:\Program Files\BlueStacks_bgp64_hyperv\
Loading data...
2021-10-17 00:43:27.6468|DEBUG|VmBlueStacksBase.Internal.BlueStacksVMBase|VM Android ready
2021-10-17 00:43:27.6468|DEBUG|VmBlueStacksBase.Internal.BlueStacksVMBase|VM Android_1 ready
Starting server..
2021-10-17 00:43:27.6887|DEBUG|BSTweakerConsole.Program|http://127.0.0.1:8888/api/Android/?apiKey=key&command=&param1=&param2=
2021-10-17 00:43:27.9934|INFO|Engine.WebServer|Stop Listener AllRunning
2021-10-17 00:43:27.9934|INFO|Engine.WebServer|Stop Listener Android
2021-10-17 00:43:27.9934|INFO|Engine.WebServer|Stop Listener All
2021-10-17 00:43:27.9934|INFO|Engine.WebServer|Stop Listener Main
2021-10-17 00:43:28.0119|INFO|Engine.WebServer|Stop Listener Android_1
2021-10-17 00:43:28.0188|DEBUG|VmBlueStacksBase.Internal.InstanceRegistry|Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_bgp64_hyperv\Guests\Android\Config/BstAdbPort:56564
2021-10-17 00:43:28.0500|ERROR|Helpers.Adb.AdbTcp|127.0.0.1:56564
2021-10-17 00:43:28.0500|DEBUG|VmBlueStacksBase.Internal.InstanceRegistry|Registry:HKEY_LOCAL_MACHINE\Software\BlueStacks_bgp64_hyperv\Guests\Android\Config/BstAndroidPort:56567
2021-10-17 00:43:28.7482|ERROR|Helpers.Adb.AdbTcp|127.0.0.1:56564
 

shanghei

Senior Member
Oct 21, 2008
504
61
Hello, anyone know how to modify long press delay on Bluestacks 5? I think by default it is 1 second (1000ms) but ideally I would like long press delay to be like 250ms so it registers long press quicker. Any help would be appreciated.
 

carapaz

New member
Oct 20, 2021
2
0
Hello! Sorry to bother you, I must be doing something wrong. I have Windows 10 Home which does not have Hyper-V. That being said, for some reason, I needed to download the latest version of Bluestacks since my old Bluestacks 4 was giving me 'Hyper-V Initialized'. So I tried rooting B5 and I'm not able to turn this green to procced. Any thoughts?
1634740143857.png
 

Mickyman

Senior Member
Sep 19, 2010
361
45
Hi,

In my debug logs I keep seeing "ERROR 127.0.0.1:64363". Which i think is keeping me from rooting BS.
I'm using BS version 5.3.130.1003.

I'm seems the ADB connection is not initiating therefor not able to root as it also shows no connection.
1634915425800.png


Is it because of my BS version? Or could it be something else?
 

alen9788

New member
Oct 27, 2021
1
0
Hi BlueStacks 5.3.130.1003 (Nougat 7.1 32bit) did not enable the hyper v, but can not install the xposed.
Changing the config file root access=1 to root the BS5. After clickign the patch, it said error.

Snipaste_2021-10-27_12-26-26.png
 

Anatoly79

Senior Member
Feb 28, 2014
374
339
Moscow
Last edited:

carapaz

New member
Oct 20, 2021
2
0
Hello! Sorry to bother you, I must be doing something wrong. I have Windows 10 Home which does not have Hyper-V. That being said, for some reason, I needed to download the latest version of Bluestacks since my old Bluestacks 4 was giving me 'Hyper-V Initialized'. So I tried rooting B5 and I'm not able to turn this green to procced. Any thoughts?View attachment 5437481
Found the answer! (kind of). Despite having windows 10 Home and natively not supporting Hyper-V it was enabled... somehow. Installed Nox, opened it and it automatically uninstalled Hyper-V. After that everything worked as intended! Was able to successfully root the first instance of Bluestacks. Thanks!


Is it because of my BS version? Or could it be something else?
Try looking up Hyper-V. For me it worked installing Nox and then uninstalling Hyoer-V it via it, or you could also manually disable it via Apps and Features. Anyhow, Good luck.
 

Top Liked Posts