factory restet / unstall twrp / relock bootloader [H870] - LG G6 Questions and Answers

Hey Guys,
im going to switch my black G6 to a platimum one - so i have to relock the bootloader. I know how to do this, but first i have to get rid of twrp .
Can one of you tell me, how to performe a completet factory reset, so i can relock my bootloader?
thx in advance!

fonsi78 said:
Hey Guys,
im going to switch my black G6 to a platimum one - so i have to relock the bootloader. I know how to do this, but first i have to get rid of twrp .
Can one of you tell me, how to performe a completet factory reset, so i can relock my bootloader?
thx in advance!
Click to expand...
Click to collapse
Flash original recovery and firmware then send the lock command via ADB to lock bootloader

basicreece said:
Flash original recovery and firmware then send the lock command via ADB to lock bootloader
Click to expand...
Click to collapse
thank you, but how do i get the original recovery file? i didnt find it.
with my pixel and oneplus 3t i was able to flash stock rom and this reseted recovery, too.
I already flashed the actual stock rom with twrp (https://forum.xda-developers.com/lg-g6/development/rom-eu-lg-h870-10n-rom-t3637828), but this zip was made to keep twrp. Now i´m wondering how to flash a full stock rom, inkl. recovery or just flash recovery....

basicreece said:
Flash original recovery and firmware then send the lock command via ADB to lock bootloader
Click to expand...
Click to collapse
Realy adb relock bottloader work thats it? just easy?
On G4 not working...
If realy working very good news me thanks anyone confirm this!

Hey guys,
i still didn´t get it to work. Any Tipps for a LG Noob, how to get back to stock recovery?
plz give me a hint or throw a link in at me, If i´m missing something obvious :silly:

Can't you just install the official LG suite software on a desktop or laptop and then use that? It will probably detect the missing or "damaged" recovery and then automatically "repair".

https://www.androidfilehost.com/?fid=817550096634787189 thats the original recovery.img from 10n kdz flasht it with twrp oder flashfire app and twrp is gone

westwood24 said:
https://www.androidfilehost.com/?fid=817550096634787189 thats the original recovery.img from 10n kdz flasht it with twrp oder flashfire app and twrp is gone
Click to expand...
Click to collapse
Thank you..i will give it a try tonight.

westwood24 said:
https://www.androidfilehost.com/?fid=817550096634787189 thats the original recovery.img from 10n kdz flasht it with twrp oder flashfire app and twrp is gone
Click to expand...
Click to collapse
Thank you. This did the Job.
Now I'm on stock rom with stock recovery, but the "fastboot oem lock" leads to a "corrupt device" that will not boot anymore. Can't the H870 (europe) be relocked, once it was unlocked via unlock.bin?

Isn't that the exact same procedure but then simply choosing "lock"?

ASW1 said:
Isn't that the exact same procedure but then simply choosing "lock"?
Click to expand...
Click to collapse
i thought it was, but as a mentioned, it leads to a startscreen, that says: your device is corrupt and will not boot. after flashing the unlock bin it boots again

fonsi78 said:
i thought it was, but as a mentioned, it leads to a startscreen, that says: your device is corrupt and will not boot. after flashing the unlock bin it boots again
Click to expand...
Click to collapse
Is there a "lock.bin" file that can be fetched from the LG site maybe?

From the LG developer site:
4. Once unlocked, it cannot be undone.
There is no turning back once you have unlocked the bootloader. You will not be able to revert your phone to locked status.
Click to expand...
Click to collapse
Didn't you read this information before unlock the bootloader???

Montechristo said:
From the LG developer site:
Didn't you read this information before unlock the bootloader???
Click to expand...
Click to collapse
i read it..:angel:
but i also read here @xda that you can relock it, if you restore to stock rom, via kdz & LG Up an then fastboot oem lock...and it worked, finally.
Thx to everyone for your help..i really, really appreciate it!

fonsi78 said:
i read it..:angel:
but i also read here @xda that you can relock it, if you restore to stock rom, via kdz & LG Up an then fastboot oem lock...and it worked, finally.
Thx to everyone for your help..i really, really appreciate it!
Click to expand...
Click to collapse
I'm interested in buying a LG G6. Can you please explain a little bit more what you did to re-lock? Where did you get the kdz image (which region) and what steps did you do? I'm completely new to LG devices.

Related

Relock bootloader/Unroot/Stock recovery on Oneplus Two?

Hello, after two weeks with my OPT I've decided to sell it, I don't like it.
My OPT has Unlocked Bootloader, root and TWRP. I would like to know how can I restore it like it comes from factory (Locked bootloader, unroot and stock recovery)
Thanks everyone.
There are quite a few tutorials on this, i think there is one here also (sorry cant post links), otherwise there is on the official forum on Oneplus website. IF you need video tutorial search for TheUnlockr on YT they posted a tutorial yesterday. Best of luck.
Ok thank you. It's done.
nathebest said:
Ok thank you. It's done.
Click to expand...
Click to collapse
can you say how you did it? i know i can flash the stock Oxygen file but i am having no luck finding the stock recovery so i can replace TWRP.
Rattles said:
can you say how you did it? i know i can flash the stock Oxygen file but i am having no luck finding the stock recovery so i can replace TWRP.
Click to expand...
Click to collapse
This vvv
iterva said:
There are quite a few tutorials on this, i think there is one here also (sorry cant post links), otherwise there is on the official forum on Oneplus website. IF you need video tutorial search for TheUnlockr on YT they posted a tutorial yesterday. Best of luck.
Click to expand...
Click to collapse
Of course, after you have flashed stock OxygenOS in TWRP, you wipe data/cache and click reboot system. TWRP ask you to swipe to keep TWRP or you click on Not Disable. Just click on it and the stock recovery is back.
For the bootloader, start the phone on fastboot mode (VOL UP+POWER) and type "fastboot oem lock" in a terminal window.
nathebest said:
Of course, after you have flashed stock OxygenOS in TWRP, you wipe data/cache and click reboot system. TWRP ask you to swipe to keep TWRP or you click on Not Disable. Just click on it and the stock recovery is back..
Click to expand...
Click to collapse
that's the problem, it never asked me to swipe to keep twrp. it just flashed OxygenOS but kept the recovery. oh well, all good now!
nathebest said:
TWRP ask you to swipe to keep TWRP or you click on Not Disable. Just click on it and the stock recovery is back.
Click to expand...
Click to collapse
This is available only on the unofficial TWRP.There's no such choice in the official one.
Tapped from my ❶+❷
vaisakh7 said:
This is available only on the unofficial TWRP.There's no such choice in the official one.
Tapped from my ❶+❷
Click to expand...
Click to collapse
Ok, I didn't know that.
v7 said:
This is available only on the unofficial TWRP.There's no such choice in the official one.
Tapped from my ❶+❷
Click to expand...
Click to collapse
I have Official TWRP how do i go back to stock recovery ?
nathebest said:
Ok thank you. It's done.
Click to expand...
Click to collapse
Hi. Are you able to successfully relock your bootloader? Because I've read some people who relocked the bootloader just bricked the device.
Same situation, though in my case, Im returning the device. Does anybody know if I even have to relock the bootloader before I return it? Its unlocked and rooted with official twrp recovery.
From what I have read so far, relocking the bootloader will brick the device if one does not restore the stock recovery first. But am not 100% sure this is right. Also, I saw a few people posting the stock recovery, but its unclear what version of the device the recovery is for. If Im not mistaken, there are three versions of the hardware, Chinese, Europe (and India) and US. Is it okay to flash a stock recovery from a different region? If not, is there any other way to go back to stock recovery before bootloader relock?
UPDATE: Scratch that, I just had a chat with OnePlus Support and was told that when returning a device to seller, there is no need to unroot and relock the bootloader. If anything, trying to do so might brick the device and kill the warranty, but unlocked and rooted, warranty still applies, and its perfectly fine to return as is.

ROOT // I want to make sure

I read a few arcticles, but still I´m not sure
I want Unlock my Bootloader and get to my zenfone 2 TWRP (is that mean Flash it? ) and then Root? (SUPERsu)
But I´m not sure what donwload for my version, and which ADB, etc, can anybody tell me more?
MY ZENFONE2 is
Zenfone 2 ZE551ML 16gb // 4 gb
Z00AD
last official update is .....Z00A-2.20.40.183
core version 3.10,20-x86-64 moor
Unlock bootloader officially or unofficially. White ASUS Splashcreen will appear if unlocked successfully. Then go to bootloader then flash your twrp and now you can install customs ROM.
You can still root your device without unlocking bootloader or flashing twrp. Just download a pre-rooted firmware then flash using commands.
24imelqui said:
Unlock bootloader officially or unofficially. White ASUS Splashcreen will appear if unlocked successfully. Then go to bootloader then flash your twrp and now you can install customs ROM.
You can still root your device without unlocking bootloader or flashing twrp. Just download a pre-rooted firmware then flash using commands.
Click to expand...
Click to collapse
Can this be done within the stock recovery of the phone, or are you talking about something else?
Chocketbear said:
Can this be done within the stock recovery of the phone, or are you talking about something else?
Click to expand...
Click to collapse
Have the same Question
Chocketbear said:
Can this be done within the stock recovery of the phone, or are you talking about something else?
Click to expand...
Click to collapse
You dont need to be in the recovery to this, you just need to be in bootloader mode, connect your device to you computer then fastboot flash the parts of the pre-rooted firmware using fastboot commands.
24imelqui said:
You dont need to be in the recovery to this, you just need to be in bootloader mode, connect your device to you computer then fastboot flash the parts of the pre-rooted firmware using fastboot commands.
Click to expand...
Click to collapse
are you reffering to one click root method?
Iqballoon said:
are you reffering to one click root method?
Click to expand...
Click to collapse
No
24imelqui said:
You dont need to be in the recovery to this, you just need to be in bootloader mode, connect your device to you computer then fastboot flash the parts of the pre-rooted firmware using fastboot commands.
Click to expand...
Click to collapse
Thanks, but I went with the one-click root and just unlocked the bootloader. I installed the Xperia rom and it's working really good. I've just waited to root this bish because I had to send it back to asus two times for repair " what a pain in the ****ing ass too "
Chocketbear said:
Thanks, but I went with the one-click root and just unlocked the bootloader. I installed the Xperia rom and it's working really good. I've just waited to root this bish because I had to send it back to asus two times for repair " what a pain in the ****ing ass too "
Click to expand...
Click to collapse
Whats wrong with the phone why it need to be repaired? Im just giving the OP the options on how to root his phone.
So I Can install dirty unicorn version like that? and flashing command like what?

Returning to Stock

I just got this phone and I'm debating on unlocking the bootloader and rooting it and I was just curious if in the future I need to return it to stock (especially for selling it in the future) how do you go about doing that? Do you just flash one of the stock firmwares though TWRP like I found here? http://downloads.codefi.re/autoprime/LG/LG_G6/US997/US997-USA/US99714a
Then what do you do if that is correct? Also how do you relock the bootloader? I'm sorry if these are noob questions but I have been out of the modding game for a good while.
pwnerman said:
I just got this phone and I'm debating on unlocking the bootloader and rooting it and I was just curious if in the future I need to return it to stock (especially for selling it in the future) how do you go about doing that? Do you just flash one of the stock firmwares though TWRP like I found here? http://downloads.codefi.re/autoprime/LG/LG_G6/US997/US997-USA/US99714a
Then what do you do if that is correct? Also how do you relock the bootloader? I'm sorry if these are noob questions but I have been out of the modding game for a good while.
Click to expand...
Click to collapse
Just flash a kdz trough LGup and the phone will be completely stock, no twrp and no root. Then you have to only lock the bootloader by typing "fastboot oem lock". Don't run this command while you have twrp and root!
Ah, and the fact you have relocked the bootloader doesn't mean that you recovered the manufacturer warranty, LG can easily verify if you used the unlock bin.
Killua96 said:
Just flash a kdz trough LGup and the phone will be completely stock, no twrp and no root. Then you have to only lock the bootloader by typing "fastboot oem lock". Don't run this command while you have twrp and root!
Ah, and the fact you have relocked the bootloader doesn't mean that you recovered the manufacturer warranty, LG can easily verify if you used the unlock bin.
Click to expand...
Click to collapse
What exactly is LGup? Thanks
Sent from my XT1575 using Tapatalk
pwnerman said:
What exactly is LGup? Thanks
Click to expand...
Click to collapse
Is a tool that allows firmware flashing on last lg devices.
Killua96 said:
Is a tool that allows firmware flashing on last lg devices.
Click to expand...
Click to collapse
I did some searching and found this. Is it the correct thing? http://rootmygalaxy.net/download-latest-lgup-tool-for-lg-devices-flash-tool/
Also just to be clear I unlock my bootloader, install TWRP and root the phone. If I ever want to go back to stock for selling the phone or whatever I just download the latest KDZ file like I linked to above and then I flash it to the phone and it will return everything back to stock? Then after that you just do the relock command and the bootloader is closed again?
I appreciate your help. I just to be super clear.
pwnerman said:
I did some searching and found this. Is it the correct thing? http://rootmygalaxy.net/download-latest-lgup-tool-for-lg-devices-flash-tool/
Also just to be clear I unlock my bootloader, install TWRP and root the phone. If I ever want to go back to stock for selling the phone or whatever I just download the latest KDZ file like I linked to above and then I flash it to the phone and it will return everything back to stock? Then after that you just do the relock command and the bootloader is closed again?
I appreciate your help. I just to be super clear.
Click to expand...
Click to collapse
Pretty much yes, search for uppercut if you have driver problems with LGup, and for firmwares this is the best site to download them: https://lg-firmwares.com/lg-h870-firmwares/
Killua96 said:
Pretty much yes, search for uppercut if you have driver problems with LGup, and for firmwares this is the best site to download them: https://lg-firmwares.com/lg-h870-firmwares/
Click to expand...
Click to collapse
I have the US997 model but I found them on the site you linked to so thank you for the help
pwnerman said:
I have the US997 model but I found them on the site you linked to so thank you for the help
Click to expand...
Click to collapse
Ok then
LGUP
Hi, so I started flashing the kdz on my LG G6 using LGUP and it starts, but then randomly quits out. It's recognising my device and the file is definitely the correct one. Any hints as to why it's not working?
EDIT: I managed to fix it, apparently Windows Defender was seeing Uppercut as a virus and stopping it from creating the files it needed to. So make sure you turn off Windows Defender when you do this.
My experience with returning phone to stock is bad. First unlocked bootloader, installed twrp, bootloader for havoc ROM and ROM itself..
Havoc 3.1 OK, but BT calling not working, so I decide go back to stock.
LGUP used without problem, but then camera neither flash ligh doesnt work anymore.
Last firmware for H870 used from official.
Have someone same shi t experience like me?
Trying everything, but no success.
So its not easy go back to stock again..
(My phone is H870 for EU)
bobafel said:
My experience with returning phone to stock is bad. First unlocked bootloader, installed twrp, bootloader for havoc ROM and ROM itself..
Havoc 3.1 OK, but BT calling not working, so I decide go back to stock.
LGUP used without problem, but then camera neither flash ligh doesnt work anymore.
Last firmware for H870 used from official.
Have someone same shi t experience like me?
Trying everything, but no success.
So its not easy go back to stock again..
(My phone is H870 for EU)
Click to expand...
Click to collapse
It's a known problem, the A10 ROMs somehow mess with files needed for stock camera that aren't included in stock pie.
You have to flash Oreo bootloader and then 30b zip for the camera to work.
If that doesn't work flash Oreo kdz and update to Pie.
grushnickij said:
It's a known problem, the A10 ROMs somehow mess with files needed for stock camera that aren't included in stock pie.
You have to flash Oreo bootloader and then 30b zip for the camera to work.
If that doesn't work flash Oreo kdz and update to Pie.
Click to expand...
Click to collapse
Problem finally solved!
Tried many times flash Oreo bootloader and then 30b(pie), 20a (oreo). With 30b everythings work except camera. With oreo 20a phone wasnt even bootup normally.. (after reset just screen with green android and message "No commands" appear. I used LG UP 1.14 with Uppercut.
Then after many unsuccesses I put phone to state where bootloop appeared and I thought about to throw it into garbage.
ADB shell and TWRP saved me... I was again able flash roms.
At the end I found some package with LG UP 1.14 and patch (so I could use it without Uppercut...there is a new LGUP_common DLL), and with this combination flash procedure worked smoothly.
BUT! I had to load nougat stock rom first (H87011i_00_OPEN_EU_OP_0108.kdz), which fix partitions in phone somehow (but there wasnt possibility upgrade higher). Everything, camera included was working with this rom..
Then I flash oreo stock rom (H87020a_00_OPEN_EU_OP_0423.kdz), and now It booted right (no "no command" during startup). Phone worked perfectly, and I used OTA upgrade to land on 30b pie last official update.. tadaaa
Hope it will help others with same problem..

Cant get into bootloader a2017

Just bought this phone...i tried using the toolkit and the recovery menu...phone wont boot into fastboot mode. Can someone point me in the right direction on how to fix this.
Axebladewarrior said:
Just bought this phone...i tried using the toolkit and the recovery menu...phone wont boot into fastboot mode. Can someone point me in the right direction on how to fix this.
Click to expand...
Click to collapse
well it actually shouldn't. axon7toolkit should flash fastboot onto your phone
But I thought the Chinese still had fastboot... Did you enable OEM unlocking?
Try enabling USB debugging too, and use a pc with ADB to issue 'adb reboot bootloader'. maybe it'll get there,maybe not
Thanks for the help...i flashed b13 and eventually unlocked the bootloader, flashed twrp and root however when i flash a rom the zte screen comes up then the phone shuts down
Axebladewarrior said:
Thanks for the help...i flashed b13 and eventually unlocked the bootloader, flashed twrp and root however when i flash a rom the zte screen comes up then the phone shuts down
Click to expand...
Click to collapse
Just don't lock the bootloader again, like, ever
Did you install the Universal Bootstack and the modem file before flashing the ROM?
Choose an username... said:
Just don't lock the bootloader again, like, ever
Did you install the Universal Bootstack and the modem file before flashing the ROM?
Click to expand...
Click to collapse
That was the problem....i flashed them both and the rom flashed with no problems...thanks for all the help. Last phone was the original nexus 5...was a breeze to flash
Axebladewarrior said:
That was the problem....i flashed them both and the rom flashed with no problems...thanks for all the help. Last phone was the original nexus 5...was a breeze to flash
Click to expand...
Click to collapse
Just read everything... you know, forgetting about stuff like that can DFU-brick your phone or lose your IMEIs

Huawei Nova Dload Bootlop

Hi, I recently tried to downgrade back to stock firmware from Lineage OS using the Dload method.
However now its on a bootloop, the versions of CAN-01 and CAN-11 all give me a bootloop, after waiting on it a while it will boot into recovery mode.
Usually this is a simple problem to fix however it reset my bootloader to locked as well as my twrp recovery, I'm not sure how I can recover from this other than sending to repairs.
Any suggested solutions!
It could just be I have the wrong update.zip but I want some more views on this.
Noctyk said:
Hi, I recently tried to downgrade back to stock firmware from Lineage OS using the Dload method.
However now its on a bootloop, the versions of CAN-01 and CAN-11 all give me a bootloop, after waiting on it a while it will boot into recovery mode.
Usually this is a simple problem to fix however it reset my bootloader to locked as well as my twrp recovery, I'm not sure how I can recover from this other than sending to repairs.
Any suggested solutions!
It could just be I have the wrong update.zip but I want some more views on this.
Click to expand...
Click to collapse
Hello!
Check this post.
#Henkate said:
Hello!
Check this post.
Click to expand...
Click to collapse
Hi! Thank you for the fast reply, I remember that I've tried method 1 already and since it reset my bootloader, it's no longer unlocked. The first thing I did when I realised it was a bootloop I tried to reflash my TWRP as I have a backup but it fails everytime I try to flash anything through fastboot as my bootloader is locked.
I was slightly naive and didn't think it would wipe my TWRP and bootloader back to locked.
What do you recommend I try?
Well, Unlock your Bootloader again.. ^^
Bad2hold said:
Well, Unlock your Bootloader again.. ^^
Click to expand...
Click to collapse
I've fixed the issue now thanks, I forgot to wipe the cache and extra bits after the Dload update thats why it was stuck on the bootloop :silly:
My problem before was I couldnt get the IDs needed for my bootloader unlock code since I couldn't actually check the IDs through settings.

Categories

Resources