yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] johnb380:
It has to be a rogue app or maybe a few if it follows you no matter what ROM your on. Because cm13 has a pretty good app optimizer built in and it has a way to stop any permissions that are bad for battery too you need to find out what apps and processes are running in the background and stop them so they aren't killing your battery.

Me personally I uninstalled Facebook app on my d801 and now use Facebook for chrome which gives me all the same features and notifications but doesn't kill my battery. I now get 6 to 7 hrs screen on time and I am very happy with cm13 over all!

So dig in and get to the bottom of what is killing your battery and you will see a big difference too!

---------- Post added at 12:08 PM ---------- Previous post was at 12:06 PM ----------

Use inbox for gmail that's what I do. But I just check manually for emails every couple hours.
[G2 Original Android Development] coolhandfluke:
Give it a go on just apps, they were the services draining my battery and it stopped after changing the location settings. I think the apps use Google services for location. A GPS app accesses GPS directly although it can still use Google services. Google works out location based on wifi, radio masts and GPS. It makes it a lot simpler when making an app to hook into Google services for the info.
[G2 Original Android Development] Telperion:
Reinstalled with no user apps, not even an account added yet, still awake with no sleep.

BBS & WLD apparently don't work well on MM, running GSam now instead. Is it conceptually possible for hardware to start to go bad and as such generate software wake locks when sensors aren't able to connect properly to the hardware?

Edit: No GAPPS this install, same problem. (2nd screen shot)
[G2 Original Android Development] coolhandfluke:
The screen off drain appears to of stopped, its difficult to be sure as the latest battery history is only over 10 minutes.
[G2 Original Android Development] dr4stic:
for what it's worth, I limit the HELL out of Facebook and I think it makes my device better for it. Facebook is still a large lumbering pile of dog droppings, eating memory and battery as it does it's memory, but I've done a decent job of taming it.

Privacy Guard and turn just about EVERYTHING off for Facebook and Messenger (you may need to let it run a little and come back to this setting later as the apps don't always ask for all the permissions at once). Then go to Settings -> Notifications -> App notifications ... open both Facebook and Messenger and "Block all" for each. Finally, open each and in the settings for each turn off Notifications as best as possible, definitely disable any features that might annoy me (auto play vids, chat heads, etc).

It's better than the mobile web version if you can turn off all the crap it does.
[G2 Original Android Development] carloverdi:
I have problems with wifi that disconnect itself.. In OP this bug is not reported
[G2 Original Android Development] dr4stic:
That's because it doesn't seem to be a G2 specific bug.
[G2 Original Android Development] Telperion:
Right, the issue though is still that the phone will not sleep at all, even when no user apps and no GAPPS are installed.

If it's happening like this across ROMS I suppose I should post elsewhere about it, I'm just not sure where.
[G2 Original Android Development] johnb380:
I'm on the same phone variant as you and I don't have this issue. My phone sleeps like a baby. Are you using a different kernel or are you flashing xposed installer? Something has to be keeping it awake. Try turning off auto sync also maybe an account is stuck syncing.

I'm just spit balling here but it could also be something like a kernel wakeclock. Try downloading trickstermod and seeing what your kernel settings are. And what freq the different cores are running on. Maybe the governor is stuck on performance or something. Idk it sounds weird tho so try some of this and report back.

Good luck friend.
[G2 Original Android Development] coolhandfluke:
You might prefer FAST from the play store, my son says for general use its better than the Facebook app
[G2 Original Android Development] Telperion:
Nothing additional at all. Here's what I don't get:

1. Factory Reset & wipe system + caches.

2. Flash ROM.

3. Flash kernel.

No Gapps, no user apps, no nothing. It just won't go into deep sleep. Shouldn't that be as pure a setup as possible? Everything is wiped and stock, nothing additional. I'm already on the right bootstack.
[G2 Original Android Development] AssassinGEO:
You are bugged dude. Try another CM13-based ROM or other kernel.
[G2 Original Android Development] OT-Xtreme:
maybe its fast dormancy man, check how to disable it.. try another sim from other carrier or no sim at all and just wifi for half a day or something then check stats
[G2 Original Android Development] coolhandfluke:
not everything is overwritten, there are still partitions that aren't touched by the above.

I think you are at the stage where you need to go back to stock and see if the drain is happening there.

one last thought is to disconnect the battery as this is the only true power off to reset our hardware (or drain the battery till you can't get a response when powering on)
[G2 Original Android Development] johnb380:
I would try backing up what u wanna keep on your PC and wipe the whole device clean and then flash stock and see if its still there. If it isn't then follow the process to get back on cm13 and see if its there, I'll bet it isnt at that point.

If its not fixed then your battery may be dying or its definitely something hardware related like you screen digitizer or something internal is broken and may be shorting out.

If I was you this is what I'd do but its up to u!
[G2 Original Android Development] havokdroid:
Finally decided to upgrage from cm 12.1 to cm 13 after the preferred network bug got sorted out.

Unfortunately, I have random reboots for my D802. It doesn't happen always. Mostly when the phone is idle, it can go into continuous restart loops for a few times; when I go to bed it'll be in a bootloop, I'll wake up with the CM logo and 10% battery left. It also happens when the phone is kept for charging sometimes.

Have tried this on two build, 2016-02-10 and 2016-02-12 with opengapps and slimgapps, same result.

Wiped + factory reset, twrp 3.0.0, tried several times.

Not sure what to do here or whats causing it, its difficult to replicate the restarts. Is there a way I can pull a log for this or something similar?
[G2 Original Android Development] sapsa:
I been using 2016-02-10 on daily basis without any problems. Our only different is that I use twrp-2.8.7.3. Try that one.

---------- Post added at 08:46 AM ---------- Previous post was at 08:37 AM ----------

You are right. The wifi is off when screen is off. but from post you mention I see there is some developer option that I didnt saw [edit: its only for screen to be awake?]

But if it is a "allways" it will drain battery as hell. I would like that wifi would connect from time to time to see if there isn't any messages: like hangout,signal etc, no need to stay connected 24/7. ;)
[G2 Original Android Development] coolhandfluke:
I'm on a d802 twrp 2.8.7.3 nightly 0214, open gapps pico and Daniel Stuarts bootstack, no problems here.

Did you clean instal or dirty flash
[G2 Original Android Development] havokdroid:
So downgrade twrp? Would the recovery result in a issue like this?

By clean flash if you mean wipe data/system/storage/cache, then yes.

Haven't touched my bootstack. I'll try with Daniel Stuarts bootstack and see what happens.
[G2 Original Android Development] TnK8iD:
I'm on Srk 4 and I wanna Install CM 13: do I need the daniel's bootstack? I mean why you use that and not the one suggested in the Op? Sorry for asking, but I would like to have less risk as possible :D
[G2 Original Android Development] brrrrm:
Do not forget! After flashing this CAF bootstack there is a new button combination to access Recovery.

Power + Volume Down buttons, when LG logo appears, release both and press Volume Up + Volume Down.

Btw, I flashed 30D kdz via LG Flash Tool 2014, DP ROOT, TWRP via Autorec, full wipe and than CM13 without any bootstack and CM13 works really smooth!
[G2 Original Android Development] Christof-:
Did anyone recognize too, that it seems like the data connection gets lost (even if the icon is showing 2G)? I only get emails and whatsapp messenges when I connect to Wi-Fi. It also seems like the apps needed to be triggered by it. I already disabled the battery optimisation for those apps.
[G2 Original Android Development] smokerman:
my data connection only 2G even LTE is selected in network..its the biggest problem i ve found..

Enviado do meu LG-D802 através de Tapatalk
[G2 Original Android Development] droidphile:
Anybody knows how to get out of the mess of having applied a cm12.1 theme on CM13 to get non stop systemui crash, without wiping data. Will replacing systemui.apk from recovery with one from rom zip work? Or deleting themes.apk or something?
[G2 Original Android Development] Kornelije23:
I had a same problem, :/ no other way than wipe data sorry.
[G2 Original Android Development] smokerman:
flash original framework-res apk..:)

Enviado do meu LG-D802 através de Tapatalk
[G2 Original Android Development] chrisc44890:
The compass doesn't work correctly it'll only measure between East and South. Double twist for camera also doesn't work no matter how I twist my phone. My model is VS980 if it makes any difference for those problems.
[G2 Original Android Development] Paddy2014:
20151210 has fixed my Bluetooth issue and has been pretty stable for most of the day. I have just had a problem where I couldn't make a call. Trying to call one of my contacts gave high pitched beeps and a invalid number error. A reboot fixed it.
[G2 Original Android Development] djnata:
when i install supersu 2.62 give me a error :|
[G2 Original Android Development] SashaVeliki:
Please resolve bugs for lte/3g/2g change network and stuck on flash light when we take a photos with flash...
[G2 Original Android Development] Atomix86:
It will come in time, all beta builds are experimental.
[G2 Original Android Development] Fire Head:
Hi,

I've got a problem, maybe someone can help me.

My Phone: LG G2 D802 (16GB)

What I did:

Flashed 20D kdz file

Rooted

Installed TWRP

Updated TWRP to Rapidagators TWRP 2.8.7.3

Rebooted TWRP

Wiped Data/Cache/Dalvik/System

Installed CM13

Rebooted System

--> For a second there is the LG Logo, then the screen becomes dark.

I retried and installed another bootstack --> same result

What can I do?
[G2 Original Android Development] brrrrm:
Fire Head.. flash CAF bootstack by Daniel Stuart or start with 30d kdz, not 20d.. check this post:

http://xdaforums.com/showthread.php?p=64242434
[G2 Original Android Development] Fire Head:
Thanks I couldn't root 30d, now I flashed the other bootstack. Booting... :)
[G2 Original Android Development] dr4stic:
Are all the people having trouble coming from un-upgraded stock OS's? Is the 30d not rootable, or simply difficult to root? I ask because I know the all-in-one doesn't ever seem to work well on the 30B for the d800. I end up having to restart the process in the middle when it hangs. Or try the process twice, and the second or third time it'll complete and I can install SuperSU and it'll work.

I'd really like to understand the problem between the bootstacks since generally the lg-devs one is the supported one and *should* work. And it clearly works for some and not others, so I'd love it if someone could test the "why" on the D802.
[G2 Original Android Development] Lawlrus:
[MENTION=2096805]dr4stic[/MENTION]

You're asking why some people can't get into recovery so they have the kdz? Or the difference between lg devs and the hybrid bootstack?
[G2 Original Android Development] Fustang:
i am very rooted.

use this if you have a D802: http://xdaforums.com/lg-g2/development-d802/tools-how-to-install-twrp-bump-d80230a-t3072186
[G2 Original Android Development] ansontyl96:
LTE works fine for me
[G2 Original Android Development] ghost141:
Use kitkat bootloader / bootstack or Lollipop bump bootstack.

DONT USE LOKIFIED AND ORIGINAL VERSION.

---------- Post added at 03:11 AM ---------- Previous post was at 02:44 AM ----------

20151208 build - whenever u play a music on earphone, after the 1st tracks end, the next track will not working, it will stuck for miniute. Trying 20151210 builds, hope it already been fix.
[G2 Original Android Development] chewdaniel:
I'm using this and it works well...... recovery remains at Pwr+VolDown, Pwr+VolDown... the DanielStuart and Rashed ones don't work for me https://www.androidfilehost.com/?fid=24052804347760919

I was from Stock KK > CM12 > Stock LP > Stock KK > CM12 .1> CM13...

---------- Post added at 10:48 AM ---------- Previous post was at 10:47 AM ----------

LTE works fine
[G2 Original Android Development] Mohangrmc:
I m on d802 twrp 3.0.0-2 nightly 0214 .daniel Stuarts bootstack.no problem.except those universal bugs
[G2 Original Android Development] coolhandfluke:
By clean flash I mean factory reset and wipe system

You need to read the OP on how to install/upgrade before you do anything else. It will also explain bootstacks. Read the OP first.

---------- Post added at 09:41 AM ---------- Previous post was at 09:16 AM ----------

The dev's bootstacks don't work for everyone, I would suggest you read the OP fully.

I downloaded all bootstacks before starting and flashed the dev's bump bootstack first but that didn't work so I flashed Daniel Stuarts which did

Just remember the key combo you use to get into recovery may change. I think that's in the OP too.
[G2 Original Android Development] Alradaev:
Having trouble with no LTE for the last couple of nightlies. Anyone else or any known fixes?
[G2 Original Android Development] coolhandfluke:
LTE works fine on my d802 on 0214 nightly
[G2 Original Android Development] Alradaev:
any ideas on what can I do?
[G2 Original Android Development] johnb380:
STOP POSTING WITHOUT YOUR VARIANT NUMBER PEOPLE! HOW THE HELL CAN WE HELP IF WE DONT EVEN KNOW YOUR PHONE MODEL, D801, D802, ETC!?? ALSO WHAT NIGHTLY ARE YOU ON, DID YOU CLEAN FLASH OR DIRTY FLASH, WHAT BOOTLOADER ARE YOU ONE, WHST RECOVERY, AND ANY OTHER INFO THAT IS RELAVENT LIKE A LOG OF YOU REPLICATING THE ERROR AND ANYTHING ELSE!

IVE NEVER SEEN A THREAD LIKE THIS YOU GUYS THINK SOMEONES JUST GONNA MAGICALLY CRAWL THROUGH YOUR PHONE AND FIX IT BECAUSE YOU POST...

HEY MY PHONES BROKE ON 2 NIGHTLIES BACK!

WITH NO OTHER INFO YOUR JUST WASTING SPACE IN THE THREAD AND YOUR SURE NOT HELPING YOURSELF OR ANYONE ELSE!

GOOD LUCK!
[G2 Original Android Development] Alradaev:
If that was at me, sorry, was sure for some reason this is only for d802. I have d802, dirty flashing from nightly to nightly, TWRP 3, and Daniel's Lolipop Bootloader I think. I had CM13 from the second it launched for the D802, and the error started only now.
[G2 Original Android Development] migueldbr:
Performance is excellent with battery mode set to "quick" (but set minimum freq to 300mhz) and interactive governor setting "min_sample_time" set to around 80000 (to eliminate lags when scrolling a webpage and coming to a stop: read here)

Battery seems to be almost the same, but need to test more time
[G2 Original Android Development] chewdaniel:
Can someone confirm if this is happening to you guys? D802 here.... just noticed it with the 0214

EDIT:// a reboot "fixed" it. lol
[G2 Original Android Development] Mohangrmc:
A REBOOT can fix anything in life.
[G2 Original Android Development] evoarcher:
Apologies in advance if this is not the right place. - I'm on a D803 (Canadian) originally from Wind. Everything went well up until 20160207. Any newer updates send my G2 in bootloop at the LG logo. Fortunately I can get to the TWRP recovery and flash the 0207 back. I have noticed that after 0207 three was a new boot.img ... Any advice?

---------- Post added at 08:04 AM ---------- Previous post was at 08:02 AM ----------

I'm on the mini gapps. And specific bootstack for the D803.
[G2 Original Android Development] chewdaniel:
u can try to use [MENTION=4647521]PsychoGame[/MENTION]'s kernel for now
[G2 Original Android Development] evoarcher:
Than you. But do you know why is this happening?
[G2 Original Android Development] reza_gajet:
Hi the call blocker seems does not work properly it can't reject the calls...

Please fix it.thanks
[G2 Original Android Development] chewdaniel:
check back the last 5-6 pages or so

---------- Post added at 01:19 AM ---------- Previous post was at 01:16 AM ----------

it works.
[G2 Original Android Development] alexx_kidd:
May I ask what are your settings based on this excellent article about nexus 5?have you played with our device to figure it out? Thank you in advance
[G2 Original Android Development] migueldbr:
Yeah I actually tried to adapt that to our device and I think I got it right but I'm still testing things, but it seems quite good. If you want I can post here my configuration for you to try when I get home. Maybe that's good, it will give me another opinion on my config(unbiased)=p
[G2 Original Android Development] alexx_kidd:
Yes, that would absolutely be great, thank you very much! Do you find your settings good in terms of performance and battery?
[G2 Original Android Development] coolhandfluke:
Restore one of your backups from when the LTE was working and make sure its not a carrier problem.
[G2 Original Android Development] belgianrebel:
Had a small bug today,

People tried to call me or text me but i didn't receive anything. After a reboot i was able to be called or texted but no notification of missed calls. On nightly 6th feb. D802
[G2 Original Android Development] migueldbr:
It would be better if you tested and gave you opinion on the config. Keep in mind that im still testing it and im not experienced in this sort of thing. It was based on the guide i quoted earlier and adapted to our device. So lets get down to numbers:

The clocks i determined on our G2 are the following:

Idle - 300Mhz

Page Scrolling - 652Mhz

Video - 883Mhz

App Loading - 1497Mhz

High Load Processing - 2265Mhz

Based on the guide, i determined the max and min efficient loads for each frequency. To the frequencies displayed above we will use the max efficient load, the other frequencies will use the min efficient loads (if anyone wants i can post them all later, right now i only show the ones we will use in our case).

Above_hispeed_delay: 20000 1400000:40000 1700000:20000

Target loads: 98 422000:54 652000:80 729000:21 883000:83 960000:8 1036000:15 1190000:6 1497000:86 1574000:10 1728000:13 1958000:95 2265000:95

edit those options with kernel adiutor (you can copy and paste them). Disable the cpu boost(at the end of the cpu section on kernel adiutor, just put a value of 0ms on both options). The other configs are untouched because i still dont know whats best for our device. Please tell me if you think performance is better or worse, along with battery life. This is only for interactive governor of course. Also, on the battery options of CM13, use the balanced mode but disable the per-app profiles option.

Cant tell you about battery life because i still didnt finish a complete cycle because i just started testing this today.

dont forget to thank the guy who created the guide: http://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

Please keep in mind that this is testing and i am not an expert, so the config could probably need some tunning, if anyone could help it would be nice
[G2 Original Android Development] proyatzu:
ROM is perfect.. The only 2 problems for me are:

1) apparently low quality in whatsapp voice note.. (Most importan)

2) low audio volume..

Anyone finded a turnaround for these? (Expecially for the 1st)
[G2 Original Android Development] Zackptg5:
Both can be fixed by editing mixer paths. Worth a google
[G2 Original Android Development] MrSqueaky4000:
Is anybody else experiencing crazy battery drain while the screen is on and also when the phone is sleeping ? I've read this whole forum and have seen a few instances on this problem but I have not seen a solution. I've tried using different bootstacks (lg devs lp and lp caf hybrid) I've tried different cm13 builds (all builds between 0119 to 0214) I've tried different gapps packages / no gapps and I've also flashed back to stock lg lollipop trying to fix the problem but I've come up empty handed .

any suggestions would be helpful . thxz

Lg g2 d801

Lg devs bootstack

cm13 0214

open gapps mini 0129

PsychoGame's kernel 0205

Viper4Android
[G2 Original Android Development] eak1080:
How did you solve the random vibrations?
[G2 Original Android Development] havokdroid:
Yes, I usually clean flash before any ROM changes, nightly or otherwise.

Decided to start from scratch and did the following:

1. Back to stock 4.4.2 D802 using tot

2. Root via srk tool

3. Install blastgators twrp 3.0.0-3

4. Wiped system/data/cache + factory reset

5. Installed Daniel Stuarts D802 CAF

6. Flashed 2016-02-14 build + pico opengapps Feb 15th build

7. Flashed xposed framework, apps via update.zip with titanium backup

Seemed to be fine till I got random reboots again after a few hours of setting up the phone. Its happening a lot less often than before, but its still happening. Again, I cant seem to replicate it on demand, its pretty random.
[G2 Original Android Development] dr4stic:
You should try taking your phone to a full lollipop stock release (latest if possible) and THEN root/recovery, you should be able to skip #5, and you'll probably be better for it.

I know xposed is popular, but it digs deep into android's framework to do it's bit. You should consider maybe running without it for a few days to see if that's creating a rebooting issue for you.
[G2 Original Android Development] johnb380:
Newest nightly D801 ROM 2.16.2016 is confirmed booting with stock kernel now! They just reverted all the crypto crap until they figure out what was wrong I guess.

I'm happy now! Thanks for relaying the message on the problem and helping to resolve it friend. And thanks Rashed!
[G2 Original Android Development] DS-1:
What improvements will give booting with stock kernel?
[G2 Original Android Development] alexx_kidd:
Thanks a lot.I made the adjustments,I'll report back in a few days to tell if it has an impact on battery life (for now I don't see any decline in performance)
[G2 Original Android Development] erroreq95:
Any audio fixes yet? I mean the weak speaker sound and also i have bug, that i can't change speaker volume while i am phone-calling. It is set to (i bet) the maximum value and i bet it will make deaf one day.

Besides that the rom is awesome :)
[G2 Original Android Development] khanjui:
http://xdaforums.com/lg-g2/development-d802/mod-volume-booster-lp-mm-roms-t3313610
[G2 Original Android Development] erroreq95:
Works like a charm! Thanks!
[G2 Original Android Development] proyatzu:
Never had any

---------- Post added at 02:13 PM ---------- Previous post was at 02:07 PM ----------

Amyway cant find a fix fur poor whatsapp voice record quality..
[G2 Original Android Development] khanjui:
You are welcome.
[G2 Original Android Development] sachilleas:
Someone else wrote that it is because of hybrid bootstack
[G2 Original Android Development] Alradaev:
Okay, I have done that and it didn't restore me. Is it possible it's a SIM problem or only a carrier one?
[G2 Original Android Development] Paardenpijper:
D802 here. Getting a force close in the snapdragon camera app when I try to open the camera settings on todays nightly 20160216. Dirty flash through CMupdater over 20160207. Can anyone confirm? Else im going for a clean flash tomorrow .
[G2 Original Android Development] dr4stic:
I've been getting a crash after first picture for weeks and have been meaning to do a full reset on my phone. Since I didn't hear anything from anyone else, I figured I needed a good reset.
[G2 Original Android Development] uccfar:
Thank you for sharing this rom [MENTION=2096805]dr4stic[/MENTION]

Coming from SRKG2 Rom, I am trying CM for the first time.

GPS dramatically fixed and no signal lost :) thats the best thing about this ROM.

Thank you once again.