什么是boot.img的文件中的android?文件、boot、img、android

2023-09-05 05:42:09 作者:任由时间说真话.

我建立了Android源$ C ​​$ c和获得新的system.img。我尝试更新新的system.img的设备上,我看到,我需要叫boot.img的其他文件。这是什么文件?用途是什么?我怎样才能得到它为我的device ?

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 ?

推荐答案

的boot.img包含内核和ramdisk,需要加载该设备的文件系统可以安装前的重要文件。你必须使用生成自己mkbootimg的boot.img文件,由AOSP提供的一个工具。

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.

所有你需要的信息可在这 XDA开发线程。

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

这的谷歌讨论话题也可能是有用的。

This google discussion thread may also be useful