Installing Custom Kernel on Nexus 5
-
Hello All,
First and foremost, I am following this guide: https://docs.ubuntu.com/phone/en/devices/porting-new-device
I have managed to build and install Ubuntu Touch on my Nexus 5. I would like to compile a custom kernel but I am running into some issues.
First, I cloned the source tree from here: https://github.com/ubports/android_kernel_lge_hammerhead
Then I placed the source in the kernel/lge/hammerhead directory
Next I modified the device/lge/hammerhead/BoardConfig.mk to build using the cyanogenmod_hammerhead_defconfig configuration as a test run.
Now, onto the problems...
The first problem that I had was that the kernel was not getting the device tree appended to it, I was able to copy the original tree from my working boot.img and that bypassed my "dtb not found errors"
Now when I try to run my new image, by running:
fastboot boot my-img.img
I simply hang at the google logo. I've not made any modifications to the kernel source or configuration yet there is still something that I am missing.
Does anyone have any suggestions or ideas? I'd really like to start on some kernel development and I'm not terribly familiar with the Android ecosystem.
Thanks!
-
I managed to get my own kernel compiled, the issue was that I did not have a console argument specified that I needed (I founded it on another post here)
console=tty0
Needed to be added to my kernel command line args.
Hope this is useful to someone in the future!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login