yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] Rangell11:
hey [MENTION=2096805]dr4stic[/MENTION],

I do not use double tap to wake because sometimes the screen turn on in my pocket. There was a change in the amount of time from 400 to 100 (CM12.1 to CM13). Probably because copied the One Plus One (Bacon) time but many devices use values greater than 100. Could you take a look at it?

http://review.cyanogenmod.org/#/c/119169/
[G2 Original Android Development] ulihh:
Well there are some, I have tried WIFI KeepAlive recently, this app pings every 10 seconds to the default gw. I noticed some improvement in wifi-on time, but this app goes to sleep at some point (even when I turn off battery optimization), and then wifi goes off too. And needing an extra app for keeping wifi alive just sucks... I hope the hostNSOffload=1 parameter in WCNSS_qcom_cfg.ini will fix this issue. Can't find that file on my d802 though...

regards , uli
[G2 Original Android Development] Afeef.mlk:
This IR port of QuickRemote worked for me... Maybe this can work for you also :)

http://xdaforums.com/showthread.php?t=3301931

[PORT] LG QuickRemote for AOSP MM
[G2 Original Android Development] Afeef.mlk:
Today I compared stock rom camera with cm13 snapdragon camera and really got disappointed with the result of Snapdragon camera :( Why Camera sucks too much ? Is there any port of stock camera for CM 13? Below is the 2 pics one with stock and other with SD cam...
[G2 Original Android Development] Afeef.mlk:
Stock
[G2 Original Android Development] migueldbr:
that is not normal at all, my camera takes better pics than that on cm13. Here is a post i made on the g2 g+ community:

https://plus.google.com/115567057615469106723/posts/XX3PybRtNsM

They are very similar (the right pic is cm13, the left is stock google edition with advanced drivers).

Btw if anyone is having lag after using adblockers that edit hosts file, there seems to be a fix for it: http://xdaforums.com/android/help/fix-android-scroll-lag-caused-host-file-t3286993

I didnt try it yet because im on stock lolipop, but i did have lag caused by the hosts file so that fix may work (some people said it works)
[G2 Original Android Development] khanjui:
Thats normal, no camera api2 in G2. And use FreeDCam for best results. It's really close to stock.

http://xdaforums.com//www.pinterest.com/pin/create/extension/
[G2 Original Android Development] Rangell11:
Could anyone help me understand how "config_suspendWhenScreenOffDueToProximity" works in real life?

I found two explanations but I still can not understand. It has something to do with "Prevent accidental wake-up"?

------------------------------------------------------------------------------------------------------------

<!-- Indicate whether to allow the device to suspend when the screen is off

due to the proximity sensor. This resource should only be set to true

if the sensor HAL correctly handles the proximity sensor as a wake-up source.

Otherwise, the device may fail to wake out of suspend reliably.

The default is false. -->

<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>

-------------------------------------------------------------------------------------------------------------------

This change adds a new config.xml resource to specify whether the

device should be allowed to suspend when the screen is off due to

positive proximity. Devices that support this feature should set

the "config_suspendWhenScreenOffDueToProximity" resource to "true" in

their resource overlays. The feature is disabled by default.
[G2 Original Android Development] dr4stic:
I don't know the answer to your question, but considering how you have gotten to looking through the sources and stuff, have you considered running your own builds of CM to test some of these things? There are guides and stuff available and depending on your hardware it wouldn't be too difficult. And you could actually try things and run tests to see if the various changes work or not.
[G2 Original Android Development] Rangell11:
I would like to, but I have an old PC. I want to buy a new one but my old PC does not die. :D
[G2 Original Android Development] suntzu123:
I see my Screen On Time reduced since october builds by 1,5x time...

I got 6-7hours SOT

Now it's only 3,5-4h SOT

Could someone uploud me 1x October,1x November builds? (I got december and it's also have reduced SOT)
[G2 Original Android Development] dr4stic:
I've found that judicious use of coffee and/or tea is a great way to solve problems like this... "oh no, honey, look what I did to this PC!!! We'll have to get a new one now! :(" lol
[G2 Original Android Development] picard47:
I am on stock at the moment but maybe some of you guys could provide some additional feedback and logs for the maintainer in the cyanogen forum: here.

its about the wifi disconnect bug.
[G2 Original Android Development] johnb380:
Finally figured out how to restore all my apps natively without titanium backup on a clean flash of cm13!

I'm so happy now. Google's new backup even restores App data for some apps until all of them support it eventually.

If anyone wants the step by step then ask me. I don't wanna post it for no reason!

I love flashing clean and keeping it clean instead of clogging it back up with a dirty data restore from titanium or twrp it causes issues sometimes and it really isn't clean IMO! Now we can just flash cm13 then gapps and be good to go in 15 mins or less depending on your app total!

I had to do the same thing when lollipop first came out for oneplus one!
[G2 Original Android Development] migueldbr:
Why wouldn't you share that? That's very useful. Please do share it, i will appreciate it at least
[G2 Original Android Development] Eselter:
One more bug:

- To see internal memory I must re enable MTP connection in settings.
[G2 Original Android Development] johnb380:
Well OK...

To Whomever wants to get the Google setup wizard to take over when clean flashing Cm13 and allow playstore to auto restore all your apps after Google login this is for YOU!

The way I do it you will need to use an open gapps package. In their packages they have it set up so you can remove and alter different apks and things from the gapps package and from your system partition of the ROM also.

What I did is...

Download Cm13 newest nightly then the newest Open gapps Pico package. (It will prolly work with any OpenGapps package tho.)

Then in the folder that you flash your gapps package from (It has to be in the same folder to recognize the config file) create a file named ".gapps-config" or "gapps-config.txt" (either name will work) withOUT the quotes. Then open it with a text editor and type "CyanogenSetupWizard (CyanogenSetupWizard)" withOUT the quotes obviously (I use both with and without parenthesis just to make sure it gets deleted!)

then save and exit and make sure permissions is set to 0660 or rw-rw---- and that's it for the hard part! ?

Then just backup your setup just to be safe, then wipe system, data, cache and dalvik cache.

Then just flash Cm13, then gapps and reboot.

Make sure in the setup process you choose Yes you have another device!

Then PROFIT!

Like I said in my last post I had to do this on my Oneplus One when CM12 first came out to get playstore to automatically restore all my apps then too!

So I tried this and it worked. The reason it works is because before CM setup wizard would take over the setup and get in the way of letting Google restore all your apps but after deleting this Apk you are deleting it pre- app optimization so it's like it was never there and Google follows its restore protocol perfectly without it!

Edit: Also just FYI I'm pretty sure for this to work you had to be on Cm13 once before to have a Marshmallow backup on the Google server. This is just a hunch but again it was like this before at the beginning of CM12.

SIDE NOTE: Also Google Drive is how you sync App Data but it is not active for all Apps yet. But to activate you have to go into Google Drive and make sure your logged in and make sure your sync is up to date too. So check the Drive settings before wiping if this is something your trying to take advantage of. In my setup only 14 of my 70 user apps actually has App Data synced just to give you an example. But I read somewhere that this will become a larger number over time as the API for this is used more by app developers.

If this works for you hit Thanks!

Or if you need help just mention [MENTION=3556013]johnb380[/MENTION] and ask your question and I'll try to help if I can.

Have fun and Good Luck!
[G2 Original Android Development] speebman:
well, i did it via older recovery and new, tryied every thing, cm13 just doesn't wana come up

the funny thing that lolipop works great the only thing is that nok wake up is not working, maybe i forgot to connect a sensor?
[G2 Original Android Development] dr4stic:
I'm glad you shared this!

One suggestion though.... You should also be able to use the filename gapps-config.txt which will be easier for the majority of users to create on Windows or OS X. If they copy it over via a USB connection, it'll also obviate the need to set file permissions since they'll already be set properly. This is the filename I use and it works fine.
[G2 Original Android Development] sapsa:
I have no Idea that no one wrote this as issue for nightly build, and everyone write that nightly is almost stable for daily use.

For a lot of guys this is probably super important thing to notice because if someone use netapps and are in home with 3g disable they wont have any notification on those network apps.

Fun fact: I wanted to issue this problem on JIRA and you cannot issue Nightly issue -.- and on git they disable ability to do that.
[G2 Original Android Development] johnb380:
Ya I kinda knew that but thought most people would do this process on their phones and the .gapps-config file permissions will be set automatically if done with Root Explorer.

But I did edit my post to include both so user can pick whichever one is easiest for them.

But anyways I think maybe adding a link to that post in the OP may help a lot of people to find the info. Just a suggestion tho.

I do know it was frustrating to me and definitely keeps people from wanting to do a clean flash because it is so time consuming without this. But either way I figured it'll be nice to have a way to force playstore restore.
[G2 Original Android Development] precardo:
Hi guys. i have cm-13.0-20160224-NIGHTLY

This bootstack don't work..

bootstack-d802-LP_30d..

but when i flash the phone don't boot farther than the Lg boot logo than the screen goes dark.

Please help... which bootstack actually work with the cm13 mentioned above?? please post download it for it thanks.
[G2 Original Android Development] Killer9090:
Why. The. Hell. Are. People. Using. Bootstacks.

For God's Sake please just clean flash (CSE Flash) a stock lollipop kdz, install twrp and CM and there! You don't have any problems! JUST TAKE A FEW DAMN MINUTES AND DO IT LIKE YOU'RE SUPPOSED TO. The bootstacks are worth completely nothing and you should NEVER EVER USE THEM. Very sorry for caps but oh Jesus... So tired of reading about those bootstacks again...
[G2 Original Android Development] dr4stic:
I honestly don't know the answer to that question. I even updated the FAQ to better reflect this. But no one reads. I hate people.
[G2 Original Android Development] dr4stic:
Fantastic. Now I'm gonna nitpick, because I think this would actually be useful for the FAQ :)

2 more things I'd like to see. 1) A blurb about how there are more options for the gapps-config and a link to the part of the OpenGapps wiki where they can find information about all the commands available to them..... and 2) maybe do some formatting, use fonts or bolding here and there for emphasis, just make it a little more visually engaging.

Personally I think you've done an excellent job and with the wiki link alone I'll find a place for it on the FAQ.

Thanks! :)
[G2 Original Android Development] uqrtml:
Hi,

i have d802 with root.its has twrp 3.0.01 recovery.Make wipe cache dalvik cache factory reset. I installed first bootstack and than installed cm13 20160302 d802 rom. my phone was opened. after i restart with twrp and installed banks dynamic gapps 6.x.x.x :(( my phone open but there is a fail '' Unfortunately SETUP WİZARD STOPPED '

the rom was deleted ' ROOT' on my phone. i cant open twrp with volume - and power :( i cant open anywhere in menu when phone open.

i cant open recovery menu

i cant open in menu anywhere

i cant install stock rom

i am only open download mode. please help me. sorry my bad english (from TURKIYE)
[G2 Original Android Development] sapsa:
Do you sir also have problem with wifi droping when phone goes to sleep when you have disable 3g?
[G2 Original Android Development] Killer9090:
Nope. Never had that issue. Telegram and Inbox work just fine and the icon's always on.
[G2 Original Android Development] johnb380:
I don't have it either and I came straight from stock lollipop. So maybe that has something to do with it. People on bootstacks seem to have a lot of issues I don't have.

O well maybe eventually people will get it and complete the process the correct way.
[G2 Original Android Development] thomas2403:
I have it, and has nothing to do with bootstacks. I went back to Stock LP (kdz), then installed CM13 again, and it was absolutely the same.

Read my posts in this thread. It's pretty bad for me too and I'm not so sure, if this is ever going to be fixed.
[G2 Original Android Development] Rasgola:
Hi,

I am willing to instal CM 13 on my G2 D800 (Att). its running with OTA lollipop 5.0.2, Build no : LRX22G and software version : D80030f. I have already rooted my device and installed TWRP through RecLollipop app. Do i need bootstrap to install first before CM13. I was reading other tread and some are installing without bootstrap . Please let me know steps.
[G2 Original Android Development] aaronDroid80:
You should be good to just flash. Just flash TWRP 2.8.7.3 first. I just did the same thing this weekend.

One question for you before you leave stock. Do you hear any popping and squealing at the beginning of phone calls? I had noticed this for a while on CM 12.1, and I just assumed it was a CM thing. But then it happened when I was running stock lollipop too.
[G2 Original Android Development] hevydevy:
adb

I got cm 13 running on my d801 g2 yesterday and I'm not a fan of it so I'm planning on flashing to cloudy g2 2.2 but now i am unable to boot into twrp. I enabled root, installed twrp and even enabled advanced reboot to boot directly into recovery but i keep getting secure booting error Cause: boot certification error which is what i was getting on stock android before getting cm13, i fixed the issue before with the kitkat auto rec app but ive read that auto rec can cause a hard brick if used in marshmallow. Trying to get into twrp through twrp, cm advanced reboot, hard key(power and vol down) recovery and adb reboot recovery command all cause the same error message. Any advice?
[G2 Original Android Development] raonaveen:
guys i flashed cm 13 over stock lollipop on my d802. It was working fine for 2 days till i decided to just restart my phone. and now I am stuck in bootloop. I can go in recovery but what should i do there. I have deleted both cm 13 and gapps files.
[G2 Original Android Development] P500:
Reflash CM and the GApps, or if you cannot sideload them, reflash Lollipop via KDZ Method.
[G2 Original Android Development] raonaveen:
sorry to bother. it was the stupid supersu app.

Also what is the best way to update these nightlies ? Hows cyandelta ?
[G2 Original Android Development] crazyguns:
CyanDelta is amazing. Works great with this build, just did an update to the 2nd march build, 34 megs and I'm good! I had to go back to twrp and flash the xposed zip as it overwrote it with stock and killed xposed, but once that was done, everything else is super smooth, and also no FC when selecting Power Saver mode via the notification bar. This rom is slowly but surely becoming the best thing out there!

I know the logic behind how CyanDelta works (only downloads the files inside the zip that have changed or have been updated, thereby saving bandwidth) but man, trying to even THINK about coding something like that hurts my brain! Great stuff.
[G2 Original Android Development] saisri2k2:
You can install nightlies from settings >about phone> cyanogen updates. click on the nightly that you want. It will download and install it be rebooting into recovery.

---------- Post added at 07:59 AM ---------- Previous post was at 07:54 AM ----------

Cm 13 is very stable, no major issues, I can live with minor issues now and then, WiFi disconnects when phone is asleep, Bluetooth also disconnects some times. Surprisingly phone calls are better than cm 12.1. No other issue that well make you stop using it. No random restarts etsc., I've been using it for last one week and I like it so far.
[G2 Original Android Development] Rasgola:
Thanks for your response. No, I am not experiencing any kind of issues in bringing or in Between calls.

Btw, I am not in pure STOCK lollipop but with LG'S / ATT'S OTA lollipop. So just to confirm. I can directly flash after upgrading TWRP?
[G2 Original Android Development] migueldbr:
Yeah, it doesnt have anything to do with bootstacks, i have two networks(from different routers) at home, in one of them i get disconnection, in the other one i do not
[G2 Original Android Development] thomas2403:
Interesting, this would explain a lot. I didn't have any disconnections in CM12.1, but now I have that problem too. Same device, same router.

I'm using the "WIFI KeepAlive" app from the play store so far. It pings the router every minute. But it's getting weird when leaving the WiFi reception area. The app tries to reset WiFi in the phone then.
[G2 Original Android Development] Okiera29:
I would like to say that I love CM13. I am on 0227 nightly and have no issues thus far. Right now, I am using the phone as a media device as I have no cell carrier for it.

For those having issues, here is how I did my T-mobile LG G2 D801 running stock lollipop build 30c.

I rooted the phone using one click root V1.3 Then, using Flashify, I flashed blast's bumped TWRP 3.0.0-4. Next I booted into recovery and did a complete nandroid back up and moved it off the phone to my laptop. I then, using TWRP I did a factory reset and wiped system and data. After that was finished I flashed CM 0227 and micro slim gapps. Once that was done, I wiped cache and dalvik and rebooted the phone. The first boot took a bit and had me worried. It was a long anxious 10 mins or so, but not nearly as long as some of the LP ROMs I have run on my tablet(Asus TF300T) Phone has been running for a week now with no real issues.

So read the directions on the first couple of posts and it should be fine. Thanks to the CM team for this ROM. It has made the phone much snappier and responsive. Enough so, that my wife is thinking of taking it back and sticking me with her Note 5
[G2 Original Android Development] aaronDroid80:
As long as you're coming from this (or 30f):

Reboot to recovery and flash TWRP 2.8.7.3. (I rebooted to recovery after flashing). If you want, this is a good place to make a backup in case you need to go back to stock again. Then you're good to flash CM and gapps.
[G2 Original Android Development] pantheras:
Try Flashing TWRP 3.0.0.4, That Helped me in the same situation
[G2 Original Android Development] Afeef.mlk:
Same problem occured for me ( black screen after lg logo) and I flashed hybrid bootstack from daniel stuart and problem solved. May this also work for you :) if you don't want to first go back to stock and do all the stuff again like me :)
[G2 Original Android Development] Mathewzn:
Smart lock

Hi, how to make a NFC tag to unlock the phone in smart lock? At all does not respond.
[G2 Original Android Development] wsw1640:
Is this RIL issue still present on the latest night lies for the VS980?

Sent from my Note5
[G2 Original Android Development] marn3us:
Hey guys, I have just updated to 0304 Nightly (wipe cache, system and dalkvik) and I'm having continuous Setup Wizard Fc right after boot so I cannot use my phone :(

I have been running CM13 since first week it came out and CM12.1, 12 and 11 before it and never had a problem, I guess there is always a first time... Could you please help me?

Also I have D802, TWRP 3.0.0.0-4 and pico OpenGApps

EDIT: if I just install the 0304 nightly I can boot and phone works great, but as soon as I install Open Gapps (both the newest ones or the ones I was using before) the Setup Wizard FC prevents me from using the phone... What should I do?
[G2 Original Android Development] johnb380:
You can try unzipping the gapps zip and removing the setup wizard then rezip it and flash.
[G2 Original Android Development] ulihh:
I've been following this thread for some time now, but i haven't found a solution for wifi drops in sleep mode. I have found several interesting things to try out, but none of them solved the problem.

If anybody wonders what the problem is - if you use apps like foldersync for syncing for example pics onto a cloud server, you will find that a wifi connection has to be stable for longer, maybe 2 or 3 hours, depending on the amount of bytes you want to upload. on small dsl lines with upload rates at 1MBit/s or so it might take a while... with android kitkat (slimkat in my case) it wasn't a problem... 4, 5 hours syncing at night was an easy task. With marshmallow it's impossible for me (and some others too). Shortly after turning the screen off the connection drops and depending on the foldersync setup the sync also does.

What I have done:

Coming from latest slimkat, flashed twrp 2.8.7.3, factory reset, flashed hybrid bootstack, flashed cm-13 20160127-d802 and opengapps mini (and now dirty flashed 20160303), meanwhile on twrp-3.0.0-1.

What I have tried then:

- flashed stock LP bootstack (M8974A-AAAANAZM-1.0.190128, Modem-D802-30B-EUROPE-OPEN)

- switched wifi settings (always on/on when charging/never)

- tried apps like Wifi KeepAlive (ping apps for keeping the interface up)

- set my device config on the wifi router to fixed ip address (to avoid failing ARP requests)

- installed WCNSS_qcom_cfg.ini in /system/etc/wifi and changed hostNSOffload=1, reboot

I don't know what to try next. Nothing has changed anything with the exception of the ping apps, they seem to keep up the connection for somewhat longer. At the end, they fail because marshmallow puts them to sleep at some point and the connection drops then. And as I said before, keeping an extra app for keeping up wifi sucks.

I don't know what's going on. Is it a bug or a power saving feature? All I can tell is the battery drain in slimkat was better, without suspending wifi in sleep mode. Only security reasons can keep me from going back.

Best wishes

Uli
[G2 Original Android Development] Gaja93:
Guys one thing is not clear to me, if I'm on stock Lollipop currently, do I have to downgrade to KitKat baseband before installing this ROM? Thanks.
[G2 Original Android Development] ulihh:
No you need lollipop baseband, so you can go on ;)
[G2 Original Android Development] nihil39:
Do hardware buttons work with the stock music player? I mean: keeping volume buttons pressed to skip track or using the hardware button on the external microphone.
[G2 Original Android Development] chobot1976:
To day nightly make me bootloop why?

send from my LG D802 via Tapatalk
[G2 Original Android Development] proyatzu:
Tbh i never had problems with wifi
[G2 Original Android Development] bankaiiii:
screen turn off during call

Hi,

I use:

twrp-3.0.0-4-d802-bump-blastagator-signed

bootstack-d802-CAF-signed

LP-BaseBand-30h_droidth

cm-13.0-20160305-NIGHTLY-d802

open_gapps-arm-6.0-nano-20160305

When I call or receive a call my screen turn off.

Do you have a solution ?
[G2 Original Android Development] hcm Hicham:
Hi
[G2 Original Android Development] belgianrebel:
Had the same issue once, then just installed ROM and immediately gapps, without rebooting in between, wiped cache and it worked...