Hi! Does anyone know how to lock the bootloader?
Previously, I experimented with installing GSI (PixelExperience, Havok OS, etc.). But as it turned out, the original system is much more stable than the GSI (although I may not have found the correct GSI
I want to return the phone to the state it was before unlocking the bootloader. That is, now I have the bootloader in the "unlocked" state. And I want it to be "blocked". Thus, the phone will be almost in its original form.
Try crDroid from this forum
It's better than stock
Related
I had a Nexus 5X with stock Android 6 software. Android Pay was working fine.
I was having a few lag issues and noticed the final Nexus factory image was available for Android 7 so I decided to unlock my bootloader and install the factory image. After I installed it, Android Pay was still working fine.
Then I received an OTA update for the monthly security hotfixes which I installed. Since doing this, Android Pay doesn't work. It says something about my phone being rooted/unlocked and that Android Pay does not support this.
Can anyone tell me why this is happening? I don't need to keep my bootloader unlocked so if locking will allow me to resolve the issue without losing data then I can do this. Can anyone guide me please?
Try flashing a kernel from The Flash or Franco.
Both have a line of code that should stop the bootloader error in safetynet
Thank you but I don't want to put on any custom stuff. I just want to go back to a stock Android 7.0 ROM that works with Android Pay. I don't need root, or an unlocked bootloader. How can I go back to stock?
You can use something like wugs nexus tool.
Although some have mentioned you can brick your device trying to lock the bootloader.
Personally I have never done it. Others might have more experience.
It may or may not be easier to lock than to use a custom kernel. YMMV.
One benefit of the kernel is increased performance on your phone.
Oh and if you lock your bootloader it will completely wipe your phone. E.g. You will lose your data.
Edit.. Root isn't needed for a kernel either
Start the device in fastboot mode again, as described above.
Execute:
fastboot flashing lock
or, for older devices, run:
fastboot oem lock
Locking bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must run fastboot oem unlock again, which will wipe the data.
Source: https://developers.google.com/android/nexus/images
Ah okay, thanks for the info. What I should have done originally was re-lock the bootloader straight after I flashed the ROM. Unfortunately, I setup the device after flashing the ROM and kept the bootloader unlocked which is why I'm stuck right now. Okay, time to backup my stuff up and re-lock the bootloader. Thanks everyone.
i was wondering if i unlocked the bootloader and installed a custom rom i`m not willing to change soon, can i lock the bootloader again while i have this rom?
iHookar said:
i was wondering if i unlocked the bootloader and installed a custom rom i`m not willing to change soon, can i lock the bootloader again while i have this rom?
Click to expand...
Click to collapse
Certainly you can if you are prepared for a bricked device later. I mean, it is not advisable to lock the bootloader if you have a custom ROM since any issues arise later, you will not be able to solve them. In addition, even if you manage to unlock the bootloader again in such a scenario, you will lose all your data including files, photos, videos etc.
If you properly sign the firmware, you don't even have to unlock the bootloader, see https://forum.xda-developers.com/oneplus-3t/how-to/guide-custom-kernels-roms-recoveries-t3572525
Hi,
I have recently bought a T-mobile version of OP7T. Even though T-Mobile unlocked the network permanently, I still didn't like T-mobile branding at the start, plus I wanted Stock OxygenOs. So what did I do?
(No root and No TWRP)
1. I've Unlocked the bootloader via the method in this post. Stage-1
2. I have flashed the stock rom which I downloaded from this post. Stage-2
3. Phone loads up perfectly fine and now I have stock OOS. to make sure everything is fine, I also did a factory reset and re-flashed the stock rom to make sure there's no track of previous roms.
4. I then wanted to relock the bootloader in order to keep my device safe and enjoy having a normal device like any others without the ugly message at the startup.
5. So I put it in fastboot mode and executed "fastboot flashing lock" or "fastboot oem lock" and it gave me the options and I locked the bootloader.
6. after this, I can't do anything else. it keeps showing me the page where it says Your device is corrupt. It can't be trusted and will not boot and in order to get rid of I need to keep unlocking the devices relfashing everything and the rest of the story.
I've read all the accurate and inaccurate infos on forums where another guy claims when he did turn everything to stock (recovery + rom + factory reset) things go back to normal and he's done. in my case it doesn't work.
Please help me, how I can be able to relock the bootloader without running into Your device is corrupt. It can't be trusted and will not boot.
Thanks.
First I think no help is stupid, since that is the regular way of doing it. Second you should have read extensively before doing what you did. T-mobile is very specific device. What he probably didn't mention is that you need the original rom t-mobile branded, since you need original software to be able to relock bootloader. I would recommend use msm- tool to recover you device. Read carefully and next time just be sure that what you are doing is informed.
I have unlocked the device and installed everything. the phone works like a charm.
My only problem is that I can't re-lock the bootloader.
bahadorkh said:
I have unlocked the device and installed everything. the phone works like a charm.
My only problem is that I can't re-lock the bootloader.
Click to expand...
Click to collapse
That was my point in order to relock your device you must have the original firmware that the phone came with if it's t-mobile. Installed in both slots. Then you can relock you device.
Please try this thread
[OP7T T-MOBILE][OOS 11.0.1.5 HD63CB] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
After the first boot you must update via OTA, then after the 7T reboots you can go back into the bootloader and relock it. I'm typing this message out on my T-Mobile 7T running the Global OOS 11 version. _ANY_ modification to the system whatsoever will cause the "Device is Corrupt" error, due to a mismatch of the keys used by OnePlus to sign the firmware. I've attached a screenshot of my "About phone" section as proof of the conversion, however, I can't show proof of my bootloader's state because I don't have access to a PC at the moment and *#*#7378423#*#* didn't work, neither did *#*#7378423*#*#. If I remember to the next time I'm near a PC I'll add proof of that too.
For further reading see::
1.) https://source.android.com/security/verifiedboot/boot-flow#locked-devices-with-custom-key-set
And
2.) https://source.android.com/security/verifiedboot/dm-verity
P.s. I do realize that I'm almost a year late to this discussion, but I thought knowing would/could still be useful to someone.
Hello.
I am currently looking to buy this phone and flash a custom os, if someone could please answer them that would be great:
1) After unlocking and locking does the phone go back to Widevine L1?
2) How easy is it to unlock the phone's bootloader (is it as simple as fastboot oem unlock or similar?) and how hard is it to lock the phone's bootloader (is it as easy as fastboot oem lock?)
3) Do most custom OS's support Widevine L1?
4) If I lock the bootloader whilst having a custom OS how hard is it to flash back the stock OS?
Looking forward for replies.
Hey there!
1. I am currently rooted and it still says Widevine L1 (checked with DRM Info app).
2. I don't think there's a phone that has easier bootloader unlocking/locking.
3. The Zephyrus custom ROM, which I currently use has Widevine L1 support. I don't know about other roms.
4. Haven't done that personally, I know GrapheneOS recommends locking the bootloader for better security, but I am pretty sure it doesn't have to be permanent, and it should be fairly easy to go back to the stock firmware. Just remember not to lock the bootloader while rooted, as that would brick your device and it probably wouldn't be easy to fix.
Hello. For exact instructions on how to unlock the bootloader, click the yellow "How-To Guide" quick filter at the top of the list of threads in this section. You'll see three or more guides that include the subject.
Hello all,
I've had problems with my former device after it being bootloader unlocked. I didn't try to relock the device though.
Now I got a new Xiaomi device based on Mediatek like 11t. In this instance, though, it comes with a global rom with a abhorrent suite of google apps.
I don't mind about google's messaging but the google's phone app is unusable for me. I'm hating even the intro page. (what I want is a secure dialler app that opens to a keypad while letting me search and find my contacts through the keypad, instead of using the full virtual keyboard.
From what I gather from the plethora of forum entries and youtube videos, I'm understanding Xiaomi side-stepped regulatory issues regarding the contact related apps by just simply offloading those with google's bad apps in many regions.
And I can only get to the old phone app (Xiaomi's) by loading Taiwanese, Indian, Chinese roms.
Chinese roms have a differing set of communication parameters with the network, so it's not suitable for me.
Xiaomi.Eu is simply a custom rom based on Chinese stocks, so it can't be re-locked after a fastboot install.
I have global stock miui 13 rom currently on my device.
So the lingering question for me is this:
After unlocking with Mi Unlock, I'll install stock Taiwanese rom to my device via fastboot method;
1- Then, would I be able to lock the bootloader (relock) again?
2- If yes, are there any risks involved or future crashes with the locked bootloader on a different stock rom, and would I be able to continue receiving OTA's for the particular taiwanese region stock rom?
If the answer 2nd question is "no", then there is no point in choosing taiwanese rom over Xiaomi.eu rom. Xiaomi.eu might just be better since it provides a semi-reasonable path for future sw updates.
If the answer for the 1st question is "no", then,
3- Am I be able to gain locked status again, provided I fastbooted and flashed the global stock rom in a future time?
katilkurt said:
Hello all,
I've had problems with my former device after it being bootloader unlocked. I didn't try to relock the device though.
Click to expand...
Click to collapse
The 11T (AGATE)is intended for the global market so no Chinese rom.
Xiaomi Eu rom does not provide rom for this device.
You can relock the bootloader without any problem.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/