Bliss OS Kernel Parameters & GRUB Command Line Tuning Guide
Overview & Architecture
Master list of kernel boot parameters for Bliss OS to fix display rotation, suspend/resume, audio routing, graphics hardware composer (HWC), and debugging consoles.
Bliss OS is an open-source, Android-x86 based operating system built specifically for personal computers, laptops, tablets, and virtual machines. Unlike standard Android emulators running on top of Windows or macOS, Bliss OS runs directly on x86 hardware or bare-metal hypervisors, delivering near-native CPU and GPU execution speeds.
Prerequisites & Hardware Checklist
- Access to GRUB bootloader menu or root access to /android/grub.cfg
Step-by-Step Implementation
-
Step 1: Interrupt Boot to Edit GRUB Command Line
At the GRUB boot menu, highlight your Bliss OS entry and press “e” to edit the kernel command parameters.
-
Step 2: Configure Hardware Compositor and Gralloc
Add HWC=drm_minigbm_celadon or HWC=drmfb, and GRALLOC=minigbm or GRALLOC=gbm to resolve blank screen or tearing issues.
-
Step 3: Adjust Screen Rotation and Sleep Modes
Use fbcon=rotate:1 for 90-degree rotated tablet screens and mem_sleep_default=shallow acpi_sleep=s3_mode to fix laptop sleep issues.
-
Step 4: Save Custom Parameters to GRUB Config
Once booted, edit /boot/grub/grub.cfg or use Gearlock to permanently save your custom kernel arguments.
Technical Recommendations & Best Practices
- Partition Integrity: Always back up existing disk data and EFI boot configurations before repartitioning internal storage drives.
- CPU Requirements: Modern builds target x86_64-v2 microarchitecture. Check CPU-Z or /proc/cpuinfo for SSE4.2 and CMPXCHG16B flags before installation.
- Graphics Acceleration: For Intel and AMD GPUs, ensure Mesa 3D hardware acceleration is active by testing 3D graphics in live boot mode prior to permanent disk commit.
- ARM Native Translation: Use Houdini or libndk translation depending on whether you run 32-bit or 64-bit ARM APK binaries.
Troubleshooting & Known Caveats
If you encounter unexpected freezes, sleep/suspend issues, or black screens during startup, refer to our accompanying Bliss OS Graphics Troubleshooting Guide or pass kernel boot parameters via GRUB.