【问题标题】:How to test my custom kernel without breaking my phone? [closed]如何在不损坏手机的情况下测试我的自定义内核? [关闭]
【发布时间】:2014-10-25 02:07:45
【问题描述】:

我目前正在构建我的第一个内核版本...

我害怕在我的手机上闪烁它,因为它可能会坏

在刷入内核之前如何测试内核是否工作?

我有一个一加一。

【问题讨论】:

    标签: android linux testing kernel


    【解决方案1】:

    您需要先解锁引导加载程序,然后您可以使用 fastboot 工具引导您的内核而不是安装的内核,请按照以下步骤操作

    1) Install full Android SDK from http://developer.android.com/sdk/index.html#download
    2)fastboot oem unlock //unlock bootloader to boot custom kernel
    3)fastboot reboot
    4)fastboot boot linux/arch/arm/boot/zImage ramdisk //boot custom kernel with ramdisk
    

    详细说明参考this线程

    【讨论】:

      猜你喜欢
      • 2014-12-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-27
      • 1970-01-01
      • 2011-01-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多