yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] a tiny ant:
Hmm. Impressive though.

I donated to you and [MENTION=5461026]kessaras[/MENTION]. Thanks again. Have a good vacation if you haven't already.

Sounds like an issue a full clean flash would fix.
[G4 Android Development] verbage:
a tiny ant, this is sort of analogous to the difference between digital zoom and true optical zoom on a camera.... If you have frame 1 and frame 2 of a 30fps video, you can mathematically calculate a theoretical frame 1.5 given the frame 1 and 2 endmembers. But in the long run, theoretical frame 1.5 was never actually captured in reality, it was simply calculated as the average between frames 1 and 2. And it may look and lead to smoother transitions when the whole thing is subsequently sped up to 60fps (i.e. what you are observing), but again, theoretical frame 1.5 was never captured in reality because the G4 camera can only do 30fps.
[G4 Android Development] jotaincubus:
Ok guys... try to put camera discussion in the camera forum... here is LOS 16.0 Android Pie to LG G4
[G4 Android Development] busattovini:
Thank you really much! ? You're amazing. Yes, you are. Restarting the device helped me. haha
[G4 Android Development] fi5z.x9:
Do a regular clean flash. It should help.
[G4 Android Development] busattovini:
It's working great here. I'm using GAPPS Pico.
[G4 Android Development] kessaras:
Remember that Google apps are "Google".

Google app is offering news depending your language, country, who you are, and generally Google is trying to make Google the best "tool" for each person depending who he is and what he does.

Sometimes there is an error to their code. Ofc they fix it asap, but when that happens something won't work.

For example, it's been on the news too, three days ago Google server died for Greece. Discover was empty and we couldn't see any news at all. Ofc 1 hour later or two it was fixed.

Thank you very much.

Its very appreciated and this really motivate us a lot even if we don't say anything.

This phone is really very hard to maintain because it's old and it needs a lot of attention daily.

I won't lie, many devs told me to stop maintaining this old phone but I can't. I like it. It's a legacy. I hope you people out there don't abandon it yet. Even if possible more people go buy it again. We will do our best to keep this phone going for a long time.
[G4 Android Development] a tiny ant:
I don't think I'm buying a new phone any time soon. All new phones are one step forward one or two steps back.

I'd like a fingerprint reader and a better camera but neither of those features justify spending 400+ euros.

Modern phones have either lower resolution screens, no SD slots, notches or *shudder* punch holes, inability to root, missing headphone jack, being overpriced etc etc.

I have yet to find a no compromise phone that's as complete as the G4.

Only the risk of bootloop is a downside but I think thanks to you it's much less likely to happen.
[G4 Android Development] rundumdieuhr:
I know it's OT, so I will keep it to this, but have you considered the LG V30? Which is my successor as a daily driver to the G4, and checks every one of your (and mine) requirements. Available for 300*€ max.
[G4 Android Development] busattovini:
Is there a way to disable the default cam without root?
[G4 Android Development] raptorddd:
thanks thing is i never do dirty flashes.. so must be something else.

---------- Post added at 08:47 AM ---------- Previous post was at 08:47 AM ----------

i never do dirty flashes.
[G4 Android Development] jovanv:
Is it possible/recommended to flash LOS 16.0 on a bootloooped H815? It's been running smoothly on stock v29a for a couple of months, since the bootloop.

In [MENTION=5545101]steadfasterX[/MENTION] server I can see 4 cores TWRP for O, but not for P, I guess I need TWRP for P in order to flash LOS 16.0. I have tried to flash twrp-3.3.1-PREVIEW-191_g4_P but it bootlooped.

Thanks!
[G4 Android Development] Ximo F. Verde:
Big thanks for all your hard work (plus a small donation to help keep the server up) :svetius:
[G4 Android Development] hdotzlaw:
Solved!

I did a new clean install using pico july 6.

After I installed Google app it made me go through setting up the Assistant, and everything works now as it should.

Thanks!!!
[G4 Android Development] fi5z.x9:
You do realize you're not losing any data; Just wipe the system, cache and dalvik cache, and flash rom zip and gapps again. I really don't see any other option to fix that issue.
[G4 Android Development] farzad9108:
Need help to flash latest Lineage OS over H815

Hello every one.

I've currently on my phone LG G4 H815 Lineage OS 14.1 with TWRP recovery 3.1.1.

I'm struggling to install either versions Lineage OS 15.1 or 16.0 from this post and previous post of "steadfasterX".

Here attached the log errors I get on my TWRP when trying to Flash these ROM.

You'll notice, I followed all step for clean install described here above.

Please help me to install the latest version of Lineage OS on my H815.

[IMG="First image"]https://drive.google.com/file/d/0BybZQ13Y2wQ3aHR2OGEyUjZaOUduQkJDZ0JYck03dW91aVhB/view?usp=sharing[/IMG]

https://drive.google.com/file/d/0BybZQ13Y2wQ3aHR2OGEyUjZaOUduQkJDZ0JYck03dW91aVhB/view?usp=sharing

[IMG="second image"]https://drive.google.com/file/d/0BybZQ13Y2wQ3RHJzbGE5b3NuOHU1LV9BQVZORFlnQXdyd0dr/view?usp=sharing[/IMG]

https://drive.google.com/file/d/0BybZQ13Y2wQ3RHJzbGE5b3NuOHU1LV9BQVZORFlnQXdyd0dr/view?usp=sharing
[G4 Android Development] steadfasterX:
1) read my signature and always share the recovery log, not (just) pics

2) before doing so: use the latest TWRP preview for pie. you are on 3.1 (extreme outdated, full of bugs) even the official TWRP is on 3.3 but anyways: use my preview. see the official TWRP thread for the g4

.-
[G4 Android Development] farzad9108:
Thanks a lot.

After updating the TWRP recoery to the latest 3.3.1, and then wiped everything and finally flashed (the linage OS 16.0 and the Gapps), it worked fine.

The ROM works fine for almost everything except I find it a slow....

Another strange thing that I don't have any network service for SIM Card. My sim card is not even detected. I've tested with other sim card, the same issue. But Wifi is working fine.

Edit : After restarting several time the phone, it finally detected the sim CAD and the Sim Network is working now. Very strange ( I saw this workaround on another forum).

Have a nice day.
[G4 Android Development] sperelli:
can anybody help porting the new android q lockscreen clock to this wonderful pie rom?
[G4 Android Development] kessaras:
there is no code released yet for Q.

Ask in Pixel devices threads for a Q beta 4 prebuilt apk
[G4 Android Development] sperelli:
tbh, i ve succeded to decompress latest unofficial rr p, which contains android q lockscreen clock..

do u think it is as simple as cut&paste CLock?
[G4 Android Development] kessaras:
wut ?!

RR has lockscreen like ours in AOSCP and the lock icon is on top and a dynamic analog clock ?
[G4 Android Development] GalaxyS3User2000:
Hi guys i have a question. My G4 H815 is on Nougat v30 port 2.2 and i have this Nougat bootloader flashed (mega.nz/#!cdNBGDTA!SL6JhzYX2HAQn4guADEIhmOEue-RYCoIizZ8bIjbJuI) by Astrako which was necessary for the ROM. Can i flash this pie ROM on my device without having a problem with the bootloader?

Thanks hope you understand me :)
[G4 Android Development] kessaras:
ya as far as i remember when we did N long ago with Astraco for the first time, that's the stock N bootloader without any changes. So you r good with that.
[G4 Android Development] sperelli:
i said unofficial RR Pie, tested yesterday.

give it a try.. it has many configurations, like the Q text clock lockscreen.

https://xdaforums.com/showthread.php?t=3861158
[G4 Android Development] fi5z.x9:
Please if we're considering requests, I'd love the ambient display feature (like something on Dot OS Oreo). It's quite a smart feature, as opposed to unlocking the phone to see which notification just dropped. Thanks.... Just wishing :)
[G4 Android Development] kessaras:
its not that simple.

the keyguard and it's drawing is part of framework. For example here : https://github.com/CypherOS/frameworks_base/tree/poundcake-release/packages/SystemUI/res-keyguard

you can't just grab the lockscreen apk.

In LG stock rom it was possible to port those because it was LG rom both.

Here the one is RR and the other one is Los.

No he was talking about porting the lockscreen from RR to Los.

I don't even consider it to port ambient display. We do not have an ambient display. Every time it will light on to show the notifications, it will spend 1% battery per minute.

Also our sensor can't do that properly. I need to add a kernel module to run 24 hours to check for double tap. That means 1% more battery drain per minute because the phone will never go to deep sleep again.

If you like it so much , use ACdisplay. It can add ambient display features and it can be used alongside with the default keyguard. So you can set a password and have ambient display features and a wave to unlock which i tested it and it works.
[G4 Android Development] sperelli:
at least we know it's possible.

??
[G4 Android Development] steadfasterX:
as kessaras already said this is very battery consuming stuff. Keep in mind that the most draining (~80%) is coming from our LCD display.

besides that iirc there are apps providing that functionality if you still wanna go that way.

I'm totally fine with requests like that but this is LOS - pure - with the exception of F-Droid added.

but... I will not port & replace base functionalities of other sources as long as there is no real need to (or if I like to, lol).

Replacing the lock screen is good for you but may not for others.

The code for Q preview-5 is public available since a while and as kessaras said already it would be possible (like almost everything ;) ) but that would make sense only if we do not replace the current one.

I want to keep this ROM clean in terms of being as much LOS as possible. This should not become another RR or PA or whatever ROM ;) its LOS :)

does that make sense?

-.
[G4 Android Development] sperelli:
of course it does! it could have been just an add-on and not a replacement (like it is in RR as a matter of fact), but I see clearly your point. Thx
[G4 Android Development] kessaras:
1.

We need to create and build another package that will add extra options in Los settings.

2.

We need to alter Los framework

3.

We need to add API to support that function

4.

We need to maintain this thing too.

Ok we r good but not so good. Also we r just two people and even if we were three or four it would not be enough.

Until we do all that , I will have already did Android Q. It's just one month until Android Q. Can we relax and forget porting Q stuff ?

Ah , also , does it worth all this work for just a stupid lock icon on top, a dynamic analog clock and a different font in the digital clock ? LMAO

The font by the way can be changed. Tell us what do you like so we do it that way once and for all.
[G4 Android Development] sperelli:
[MENTION=5461026]kessaras[/MENTION]... guys... relax :) in the beginning i shared a polite request to know if somebody could teach me how to port.

i know and i admire your hard work.

mine was only -let's say- a hint, just in case someone would have some spare time. what I like the most is the text clock on locksreen.

[MENTION=5545101]steadfasterX[/MENTION] explained his reasons and i meant ''ok, i do agree with you, it does make sense (not to change anything)!" :fingers-crossed:
[G4 Android Development] Djdjo59:
Hello,

I just discovered this rom based on LineageOS

Could you tell me if the battery is much better on the G4 with this ROM than the Marshamallow?

And does the Camera has still the good quality?

Also, is Netflix working on it? When i updated to Nougat (official LG beta), netflix didn't work because it wasn't a recognized version

Regards
[G4 Android Development] ANDROID2468:
Battery life is fine. Netflix works and you should be able to get it working on lg's nougat by installing magisk and enabling core only mode.
[G4 Android Development] mathbond:
Hi

For a few weeks i have some network issues : i have only a signal when edge is selected (no signal with 3g or lte ) and for a few days it s even hard to have a signal in 2g...

Here is two log when i change 2g to 4g and lose the signal, tell me if you need anything else
[G4 Android Development] busattovini:
The Music App isn't finding songs located in the External SD Card. How can I fix it?
[G4 Android Development] kessaras:
You mean external sd card i guess , not sd card ???

And how did you put the songs there in the first place ?

adb push or mtp transfer ?

Grab one logcat while you move a song there and wait 3 sec and stop logcat.

A second logcat when you open the file manager and you go find the song and move it there in the desired folder.

A 3rd logcat when you open the music app and you go find the song.

Try this too. After you place the song in external sd card, reboot and check the music app if it can find it.

If last one works, then the bug must be reported to all los devs group chat so that they fix it asap.
[G4 Android Development] busattovini:
Okay, I'll do the logcats later ?

Edit: somehow the songs are in the Music App again.

Edit 2: it happened again. I'll provide a logcat as soon as I get home.
[G4 Android Development] Bruno M:
[MENTION=5545101]steadfasterX[/MENTION] could you add fm radio to the rom, if you don´t want to add it´s fine, and at least could you make a updated version of the rom with latest android security patch thanks.
[G4 Android Development] busattovini:
I think there's a reason why FM Radio isn't in the ROM... Maybe they need something to port it. [MENTION=5545101]steadfasterX[/MENTION] and [MENTION=5461026]kessaras[/MENTION] are working on the kernel and in the security patch. ?
[G4 Android Development] steadfasterX:
That has been requested several times in several threads . It's not that I don't want it. It's pure LG proprietary stuff. We can't port it easily if possible at all and so it's not there and will not come .
[G4 Android Development] Bruno M:
If they make the battery last more time and make the patches it's fine.:D

---------- Post added at 06:38 PM ---------- Previous post was at 06:25 PM ----------

I understand, it's fine. :)

One more question I installed the rom and works fine, thanks for make it, but I don't know if is the lineage os or android but I don't see the carrier name in the notification bar, mobile data works fine and my carrier is vodafone, why carrier name not showing ?
[G4 Android Development] busattovini:
My carrier isn't showing as well, but I didn't notice it until you say it. lol

---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------

He's working on it, [MENTION=10071726]Bruno M[/MENTION] ?
[G4 Android Development] Bruno M:
Fine :D
[G4 Android Development] busattovini:
Logcats

This is the first time I provide a logcat. I'm so proud of myself! lol

I made 'em as you asked. I hope I did it right! :D

<3
[G4 Android Development] a tiny ant:
@ steadfasterX Ril seems to randomly crash sometimes. I don't really have the chance to do a proper logcat test where I do clean flash and everything but it seems [MENTION=5461026]kessaras[/MENTION] knows about it according to the AOSCP thread.

I'm not sure what triggers the ril crash but it does cause serious battery drain when it happens.
[G4 Android Development] kessaras:
thought so....

the policies about 3rd party apps to get, open, read , link are missing.

I auditd : type=1400 audit(0.0:94): avc: denied { getattr } for comm="linguee.linguee" path="/mnt/media_rw" dev="tmpfs" ino=11019 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:mnt_media_rw_file:s0 tclass=dir permissive=0

Up to [MENTION=5545101]steadfasterX[/MENTION] if he wants to add them.
[G4 Android Development] steadfasterX:
Bug reports always need faq 1 followed. In your case it's not needed pls wait for the next build.

[MENTION=9768335]busattovini[/MENTION]:

LOS (other then some other ROMs around) contains just 2 policies for untrusted apps: https://github.com/Suicide-Squirrel...n/blob/lineage-16.0/sepolicy/untrusted_app.te

That's for a reason. I'm an absolute paranoid security guy (my main business in RL) and adding untrusted apps to sepolicies is a major break as that means any app you install can make use of them. Some policies here are fully ok but I keep those very rare. Every policy here contains a high risk .

I will look into you issue and see if it will be ok or not .

In the meanwhile and if you can live with the risk you can disable selinux completely . I can not recommend it though but up to you.
[G4 Android Development] a tiny ant:
Ok thank you. Is there anything I can do about it in the meantime? I was thinking of installing the kernel from AOSCP by extracting the boot.img from it.
[G4 Android Development] kessaras:
Nah. You said it yourself. I have the same bug in AOSCP. Besides all roms use same kernel.

It's very difficult to track that bug.

It's happening totally random and when it happens , it's like 1% chance to be getting a log at that time.

(We must get the log at the moment it happens , a minute later it won't help at all)
[G4 Android Development] busattovini:
It's okay! Don't need for that. I'd rather be safe. There are other music apps that don't have that issue, but isn't it strange that the default Lineage Music App can't display songs in the External SD Card (but it can read them when I open the File Manager and play them manually)? Haha Thanks for your efforts! I'm excited for the next build. ?

Does this issue happen to you?
[G4 Android Development] a tiny ant:
Hmm. Doesn't the changelog of AOSCP say it's fixed in the latest build or is that another issue?
[G4 Android Development] kessaras:
The crash is something different. It crashed and we had no signal and it never came back until we reboot
[G4 Android Development] steadfasterX:
We have 2 issues regarding ril crash .

One is already fixed but not in LOS build yet and I'm working on a workaround for the other .
[G4 Android Development] Bruno M:
[MENTION=5545101]steadfasterX[/MENTION] Do you know how long will take to release next build and the release will come with best battery life, I don't have ril issues at the moment my device is h815, thanks.
[G4 Android Development] busattovini:
Logcat

I don't know why, but today I opened the Music Player and I was able to play songs from External SD Card. So this is a new logcat: I opened the app, and then I played a song. ^^
[G4 Android Development] a tiny ant:
Ok. I've had a situation where the ril crash would happen on every boot on my current install and clearing cache would fix the issue. It was too late to get a logcat.
[G4 Android Development] steadfasterX:
thx for providing logs. Keep in mind that providing logs for LOS should follow FAQ #1 especially in the way how to

provide

them (no attachments).

I haven't had the time to look into your previous logs but I think the reboot allowed to scan the external SD. So if you put new files on the ext.SD it may not find them but on the next reboot it will. maybe you wanna test that as well (no log needed).

.-
[G4 Android Development] busattovini:
Oh, sorry! Haha I missed that we have to use https://paste.omnirom.org/. I'll do it in the next times. Thanks! I think that you're right: rebooting allows it to scan Ext. SD Card. Have an amazing day! ?
[G4 Android Development] kessaras:
https://xdaforums.com/g4/development/rom-lineageos-16-0-t3929082/post80050320

Didn't we already cover that ?

I had same bug in my AOSCP.

Music app asks for 3rd party permission but it's system app. After reboot it asks for system app permission which already has.
[G4 Android Development] Ximo F. Verde:
Hi [MENTION=5545101]steadfasterX[/MENTION]

I'd like to ask, assuring that it's by no means a request of any kind, a question regarding future updates for the G4.

From any related info you may have had regarding Android Q, do you think that a Q-based LineageOS will be feasible for the G4?

Thanks
[G4 Android Development] steadfasterX:
atm I see no reason why not.

that's a question of time mainly as technically almost everything can be done - somehow :)

.-
[G4 Android Development] busattovini:
Thanks

Is there a name for Android Q? If 'P' is for 'Pie', what is 'Q' for? haha
[G4 Android Development] busattovini:
I have a request... It's okay if you don't want it. I wish we had Double Tap to Sleep (lol) in Trebuchet home screen, without needing to install another launcher or third-party apps. Is it possible? I personally don't like it in the notification bars. Thanks! ?
[G4 Android Development] steadfasterX:
I have set it to double tap on HOME button (settings -> buttons -> home double tap action -> turn screen off)

Now when double tap on the home button it will turn off the screen

.-
[G4 Android Development] busattovini:
omg, i didn't see it, s-o-r-r-y

thaaaaaaaaaaaanks <3

BTW, I calibrated the battery with this app (https://play.google.com/store/apps/details?id=com.newagetools.batcalibra). It's very good and improved a lot.
[G4 Android Development] jotaincubus:
No full name for Android Q alredy... we need to wait
[G4 Android Development] Bruno M:
Anybody excited to see The next release of this ROM por it's only me :laugh:
[G4 Android Development] busattovini:
Yeah, I'm very excited!!! I'm here everyday just checking if it's up... lol

Haha Perfection needs time.
[G4 Android Development] busattovini:
OMG, Yeeeeeees!!!

thank you so f****** much. I'll flash it right now.

Gosh, so smooth ?

I'M REALLY IMPRESSED.
[G4 Android Development] Over567:
So what does this mean for us? We will get updates through the system?

(I'm confused sorry)
[G4 Android Development] EWBG29:
Yessssssssss,

I've never been so excited before!
[G4 Android Development] busattovini:
I've created a group in Telegram to LineageOS (LG G4). Join us! https://t.me/joinchat/CprvtxWtEX1e0I4exNeoIQ
[G4 Android Development] zeduck:
Thank you so much to have taken into account my special need! :D
[G4 Android Development] falenjam:
I recently flashed this ROM and today I encountered an issue when trying to make a video call in Google duo. The person I called could not hear me. I found that by editing the following build.prop property, the issue was gone.

persist.vendor.audio.fluence.speaker=false

I don't think this is a known issue. I currently have the previous H815 LOS build installed (24th july) and it doesn't seem to be fixed in the latest build so I thought I would still report it.

I also had once a problem with the camera : first it was displaying a frozen image (in all camera apps I tried) and then I had an error message saying the camera could not be initialized (I don't remember the exact message). Anyway, after a reboot it was fixed and I haven't been able to reproduce it...

Apart from that, the rest is working impressively well so far ! Amazing work :good:
[G4 Android Development] a tiny ant:
Vielen Dank!
[G4 Android Development] steadfasterX:
Thanks for your report . If you wanna have that fixed: follow faq #1 and choose the option "specific issue" in the guide (without the prop change)
[G4 Android Development] zxc79:
Small tip for md5 check: if Your cable or something doesn't work properly, You can put command in TWRP terminal (Advanced->Terminal).
[G4 Android Development] falenjam:
I followed your guide and you can find the resulting logcat file here: paste.omnirom.org/view/951deb52

I hope this will help you track down the problem :fingers-crossed:
[G4 Android Development] steadfasterX:
Sorry can't open the link ..
[G4 Android Development] falenjam:
It must be because https:// is required before the link. I could not post the full url because I don't have 10 posts yet...
[G4 Android Development] steadfasterX:
Perfect .
[G4 Android Development] Termehansen:
If I add a homepage from browser to home screen, I used to get the page showed as a full screen web page without browser bar, now it just open the tab in the browser. Is this Rom related or some pie stuff I haven't google correct to understand yet?