yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] raptorddd:
not locked .. but if you unlock then yes you can install. assuming your phone can be unlocked. no LGUP it needs twrp. so means unlocked bootloader
[G4 Android Development] eldriSs:
Yes.
[G4 Android Development] lallolu:
Deleted
[G4 Android Development] pepo930:
Is it safe to flash Marshmallow KDZ files using LGUP?

I want to get the old bootloader back.
[G4 Android Development] eldriSs:
Yeah. You can do that but choose "refurbish". And rememeber, you CAN'T lock bootloader once you unlocked it...
[G4 Android Development] pepo930:
You sure? I'm pretty certain there was a method where you flash a dump of all the partitions and it locks it.
[G4 Android Development] N!TRO:
Sorry Bragg I was referring to ways of restoring apps and data after flashing nougat it's ok EldriSs already answered my question ?.
[G4 Android Development] raptorddd:
yes you can relock it.
[G4 Android Development] chupchae:
If I don't want to mess with PC connection can I use following procedure to achieve stock Nougat with TWRP recovery and root?

1 Starting from rooted MM with latest beta TWRP

2 Install/flash this ROM according instructions from OP

3 Before rebooting flash latest beta TWRP and latest SU for root

4 Reboot
[G4 Android Development] kessaras:
You can relock. But if you do it wrong then only kdz saves you.

Relocking the bootloader by doing the same command you did to unlock but this time write lock.

fastboot oem lock I think.

If you are not fully stock just like you are after flashing this official 29a , if you use another recovery besides stock, bang , bootloop.

Only official firmware passes security check of a locked bootloader.

Yes.

But what does it mean to not mess with pc connection ? You only need to download latest sdk tools and open cmd, cd in the folder where adb.exe is and do your magic.
[G4 Android Development] chupchae:
I have already everything on the phone, so PC can stay still. Probably I have adb ready for LG on one of the PCs, but not remembering which is the right one. ;)
[G4 Android Development] mughal23:
How can I downgrade back to stock Marshmallow 6.0?

My phone is h815
[G4 Android Development] kessaras:
bootloader MM , modem MM and rom MM.

All flashed in TWRP.
[G4 Android Development] mughal23:
Can I get the link for all these files?
[G4 Android Development] kessaras:
see freedom rom 2nd post. it has everything you may need.
[G4 Android Development] xdaboobs:
FYI i did this (yep it is fastboot oem lock) and it locked it. however, android pay still wouldn't pass the safetynet check anyway so i dunno how locked it really was.
[G4 Android Development] otaviohpf:
Hi friend, I have the 818p model, do you know if these steps can also be used?
[G4 Android Development] Randy_Orton91:
Yes if you have the same problem, but you have to flash the .zip with 818p rom

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] otaviohpf:
Do you have the correct rom link or can you tell me what it should be?
[G4 Android Development] kessaras:
hi.

first of all, there isnt any problem with this rom and the bootloader cant relock unless you choose to relock it.

he personally did a mistake and lost his imei number thats why his bootloader relocked.

The flashable zip he suggest is for h815 phone. you can't use it. And then he sais to unlock bootloader again. In h818 you can unlock the bootloader ? No....

So the only way right now to update to nougat is using flashfire or twrpfish and both are dangerous. AND if you succeed , forget downgrading again. If you still like your g4 better stay away from the nougat idea until and if LG releases a kdz.
[G4 Android Development] otaviohpf:
This is the problem, I upgraded to Nougat and had success, all right with rom, however I want to go back to 5.1 because it is the only version that has root in 818p and I need root. In the G4 group in Brazil, some users had problems trying to downgrade, so I'm following the XDA forums to try to find a safe way to downgrade.
[G4 Android Development] kessaras:
Don't. You will go through hell to find proper .dll for your variant. Also must be 100000000% sure that it will work otherwise you will be left without phone looking for days maybe weeks for a dll
[G4 Android Development] popy2006:
Hey, any chance we can get a stock nougat v29a kernel image which has this fixed :

https://www.google.at/amp/s/www.xda-developers.com/lg-root-checker-tool-slow-performance/amp/

I have found the process with ps on this rom/kernel.

Thx pOpY

Gesendet von meinem LG-H815 mit Tapatalk

---------- Post added at 12:36 PM ---------- Previous post was at 12:19 PM ----------

Ok, with this app: https://labs.xda-developers.com/store/app/com.zacharee1.rctdremoverforlg

You can patch the kernel!

Done and rctd is gone from ps list [emoji16]

pOpY

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] carlos15black:
Hi guys, I need your help! Ive already got the bootloop problem in my g4 so I had to go back to 5.1 and install the patch to disable 2 cores. Is there a way to install this rom in my case and no get the bootloop again? I mean, is there a patch to disable cores in nougat or something like that?
[G4 Android Development] kessaras:
this is full os alternative to kdz we dont have. no modifications here.

why flash this full stock os if you gonna flash twrp and kernel with big cores disabled ?

flash freedom rom (stock again) and 2nd post there you will find what you need.
[G4 Android Development] carlos15black:
So is it possible to flash it with that kernel in post 2? And not get the bootloop again? Because with the 4 cores is working good but im in lollipop. Its too old for me
[G4 Android Development] carlos15black:
BTW, I can't get root acces in android 5.1, it's so difficult to find a way! I want to install nougat :(
[G4 Android Development] stillz:
I have h815 SEA running on 5.1 with root and locked bootloader, can i install nougat with flashfire?
[G4 Android Development] MoatazAmar:
Hello...Im having H815.. I dont know how to unlock bootloader,does it mean i should root it?

And after i root it how to get to the Twrp. What should i press to get there..and i shouldnt wipe system?

And should i dowbload gapps or not?
[G4 Android Development] Stransky:
You are using wrong command. "fastboot flash recovery twrp.img" is the command. (without the quotes).
[G4 Android Development] rocky184:
Thanks Stransky but I got it sorted following advice from steadfaster.
[G4 Android Development] carlos15black:
Is it possible to flash two zip files through Flashfire. Im on lollipop rooted with two cores off but my bootloader is lock so I dont have TWRP. Can I flash a nougat stock rom with the files that dissable the cores through flashfire?
[G4 Android Development] kessaras:
No. Locked bootloader will do a security check and lock you out.
[G4 Android Development] carlos15black:
Got it. How can I install TWRP in this lollipop rooted?

---------- Post added at 09:35 PM ---------- Previous post was at 09:34 PM ----------

Or is there a way to unlock bootloader without a pc?
[G4 Android Development] kessaras:
TWRP is between bootloader and boot. I don't want now to explain all the theory. Anyway , the rom has nothing to do here. To flash TWRP you need an unlocked bootloader. Further questions and for better explanations ask in TWRP thread.

And no!!!

You need to use fastboot commands for the unlock. Only with pc

-----------. .-------------

[MENTION=8601968]Linuqs[/MENTION], yes.
[G4 Android Development] Linuqs:
Thank you for the clean stock rom :)

I'd like to try it but I'dl like to be sure how to install it... I'm currently under LineageOS 14.1 with TWRP as a custom recovery. Do I only need to wipe everything then install the .zip file with TWRP ?

Thanks in advance !
[G4 Android Development] y.abdalhaleem@gmail.com:
Great <3

Unfortunately mine is locked version and there is no way to open it, is there any KDZ or TOT file?
[G4 Android Development] gpetit14:
No, I am waiting the same cuz mine is bl blocked too and no way to unblock the BL.
[G4 Android Development] joaste:
Auto-brightness + Official Nougat update OTA

Hello to all,

2 questions:

1) Does anyone also have the issue of auto-brightness that is turned off and goes to max after a reboot?

2) Would anyone happen to know if those having installed this beta version will get the official OTA when it comes out?

Thanks in advance for any info!
[G4 Android Development] kessaras:
1) No.

2. No.

https://www.xda-developers.com/lg-g3-lg-g4-no-monthly-security-update/
[G4 Android Development] joaste:
Thanks kessaras.
[G4 Android Development] marn3us:
Hey guys, would you please be so kind as to help me one second?

Could you please navigate to system/vendor/lib and send me the small file named "libril-qc-qmi-1.so" that you find there?

Thanks, it would really help me :)
[G4 Android Development] Azoroum:
I need the nougat modem and bootloader for a custom Rom to work properly. Is there a way to only update those? Or do I need to install the whole kdz?
[G4 Android Development] kessaras:
The file you ask is not there. Probably in LG is under a different name. I will share with you later the libs under ril name but keep a backup before you replace them.

See my freedom os 2nd post under op
[G4 Android Development] marn3us:
Thank you very much :)
[G4 Android Development] maxx_hr:
Here: https://mega.nz/#!MklmkTxK!5H9fFlkuJcHMwOacbEOuRaL_1-MkcimnCVNz7nYV7-E
[G4 Android Development] kessaras:
both. lib64 and lib and backup before you use them in aosp/los based rom that you want.
[G4 Android Development] marn3us:
I tried replacing the librils in AOSCP and I also checked permissions but unfortunately the phone started saying "no SIM card" so I had to go back to AOSCP ones :(

Thanks anyways!
[G4 Android Development] kessaras:
Yeap. All AOSP use different ril. They have their own. You did good to backup
[G4 Android Development] danpan11:
Sorry if it is obvious to some, but why does this post say that is an Official release, but is not in KDZ format, and you must have TWRP to flash this? Is confusing to me.
[G4 Android Development] kessaras:
https://www.xda-developers.com/lg-g3-lg-g4-no-monthly-security-update/

be glad we got this beta from Poland and we updated and now we also have aosp and los roms with perfect camera quality.

and i will 1000% try for oreo. but not yet.
[G4 Android Development] danpan11:
So this is a Beta from Poland, that is what I want to understand. Thanks.
[G4 Android Development] raptorddd:
is it worth it ... works flawlessly.. pretty sure youll be happy.
[G4 Android Development] danpan11:
It seems to work just fine, my only reason not to apply it is just to wait to see if this month we receive the official KDZ, I mean I have waited for so long, what is another month or two right?
[G4 Android Development] raptorddd:
maybe that wait could be eternal.:D enjoy now..
[G4 Android Development] lapist:
I installed this ROM to my H815 and it seems to run fine, smooth and stable.

Is there any way how to remove the swipe to unlock screen after waking the phone? I use pattern to unlock my phone and I first need to swipe on the lock screen before I can draw the pattern, which is quite annoying...
[G4 Android Development] a tiny ant:
I don't think you can. Not in settings at least.

Maybe with Tasker you can make an automatic swipe the moment your screen turns on.
[G4 Android Development] lapist:
There is no mod or tweak to disable the slide screen? Is it like that in all Android 7 installations on all phones?

Another annoying thing with this ROM I noticed is that screen usually wakes after only one tap or touch to the screen (so it wakes up e.g. when putting the phone into pocket) and sometimes it doesn't react to tapping at all. Is it possible to tweak or disable turning the phone by tapping?
[G4 Android Development] mughal23:
How can I have that “slide up to open app drawer” like it is in Pixel Launcher?
[G4 Android Development] popy2006:
Hey guys, any chance to disable the proximity sensor when screen is off? It sometimes prevents dt2w to wake phone instantly when I'll take it out of my pocket. On other roms there was a option to enable prevent wake when in pocket, but on this rom I'll didn't found out.

Any hints, thx pOpY

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kessaras:
dont remember since im on aosp for many days. 1 way works 10000% . using the wakelock blocker app that rules in xda and play store these days, you can block the proximity sensor.
[G4 Android Development] raptorddd:
have h811 and have samething. i think its a hardware problem.

---------- Post added at 08:09 PM ---------- Previous post was at 08:08 PM ----------

search for renzetti.s home
[G4 Android Development] popy2006:
Nova launcher can do this. Already using the feature for a long time. pOpY

Gesendet von meinem LG-H815 mit Tapatalk

---------- Post added at 04:50 AM ---------- Previous post was at 04:50 AM ----------

Thx, will try that

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] lapist:
Do you mean the problem with waking up the phone after single tap or touch? Hmm I don't think it is a hardware problem, because I didn't notice it with stock Android 6.0 that was on the phone when I got it a few days ago... Although I had it there ony for a while before I flashed 7.0 so I can't be sure..

Anyway it should be possible to disable wake on tap somehow completely.. For example my Vodafone/ZTE phone has option for that in settings..

EDIT: So I found a way how to disable Knock On (waking up the phone by tapping the screen) - there is a hidden setting that can be accessed from Activty Launcher - https://www.youtube.com/watch?v=gIgHPYeH6gs
[G4 Android Development] raptorddd:
have you flashed stock MM and tried .. i did and had same problem..

i use app from playstore called any cut with a mashroom icon create shortcut look for knock code and toggle on off.
[G4 Android Development] karanti:
I have installed m recovery before your ROM and now the twrp disappeared.

I tried to install again twrp and it was impossible.

How can I do it?
[G4 Android Development] jovanv:
Check post #297 in this thread.
[G4 Android Development] mamaeca:
Please give a link on how to ROOT nougat:confused:
[G4 Android Development] jovanv:
Flash install the TWRP recovery and then install SuperSU zip from TWRP. That's how I did it.
[G4 Android Development] mamaeca:
Please give a link SuperSU zip for nougat:confused:
[G4 Android Development] karanti:
I use the command "fastboot flash recovery recovery.img" as you write at post #297 and nothing happend.
[G4 Android Development] jovanv:
I used SuperSU-v2.82-201705271822.zip which you can find in this thread

---------- Post added at 11:00 PM ---------- Previous post was at 10:56 PM ----------

Please provide more info... e.g. are you in fastboot mode? do you see the device with fastboot devices? have you renamed TWRP-version.img to recovery.img? etc.
[G4 Android Development] tulen_kobi:
if you want only to flash supersu than boot twrp using fastboot boot twrpimage.img and than flash supersu from phone.

If you want also to install twrp to the phone, you need to copy the twrp image to the phone, than do the same - fastboot boot twrpimage.img and than in TWRP choose select zip, in the bottom chose image and select your twrp image, select recovery as partition and confirm flash. Afterwards you will have twrp installed on your phone.
[G4 Android Development] bnbagiz:
i can not enter recovery mode after suffering from a bootloop because of activation unsupported tweaks via gravitybox.

i am trying to enter by pressing and hold power+volume down, release for a sec after lg logo apears, then press an hold them again... worked in previous versions

any advice how to enter recover ? i want to uninstall xposed framework

edit:

got it: never release the vol. down button!
[G4 Android Development] Ilnaz123:
Is there someone who can convert

V29a flashable to kdz it would be help everyone!!

Just like genesis tot version???
[G4 Android Development] kessaras:
if genesis did something like that , then he should share his tools.

currently i don't have any tool up to date working on ubuntu 16 or 17 to do that.

steadfasterX has some tools but i haven't yet the time for that as i try maintain a kernel with 8 different builds for stock,aosp,los and no big cores for those with motherboard problem and 3 roms, lol.

in future....... or if anyone else with some knowledge wants.....
[G4 Android Development] kessaras:
Same as every phone.

Boot to bootloader

fastboot flash recovery recovery.img

Boot to twrp , flash magisk or su
[G4 Android Development] edemir206:
Hi,

Good job for providing us Nougat, Does this work on my Brazilian variant H815P ?

My current software version is V20b-BRA-XXX.

Is the only way unlocking bootloader+flashing twrp ?
[G4 Android Development] ntelas:
Thanks man! Dirty flashed over Freedom Rom and everything works nice! :good:
[G4 Android Development] Velkyrix:
as of now, no, it wont work.

I am still hoping someone will make a non-rooted version, because it is possible.
[G4 Android Development] kessaras:
it is non rooted. its not made.

its the official v29a from LG, i uploaded this alternative for the kdz that we don't have.

It's impossible to pack a kdz. That tool is lg property we don't have it. if anyone has that tool and he can share it, then i'd be glad to pack a kdz build for the locked bootloader variants
[G4 Android Development] popy2006:
Ok, will pull it from G drive.

Anyone got the original nougat boot and shutdown animations working?

Tried a few but they don't work, thx

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] stoner007:
KDZ compiler - example for old LG models

https://xdaforums.com/showthread.php?t=2179431

Edit: another extractor of kdz, but problem will be with kdz repack and sign it

https://xdaforums.com/showthread.php?t=2600575
[G4 Android Development] Velkyrix:
its actually possible to compile a TOT, its been done before. but- it can't be refurbished, its not an actual rom.

its legit a modification to the system.img and a few other things that need to be flashed ABOVE a certain kdz.

Then again, if this is the ACTUAL V29, that wont work. We need to base it off a V30 kdz cus thats the one that is available to us.
[G4 Android Development] kessaras:
i don't have nougat modem of other variants since Lg hasn't released it.

I will pack a kdz for h815 international and use it only on the variants that you guyz are 100% sure that it will work , based on your older experience.

for example one guy earlier told me that the international kdz worked on his L variant. So the L variant can flash it and hope it will work.

Other variants i can't promise that calls will work. Worst case is that calls won't work due to modem incompatibility.

Tomorrow then ! i need to download unpack edit and repack 2 full sized roms and the net is slow cause im uploading other roms for op3T and lg v10 at the same time.

EDIT:

oh i forgot to mention something. i don't promise that i will be able to create the kdz. the tool is old , its since 2013 and it was tested on LG P700
[G4 Android Development] Adooda:
fingers crossed for you my friend to save my H815L LOCKED BL :o
[G4 Android Development] stefan.kurz:
Hi,

first of all thx for the great work. Til now all runs great. One Problem. After flashing the rom via twrp, twrp is no longer installed. It seems that it is replaced by stock recovery. Adb devices works, adb reboot bootloader works as well. Fastboot boot twrp.img doesn't work. After downloading the img it shows a mistake. I can reboot, but not install twrp. Any ideas?

Ps:

Fastboot boot twrp.img shows the following:

downloading boot.img...

Okay

Booting...

FAILED (remote: unknown command)

Finished total time...
[G4 Android Development] alex2000robert:
Maybe you should try fastboot flash boot twrp.img.
[G4 Android Development] stefan.kurz:
Do i have the system or will this end in a full wipe?
[G4 Android Development] alex2000robert:
Did you guys notice the "Device cannot check if software is corrupted. Lock the bootloader" message just after installing the rom? This means there must be actually a way to lock it back.
[G4 Android Development] kessaras:
fastboot flash recovery recovery.img

the latest 3.1.1-1 not any older recovery.

and this is not a rom. this is the new nougat os from lg. its a full firmware upgrade alternative to the kdz we never got from lg.

so its natural to lose twrp. i kept it fully stock and untouched so the devs can take it and work with it.

You want us to create our nougat roms don't you ? :D

And you want lineage based roms to improve right ? :D

Thats why its untouched
[G4 Android Development] Velkyrix:
k thanks!

but you are kind of confusing me. you said some dude said it works on his L variant. I have the H815L variant. How'd he flash it? don't u need bootloader unlock? H815L doesn't have that.
[G4 Android Development] stefan.kurz:
Sry. My fault. I thought flashing a zip let the twrp be installed.
[G4 Android Development] kessaras:
fastboot flash recovery recovery.img

The latest 3.1.1-1 not any older build.

this is not a rom.

this is the full nougat os from LG untouched, its a full firmware upgrade.

its the alternative to the kdz we never got from LG.

Its natural to lose twrp.

I'm sharing it untouched cause i want all the devs to take it and work with this and build their roms, kernels and lineage based roms take some improvements.

This is cause LG added a self test on boot. the phone on boot , boots 2x times. 1st time it tries do a self test. 2nd time it boot normally.

yes there is a way to lock it but be careful before you lock it.

if you flash any other recovery besides the stock from LG and lock the bootloader, kiss your lg bye bye.

TWRP with a locked bootloader will cause bootloop. So you can't enter the ui to enable developer options and select to allow the bootloader to unlock. so you can't boot, you can't unlock the bootloader again.

So don't touch that and don't lock it unless you know what you are doing.
[G4 Android Development] alex2000robert:
How do you lock it anyways? I've not seen yet a thread talking about BL lock, that's why I'm asking.
[G4 Android Development] kessaras:
the command to unlock it is always the same.

fastboot oem unlock

and if the company added a code we also add the code to that command, right ?

Now do the opposite.

fastboot oem lock

simple :)

and don't do it :) if you still love that phone. it's not tested.

as far as my knowledge goes, its ok to re-lock if you have the stock recovery. but as i said its not tested.
[G4 Android Development] WoodenHead:
hi i was just wondering can i root nougat in H818P version of this? i installed it but the only issue is the big cores, it keeps freezing my device and loops it. as yall know H818P has a locked bootloader so...
[G4 Android Development] kessaras:
You can't use this rom if you have a motherboard issue.

In a locked bootloader only the official will pass the secure boot check. If you flash a kernel for big cores disabled , bootloop.
[G4 Android Development] WoodenHead:
whoops, i'll keep sticking with my old boy lollipop 5.1 then. thanks :)
[G4 Android Development] glirpi:
i must say big thank to the author of this thread. with my minimal skills i use this "rom" month or two and all working very well on my h815 eu.
[G4 Android Development] casabato:
Hello. I have a G4-H815, v20l firmware version, unlocked bootloader, TWRP and rooted.

I would like to flash this "Nougat Stock" but I have some doubts:

1- After the NOUGAT flash have I unlock the bootloader again?

2- Do I have to reinstall TWRP and ROOT? How can I do? Do you have any links to advise me to find guides?

Thank you
[G4 Android Development] lapist:
Bootloader will remain unlocked (at least it was for me), but you will need to install TWRP and root again after flashing this firmware. You just need to enable USB debugging again, reboot to bootloader (adb reboot bootloader) and flash TWRP (fastboot flash recovery twrpxxx.img). Then you reboot to recovery and install the latest SuperSU ZIP. Easy :)
[G4 Android Development] casabato:
Thanks...