I am trying to install Android on a Lenovo Yoga 9i with an i7 10th
generation processor which dual boots Win 11 and Kubuntu 22.04. I first tried the Android 7.1, 8.1 and 9.0 releases but could not get past a black screen whichever of the advanced options I selected. By implication , a later kernel was needed and I have
been able to install PrimeOS, Android-x86 and BlissOS to the kubuntu
root using the following isos – PrimeOS-2.1.3-64-bit-20220719-BETA.iso
-- android_x86_64-a12.1_r1-03.16.22-01-mesa22-ksu-gapps-libndk-sd.iso
and
BlissOS-14.3-x86_64-202106261907_k-android12-5.10.46-ax86_m-21.1.3_r-x86_emugapps_cros-hd.iso
manually for linux where I copy the kernel, initrd and system files to
the appropriate folder. I create a data folder rather than a data.img
file as this is marginally more flexible for my use. I use the following
40_custom grub file to allow me to start the different OS.
menuentry "BlissOS" { set SOURCE_NAME="dev/nvme0n1p8/blissos" search --set=root --file /$SOURCE_NAME/kernel
linux /$SOURCE_NAME/kernel quiet root=/dev/ram0
androidboot.hardware=android_x86_64 androidboot.selinux=permissive set
gfxpayload=keep nouveau.modeset=0 i1017.modeset=1
acpi_sleep=s3_bios,s3_mode SDCARD=dev/nvme0n1p6 SRC=/$SOURCE_NAME
initrd /$SOURCE_NAME/initrd.img} This fails with the non-root partition.
menuentry "Primeos" { set SOURCE_NAME="primeos" search --set=root --file /$SOURCE_NAME/kernel
linux /$SOURCE_NAME/kernel quiet root=/dev/ram0
androidboot.hardware=android_x86_64 SDCARD=dev/nvme0n1p6
androidboot.selinux=permissive set gfxpayload=keep nouveau.modeset=0
i1017.modeset=1 acpi_sleep=s3_bios,s3_mode SRC=/$SOURCE_NAME
initrd /$SOURCE_NAME/initrd.img}
menuentry "Android" { set SOURCE_NAME="android-x86" search --set=root --file /$SOURCE_NAME/kernel
linux /$SOURCE_NAME/kernel quiet root=/dev/ram0
androidboot.hardware=android_x86_64 androidboot.selinux=permissive
SDCARD=dev/nvme0n1p6 set gfxpayload=keep nouveau.modeset=0
i1017.modeset=1 acpi_sleep=s3_bios,s3_mode SRC=/$SOURCE_NAME
initrd /$SOURCE_NAME/initrd.img}
I have three issues common to all three Oss which I have cannot solve.
1. I am unable to permanently set a lockscreen password or pin. I can
enter a password or pin but the system immediately reverts to none
saved. PrimeOS warns that SElinux is not operating fully.
2. Unlike with earlier versions of Android-x86 (successfully installed on a Sony Vaio
touchscreen and a lenovo yoga 3-11) I am unable to set an NTFS data partition
as the external SD card. I have tried to find advice as to how I should
adapt SDCARD=dev/nvme0n1p6 as it does not work. Strangely
PrimeOS mounts the Windows partition unasked which I do not want to happen.
3. Finally, I would like to run the BlissOS from a separate partition
but it fails to find the partition with the kernel using the above grub entry. I have also tried using
the following UUID but unsuccessfully.
/dev/nvme0n1p8: LABEL="blissos"
UUID="69d92f25-8e97-46b8-b0d4-675106fafc60" BLOCK_SIZE="4096"
TYPE="ext4" PARTLABEL="blissos" PARTU
UID="72a75f11-668e-bb48-8c14-6dce6e9ed391"
I have a minor problem with the Android-x86 iso in that it loads an
initial screen with bright white lines in the lower part of the screen
although I can get past this.