- Compatible With
- for use in Android 11 distros
Kernel 5.18 compiled with zram, esdfs, and ntfs3.
Intended for Android 11/12 x86 distros.
If you have gearlock installed, just install this .gxp from gearlock > Install/Uninstall [GXPM]
https://drive.google.com/file/d/1IELODs9DDZnhzsr7g9_5GDS4bF42IHP8/view?usp=sharing
Without gearlock (complicated)
Make sure you have system.sfs extracted to system.img - extract .sfs with 7-zip zstd and delete .sfs
From android
1 - Download the .zip (download button above right corner) and place in internal storage or /sdcard and rename to kernel-5.18.zip
2 - Reboot to debug mode - press e while in grub and add DEBUG=2 to kernel cmdline (the line that starts with linux)
3 - Run commands:
Troubleshooting - If you get
Notes:
- zram also requires initialization in userspace
- A separate kernel boot image named kernel-su - includes kernel superuser module from WSA-community. Can be useful to root some Android x86 distros that are not rooted, such as Prime OS 2.1.3 or Bliss OS 14.10.
- kernelSU can be used in combination with gearlock (even on android 11/12).
- When running gearlock use command
- In case some apps dont detect root with kernelSU, create a file /system/xbin/su with following contents:
Intended for Android 11/12 x86 distros.
- CONFIG_ZRAM=y and default compression algorithm set to zstd.
- Added rtl8821ce driver from tomaspinho repo
If you have gearlock installed, just install this .gxp from gearlock > Install/Uninstall [GXPM]
https://drive.google.com/file/d/1IELODs9DDZnhzsr7g9_5GDS4bF42IHP8/view?usp=sharing
Without gearlock (complicated)
Make sure you have system.sfs extracted to system.img - extract .sfs with 7-zip zstd and delete .sfs
From android
1 - Download the .zip (download button above right corner) and place in internal storage or /sdcard and rename to kernel-5.18.zip
2 - Reboot to debug mode - press e while in grub and add DEBUG=2 to kernel cmdline (the line that starts with linux)
3 - Run commands:
exit
cd /tmp; unzip /android/data/media/0/kernel-5.18.zip
mount -o remount,rw /android
cp -r ./lib /android/system/
cp ./kernel-su /src/kernel
sync && reboot -f
Troubleshooting - If you get
no space left on device
error then delete old kernel modules first:rm -r /android/system/lib/modules/*
Notes:
- zram also requires initialization in userspace
Code:
echo 4G > /sys/block/zram0/disksize
mkswap -L zram0 /dev/block/zram0
swapon -p 100 /dev/block/zram0
- A separate kernel boot image named kernel-su - includes kernel superuser module from WSA-community. Can be useful to root some Android x86 distros that are not rooted, such as Prime OS 2.1.3 or Bliss OS 14.10.
- kernelSU can be used in combination with gearlock (even on android 11/12).
- When running gearlock use command
/system/bin/sh /gearlock/bin/g
for kernelSU or workaround below- In case some apps dont detect root with kernelSU, create a file /system/xbin/su with following contents:
Code:
#!/system/bin/sh
exec /system/bin/su "$@"