yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] steevio_uk:
Could someone kindly confirm. I have read parts of this thread and searched, but it's long and has updated info so wanted to check the process was correct and a few basic questions.

Sorry if they have been answered before.

Process

1. Boot to TWRP

2. Wipe cache, dalvik

3. Flash .zip

4. Reboot

Then all is to stock version 7.0?

What about Mods I've seen mentioned? Will I still have TWRP to do this and where can I find them?

Are there any particular basebands or kernels I need to ensure are also installed? (Before or after flashing this?)

Many thanks for this and for all the help in advance
[G4 Android Development] kessaras:
1. Yes

2. No. Wipe /data is most important

3. Yes

4. Yes.

You won't have twrp anymore. OP sais stock LG recovery.

And the official will also support ota.

If you flash twrp and later in the future flash the ota you better know how to use kdz in nougat to restore/fix your phone.

If you want twrp boot to bootloader and flash it later but with your own risk if you use the update.

For stock nougat to use with twrp and flash anything you like I suggest my freedom os.

Install instructions are different there.
[G4 Android Development] kouzelnik3:
[MENTION=5062063]steevio_uk[/MENTION] Yes, you are absolutely true. You don't need necessarily wipe data. It's only recommended. After Nougat flash, you won't have wiped data, your bootloader remains unlocked and you will need reflash TWRP as same as root. That's what's happened to me.
[G4 Android Development] ItzShadowz:
Thanks for the thread! Unfortunately I went back to MM firmware because the "Cannot check device for corruption" message on boot annoyed me so much haha
[G4 Android Development] Velkyrix:
Also everyone, its possible to do this on BL Locked devices!

it doesn't modify boot partition from LG's one, so all bl locked devices can root on lollipop and flash it through flashfire or TWRP-in-FISH! (it follows a tutorial very similar to that given to bl unlocked users, especially if you use TWRP-in-FiSH)
[G4 Android Development] kessaras:
but they won't have root again unless i make a boot.img and data.img pre-rooted but that won't happen , not now.

if v30 doesn't come for everyone then that was in my plans.
[G4 Android Development] steadfasterX:
Could you please add:

its absolutely crucial to take your time and backup with either the latest TWRP BETA release

or the DLM Backup method or even

both

for the paranoid ones

I still believe too less ppl understand how important that is (we both know ofc) but I miss it in your OP ;)

.
[G4 Android Development] Velkyrix:
I think they'd only benefit from not having root unless their warranty is finished anyway. For me at least, I would benefit from not having root because then my warranty technically wouldn't be voided.
[G4 Android Development] kessaras:
hmmm,

mate , flashfire also gives the choice to wipe or rm -rf a partition ?

if yes and if root is not an issue, then yes do it.

EDIT:

Extract .zip file, rename ALL .bin to .img and flash them ALL at ones. I think not all bootloader partitions are in flashfire but it will workout with those it has.

Don't skip anything for after reboot cause thats definately a problem.

Even .kdz restore will be a problem with half bootloader flashed. KDZ will see the phone as a h815p for example or a h815 int. ? who knows.........

So it's dangerous to do a firmware upgrade like that. Ofc i can't recommend something like that. If anyone ever do it, make a guide for it
[G4 Android Development] jovanv:
So far so good! One day on v29A and everything seems fine: no bad surprises. Battery looks good and holds.

Just one annoyance, as I've upgraded from H815-20g (which was Vodafone branded). It seems that this Vodafone splash image is still staying somewhere. Any suggestions how to remove it, if possible?
[G4 Android Development] kessaras:
vodafone splash ? :cyclops:

i wanna see that too if you can record it ! i had Cosmote at mine and cosmote doesn't 'ave a logo.

you tempt me to change my sim to see it !

no, you can't remove it. It's generated automatically from Carrier apn settings. I will have a look at it if i can re-produce it here and see it with my eyes. (ofc i have to see something to change it , i can't change a ghost code)
[G4 Android Development] dszymek:
One bug: led blinking without notification
[G4 Android Development] jovanv:
OK, I'll record the boot splash image tonight. I've never been with Vodafone, but my previous H815 ROM was H815 20L with KDZ flashed through LGUP. (I think I mistakenly put H815-20g in my message before). H815-20L has a Vodafone custom boot (this thread).

So, the wipe I did wasn't effective at removing the boot logo.
[G4 Android Development] kessaras:
And no Vodafone splash logo for me here........

Maybe the sim has to be inserted before the 1st boot........ (i wonder.... i don't know for sure)

Too bad , i wanted to see it....
[G4 Android Development] jovanv:
OK, here is a short (1 min) movie of the boot. With the Vodafone boot splash image.
[G4 Android Development] kessaras:
ah its taken the place of the boot animation.................. and it is lame too......... its the same splash logo with the vodafone app...... dam......

i can try have a look if those logos are pre-installed but i guess not. I think that this was downloaded automatically from the carrier settings.

i hope vodafone greece never do that lol !

if you can find it in /system , /data or in /cust then delete it. i'll search too.

i'll keep you up to date if i will find anything
[G4 Android Development] Astrako:
You have to delete /cust content to remove ****ty carrier stuff.
[G4 Android Development] kessaras:
so its in the cust ?

[MENTION=5205036]jovanv[/MENTION] Mate don't delete the whole cust , you will lose apn settings.

gimme a day ( i need some free time first ) to give it a look.

EDIT:

you r from Madrid (Spain) ? to search specific apns not search/edit the whole cust
[G4 Android Development] Astrako:
See my cust directory ;)

Apn can take its config from /system/etc/apns-conf.xml

I use this from LOS, that has much more settings for worldwide.
[G4 Android Development] jovanv:
Thanks. Yes, I have plenty of stuff in /cust including VDF_COM folder (VDF = Vodafone?)

My /system/etc/apns-conf.xml has 2384 lines.

So, all this junk was probably put in there by the KDZ I've used for H815 20L, as I've never been with Vodafone (so it cannot be that the career put staff there). I remember that I had to use an alternative DLL file LGUP_8994.dll in order to be able to use LGUP with the 20L KDZ.

I'll give it a try to move the content of /cust somewhere else and see how it behaves.
[G4 Android Development] Tisusbr:
I'm having an LG G4 with the bootloader locked. How could I install that sound apart from 5.0. ?
[G4 Android Development] aalvico:
No way, need to go back to lollipop for root.
[G4 Android Development] kouzelnik3:
As I was browsing on hidden menu, I have found that there is vowifi and volte support, but I cannot see any icons or something like that in the menu even if I enabled these (viz. screens)
[G4 Android Development] kessaras:
I know. I also know how to enable them in lineage based.

They are useless. The hardware does not support them. Only the dual SIM variant does
[G4 Android Development] popy2006:
OT: Guys, which app do you use for seeing better battery stats? A few has posted some Screenshots, which app is this?

Ps: used better battery stats until now

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] jovanv:
Well,I cannot delete the files in /cust as it needs root, and I did not have plans to root my G4. I will see if I can root it just for this and then remove root.
[G4 Android Development] kessaras:
yeah and our twrp doesn't have cust in /etc/fstab so i can't make you a script.

i made a twrp right now , sec i test it

EDIT: [MENTION=5545101]steadfasterX[/MENTION]

im adding cust in twrp now

sgdisk --info 48 /dev/block/mmcblk0

Partition GUID code: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (Microsoft basic data)

Partition unique GUID: 7C16CFD2-9125-D8F8-176B-D4FE215E99FB

First sector: 9363456 (at 4.5 GiB)

Last sector: 9887743 (at 4.7 GiB)

Partition size: 524288 sectors (256.0 MiB)

Attribute flags: 1000000000000000

Partition name: 'cust'

it is ext4

Already added it and in backup too.

im now testing it
[G4 Android Development] kessaras:
flash this to take a backup of the cust before you delete it, just in case you need to restore it.

unzip and flash recovery in twrp just like you flash every other recovery.

then go safely delete it.

meanwhile i will (or better [MENTION=5545101]steadfasterX[/MENTION]) will add it if he is willing to, in fstab to be able to mount it too.

if you boot and have no carrier name and carrier is unknown or something like that, flash the 2nd zip with apns in twrp.

cheers.

EDIT:

its not like we can't just make a flashable zip with cust only but i like to do organised work.

i don't like deleting partitions without backup or restore possibility.

i always want to take measures for the worst.

Don't forget to click thanks here. I just made a TWRP modified build in only 10minutes adding cust partition in ! (including my slow download rates lol)
[G4 Android Development] N0xTrUm:
Thanks!

I installed this version last night and works fine on my G4. The unique "issue" is the silent mode, but is a nougat bug on version 7.0. In the next days i will test the battery.

Thnaks! :good:
[G4 Android Development] jovanv:
Hmm, things are getting nasty :) as it seems I cannot flash the TWRP. I followed the instructions:

1. adb devices =>OK

2. adb reboot-bootloader =>OK

I guess it goes into the N bootloader, as I have not seen this bootloader before.

3. fastboot devices =>OK

4. fastboot boot twrp-3.1.1-BETA_g4_sfx-14.img =>Not OK, error

downloading 'boot.img'...

OKAY [ 0.769s]

booting...

FAILED (remote: unknown command)

So, is there something I missed for installing TWRP in Nougat? I picked up the latest TWRP, I tried also with a previous version (3.0.2-1) that I used to flash to MM, but it failed with the same message.
[G4 Android Development] kouzelnik3:
I had problems with booting to recocery as well, but if you choose to "fastboot flash recovery twrp.img", it will succesfully flash it. :)
[G4 Android Development] kessaras:
fastboot boot command is blocked in Nougat bootloader.

fastboot flash recovery recovery.img

or inside twrp -> install -> image -> recovery.img -> recovery
[G4 Android Development] steadfasterX:
Its not like that i do not want to include the cust partition but first i need to explain.

most important: our g4's have different partition tables!

e.g. a LS991, F500 or a H811 have a carrier partition but

no

cust and a h815 a cust but no carrier. They also differ in the way to interact with the apns and other carrier stuff so flashing a system without a matching carrier/cust may result in no signal and / or no mobile data.

The above depends on what you flashed obviously. Lets say you flash a "modified" F500 so Frankenstein kdz on a H815 it will flash the partitions and (should) re-partition your device to have no cust anymore but a carrier partition instead.

If you just flash this ZIP in the OP it will not modify the partition table but what I want to say is it depends on what you've done to your device - or what not how your partitions are atm..

(Extra info: besides this the partition sizes may differ, best example is system!)

so including this in the TWRP official will break things probably. I have to test how TWRP behaves when it has a partition configured which does not exists and how I can include this in the usual backup without a user has to know about cust and carrier.. that need some work and time so i need also testers with both partitions.

keep in mind that u always have the option to use the DLM Backup to backup those partitions and well im working on an easy restore method (pssst spoiler alert: I will release a full LGup replacement...)

sfx
[G4 Android Development] kessaras:
i will do the test this weekend.

i will fastboot -w and flash 811 partitions and table.

then i will boot in twrp to see what happens.

So we will know what happens in h811.

For h815 its safe, ok.

-One more idea is to include /cust only in /proc/mounts or in /etc/fstab.

That way we can mount it just like we do with boot partition for example. And if that partition is missing, the mount command will just return a fail.

(not in mount options/menu. using mount -o remount or simply mount commands)

And/So , NOT including it in fstab.p1 and in fstab.gcom will not give red letters error when we boot in twrp.

We will see. 1st ill do the test this weekend to have time to restore it to h815 again.
[G4 Android Development] dszymek:
How to install H-ROM G4 NOUGAT? Now Im on this software.
[G4 Android Development] kessaras:
Those who suffer from bootloop caused from the big cores look at the 2nd post.

New kernel build.

It disables the Big cores permanently.
[G4 Android Development] mamaeca:
How to install H815kdz file oficial:crying:

---------- Post added at 06:37 PM ---------- Previous post was at 06:35 PM ----------

H815 Nougat Stock kdz
[G4 Android Development] kessaras:
There is no .kdz from LG.

This beta was release in Poland Only and we contacted xda member Keriox and got a dump of all his partitions.
[G4 Android Development] Rusya1337:
Just noticed that Location doesn't work at all. I'm pretty sure, that after i installed ROM it worked correctly, but now google or any other geolocation program can't see me.
[G4 Android Development] daniLaLaLaLaLa:
That was weird, even me with my locked bootloader G4 got everything working with Nougat except VoLTE since i'm converting my device from SEA to EUR..
[G4 Android Development] Bemxe:
How can I back to mm from this rom? I've already tried to flash v20 kdz in LGUP and it stopped at 25% with 0x2000 error. Now I'm stuck in download mode.
[G4 Android Development] kessaras:
very big mistake...............

i don't know.

if that doesn't help you , then start a thread in question and help section.

https://xdaforums.com/showpost.php?p=73493577&postcount=78

1) Never downgrade from nougat without being sure that you can.

2) You can also downgrade without kdz. simply

a. Rooting

b. TWRP

c. flashing v20p firmware in twrp

d. flashing Rom

Done , you have downgraded successfully.

We have unlocked bootloader for that reason. we don't need to follow LG rules and tools.

EDIT:

I'll also mention one last thing. Always read OP.

OP sais have a backup in twrp. We did a very good job to add all partitions in backup menu for that reason.

Full backup and later one tap full restore !!! Thats it. back to MM with simple

a. Root

b.TWRP

c.Restore backup you kept
[G4 Android Development] Bemxe:
[MENTION=5461026]kessaras[/MENTION] Nah it doesn't help, but what about flashing F500K v30 modified for H815 in LGUP? I saw conversation that it is possible, just change F500K to H815 in kdz by winhex, BUT i can't do that.. my final file has 200mb and i can't find any link for modified kdz. I had root and unlocked bootloader on v29 if it can help..
[G4 Android Development] kessaras:
bootloader is now unlocked ?

if yes and if you can enter bootloader somehow, do:

fastboot flash recovery recovery.img

flash latest twrp beta 14. then everything is easy
[G4 Android Development] stefan.kurz:
Stay cool. Help in a minute.

---------- Post added at 02:36 PM ---------- Previous post was at 02:33 PM ----------

It works if you have h815.

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

Post 71-75
[G4 Android Development] raptorddd:
https://yadi.sk/d/KIG5F82jmXcUR/LGUP_0x2000_Error_Fix

place in LGUP folder /then model folder
[G4 Android Development] Bemxe:
Oh my Goood. It works! Thank you so much! My phone is finally alive..
[G4 Android Development] kessaras:
But you didn't click the thanks button :D

Always hit thanks to something good. The thanks meter in xda is important. it shows that a person actually does something here.

Nice :)

And never use kdz as a 1st option again. you got unlocked bootloader and a bunch of good devs here
[G4 Android Development] kouzelnik3:
Just a question. Is there a way how to change how many tiles will be displayed in non-collapsed notification menu? I want more than 4x3 but I cannot find correct command using adb.
[G4 Android Development] kessaras:
no, it needs to be modified inside systemui that one too.

everything related to the template and font color and icons are in the UI.

The only exception right now is with app icons which can also be modified with a theme thanks to the themer that links the icons to the app icons
[G4 Android Development] kala123:
Download link dead, says no links found.

-EDIT-

Now working.
[G4 Android Development] MationMac:
I'm confused, what tools should I use to Clean Flash and to reboot into TWRP?

Everyting else seems pretty clear but I don't have experience with those two.
[G4 Android Development] kessaras:
1. Full backup in twrp and transfer backup to pc.

2. Download this full OS in external sd card.

3. Advance wipe system , data and everything (recommended to avoid bugs.

4. Download adb at pc.

5. Open cmd and cd into folder that adb.exe is in.

Type adb version to make sure it works.

Then type adb devices to make sure the adb see the device.

Boot into bootloader and type

fastboot devices

To make sure fastboot see your device.

6. Boot into twrp flash full OS.

7. Reboot.

Let it finish boot until you see the launcher.

8. Enable developer settings

9. Allow adb.

10. adb reboot bootloader

11. fastboot flash recovery recovery.img

To flash TWRP again

That's it. No need for more info
[G4 Android Development] jovanv:
It took me some time before I could find time and try this, but just to report that it did work. Here is what I did:

1. unzip and flashed the recovery image via fastboot (OK)

fastboot flash recovery recovery-beta-12-with_cust.img

2. Reboot to recovery, check TWRP version: 3.1.1-beta_sfx-12 (OK)

3. Backup just /cust (it appears in the folder list for backup) (OK)

4. Install SuperSU-v2.82-201705271822.zip in TWRP (OK)

5. Reboot

6. I use terminal emulator

1. su (grant permission for su)
2. mount -o rw,remount /cust
3. mv /cust/* /sdcard/tmp (just in case)
4. exit and reboot

And voila, the ugly splash image from Vodafone is gone and I have cell network signal and no problems with apn for now.

I've also installed Disable_Big_Cores.zip just in case.

And all works nicely, this weekend I used the location quite extensively for a 4 hours walk (using Wikiloc.app) and I have not seen any glitches or problems with the location, which were reported by some people.

Thanks for the good work, [MENTION=5461026]kessaras[/MENTION]

EDIT: I tried to mount or find the /cust folder in TWRP, in order to get rid of the contents, but as it is not in the fstab it is not appearing anywhere. So, I had to installSuperSU.
[G4 Android Development] kessaras:
Nice. Yes it was something I made up that moment.

Now cust will be added as a partition and get tested before release.

Stead is working on it.

Me I'm mostly in for a custom kernel.
[G4 Android Development] wjtk:
Do you know how to get rid of "swipe to unlock" when using "pattern lock"? It's second, unnecessary screen which makes unlocking time... In ideal situation it should work like on Marshmallow - showing pattern to unlock directly.
[G4 Android Development] kessaras:
not possible. nougat lg lockscreen is only like that
[G4 Android Development] htr5:
I had he same issue on MM so try this:

Set a pattern lock and then enable face unlock under Smart lock, it will show the big pattern grid directly. It stays like this even if you then disable the face unlock.
[G4 Android Development] wjtk:
Doesn't work, unfortunatelly.

Second thing, do you know how to enable System UI Tuner?
[G4 Android Development] kessaras:
This is not los...... this is LG stock based. Not even op3t stock based thats most of it like google doesnt have it.
[G4 Android Development] tulen_kobi:
Google camera

Anybody tried the hacked google camera on Nougat? The version based on the HDR+ algorithm from N5X should work as our devices share the same processor.

Original posts here: 4pda

Can anybody try this version? Latest or this one? From OnePlus
[G4 Android Development] doiutzu:
Doesn't work
[G4 Android Development] Faultles:
Hey!

Can anyone please give me a bit of info on how the phone is holding up in terms of battery and heating after this update? Better/worse? I know its in general the phone itself being bad on those 2 things but still hoping it got better even a little to make me update it haha :). (also if this stock is not offering the best battery life, which one of the ones we have currently would suit it best for that matter, the battery?)

Thanks a lot in advance!
[G4 Android Development] stefan.kurz:
If you can install this rom you must have unlocked bootloader. If you have try freedom rom. Good in battery and performance. My sot increases till 5 h. 15-25% longer.

The rom is stock based. Looks öike stock with a few tweaks.
[G4 Android Development] Faultles:
Thanks! I will give it a try.
[G4 Android Development] IoIam:
It does install but when opened it crashes, I have a feeling that it might be compatible with some modifications
[G4 Android Development] tulen_kobi:
Can you please try also this version? It is based on Google camera 3.2 https://www.androidfilehost.com/?fid=961840155545591454

Here are all versions if anybody is interested.
[G4 Android Development] IoIam:
This one doesn't even install, it says something like "damaged package" (I have my phone in Italian)
[G4 Android Development] Cimabu:
Hi guys, just to know... Is it working glanceview in this stock nougat rom?

Thanks :)
[G4 Android Development] guillefs:
Installation procedure:

This is a Full OS Upgrade for all of us coming from MM.

>> Clean Flash << when coming from MM or from Lineage|AOSP based roms !

- Reboot to TWRP

- Advance Wipe -> /data , dalvik-cache, /cache

- Install Nougat

- Reboot.

Is it possible to install it from android lolipop with TWRP in system ? (locked bootloader) (H815 TW)
[G4 Android Development] niccotaglia:
I flashed this one

https://xdaforums.com/g4/themes-apps/root-60fps-camera-100-photo-quality-t3129460

I flashed the normal file, not the one with altered UHD bitrate

---------- Post added at 02:42 PM ---------- Previous post was at 02:41 PM ----------

Yes, Glance View works.
[G4 Android Development] jameslight:
I only have problem with double tap with nougat v29?
[G4 Android Development] popy2006:
Hey [MENTION=5461026]kessaras[/MENTION],

have you also noticed the too high volume rocker key repeate rates?

I have this issue since v29a with stock kernel and titan kernel.

is there an easy way to fix this?

thx
[G4 Android Development] kessaras:
we already discussed about this and i told you yes , because its a feature that is default on LG phones

can you explain a little bit what exactly you want mate ?

Though i dont promise anything , i don't mod the roms , im the "Stock" guy haha !

if its something that can change from a .xml setting, yes
[G4 Android Development] popy2006:
the issue is when you short! press on the volume rocker, android changes sometimes more (up to 3x) volume steps (on volume slider) than one.

So the repeat rate on holding the volume rocker seems to high.

Thats really anoxxing sometimes because the volume changes too fast.

Any ideas?

pOpY
[G4 Android Development] kessaras:
ah thats what you mean.

done. added to next build :good:

Edit:

Ah , we are at the official thread :D

Not done here.

I'll explain later when i'm home how to do it.

I'll do it to Freedom next build
[G4 Android Development] popy2006:
So you also have this issue?

thx for a possible fix, thats nice!!! :good:

Is it safe to dirty flash Freedom ROM on top of this stock nougat?

Just why i am interrested in the issue, can you please explain in detail whats the issue and how do you fix it?

(when its just some xml editing i can do it manually)

thx

pOpY
[G4 Android Development] kessaras:
do it in build.prop its easier

https://www.xda-developers.com/how-to-add-more-steps-to-your-volume-slider-root/

you would have found it if you would have searched with simple keywords:

/system increase volume steps