Open b-aragu opened 1 year ago
Hey, thank you for your kind words. Appreciated.
If you want to compile a Ubuntu / Debian kernel from source of www.kernel.org then this will simplify the steps in one script.
If you need kernel v6 and it's not available for your distro then you can compile it for yourself.
Also the Ashmem and Binder module which is needed by some Android software is most likely not included (active) in official kernels. With this script it adds those modules to your new kernel while you compile it from source.
The thing is: The anbox-modules are likely to fail to install because they most likely cannot be build with newer kernel versions anymore. This is due to a security decision made from the kernel maintainers. The modules try to call external kernel functions to communicate with the kernel which are not present any more. Therefore your option to get both modules active is only to recompile the kernel from source with the modules added into the kernel instead of a external module. The second option is to dirty patch back those missing functions to newer kernels which opens up the security concerns again. The user Choff did create such a patchset I think.
But if you ask me I would always try it the official way that is meant to be from the kernel team. Could be the hard way to work around but in terms of security I personally choose that way. :smile:
I didn't update them in a while so if some errors happen feel free to report them here if you may want to try it.
Hi though I didnt manage to install that kernel, I have a problem, my laptop supports touch screen and after I tried this , now the touch screen does not respond also if I try running npm in the terminal it cant be recognised yet I have npm installed, can this be a reason of interfering with the kernel? If so how can I revert it back, I will greatly appreciate you help thanks in advance
Hard to say without further information of your current situation.
Which Linux are you running actually and which kernel version is in use?
lsb_release -a && uname -a
If you are using Ubuntu based system does apt install command throws an error when you try to install something?
@b-aragu do you still need help for this. I can try to assist you as far as my knowledge goes yet :smile:
Hi , I didnt figure it out yet but I can still use your help as my mentor 🙏, I wanna have a successful tech journey but am still a beginner in a dilemma on which path to take, am currently a first year student taking computer science and for real consistency is becoming hard, can you be my mentor please I can use your help as my model
You can ask me here if you need help. I will try to help as far as my knowledge goes :+1:
How long do you use linux already?
About 8 months now, I know all of the basic commands and have little knowledge on bash scripting
Nice :smiley:
So can you show me the output of:
lsb_release -a && uname -a
looks kind of like this:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 23.04
Release:
23.04
Codename:
Lunar
Linux baragu254 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48 :48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Alright, you have Ubuntu 23.04 and kernel 6.2 running :+1:
So for me i am using Ubuntu 22.04 base and kernel 6.3 :smile:
Im not sure that your touchscreen problem is related to the kernel script but lets check more details to maybe get there:
check the output of lsusb
is there anything related to a touchscreen or touchscreen manufacturer ?
Also check this command to see wheter you are using a wayland or x11 session:
loginctl show-session `loginctl|grep $USER |awk '{print $1}'` -p Type
or echo $XDG_SESSION_TYPE
Hello I have this error am facing 😪, I left my laptop for some few minutes and so it locked itself and when I came back passed my credentials but I got an error "authenticator failed", I thought maybe a reboot can fix this but now I just get a page with logs
What can be the issue
Sorry the other image wasnt visible well I dont have a very good camera device
Hey I managed to fix it following this authenticator error fixing thank you
I do use x-org how can I upgrade to your kernel 🌝
I think the touchscreen error is hardware related
oh hardware related would be sad, if you want to install the latest kernel from kernel.org you can try my script cfs_noguimerge.sh
Do you know how to execute or read script files already? Feel free to ask if you need to 😀
I just know about chmod lol hope it works
Ah nice, to make your own kernel from source files you can try this command:
rm cfs_noguimerge.sh*; sudo rm -f ~/Downloads/linux-*.deb ~/Downloads/linux-*.buildinfo ~/Downloads/linux-*.changes ~/Downloads/ashmemk6.tar.xz*; sudo rm -R -f ~/Downloads/kernel/ ~/Downloads/anboxashmem/; wget https://raw.githubusercontent.com/SoulInfernoDE/compile-kernel-from-source/v6.x/nogui/cfs_noguimerge.sh && chmod +x cfs_noguimerge.sh && ./cfs_noguimerge.sh
And while you do that go to www.kernel.org. You will see a button like this:
That is the newest kernel available from source. Remember the version number you have seen and enter it into the terminal when asked.
CAUTION: You need 20 to 30gb of disk space and it depends on your cpu speed how fast the .deb-file building will be.
The script will try to install dependencies to build the kernel and then start the build process when you say yes when asked. It also tries to add ASHMEM as patched module and BINDER not as module but directly inside your kernel.
Post any success, error or help needed if you like :smiley:
was trying to install waydroid and I had to install anbox-modules for that to happen but I keep on getting errors that made me come to your work while researching how to fix it but I just cant figure out what the hell is being done, good work though seems somehow a complex thing for a newbie like me in tech