Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

针对蓝叠模拟器国际版(Hyper-V)的特殊适配 #81

Open
abc1763613206 opened this issue Jan 27, 2022 · 2 comments
Open

针对蓝叠模拟器国际版(Hyper-V)的特殊适配 #81

abc1763613206 opened this issue Jan 27, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@abc1763613206
Copy link

如题。对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。
但由于 Hyper-V 的特殊性质,其自然不会自动连接上给定的 adb server ,而且每次重启时 adb 端口都会变

找了找,这里有两种主流脚本提供的方案:

bst.installed_images="Nougat64"
bst.instance.Nougat64.abi_list="x86,x64,arm,arm64"
bst.instance.Nougat64.adb_port="5555"
bst.instance.Nougat64.android_google_ad_id="f1dd7843-1c51-49a4-8b16-3fabbb9259a5"
bst.instance.Nougat64.android_id="e6010741c22d4787"
bst.instance.Nougat64.astc_decoding_mode="software"
bst.instance.Nougat64.autohide_notifications="0"
bst.instance.Nougat64.boot_duration="65478"
bst.instance.Nougat64.cpus="4"
bst.instance.Nougat64.device_carrier_code="se_310410"
bst.instance.Nougat64.device_country_code="840"
bst.instance.Nougat64.device_custom_brand=""
bst.instance.Nougat64.device_custom_manufacturer=""
bst.instance.Nougat64.device_custom_model=""
bst.instance.Nougat64.device_profile_code="stul"
bst.instance.Nougat64.display_name="BlueStacks"
bst.instance.Nougat64.dpi="240"
bst.instance.Nougat64.eco_mode_max_fps="5"
bst.instance.Nougat64.enable_fps_display="0"
bst.instance.Nougat64.enable_high_fps="0"
bst.instance.Nougat64.enable_logcat_redirection="0"
bst.instance.Nougat64.enable_notifications="1"
bst.instance.Nougat64.enable_root_access="0"
bst.instance.Nougat64.enable_vsync="0"
bst.instance.Nougat64.fb_height="900"
bst.instance.Nougat64.fb_width="1600"
bst.instance.Nougat64.gl_win_height="792"
bst.instance.Nougat64.gl_win_screen="\\.\DISPLAY1"
bst.instance.Nougat64.gl_win_x="293"
bst.instance.Nougat64.gl_win_y="120"
bst.instance.Nougat64.google_login_popup_shown="0"
bst.instance.Nougat64.graphics_engine="pga"
bst.instance.Nougat64.graphics_renderer="gl"
bst.instance.Nougat64.grm_ignored_rules=""
bst.instance.Nougat64.libc_mem_allocator="jem"
bst.instance.Nougat64.macro_win_height="-1"
bst.instance.Nougat64.macro_win_screen=""
bst.instance.Nougat64.macro_win_x="-1"
bst.instance.Nougat64.macro_win_y="-1"
bst.instance.Nougat64.max_fps="60"
bst.instance.Nougat64.pin_to_top="0"
bst.instance.Nougat64.ram="4096"
bst.instance.Nougat64.show_sidebar="1"
bst.instance.Nougat64.status.adb_port="50754"
bst.instance.Nougat64.status.ip_addr_prefix_len="20"
bst.instance.Nougat64.status.ip_gateway_addr="172.24.96.1"
bst.instance.Nougat64.status.ip_guest_addr="172.24.96.187"
bst.instance.Nougat64.status.session_id="12"

其中的 bst.instance.Nougat64.status.adb_port="50754" 对应着 127.0.0.1:50754 ,即最终连接接口。

@Konano Konano added the enhancement New feature or request label Jan 27, 2022
@Konano Konano added this to the Future milestone Jan 27, 2022
@ZhaoZuohong
Copy link
Contributor

对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。

ReDroid 效果如何

@abc1763613206
Copy link
Author

abc1763613206 commented Feb 26, 2024

对于开启了 WSL2/WSA 的群体来说,这个模拟器似乎是他们的唯一选择。

ReDroid 效果如何

ref: https://github.com/remote-android/redroid-doc/blob/master/deploy/wsl.md
需要自行编译内核使用,门槛疑似有点过高

另据 remote-android/redroid-doc#290remote-android/redroid-doc#306 ,redroid 在该环境下仅能使用软件解码且无法使用 libhoudini 等专有方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants