- With the device turned off, hold the volume down button, then plug the cable in.
- If the phone in device manager is called Android and has a
⚠️ yellow warning triangle, you need to install fastboot drivers before you can continue. - To install fastboot drivers, extract the contents of QUD.zip somewhere, right click on Android, click on Update driver and Browse my computer for drivers, then find and select the QUD folder.
Replace
path\to\massstorage.img
with the actual path of the imageIf popups show up telling you to format the disks, ignore or close them
fastboot boot path\to\massstorage.img
Warning
DO NOT ERASE, CREATE OR OTHERWISE MODIFY ANY PARTITION WHILE IN DISKPART!!!! THIS CAN ERASE ALL OF YOUR UFS OR PREVENT YOU FROM BOOTING TO FASTBOOT!!!! THIS MEANS THAT YOUR DEVICE WILL BE PERMANENTLY BRICKED WITH NO SOLUTION! (except for flashing it with EDL, which is complicated)
diskpart
Use
list volume
to find it, replace$
with the actual number of WINFLASH
select volume $
assign letter x
Use
list volume
to find it, replace$
with the actual number of ESPFLASH
select volume $
assign letter y
exit
Warning
DO NOT USE 24H2!!!
Replace
path\to\install.esd
with the actual path of install.esd (it may also be named install.wim or 22631.2861.XXXXXXX.esd)
dism /apply-image /ImageFile:path\to\install.esd /index:6 /ApplyDir:X:\
If you get
Error 87
, check the index of your image withdism /get-imageinfo /ImageFile:path\to\install.esd
, then replaceindex:6
with the actual index number of Windows 11 Pro in your image
- Drag and drop the rooted_boot.img from the platform-tools folder into the WINFLASH disk in Windows Explorer, then rename it to boot.img
- Unpack the driver archive, then open the
OfflineUpdater.cmd
file (if an error shows up, runOfflineUpdaterFix.cmd
instead)
If it asks you to enter a letter, enter the drive letter of WINFLASH (which should be X), then press enter
Important
After booting into Windows later in the guide, reboot back into mass storage mode and open OfflineUpdater.cmd again to reinstall drivers. GPU drivers do not get installed properly otherwise.
If you get an "Registry hive needs transaction logs" error when doing so, please join the Telegram chat and write #hive
for instructions on how to solve this.
If any error shows up, such as "Failure when attempting to copy boot files", open
diskpart
again and assign any new letter to ESPFLASH, then replace the letterY
in the next commands with the letter that you just added.
bcdboot X:\Windows /s Y: /f UEFI
bcdedit /store Y:\EFI\Microsoft\BOOT\BCD /set "{default}" testsigning on
bcdedit /store Y:\EFI\Microsoft\BOOT\BCD /set "{default}" recoveryenabled no
bcdedit /store Y:\EFI\Microsoft\BOOT\BCD /set "{default}" nointegritychecks on
Reboot your phone by holding volume down + power until it shows the LG logo, then release the buttons. After this boot to any custom recovery again.
Make sure your CMD is opened in platform-tools
adb push parted /cache/ && adb shell "chmod 755 /cache/parted" && adb shell /cache/parted /dev/block/sda
Use
set $ esp on
quit
If you didn't flash the engineering ABL on the previous page, you can skip this step and the next one and simply reboot your device
- Open Device Manager on your PC
- Hold volume down + power.
- After the LG logo appears, while still holding volume down + power, start rapidly pressing the volume up button.
- Keep doing this until you hear a USB connection sound on your PC, or when Qualcomm HS-USB QDLoader 9008 appears in the Ports (COM & LPT) category of Device Manager.
Or your IMEI won't work
- In Qfil, select Tools > Partition manager, and click Ok.
- Right click on abl_a > Manage Partition Data and press Load Image.
- Select and flash the abl_a file in
C:\Users\YOURNAME\AppData\Roaming\Qualcomm\QFIL\COMPORT_#\
- Do the same thing for abl_b.
- Hold volume down + power until it shows the LG logo, then release the buttons.