[Jan 14] KDE Neon (20190113-1500) - Pinebook1080P / Pinebook |[Jan 14] Q4OS (2.7-r1) - Pinebook1080P / Pinebook | [Dec 07] DietPi(v6.18) - Pinebook / Manjaro KDE (preview3) / Manjaro LXQT (preview3) - Pinebook |[Dec 06] Armbian Debian Stretch (5.67) / Armbian Ubuntu 18.04 Bionic Desktop (5.67) - RockPro64 |[Dec 05] DietPi(v6.18) - 1080P Pinebook

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Compiling android kernel
#1
Hey guys!
 
I need to change a few lines of code in the android kernel. I'm using this build but can't seem to find the kernel sources used to compile it. I tried to compile these sources up to the 3.10.104 merge tag but I get a lot of compilation errors. What gcc version should I be using? And once I compile the kernel how do I flash it to the rock64? Do I just use the compiled Image file as the kernel.img in AndroidTool or do I have to package it somehow?

Thanks!
Reply
#2
(06-12-2018, 04:38 AM)ddaarrius Wrote: Hey guys!
 
I need to change a few lines of code in the android kernel. I'm using this build but can't seem to find the kernel sources used to compile it. I tried to compile these sources up to the 3.10.104 merge tag but I get a lot of compilation errors. What gcc version should I be using? And once I compile the kernel how do I flash it to the rock64? Do I just use the compiled Image file as the kernel.img in AndroidTool or do I have to package it somehow?

Thanks!

ayufan is the best one to answer most of your questions. All I can say is that the build is done inside this docker container as instructed by this Jenkinsfile. Hopefully perusing those two files will give you an idea as to what is going on.
Reply
#3
Thank you very much, this seems to be exactly what I need, I'll try it out soon.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android 9 for Rock64? Blinky 1 107 01-19-2019, 10:46 AM
Last Post: fender90
  Android Images (ROCK64) pineadmin 54 25,297 01-18-2019, 03:23 AM
Last Post: mranderson
  problems getting android on rock64 mranderson 0 103 01-15-2019, 03:03 AM
Last Post: mranderson
  Android Oreo 8.1 source code shinymetal 7 1,052 12-31-2018, 08:02 AM
Last Post: Dasone77
  Bluetooth CSR8510 not working with Rock64 Android 7.1 efreeze 13 2,030 12-29-2018, 06:37 AM
Last Post: AlexS
  android impression pas059 1 150 12-26-2018, 11:00 AM
Last Post: fender90
  Rock64 Android + Bluetooth BLE hobsii 3 1,188 12-12-2018, 06:08 AM
Last Post: krystian
Question Regular Android build for Rock64? fender90 17 1,530 12-01-2018, 12:48 PM
Last Post: fender90
Photo how to build Stock Android Oreo 8.1 from source code for rock64? frankwz 0 219 11-26-2018, 03:35 AM
Last Post: frankwz
  Stock Android Oreo 8.1 release tllim 47 13,059 11-25-2018, 09:34 AM
Last Post: lumix14

Forum Jump:


Users browsing this thread: 1 Guest(s)