Edit: Added my ‘Solution’ at the bottom
Does anyone know how I can unlock oneplus 7 Pros bootloader. I want to switch to lineageOs but am failing at that step during the install
original Post
Things I have tried so far:
- enable OEM unlock in developer settings and then using fastboot to unlock it. That fails with an error message (known issue on android 12, other threads reccomens downgrading to 11).
- using an inoffical firehose client. I don’t know what the issue was. There was no relevant error in the output, even in debugging mode (though I suspect it is the same issue as above).
edit: from what I saw the unbrick tools mentioned below doing it seems like someone with more knowledge might be able to flash the correct images onto the correct partitions using that tool (although it is very buggy, I needed to change a bit of the python code to even get it going without throwing errors)
Things I have tried to downgrade to Android 11:
- using the official rollback packeges. Sadly the links on the official thread are dead and I cant find the rollback packages anywhere else
- using the unbrick tools. Since I don’t have a windows PC, I tried it on a friends laptop where it just didn’t work without a clear error message. I then set up a new win 11 VM. There I couldn’t install the required drivers (super generic errror message, something like path not found but without specifying the path).
Edit from lineage os 22.1:
What ended up working was downgrading to android 11 using the afformentioned unbrick tool. The issues I had with installing the driver originated in an incomplete unpack of the driver file by the windows explorer. After that worked, I was able to downgrade to oos 11. That’s where the next issue came up: I had to upgrade to 12 again to continue the lineage install process but the first update (from an the flashed oos 11 to the latest oos 11) git stuck at 80% with an unlocked bootloader. For me it worked to update 11 as far as possible, only then unlocking the bootloader and lastly updating to oos12. After that you can continue with the lineage install as officially documented. I tried some stuff with twrp as well (wanted to dualboot postmarket OS) but that didn’t work either so I just gave up.
I personally wouldn’t downgrade to Android 11 since the Lineage Installation Instructions clearly state you need to be on 12.
If there is an error during unlocking the bootloader, I would get in touch with the people from LineageOS - scroll to the end of the same page “Get assistance”.
Sorry I wasn’t clear on this, I planned on downgrading, unlocking the bootloader and then updating to 12 again before installing lineage, as that apperently worked for others in the past.