yashsingh1/xdaforums huggingface dataset:
[G4 General] welshkid:
How do I go about restoring entirely to stock? The v29a threads I've seen all require TWRP?

Is there a guide anyone could point me to?

EDIT: I'm looking to restore to stock and re-lock bootloader. So I wish to install v29a and then complete the steps in this thread
[G4 General] sas007:
[MENTION=225651]op[/MENTION] Thank you for your post I successfully flashed the 29a N image using twrp in adb then used your info to relock the boot loader..tested in adb and yes boot loader is now locked again..nice one thank you.

Anthony.

---------- Post added at 07:19 AM ---------- Previous post was at 07:16 AM ----------

The way I did it was to use twrp in adb flashed the 29a N image here https://xdaforums.com/g4/development/h815-nougat-stock-t3659860 while in twrp..

I rebooted set up phone and then relocked the bootloader again in adb.

No issues so far all good.

There are lots and lots of tutorials showing the steps and adb commands of how to do this..it’s really simple once you get going..

Just have LG drivers installed on laptop and g4 in debugging mode.

Go to twrp homepage put in your phone model/make it will give you correct twrp

Download simple adb and fastboot and place that folder on desktop..

Download the twrp and place it in the downloaded adb and fastboot folder..

Open adb and fastboot folder and When in folder place curser on empty space and press shift button and right click at same time to open powershell (cmd) and the follow tutorials.
[G4 General] xda_maddogdean:
H815 is borked!!

OK, so I wish I read THIS thread before trying to lock the bootloader.

H815 UK version and I WAS running LG stock v29 Nougat - sweet, sweet, sweet!! I absolutely loved it!

And then I wanted to Encrypt the phone. Couldn't do that with the bootloader unlocked. So I went into Developer options and turned OFF allow OEM unlock <<-- I think this is where the f@@k up began. Nope still would't Encrypt. Several threads later (but unfortunately not this one) I decided to

fastboot oem lock

.

BORK!!!!! The android screen pops up "This device is corrupt and cannot be trusted. It will not boot" Yes!!! that's correct "WILL NOT BOOT"

Off I go - download this tool, read that forum, download this kdz, download that kdz, run this, run that - but still nothing. BTW the original v29 firmware I had wasn't a kdz or tot it was a zip uploaded using twrp.

TL; DR

I found a kdz (but v20) mind you from Vodafone (this was the original on the phone).

Booted the phone into download/firmware upgrade mode no trouble

Ran LGUP to flash the kdz (in Refurbish mode, Upgrade mode - no difference) and this point it SEEMS to start working. I get a COM7 (in green) appear on the phone, but it gets to 11% and then pops up a "Error: Error Code = 0x200, Invalid Command response"

I'm wondering if it has to do with the fact that I upgraded to v29 already and this is a rollback - has LG locked out the rollbacks?

Anyone have any thoughts??

Thanks
[G4 General] the_naxhoo:
https://xdaforums.com/showpost.php?p=73642302&postcount=4

;)
[G4 General] tulen_kobi:
Use latest LG UP dll from my link:

https://xdaforums.com/g4/help/lg-g4-lastest-version-lgup-dll-file-t3586220

It is version 0.4.3 extracted from F500 Nougat kdz.

You will be able to flash v20 kdz afterwards.
[G4 General] xda_maddogdean:
Ba da boom!! You're the man (and to all the others that posted helpful info)! The phone breathed back to life and the LG logo smiled at me!

That was it, downloaded the Extractor and the h815p kdz. The only thing I needed to rename the LGUP8994.dll to LGUP_8994.dll (otherwise I got some error , unable to load, etc, etc popup from LGUP).

With this little bit of knowledge I'm off to be dangerous again. Either I'm going to install the v29 official LG rom or maybe the LineageOS 14.

At least now I know how I can fix it if , no I mean when It locks up! :laugh:
[G4 General] sirsomething:
So after relocking the bootloader, I unlocked it again and tried to install twrp.

With "fastboot flash recovery [twrp_name].img" it was successfuly installed.

Turned out that when I was trying to boot to recovery it was not installed and then I tried "fastboot boot [twrp_name].img" and it gave an error:

FAILED [remote: unkown command]

Has anyone suffered from this problem?

Has anything changed in v29a that doesn't let you flash a new recovery?
[G4 General] dropbear2:
"fastboot boot twrp.img" not working on Nougat bootloader.

Read here:

https://twrp.me/lg/lgg4.html

Boot into TWRP with a key combination:
[G4 General] sirsomething:
Thanks! I tried the key combination the first few times but the twrp was not installed correctly due to bad drivers, possibly. I could flash it later and use the key combo
[G4 General] nocio:
Hi guys, after locking bootloader, did you see any message like bootloader unlocked or not?

I need to send my device on service to replace my screen and i wanna to lock bootloader withouth any message on booting

[IMG="text like this"]https://www.androidheadlines.com/wp-content/uploads/2015/10/Verified-Boot-warning-Android-Marshmallow_1.jpg[/IMG]

[IMG="or this"]http://i.imgur.com/kAzL8XU.jpg[/IMG]
[G4 General] Camandros:
I may be going a bit off-topic but please bear with me.

For me, the main point of having the bootloader locked is keeping the warranty. I want badly to have the phone unlock and tinker with it, but I can't afford not having warranty on it in case something happens. If I unlock the bootloader and take the phone to LG customer services for repairs I will most likely get a "no can do buddy you unlocked it".

Locking it seems to solve this issue. If I need to activate my g4 's warranty, I can just put everything back to stock and then lock it again. But AFAIK, the only safe method for unlocking is to ask LG for the code... Which means that my warranty is most likely void anyway. (I'm not saying that this is the only purpose of locking the bootloader). I saw that steadfasterX was working on an unofficial unlock, but it does not seems finished.

Bottom line is: even if I lock back the bootloader, since I have to ask LG for the unlock code, my warranty is still void, right?

Thanks

---------- Post added at 02:50 PM ---------- Previous post was at 02:46 PM ----------

Have you tried this?

https://xdaforums.com/showpost.php?p=74250418&postcount=36
[G4 General] se1988:
Asking for the code wont break warranty. Unlocking it will. AFAIK theres no way to check if it was actually unlocked once relocked.
[G4 General] Camandros:
[MENTION=5545101]steadfasterX[/MENTION] (sorry for bothering you with this) I read tons of your posts and I think that the official unlock blows a fuse. Or that depends on the g4 version? Can you please confirm this?

Thanks
[G4 General] se1988:
I think you mean this:

Anyone wanna do a TL;DR on that post?
[G4 General] Camandros:
No, I mean the official unlock provided by LG.
[G4 General] se1988:
Its the best QFuse post i could find so far... It says how to check for QFuse a little further down in that post.
[G4 General] Camandros:
Ah sorry, you are right. I've read so much I don't remember all details and where is where :P

So, according to this thread, if your G4 does not have a fuse then using Nougat you can relock it and LG will never know you unlocked in the first place! :D:D:D:D

Very nice. Thank you all!!
[G4 General] kambus:
Is it only possible with the version 29a in the manner described here to close the bootloader?

I have flashed the version 20g clean with kdz, is it synonymous? (H815)
[G4 General] adamz667:
LG will know, because you need to use your IMEI to generate unlock.bin. So after that your IMEI is blacklisted and your warranty is void.
[G4 General] Camandros:
What they say in the terms and conditions when you ask for the code is that you only lose warranty if you actually unlock. Asking for the code seems to be not in itself a reason to lose it. Your are most likely blacklisted, I agree, but if your bootloader is locked they cannot refuse your phone.
[G4 General] adamz667:
Well, they've refused to fix the screen of my G4 here in Poland because of blacklisted IMEI. Read terms of unlocking again - there is nothing about using unlock.bin. If you will generate it - your warranty is void.
[G4 General] steadfasterX:
Not true for Europe. Europeans can request unlock and do the unlock and even root without loosing warranty. That's for sure and discussed many times. For Europe the text is useless. For other countries it's true for sure.

And its even proven.

During my attempts to unlock the g4 unofficially I requested my unlock bin before starting. On that journey I hard-hard bricked (not recoverable by qfil or infinitybox) my device 4 times since then with always sending the device to LG and always requesting an unlock bin afterwards.

You guess what? Even when the device was over 1 year old before sending it it the first time absolute no issues or problems with that.
[G4 General] adamz667:
So why the engineer from LG told me that he can't replace the screen under warranty because IMEI is blacklisted and he cannot go trough the system?
[G4 General] steadfasterX:
Blacklisted may means a different thing. Usually an IMEI gets blacklisted when stolen or known for misuse. Ask them what that means e. G. in their chat or by contact form.
[G4 General] adamz667:
He didn't use term "blacklisted" (I've used that term incorrectly), but told me that IMEI and my device is no longer under warranty, because LG's database marked my IMEI as unlocked bootloader. He didn't even turn on the phone, because it was screen replacement. And I am not the only one, few people from polish forum also had this problem.

My bootloader was relocked with dd images.
[G4 General] steadfasterX:
https://www.piana.eu/root/
[G4 General] kambus:
Nobody knows that?

Gesendet von meinem MHA-L29 mit Tapatalk
[G4 General] steadfasterX:
The fastboot command for locking the bootloader is available only in v29a.
[G4 General] kambus:
Thanks, does anyone have a link from the 29a (kdz) for the h815?

Gesendet von meinem MHA-L29 mit Tapatalk
[G4 General] steadfasterX:
XDA search. Tot 29a h815
[G4 General] kambus:
Yes, I've already tried that, the only link I can find is this one

https://www.google.de/amp/s/xdaforums.com/g4/development/h815-nougat-stock-t3659860/amp/

There is only one zip and no kdz. Have no twrp now more on it and so would need a kdz or?

Gesendet von meinem MHA-L29 mit Tapatalk
[G4 General] steadfasterX:
http://bfy.tw/Fp2d

First link. Tot works the same way for you like kdz.
[G4 General] brada1983:
thx. Did exactly as you said, flashed v29 clean stock and afterwards did the fastboot oem lock command.

the warning at boot dissapeared and now have a ultra stock device.

THX and RESPECT!!!!
[G4 General] mrqro:
Worked for me to, the "new" disclaimer was so damn annoying, I just had to try this.

Phone is EOL anyway so these were my last tweaks, thank you !
[G4 General] eXtremedlL:
it works very well.

i installed the V29A and did this procedure, and then went back to the marshmallow and left the startup blocked.

thank you. :fingers-crossed:
[G4 General] ntelas:
So after reading all those posts i decided to relock my bootloader just for Google Pay. Is there a way of android knowing that i had an unlocked bootloader after all that stuff?

PS. I have tried everything for google pay to work on my unlocked phone without success, that's why i want that "lock" so bad even though i have a xiaomi mi a1 now.

UPDATE 23/6

: I did the procedure and it succeed. Bad news. Phone still appears us Unsupported in Google Play Store and Google Pay wont work.
[G4 General] H815L:
hi

i currently have lgg4 H815 device that i unlock the bootloader with UsU using SALT

i am using a custom rom LineageOS 15.1 with twrp-3.2.3-PREVIEW-144_g4_O

from what i read so far i wanna know if i understood everything right

can i first reflash kdz/tot using LGUP b4 doing anything?

which kdz/tot should i use v20 or 29a ?

at this point will i still have twrp or is it gone?

if i dont have twrp what can i do?

is it better to just reflash 29a tot with LGUP and then

"adb reboot bootloader".

"fastboot oem lock"

?
[G4 General] steadfasterX:
Wow.. Read FAQ 1 and FAQ 2 in the UsU thread again.. Maybe 3 or 4 times until you're sure that you understood everything before trying to HARD BRICK your device ...
[G4 General] H815L:
i already did an unbricking LG G4 H815 during Nougat downgrade with LGUP error 0x2000 on download mode

steadfasterX if i will "HARD BRICK" my phone like you said will i still be able to go into download mode???
[G4 General] steadfasterX:
Hard brick means hard brick so no.
[G4 General] 柠檬Lyme:
so...if we think reversely,the misc partition could stores the bootloader unlock file?!
[G4 General] steadfasterX:
Nope.
[Nexus 6P Q&A, Help & Troubleshooting] dgmorland:
I have updated to build OPR6.170623.013 via developer preview. This is the official release rather than a preview as far as I am aware. I have a persistent notification in status bar for Android System that is telling me that Gmail is running in the background. When I long press the notification and go to All Categories, the setting for Apps running in background is toggled off. If I drill down into this setting it has "importance medium: no sound". If I change this to "low: no sound or visual interruption" the notification in the status bar goes away but when I pull down notification shade I still see the notification telling me Gmail is running in the background. I'm not sure why this notification is showing when it is toggled off. Any clues how to get rid of it?

EDIT: I plugged the phone into the charger and the background app notification has gone. Unplugged from the charger and its still gone. Very weird.

EDIT2: After a while the notification came back and then after some time it went away again
[Nexus 6P Q&A, Help & Troubleshooting] giovanto98:
The same problem with the "Mifit app" I can't make it dissappear!

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Q&A, Help & Troubleshooting] dgmorland:
Try plugging into charger - since I did that it seems to have fixed itself. Im not sure what plugging into the charger has to do with it though!
[Nexus 6P Q&A, Help & Troubleshooting] giovanto98:
For me it doesn't work, I've tried everything but the only solution I found is to postpone the notification every 2 hours.

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P Q&A, Help & Troubleshooting] jmaclean62:
I also have the same issue on DP4. The MiFit app is doing the same thing on my phone. Interestingly, gmail isn't in the notifications even though I am sure it is running in the background too (I assume other apps are too.).
[Nexus 6P Q&A, Help & Troubleshooting] dgmorland:
After keeping an eye on it today it seems that the notification eventually goes away but is stays there for at least 10-15 minutes when it is there. I posted the same issue on Nexus forum to see what they say there. The whole point of the different notification channels is that you can selectively filter those you dont want to see. The setting for this channel doesnt seem to be working from what I see
[Nexus 6P Q&A, Help & Troubleshooting] Neverwintern:
same problem.

there once was a solution but it no longer works after DP4. https://www.xda-developers.com/hide-persistent-notification-android-o/

I think the worst part is you cannot "minimize" it like Pixel.

see these two pictures:

pixel:

my nexus 6P:
[Nexus 6P Q&A, Help & Troubleshooting] dgmorland:
It looks like Android System does not allow the same control over notification channels as you have for other apps. I have attached screenshots comparing notification settings for Android System vs Photos. In the Photos app there is an on/off toggle for ALL notifications from the app. This toggle doesn't exist on Android System. In Photos, all the notification channels are set to On and I can toggle these individually. In Android System all the individual notification channels are set to Off but despite this it seems to generate notifications still. It is the same for System UI. This has no toggle for ALL notifications and there is no way to toggle individual notification channels. On these systems apps you can change the priority of a notification channel to low which prevents the notification showing in the status bar but you will still see the notification when you pull down the notification shade.
[Nexus 6P Q&A, Help & Troubleshooting] dgmorland:
A workaround is here https://www.xda-developers.com/hide-app-running-background-notification-android-oreo/
[Huawei Watch] Ghisy:
Hey guys,

So I was able to return my HW to a normal state on AW 2.0. It turns out as soon as I unlock the bootloader, it goes into a bootanimation bootloop (a few times, it displayed an error then finally booted AW). And I can't get into the stock recovery. It seems like this one is screwed up somehow. Flashing TWRP works though.

I really don't understand this. I thought this was supposed to be like a Nexus/Pixel device. Has anyone else experienced this behavior? I would really like to unlock it and flash Negalite ROM.

Thanks!

Edit: OK so the watch only works if I flash the custom ROM from AW 1.5 using TWRP. It goes all the way and doesn't bootloop. SO WEIRD.

---------------

Original post:

Hi everyone,

I got my HW today and it's already messed up! I've been flashing ROMs and such for a long time now but I'm stomped. Initially, I wanted to install Negalite ROM.

Here's what happened:

- I used my watch for a bit on 1.5, connected it to my phone, did the initial setup and OTA updated to 2.0.

- I decided to unlock the bootloader. Worked but watch got stuck on a recovery bootloop (with the open bugdroid). Managed to get rid of it by factory resetting through TWRP (which I fastbooted).

- Watch was restarting (on 2.0) but got stuck on another bootloop (on Nougat bootanimation). Sat there for about 20 min.

- I decided to downgrade to 1.5. Used fastboot to flash boot.img, recovery.img and system.img. The system.img gave me an error at first while flashing but proceeded all the way (9 steps out of 9) with success (?)

- Now the watch is still stuck on bootanimation (I think it's the MM one, with the flying around dots) and won't go any farther.

Note: I can get into fastboot and TWRP 3.0.3 is installed. But multiple factory resets from TWRP don't change anything. I can't adb push anything to the watch from TWRP either (I tried the ADB sideload option). ADB drivers should be OK on my Windows 7 x64 machine (I used Google drivers from the SDK).

Any HELP please? I really don't know what to do now since I can't push any file to the watch... and I've read many threads on here to no avail.

Thanks in advance.

edit: IT BOOTED! I used a different system.img (the one from sturgeon-m6e69f-factory-e659286a.tgz) and flashed it with fastboot and IT WORKED! Thanks to whoever posted this version! Now I will try again to install Negalite.
[Nexus 5X General] Frutak:
Android Oreo 8.1 is out:

I think there is a new version 8.1.0 (OPM1.171019.011, Dec 2017), I think this is not a beta because Im beta tester and on DP2 i have build number OPP6.171019.012

But i dont know. For now i dont get any OTA Updates.

https://developers.google.com/android/images

Android Oreo final version is out for our Nexus 5x.

I'm using it for now, and seems ok :)

If you see OPP4 on webpage, you need to change language to English.

Today [30/8/17] was release ota: Ota OPR6.170623.012 is latest

I read some posts here, some user doesnt want used new Oreo, im recommende Google Pixel rom from argraur he released port from pixel phone, his rom Oreo is so great, super fast and UI is smoothness.

Thanks to:

iamterence

Displax

System is fresh and fast.

Flashable-images
[Nexus 5X General] stifmaster81:
Is the final version of oreo, or the last beta?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] Frutak:
I'm think this is a final version :)
[Nexus 5X General] stifmaster81:
The last question, because in the pages of images of Nexus, is still to download? And you already expose ??

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] bromoxitos:
are you sure? you take the update from beta program? or you are not in beta? when you reboot it says that you are in beta program?
[Nexus 5X General] Frutak:
I flash img from the website, when i'm reboot phone it say nothing about beta program, and in settings there isn't any words about beta program.
[Nexus 5X General] bromoxitos:
great yea i read it now , its says that is official not beta!! i download it now :D
[Nexus 5X General] stifmaster81:
This is to download wherever you say it, but put it in .dio OPP4 ..Will not be the beta 4 of Oreo?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] Frutak:
I'm think it's not beta :D
[Nexus 5X General] stifmaster81:
You would be so kind to put the direct link to download, since in your link, I get OPP4, and you have opp6

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] bromoxitos:
https://developer.android.com/about/versions/o/download.html#flashable-images

here is the link, just write it to google image android O and you find it :D
[Nexus 5X General] Frutak:
I Dont know why, i'm not beta tester :)
[Nexus 5X General] stifmaster81:
This is the first , But as OPP4 says, I thought it was beta version number 4, but if you say it's la.vers final..ok

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] Frutak:
I don't know why but I have android O in list :D
[Nexus 5X General] bromoxitos:
i just flash it, nop its not say anything about beta program at the boot :D so its official...
[Nexus 5X General] Displax:
You need change language of this page to english.
[Nexus 5X General] stifmaster81:
Well I do not get the opp6 I get the 4, so I asked for direct link to download

Enviado desde mi Nexus 5X mediante Tapatalk

---------- Post added at 12:38 AM ---------- Previous post was at 12:33 AM ----------

Ok, thank you very much, I'm going down and I'm already there, one last thingOk, thank you very much, I'm going down and I'm already there, one last thing ... I'll get the phone language in SpanishOk, thank you very much, I'm going down and I'm already there, one last thing ... will the phone language come out in Spanish?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] iamterence:
Everyone, this is the final image of O. Official Android Oreo 8.0
[Nexus 5X General] Frutak:
Thank you i will write it to main post :)
[Nexus 5X General] stifmaster81:
Can you do root in the final version?

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X General] :
and is faster after a shutdown n' restart

but maps stays very slow...
[Nexus 5X General] bsinc1962:
I've been on OPR6 for a week or so and so far it's been good for how I use my phone. One thing I found that has helped my battery life is that in the developer options section is the option "mobile data always active" is turned on by default. This hasn't been the case for earlier versions of Android and I'm not sure why it's default in this version. I live in an area where the cell service is marginal so I rely heavily on my wifi. Turning that option off has helped my battery life greatly due to it not always hunting for a signal.

Something to look at if you're having bad battery life, use wifi, and live in an area that has lousy cell reception.
[Nexus 5X General] attaullahsahito:
Why google released older version of Oreo

As for Nexus 5x google used branch from 20170623 as clear from version(new build number convention) OPR6.170623.013, Why google released build from older sources??
[Nexus 5X General] iamterence:
Because Google likes to do strange things.
[Nexus 5X General] hugonv:
Hi. We get this version over the air or we have to root and instal by computer?
[Nexus 5X General] Frutak:
You will get ota update just wait, or install ota from link in main post, on the website are instructions how to install it.
[Nexus 5X General] hugonv:
Thanks I will wait