SoulInfernoDE / compile-kernel-from-source

Script to be able to automate compiling procedures. Eg. if you need to add .config options to your kernel sources like android (ASHMEM, BINDER, etc.)
MIT License
8 stars 4 forks source link

Significant improvements needed #1

Open sja45uk opened 2 years ago

sja45uk commented 2 years ago

When I finally got the correct build script to run, it appears to have functioned perfectly, but the documentation and instructions were confusing and need significant improvements in order to make the process user friendly.There is obviously an overwhelming amount of processing needed to rebuild the Linux kernel 5.15 binaries for Ubuntu 22.04. Also, it all needs to be done again if I decide to experiment with installing a Linux kernel 6.x binary. However the attached image demonstrates that it is possible to use the cfs_noguimerge.sh command from the user prompt to run the script in ~/.scripts/. The real test (to come) will be to see if I can get Anbox to run Android apps without session-manager errors caused by the Ashmem and Binder kernel modules not being components of the default Ubuntu kernel.

image

SoulInfernoDE commented 1 year ago

I modified the script already to reflect some changes done in the newer kernels. (Still trying to backpatch the Ashmem to the kernel but in case it's not working i also added the old ashmem as a module again and a patch by Chris -thanx Chris- ) Im not sure if it is working in the latest kernel versions due to low time to test anything out. Building anbox also from source is another heavy job i cannot test. So i recommend to try your newly kernel with anbox from the snap first to see if the modules are working for you. If yes and you want to go on with the source version of anbox then go for it and compare if you get any errors. So what we already followed is that some kind of android image / container manager is missing in the source code version of anbox.. (Errors during start points to that)