Skip to content

[Question] How do you do android kernel hacking? #13

Open
@liutgnu

Description

@liutgnu

When maintaining this project, I noticed there are plenty of users who using this framework on their Android devices, and not surprised, kernel crash issues will occure. Frankly this gives me headache due to:

I'm not an Android developer, I don't know how Android developers do kernel hacking; What platforms do they do kernel hacking, bare metal, qemu, android emulator? If bare metal, how to debug when kernel hangs, serial ports via development boards, ramdump?

To illustrate, I do desktop kernel hacking via 1) hardware: QEMU / serial ports via pc bare metal; 2) software: kdump for capture/analyze kernel crash. So what I'm looking for, is something equivalent in the Android world.

a. Is there a handy arm64 android emulator?
b. Is there a handy arm64 development boards? How to ramdump on it?
c. How to compile only android kernel and install it onto emulator/boards and boot it up?

Any info is appreciated, so I can make this project better for Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions