anestisb / android-prepare-vendor

Set of scripts to automate AOSP compatible vendor blobs generation from factory images
348 stars 155 forks source link

Stuck in bootloader #177

Closed irmas5 closed 3 years ago

irmas5 commented 3 years ago

Hi. I hard bricked a pixel 2xl. i'm stuck in bootloader with no os and no recovery, when i locked back bootloader they wiped all system and recovery. Maybe here are some way how to fix? Thank you

thestinger commented 3 years ago

You should probably just unlock the device and flash again. You should also use android-prepare-vendor from AOSP Alliance which is being actively developed.

irmas5 commented 3 years ago

I can't flash anything becouse i don't have recovery, when i trying fastboot image file for a pixel 2xl saying failed flash in locked state.

thestinger commented 3 years ago

Recovery isn't where you flash images. Unlock the bootloader.

irmas5 commented 3 years ago

How, if I can't flash in fastboot? Saying failed flash in a locked state

thestinger commented 3 years ago

Unlock the bootloader.

thestinger commented 3 years ago

Not going to try helping further because you aren't listening.

irmas5 commented 3 years ago

Sorry, I'm really not a tech, and I don't know how to fix that. I', now without a phone.

thestinger commented 3 years ago

The issue is that you aren't listening. Read what I wrote. No point in a conversation if you don't read what I write.

irmas5 commented 3 years ago

I reading. Unlock bootloader. Just how? Can you help me?

thestinger commented 3 years ago

The opposite of locking it which is what you said you did at the start...

thestinger commented 3 years ago

You need to do your own research. I don't think filing an issue here makes my sense. I suggest closing it and reading about this.

irmas5 commented 3 years ago

I searched on xda, Reddit. Nowhere found how to unlock bootloader from the fastboot menu.

thestinger commented 3 years ago

The opposite of locking the bootloader: unlock instead of lock.

irmas5 commented 3 years ago

I tried, but showing ... FAILED (remote: unknown command) finished. total time: 0.006s PS C:\adb> fastboot flashing unlock ... FAILED (remote: Flashing Unlock is not allowed ) finished. total time: 0.016s

irmas5 commented 3 years ago

PS C:\adb> fastboot flashing unlock_critical ... FAILED (remote: Flashing Unlock is not allowed ) finished. total time: 0.007s

thestinger commented 3 years ago

Did you disable OEM unlocking in the OS?

irmas5 commented 3 years ago

I can't enter to os. 123201924_1948346391972058_1246145758924499473_n 123086075_392913548785602_7858981799469812014_n

irmas5 commented 3 years ago

After I relocked the bootloader I think wiped all partition, os, and recovery.

irmas5 commented 3 years ago

I was on custom rom.

irmas5 commented 3 years ago

In oem was switched of.