Bootloader unlocked and software integrity cannot be guaranteed - OnePlus 5 Questions & Answers

Hey everyone
i erased all my Data over TWRP. Then i flash the OxygenOS Beta 10. But know when i restart my phone, the text will appear: Bootloader is unlocked and software integrity cannot be guaranteed. Before i erase my Phone, on this point I could switch to the bootloader and recovery. But this works no more..
Do u have any idea?

look this thread.
https://forum.xda-developers.com/oneplus-5/help/yellow-warning-boot-t3791495

c3drik 67 said:
look this thread.
https://forum.xda-developers.com/oneplus-5/help/yellow-warning-boot-t3791495
Click to expand...
Click to collapse
Thank you very much

Related

Locked bootloader & No OS | What could be done?

Hi all,
I'd been using my rooted Nexus 6P on stock ROM+kernel. Unfortunately, I locked the bootloader after installing TWRP and installing SuperSU. I know, it was a huge mistake but it happened.
Yesterday I wanted to unroot and factory reset the phone. I forgot that my bootloader was locked so I didn't flick that "enable oem unlocking" button. I tried "flash-all" directly on bootloader. Obviously it didn't work and after reboot it got stuck on Google screen. I waited for a while but nothing happened. I wiped system, vendor, cache... etc on TWRP upon a tutorial in this forum with the intention to flash stock ROM but again : my bootloader was locked.
Now, I can still use TWRP and push files through adb but cannot use any fastboot commands. I get this error:
Code:
FAILED (remote: device is locked. Cannot flash images)
I tried installing the whole "image-angler-mdb08l" on TWRP but I get this error:
Code:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Installing '/sdcard/image-angler-mdb08l.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
E:Could not find 'META-INF/com/google/android/update-binary' in the zip file.
Error flashing zip image-angler-mdb08l.zip'
Updating partition details...
...done
Is there any way to flash stock ROM with TWRP or should I try flashing a custom ROM and hoping to boot so I can enable that troublesome OEM unlock switch?
Compared to similar situations in 6P forum, I have the advantage of working adb and TWRP but I don't know if they even make a difference. Thanks for sparing time to read and your help.
You cannot flash factory image with TWRP. Download any custom ROM, flash it with TWRP. Let it boot and enable unlock in Developer Options.
Witek_M said:
You cannot flash factory image with TWRP. Download any custom ROM, flash it with TWRP. Let it boot and enable unlock in Developer Options.
Click to expand...
Click to collapse
You restored my faith in saving this phone. Is there any custom ROM in particular that won't mess with the recovery partition? It seems that if I loose TWRP, I have nothing to hold on to.
afaruky said:
You restored my faith in saving this phone. Is there any custom ROM in particular that won't mess with the recovery partition? It seems that if I loose TWRP, I have nothing to hold on to.
Click to expand...
Click to collapse
I believe that CyanogenMod wouldn't corrupt TWRP recovery. I've flashed official CM on my Galaxy S4 so many times, and CM never replace TWRP with something else. ????
LeoYL said:
I believe that CyanogenMod wouldn't corrupt TWRP recovery. I've flashed official CM on my Galaxy S4 so many times, and CM never replace TWRP with something else. ????
Click to expand...
Click to collapse
:victory: It worked like a charm. Thanks a lot. :victory:
afaruky said:
:victory: It worked like a charm. Thanks a lot. :victory:
Click to expand...
Click to collapse
Now unlock the bootloader, and leave it unlocked.
afaruky said:
:victory: It worked like a charm. Thanks a lot. :victory:
Click to expand...
Click to collapse
metaphz said:
Now unlock the bootloader, and leave it unlocked.
Click to expand...
Click to collapse
And maybe bookmark my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
A bit of research and knowledge would have avoided this issue in the first place.
Heisenberg said:
And maybe bookmark my guide:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
A bit of research and knowledge would have avoided this issue in the first place.
Click to expand...
Click to collapse
Your guide is amazing and helped a lot.
I had been using N5 with locked bootloader and never encountered any problem but when I switched to 6P I read some articles explaining how dangerous leaving the bootloader unlocked is, so I locked it. Obviously, it was a mistake. I'm glad I didn't have to RMA.
afaruky said:
Your guide is amazing and helped a lot.
I had been using N5 with locked bootloader and never encountered any problem but when I switched to 6P I read some articles explaining how dangerous leaving the bootloader unlocked is, so I locked it. Obviously, it was a mistake. I'm glad I didn't have to RMA.
Click to expand...
Click to collapse
There is risk in involved in having an unlocked bootloader, but as long as you take care of your phone and don't let it fall into the wrong hands you'll be perfectly fine. To say it's dangerous would be a pretty big overstatement.
I'm in the same situation, need some help
Sent from my GT-I9500 using Tapatalk
---------- Post added at 02:30 PM ---------- Previous post was at 02:29 PM ----------
I have twrp working fine with no os
Sent from my GT-I9500 using Tapatalk
So why not do exactly what the OP did? Download a custom ROM, flash it with TWRP then unlock your bootloader?
Pain-N-Panic said:
So why not do exactly what the OP did? Download a custom ROM, flash it with TWRP then unlock your bootloader?
Click to expand...
Click to collapse
Its not connecting to bootloader to transfer custom rom.
Sent from my GT-I9500 using Tapatalk

Locked Bootloader / Updating

So I think I know the answer but wanted to validate. If I leave the bootloader locked on my device and download a factory image from Google, cannot I just put the zip on the sdcard storage and run it through recovery to update? I don't think that I need to unlock the bootloader do I? I am trying to keep everything stock for now, but updates are a big reason I wanted this phone. Also don't want to break Android Pay. Thanks in advance.
Read this entire guide: http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
locked or unlocked, you arent flashing a factory image in TWRP
Let me rephrase the question based on the article below. Does this still work with the Nexus 6P to do this with a locked bootloader?
http://www.droid-life.com/2013/02/1...date-a-nexus-without-root-or-custom-recovery/
roaddaw9 said:
Let me rephrase the question based on the article below. Does this still work with the Nexus 6P to do this with a locked bootloader?
http://www.droid-life.com/2013/02/1...date-a-nexus-without-root-or-custom-recovery/
Click to expand...
Click to collapse
you can update via recovery with locked bootloader but you need update file.. Not factory image..
Michalko5896 said:
you can update via recovery with locked bootloader but you need update file.. Not factory image..
Click to expand...
Click to collapse
That was the piece I was missing, thank you

How to re unlock bootloader

If go to stock and relock bootloader for OTA, what is procedure to unlock again? Do you go back to the Moto site for a new code, or will they expect you to have the original unlock code (thus you could be outta luck if you bought the phone used , with an unlocked bootloader.)
The procedure is the same as when you first unlocked, although if you have the original unlock code you can skip getting a new one from Moto's site (it's the same code anyway), same rules apply, it will wipe everything and you must have OEM Unlocking in Developer options enabled as when the bootloader is relocked this option is turned off and must be turned on again manually.
Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc).
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
hometech99 said:
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
Click to expand...
Click to collapse
Here ya go..
http://forum.xda-developers.com/moto-x-style/development/pure-firmware-tuff-wip-t3224833
hometech99 said:
"Be aware you do NOT have to lock the bootloader to get an OTA update, the update script and the OTA server do not care if your bootloader is unlocked or not. The essentials are stock recovery and a stock system and boot image (meaning no root, Xposed, etc)."
Oh good...I'll try that first when ready . There's a thread somewhere with correct bootimage, recovery, and system I think?
Click to expand...
Click to collapse
Just look in my sig... if you read there are links to firmware, and instructions to lock and flash, or just flash the factory image. I would recommend flashing the complete system image though, not just the pieces.
acejavelin said:
I would recommend flashing the complete system image though, not just the pieces.
Click to expand...
Click to collapse
..but your flashboot instructions show the pieces. Did you modify the process, and get the whole system image?
Thanks!
hometech99 said:
..but your flashboot instructions show the pieces. Did you modify the process, and get the whole system image?
Thanks!
Click to expand...
Click to collapse
No, I meant each piece of the full image, don't skip any parts.

Downgrade from 7.1.1 to anything lower with a locked bootloader?

In short, phone is stuck in a bootloop for no reason that I would know.
Out of warranty, so that option isn't available.
I really just need to get the bootloader unlocked, but I can't access the main screen.
I can access the recovery and bootloader, but when I tried doing an ota update through recovery, (even with NUF26K) it kept failing.
I need to be able to flash a full factory image, which is why I need the bootloader unlocked.
Thank you!
matistight said:
In short, phone is stuck in a bootloop for no reason that I would know.
Out of warranty, so that option isn't available.
I really just need to get the bootloader unlocked, but I can't access the main screen.
I can access the recovery and bootloader, but when I tried doing an ota update through recovery, (even with NUF26K) it kept failing.
I need to be able to flash a full factory image, which is why I need the bootloader unlocked.
Thank you!
Click to expand...
Click to collapse
Hi... Did the bootloop came from nowhere or what were you doing when it happened?
What error do you get when you sideload the ota?
Tried formatting cache or factory reset?
Edit: You can't downgrade with a locked bootloader.
matistight said:
I can access the recovery and bootloader, but when I tried doing an ota update through recovery, (even with NUF26K) it kept failing.
Click to expand...
Click to collapse
You will not be able to unlock the bootloader without booting the OS and entering Dev Options to allow "OEM Unlocking". Now that the 7.1.2 beta is out, that OTA is worth giving a shot. I'd certainly try the suggestions above if the beta OTA fails. If a factory reset does not work, you may be able to fastboot format userdata and cache and try the OTA route again.
v12xke said:
You will not be able to unlock the bootloader without booting the OS and entering Dev Options to allow "OEM Unlocking". Now that the 7.1.2 beta is out, that OTA is worth giving a shot. I'd certainly try the suggestions above if the beta OTA fails. If a factory reset does not work, you may be able to fastboot format userdata and cache and try the OTA route again.
Click to expand...
Click to collapse
Completely gave up on this, but I will give you the error when I get home, it was somewhat contradicting.
I have a Oneplus X I am using now, but the screen size is killing my hands! Atleast I am not out a phone
Maybe there is a way to erase/corrupt the system and bootloader and ota with a 6.0.x? I didnt really like android N
matistight said:
Completely gave up on this, but I will give you the error when I get home, it was somewhat contradicting.
I have a Oneplus X I am using now, but the screen size is killing my hands! Atleast I am not out a phone
Maybe there is a way to erase/corrupt the system and bootloader and ota with a 6.0.x? I didnt really like android N
Click to expand...
Click to collapse
If you erase or corrupt the bootloader then the phone is hard bricked (if it already isn't). I think you need an unlocked bootloader to do that anyways. Any flashing or erasing command in fastboot is going to need an unlocked bootloader. Even if you did somehow manage to delete the bootloader, without the phone being unlocked you can't flash a new one = hard brick.
If your phone is BL locked, you can't access Android, recovery doesn't help, you're mostly out of luck. Some people have said that using MSkips toolkit recovered their phones, but others had no such luck. There's a lot of people in the same boat as you. Others have tried calling Google about the issue despite their warranty status. Your phone is locked and a stock OTA took it out, from the sounds of it. Maybe they'll be willing to work with you. The worst they can do is say no, can't hurt to try. Good luck!
Why do you want to downgrade?
rchtk said:
Why do you want to downgrade?
Click to expand...
Click to collapse
Never really like 7.x and it has been the only OS that has bricked my phone without being rooted.
Unfortunately you can neither use an OTA to downgrade nor flash a factory image without BL unlocked.
And I'm not sure that would help either. Your device corrupted itself for a reason and that might be the flash failing (which the Nougat update exhibited, but Nougat isn't the root cause probably). You could rather wait for a higher OTA and hope.
Any recovery log to post?
How old is the phone? 1 year?

[Q] Bootloop after May security update

Hey everyone, I need some help.
I have Magisk installed, and wanted to preserve root acces throughout the update (may security patch, ~80MB). I used this guide to do it, uninstalled Magisk, installed it on 2nd slot during phase 2, rebooted: bootloop. Stuck in an endless cycle: the kernel loads, but always reboots during the andorid one boot animation.
I'm looking for a way to make it functional while not losing my data, or a way to copy my data to a PC before flashing.
What can I do now?
Thanks in advance.
Flash stock ROM
Flash stock ROM through the MI FLASH TOOL..... download old version ROM through the XDA site nd flash it through MI FLASH TOOL also u can watch process on YouTube ....
Indiangautam said:
Flash stock ROM through the MI FLASH TOOL..... download old version ROM through the XDA site nd flash it through MI FLASH TOOL also u can watch process on YouTube ....
Click to expand...
Click to collapse
Will this preserve or wipe my data? I'm looking for a way that'll preserve my data.
droidx8 said:
Will this preserve or wipe my data? I'm looking for a way that'll preserve my data.
Click to expand...
Click to collapse
According to me no way to recover your data....if you flash stock ROM then all data will be wipe.....
Indiangautam said:
According to me no way to recover your data....if you flash stock ROM then all data will be wipe.....
Click to expand...
Click to collapse
Well let's not do that then, there could be another way... Thanks anyway!
droidx8 said:
Well let's not do that then, there could be another way... Thanks anyway!
Click to expand...
Click to collapse
As you wish....but if want to try my process then definitely your phone will bootup
droidx8 said:
Well let's not do that then, there could be another way... Thanks anyway!
Click to expand...
Click to collapse
You can choose to not wipe your data.
It's the "flash all except storage.bat"
You can download the last firmware here
http://en.miui.com/getrom.php?r=333&m=yes&app=false
You must have fastboot on your PC windows or Linux
So if you have a Windows just search how to install fastboot on Windows there's some great one on xda
Unzip the firmware open the flash all except storage bat
Remove both lines that contains
-OEM unlock
-OEM lock
Otherwise your data will be wiped and as you use magisk you want an unlocked bootloader
Open a powershell windows where the .bat file is
Then type without the quotes
"./flash_all_except_storage.bat"
Flashing procedure will take a few minutes on system partition but don't freak out
Once it's done reboot you'll be on 9.5.11 ROM version
You'll receive a 60mb ota to have the last one which is 9.11.13
You can boot TWRP to flash magisk now
And on next update download the last firmware
9.5.13 should be on the first link I gave you (there is always a delay between ota that are just patch and a full firmware that contains all the files)
Flash the boot.img or just reflash the ROM like above apply ota and reflash magisk
I ended up in the same situation but I think it's a technical problem where magisk is not concern I will not go into details but anyway this method is safe
JUST NEVER FORGET TO REMOVE THE OEM LOCK AND UNLOCK LINES since may update this will factory reset phone
ALWAYS USE THE "flash_all_except_storage" file
If you have some more questions I'm there
Dead-neM said:
You can choose to not wipe your data.
It's the "flash all except storage.bat"
I ended up in the same situation but I think it's a technical problem where magisk is not concern I will not go into details but anyway this method is safe
JUST NEVER FORGET TO REMOVE THE OEM LOCK AND UNLOCK LINES since may update this will factory reset phone
ALWAYS USE THE "flash_all_except_storage" file
If you have some more questions I'm there
Click to expand...
Click to collapse
Many thanks bro, worked perfectly! I haven't really kept up with android since 5.1, and now it's a bit hard to get back on track.
Data is intact, nothing lost, and the device is up and running.
droidx8 said:
Many thanks bro, worked perfectly! I haven't really kept up with android since 5.1, and now it's a bit hard to get back on track.
Data is intact, nothing lost, and the device is up and running.
Click to expand...
Click to collapse
Really nice to hear. Have fun with this little Beasty device

Categories

Resources