Run a Custom ROM on an AVD

我的梦境 提交于 2019-12-03 04:18:01

问题


Does anyone know if this it is possible to run a Custom ROM on a AVD? ANd how can I do this? Thanks


回答1:


If you build a custom rom by yourself, after you've built a custom rom you can launch it with the command emulator. But to do this you need at first to build your rom for emulator (usually, full-generic lunch option). If not you can just copy necessary images and also run them using emulator command. For instance, I usually copy .sh script in the folder with Android sources and run this script:

out/host/linux-x86/bin/emulator -sysdir out/target/product/generic/ -system out/target/product/generic/system.img -ramdisk out/target/product/generic/ramdisk.img -data out/target/product/generic/userdata.img -kernel prebuilt/android-arm/kernel/kernel-qemu -sdcard sdcard.img -skindir sdk/emulator/skins -skin WVGA800 -scale 0.7 -memory 512 -wipe-data -partition-size 200


来源:https://stackoverflow.com/questions/8744342/run-a-custom-rom-on-an-avd

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!