yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] deltadiesel:
not sure to I don't use kernels even though I'm on one now. It is not compatible with LG ROM though

There are only few from what I know:

ALU

Sweetlama

Titan

Those are all cyagenmod based/aoscp

LG based are:

Imperium

Might be few others but I don't use them, LG ROMs don't work on my phone. Imperium is older ROM, so don't flash kernels for marshmallow on nougat based rom

I'm on AOSCP ROM,

You will need to look in android development. imperium I think you need imperium ROM to use the kernel because might have code written in it to prevent you from installing

Try AOSCP newest ROM out right now if you like vanilla android

If you like customised ROMs you will need to use Resurrection remix, Dirty Unicorns, etc

If you like LG based ROMs the one you are on now, freedom, depacito, imperium etc

I don't bother testing Marshmallow ROMs no more

Nougat and up, and I'm stuck with AOSCP/cyagenmod only

Don't trust kernels, but its your phone do what you want

You have a backup installed of original ROM so your good to play around

Always wipe before installing new ROM, it will have the options checked off of what to wipe. If you are updating your current ROM with new release you will be able to dirty flash, without wiping anything most of time

When installing kernel you will want to flash SuperSU again after to regain root.

Anyways anything recent will be at top of pages, start going further back and it will be older. Some people prefer older u know what I mean ;)

I haven't used current ROM you are on....it is LG based
[G4 Android Development] Caffo74:
If you have MM bootloader you should be good to go ahead and flash this ROM, just follow the OP instructions, I also flashed the latest TWRP and SuperSU v2.82 after the ROM and the Update file "optional" flash/install,

However I did all this on my phone within TWRP and without pc/laptop.

H-ROM G4 H815
[G4 Android Development] morris1231:
info

Hi! I'd like to know if the Nougat bootloader improves some performance respect the MM bootloader.

Thanks.
[G4 Android Development] tmihai20:
I've had the same question. It is more a matter of security than a matter of performance. This is the response I got.
[G4 Android Development] Caffo74:
To be honest I'm unsure of it's performance over the MM bootloader, to me it's more of using the latest/newest and more up to date version and as others have mentioned it's more about security.

LGG4 - H815 - H-ROM - TITAN KERNEL
[G4 Android Development] Ciccius-IT:
[MENTION=6917540]Astrako[/MENTION] I clean flash your rom (I was on Kessaras Freedom Nougat) with update, then Titan kernel 1.7 and Magisk. Rebooted and no BT. I can't switch it on.

Rebooted in recovery, flashed again kernel and magisk. Rebooted, no BT.

Again in recovery, clean flashed rom+update and Magisk (no kernel this time). Rebooted and, you know, no BT.

Last resort, flashed bootloader+modem (obviously 29a, the zip without splash from Kessaras archive). Still I have no BT.

Could you help me? What's going wrong?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Tell me what do you have in folder (entire content): /system/app/LGBluetooth4
[G4 Android Development] Ciccius-IT:
I don't have that folder...

https://photos.app.goo.gl/Xa3BLPFkxaMbNcg02

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Ok can you extract that folder from update zip file and copy to /system/app? You need a root file explorer... do you know how to do it? I am not at home now and I cant send you a flashable zip
[G4 Android Development] Ciccius-IT:
Yes, I know how. Now I'm busy, give me an hour and I will tell if that work.

Do I have to change permissions also?

Inviato dal mio LG-H815 utilizzando Tapatalk

---------- Post added at 05:35 PM ---------- Previous post was at 05:33 PM ----------

Astrako you mean extract from N-Update zip or from Rom zip?

Because in the first there isn't that folder either.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Maybe did you download update file some time ago? I have downloaded again update file and LGBluetooth4 folder is there... please download and check again. Or just extract from rom zip. You will need set the permissions if your explorer doesn't do for you. RW-, R--, R--; for all folders and files
[G4 Android Development] aradix:
Hello,

[MENTION=6917540]Astrako[/MENTION], when installing H-Rom (clean installation from MM and with TWRP 3.1.1-1) when booting gives a Kernel failure (and does not boot).

Any ideas?

Greetings and thanks!
[G4 Android Development] Astrako:
Hi Alberto, I dont understand... All should have gone fine... Could you provide a picture of kernel error mesaage?

EDIT maybe do you refer to the new message for unlocked bootloader (device cant be checked for corruption and so

..)? Then that is normal. Just change the advice for open bootloader with new N bootloader
[G4 Android Development] aradix:
I'm recovering a backup !!! (fear took over my ...)

Maybe it was to install Magisk ... I will install the installation only the Bootloader, the Rom and the update (followed and without restarting, no?).

Greetings.

---------- Post added at 07:09 PM ---------- Previous post was at 07:06 PM ----------

The backup seems to recover well (ah, and had not lost TWRP, as I read that happened to another person a few posts back) ...
[G4 Android Development] Astrako:
Check this:

https://xdaforums.com/showpost.php?p=73495122&postcount=95
[G4 Android Development] aradix:
No, that message and I saw that it had changed, this message was passed ...
[G4 Android Development] Astrako:
Returning to MM you need also to install MM bootloader. [MENTION=5461026]kessaras[/MENTION] has it in his files:

https://androidfilehost.com/?fid=673368273298968010
[G4 Android Development] aradix:
I did not need it (the TWRP backup Bootloader).

I have returned to do the process without Magisk (only Bootloader, Rom and Update).
[G4 Android Development] aradix:
Perfect!!!!

Thank you very much [MENTION=6917540]Astrako[/MENTION] !

The problem was Magisk... or not¿?¿?¿?¿?

Procedure: Start in TWRP -> All Wipes and Formats -> Installed the Bootloader, the Rom and the Update (Wipe dalkvil and cache) -> Restart (and Wifi settings, Google account, ...) -> Restart TWRP installation Magisk (v14.0, before trying with v14.2) -> Wipe Dalkvil and cache -> Restart and READY !!!

Thaks, thanks and thanks!!!!
[G4 Android Development] Astrako:
Good! Glad to read that then. Maybe problem was Magisk 14.2? I haven't tested this version yet (stable is 14.0 really)
[G4 Android Development] !ms!:
So, i install the rom but due to it was slow for me, the decide to downgrade with lgup to mm... now the phone stuck to Firmware update screen due to error "0x2000 invalid command response". any ideas???
[G4 Android Development] Ciccius-IT:
I did all. This is the report.

First time I esrracted files from Rom zip and putted them in system folder and rebooted. BT worked but when I connect two devices it cashes and disconnect from both in loop.

Then I looked N Update version and you're right, there was un updated one on your repository.

Downloaded new one, esrracted files and saved again in system folder. Rebooted but same issues.

Then tried last time. Flashed again rom then update then magisk (so no titan kernel). Now I'm testing. I'm connected with headset and JBL flip 3 and it works. Tomorrow I will test with Nissan connect that give me errors today. I will tell you.

Many many thanks anyway for support. You and Kessaras are the men [emoji106]

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Yes problem is that I uploaded by mistake a flashable zip that deleted that Bluetooth folder (main BT app). One user reported it to me and and I deleted inmediately and uploaded the new (and last update) file. Maybe you downloaded the wrong file and preserve it on pc.... Problem also is that when installing rom a library is linked to app folder, so now that you say this, extracting from rom is not valid. But I added all these (BT app + library) to update zip to people that flashed wrong file.

Anyway glad you solved finally :good:
[G4 Android Development] Ciccius-IT:
Ok, thanks. Now I have to test some more and then try with Titan kernel that I really prefer than stock one.

I guess why you don't implement FHD 60fps to camera?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] raptorddd:
place this files in c:program files /lg electronics/lgup/model/8994

http://www.mediafire.com/file/3umc5jboc0cwcm5/8994.zip
[G4 Android Development] Ciccius-IT:
Tested with Nissan Connect 3 and it crash BT, it goes in a loop.

Here the logcat (it contains also many thermal error, I don't know why).

https://drive.google.com/file/d/1GlFS1JLPkma0uq_mkJna8kYZAwUIt6X0/view?usp=drivesdk

Rom with Update and stock kernel. No other mods.

Someone could help me?

Before I was on Freedom rom 7.5 and I switched to this because of BT problems, but not this kind of problems! Now is worst than before. I can't use my phone in my car.

Thanks to everyone.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] !ms!:
Thanks for the reply

unfortunately i get the same error. now the lgup stuck at "primaryGPT" status with dll 0.0.4.0 rather than "system" with dll 0.0.3.21. I'm currently downloading a tot file, if it makes any change. any other suggestion?

So i follow this guide here https://xdaforums.com/g4/help/ive-bricked-g4-trying-to-flash-kdz-lgup-t3666486 and now works again. Anyway i'll try this rom again, cause the reason it was slow might be root method i had follow.
[G4 Android Development] Astrako:
BT gives a crash and seems related with permissions, but I don't know why! All here is stock like in 29a! :rolleyes:

Have you tried with pure stock nougat rom?
[G4 Android Development] Ciccius-IT:
I'm downloading v29a original. I will try also that.

Maremma Maiala! (in Italian to bypass filters [emoji16])

I want my phone BT working again!

Thanks Astrako.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Thordgar:
Hi, after installing this ROM to try it, I selected factory reset from phone Settings to start the configuration again. Now it keeps booting into TWRP, what can I do?

I tried also to install the zips again but nothing changes.
[G4 Android Development] Astrako:
Try doing a format data in TWRP. Be aware that this operation will erase your internal storage.
[G4 Android Development] Thordgar:
I already tried with no success.

EDIT: Now I tried also to restore the TWRP backup but nothing changes
[G4 Android Development] kessaras:
Because the damn in rom command to wipe data makes use of the /etc partition which is by default disabled in TWRP.

Go to TWRP thread and flash the emergency TWRP or download our stock LG recovery . Links in nougat stock rom op. One of my links will get you to steadfasterX host.

Navigate to extracted to find the v29 rom split to pieces.

Stock LG recovery is there. Rename it to recovery.img and flash it in fastboot and reboot. Problem solved.

Or just delete the recovery in there and it won't flash the stock recovery.
[G4 Android Development] Ciccius-IT:
Kessaras so is correct if I rename TWRP downloaded IMG file to "recovery.bin" and replace the file inside "v29a pure stock" zip? This way when I flash "v29a pure stock" zip I will find TWRP as recovery instead of LG stock one? If this is correct I can bypass TWRP standalone installation.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Ciccius-IT:
Wow...

Well, I've wiped everything and installed Pure Stock Nougat v29a, then rebooted. System booted. I haven't restored anything, neither Google account (obviously I had to login with it for unlocking phone but not added account to system). Then tested BT with headset and Connect. All right! BT works like a charm.

So i came back to PC to install TWRP and all the things. And here starts problems.

I can't install TWRP with "fastboot boot twrp.img" command. It says "remote: unknown command". Searched the web and I found other people with my same error. I think it's caused by Nougat Bootloader?!

Understand me, tried all I can do. Unistalled and Installed again drivers, uninstalled all LG software except of drivers, tried even with FWUL with Simple ADB. I can always see ADB device connected and authorized and I can reboot to fastboot mode. But then when I give boot twrp.img command came an error.

I think I really need help...

What can I do?!
[G4 Android Development] raptorddd:
i read that you cant use fastboot to boot into twrp. if you have twrp installed use the button combination..to enter twrp if you mean you dont have twrp and cant boot into twrp to install then i dont know.
[G4 Android Development] Ciccius-IT:
No, I don't have TWRP now. The kessaras answer arrived too late and in the meantime I flashed Pure Stock zip. Now I have stock recovery. The installation instruction on TWRP site doesn't work because I can't give the fastboot boot command to reboot in temporary recovery.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Yes, fastboot boot command doesn't work with N bootloader, but you can reboot to TWRP with button combo :good:
[G4 Android Development] Ciccius-IT:
Astrako the problem is I don't have TWRP anymore ?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] Astrako:
Enable adb debugging in dev settings and then:

1. adb reboot bootloader

2. fastboot flash recovery TWRP-LG-H815.img

3. power off device

4. go to recovery with button combo
[G4 Android Development] Thordgar:
Thank you, you saved me :good:

Now I have two problems:

1. Play Store doesn't download apps on WiFi

2. Every time I turn on the smartphone, the 4g connection is on even if I selected only 2g and 3g
[G4 Android Development] Ciccius-IT:
Astrako I thought that this will not work if not done inside temp TWRP boot. If you are right I will be happy, but if it doesn't work when I go to recovery with button combo i risk to reset system again...

Is there a way to confirm that TWRP is correctly installed without entering with button combo?
[G4 Android Development] kessaras:
lol , thats rom related.

reflash rom , some permission is deleted somehow.
[G4 Android Development] Koile:
Sorry for late answer.

if only this module wasn't outdated und was still working... :(

Sorry, no option.

Are there any other approaches?
[G4 Android Development] Ciccius-IT:
DONE! But with these commands (from FWUL Simple ADB):

1) adb reboot bootloader

2) fastboot flash recovery twrp.img

3) fastboot reboot

4) adb reboot recovery (to check if TWRP is present without risk)

5) TWRP booted! THAT'S ALL RIGHT!!!

Thanks to Astrako and Kessaras for support!

I hope this could be useful to everyone.
[G4 Android Development] steadfasterX:
You just miss 1 word "recovery" in your step 2.

But I took your problem here as a trigger and have updated the TWRP thread today which I missed since a while... Hope it's now more clear for those having nougat.
[G4 Android Development] Ciccius-IT:
Edited ?

Thanks steadfasterX.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] maver77:
Sorry I'm confused. Where did you get TWRP-LG-h815.img? This one: link ?

EDIT: When I tried to flash that one I received: booting.... FAILED (remote: unknown command)
[G4 Android Development] raptorddd:
use this one.. here https://xdaforums.com/showpost.php?p=72866919&postcount=2

go to where it says

*Optional*

Official TWRP Modded

and download. its same just have theme and it works it just an older build. i told steadfasterx that latest didnt boot rom.

steadfasterx is the maintainer of twrp. so his builds are official. but latest have problem use this one .
[G4 Android Development] Ciccius-IT:
I just downloaded latest version from official site

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

And it works well.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] raptorddd:
well steadfasterx is the official maintainer and he said not to download from official instead use hes builds.

the one i pointed to him works and looks amazing thanks to kessaras that added a themed twrp.
[G4 Android Development] Ciccius-IT:
Yes, it's right. But I always used official build and I never had problems.

(Or perhaps my BT issues with Freedom Rom were caused by TWRP?! ?

I don't really know... But I don't think so.)

I think we can use either official or betas for standard things. Am I wrong?

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] raptorddd:
if i recall right steadfasterx said not to use the one at the official website of twrp. i think it builds it self. but instead he posted a message telling us to use his uploads from his web host and not official twrp site.

as long as you flash the ines within his upload page its all right.
[G4 Android Development] steadfasterX:
TWRP issues and questions should go in the official TWRP thread.
[G4 Android Development] kessaras:
do you even know where the official comes from ?

This dev here https://xdaforums.com/member.php?u=5545101

worked his ass down to make it. then he published his work on gerrit and it was merged up on the official org in order to start the AUTO-building of the official.

Official now is auto-building but not updating if someone does NOT update it. But to update it, he needs :

1) new sources and blobs (he has them now)

2) people to test and give him logs

3) solve errors

4) upload to gerrit

5) get approval

6) merge.

7) TIME to do all that.

And also it needs time to get approval and get merged.

So you are using a (almost) 2 years old TWRP and ask if bluetooth error is from there ?

What i mean is, keep your TWRP up to date if you want to be up to date. Otherwise one day you will wake up with a bricked phone and wonder why

EDIT:

flashing is not affected, not here in g4 at least, but keep it up to date for everything else to work, like backup, restore
[G4 Android Development] cypress35:
Hi everyone!

do you know when official lg g4 nougat version release? All most december and no coming anything
[G4 Android Development] raptorddd:
we dont know and seems that itll never happen. keep calling LG for release.
[G4 Android Development] doluv39:
App not installed. The package appears to be corrupted. please how to solve it mate many app i want to install come with that error on this rom
[G4 Android Development] raptorddd:
bad download of app/ best thing is to clean flash and start fresh installation. of rom
[G4 Android Development] raptorddd:
great work astrako as always nice rom. congratulations. :highfive:
[G4 Android Development] darkstewie92:
rom doesnt boot, i' ll try to update twrp via fastboot cause i can't remember which version i had.

EDIT: i cant even enter on fastboot mode. did i just brick my phone?
[G4 Android Development] Astrako:
Enter download mode and flash any MM kdz via lgup.

This rom doesn't touch recovery. Apart from others, only has aboot that polish guy uploaded.
[G4 Android Development] jurastefo:
Perfect rom as always. When do you mean that will be prepare UX 6 port.?
[G4 Android Development] Astrako:
If I have time tomorrow, but soon in any case :good:
[G4 Android Development] mthd77:
I've installed your rom from twrp recovery , after I've done backup of my previous nougat rom installed...

After I've flashed magisk, the root explorer doesn't see my files it say that my system is not rooted, but I've checked with root checker and ..surprise..it say that I'm rooted.

The only little problem is that the glance view doesn't work and I don't now why..and that crazy message that say that I have to relock bootloader...when reboot..but who cares.. other than that.., everything is okay.. And I've seen that camera app have that mod multi windows which I loved.

Many thanks for your rom
[G4 Android Development] Astrako:
Have you installed Magisk Manager apk? Please try installing it and check again.

About GlanceView. All is ready as always in framework, but maybe LG forgot to enable in kernel... I haven't touched or deleted anything from this. Maybe in final Nougat they will enable again.

Camera is ready for manual video too, but it works buggy. So for this reason I haven't enabled, and I haven't time to fix it. If you can play with that then you can enable manual video in /system/etc/camera_config.xml, changing <item name="manual_video_mode_supported">false to true.
[G4 Android Development] kessaras:
magisk works for me (i didn't flash this exact build but we all use the same base right now without many mods)

so, magisk works but magisk right now if you check the threads, is at a crisis. they try fix it to pass safetynet again , it has a cts profile missmatch and its a mess.

Try SuperSU too and if the problem persist then report to Astrako again.
[G4 Android Development] gentr:
Very very thanks for this great rom. G4 is back ????
[G4 Android Development] mthd77:
Many thanks for your reply...

Is funny, that glance view worked before in nougat.., which I've flashed thru recovery all that files.., aboot, boot, modem, modemst1, modemst2 and system.., but anyway not o big problem.

I've installed also magisk manager, but root explorer doesn't see my files.., strange.

Anyway.., many thanks..
[G4 Android Development] darkstewie92:
can' t even do that. the device goes on download mode and just after that, the message appears again and after some seconds it reboots.
[G4 Android Development] Astrako:
Thanks to you for reporting mate. Strange thing about GlanceView :confused:
[G4 Android Development] mthd77:
You're welcome anytime... Yes indeed.., strange thing about GlanceView..., and I've checked on recovery and system is not mounted.., maybe this is the reason why root explorer doesn't see my files...

Many thanks
[G4 Android Development] Astrako:
Can you tell which variant, rom, recovery and so do you have just before flashing this rom?

You can be sure that I have flashed a lot of danger stuff and never had such kind of "brick". This rom doesn't touch recovery nor laf partitions (where download mode is). I have flashed many times, returned to MM, flashed again, flashed system.img Nougat, flashed korean bootloader, flashed aboot file from Nougat, etc etc. Also tried with secure, insecure and permissive kernels. Never had such thing.

Did you cheked md5 from file?

Check unbrick threads also here on xda, maybe is something helpful for you.
[G4 Android Development] darkstewie92:
I flashed a lot of ROMs on various phones too, but never had that problem. I was on dirty unicorn nougat, but cant remember the recovery and from which country this phone(but it's h815 for sure). everything worked fine on the first boot, so i guess the file was ok? ill try to look for some guide.
[G4 Android Development] Astrako:
Yes, system never is mounted in recovery by default, but this shouldn't be reason for GlanceView or I don't see the relationship ;) Anyway very glad to read polite and kind reports :good:
[G4 Android Development] mthd77:
Thank you again for your good work.... This is the main reason of this xda community.., to help each other..if we could.

I'm in Android world since 2010 when I got boot up Android from sdcard on Samsung Omnia 2..

Again many thanks.. All the best..
[G4 Android Development] Fenderstratocaster87:
Hi guys, I would like to flash this Rom, now I have crDroid and I flashed modem and bootloader 20p: can I flash the Rom using twrp after full wipe(as usaul)?or I have to do something different?
[G4 Android Development] kasiopc:
I have tried with Magisk 13.3, 13.5 and 13.6 but getting CTS mismatch. Think this is due to Magisk rather than the ROM though.
[G4 Android Development] Astrako:
Did you encrypt /data in Dirty Uniconrs for any reason?
[G4 Android Development] doluv39:
thanks bro you mean am gonna real install this rom again:crying:
[G4 Android Development] raptorddd:
yes i only see you getting this problem no one else. just do all wipes. and if you can do this procedure better

https://xdaforums.com/tmobile-g4/development/turbo-cleaning-proceure-h811-t3417606
[G4 Android Development] doluv39:
thankss:good: