yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] genesixxbf3:
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.​

#include <std_disclaimer.h>

/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Important information:

This thread is for official LineageOS 14.1 builds for LG G4 . The following will not be supported here:

Custom kernels

Mods

Xposed

We don't support Xposed and any logcat which includes a Xposed module will be ignored. You're kindly invited to not report bugs if you:

Flashed a custom kernel

Installed or did mods from untrusted sources

Modified system files

Known bugs:

Video Recording

Installation:

First time flashing LineageOS 14.1 on your device, or coming from another ROM?

Download the zip(s)

Install a compatible Recovery

Perform a nandroid backup of your current ROM (Optional)

Wipe data/factory reset

Flash LineageOS

Optional: Install the Google Apps addon package, install the SU addon package(https://download.lineageos.org/extras, choose arm64)

Reboot

Download:

h815: https://download.lineageos.org/h815

h811: https://download.lineageos.org/h811

personnal nightlies http://host.erwanleboucher.fr/

XDA:DevDB Information

CM 14 on LG G4, ROM for the LG G4

Contributors

genesixxbf3, codeworkx

Source Code: http://github.com/CyanogenMod

ROM OS Version: 7.x Nougat

ROM Firmware Required: V20A Bootloader and modem

Version Information

Status: Beta

Created 2016-10-10

Last Updated 2018-01-28
[G4 Android Development] genesixxbf3:
Reserved

What's working.

everything except what's not working.

What's not working ?

encryption (who use that )

f2fs (who use that too )

QHD video recording

official = signed

unofficial = no signed

to go to unofficial to official flash experimental first (and boot it)
[G4 Android Development] genesixxbf3:
Reserved

If you don't have a sim card detected try that

adb root
adb shell rm /data/user_de/0/com.android.providers.telephony/databases/telephony.db
adb shell rm /data/user_de/0/com.android.providers.telephony/databases/mmssms.db
adb reboot
[G4 Android Development] Gorgonije:
Nice job mate! Thank you!
[G4 Android Development] Renaf2:
Everythink work ??? no bug ? no issues ? theme engine work ?

yes i know Nougat is too Young for Stable custom Rom at this moment but hope :)
[G4 Android Development] DaarkieDoo:
What doesn't work? if you dont mind me asking?
[G4 Android Development] mo976:
Awesome work, thanks Genesixx

If there are known issues I am sure the OP will update the first post. You can also flash it and post if you find anything, just don't forget to make a full backup first ????
[G4 Android Development] Kye2000:
How is the camera on this build?
[G4 Android Development] ashensii:
Op says you should flash gapps 6.0, is this right?
[G4 Android Development] genesixxbf3:
7.0 gapps
[G4 Android Development] genesixxbf3:
to see what's not workin check second post
[G4 Android Development] ceanth:
wow excellent work!

Is this stable enough to use as a daily driver?
[G4 Android Development] theslam08:
It is :)

Was running the 10-05 build for several days. I find it works just as good as CM13, possibly better (smoother/faster). Bugs are very minimal, features are too but overall this is a very stable and solid build so far!

THANK YOU [MENTION=5776465]genesixxbf3[/MENTION] for bringing this to us! I don't really like CM13, but 14, something about it is very nice (coming from someone that prefers stock over aosp).

EDIT: It should be posted that H811 users need to be on 20o FW before flashing this, to make sure they get best experience (if you want sound/camera working).

EDIT2: Oh and now there is a thread for me to report: Zooming with standard gallery hot-reboots the phone.
[G4 Android Development] ceanth:
thanks, i might flash it tonight then. Should 815 users also be on stock rom before flashing this? I am currently on v20d stock rom
[G4 Android Development] theslam08:
Unfortunately I am not sure about the h815. With the h811 we had a recent issue where we had to be on the latest FW for it to fully work.

I would 'assume' it would be the same for you. May wish to wait for 815 users to report back which FW they're on and how it all works for them.

(and you don't have to actually be running the stock ROM before flashing this, the firmware is a once-flash-always-flashed type situation; firmware is not ROM based it stays between ROMs)
[G4 Android Development] kessaras:
v20A or newer. So you are fine. Before flashing you don't care what rom you are on. You just need to wipe system , data , cache and dalvik cache and flash whatever you like.
[G4 Android Development] ceanth:
ok great.

I'll give it a go and report back with feedback to the group
[G4 Android Development] kessaras:
(out of subject)

I wonder how do you live with the stock rom on G4 :D

You charge the phone 2 times per day ? haha

The stock rom has issues and it doesn't let the phone get into doze.

Have fun flashing ;) you will never wanna go back to stock again
[G4 Android Development] ceanth:
Haha. I flashed stock rom because I wanted to use Android Pay. There is a deal on in the UK where by you get free London Underground travel on Mondays throughout October.

I was planning on flashing something else after the offer is done but Android Pay failed to work this morning causing a massive queue behind me I have had enough of it!
[G4 Android Development] kessaras:
Hmmm. I don't use android pay but I read somewhere that you can use it with cm 14 or 13 if you use an official and stable build , not nightly or unofficial , and disable superuser in developer settings.

Of course I don't know if that's true
[G4 Android Development] genesixxbf3:
just for you only https://www.androidfilehost.com/?fid=529152257862668911
[G4 Android Development] hampsterblade:
When the recovery screen asks you if you want to factory reset, say yes. It should take you to twrp. I know on the t-mobile h811, it will show you the t-mobile factory reset screen before taking you to twrp recovery.

Also another bug found. Not sure if it's been reported, but windows will not connect to the phone over USB.

Tried changing modes in developer mode, enabling or disabling ADP and cannot get it to connect. Tried 5 different USB cables to be safe.
[G4 Android Development] ak_bagade:
hey i own a verizon lg g4 and you know that there isnt much rom devolopment running there so i was wondering what happens if i flash this rom on it??

will it soft brick?
[G4 Android Development] hampsterblade:
It will not work. Verizon phones use a CDMA radio. The H811/H815 are GSM devices. The verizon uses a different radio/chipset for this reason. Thus is life having a Verizon phone.
[G4 Android Development] ak_bagade:
thanks
[G4 Android Development] hooutoo:
And now we (h811 owners) have GPS lock. On behalf of all h811'ers I would like to say THANK YOU kind sir!
[G4 Android Development] divine1250:
Thank you for this genesixxbf3! I really appreciate it. Just made my day man. ?
[G4 Android Development] mjoecarroll:
H811 - GPS definitely works much better now, acc. to GPS Test, I'm getting around 30-60ft 3D fix accuracy when the GPS is in use, although 150-200ft when first starting GPS up, which seems to be normal values.
[G4 Android Development] divine1250:
I agree 100%! Thats why I never post anything unless I can help someone out with a process they don't understand or to give thanks to hard working devs or if I have a problem that hasn't been discussed already. I read all forums from OP to current posts to get up to speed on whatever I'm looking into(no matter how many pages I have to read through). To me that's being productive and considerate to all. Wish more members thought like that... Thanks for supporting my quote InvalidCast!
[G4 Android Development] ntelas:
No gps lock

Even with the newest update (20/10) unfortunately no gps lock..everything else seems pretty buttery! h815 here
[G4 Android Development] gbok:
Hij people. Ive gone from cm13 to cm14 without any major problem (on my 815.)

I want to now try the 20 october version of the cm14 on my phone.

I think i can dirty flash the " upgrade" over my older version, but i thought i had better check with u guys before i do this.

Thanks by the way to the dev for a great rom. Really looking forward to the future nightlies :)
[G4 Android Development] ghenarys:
[MENTION=5776465]genesixxbf3[/MENTION]

Great job ! Your rom is amazing !

I hope next release will bring separate level for notifications and ringtones.

thx again for sharing
[G4 Android Development] FadeFx:
Can you post the content of your system/etc/gps.conf file?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] Angelwind:
Can confirm GPS is working on the 10/20 build. Thank you!
[G4 Android Development] obvious:
Any device specific changes on 815 20/10 build or just cm updates?

Edit: Didn't realise it was already at https://www.cmxlog.com/14/ gg
[G4 Android Development] ntelas:
ok after changing the config file with an app called FasterGps it connects after 5 mins approx. A little slow but still does the job.
[G4 Android Development] FadeFx:
5min is still a long time, let me see the config to see what we can do

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] noidman123:
Does anyone else's phone run constantly hot or warm? H811 user here. I've noticed this no matter what CPU settings I used. On all AOSP roms my phone heats up easily. Using this CM14 Rom + Open GApps nano and nothing else.
[G4 Android Development] zzyzx13:
cant enter fastboot, no recovery, no fastboot, no rom, nothing, not even recognized through the computer
[G4 Android Development] kangta05:
Thanks to the dev for fixing the GPS issues for us 811 users its much appreciated. However on this latest build I can not get long pressing the home button to launch google now on tap. I have checked that is it set up voice and search options also. Any help or a work around is greatly appreciated
[G4 Android Development] XeniX_Force:
What if its a problem with ur mobile's card reader. Coz its also not working on stick. No sd issues for me.

Maybe u can reflash stock using lgup and then it will work? If it works then then it was a driver issue.
[G4 Android Development] thewild:
What are the CPU speeds associated with the different performance profiles for the G4 ?

I could find them on Google for the OnePlus, but not for h815. Thanks !
[G4 Android Development] kessaras:
[MENTION=6287517]brossovitch[/MENTION], from now on keep important things like that ;),

use a external usb. the phone is always vulnerable for us that we flash every day or every week something new.

TWRP can also see the external usb so its a great solution !
[G4 Android Development] brossovitch:
Yes. I actually just restored stock nandroid of stock and stock recovery and reflashed to the latest firmware (20q) again. Then fully wiped. Then reflashed TWRP. I am running a completely fresh stock LG UX again. Bootloader remained unlocked.

I'm wondering if I should try and reflash another ROM.

A few months ago I actually had a catastrophic SD failure while in TWRP. That was a completely different G4 also. This is technically my 3rd G4. I'm going to attempt to use the SD in stock and restore it. Then I'll see if that helps.

If the SD issue is caused by a code bug in ROMs, I should be able to go straight from a stock device to CM and have zero issues right? Since any issues are fixed in the code for this ROM.

It probably is a hardware issue. It probably got corrupted when I was restoring my TWRP folder to the SD with CM running. If the devoce goes into sleep mode the transfer process freezes and the PC as well as the device crash.

This is disturbing. Because if I trade my device in again they might offer me a G5, and I don't want that thing.
[G4 Android Development] kessaras:
No ! if the sd issue is a wrong mount point, you will get to this bug again as soon as you flash a rom. That's why i wonder if google changed something with 7.1.1 and we all had the same issue. My p880, my htc one m8 and lg g4 had the same issue.
[G4 Android Development] brossovitch:
But my S3 & S4 don't have this issue. They are slow as molasses though. They also only have 32gb cards. Maybe it's the card? Maybe I need to call SanDisk. My format finally finished time to test. No possibility its software, i haven't used llama in a while and I have done nothing to modify the system besides AdAway.
[G4 Android Development] XeniX_Force:
And this is why i prefer doing delta updates
[G4 Android Development] brossovitch:
So, My SD card is actually functioning. PC sees it. TWRP sees it. PC sees it while running TWRP. but not on any system. WOW. This is the weirdest and most absurd thing ever.

EDIT: Sorry for spamming. But get this...

The SD card doesn't work in stock. I downloaded CM14.1 & nano GApps, wiped everything but internal & flashed them. Then, format data, rebooted twrp, then wiped cache, dalvik, data, internal storage, & external SD. Rebooted. SD card ONLY works in CM14.1... What is going on here? The universe is apparently pro-ROM and anti-stock. But seriously WTF? I've been going thou all this crap to gonin circles and end up with a perfectly working SD on this ROM. What? I don't get it but I'm completely insane now.

Also, WiFi no longer works. I'm so very unhappy with myself right now.
[G4 Android Development] TheMagicianThing:
is it possible to change/set the battery capacity in case of using an extended battery or does it change naturally as the sensors detect it? I have one that is 7800 mAh :o :D
[G4 Android Development] kessaras:
.....relax..... first of all don't do that. be calm, doing all that won't fix anything.

just for the sd card you used lgup to go back to stock and then back to cm14.1 -_-

maybe indeed the sd card now has a problem and its dying. you don't have to ruin the phone too.

now you get the mac address 00 problem ? search here some days ago someone had the same problem and fixed it by changing the mac address manually.
[G4 Android Development] brossovitch:
Yep, I way over reacted. However, finally, it works! It actually works with no hiccups!

The issue was the folders in the root of the SD card.

For example, the folder, "Music" had to be deleted and the folder had to be made on the device, then I can drag the folders inside the music folder into the new folder

Voil
[G4 Android Development] codeworkx:
I'm jumping from v20g to 14.1 and back without issues. My card always worked fine.

Never had problems with cards since i switched to transcend from sandisk.

If you format the card for use as internal storage then it might get encrypted and is only usable on that specific rom. Its better to use it as external storage.
[G4 Android Development] brossovitch:
I tried to use as internal and it failed. But I fixed the issue as of now. Transcend, huh? Thanks I'm looking into biying a new SD now just in case. Ill keep Transcend in mind.

Bit apparently whatever the original bug was had corrupted the old folders. Everything in the SD root was fine. When I replaced the existing folders in the SD everything is fine.

And as everyone said, moving from one ROM with the bug will keep ot.moving to another even if that ROM had the bug fix. And the one folder that I completely overlooked was my Titanium Backup folder. Where.all the apps and system info from a corrupted ROM was messing with the SD itself.

Sorry for flipping out. This has been a stressful 2 days with this entire ordeal. In addition to a great many other things like every piece of tech in my entire house failing at once. Except for the WiiU. LOLOL
[G4 Android Development] freddymelly_forgotten_pw:
Which zip file? I dont see an zip in your url :confused:
[G4 Android Development] brossovitch:
The ROM.

After downloading with CMUpdater, boot recovery and manually flash.
[G4 Android Development] FadeFx:
Thats because on ancient android versions sdcard was an extra partition not inside /data so it actually did format data on factory reset. Later sdcard was moved into /data so the former two partitions could share space. From that moment it didnt format anymore as this would also wipe pictures and personal files, which was not usualy expected behavour.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] xrad:
Hm, ok, but that was my initial point: for me, the expected behavior of a factory reset is to wipe pictures and personal files. For a long time I feared that function TWRP until I understood that much is indeed preserved. OTOH, when I use any OEM device and select factory reset in its settings, I'm still pretty sure the device is completely wiped.
[G4 Android Development] FadeFx:
No, it should only restore factory state of the os. On even older devices (android cupcake on htc dream anyone...) there hasnt even been a partition named sdcard, but that storage was in fact a removable sdcard (hence the name). But that meant the phone was unusable without a card, thats why they started to have built in sdcard very soon. However, you wouldnt expect to wipe your external storage with a factory reset

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] brossovitch:
Okay, verdict on SD Card in file manager.

It only works with media files. Not zips or apks or any thing like that but makes life easier nonetheless..

Anyone know what happened to the notification peeking option? I cant figure out how to remove the highly intrusive Heads up dialogue when i get messages anymore it was there and it worked.

Jist wondered if anyone found the option in another place..

Edit additional: battery life has very much improved since a few days ago
[G4 Android Development] Bluecharge:
Hey brossovitch,

just to ease you, I thing most of us have experienced some similar weird thinks on our hardware like you. For myself, I once had doublefaults on my Windows pc and on a new sdcard. That drives you mad... just left it alone for a few hours and got back to it with a rested mind. I was astonished how ridiculous and dogged these faults could be... ;)
[G4 Android Development] brossovitch:
Thank you. Yea its fine now, I don't even know. Ha, Android.

BTW found the screen peeking option. Its been added to power notification setting. This is pretty good.

1216-nightly-h811 very good. Efficient too,
[G4 Android Development] FadeFx:
Ok guys, seems my days in the g4 comunity are counted, today after watching a movie for a while (device felt quite hot btw) i wanted to clean the screen, so i locked the device to do so, and this has been the last time i have had any lifesign from my device. after pulling the battery it has not booted to any state, no bootloader splash, nothing, just black screen with no reaction at all.

R.I.P. LG G4 H815
[G4 Android Development] xrad:
That sucks man - on behalf of this community let me thank you once more for your relentless testing in the early days of CM14. Always an inspiration to see people who never loose their calm even when things go south. Hope you find a suitable successor.
[G4 Android Development] codeworkx:
Mine is also slowly going away. Got graphics artifacts on all black layers.

Think the gpu is somehow a little bit broken. It's not the display because i can do screenshots of the artifacts. :)

Bad build quality, bad thermal design.
[G4 Android Development] 4irm:
Dear all,

just a question; does CM14 supports Bluetooth profile rSAP - remote SIM access profile (where the car grasp the SIM in the phone and uses the radio which is installed in the car)....?

I know android 5 did not support rSAP. LG implemented a proprietary solution...

Thank you...

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] kessaras:
i don't know from personal experience since my g4 is flawless , but i read a lot of people have problems.... too bad for lg... g4 had so many hardware issue......

motherboard compatibility ?

screen draining battery as if it's nothing ?

mac address dead 00:00:00:00:00 after using lgup ?

hardware failure dead screen randomly ?

now, gpu problem ?

buh...... only a few g4 were lucky to have zero problems
[G4 Android Development] brossovitch:
Okay so we all know I'm completely insane now..LOL

But I swear this wasn't here before! Not that I'm complaining but its great to have a heads up toggle!
[G4 Android Development] brossovitch:
I've been searching for a widget to access storage quicker than navigating through settings I've found this:

https://play.google.com/store/apps/details?id=com.joebruckner.storageqs

This allows you to have a QS tile to open Storage. Pretty Kool.
[G4 Android Development] :
Is there a way to protect personal information on a G4 with this CM 14.1 build? If I understand correctly, encryption is not yet working?

I am asking, because when I would would lose a smartphone without encryption, the finder basically has complete, easy access to all the data on the device (emails, logins in the browser, contacts, ...). Simply boot to TWRP and download all the data or remove any pin/password lock protection by deleting some files.
[G4 Android Development] kessaras:
you can use that too https://play.google.com/store/apps/details?id=com.asus.filemanager
[G4 Android Development] brossovitch:
Yea. And that's the only file manager I'd choose over CMFM.. but still too much when there's a built in file system explorer.. ?
[G4 Android Development] sejmand:
as far as I understand:

from #1972:

format data : wipe everything in /data including mounted partitions

advanced : wipe /data wipes all data but not the mounted partitions

I can get rid of my" frozen lockscreen" problem after reboot? #1962

[Q] When the "mounted partitions" are: /boot /system /recovery /data /cache /misc. So I'm forced to reinstall bootloader, rom and recovery? or is the right way to "wipe /data" in Advanced wipe (TWRP)?)

am I tight:

Instead of factory reset, its better to wipe: dalvik, data, cache , system (in advanced wipe), then flash (twrp again only for paranoia...) cm14.1 and reboot...?
[G4 Android Development] mis2417:
I was going to write about not functioning audiofx (it's working fine, just has no effect on music through speakers or headphones), but in the corner of my eye I saw my phone rebooted. without any interaction whatsoever rebooted into recovery and stayed there. rebooting has no effect - it boots into recovery, but I wasn't even touching the phone when it reboted, come on... freaking magic.

EDIT:

I'm not keen on wiping anything but cache (since I use two-factor in multiple places) but I flashed again 1214 nightly (I only had that on my device), wiped cache and booted just fine.
[G4 Android Development] Dervisk:
My quick setting toggles have disappeared from the notification slider. Anyone else?

17th of December build.

Edit : nevermind, they were just hidden for some reason.
[G4 Android Development] mis2417:
after they appeared, do you have keyboard switcher? I can't seem to find it anywhere.