yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Dred65:
Found that app on my galaxy s4 running lineage 14, tried to record internal audio only didnt work for me. It picks up mic as well. Thanks for info ?
[G4 Android Development] 4ngl09669:
If you open the app, there is a gear, and you can deselect them on the microphone
[G4 Android Development] Thordgar:
Sorry if I'm late but I had Magisk installed so I've followed your guide (full format) to install the ROM from the start (Mini Gapps, no root). I've just completed the first boot and I have the same issue. I'm on a officially unlocked H815.

I hope this will help :)

https://paste.ubuntu.com/p/VCMzSjBzQC/
[G4 Android Development] 4ngl09669:
[MENTION=5545101]steadfasterX[/MENTION] Hi, I have another tip for the list. I'm using simply gallery pro (you can get it for free from F-Droid, or buy from the Play Store) and it is really stable and complete from all points of view. I use it in place of Google Photos, much better!

Regards!
[G4 Android Development] Ximo F. Verde:
I second that, best gallery app by far, with tons of customization options.
[G4 Android Development] steadfasterX:
added.

[MENTION=1007992]everyone[/MENTION]: if you provide suggestions pls always add a link to the app in the play store and a short reason why that app is so good.

.-
[G4 Android Development] naimcr:
Hi, I can't make payments with NFC. with the stock rom I could do it. I've tried with and without magisk and with other ROMs available here. I can still connect to other devices with nfc. the application I used is MBWAY
[G4 Android Development] steadfasterX:
Known issue:

https://github.com/Suicide-Squirrel/issues_pie/issues/36
[G4 Android Development] timax69:
Is it possible to change the background color of notification text. It is white background with black text. Change Display/Design: dark does not change the notification behaviour.
[G4 Android Development] 4ngl09669:
I don't want to be wrong, but you need Android 10 for that
[G4 Android Development] roberto888:
Hello!

Bluetooth doesn't work on my phone, it is constantly crashing. Here is the logcat: https://paste.omnirom.org/view/a81e6fad
[G4 Android Development] steadfasterX:
set selinux permissive

start logcat as described in the FAQ

turn BT off/on

share logcat again

.-
[G4 Android Development] roberto888:
Here: https://paste.omnirom.org/view/7f3ccbb6

Done one with your B method as well, quite a big file though, see attached:
[G4 Android Development] horvalos:
Hello Steadfaster!Thanks for your efforts keeping alive our G4,i've instaled latest build and noticed graphic glitches,tearing, when scrolling chrome or at contacts app any idea how to solve it?doesnt happened to me with old build..
[G4 Android Development] pichulo:
Not gonna try to iron, freeze or nuke the phone. I accepted its fate.
[G4 Android Development] Dred65:
Sry to hear your fate. I will light a candle for your mobile. ?
[G4 Android Development] masemoel:
Try OpenGL renderer
[G4 Android Development] horvalos:
Thanks for your answer but i dont know what you mean..how can i try this?
[G4 Android Development] masemoel:
Look at the December changelog at xda.

The developer explains how can we set again OpenGL as the default renderer.
[G4 Android Development] horvalos:
Thank you for the information,i found the thread and I'll try this solution..:good:
[G4 Android Development] Ximo F. Verde:
A few more app suggestions:

Via Browser

Very fast browser, clean UI, decently customizable. Has 2 very noteworthy features. 1) Back without reloading & 2) Use volume buttons to scroll. I found that both significantly speed up browsing.

https://play.google.com/store/apps/details?id=mark.via.gp

Frost for Facebook

Web based FB client, light, fast, & customizable. Allows for some extra control over notifications compared to the app (afaik) and it's also less cluttered.

https://f-droid.org/app/com.pitchedapps.frost

Hedgecam 2

Free cam app with tons of customization features & best in class (free app) manual video control options.

https://play.google.com/store/apps/details?id=com.caddish_hedgehog.hedgecam2
[G4 Android Development] breversa:
Hi [MENTION=5545101]steadfasterX[/MENTION] and a huge THANK YOU for your continued work on the G4 (still the best sustainable device in 2020, bar the Fairphone of course !) ! :D

However, I’m getting worried about the inclusion of third-party apps, as I fear it’ll lead to a bloated ROM, which is one of the most important reason I switched to LineageOS. :(

IMO, if you were to include substitute apps, they should honor those conditions :

- replace a defective/buggy app (not simply "add features" because everyone has their own "must have" features)

- be open-source (no-brainer)

- be optional (but then, why add them in the ROM in the first place ?)

For replacement apps, a better solution might be to get in contact with Setialpha (of NanoDroid : https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928) and ask him to include those apps in his optional zip packages ? There’s already one for OsmAnd.
[G4 Android Development] steadfasterX:
I guess that is a misunderstanding..

I do not include any 3rd party app. I just maintain a list of user recommendations in that post: https://xdaforums.com/showpost.php?p=79502872&postcount=3

There are absolute no plans for adding any other 3rd party apps (other then F-Droid which is already included). I hate bloat and as you said already everyone has its own prefs.

.-
[G4 Android Development] breversa:
Ah, I’m relieved ! Thank you for clearing that up ! :)

Why not make the aforementionned post another topic ? I’d love to chip in too !
[G4 Android Development] Over567:
What is the easiest way to go back to the latest Stock ROM from this version, because I want to sell the phone in the future and maybe that would be more appearing to have an original ROM on it. Sorry for the question. :D
[G4 Android Development] masemoel:
LGUp or flash the Nougat zip
[G4 Android Development] steadfasterX:
Non UsU (i.e official unlocked) lgup .

UsU'd is another story. For that read the UsU faq.
[G4 Android Development] steadfasterX:
ok the reason might be clear now but for this you need to flash the attached boot image in fastboot (unzip, reboot to fastboot and: fastboot flash boot h815_usu_boot.img)

it is for h815 UsU only and puts the device in permissive mode.

let it boot and if bluetooth works afterwards follow the steps in FAQ #07 of this thread and share the mentioned logs.

.-
[G4 Android Development] Thordgar:
Hi [MENTION=5545101]steadfasterX[/MENTION] , is this log enough to recognize my problem (the phone is stuck in 3G)? Thanks ;)
[G4 Android Development] rojanor:
banking apps crash

I have an issue with an banking app which wont start because of a failed security check where it says the phone is rooted.

The app is called vipps, and I have tried other banking apps with no problems.

This is not a big problem, but i'm curios as to why this specific app wont work..

logcat: https://paste.omnirom.org/view/481a02c8
[G4 Android Development] stsz1954:
Installing ROM

Hello. I have an LG G4 H812. Presently, I have 15.1-20181002-UNOFFICIAL-h812_usu installed on it. It's been working fine. I would like to install this rom.

In the instructions, if you have a UsU'ed device, you should flash the modem partition from the TWRP backup. I'm not sure if I ever

flashed it. I tried to go to your modem downloads but there is no download for the 812 modem. My present baseband is

BO.2.5.c3-00128-M89992FAAAANAZM-1. This has been over a year and I'm not sure exactly how I installed the present rom.

Could I just install the lineage-16.0-20200120-UNOFFICIAL-h812_usu.zip from the download server without flashing a modem partition? I've tried to boot into TWRP using power and volume down, but it just boots up normally.

Is there any way I can install this rom? Any help would be appreciated.

Thank you.
[G4 Android Development] steadfasterX:
maybe, maybe not.. I'm rare of free time atm.. It seems though that this does not happen on [MENTION=4956374]aoleary[/MENTION] ROM's so it should be fixable.. was it an UsU'd device btw? If so can you try one of his ROMs and see if it works there?

according to your log the opensource tool RootBeer is running to detect root. If fails likely just because you have USB debugging enabled (as this has been marked as FATAL by RootBeer). Try disabling USB debugging and see if your app works then.

the instructions start with "If you have ever flashed the UsU baseband package" . as you have an UsU'd ROM running already you should not have flashed any. so simply proceed with the next steps.

accessing TWRP on UsU'd devices is described here: https://bit.do/unlockg4 , find the topic "TWRP/Recovery hardware key combo" and follow it STRICTLY as described.

.-
[G4 Android Development] miketheshoe:
So for h812 we no longer need to use h812_20z_modem.zip when we install lineage 16, the link is unfortunately dead on the server and I don't have the original back-up for the phone. Sorry for my confusion
[G4 Android Development] steadfasterX:
I did NOT said you

never

need that modem zip. I pointed you the the sentence where it clearly says WHEN you need to:

"If you have ever flashed the

UsU baseband package

"

maybe go back to the UsU thread and read through the FAQ if you are confused (which is understandable when your memory is like mine - see my signature).

There are valid reasons why you might need to flash the modem zip (or better said: "should". so you have an optimal system).

I also provided a solution based on your details you made and said you should just go on because when it is running now - leave it as it is.

btw: I have no time to fix the crappy AFH mirror. dunno why they do not allow the files atm. I have so often issues with them I cannot count it anymore.

.-
[G4 Android Development] rojanor:
Banking app failing

Thanks for looking at my logs :)

The banking app still fails with usb degugging off, i did another logcat could you please have a look? :)

https://paste.omnirom.org/view/82363ccb
[G4 Android Development] steadfasterX:
ah sorry my fault..

ro.debuggable = 1

is the reason. you cannot change that without magisk (and using magisk hide on that app) though.

this option allows restart adb with root permissions and is not available in production builds (usually).

while thinking about that. maybe I remove that option in one of the next builds..

atm you have 2 options:

1) installing magisk and configure magisk hide properly (and hope that this is enough, no 100% guarantee)

2) re-package the boot.img with ro.debuggable = 0 (search for user guides based on e.g. "AIK" android image kitchen).

if you do that, extract the boot image/partition, find the file in the root dir named "default.prop" and adjust the above value. re-package it and flash it in fastboot

.-
[G4 Android Development] Thordgar:
Ok, when I have time I'll try one of his roms. Btw I'm on and officially unlocked H815.

Thanks
[G4 Android Development] LuKePicci:
Hi [MENTION=5545101]steadfasterX[/MENTION], I'm just started reading some OP here and there about Lineage 16 on h815. I'm completely new in flashing LG devices. I can officially unlock it, so I plan not to go with UsU. I see the second requirement in this OP saying I "should be on updated bootloader stack, see FAQ#20", which is talking about UsU. I understand that instructions about bootloader stack updating are valid for officially unlocked devices too, but I also see in UsU's FAQ#7 you say "there is no need for the entire bootloader stack to be updated, modem partition is enough", however instruction for modem partition flashing are only provided here in this thread for USU'd devices only.. You also say to double "check the ARB", but where and against what should I check it? Should I read the complete UsU's thread OP/FAQ to understand more about ARB?

The phone is currently running stock MM. My current plan is something like this:

- official unlock

- bootloader stack update as per UsU's FAQ#20

- skip step 1 of this OP and run to the end

Is that correct?
[G4 Android Development] steadfasterX:
1. Correct you don't need UsU

2. You flash with lgup to the latest official firmware which is for the h815: 20p

3. Unlock officially

4. Check your ARB that it is still 0 (as the h815 has no ARB .. Usually) all about that incl how to find -> http://bit.do/antirollg4

4. Flash TWRP preview for pie (see the TWRP thread)

5. Skip step 1 of the OP install instructions and follow the rest

The bootloader stack update via fastboot is only needed when you don't want to use LG up or if you have an UsU device. UsU faq #7 is for UsU devices not for you.
[G4 Android Development] LuKePicci:
thank you very much for clarifying. I would suggest you split requirement two to address officially unlocked and UsU'd devices separately:

- UsU'd devices: check UsU FAQ#20

- officially unlocked: flash latest official firmware with latest 20p bootloader via lgup

Also, I was reading your TWRP thread already but you are explicitly asking to use tha latest PREVIEW build in the OP of this thread. I guess the PREVIEW build in that TWRP thread is the same one, but what happens if I use a official build from twrp.me? Is the use of a PREVIEW twrp build a requirement?

edit: I'm checking the new FAQ#8, I think it's way better now, still I would suggest changing it to "how to update bootloader stack", and structuring this way:

- UsU'd devices: check FAQ#20 of UsU thread

- officially unlocked:

-- lgup: pro/cons

-- bl stack only: pro/cons
[G4 Android Development] Ximo F. Verde:
Sorry for the redundancy, does this mean that there's a chance it might get fixed or that it's known & archived?
[G4 Android Development] steadfasterX:
I appreciate your suggestions but my free time is rare and as you already saw I added a new faq and also updated the OP. If it's not 100% perfect but imho enough.

I told you what to do. Flash the latest TWRP preview for P. Why ? Because the official is not made for pie. It is for oreo until I fined the time to merge to official again.

There is only one TWRP thread and no specific TWRP version linked in this OP .

As long as issues are open there is a chance
[G4 Android Development] stsz1954:
TWRP

Thank you for your reply. Just a followup question. I need to upgrade TWRP to install this Rom. Can I flash it using my present TWRP, or do I need to go the SALT/FWUL route?
[G4 Android Development] Whit3noise:
Install in H540?

Hi, it's possible to flash this into the h540 model? I have been looking to install lineage os but there is nothing for the h540
[G4 Android Development] steadfasterX:
Pls read the TWRP thread for this. there is no FWUL route here anyways ;)

h540 is a complete different hardware sorry.
[G4 Android Development] avnu:
Confirmation : On LG US991 -

Got everything working from USU with an unknown GPT Comp( you have to Press the option in Salt.. advanced with the Key on it) it modded my device to H812

then I came to Linage OS after flashing the N modem then the Based band to avoid brick..

then I copped the latest LOS since Salt told me h812 I got it , FLash twrp-3.3.1-PREVIEW-207_g4_P (PIE since that's what Im flashing obvs)

then I flashed the LOS got the error 7 : edited the updater-script by deleting Line : 1

then I flashed . Worked clean, then I flashed Super SU Clean, Gapps Clean , 20 min wait now im looking at a sexy g4 With 400mb ram usage

Long 12 hr journey No sleep its 11 AM and im tired asf got work in 4 hrs RIP
[G4 Android Development] avnu:
update - anyone kno why icant get the simcard working?
[G4 Android Development] steadfasterX:
uhm.. there is one thing which makes me wonder: you said your device shows as h812 in SALT? if that is the case you have not flashed the us991 UsU files but those for h812.

anyways thats just cosmetic (you can re-flash UsU with the correct files for a fix).

you never flash the N modem on an us991 . you flash your modem partition back from your SALT backup from BEFORE UsU'ing.

you also should not flash SuperSu as that is outdated and unsupported by its maintainer. LineageOS root-addon (see FAQ in post #2) or Magisk (see post #3 of this thread) is your choice then.

and as the LOS root-addon will be not supported after(!) pie anymore magisk is the only option for android >= v10 .

so flash your US991 modem back, choose to format data in TWRP wipe menu and retry.

.-
[G4 Android Development] webmode:
[MENTION=5545101]steadfasterX[/MENTION]

Many Thanks for your hard work

Does VoLte works with this rom? or any other your build?
[G4 Android Development] steadfasterX:
nope and nope. this is not supported in any custom ROMs (except on stock based).

.-
[G4 Android Development] webmode:
:good: No problem Thanks for quick reply.
[G4 Android Development] avnu:
youre a sweetheart .. im also trying to flash oreo or noug OS. just to try them out , I tried flashing the h812_usu for compatibility but I keep getting bootlooped , I tried flashing the sequence N modem, US991 baseband, LOS noug/oreo h812_usu since no us991 ver is around .. both failed I even tried N modem, H812 baseband, LOS , still failed .. o can always install the PIE H812 flawless but one issue I failed is a few of my games froze on the intro screen. sorry for the headaches but another explain would be nice
[G4 Android Development] steadfasterX:
so.. I mentioned that you should NOT use the N modem. and you are writing that you are still trying it. dunno what else to say then.

I said: use the US991 modem which can NEVER be N. it is a MM one. and you should use the one from your SALT backup which you hopefully did before UsU'ing.

then first you flash the h812 LOS version and nothing else. no baseband pkg. no gapps, no root. you can do that later if everything works.

.-
[G4 Android Development] masemoel:
Nice! Willing to try this awesomeness ?

Will FIOPS drain a lot of battery?
[G4 Android Development] Dany-El:
Hi guys, ...

after returning for a period to the Nougat OEM Rom, in these days I tried to install the android 9 custom roms currently available for H815 ( this Lineage 16, Havoc os 9.2, AospExtended 6.7 and AOSiP) but every time my smartphone crashes after selecting the language. The screen turns black and the led backlight stays on. :(

Old versions of these roms worked fine since i tried them last year when the DT2W was disabled.

A few years ago I replaced the original display with an aftermarket one...

i know how to install a rom or unlock a bootloader but i am not a developer... so is it possible that this is the reason for the problem?

it is possible that changes made to the kernel in recent months have made it incompatible with my aftermarket display?:confused:
[G4 Android Development] steadfasterX:
FIOPS will get done the job faster and that should be good in terms of battery .

Your crashes are very likely due to an outdated bootloader stack . Either that or maaaaybe the display who knows.

What you should do is the following:

1) ensure you're on the latest bootloader stack (see the OP for TWRP flashable files)

2) follow FAQ #7 and share these logs

3) reproduce the issue by following FAQ #1 and choose "specific issue" in that guide
[G4 Android Development] jjcdennis:
Hey steadfasterX, thanks yet again for this rom and the fantastic support you provide. Believe me it is much appreciated. A cold beer fund donation is on the way.
[G4 Android Development] Dany-El:
thanks for the quick reply...

step by step ..

about point 1)

is there a way to understand what version of bootloader i have?

I could not find the file in the TWRP thread but I found a flashable file of the Nougat bootloader in the thread of the LG G4 H-ROM... is this ok too? (second post here https://xdaforums.com/g4/development/rom-h-rom-g4-nougat-t3660032)

p.s. Other information that may be useful: my h815 (EU) is officially unlocked; the first time I installed Nougat via PC (.tot file); I recently restored Nougat with a flashable zip via TWRP (3.3.1.1)

really thank you for your patience!!:angel:
[G4 Android Development] sciss1968:
Tested the latest build on H812

I installed the latest build with the "LG-G4_VideoLag-Fix_increases-adsp-and-venus-to-arb2" fix.

So the md5sum results for venus weren't the same but it is working fine.

I find this ROM very responsive compare to the previous versions.

TWRP operation is also more responsive.

I'm using my H812 mainly to play pokemon over WiFi so I can't say anything about LTE and 4G.

I will continue testing and report issues.

Thanks for you great work.
[G4 Android Development] steadfasterX:
Actually it is possible to find out but there's no easy way to do so. in general it would work like that : back up with SALT one file of the bootloader stack (rpm or tz are good ones). next you extract the same file from any kdz file which might be the one you have flashed. Then you would compare the md5 checksum between and repeat that until it matches . Then you know the bootloader stack version. For the most people it is easier to just flash the bootloader in a specific version because then you can be sure as well. Ofc flashing the bootloader stack is always a risk especially when we talk about Frankenstein devices but that's how life goes..

With "OP" I meant this thread not the TWRP one. If you're using an app to browse XDA you might not be able to see it. So just open this thread here in a browser and find the TWRP flashable files in the OP . As you have an official unlock device do not use any file with USU in its name.
[G4 Android Development] masemoel:
Black screen issue - H815 (non UsU)

I've had many times this issue: I'm using my phone (no matter if the battery is low or the phone hot) when my screen suddenly shuts down. The phone seems to work without any problem (for example, if I was watching a YouTube video, the video keeps on and I can listen, but not watch the video). This problem happens on all Pie ROMs for a long time.

Many times, the screen turns on minutes after; however, other times I had to quit the battery.

Here is the logcat: https://paste.omnirom.org/view/3dad9cc7

Thanks in advanced for all your effort in this mobile! :D
[G4 Android Development] Dany-El:
ok.. I think I'm close to find it :cowboy:

I made some screens to be sure...

https://drive.google.com/open?id=1FSnhE7mkmd3s67KVIJzKPWjT0MRA2yNv

https://drive.google.com/open?id=15zcoHI4tCz_mS8d5nkwRXoCgeUiwVu2l

https://drive.google.com/open?id=1VDDRXu0QPa1Z3nlmSa7cuwVuLH-Agkdh

https://drive.google.com/open?id=15lbJga4JiFIP2n3vRjCkcxH_ndfAey7H

if the file I selected in the screen is the right one, I think to proceed as follows:

- reboot in TWRP

- full wipe

- flash v29A bootloader zip

- reboot in TWRP

- flash latest LOS 16 zip

- flash Gapps

- system reboot

- wait and keep fingers crossed
[G4 Android Development] steadfasterX:
I highly recommend :

h815_20p_bootloader_29a_modem_TWRP-flashable.zip

because v29a is a (unofficial !!!!!) beta and there are absolute no benefits in using that.

Also I would not flash gapps directly.

Flash LOS and boot once and complete the wizard. Then checking everything is working , then flash gapps , magisk etc first.
[G4 Android Development] Dany-El:
Sorry for the wait ... finally today I tried the bootloader.

Now i'm on 20p bootloader 29a modem but same result after flash LOS:(... black screen with led backlight on.

If i flash only OS the black screen appear after LOS boot logo and i can only ear the lock-unlock sound.

If i flash Gapps it appear after language selection.

Given the unpleasant result I proceeded with point 2: Boot log file via ADB

here the boot_lc_full.log https://drive.google.com/open?id=1t25oRKuDq49m3fd_Xl0G430tiDmRmFmF

here the boot_lc_kernel.log https://drive.google.com/open?id=1oN4IUGI2f4IVNrvk20NvCA-pGOWieV0T

boot_lc_crash was empty.. because I think it's not a real crash

[Update]

RESOLVED

was some strange error with the external sd file system or something similar. :rolleyes:

Sorry for the waste of time.