运行在AVD自定义ROM自定义、AVD、ROM

2023-09-05 07:10:37 作者:- 你不在 我不再

有谁知道这是可能的运行自定义ROM上的AVD? 我该怎么办呢? 谢谢

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

推荐答案

如果你自己创建一个自定义ROM,你已经建立了一个定制ROM后,您可以使用命令模拟器。但要做到这一点,你需要先构建你的ROM的仿真器(通常,全通用午餐选项)。如果没有,你可以只复制所需的图像,并使用模拟器命令来运行它们。举例来说,我通常复制.SH脚本采用Android源文件夹中,然后运行该脚本:

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
 
精彩推荐
图片推荐