How can I debug Android Linux kernel init messages (printk) from real Android smartphone or tablet device?
I have compiled mt6582 kernel for smartphone, after flashing I can not see what is Linux kernel messages on boot initialization (I have kernel panic and want to see kmsg logs)
I have Lenovo S930 smartphone with ARM mt6582 CPU and trying to use this device for hobby like mini PC with Linux OS with Android. I'm interesting to build Linux kernel from sources. This is done. But I have no understand how to get kernel messages before system start
- What solution exist for this?
- How to show kernel messages on smartphone display when android device start (without boot animation)?
- How to show kernel messages if kernel panic happened and device won't boot?
- Display, uart, file on TF card, network?
- How to debug and see?
- need some special configuration in .config?
I found similar question:
- Android: How to get kernel logs after kernel panic? But I can't boot to android because kernel what I compile not work and I don't know why and want to see kmsg logs ...