kernel-hook-framework icon indicating copy to clipboard operation
kernel-hook-framework copied to clipboard

[Question] How do you do android kernel hacking?

Open liutgnu opened this issue 9 months ago • 0 comments

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.

liutgnu avatar Apr 23 '25 21:04 liutgnu