[Oct 09] Stock Android 7.1.2 (20180921) - RockPro64 | [Sept 25] KDE Neon (20180917) - Pinebook / Slackware Aarch64 Miniroot (20180901) - ROCK64 | [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

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
  Boot Android from USB? Max_H 2 106 10-13-2018, 02:10 AM
Last Post: Max_H
  Stock Android Oreo 8.1 release tllim 41 7,963 10-12-2018, 03:17 PM
Last Post: tllim
  Bluetooth CSR8510 not working with Rock64 Android 7.1 efreeze 12 1,508 10-08-2018, 05:04 AM
Last Post: Trash_Can_Man
  Android Oreo 8.1 source code shinymetal 5 597 09-10-2018, 03:47 AM
Last Post: shinymetal
  Android Images (ROCK64) pineadmin 53 22,647 09-07-2018, 01:07 PM
Last Post: fender90
Question Regular Android build for Rock64? fender90 10 655 09-05-2018, 05:01 AM
Last Post: fender90
  Flashing H96 Max firmware with Ayufan's kernel fender90 6 324 08-27-2018, 07:41 AM
Last Post: fender90
  Which Android version supports Google Play? AkiraSensei 4 332 08-17-2018, 11:25 AM
Last Post: AkiraSensei
Wink Best Android OS - for KODI soerenderfor 2 463 07-30-2018, 07:31 AM
Last Post: soerenderfor
  wiki Android TV 7.1 file error ycllwl 3 242 07-18-2018, 07:56 AM
Last Post: ycllwl

Forum Jump:


Users browsing this thread: 1 Guest(s)