编译完android源码得到了一堆img文件,但是我不知道如何才能把这些东西组织起来用于创建qemu虚拟机,求指点。(或者是不是可以直接用system.img文件创建qemu虚拟机?)

$ ll

drwxr-xr-x 18 root root 4096 9月 12 17:59 ./

drwxr-xr-x 4 root root 4096 9月 12 10:19 ../

-rw-r--r-- 1 root root 7 9月 12 10:32 android-info.txt

drwxr-xr-x 20 root root 4096 9月 12 17:49 apex/

drwxr-xr-x 2 root root 4096 9月 12 17:55 appcompat/

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-5.4-allsyms.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-5.4-gz-allsyms.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-5.4-gz.img

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-5.4.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-5.4-lz4-allsyms.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-5.4-lz4.img

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-debug-5.4-allsyms.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-debug-5.4-gz-allsyms.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-debug-5.4-gz.img

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-debug-5.4.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-debug-5.4-lz4-allsyms.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-debug-5.4-lz4.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-debug-mainline-gz.img

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-debug-mainline.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-debug-mainline-lz4.img

-rw-r--r-- 1 root root 47185920 9月 12 16:38 boot-mainline-gz.img

-rw-r--r-- 1 root root 67108864 9月 12 16:38 boot-mainline.img

-rw-r--r-- 1 root root 53477376 9月 12 16:38 boot-mainline-lz4.img

-rw-r--r-- 1 root root 74 9月 12 10:31 build_fingerprint.txt

-rw-r--r-- 1 root root 53 9月 12 10:31 build_thumbprint.txt

drwxr-xr-x 2 root root 4096 9月 12 15:52 cache/

-rw-r--r-- 1 root root 45132 9月 12 15:53 cache.img

-rw-r--r-- 1 root root 186325 9月 12 10:19 clean_steps.mk

-rw-r--r-- 1 root root 413 9月 12 10:26 config.ini

-rw-r--r-- 1 root root 46 9月 12 10:31 .copied_headers_list

drwxr-xr-x 3 root root 4096 9月 12 14:46 data/

drwxr-xr-x 26 root root 4096 9月 12 16:38 debug_ramdisk/

-rw-r--r-- 1 root root 13 9月 12 10:26 dtb.img

drwxr-xr-x 2 root root 4096 9月 12 17:49 fake_packages/

drwxr-xr-x 3 root root 4096 9月 12 10:31 gen/

-rw-r--r-- 1 root root 2419752 9月 12 10:31 .installable_files

-rw-r--r-- 1 root root 2419752 9月 12 10:20 .installable_files.previous

-rw-r--r-- 1 root root 735283 9月 12 17:57 installed-files.json

-rw-r--r-- 1 root root 64144 9月 12 16:38 installed-files-ramdisk-debug.json

-rw-r--r-- 1 root root 20391 9月 12 16:38 installed-files-ramdisk-debug.txt

-rw-r--r-- 1 root root 143 9月 12 14:50 installed-files-ramdisk.json

-rw-r--r-- 1 root root 28 9月 12 14:50 installed-files-ramdisk.txt

-rw-r--r-- 1 root root 59984 9月 12 16:38 installed-files-recovery.json

-rw-r--r-- 1 root root 16557 9月 12 16:38 installed-files-recovery.txt

-rw-r--r-- 1 root root 3273 9月 12 10:32 installed-files-root.json

-rw-r--r-- 1 root root 700 9月 12 10:32 installed-files-root.txt

-rw-r--r-- 1 root root 277660 9月 12 17:57 installed-files.txt

-rw-r--r-- 1 root root 98615 9月 12 16:38 installed-files-vendor.json

-rw-r--r-- 1 root root 32094 9月 12 16:38 installed-files-vendor.txt

-rw-r--r-- 1 root root 26634752 9月 12 10:31 kernel-5.4

-rw-r--r-- 1 root root 26634752 9月 12 10:31 kernel-5.4-allsyms

-rw-r--r-- 1 root root 13330824 9月 12 10:31 kernel-5.4-gz

-rw-r--r-- 1 root root 13330824 9月 12 10:31 kernel-5.4-gz-allsyms

-rw-r--r-- 1 root root 15051343 9月 12 10:31 kernel-5.4-lz4

-rw-r--r-- 1 root root 15051343 9月 12 10:31 kernel-5.4-lz4-allsyms

-rw-r--r-- 1 root root 24455680 9月 12 10:31 kernel-mainline

-rw-r--r-- 1 root root 12746402 9月 12 10:31 kernel-mainline-gz

-rw-r--r-- 1 root root 14292986 9月 12 10:31 kernel-mainline-lz4

-rw-r--r-- 1 root root 5287 9月 12 10:32 misc_info.txt

-rw-r--r-- 1 root root 21156891 9月 12 10:32 module-info.json

-rw-r--r-- 1 root root 22770500 9月 12 10:32 module-info.json.rsp

drwxr-xr-x 13 root root 4096 9月 12 17:59 obj/

drwxr-xr-x 6 root root 4096 9月 12 11:21 obj_arm/

-rw-r--r-- 1 root root 40 9月 12 10:20 previous_build_config.mk

drwxr-xr-x 7 root root 4096 9月 12 14:50 ramdisk/

-rw-r--r-- 1 root root 8898362 9月 12 16:38 ramdisk-debug.img

-rw-r--r-- 1 root root 1034737 9月 12 14:50 ramdisk.img

-rw-r--r-- 1 root root 8707489 9月 12 16:38 ramdisk-recovery.img

drwxr-xr-x 3 root root 4096 9月 12 10:32 recovery/

drwxr-xr-x 22 root root 4096 9月 12 10:31 root/

drwxr-xr-x 6 root root 4096 9月 12 14:51 symbols/

drwxr-xr-x 15 root root 4096 9月 12 17:57 system/

-rw-r--r-- 1 root root 1371328888 9月 12 17:59 system.img

drwxr-xr-x 3 root root 4096 9月 12 17:47 testcases/

-rw-r--r-- 1 root root 106692 9月 12 15:53 userdata.img

-rw-r--r-- 1 root root 4096 9月 12 17:59 vbmeta.img

drwxr-xr-x 10 root root 4096 9月 12 16:27 vendor/

-rw-r--r-- 1 root root 67276912 9月 12 16:38 vendor.img

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐