BlissOS' kernel parameters cheat sheets
As BlissOS is using Linux kernel, it can inherit all of the kernel's command-line parameters available plus some extra parameters to set variables for some of BlissOS init scripts. This part will list all of the custom parameters that BlissOS is using with some extra one from the Linux kernel.
If you want to know how to set these, check out Setup kernel's command-line parameters.
Booting & Startup
Danger
These parameters are very important. SRC is the must-have parameters on your installation of BlissOS. the rest of androidboot.* options are must-have if you are using AB-mode.
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
ROOT |
variable | partition or partition identifier | Set root partition. Unset to auto-detect at boot. | - Partition is path to linux block device (e.g. /dev/<device> or /dev/block/<device>, both works).- Partition identifier is UUID or label of the filesystem on partition (e.g. UUID=<uuid> or LABEL=<label>). - Currently we do not support partition UUID ( PARTUUID) or partition label (PARTLABEL). |
androidboot.slot_suffix |
variable | _a, _b |
Set slot suffix for A/B mode. | Unset to disable A/B mode. |
androidboot.mode |
variable | normal (default), recovery |
Set boot mode. | |
androidboot.bootctrl_bootcfg |
variable | absolute path to file | Set boot configuration file path. Required for AB-mode. The file path must be visible to Android system after booted (in both recovery and normal boot). | Common boot configuration file paths: - /boot/grub/android.cfg (standalone installation with GRUB) - /boot/efi/EFI/rEFInd/android.conf (for standalone installation with rEFInd Boot Manager) - /boot/ab.env.cfg (for bootloader-less installation/dual-boot with Linux)Note that /boot is bind-mounted with rootfs partition /boot folder by default, files and directories under /boot are visible to /boot folder of an uptime Android system (See Special mount targets, row bootloader). You can get root permission using KernelSU and Termux to view the content of /boot. |
Logging & Debugging
Warning
These parameters should be used for debugging purposes only !
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
quiet |
parameter | Do not show any messages during the boot process. | This is a part of linux kernel's parameter. | |
androidboot.enable_console |
variable | 0, 1 |
Disable/Enable virtual console on TTY. | Press Ctrl+Alt+F1 to open the virtual console if enabled, Ctrl+Alt+F7 to go back to Android GUI. |
DEBUG |
variable | 0, 1, 2 |
Debug shell on boot. | Set to 0 to disable. Overrides quiet kernel argument.Set to 1 to launch a shell on rootfs mounted. Set to 2 to launch a shell on rootfs mounted and another shell after the hook scripts are executed.On debug shell, type exit or press Ctrl+D to exit the shell. |
DEBUG_VSOCK |
variable | 0, 1 |
Disable/Enable VSOCK ADB socket. | Guest CID is hardcoded to 3 and port is hardcoded to 5555. Guest VM with VSOCK enabled can be connected using adb connect vsock:3:5555 |
androidboot.insecure_adb |
variable | 0, 1 |
Disable/Enable insecure ADB. | WARNING!!! THIS OPTION SHOULD ONLY BE USED TEMPORARY, NOT TO SET PERMANENTLY AS IT LITERALLY BYPASSES ALL OF ADB SECURITY MEASURES!!! |
Media codecs
Warning
By default, we already setup media codecs options suitable for each hardware for BlissOS so you don't have to do anything extra. This is mostly for debugging purposes !
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
CODEC2_LEVEL |
variable | 0, 1 (default), 2,3 and 4 |
Set debug.stagefright.ccodec property for level of Codec2 ranking on codecs list. | Explanation of each values can be seen in Codec2InfoBuilder.cpp. Set 0 if you want to disable Codec2 to only use OMX.WARNING: This option is deprecated and is being removed in BlissOS 16+. |
OMX_NO_YUV420 |
variable | 1 |
Disable YUV420 planar for all OMX codecs. Unset to re-enable YUV420 planar for OMX. | WARNING: This option is deprecated and is being removed in BlissOS 16+. |
FFMPEG_CODEC2_PREFER |
variable | 1 |
Set FFMPEG Codec2 as default. Unset to disable. | WARNING: This option is deprecated and is being removed in BlissOS 16+. |
FFMPEG_CODEC2_DRM |
variable | 1 |
Enable DRM Prime Handle on FFMPEG Codec2. Unset to disable. | Can be used to improve performance when using FFMPEG Codec2. Currently this option is considered WIP and can only being used on some hardware with minigbm gralloc used and supports YUV. |
FFMPEG_CODEC2_DEINTERLACE |
variable | auto (default), software and none |
Set FFMPEG Codec2 deinterlace mode. | Explanation can be seen in this commit. |
FFMPEG_CODEC2_DEINTERLACE_VAAPI |
variable | default (default), bob, weave, motion_adaptive and motion_compensated |
Set FFMPEG Codec2 deinterlace mode when using hw-accelerated video decoding. | Explanation can be seen in this commit. |
FFMPEG_OMX_CODEC |
variable | 1 |
Enable FFMPEG OMX. Unset to disable. | WARNING: This option is deprecated and is being removed in BlissOS 16+. |
FFMPEG_CODEC_LOG |
variable | 1 |
Enable logging for FFMPEG codecs. Unset to disable. | Can be used on both Codec2 & OMX. |
FFMPEG_HWACCEL_DISABLE |
variable | 1 |
Disable hardware acceleration on FFMPEG codecs. Unset to re-enable. | Can be used on both Codec2 & OMX. |
Disks & partitions
NTFS options
Warning
These options are being used to switch from the usual NTFS-3G driver to the new NTFS3 driver which provide better NTFS handling & performance. Each represents different level of NTFS support. You can only pick one.
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
BOOT_USE_NTFS3 |
variable | 1 |
Enable NTFS3 on initrd. Unset to disable. | Set this for BlissOS on NTFS setup. |
VOLD_USE_NTFS3 |
variable | 1 |
Enable NTFS3 for vold. Unset to disable. | Set this to use NTFS3 when using NTFS drives on Android. We really recommend this driver ! |
USE_NTFS3 |
variable | 1 |
Enable NTFS3 on both initrd and vold. Unset to disable. | Basically 2 options above combined. |
Miscellaneous
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
SDCARDFS_DISABLE |
variable | 1 |
Disable SDCardFS/ESDFS bind mounting. Unset to re-enable. | |
INTERNAL_MOUNT |
variable | 1 |
Mount all internal partitions. Unset to disable. |
Networking
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
VIRT_WIFI |
variable | 1 |
Enable virtual wifi. Unset to disable. |
Sensors
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
SENSORS_FORCE_KBDSENSOR |
variable | 1 |
Force use kbd sensors for keyboard control. Unset to disable. |
|
SET_SF_ROTATION |
variable | true |
Enable/Disable surfaceflinger hardware rotation. | |
SET_OVERRIDE_FORCED_ORIENT |
variable | true |
Enable/Disable forced orientation. | |
SENSORS_DELAY_INIT |
variable | number | Delay sensors load by seconds. Unset to disable. | Recommended for tablets that uses sensors driver which usesiio . |
Power
Battery
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
SET_FAKE_BATTERY_LEVEL |
variable | number | Set fake battery level. Unset to disable. | |
SET_FAKE_CHARGING_STATUS |
variable | 1 |
Set fake charging status. Unset to disable. | |
androidboot.fake_battery |
variable | 1 |
Set fake battery information by AOSP. Unset to disable. | You can check BatteryMonitor.cpp, search for ro.boot.fake_battery to know which value they are trying to fake. As of 30/08/2025, the value is 42% battery at 42.4°C |
Miscellaneous
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
SLEEP_STATE |
variable | mem (default), standby, freeze, disk |
Set default sleep state. Unset to use default (mem). |
|
POWER_NONBOOT_CPU_OFF |
variable | 1 |
Turn off non-boot CPUs when suspend. Unset to disable. | No need to set intel_idle.max_cstate if using this. |
intel_idle.max_cstate |
variable | number (1~8) | Force max cstate level for Intel CPUs. Unset to disable. | More info can be found on intel_idle driver document. Recommend 2 for some Intel Atom SoCs. Does not work on AMD CPUs. |
Audio
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
AUDIO_PRIMARY |
variable | x86 (default), x86_celadon |
Set default audio HAL controller. Unset to use default. | x86_celadon works better with audio that uses SOF drivers. |
Bluetooth
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
BTLINUX_HAL |
variable | 1 |
Use btlinux Bluetooth HAL instead of default controller. Unset to disable. | WARNING: This option is deprecated and is being removed in BlissOS 17+. |
BT_BLE_DISABLE |
variable | 1 |
Disable Bluetooth BLE completely. Unset to re-enable. | WARNING: This option is is only available on BlissOS 16+ |
BT_BLE_NO_VENDORCAPS |
variable | 1 |
Disable BLE vendor capabilities. Unset to re-enable. | WARNING: This option is is only available on BlissOS 16+ |
BT_UART |
variable | Set default Bluetooth UART port. Unset to use auto detection. | Inherited from Android-x86, we may not have to use this option again as most of Bluetooth drivers nowadays ultilize HCI. |
Graphics
Warning
By default, we already setup graphics options suitable for each hardware for BlissOS so you don't have to do anything extra. This is mostly for debugging purposes !
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
nomodeset |
parameter | Set to completely disable graphics driver loading | Check linux kernel's parameter, search for nomodeset for more info.This option is useful in case your graphics driver causes black screen or artifacts on BlissOS. |
|
HWACCEL |
variable | 0 |
Completely disable hardware acceleration. Unset to re-enable. | Different from nomodeset, graphics driver is still being loaded, it just that Gralloc & HWC setup is now set the same as nomodeset. This is useful in case that graphics driver can load fine but it can't get into BlissOS. |
EGL |
variable | mesa(default), angle |
Switching between different implementation of libEGL | |
MESA_LLVMPIPE |
variable | 1 |
Force Mesa EGL to use llvmpipe. Unset to use default. | Only effective if you set EGL=mesa |
MESA_ZINK |
variable | 1 |
Force Mesa EGL to use Zink. Unset to use default. | Only effective if you set EGL=mesa |
FORCE_GLES |
variable | 2.0, 3.0, 3.1, 3.2 |
Set OpenGLES version. Unset to use default. | |
FORCE_RENDERENGINE |
variable | skiaglthreaded (default),skiagl, threaded (deprecated), skiavk, skiavkthreaded |
Force RenderEngine backend to skiagl. Unset to use default. | Check SurfaceFlinger.cpp, search for PROPERTY_DEBUG_RENDERENGINE_BACKEND to know about the available backend.threaded used to be the default option until BlissOS 16. Starting from BlissOS 17 we have to set skiaglthreaded because threaded is being deprecated. |
HWC_HIDL |
variable | default-2.1, default-2.4, drmfb |
Set HWC HIDL interface. Unset to use default. | |
HWC |
variable | drm, drm_celadon, drm_minigbm, drm_minigbm_celadon |
Set HWC interface. Unset to use default. | HWC should be set to drm_minigbm or drm_minigbm_celadon only when using minigbm* gralloc. |
GRALLOC |
variable | gbm, gbm_hack, minigbm, minigbm_gbm_mesa, minigbm_arcvm |
Set default gralloc. Unset to use default. | minigbm_arcvm is only for VMs using virtio-gpu driver. |
GRALLOC4_MINIGBM |
variable | 1 |
Uses Gralloc4 service instead of legacy Gralloc HAL on minigbm |
Only usable if you use any minigbm* gralloc. |
VULKAN |
variable | lvp, pastel, intel, amd, nouveau, virtio |
Set Vulkan HAL. Unset to use default. | |
vmwgfx.force_resolution |
variable | resolution (<width>x<height>) |
Force resolution on vmwgfx driver. Unset to use default. |
Extra parameter for vmwgfx driver taken from 0xCAFEBABE commit |
virtio-gpu.force_resolution |
variable | resolution (<width>x<height>) |
Force resolution on virtio-gpu driver. Unset to use default. |
Extra parameter for virtio-gpu driver taken from 0xCAFEBABE commit |
nouveau.modeset |
variable | 0 |
Disable nouveau driver for Nvidia GPUs. Unset to re-enable. |
Useful for laptops with Nvidia GPUs because in most cases we will not touch it. |
Celadon-specific
Info
These options are only available if HWC is either drm_celadon or drm_minigbm_celadon
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
MULTI_PLANE |
variable | 1 |
Enable multi-plane in HWC. Unset to disable. | |
MULTI_PLANE_NUM |
variable | number | Set number of multi-plane in HWC. Unset to use default. | |
HWC_PREFER_MODE |
variable | 0 |
Set to 0 to support all display modes. Unset to use default. |
|
CONNECTOR_ID |
variable | number | Specify Connector ID. Unset to use default. | |
MODE_ID |
variable | number | Specify Mode ID. Unset to use default. | |
MULTI_REFRESH_RATE |
variable | 1 |
Enable multi refresh rate for the system. Unset to disable. |
Recovery
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
DEBUG_NET_PORT |
variable | number | Set ADB port. Unset to use default. | |
androidboot.pixel_format |
variable | RGBX_8888, ABGR_8888, ARGB_8888, BGRA_8888, RGBA_8888, BGRX_8888 |
Force default color format. Unset to use default. | No need to set if you don't know what is this. This should only be used when you have black screen or inverted colors. |
Camera
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
EMULATED_CAMERA |
variable | 1 |
Enable emulated camera. Unset to disable. |
Miscellaneous
| Name | Type | Values | Description | Notes |
|---|---|---|---|---|
DPI |
variable | number | Set default DPI. Unset to use default. | |
SETUPWIZARD |
variable | 0 |
Force disable Setup Wizard. Unset to use default. | Currently this doesn't set any property but uses pm disable command instead. Which may not working. |
PC_MODE |
variable | 1 |
Enable PC Mode. Unset to disable. | Basically adding android.hardware.type.pc to the features list. Currently what it does is that:- Enable hidden UI elements for Desktop (this is considered as WIP though). - Allow Google Play Store to recognize the device as Chromebooks, as explained by Google on this page. Once you set it, reset Google Play Store data (or Log out of Aurora Store) to make it recognize this feaure. |
HPE_MODE |
variable | 1 |
Enable HPE Mode. Unset to disable. | Basically adding com.google.android.play.feature.HPE_EXPERIENCE to the features list. What it does is that it allow Google Play Store to recognize the device as Google Play Games for PC. Once you set it, reset Google Play Store data (or Log out of Aurora Store) to make it recognize this feaure. |
syscall_hardening |
variable | off |
Disable x86 syscall hardening. Useful if you are using KernelSU. Unset to enable. | WARNING!!!: As this option disable the new syscall hardening method on x86 CPUs, setting this option is not considered safe. You are taking risk of your device safety if this option is set! There's a KernelSU issue on Github that is related to this option. If you are interested, or you think about a solution without this hack, check it out |