yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Randy_Orton91:
My bootloader is re-locked after this update to nougat. How is it possible?
[G4 Android Development] kessaras:
guys hold on. i will say it for the last time.

This is not my rom. This is the stock official v29A from LG. Since we don't have a kdz i used this alternative solution.

30% battery drain its on you. me and everyone said we had only 1% hardly over night.

how can i have 1% drain over night with whatsapp, viber and facebook and you have 30 ? this is not normal and its not LG fault.

Screen shots don't have icons ? but i have icons.................... and anyway i won't fix anything here , the stock official will remain stock official. whatever fixes to come they will come on my rom when its ready.

Bootloader can relock on its own unless a ghost entered bootloader and typed : fastboot oem lock !!!

On boot it doesn't ask you to lock the bootloader ?
[G4 Android Development] stefan.kurz:
I haven't said it's your fault. You've done great work always. 30% with airplane mode is to much. Bt, sync and location disabled. Maybe it's my fault but i've done nothing but install.

With mm i have 4+ hours dot with comparable usage.
[G4 Android Development] Randy_Orton91:
[MENTION=5461026]kessaras[/MENTION] No on the first boot it appeared only a boot warning and then it was relocked. It doesnt ask me to relock it! Can i unlock it again with the file unlock.bin?
[G4 Android Development] kessaras:
did you clean flash ? i can't think of something else now. i really only had 1% till this morning.

Anyway i don't have time , help each other guys. i try prepare my rom asap to get busy with the twrp
[G4 Android Development] SmiteBott:
Thank you man!

Any explanation for a noob how to install it?

I don't have bootloader unlocked or root, currently 5.1.1 is installed. H815 ofc.
[G4 Android Development] kessaras:
you have to search , find and follow the guide to unlock. You go at LG website and ask for the code to unlock.

you enable developer options.

you select to allow oem unlock.

you reboot to bootloader.

you fastboot the unlock.bin just like you will be instructed at that website.

you fastboot oem unlock.

you flash twrp.

you flash nougat.

too bad we don't have a kdz from LG and you have to do all that....

########################################################

About Nougat and about relock some people said.

This line is written in the default kernel from LG:

ro.oem_unlock_supported=1

you know what this means ? that whoever said that flashing nougat locked his bootloader, its crap.

Bootloader can't be locked unless we choose to lock it with the proper command in bootloader mode.

Cheers ~!
[G4 Android Development] Randy_Orton91:
Flashing this zip bootloader locks automatically unfortunately it is so, I hope I can unlock it again with unlock.bin
[G4 Android Development] mughal23:
Will we get updates from LG on this ROM?

Like going from beta to stable?
[G4 Android Development] SmiteBott:
I can't unlock my bootloader since LG doesn't support my device origin.. Do I need to unlock bootloader in order to install this rom?
[G4 Android Development] kessaras:
now i saw the message.

if you didn't make any big mistake and changed your imei which is the identity of the phone, then yes.
[G4 Android Development] kessaras:
yes v30 hopefully in a few days. we are waiting for the kdz

there is no tool in public that can pack kdz so no you can't. you have to wait for a new kdz from LG
[G4 Android Development] jurastefo:
This message " Device cannot check if software is corrupted. Lock the bootloader" after reboot system. Mean that bootloader is still unlocked right?
[G4 Android Development] Randy_Orton91:
It iss the same message that appeared on my device and after the bootloader has been re-locked automatically
[G4 Android Development] steadfasterX:
IMPORTANT TWRP Announcement - DO NOT RESIST ON THE EFS BACKUP IN TWRP!

Please read and add this to the OP [MENTION=5461026]kessaras[/MENTION] :

https://xdaforums.com/g4/development/recovery-twrp-3-touch-recovery-t3442424/page47#post73493567

I really highly recommend to use the dl backup before flashing any other bootloaders and even if not: use it at least once to save your EFS!

Watch the mentioned TWRP thread for updates on this.

.
[G4 Android Development] jurastefo:
I am little confused. Bootloader is again locked or unlocked??. I want make root and install TWRP but I dont want have some trouble
[G4 Android Development] Root_newvie:
Neither of them worked :/ I really don't know why. I see on the phone that 'Enable OEM Unlock' option is frozen and cannot be changed and is set enabled. Could this be the reason?
[G4 Android Development] steadfasterX:
If you disable oem unlock you lock down the phone again which bricks your device if it's not pure stock. You be better glad that you can't change that on yours..

Just use the key combo to boot to fastboot. Once in fastboot type:

fastboot devices

If you see your device go on as explained in the TWRP fhread. If not make a pic of the phone while in fastboot mode and share

If all this does not work use the mAid nightly (http://bit.do/FWULatXDA . Find the nightlies download link) flash that on an USB stick to boot from it and retry the steps from there. mAid is formerly named FWUL thats why the linked thread talks about FWUL
[G4 Android Development] Root_newvie:
I fixed the problem with Universal ADB driver. Thanks anyway.
[G4 Android Development] paulvern:
I'm on a H818p 20h rom (I have a bootloop problem and I partially fixed it by flashing a tot file with 4 active cores only). Can I flash this rom (by eventually losing the access to the second SIM slot)?
[G4 Android Development] shakeynath:
I am stuck in firmware update and my phone was on the H81529A firmware. However to use LGUP to reflash the firmware i need the .KDZ and i cant find a 29A KDZ anywhere?
[G4 Android Development] 1234XlukasX:
Hello and welcome. Please send me help. I am looking for the latest stable version of Bootlader and Modem - what is Android Nougat 7.0 for LG G4 H815. It informs me that at the moment it will not load correctly when I try to upload Android Recovery LineageOS 14.1 via TWRP. I confirm that I have downloaded the Gapps Nano package - but it still won't load LineageOS 14.1 successfully. I inform that at the moment I am trying to run LineageOS 14.1 - because I have LG G4 H815 Smartphone left - on which the bootloader was already unlocked, and there was Recovery TWRP. I need help. Please send me a link to download the latest stable version of Bootlader and Modem for G4 H815 - packed in a Zip Package - to be uploaded via Recovery TWRP. Please also send me link to download Bootloader and Modem for LineageOS Android 15.1. If I fail to run LineageOS Android 14.1 correctly - with the previous option to upload / flash Zip Packs Booltader / Modem - for Nugat 7.0 / LineageOS 14.1 - then I will use the Bootloader and Modem for LineageOS 15.1 / Oreo Version.
[G4 Android Development] 1234XlukasX:
At this point, everything is wiped on this device except for the TWRP Recovery partition.

Am I going in the right direction?
[G4 Android Development] 1234XlukasX:
Hello, could I get some helpful information? I need to download Nougat but at the moment I can't start the download.

Could I ask the Dear Author to update the file on the server?
[G4 Android Development] kessaras:
Try again later. Android file host link is still valid , it just needs to find a mirror link for you when you try download it. For me it just happened to work just now.
[G4 Android Development] 1234XlukasX:
Hi Dear Kessaras.

Please help me.

I have Problem.

Friend, I can't turn on Recovery TWRP. How do I choose Power and Vol -. It's Got Erasing.

After uploading LineageOS 15.1 - do I have TWRP Recovery or has it been cleaned / erased?
[G4 Android Development] kessaras:
Recovery is a totally different thing from rom. So don't ask me about lineage and recovery. Now,

try erase everything in bootloader mode. Then reflash twrp in bootloader mode. Reboot and try enter recovery.

Please don't ask me for these things. Lg g4 is in my deep deep and far away memory nowdays. I'm on pixel 7 pro and before that on pixel 6 pro and so on. G4 is way too old :)

Try search before asking because I remember some years ago me and steadfasterX covered up everything. You will definitely find a thread to help you with everything
[G4 Android Development] 1234XlukasX:
My friend, I have this Linux/Android mAid on a USB flash drive - created by Dear

steadfasterX. Could I get help from you? I need to check - step by step if the partition from TWRP Recovery is still there?

Could I get help?

I need help.
[G4 Android Development] steadfasterX:
Stop feeding the trolls.. Its him again.. Just new nick
[G4 Android Development] xzenx1234x:
Hello can you help me? I need your help. I need to know if it is possible to update the Modem and Bootlader for LG G4 H815 - when I flash via ZIP package via TWRP Recovery LineageOS Android Oreo - then the Modem and Bootlader are also updated or not? The thing is that I have problems with the stable operation of LineageOS 17.1, and 18.1 - at the moment I am trying to restore LineageOS 16.0 waiting for a successful restore of Android.
[G4 Android Development] Angel1608:
Is it possible to get Nougat in the KDZ file version with the new Bootloader?
[G4 Android Development] Angel1608:
I am making a very sincere request for help and support. I will return the favor - Dear Developer, I promise to return the favor.

I am kindly asking for access to the KDZ - Nougat file for H815.

How to Root LG G4 H815 Android Nougat 7.0 without Access to TWRP Recovery. Please advise me step by step, Łukasz
[G4 Android Development] ntelas:
Installed via TWRP on officially unlocked H815.

It's rebooting randomly every 4-6 hours. I'm using it just for the 4G+ capabilites and passing through usb to a router.

Also I've flashed the zip that disables the big cores because at first I thought this was the issue. I also disabled(after noticing random reboots) many apps like Google etc.

Device is cold to touch. What else could cause this to happen?
[G4 Android Development] kessaras:
yeap.

Guys i hope you read what steadfasterX wrote

https://xdaforums.com/g4/developmen...h-recovery-t3442424/post73493567#post73493567

Stay stock is my advice. You don't need to root anyway. Android 7 is good enough as it is and wait until we complete our roms and kernels and also wait for steadfasterX to finish his research.

Nougat is new to G4. New OS is sure to have problems.

So stop experimenting and stop trying to confuse things here more.

This thread is only for the official and im not gonna debug or change anything here.

In the meantime we are all working hard on our free time to make some progress.

Backup your imei number if you are going to flash twrp and root. ~
[G4 Android Development] kessaras:
lol thats what i was writing right now ;)

i have the twrp thread always in my subscription list
[G4 Android Development] steadfasterX:
I highly recommend it even before flashing this stock bootloader - regardless of rooting or not...!

Its recommended for everyone right now.

Even when not flashing anything and staying where you are..!

that's why I hoped you can add it to your OP here.

EDIT: Thanks for adding it rn ;) - but it is not related to root/twrp only it is for everyone - flashing this bootloader or not - flashing twrp or not - rooting or not

very good :)

.
[G4 Android Development] mughal23:
Hi!

Please don't be mad at me.

Just answer my few questions and I'll be on my way.

First of all, thanks for making this helpful thread.

My questions:

? this is a zip file which we'll have to flash using official TWRP recovery, right?

? do I need to update my bootloader as I'm still on Android Marshmallow?

? Will I get OTA updates in this ROM?
[G4 Android Development] kessaras:
bootloader gets the update anyway. its the aboot partition thats included. The rest of the bootloader files just flash more warning messages and bigger fonts for that warning.

OTA will come the same way they come on MM. LG doesn't release otas organised. They come with the wind. Where the wind blows the ota comes....

If the ota comes in your country or worldwide , yes you will get it.

Otherwise we flash it manually again ;)
[G4 Android Development] mughal23:
So can I update this Poland ROM using LG bridge?
[G4 Android Development] jurastefo:
Ok thanks for information. I am satisfied with Nougat and I stay and will be test it. I unlocked bootloader couple month ago and I have unlocked.bin files for next time if will be nessecary.?
[G4 Android Development] Randy_Orton91:
When i try to unlock bootloader again with unlock. bin i receive this message:

c:\adb>fastboot flash unlock unlock.bin

target reported max download size of 536870912 bytes

sending 'unlock' (1 KB)...

OKAY [ 0.031s]

writing 'unlock'...

(bootloader) Error!!

(bootloader) Wrong Bootloader Unlock key

FAILED (remote failure)

finished. total time: 0.172s
[G4 Android Development] kessaras:
why here ? this is not a "fix it all" thread.....

don't you think you'd get more people to help you out at the question and help section ?

Anyway,

1) did you choose in developer options to allow the oem unlock before you reboot to bootloader ?

2) your imei is the same as before ? it happened some days ago to someone else too and his imei was changed by some mistake. check it ;)
[G4 Android Development] steadfasterX:
check your imei. if it is 0 your unlock bin will not work

solving imei 0 --> https://xdaforums.com/g4/help/help-imei-0-t3660318/post73489308#post73489308

.
[G4 Android Development] Velkyrix:
Wait, I have a question:

u told me yesterday someone with the "L" variant got this running. Did you mean H815L by any chance?

if so- how? If its the H815L variant I can also try it out but I need to know how
[G4 Android Development] Mr.FREE_Bird:
And that guy was me and I got it fixed with some really useful help. [MENTION=6052871]Randy_Orton91[/MENTION] go check this thread I made --->https://xdaforums.com/g4/help/help-imei-0-t3660318, your IMEI turned into a "0" because of that you can't re-unlock your bootloader because your unlock.bin doesn't match with Device-ID anymore, but don't worry it can be fixed.

Here is a direct link to a solution for this issue [MENTION=8496420]Pif0u[/MENTION] gave me in a reply on my thread ---> https://xdaforums.com/showpost.php?p=73489308&postcount=2

You can always reply on that thread if you need any further help. Make sure that you have Debugging Mode enabled in the Dev Settings menu before starting with the tutorial. Good luck! :good:
[G4 Android Development] Randy_Orton91:
Exactly, the imei now it is 0. Thank you all for the help and I apologize if I am giving you some bother. :D
[G4 Android Development] Astrako:
I think guys that modemst1 and modemst2 could be delivering all these problems....
[G4 Android Development] steadfasterX:
yes i think the same.

.
[G4 Android Development] kessaras:
Should we remove it ?

But it will have unknown baseband without /cust.

We need at least the cust to remove those.
[G4 Android Development] Astrako:
I've started today from MM kdz. Then flashed N bootloader and my G6 port (doesn't include those modem files, just single modem.img) and I have baseband.

Think on it, those files must be specific from polish user. Never was something similar in any LG KDZ.

About /cust. Not necessary in custom roms. All my roms delete its content.
[G4 Android Development] kessaras:
Well, I'll remove them to protect other phones (maybe. We don't know for sure).

Besides we can add cust later in an other flashable zip if its needed
[G4 Android Development] steadfasterX:
Yes remove them (modemst1 and modemst2).

As stated in my TWRP post the modemst1/2 are stat files related to the device, modem, carrier you can simply erase those partitions and fix the unknown baseband issue (i recommend to backup them nevertheless)

.
[G4 Android Development] Astrako:
Good and thanks both :good: (I can't push thanks, already pushed 8 times today)
[G4 Android Development] steadfasterX:
lol same here ;)

that thanks limitation is really too low .. :)

.
[G4 Android Development] jurastefo:
I forgot for this part: Flash the whole bootloader and modem update to v29A:

https://www.androidfilehost.com/?fid=889764386195924395. Is it problem?, I flash only nougat zip files.
[G4 Android Development] kessaras:
Lastly , about this matter.

Whats more strange is that only 2 people had this problem while more than 300 people overall here and from Astrako rom , updated to Nougat.

Why only those 2 ..... that's what i don't understand.

EDIT:

oh and one crazy that likes to live "dangerous" and locked it on his own :p at least he was one of the lucky ones whose imei didn't change.
[G4 Android Development] steadfasterX:
well we don't know how many updated (downloads doesn't count ;) )

but u are right it depends on maybe clean flash or not and maybe other things as well..

.
[G4 Android Development] kessaras:
backup your imei first.

we are not sure yet if the imei of 2 people changed due to the modemst1-2 partitions or its a conflict from something they did.
[G4 Android Development] jurastefo:
Which is easiest way how back up imei?
[G4 Android Development] steadfasterX:
http://tinyurl.com/dlbackup

or you can backup all partitions manually with dd in TWRP...

whatever u consider as easier ;)

.
[G4 Android Development] Mr.FREE_Bird:
I am pretty sure the modem does cause conflicts for some people. After fixing my corrupted IMEI issue I restored to MM, re-unlocked my bootloader and made my own Flashable version of the Nougat Beta without the modem. All good no conflicts with the IMEI, works without any problems now. Haven't tested Calling and SMS yet but I do have properly functioning 4G LTE connection.
[G4 Android Development] Randy_Orton91:
When i go in download mode it says: "Your device is corrupt" and then it reboot so i can do nothing, i cant flash kdz. Someone can help me?
[G4 Android Development] kessaras:
Works with 20p modem ? O_o

Here I couldn't make calls with that. The other side wouldn't listen to what I was saying.

Anyway.

Just avoid modemst1 and modemst2 if you flash modem and bootloader.

In the meantime I'm uploading new os and firmware files without those partitions.
[G4 Android Development] Mr.FREE_Bird:
No I restored my device with a MM based KDZ with the version number 20i for Asia/Singapore.

And for confirmation, I just tested calling and I experience the exact same thing as you, the other side can't hear me.... but still 4G LTE works just fine with internet access.

I have made my own Flashable version of the Nougat Beta to but without anything that has something to do with the modem, I I"ll try your Flashable version of the Beta when it's ready.
[G4 Android Development] kessaras:
firmware is ok now. i removed those partitions.

The full OS only needs time now

EDIT:

it may be country related , we don't know yet. Only 2 people you had this imei issue.

Please give us feedback about your imei if everything is ok now
[G4 Android Development] Mr.FREE_Bird:
Allright I'll give your re-upload a try and I will report about my IMEI and if Calling, SMS and Data functions properly.
[G4 Android Development] Randy_Orton91:
Someone can help me? I have problem to go in download mode, my imei now is 0. I can do nothing
[G4 Android Development] kessaras:
one hour ago he answered you

https://xdaforums.com/showpost.php?p=73494225&postcount=112
[G4 Android Development] Randy_Orton91:
I try it but when i go in download mode it says: "My device is corrupt" and then it reboot so i cant flash the kdz of marshmallow
[G4 Android Development] Mr.FREE_Bird:
And I already replied again in my own thread, we can't help you with your issue, we don't know why your devices refuses to boot into Download mode and since I have no idea what caused that problem I won't be able to help you any further, I am sorry.
[G4 Android Development] volcram:
Well, I flashed yesterday the nougat zip and after that i couldn't reflash twrp. The command doesn't work (your device is locked...).

After a day without any more issue i realized that i had no imei (0). I have restored mine with one tutorial and efs proffesional (thank you).

After reading all the pages of this thread i think it could be a problem with the 815's variant,

Mine is 815TR and before flashing nougat i flashed a kdz from vodafone (spain). When i bought the phone it had a kdz from sea with chinesse bloatware.

Thank you all for your investigations and explanations.
[G4 Android Development] kessaras:
if you can manually open .zip and delete the modemst1 and modemst2 and reflash the rom and the new firmware from this thread (uploaded firmware an hour ago) you are fine.

the problem is at the modemst1-2 partitions.

If you can't open zip and delete those in an hour the OS will be up again without those.

Also it looks that its totally random by Country. Those partitions didn't cause any problem here and up until now you r the 3rd one with this issue !
[G4 Android Development] Randy_Orton91:
I solve the problem definetely! Now i write a guide for people who have the problem like mine with this rom (software corruption, bootloader locked, download mode problem)

We have this problem because the phone finds a problem on software (maybe on modem) and then it locks bootloader and download mode.

First at all you must follow this guide to restore IMEI: https://xdaforums.com/showpost.php?p=73489308&postcount=2 (It doesnt work on Windows 10! I did it on windows 7 and it works!)

Download the file LG-H81520G-Flashable.COMPLETE.zip from this post: https://xdaforums.com/g4/development/stock-h815-20g-images-kdz-flashable-t3450503 and copy it on sd card

After restore IMEI, unlock again bootloader with unlock.bin file and reboot phone

Flash TWRP with command "c:\adb>fastboot flash recovery twrp-3.1.1-1-g4.img" and reboot phone

Shutdown phone and go on twrp with keys(power button + volume down)

Open twrp do a clean flash (data, cache, dalvik-cache) and flash file on sd card: LG-H81520G-Flashable.COMPLETE.zip

Reboot phone, now it works and there isnt software corruption any more!

I'll wait for official nougat update now. Thank you all for the help!
[G4 Android Development] jurastefo:
Hi my imei has normal size not 0 in status in phone settings is nessecary restore imei?.
[G4 Android Development] Randy_Orton91:
Yes it is necessary because with the imei on 0 you cant unlock again bootloader and you get the message that the software is corrupted
[G4 Android Development] kessaras:
It's safe now. Official Nougat is up

I removed the modemst partitions that some phones had bug with and erased their imei
[G4 Android Development] Komekokos:
But he says that isn't 0, so is correct :confused:
[G4 Android Development] bel57:
I flashed all partitions from the dump and my G4 is working fine.

When I compose #*06# the IMEI shows up. Does it mean my device is safe and sound?

Also, unknown baseband in software information, but radio working good.

Does it require any action from me, or can I leave my G4 running Nougat from dump? :) :cowboy:
[G4 Android Development] Pabo:
Installed and testing. :good:At the moment I don't have a problem
[G4 Android Development] dszymek:
Coming from H-rom N - Do I need install N bootloader or just wipes in twrp and install?
[G4 Android Development] jameslight:
Hey guys after flash them he show me a message "your device software cannot be checked for corruption. Lock the bootloader" and after the lg logo and stay there and then i connect phone to pc and go to download mode he does not recognize it and i have no phone now
[G4 Android Development] Randy_Orton91:
If your phone boot normally follow my guide to downgrade to marshmallow and solve the problem

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] jameslight:
This is my problem dont boot normally stay on the message and lg logo
[G4 Android Development] Randy_Orton91:
Now is your bootloader locked? If yes, try to unlock it with unlock.bin

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] jameslight:
Its unlocked before now i dont know but message says "lock the bootloader" And the download mode dont work, i can go to download mode but he dont work