This guide will show you the steps to flash the HelluvaOS/HentaiOS ROM on your Android device and then lock the bootloader as well. So without any further ado, let’s get started.
Table of Contents
How to Flash HelluvaOS/HentaiOS ROM and Lock Bootloader

Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
STEP 1: Install Android SDK
First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.
STEP 2: Enable USB Debugging and OEM Unlocking
Next up, you will also have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking.
So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging and OEM Unlocking.
STEP 3: Unlock Bootloader
Next up, you will also have to unlock the device’s bootloader. Do keep in mind that doing so will wipe off all the data from your device and could nullify its warranty as well. So if that’s all well and good, then please refer to our detailed guide on How to Unlock the Bootloader of Any Android Device.
STEP 4: Download HelluvaOS/HentaiOS
- Grab hold of the ROM and its associated file from the below link:
HELLUVAOS: Flash Kit | ROM ZIP File
- Extract the Flash Kit and transfer the partition IMG files [including the pkmd.bin file] to the platform tools folder.
- Likewise, rename the ROM file to rom.zip and transfer it to the platform-tools folder.
STEP 5: Boot Device to Fastboot Mode
- Now connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.
- Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
- Type in the following command in the CMD window to boot your device to Fastboot Mode
adb reboot bootloader
- To verify the Fastboot connection, type in the below command and you should get back the device ID.
fastboot devices
- If you are not getting any serial ID, then install the Fastboot Drivers.
How to Install HelluvaOS/HentaiOS Android 15 ROM
- Flash the boot, dtbo, vendor_boot, and init_boot [if your device has one] images via the below commands:
fastboot flash boot boot.img fastboot flash dtbo dtbo.img fastboot flash vendor_boot vendor_boot.img fastboot flash init_boot init_boot.img
- Now erase the existing AVB key and replace it with the custom AVB key via the below commands
fastboot erase avb_custom_key fastboot flash avb_custom_key pkmd.bin
- Then reboot to HelluvaOS/HentaiOS Recovery via the below command:
fastboot reboot recovery
- From the recovery, go to Factory reset > Format Data/Factory Reset.
- Once the formatting is done, go to Apply update -> Apply from ADB.
- Type the below command to sideload the HelluvaOS/HentaiOS ROM:
adb sideload rom.zip
- If you want to sideload any other ZIP file, then do a reboot to recovery and sideload the ZIP file.
- Once the flashing is done, go to Factory reset -> Format Data/Factory Reset and perform a reset.
- Now erase the existing AVB key and replace it with the custom AVB key via the below commands
fastboot erase avb_custom_key fastboot flash avb_custom_key pkmd.bin
- Finally, select Reboot System Now. Your device will boot to the newly flashed HelluvaOS/HentaiOS.
How to Lock Bootloader on HelluvaOS
HelluvaOS gives you the option to relock the bootloader as well. However, before you end up doing so, there are a couple of things worth keeping in mind. First and foremost, once the bootloader is locked, you cannot flash any custom binary file, install any recovery, or root your device via magisk/KernelSU/APatch.
Moreover, it is highly recommended that you keep the OEM Unlock toggle enabled at all times. This is because if something goes wrong and your device gets stuck in the Fastboot Mode [softbrick or bootloop], then you can easily unlock the bootloader, flash the Factory Image, and bring the device back to life. Last but not least, locking will also erase all the data from your device, so take a complete device backup beforehand.
- To begin with, boot your device to Fastboot Mode via:
adb reboot bootloader
- Then use the below command to lock the bootloader:
fastboot flashing lock
- You will now get a Bootloader prompt on your device.
- So use the Volume keys to highlight Relock the Bootloader and press the Power key to confirm.
- The bootloader will now be relocked. You may now reboot to the OS using the below command:
fastboot reboot
That’s it. These were the steps to flash HelluvaOS/HentaiOS and lock the bootloader. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution as soon as possible.