I just factory reset my Moto G4 and I don't intend to root or have a custom recovery. Can I lock my bootloader using fasboot oem lock? If I want to unlock my bootloader again, will I be able to use the unlock code Motorola sent to my email when I first unlocked the phone?
Thanks.
stkpxl said:
Yes to all of those. That code is unique to your phone so it will always work. In my experience though, it always asked to flash the stock firmware when you start the OEM lock procedure. Not sure if it does it no matter what, or only if you've made modifications. Either way, it's good to have a stock firmware file on hand when you do it.
Click to expand...
Click to collapse
Yeah well I'm having another problem, can't find the XT1622 reteu stock firmware...
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Yes. Flash complete stock everything, boot into bootloader, connect to PC, and "fastboot oem lock".
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Kevinkuensken said:
Is it sure that it works??I have a A2017G and i have open BL and a B29 Custom Rom and i want back to Lock Bootloader
Click to expand...
Click to collapse
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Kevinkuensken said:
Im on stock and then i go to edl and then i type fastboot oem lock but nothing happend
Click to expand...
Click to collapse
Boot into bootloader, not EDL.
Erahgon said:
Yup! I've done it plenty of times. You do need to format the data partition though. This could mean that it'll wipe out even your internal storage, so back that up as well!
Click to expand...
Click to collapse
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Locking it again is good for when you want to sell the device or send it in for warranty repair.
BlazingBullets said:
and you can unlock it again afterwards?
Never heard of anyone wanting to lock the bootloader so I'd a newb in this kind of thing.
Click to expand...
Click to collapse
Yeah, the unlock procedure is the same as before. If you didn't restore the original boot image before the relock, then it's just a matter of booting into fastboot and unlocking the device. Note that this will cause your data to be wiped as well!
If you restore your boot.bin backup file from when your device was locked, does this lock the bootloader? "fastboot oem lock", "fastboot flashing lock" nor "fastboot oem device-info" does nothing for me. Is there any other way to check if your bootloader has been relocked?
Thanks
H0lmEd said:
I'm holding off twrp + bootloader unlock because I want to be able to undo in case I need to use my warranty. Is twrp/bootloader unlock reversible? Many thanks
Click to expand...
Click to collapse
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
joaste said:
Hi there,
Were you ever able to re-lock your bootloader on your A2017G?
I just want root for now but understand that I'll need to unlock the bootloader first. Before doing that, I want to make sure I can re-lock the bootloader if needed.
Thanks for letting us know!
Click to expand...
Click to collapse
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
sauerkraut17 said:
Guys/Gals, it is seriously as simple as using the fastboot command in reverse. I've done it a few times already with mine.
If you used the following to unlock....
fastboot devices
fastboot oem unlock
.....then you can use the following commands to relock
fastboot devices
fastboot oem lock
fastboot devices is not necessary, but I do it to make sure the devices is being recognized by ADB/FASTBOOT
Click to expand...
Click to collapse
Thanks for the answer.
But there are a few files to flash before using that command according to this thread.
Doesn't anything need to be flashed again (e. g. stock files or anything)?
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
sauerkraut17 said:
Correct, but you would have already flashed those in order to use the unlock command in the first place.
Are you trying to relock on marshmallow or nougat?
Click to expand...
Click to collapse
My phone is only a few days old. I'm debating whether to keep it or not (considering the Mate 9, but the price is not the same - love the form factor and bigger screen though - sound won't be the same and I think I'll miss the MiPop button on the Axon (never thought that would happen )).
I'm on the latest MM (B10 - the A2017G model).
Following the mentioned thread, I got to the point of installing TWRP (the signed version), only to realize that besides making backups, there is not much else I can do with that without unlocking the bootloader. I really just wanted to flash supersu and install adaway fro the time being until development matured for this phone (maybe also play around with viper - had great results on my LG G4).
HI, I get the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock". Any way to fix this?
Guys, can anyone help me? I really need to lock the bootloader!
How can I fix the error "FAILED (remote: unknown command)" in ADB when I enter "fastboot oem lock"?
I'm on MM B11 Stock.
https://i.imgur.com/fdkgYs6.jpg
Hi Guys,
The Axon 7 Model A2017U I just purchased has the bootloader locked and it is running LineageOS 14.1 - 2018032-Nightly-axon7. I need to relock the bootloader and get back to the stock MiFavor rom so that I can send the phone to ZTE for repair. Can you please explain to a newb in some detail how to achieve that.
Thank you.
hey I am on nougat 7.1.2 and am trying to relock my bootloader to sell my phone and buy a pixel but I am can't do this as option is greyed out in developer options, can anyone help please?
Malerin11 said:
hey I am on nougat 7.1.2 and am trying to relock my bootloader to sell my phone and buy a pixel but I am can't do this as option is greyed out in developer options, can anyone help please?
Click to expand...
Click to collapse
You can't lock it by developer options. What you need to do is do fastboot oem lock for windows or fastboot flashing lock on Linux. Just do the fastboot command you did to unlock your bootloader but instead of unlock type lock. Then select yes on your phone and the bootloader will lock.
Thanks for your reply, I got the bootloader relocked using adb after previously not working for me, I had to update adb fastboot files
I have read multiple threads on here saying that only the European version of the G6 is unlockable by using LG's bootloader unlock tool. But I just saw a "Enable OEM unlock" setting in the developer options on my G6 (US997).
Can anyone tell my, what this does?
Enabling that setting just allows for the bootloader to be unlocked it doesn't unlock it directly.
Sent from my LG G6 using Tapatalk
You can still unlock your bootloader for what it's worth on the us997. You'll need to have that option enabled in the Developer tools and then go to the official LG website, where you can get a flashable unlock.bin which you just fastboot flash unlock unlock.bin to the phone.
(I would post the link but newbie status)
Hello friends,
Need help here. I am willing to buy T-mobile variant of V20. Its on firmware H91010t march security update. I searched all over the forum for the last one hour but could not get the clear cut answer. If this device can be bootloader unlocked. Can I downgrade to any unlockable older version and unlock the bootloader or now its not possible? Any help will be greatly appreciated. Thanks.
Yeah the H918 is bootloader unlockable, however you need to use a root exploit in order to utilize it as there are limited fastboot commands available.
If you're not familiar with Linux though you should wait for the automated version of the exploit to be released so you can make sure you don't mess anything up.
PhantomGamers said:
Yeah the H918 is bootloader unlockable, however you need to use a root exploit in order to utilize it as there are limited fastboot commands available.
If you're not familiar with Linux though you should wait for the automated version of the exploit to be released so you can make sure you don't mess anything up.
Click to expand...
Click to collapse
Thanks bro. Please clarify one more thing. It says we must have bootloader unlocked before proceeding this process. So T-mobile varient comes boot loader unlocked?
hellboyborn said:
Thanks bro. Please clarify one more thing. It says we must have bootloader unlocked before proceeding this process. So T-mobile varient comes boot loader unlocked?
Click to expand...
Click to collapse
It comes locked, but it can still (and must) use fastboot oem unlock to unlock the bootloader (the reason exploits are needed is because the h918 fastboot can not flash anything). As usual fastboot oem unlock will factory reset the device so make backups.
As far as rolling back, don't rollback too far or youll brick: just roll back to the version explictly named in the lafsploit guide.
you must enable developer mode and turn on usb debugging <~~~~ in about phone section find the Build number and click it 6-7 times to enable the developer mode option. after that follow the fastboot oem unlocked commands, after unlocking the bootloader. if you want to roll back on firmware DO NOT go before H91810p or you will brick your phone, so your options are h91810p ,q ,r,s, or t which your on. follow the lglaf h918 information in the xda forums. go into search and type lglaf h918. hope this helps