What is boot.img file in android?

余生颓废 提交于 2019-12-03 03:40:11

问题


I am building the android source code and getting new system.img . I try to flash the new system.img on a device and I see that I need another file called boot.img. What is this file ? what is used for ? how can I get it for my device ?


回答1:


boot.img contains the kernel and ramdisk, critical files necessary to load the device before the filesystem can be mounted. You have to generate the boot.img yourself using mkbootimg, a tool provided by AOSP.

All the details you need are available at this xda-developers thread.

This google discussion thread may also be useful



来源:https://stackoverflow.com/questions/21173628/what-is-boot-img-file-in-android

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