Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Add support for Cyanogenmod #227

Merged
merged 2 commits into from
Sep 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions mbusb.d/android.d/generic.cfg
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
for isofile in $isopath/android-*.iso; do
for isofile in $isopath/android-*.iso $isopath/cm-*.iso; do
if [ -e "$isofile" ]; then
regexp --set=isoname "$isopath/(.*)" "$isofile"
submenu "$isoname ->" "$isofile" {
iso_path="$2"
loopback loop "$iso_path"
menuentry "Android-x86 Live" {
menuentry "Live CD - Run without installation" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive quiet"
linux (loop)/kernel $bootoptions
initrd (loop)/initrd.img
}
menuentry "Android-x86 DEBUG" {
menuentry "Live CD - Debug mode" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive DEBUG=2"
linux (loop)/kernel $bootoptions
initrd (loop)/initrd.img
}
menuentry "Android-x86 Installation" {
menuentry "Installation - Install to harddisk" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive INSTALL=1"
linux (loop)/kernel $bootoptions
initrd (loop)/initrd.img
}
menuentry "Live CD VESA mode - No GPU hardware acceleration" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive nomodeset vga=ask"
linux16 (loop)/kernel $bootoptions
initrd16 (loop)/initrd.img
}
menuentry "Auto_Installation - Auto Install to specified harddisk" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive AUTO_INSTALL=0"
linux (loop)/kernel $bootoptions
initrd (loop)/initrd.img
}
menuentry "Auto_Update - Auto update" {
bootoptions="iso-scan/filename=$iso_path androidboot.selinux=permissive AUTO_INSTALL=update"
linux (loop)/kernel $bootoptions
initrd (loop)/initrd.img
}
}
fi
done