惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
月光博客
月光博客
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
小众软件
小众软件
量子位
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog
U
Unit 42
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
H
Help Net Security
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

博客园 - 咒语

Azure OAuth2 PostMan 授权代码 跨线程 操作Winform 主UI时的扩展方法 每当双11来时,商家与京东的那些骚操作,京东30天保价不能信 Microsoft.Extensions.DependencyInjection 阅读笔记 EasyToLearnDesignPattern C#中关于表达式与委托在EF中的不同表现总结 软件开发中的版本号 The specified type member 'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported. ABP项目依赖图,根据自已生在的Demo项目分析而得 学习ELk之----02. Elastic Search操作入门 学习ELK之----01.建立ELK测试项目 一目了然呀的VS2017 Live Test 配置Asp.Net Web项目NLog配置文件的位置 配置WinRM的Https 测试EntityFramework,Z.EntityFramework.Extensions,原生语句在不同的查询中的表现。原来池化与非池化设定是有巨大的影响的。 消费RabbitMQ时的注意事项,如何禁止大量的消息涌到Consumer RabbitMQ调试与测试工具-v1.0.1 -提供下载测试与使用 安装TFS2015后启用生成功能 log4net在Realse下有个好大的坑呀。
在Hyper-V上安装RemixOS 的Android模拟器
咒语 · 2017-06-19 · via 博客园 - 咒语

2017-06-19 13:36  咒语  阅读(20407)  评论()    收藏  举报

不想用实体机,想不想弄个快速的Android虚拟环境,今天我们就来说说把Android模拟器(RemixOS)安到Hyper-v上的办法。

1. 下载RemixOs   或者直接去 论坛获得下载地址

2. 在Hyper-v中创建第1代的虚拟机,50G硬盘,2G内存。别急着开机。

3. 在计算机管理中打开磁盘管理,附加上刚才的虚拟磁盘,以MBR格式初化  格式化成Fat32格式,然后分离磁盘。

4. 通过VM机的光盘启动系统,但是不要选择上面的任何一项,直接按Tab键进去编辑

5. 修改原来的启动code如下:

/kernel initrd=initrd.img root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet INSTALL=1 nomodeset vga=791

关于不同的vga代码可以参考如下:

Colour depth 640x480 800x600 1024x768 1280x1024 1400x1050 1600x1200
8 (256) 769 771 773 775  
15 (32K) 784 787 790 793  
16 (65K) 785 788 791 794 834 884
24 (16M) 786 789 792 795

6. 选择:sda1 

不要 format

选择安装GRUB (YES)

跳过安装EFI GRUB2 (SKIP)

选择YES: making system directory read-write. 

选择YES: creating user data image.

输入data.img的大小,2014M

然后耐心等待。


因为我是安在SSD上的。速度很快。

 注意情况:

第一,要再次关机后,重新附加到磁盘管理器上,打开硬盘里\grub\menu.lst文件,把文件中的kernel791替换为kernel vga=791。改完后如下:

default=0
timeout=6
splashimage=/grub/android-x86.xpm.gz
root (hd0,0)

title Remix OS 2016-10-24
kernel /android-2016-10-24/kernel vga=791 quiet root=/dev/ram0 androidboot.hardware=remix_cn_x86_64 androidboot.selinux=permissive nomodeset SRC=/android-2016-10-24
initrd /android-2016-10-24/initrd.img

title Remix OS 2016-10-24 (Debug mode)
kernel /android-2016-10-24/kernel vga=791 root=/dev/ram0 androidboot.hardware=remix_cn_x86_64 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-10-24
initrd /android-2016-10-24/initrd.img

title Remix OS 2016-10-24 (Debug nomodeset)
kernel /android-2016-10-24/kernel vga=791 nomodeset root=/dev/ram0 androidboot.hardware=remix_cn_x86_64 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-10-24
initrd /android-2016-10-24/initrd.img

title Remix OS 2016-10-24 (Debug video=LVDS-1:d)
kernel /android-2016-10-24/kernel vga=791 video=LVDS-1:d root=/dev/ram0 androidboot.hardware=remix_cn_x86_64 androidboot.selinux=permissive nomodeset DEBUG=2 SRC=/android-2016-10-24
initrd /android-2016-10-24/initrd.img

 第二,你发现你的鼠标不能用,要一直按着拖才能操。这个太痛苦了。估计死的心都有了。那么。这个时候,就要先忍着打开控制终端,然后输入如下:

1. 获取ROOT权限: su

2. 删除一个东东:  rmmod hid_hyperv

参考文档:http://trukhanov.com/2016/01/install-remixos-on-hyper-v-virtual-machine/