redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

replace android kernel

Open upcsyq opened this issue 2 years ago • 3 comments

if i want to replace android kernel, i need to download 5.15? but i find android12 has not kernel 5.15. android13 has kernel 5.15,i can use this kernel?

upcsyq avatar Nov 20 '23 09:11 upcsyq

Redroid runs on the same generic Linux Kernel as your host OS (container solution, right?). Thus the Android common kernel is not required here.

zhouziyang avatar Nov 20 '23 11:11 zhouziyang

Redroid runs on the same generic Linux Kernel as your host OS (container solution, right?). Thus the Android common kernel is not required here.

I build linux kernel(5.15.139) and replace the old vesion(5.15.0-88), after this,i can not run android os,some erros like this:

E: Unable to locate package linux-modules-extra-5.15.139 E: Couldn't find any package by glob 'linux-modules-extra-5.15.139' modprobe: FATAL: Module binder_linux not found in directory /lib/modules/5.15.139 modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.15.139

i don't know how to solve it?

upcsyq avatar Nov 23 '23 02:11 upcsyq

Should enable binderfs in your kernel, and extra modules package is not required here (no such package actually). FYI: https://github.com/remote-android/redroid-doc/blob/master/deploy/centos.md

zhouziyang avatar Nov 23 '23 13:11 zhouziyang