Rooting
Unlocking the bootloader
Section titled “Unlocking the bootloader”Using picounlock
Section titled “Using picounlock”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 and run
picounlockfor your operating system. - 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.
Manually
Section titled “Manually”- 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, Android Recovery 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 withpicounlock. - Download a stock OTA image for your firmware version, and extract the
boot.imgto your computer. - Download
Magisk4Pico.apk(stock Magisk will NOT work!). adb push boot.img /sdcard/Downloadadb install Magisk4Pico.apk- Open the
Magisk4Picoapp on your headset, and choose Install > Select and Patch a File, and chooseboot.img. - In the output log, you will see the path to the freshly-patched boot image.
adb pull <path_to_patched_boot_image_on_device>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. TheMagisk4Picoapp 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.