1

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

  1. What solution exist for this?
  2. How to show kernel messages on smartphone display when android device start (without boot animation)?
  3. How to show kernel messages if kernel panic happened and device won't boot?
  4. Display, uart, file on TF card, network?
  5. How to debug and see?
  6. need some special configuration in .config?

I found similar question:

  1. 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 ...
Community
  • 1
  • 1
452
  • 396
  • 4
  • 9
  • 24
  • I'm voting to close this question as off-topic because it belongs to [Android StackExchange](http://android.stackexchange.com). – t0mm13b May 09 '17 at 18:23
  • 1
    It belongs in Stack Overflow. The Android Enthusiast community has people who do not program. – AppWriter May 09 '17 at 18:25
  • @t0mm13b comunity the same what in stackoverflow and android.stackexchange ? maybe be better to remove tag android from stackoverflow? or move all with this tag to android.stackexchange? I'm new in this and not know what is better..., please sorry me for question on stackoverflow – 452 May 09 '17 at 18:30

0 Answers0