Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 2.33 KB

debug-booting.md

File metadata and controls

53 lines (33 loc) · 2.33 KB

Debug Booting

There are a few ways to debug booting and we will run through a few of them here.

First is to hit "e" when the grub selection screen shows up, and try and boot by removing the "quiet" from your grub entry.

The second option would be to boot in debug mode by adding DEBUG=1 or DEBUG=2 , both represent a lower level of logging. See Example below:

menuentry 'Bliss-x86' --class android {
    search --file --no-floppy --set=root /AndroidOS/system.sfs
    linux /AndroidOS/kernel root=/dev/ram0 SRC=/AndroidOS androidboot.selinux=permissive androidboot.hardware=android_x86_64 quiet DATA= DEBUG=2
    initrd /AndroidOS/initrd.img
}

You will need to enter "exit" once or twice when using debug mode to procede to the following steps of the boot process.

If the animation never starts, add "nomodeset" to the grub command to force software rendering and hardware compatibility mode. See Example below:

menuentry 'Bliss-x86' --class android {
    search --file --no-floppy --set=root /AndroidOS/system.sfs
    linux /AndroidOS/kernel root=/dev/ram0 SRC=/AndroidOS androidboot.selinux=permissive androidboot.hardware=android_x86_64 quiet DATA= DEBUG=2 nomodeset
    initrd /AndroidOS/initrd.img
}

Once you are able to get things to boot, use the alt-f1 /f7 console or the local Terminal app and the Logcat command to log things,
su logcat > sdcard/log_name.txt

When done, copy and paste the entire log either to Hastebin or Pastebin

If init starts, but never boots to installer:

This typically happens on newer CPU's and requires you to install ising either our Windows based installer:

Android-x86 Installer for Windows

or using a Linux based installer:

Android-x86 installer for Linux

If you are trying to install within VMWare or VirtualBox, we don't suggest doing so as it will not be hardware accellerated. Please use QEMU based emulator,like:

qemu-windows

For more advanced debugging information:

Please follow the advanced debugging procedures found on Android-x86 documentation https://www.android-x86.org/documentation/debug.html