Discussion:
[android-kernel] Kernel bootloop - How to debug it ?
Mohamed saad
2016-10-29 07:59:49 UTC
Permalink
Hi all
I am kind of a new android developer. I am trying to compile kernel from
its source to do some tweaks on it.
My device is note 3 neo dual sim variant. I downloaded source code from
Samsung's open source website.
Here is the source code on github
<https://github.com/mylove90/android_kernel_msm8226>
I followed Samsung Kernel readme-howto to compile the kernel
used arm-eabi-gcc 4.6 toolchain as it was suggested by Samsung
faced an error and eleminated it here
<https://github.com/mylove90/android_kernel_msm8226/commit/4616232d16c180e7393c27998e0fbad49e5e7a3d>
faced a warning and eleminated it here
<https://github.com/mylove90/android_kernel_msm8226/commit/b47130c9f70d203e3db4c527014971d109d5fabb>

then all went fine...it compiles
I use mkboot tools to decompress original boot.img
rename my zImage in kernel and replace the original one with it
use dtb tool to make dt.img and replace original dt.img with it
re-compress boot.img and make a tar.md5 of it and flash it with odin
and it doesn't work....all i get is a bootloop after Samsung's boot
animation
Any idea what is wrong with it ????

Thanks in Advance
Best Regards
--
--
unsubscribe: android-kernel+***@googlegroups.com
website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
vineet jain
2017-06-01 11:39:23 UTC
Permalink
Did you extract deconfig file from your android by ikconfig ?
Post by Mohamed saad
Hi all
I am kind of a new android developer. I am trying to compile kernel from
its source to do some tweaks on it.
My device is note 3 neo dual sim variant. I downloaded source code from
Samsung's open source website.
Here is the source code on github
<https://github.com/mylove90/android_kernel_msm8226>
I followed Samsung Kernel readme-howto to compile the kernel
used arm-eabi-gcc 4.6 toolchain as it was suggested by Samsung
faced an error and eleminated it here
<https://github.com/mylove90/android_kernel_msm8226/commit/4616232d16c180e7393c27998e0fbad49e5e7a3d>
faced a warning and eleminated it here
<https://github.com/mylove90/android_kernel_msm8226/commit/b47130c9f70d203e3db4c527014971d109d5fabb>
then all went fine...it compiles
I use mkboot tools to decompress original boot.img
rename my zImage in kernel and replace the original one with it
use dtb tool to make dt.img and replace original dt.img with it
re-compress boot.img and make a tar.md5 of it and flash it with odin
and it doesn't work....all i get is a bootloop after Samsung's boot
animation
Any idea what is wrong with it ????
Thanks in Advance
Best Regards
--
--
unsubscribe: android-kernel+***@googlegroups.com
website: http://groups.google.com/group/android-kernel
---
You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...