Relocking bootloader LineageOS - Moto G7 Questions & Answers

Has anyone had any luck re-locking the bootloader with LineageOS 16 installed? I used to do this on the Pixel with no issues, but the Motorola eco system is driving me crazy. Just for clarity....I am seeking to re-lock the bootloader with LOS installed (no-root), not taking it back to stock Android and re-locking.

Related

[ZenFone 5] Random screen freeze

EDIT: BOOTLOADER UNLOCKED, WHICH IS CAUSING THE FREEZE
Hey everyone, I have a rooted Asus ZenFone 5 16gb(firmware 3.24.40.87) running on 5.0, bootloader unlocked, with TWRP recovery, and Xposed framework(version 76) installed.
My device freezes randomly, even when I'm just leaving the screen on sometimes. This started happening after I unlocked my bootloader. Now, I know I could just relock it. But I want to flash stuff. So, is there any way to fix this? Can I just flash a ROM and then lock my bootloader? And unlock it to again flash a different ROM?
Anyone?
Sent from my ASUS_T00J using XDA-Developers mobile app
please follow this thread http://forum.xda-developers.com/zenfone-5/general/unlocking-zenfone-5s-bootloader-freeze-t3362234
and you cannot just flash a rom(like RR or AICP) and relock your bootloader.
only stock based roms (roms that can boot with stock kernel) are relockable (like cleanstock or gecko rom)
you can relock bootloader only on stock rom, if you use stock kerenel(boot.img), no on custom (cm12.1 cm13 aokp), if you are on stock, you should sideload lates ofiicial rom version, it will relock your bootloader itself, or you should try some re-lock tool

Q: What if relock booloader and OEM unlocking is disabled from developer option

I'm always a bit hesitate to relock bootloader if I'm on custom rom or rooted. I'm wondering what will happen if:
1. bootloader relocked.
2. OEM unlock is disabled from Developer option
3. device goes into bootloop or cannot boot up
At this point, does this mean device is essentially hard bricked since in fastboot, there is nothing I can do?
You should never, ever relock a bootloader if you are on a custom rom or rooted.
That's the thing. I'd very much wanna get LOS and Android pay working. If not locking bootloader, Android pay will not pass SafetyNet check.
Sent from my PH-1 using Tapatalk
Rooted with magisk it will pass the SafetyNet checks.
as mentioned above if you are interested in having custom roms or rooting your phone you should not relock your boot loader, you are risking bricking your phone. There have been ways with Magisk(and other roots) on other devices (havent tried with the PH-1) to be rooted and still pass safetynet checks, bootloader should only ever be relocked if you are running 100% stock. Even when running stock i prefer to have the bootloader unlocked being able to flash a different recovery is worth having to pull out a card to pay for stuff (for me).
nrage23 said:
Rooted with magisk it will pass the SafetyNet checks.
Click to expand...
Click to collapse
It seems magisk 14.3 having some issue for SafetyNet.
It works right after phone boot up, SafetyNet works. After certain time, it failed. Only reboot phone can make it works again.
As far as I know if your on stock ROM rooted and bootloader unlocked, ANDROID PAY will work with MAGISK
imna357 said:
As far as I know if your on stock ROM rooted and bootloader unlocked, ANDROID PAY will work with MAGISK
Click to expand...
Click to collapse
thanks. I'll check it out.
I'm currently using Oreo beta along with the magisk boot image prepared by invisiblek and seeing this SafetyNet issue. Maybe Nougat stock is better in handling this situation.

[SOLVED] No Update available

Hi my Moto G4 Plus(Stock Android 6.0.1, xt1642) don't gets updates anymore. I had Custom Roms installed. But restored the Stock Rom via TWRP. But Motorola published Android 8.1.0 a while ago.
Now my question: How to install the 8.1.0 Update?
Thanks in advance
Limosine
Which route are you wanting to use, TWRP or flashing fastboot stock firmware?
N.B. Back up your device in TWRP and keep the backup off your device before proceeding with either method.
1)Using TWRP to update your device (with an Oreo TWRP flashable) will not fully update your device - it will only update system, kernel and modem. However, this approach might be useful if you wish to downgrade back to Marshmallow, and retains TWRP. Your kernel and root will be replaced. https://forum.xda-developers.com/moto-g4-plus/development/rom-oreo-8-1-0-soak-test-t3873367 for the Oreo TWRP flashable firmware. You will not be eligible for OTA updates.
2)Using the fastboot flash firmware means a more complete update, so possibly fewer issues and greater stability, however you should not downgrade safely after formally updating. For the Oreo fastboot firmware: https://forum.xda-developers.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 You do not have to lock your bootloader (omit fastboot oem lock begin and the fastboot oem lock commands), and if you so choose, you could try to keep your data by omitting fastboot erase userdata. However, in case of instability, you may have to factory reset your device. TWRP, root and any modifications will be overwritten.
My UK XT1642 G4 Plus is running on OPJ28.111-22 with an EMEA baseband without issue. I hope this is the same case for yours.

Can G5+ be upgraded to Oreo via OTA and then rooted

If I end up with the 4/64 variant (then my 2/32 lives on as some backup device/wifi)...pretty sure it still will have stock Nougat. If I upgrade immediately to Oreo via OTA, can I still unlock the bootloader and root, or unlock it on Nougat and then upgrade via OTA and then root it?
Also, true I couldnt reflash a TWRP backup of a Pie ROM on my 2/32 and into a 4/64?
g 5 +moto
re lock ur bootloader back to stock then up grade to 8.1 if ur a senior member you should know that.2/32 4/64 are hardware in your phone .
Not exactly the answer I was looking for. The exact question is, unlock bootloader on Nougat or unlock after upgrading to Oreo? Or get the unlock code while on Nougat, upgrade to Oreo and then unlock and root?
If you're not currently bootloader unlocked, then you'd be best to take the OTA. After that, you can unlock the bootloader and root. If you're already unlocked, then you'd probably be better off just getting a TWRP flashable oreo build and just flash that. I wouldn't take a TWRP backup from one phone and restore it to another, since it might cause issues with things like serial numbers and IMEI. You'd be better making a backup with Lenovo Moto Smart Assistant or something similar. Just remember that unlocking the bootloader will wipe the phone. So if you re-lock it, or it's not currently locked, make the backup before doing that.
Update to Oreo with LMSA, unlock bootloader then root. Make backup before all. LMSA will prompt you to make back up, I think.

How to lock OEM on OnePlus 6T McLaren

Hello Team,
I have rooted my phone (OP 6T McLaren) and wants to re-lock the OEM.
How did I root it?
https://www.youtube.com/watch?v=dL2XwYDDW2s
Tools used to root the phone - TWRP (twrp-3.2.3-2-fajita), Magisk (v20.1) and fastboot
Current Details
Oxygen OS Version - 9.0.17
So the question is - Can I lock OEM with TWRP and Magisk on the phone? If not, how and would much appreciate if someone can put me in the right direction please?
KomodoPlus said:
Hello Team,
I have rooted my phone (OP 6T McLaren) and wants to re-lock the OEM.
How did I root it?
Tools used to root the phone - TWRP (twrp-3.2.3-2-fajita), Magisk (v20.1) and fastboot
Current Details
Oxygen OS Version - 9.0.17
So the question is - Can I lock OEM with TWRP and Magisk on the phone? If not, how and would much appreciate if someone can put me in the right direction please?
Click to expand...
Click to collapse
Reflash your rom through local upgrade to get rid of twrp & root..
And then proceed to relock the bootloader via fastboot
Relocking the bootloader will wipe everything on your phone..
Locking your bootloader with TWRP and Magisk will result as a brick i thing, it's not adviced to do so. Only relock when everything is stock

Categories

Resources