Skip to content

It is used to multiboot all kinds of Android-x86, which can set Kernel Command Line Parameters. Maybe it supports secure boot.

Notifications You must be signed in to change notification settings

M-L-P/grub2-androidx86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grub2-brunch grub2-fyde grub2-androidx86

GitHub release (latest by date) GitHub all releases GitHub Actions Workflow Status GitHub Discussions GitHub Repo stars

English 简体中文 繁體中文 ...

grub2-androidx86

It is used to multiboot all kinds of Android-x86, which can set Kernel Command Line Parameters and support secure boot.
Decoupling some functions into Grub2's app.
The origin of its file suffix: [Grub2 app package] => [gapk] => [jpk]

Feature

  • Using patched grub of a1ive, it totally supports secure boot,
    • It can load any unsigned kernel, so that Androidx86 can be booted with Secure Boot enabled, not disabled anymore;
  • Mouse and PS/2 trackpad;
  • Multiple languages;
  • Support buzzer;
  • Set kernel commands for graphical interface settings;
  • Read hardware information;
  • The Easter egg hidden in the version number;

Global keys

Key Function
[↑] [↓] Navigation;
[Enter] Enter the selected entry;
[ESC] Returns to the previous menu list; (Exit from the main menu)
[F5] Refresh and re-enter grub2;
[F10] Screenshot;

Mouse mapping

Operation Function
Slide up [↑]
Down [↓]
Left click [Enter]
Right click [ESC]

File Tree



💻️Preview👀

🖱️Click to Unfold to see🖱️

1024x768

1366x768

🧭Guide⬇️

Download

🖱️Click to Unfold to see🖱️

Copy into ESP

Copy EFI files

  • Copy the folder zip: /EFI/androidx86 into ESP: /EFI;

Copy kernel & initrd.img

🖱️Click to Unfold to see🖱️
  • Mount the .iso file;
  • Copy the files iso: /kernel and iso: /initrd.img,
    • and paste into ESP: /EFI/androidx86/boot;

Scenario 1: iso file has been booted with Androidx86 installed

🖱️Click to Unfold to see🖱️

Enter the grub settings interface

  • Set SRC path;
  • Set DATA;

Scenario 2: I don't want to boot iso file, I want to manually copy files

🖱️Click to Unfold to see🖱️

Create ext4|f2fs

🖱️Click to Unfold to see🖱️
  • Use Gnome-Disk or Gparted to create a partition for installation, ≥ 8GB;

Common partition size conversions

Physical Storage Character Logical Storage
8 GB 7,630 MiB
16 GB 15,258 MiB
32 GB 30,518 MiB
64 GB 61,036 MiB
128 GB 122,070 MiB
256 GB 244,140 MiB
512 GB 488,282 MiB
1 TB 976,562 MiB
    • format it as ext4 for HDD;
    • format it as f2fs for SSD;
      • sudo {package manager} install f2fs-tools in order to support f2fs.

Copy system

🖱️Click to Unfold to see🖱️
  • Mount the .iso file;
If you want smaller size and Read-Only,
🖱️Click to Unfold to see🖱️
  • Copy the virtual partition iso: /system.sfs or iso: /system.efs,
    • and paste into ext4|f2fs: /Android-x86 for AOSP;
    • and paste into into ext4|f2fs: /BlissOS for BlissOS;
If you want it writable,
🖱️Click to Unfold to see🖱️
  • Mount iso: /system.sfs or iso: /system.efs and find system.img in it,
      • sudo {package manager} install erofs-utils in order to support erofs,
  • Copy the virtual partition system.img,
    • and paste into ext4|f2fs: /Android-x86 for AOSP;
    • and paste into ext4|f2fs: /BlissOS for BlissOS;

📝FAQ❓️

Secure Boot

  • You should use Yours-UEFI (with patch) to load grub2-fyde.efi (unsigned).

Cannot boot

  • You should cover kernel, initrd.imgand system by your hands once you get a newer .iso file.

⭐Star🌟

If you like it and are looking forward to the coming update, you can star it.💫
Tell your friends that you have got a good stuff.

🎉Credit🎊

  • The function of reading hardware information is borrowed from grub2-filemanager of a1ive;
  • Wallpapers are searched by using Google;
  • The leftover materials of the noti are drawn with reference to the graphical interface of Pixel;
  • The leftover materials of the window are drawn with reference to the graphical interface of BlissOS;
  • Terminal box is adapted from the graphical interface of Termux;
  • Many things about Kernel Command Line Parameters are copied from BlissOS Docs;
  • Grub tune is copied from grub-tune-tester of BreadMaker;
  • initrd-magisk and Magisk Delta of shìwēi nguyen;
  • The .gif cartoon is taken by using Hyper-V and Screen2Gif;
  • ...