Rooting
Unlocking the bootloader
Section titled “Unlocking the bootloader”PicoUnlock is an all-in-one tool for unlocking your PICO 4’s bootloader.
- Connect your headset to your computer via a reliable USB-C cable.
- Download PicoUnlock from the downloads page, and run it.
- Follow the steps in the GUI. If all goes well, your headset’s bootloader will be unlocked!
- Take note of the unlock key, displayed in the UI and printed in the log file. It looks like
picoXXXXXXXX.
- Back up the ABL partition on your PICO via EDL.
- Flash the PICO 3 ABL to your headset using EDL mode and the leaked PICO engineering firehose.
- Calculate your headset’s unlock key for use in the PICO 3 ABL using the below Python script:
def generate_unlock(serial: int):key = "0XD9J6FB3ATQIHNM46XYZZZOPQRSTUVWXYZ"
val = serial & 0xF7F3F37F
if val == 0: encoded_serial = key[0]else: encoded_chars = [] while val > 0: encoded_chars.append(key[val & 0xF]) val >>= 4 encoded_serial = "".join(reversed(encoded_chars))
return f"fastboot oem pico{encoded_serial} unlock"fastboot oem picoXXXXXXXX unlock, replacingXXXXXXXXwith your unlock key.fastboot flashing unlock_criticalfastboot flashing unlockfastboot oem setenforce 0fastboot reboot-bootloader- you should now seeDevice state: unlockedin the headset.- Boot the headset with
fastboot reboot. After a short wait, it should ask you to factory reset - do so!
Installing Magisk
Section titled “Installing Magisk”- You will need a copy of ADB. If it is not installed on your computer, it is included with PicoUnlock.
- Download a stock OTA image for your firmware version, and extract the
boot.imgto your computer. - Download Magisk4Pico from the downloads page (stock Magisk will NOT work!).
adb push boot.img /sdcard/Downloadadb install Magisk4Pico.apk- Open the newly installed Magisk app on your headset,
Install > Select and Patch a File, and selectboot.img. - In the output log, you will see the path to the freshly-patched boot image.
adb pull <path_to_patched_boot_image_on_headset>adb reboot bootloaderfastboot oem picoXXXXXXXX unlock, replacingXXXXXXXXwith your unlock key.fastboot flash boot <path_to_patched_boot_image_on_computer>- Boot the headset with
fastboot reboot. The Magisk app should now show that Magisk is installed.
Your headset should now be rooted, and you are free to install Magisk modules. It is recommended that you go through Magisk’s settings and enable Zygisk. It is also recommended that you continue on to the next section.
Restoring PICO 4 ABL
Section titled “Restoring PICO 4 ABL”A necessary part of the unlocking process is to flash a PICO Neo3 ABL to your device, which has fastboot enabled. However, this tends to result in your boot process being slow and unreliable (it is common for the headset to drop into EDL mode, requiring a 15-second power button hold to recover from).
Once you have Magisk successfully installed, you may restore the PICO 4 ABL originally shipped with your device to fix this. Your bootloader will remain unlocked, but fastboot commands will no longer function.
Requirements:
- Make sure you first follow the Magisk installation.
- Make sure you have adb installed, or use the one included with
picounlock.
Steps:
- Go the
picounlockdirectory, then todevice-backupand copy theabl.binto the root of your PICO.- If you manually unlocked your headset or otherwise don’t have a backed up ABL, then you can obtain one from
an OTA update, within the
firmware-updatefolder.
- If you manually unlocked your headset or otherwise don’t have a backed up ABL, then you can obtain one from
an OTA update, within the
- Be ready to put on your headset, after you run the commands below a prompt will appear that you will have to accept.
- Then type
adb shell,su. (If you missed this prompt, open the Magisk app > Superuser > Enable shell) - You should now have a root shell.
- Backup the Neo3 ABL for convenience:
dd if=/dev/block/by-name/abl of=/sdcard/abl-picounlock.bin - Now we will flash back the original (PICO 4) ABL:
dd if=/sdcard/abl.bin of=/dev/block/by-name/abl - Reboot your headset
Your device will now boot faster again, and you will still be able to use Magisk modules.
Should you need access to fastboot in future, you can temporarily reflash abl-picounlock.bin using dd, like step 6.