[Aug 6] Debian Stretch Minimal 64bit (0.7.8) / Ubuntu 18.04 Bionic LXDE Desktop Image (0.7.8) / Ubuntu 18.04 Bionic minimal 64bit / 32bit Image (0.7.8) / Ubuntu 18.04 Bionic Containers Image (0.7.8) / Stretch OpenMediaVault OS Image armhf / Stretch OpenMediaVault OS Image arm64 ( 0.7.8) - ROCK64 | [June 25] Stock Android 8.1 - ROCK64 | [June 19] Armbian (5.42) - ROCK64 | [June 19] Armbian (5.38) - PINE A64(+) / PINE A64-LTS / SOPINE

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 Oreo 8.1 source code shinymetal 5 533 09-10-2018, 03:47 AM
Last Post: shinymetal
  Android Images (ROCK64) pineadmin 53 21,671 09-07-2018, 01:07 PM
Last Post: fender90
Question Regular Android build for Rock64? fender90 10 531 09-05-2018, 05:01 AM
Last Post: fender90
  Stock Android Oreo 8.1 release tllim 38 6,913 08-31-2018, 09:05 AM
Last Post: Luke
  Flashing H96 Max firmware with Ayufan's kernel fender90 6 257 08-27-2018, 07:41 AM
Last Post: fender90
  Which Android version supports Google Play? AkiraSensei 4 268 08-17-2018, 11:25 AM
Last Post: AkiraSensei
Wink Best Android OS - for KODI soerenderfor 2 366 07-30-2018, 07:31 AM
Last Post: soerenderfor
  wiki Android TV 7.1 file error ycllwl 3 225 07-18-2018, 07:56 AM
Last Post: ycllwl
  Bluetooth CSR8510 not working with Rock64 Android 7.1 efreeze 8 1,150 07-10-2018, 03:21 PM
Last Post: Poincare
  Installing Android on SD Card Phingum 8 741 06-25-2018, 02:47 AM
Last Post: pfeerick

Forum Jump:


Users browsing this thread: 1 Guest(s)