Skip to content

Instantly share code, notes, and snippets.

@giuliocorradini
Created April 10, 2021 21:00
Show Gist options
  • Select an option

  • Save giuliocorradini/2f6be2fa29f4b89c80eb156b4ac8683f to your computer and use it in GitHub Desktop.

Select an option

Save giuliocorradini/2f6be2fa29f4b89c80eb156b4ac8683f to your computer and use it in GitHub Desktop.
grub.d config file for Android TV boot menuentry, without VIRT_WIFI support
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Android TV" {
set root=(hd0,4)
linux /android-2020-03-30/kernel root=/dev/ram0 verbose androidboot.selinux=permissive CONFIG_VIRT_WIFI=n vmalloc=256M
initrd /android-2020-03-30/initrd.img
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment