yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] FadeFx:
Its not llama kernel i flashed, genesixxbf3 provided a test kernel as a boot.img that i flashed to see how it behaves, which it does quite well, but now i am stuck to it. Not a real problem, as i always can flash the boot.img, but its a bit annoying to have to do it everyime. ;) also i dont even know about my quickcharge as i dont have a certified charger.

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] xrad:
Cyandelta can automatically flash a (or more) .zips after updating a nightly. Quite convenient.
[G4 Android Development] FadeFx:
But its an .img file, not a flashable .zip, also that is not the issue i have, i just think that at some point the kernel may become inkompatble due to some system changes and may not boot as well. Also i am a bit curous as well and want to know why that happens ;)

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] willy1521:
Today everything seems to be good...but at 3 pm phone became hot and battery drains from 40 to 10 in few minutes (now is at 3%)...very strange behaviour.

It could be caused by some app...but I've always same apps since at least 2 months.

[emoji37] [emoji37] [emoji37]
[G4 Android Development] xrad:
Ok I see, I had not realized the test kernel was shipped as boot.img. Anyway, hopefully genesixx's work gets merged as much as possible into mainline.
[G4 Android Development] codeworkx:
It's not a rom issue. It's one of your apps doing crap.
[G4 Android Development] EddoWagt:
Had that happen once aswell
[G4 Android Development] wartomato:
Well, let me guess what he has put into the boot.img? Something completely new? :confused:

Hmm, no Backup of the old boot.img before flashing?
[G4 Android Development] FadeFx:
That would not run as well, also i dont have a real problem, the rom is working well with the test kernel, and i have always a recent titanium backup synced to my home server...

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Android Development] zenitraM:
I'm also experiencing severe drain, hot phone and long wakelocks on recent builds, according to GSAM Battery Monitor it's coming from contact sync (com.android.contacts / android.process.acore).

Trying to delete data for everything related to contact sync to see if it helps. But haven't seen nothing suspicious on logcat yet.

Get GSAM or BetterBatteryStats and report what does it show!
[G4 Android Development] willy1521:
[MENTION=3208754]codeworkx[/MENTION] I've taken a generic logcat, if it can helps.

According to battery monitor it seems that the problem is wi-fi, isn't it?
[G4 Android Development] codeworkx:
No, wifi is fine.

Everytime your phone is active while the display is not on something is doing stuff in the background.

Simply compare the "active" and the "display on" bars.

Must be one of your apps.
[G4 Android Development] xXCoolGuYXx:
I started using acdisplay kinda works better its in the playstore
[G4 Android Development] zenitraM:
Found that it is indeed com.android.contacts which is taking 2 of my cores constantly and preventing the phone from going to sleep, you can run htop on adb shell to verify if you are suffering the same issue:

I've ran a systrace (from android SDK) and it seems to be something called "IncallMetricsHa" (not sure if that is the whole name or the name is cut, but the PID matches):

I'll try to keep digging, any ideas [MENTION=3208754]codeworkx[/MENTION]?
[G4 Android Development] willy1521:
Is it guilty of com.android.contacts services???

So is it a gapps issue!?!?
[G4 Android Development] codeworkx:
Try to disable contacts sync for your google acc and see what happens.
[G4 Android Development] zenitraM:
I did that yesterday, still was happening for me.

I've just replaced priv-app/Contacts/Contacts.apk and priv-app/ContactsProvider/ContactsProvider.apk with the ones on an older nightly I had around (20150503) and that seems to have fixed the issue :confused:
[G4 Android Development] willy1521:
Yes the solution by now is to revert back to an older version of gapps.

Other peoples have report same problem in opengapps forum.

Disable contact sync is not the way, because the service still keeps phone awake.
[G4 Android Development] xdag4:
Do you also struggle with wifi connectivity?

This has been going on for a couple of months now. I can't keep a connection longer than 5-7 minutes. The phone will lose connection for a couple of seconds and then reconnect, which messes with applications that require a constant connection (long videos, internet calls). The G4 is the only device that has problems. All other phones/computer (old and new) have no problem whatsoever.
[G4 Android Development] dtomlin:
What date is a good one?
[G4 Android Development] willy1521:
Now I'm on 160502 and works fine.

I perform a clean installation after about ten upgrade, at the same time I download latest gapps (so I don't know where is the edge between working/non-working gapps)
[G4 Android Development] zenitraM:
I was running an older version of gapps (from around 160502 as well), and didn't downgrade it so unless gapps overrides contacts.apk / contactsprovider.apk I'm not sure the issue is strictly related to gapps or rather an interaction of gapps with something new on CM...
[G4 Android Development] willy1521:
I don't know too...however I'm not able to know, perhaps codeworkx or some othe devs can!
[G4 Android Development] PiCASSiMO:
Can't find a solution in this forum, so I'll request some help.

When from completely stock/root to CM13 with full stock GAPPS. Found it stable for the most part except for outbound and inbound calls. Each time I try to dial out or receive a call, the phone automatically reboots.

Any help would be greatly appreciated, as I really want to stick with CM13 and not revert back to the LG stock ROM. But if I can't make or receive calls, CM13 is useless to me.

Thank you!
[G4 Android Development] xrad:
Some random thoughts:

- you have to have LG stock 20D or better installed first before making the jump to CM. AFAIK this is due to the modem.

- most people are have with nano opengapps so in case you have not used those, give them a go

I can confirm that the telephone function, inbound and outbound is working absolutely fine.
[G4 Android Development] PiCASSiMO:
Thank you for the feedback. Did as you recommended and double checked that I didn't follow instructions properly. Installed CM13 followed by nano version of gapps.

Got the Smart Launcher and Google Play services issue at the beginning. Managed to get them cleared off, at least for a bit, using the permissions. But GPs continues to show it's ugly face. Anything I can do to remedy this?
[G4 Android Development] brossovitch:
Hey all.

I'm going to buy a Tmo G4 (H811) very soon and was wondering about this ROM..

How stable are the current nightly builds on this device? Is there anything I should worry about or is everything functioning as it should? (IE: LTE, camera, etc...)

Are we still supposed to use TWRP 2.8.7.1 or can we use TWRP3 yet?

And from what I've read, I should fully update the device first and then unlock the bootloader and install TWRP before using this ROM?

Will I need any particular downloads to do so or will I be okay with regular Android SDK stuff? Just wondered if theres a particular file I can download and extract like other devices I've rooted and whatnot.

Appreciate any replies. Sorry if I sound too much like a newb but I just really want to know what I'm in for when I get the device soon. I'm fairly experienced with this sort of thing I just don't want a brick or any extra headaches. I'm currently stocking up on all the files I'll need in preparation for a smooth process.

But if anyone has any particular tips/tricks to help out that would be amazingly helpful to me. I'll be going though this process on 2 devices in the next 2 weeks and plan on running CM13 on both.

By the way, yes I've read through this thread (mostly) and have been searching the web and XDA for the past 5 days. I'm only being extra cautious and want everything perfect.

Thank you guys! ?✌
[G4 Android Development] thewild:
I don't know for your device. For H815, everything works. It's a daily driver for everybody in this thread I believe.

Use the latest TWRP 3. Currently it's 3.0.2.0

You should be fine with regular Android SDK. I think I had problems with the LG-provided drivers, I removed them and used the generic ones from the SDK. You should note that adb is not installed by default now, you have to add it to your sdk after the installation.

I've been cautious but I've had headaches. I don't know, this G4 seems to have its moods...

The first steps are really easy and you should just proceed as usual : unlock, root, recovery, full nandroid backup. Then when it comes to flashing, follow the instructions.

It think most of the problems come from GApps, not CM. I used a trimmed down micro package, but most people seem to prefer the nano packages.
[G4 Android Development] Contivity:
For H811, the only thing missing AFAIK is VoLTE and Wifi calling. If you need any of them, it may be best to stay stock or use a stock based ROM.
[G4 Android Development] brossovitch:
Oh I know, that's how all my CM13 TMO devices are. I always disabled that crap on stock anyway. Makes calls drop and and be inconsistent. Hangouts calling works on data though so I'm sure I'll be fine.

Appreciate the input.

Great thanks, I like TWRP 3.0.2-0 on all 6 of my devices and I use material light theme to help the IPS display devices with battery usage.

Very good, so the XDA Youtube videos are still relevant. Nice.

So everyone uses small GApps? I usually use the OpenGApps SUPER package modified with a gapps-config file. I use a lot of Google services and I like having the GApps installed in system to save space but with the G4 i don't think I'll need to really save space much.

Do you know the system partition size for this ROM? Is it close to or same as stock partition size?

As long as I don't go over i suppose I should be fine. And also using OpenGapps with a gapps-config I'll be making it remove several useless apps, like live wallpapers, messaging, email, etc..

If need be, I guess I'll try Nano with its very minimal stuff.

Is it still true that the ROM must be booted once before flashing GApps?

Really appreciate the help guys!

I have to wait 5 more days for the G4, but i feel like a child on Xmas Eve...waiting.
[G4 Android Development] crashfocus:
Is anyone else having issues with Wifi or Bluetooth not turning on?

Also, on the latest nightly I can't seem to get the notification shade to pull down quick settings, as well as some other scrolling not working.
[G4 Android Development] zeduck:
Does encryption works again?

Previously, you could enable it but when phone booted, it was not possible to unlock the partition.

Is it fixed?
[G4 Android Development] xrad:
When airplane mode is disabled while in reach of a know Wifi network, it seems that the modem connection to the internet is ready quicker than the Wifi connection. This causes a) the cell data plan to be needlessly used and b) another disruption when connectivity switches to Wifi. Any way to stop this?
[G4 Android Development] maxauvy:
Hi there,

I updated (dirty flash) from yesterday's nightly to today's build. This update simply removed the OpenGapps package I had installed :eek:

Even by downgrading to yesterday's build, I face constant "Play Services has stopped", "Configuration Assistant has stopped" messages...

Is there a way to get rid of these, without doing a clean install ?

Thanks :)
[G4 Android Development] RogerF81:
https://www.reddit.com/r/cyanogenmod/comments/3wv9t4/setup_wizard_has_stopped_loop/
[G4 Android Development] maxauvy:
Thanks a lot. I tried to enable ADB, but that's just impossible with all these "YouTube has stopped" and so on. I started to think a few days ago that I should do a clean flash after all these dirty flashes... Let's call this "fate". :D
[G4 Android Development] RogerF81:
:D I had the same issue yesterday and also decided to completly clean flash. It was worthy:good::)
[G4 Android Development] PiCASSiMO:
Hey Guys,

I've been super sick and tired with the Setup Wizard and Google Play services "has stopped" working. I've tried various combinations on install, and managed to figure one out that worked so far for me (H811):

From TWRP (I had 3.0.0.0 displayed on mine):

Wipe (Advanced) Everything except for your SD Card, and reboot to Recovery.

Install ALL three (ZIPs) at once (in this order):

A. LG-H81120i-Flashable.COMPLETE.zip

B. cm-13.0-201605xx-NIGHTLY-h811.zip

C. open_gapps-arm64-6.0-stock-201605xx.zip

Reboot to system (didn't bother with the wiping cache)

After doing the above, everything worked like it would after you turn on your phone for the first time from the OEM.

A few things I've noticed:

Icons are larger than CM13 install only. I kind of like this as it fills up the screen better.

T-Mobile connection appears to be dropped but it isn't. The triangle is empty, but I can easily download and upload data. I would like to know if there is a fix for this, by perhaps flashing the LG-H81120i-Flashable.Modem.zip?

Google camera sucks. I sucked on my Nexus 4 and Nexus 5, and it sucks here. Disappointed that I can't save pictures to my SD Card as I have been doing since using LG-Stock camera. Installed Snap_G4-Edition_v15.zip and works much better. Is there a working stock LG camera (with SD Card write access) available to flash (zip) or install (apk)?

**** UPDATE ****

I spoken too soon. Everything works well, except for calling. Each time someone calls or I try making a call, the phone reboots. Tried installing LG-H81120i-Flashable.Modem.zip, but that didn't help. Any help would be appreciated, as now I have essentially an iPod that can't be used as a iPhone.
[G4 Android Development] dtomlin:
Using stock gapps is over writing the built in snap camera. Try nano.
[G4 Android Development] PiCASSiMO:
Yes... But flashing snap camera is not an issue afterwards.
[G4 Android Development] MickyFoley:
The issue you'll have: The camera you flash is older than you get from flashing CyanogenMod. So fixes implemented in CM-camera will not be included. codeworkx said this weeks ago.

So I'd go for nano or pico. I stick with pico, because everything can be downloaded via Google Play Store afterwards. No need to flash tons of apps I'd never use.

Edit: [MENTION=3208754]codeworkx[/MENTION]: I gifted you 12 months of XDA AD-FREE as a tiny thank you for all your work :).
[G4 Android Development] benchmade707:
Same Google play services has stopped loop here after the 5/25 update. Reverted to 5/24, same thing. Tried the ADB fix from the link last page, no go.

Did a clean install and it's gone now, but I lost my settings, apps, etc. Jimmies status: rustled.
[G4 Android Development] wartomato:
Just a side remark: i had the Google Play Services and play Store fc's constantly... until I checked the permissions.

New versions used new permissions, but never asked me to grant them.

Manually enabled them and now everything is back to okay...:eek:
[G4 Android Development] seadersn:
which one?
[G4 Android Development] codeworkx:
Here's a fix for the contacts/incallmetrics battery drain some of you are seeing:

http://review.cyanogenmod.org/#/c/146655/

It's currently work in progress.

Maybe i'll upload a build with it later today.
[G4 Android Development] codeworkx:
Thank you!
[G4 Android Development] EmbleerFrith:
If I want to give the phone for a service, is there a way to lock it and after the service re-flash cm13? or is there a way to hide the "unlocked bootloader" when powering the device?

damn warranty void
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
[MENTION=3208754]codeworkx[/MENTION](or whoever knows): Sometimes XDA labs shows updates for Snap Camera. Should we install it? Or will it overwrite what you have implementend especially for G4 and therefore lead to lower quality?
[G4 Android Development] codeworkx:
CM always comes with the latest snap app.
[G4 Android Development] willy1521:
[emoji106] [emoji106] [emoji106] [emoji106] [emoji106] [emoji106]
[G4 Android Development] MoraisGT:
Hi guys,

I would very much like to try this ROM out but I'm having some problems.

I currently have MM installed and the bootloader unlocked, but when I was trying to root I was getting errors in the CMD, wich with some further research I learned that you cant root on MM.

Can I still flash the ROM without root?

Thank's in advance.
[G4 Android Development] drdebian:
Who says you can't root with Marshmallow?
[G4 Android Development] MoraisGT:
Hi,

I searched the error I was getting and this came up:

http://xdaforums.com/showpost.php?p=65883253&postcount=2801

http://xdaforums.com/showpost.php?p=66708545&postcount=2910

But I was able to bypass my issue.

Through adb/fastboot commands I was able to load the TWRP recovery temporarily into to the phone, then I wiped and installed CM13 and gapps.

I'm now running a clean install of CyanogenMod on my G4 and didn't had to root it :D

BTW, does this rom have an OTA system or do I need to download and flash every Nightly update?
[G4 Android Development] itaide123:
can I install the rom with android 6.0.1? In the wiki page it says that I must have 6.0...
[G4 Android Development] PiCASSiMO:
After cleaning all of internal memory, all of the below flashed at the same time (back to back to back, without rebooting):

LG-H81120i-Flashable.COMPLETE.zip

cm-13.0-20160525-NIGHTLY-h811.zip

open_gapps-arm64-6.0-nano-20160525.zip

I had very good 1-2 days worth of stable phone. Made calls, texts, took pictures. Loved it.

Then this morning, out of no where, my phone started to reboot automatically, and continued in a cycle (bootloader screen, CM boot, android, and reboot). And now, I all I get is the bootloader screen without going to CM boot. Tried to flash it with 05/26 nightly and that didn't help.

Any suggestions? I can't stress my love for a stock Android experience (coming from years of N5 and of N4), but unstablility like this is difficult to bear.

Appreciate any feedback.

**************************

UPDATE: I tried flashing the 05/26 nightly over what I had and I think now I can't get into my recovery and restore anything. Is there any way for me to FLASH the latest recovery? If so, how do I do it? Last time I flashed recovery was through fastboot. How do I get in there from a turned off phone?

Thank you again for any support!
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
If your recovery is twrp you can copy all files you want to flash to external sd and flash it from there. Maybe this also works with other recoverys than twrp.

To go to recovery press and hold power + volume down, release power and press it again while LG logo is shown.
[G4 Android Development] michelsberg:
And when you're then asked something like...

... you actually have to say yes just to enter recovery. This scary bit is rarely mentioned here.
[G4 Android Development] DragonautMk:
Hi! Latest build works fine? :D
[G4 Android Development] glorifiedg:
I know this is an annoying question but I haven't used cm for 2 months. Is the rom any good for daily use now? Camera is still a lot worst than stock or its enough?
[G4 Android Development] mis2417:
I'm having a problem with battery circle in statusbar. it's set to show battery percentage inside the circle, but every time I run any app it disappears, then comes back on, and it's not really consistent. anyone else experiences this?
[G4 Android Development] dada56:
Same here (battery percentage issue)
[G4 Android Development] Raygenbogen:
What nightly are you on? I had the battery icon problem maybe one or two weeks ago but it's all fine in the last few nightlies
[G4 Android Development] mattnin:
I don't know why some people have so many issues. I've been on a February nightly, phone stable the entire time. Decided to upgrade just because. Made a nandroid and also backed up all user apps via Titanium Backup. Did a clean flash of the newest nightly and restored my apps. Painless update. Not one issue yet with the nightly I am on (may 26). Seems just as stable as the February nightly I was using.
[G4 Android Development] xrad:
That's all good and well for you, but if you had made this decision just one day earlier and upgraded to the 05/25 nightly you would have been in the same boat as many others here. Bugs happen, and actually you probably just got quite lucky picking the fixed build after a badly broken one.
[G4 Android Development] u.hedt:
This sounds like you have a device with a well known bootloop issue

Check your serial number. If it starts with 505.......your problem is a hardware problem und you have to send your device to LG support to recplace the mainboard.
[G4 Android Development] Wjbr1993:
Could anybody help me with my LG G4 AT&T

I just got TWRP working on it but i cant get signal

It ask me for an unlock sim code

I use this tutorial that i made http://xdaforums.com/att-g4/general/how-to-install-cyanogenmod-h810-t3388019
[G4 Android Development] MickyFoley:
Maybe you just have to read the OP: You have to flash at least the marshmallow modem from stock.
[G4 Android Development] Wjbr1993:
maybe if i flash the modem from mm update.zip for h810, i will try...!!!
[G4 Android Development] pureincognito:
Sounds like your battery could be bad. Try using it while its hooked up to the charger. If you don't have any of these problem then you need a new battery. If it still has the same problem then I'm sorry I could't help
[G4 Android Development] PinBot01:
Is this patch included in todays Nightly-2016-05-29?
[G4 Android Development] zeduck:
I noticed that video record can go only up to 1080p rather than 4k previously.

Is it a regression?
[G4 Android Development] brossovitch:
It says it's been committed to stable repo on the 26th so it may be included.

Check the cmxlog.com changelog..

https://www.cmxlog.com/13/h811/

https://www.cmxlog.com/13/h815/
[G4 Android Development] codeworkx:
LGs 4k implementation is non-standard.
[G4 Android Development] Copp:
I was upgrading my CM 13 LG G4 this AM, script ran in TWRP, then it rebooted --into what I take was stock recovery, as it asked me whether I wanted to reset my device back to factory. I selected not to and since the confirmation never came I up thought I was OK. I tried the old power down / power key / let up / Rekey upon reboot and got a different message about rebooting, BUT NOT TWRP. I selected. reboot again and now I get the stock Cyanogenmod blue figure as in a standard boot that never goes away. No Power down/power key / then let up / power down / power key takes me ANYWHERE. i have to pull the battery to reboot. Which gets me back to where I was. TWRP has never failed me before, I have kept up with the nightly updates, the last being yesterday.

Any ideas where to go from here?
[G4 Android Development] xrad:
Provided you had installed TWRP before - open the factory reset screen you saw before (follow instructions like on this page). When asked whether to do the factory reset, answer Yes even if it scares the hell out of you. That will take you to TWRP from where you can re-flash CM and then do a system reboot. (only the stock recovery would actually perform the factory reset, but have TWRP installed.)
[G4 Android Development] zeduck:
Yes but it work two or three nightly before.

Could it be possibleo have a branch for Snap especially for LGs?
[G4 Android Development] codeworkx:
It's not just Snap which needs modifications, that's the problem.
[G4 Android Development] azZA_09:
Hey [MENTION=3208754]codeworkx[/MENTION], I'm really sorry if somebody has already told you, but dotted circle isn't working anymore for at least 1 week. I don't know if it's a CM bug or not, but I saw that somebody posted this https://jira.cyanogenmod.org/browse/NIGHTLIES-2980 (again, idk if it's the right bug). Any help? Thanks in advance!