Question Can't boot CPH2451 - OnePlus 11

So I wanted to relock my bootloader so that I could use Netflix, Hulu, etc... When I fastboot flashing lock it only boots to bootloader. I can't flash anything with bootloader locked. When I unlocked again and flashed the stock boot and init_boot and stock recovery image I just get a bootloop into bootloader. I think the recovery image I flashed is not good. I can't even power the phone off through the bootloader power off option, it just reboots back to bootloader.
Can I get back to original stock rom and recovery?

Update. So now I'm completely bricked. I managed to switch the active slot to a, relocked the bootloader and now I just get a boot screen with red text that says the boot/recovery images have been destroyed and can not boot.

This happened because you failed to restore to full stock before locking locking bootloader. Well you could unlock bootloader again and fix it.

MrSteelX said:
This happened because you failed to restore to full stock before locking locking bootloader. Well you could unlock bootloader again and fix it.
Click to expand...
Click to collapse
Thanks for the reply. I can't unlock again because it's stuck in a bootloop and won't boot into bootloader.

I will point out that recover and kernel both live in boot.img since there is no custom recovery for our phone.

MrSteelX said:
I will point out that recover and kernel both live in boot.img since there is no custom recovery for our phone.
Click to expand...
Click to collapse
recovery is it's own file, not part of boot.img. at least that's what the rollback and developer preview is showing.

Related

[Q]xperia bootloader DEVELOPERS PLEASE HELP ME

Tried to unlock my bootloader with official method and i perform all my steps correctly after that i got stuck in booloop that time i tried to boot in recovery but fail my device dont boot in recovery mod after that i flash stock 4.3 firmware on my xpetria using flashtool n i started my device (everything wiped)
then again i tried to boot in recovery but fail i again tried to unlock it but again stuck in bootloader and again flash stock rom
please help me developers where am i mistaken my device bootloader unlock status is yes
and i have lost my drm key too
Are you trying to access Fastboot mode or the actual recovery? Because the stock ROM doesn't contain accessible recovery, which is why you have to flash a custom recovery separately.

how to flash rom with locked bootloader?

does anyone know how to flash rom with locked bootloader?
my devices is running on lineage os 14.1 , and then there is a ota updates,i download and install them,and forgot to allow oem unlocking in developer options
and then twrp boot loop is starting, i got frustated and i wipe all data,hoping that i can flash again any custom rom (currently locked bootloader)
and now my phone can't flash any custom rom,just stuck on recovery mode
i've tried adb sideload,try to oem unlock from adb,but its not allowed
somebody help please??
mhamyasa said:
does anyone know how to flash rom with locked bootloader?
my devices is running on lineage os 14.1 , and then there is a ota updates,i download and install them,and forgot to allow oem unlocking in developer options
and then twrp boot loop is starting, i got frustated and i wipe all data,hoping that i can flash again any custom rom (currently locked bootloader)
and now my phone can't flash any custom rom,just stuck on recovery mode
i've tried adb sideload,try to oem unlock from adb,but its not allowed
somebody help please??
Click to expand...
Click to collapse
so did you lock the bootloader again? if you didnt do that the bootloader is still fine.
if you were bootlooping, how did you wipe all data i.e. how did you wipe the OS?

Stock ROM Bootloop unless bootloader is unlocked

I restored the newest stock Android One ROM using MiFlash, but the phone only boots if the bootloader is unlocked. I need the bootloader to be locked for various apps. Can someone help me
I haven't found any threads that talk about this issue so I have no idea of what to do
Regarding your signature, I believe you have Magisk installed ? If you have Magisk or TWRP installed or if you've changed anything in the system, you can not lock the bootloader, as it will prevent the device from booting. All the partitions of the device should be stock and you should not have root, in order to lock the bootloader. My advice is to flash the stock rom via MiFlash again, but choose 'Clean All and Lock' option while flashing.
Install stock 10.0.13 version with edl mode:
fastboot oem edl , and flash with miflash,then reboot the system in fastboot mode to lock bootloader with : fastboot lock oem , then boot the system and update your device with ota.

Question How to reset back to factory, after rooting???

Need back to 100% stock. I am returning, so how to unroot, and lock BL??? Thanks!
Factory reset and flash stock image from Google directly. Finally lock bootloader
Code:
fastboot flashing lock
miravision said:
Factory reset and flash stock image from Google directly. Finally lock bootloader
Code:
fastboot flashing lock
Click to expand...
Click to collapse
Is factory reset really needed for unrooting ?
Why wouldn't just flashing the original boot.img and re-locking the bootloader be enough ?,
considering you haven't changed any system files with root.
Maybe also "fastboot flash vbmeta --enable-verity --enable-verification vbmeta.img" before
locking the bootloader to enable verity.
andreipaval said:
Is factory reset really needed for unrooting ?
Why wouldn't just flashing the original boot.img and re-locking the bootloader be enough ?,
considering you haven't changed any system files with root.
Maybe also "fastboot flash vbmeta --enable-verity --enable-verification vbmeta.img" before
locking the bootloader to enable verity.
Click to expand...
Click to collapse
Changing the status of the bootloader - from either locked to unlocked - or unlocked to locked, wipes the phone, so same as a factory reset. Also, if they're returning the phone, they'd want to factory reset anyway.
I'd also suggest Official Google Android Flash Tool, and my understanding of flashing vbmeta.img is that if you don't have it set to disable, then by default it's enabled, although using the switches might work fine too.

Can't flash TWRP with odin after flashing stock ROM with odin

Hoping to get this fixed, after flashing a twrp tar file my phone cannot boot to rom or even recovery, but bootloops, is there a potential fix? Do I need to bootlock and unlock my phone?
What do you mean by "bootlock"?
Did you unlock your bootloader before flashing?
V0latyle said:
What do you mean by "bootlock"?
Did you unlock your bootloader before flashing?
Click to expand...
Click to collapse
Yes I did unlock my bootloader before flashing, what I mean by bootlock is locking the bootloader through download mode.
wavetsuname said:
Yes I did unlock my bootloader before flashing, what I mean by bootlock is locking the bootloader through download mode.
Click to expand...
Click to collapse
Never lock your bootloader unless you have flashed back to factory stock. Locking the bootloader on modified firmware will brick your device.
When you are in download mode, look at the upper left corner of the screen. There should be a line that reads OEM LOCK. Is this ON or OFF?
Which TWRP build are you using?
Factory stock is the only firmware I'm able to flash successfully, in download mode it says "OEM LOCK: OFF(U)", I attempted to flash TWRP 3.5.2, here's the file if needed, I have also attempted to flash other TWRP versions, but none worked.
I managed to get orange fox working, and it turned out I flashed the wrong stock ROM for my phone.
To flash TWRP with odin - one of previous version of stock ROM required. On the latest versions of stock ROM it is impossible to flash TWRP - the device goes into the bootloop.

Categories

Resources