yashsingh1/xdaforums huggingface dataset:
[G2 Original Android Development] dr4stic:
Re the first one (calls not disconnecting properly). I have a feeling it's a little different for me than for others. I'm on D800. When I'm on a call and it ends, my cell phone doesn't notice. The phone will begin to beep in the "there's no longer a call on the line" (this is a telecom thing) and my phone will display "invalid number" or something like that for 2-3 seconds. And then my phone will drop the call, or see that it's been dropped, or something like that.

As for the LTE, I think someone else answered that.

The problems with the call features have to do with the libril (radio interface library). Our most recent libril comes from Lollipop. Unless we get a marshmallow libril, these bugs will like be slow to fix if they get fixed at all. Hacking on the libril is a pain and time intensive activity for the devs. A marshmallow libril would mean a marshmallow release from LG, and I think that's unlikely to happen, although there seems to have been hints in the news as far back as october that it might actually be in the works.
[G2 Original Android Development] wq0913562:
Thanks for all the explanations.

Oh, that is a pity :(, because (unfortunately) an official Marshmallow update for the G2 seems so unlikely at this point (despite all the rumors) :(.

By the way:

Do you know if the Qualcomm Snapdragon camera app will be used in the official builds anytime soon?

You and [MENTION=4662457]Rashed97[/MENTION] were talking about it some time earlier and I have now submitted a feature request for it, see:

https://jira.cyanogenmod.org/browse/CYAN-7242

Is there any chance this app will land in the official builds anytime soon?

Regards
[G2 Original Android Development] dr4stic:
I doubt it will be included, but I've been considering building it for 13, assuming a build will work. My build environment is currently a hacked up version of 12.1. I've been avoiding updating to 13 because I'd been working on my TWRP. However since i've dropped my TWRP, I think I'm ready to switch over. Once I do that I'll try running a build of snap and see if it works on 13 at all. If it does, I'll post it. I know people liked it.
[G2 Original Android Development] obvious:
D802 here. Just to confirm exactly the RIL behavior mentioned earlier:

"1. When the opposite party ends the call an Invalid Number will popup and you have to tap OK... or when the call drops.... any situation that the call is ended that you did not press endcall yourself."

I know ril hacking is hard! There are some wizards though :)
[G2 Original Android Development] carpon:
i can't edit it due to the permissions do you know how can i do this?
[G2 Original Android Development] Oliver.D:
A big thank you to the developers. Great that you provide the newest android version to our device.
[G2 Original Android Development] norbigazda98:
Thank you. Unfortunately, the video playing is still not working from online sources, so I returned to cm12.1 :(
[G2 Original Android Development] alexx_kidd:
Thank you so much for the effort!will flash in a bit.Just one question - if all things work with no issues,do you find it realistic to convince the cm team to implement them on future official cm builds?Just asking for your personal opinion
[G2 Original Android Development] edi194:
Flashed, and:

1. Network switcher works correctly (every change i can see on *#*#4636#*#*, and everything works)

2. Seeking working correctly (installed V4A)

3. When exiting stock browser, there are some glitches on screen. This is only bug what i've found with graphic.

[MENTION=5701533]norbigazda98[/MENTION] For me video streaming is working on YouTube app and Chrome.
[G2 Original Android Development] proyatzu:
How is going battery life?
[G2 Original Android Development] edi194:
I've this version for hour. When installed I had 95% of battery, after hour with restoring apps, using bluetooth and wifi I've 89%.
[G2 Original Android Development] Hbohd:
[MENTION=2096805]dr4stic[/MENTION], why do you think 'prevent accidental wake-up' option will NOT come back in MM?

I used this option back in LP times and couldn't believe life without it. Aaand now it happened[emoji14]But I can't understand why? It was simply a genius feature!
[G2 Original Android Development] alexx_kidd:
I'm not an expert or anything, but could the new doze feature in marshmallow be of fault? Because it observes for phone movement in order to put the device in deep "doze" sleep.and thus making "prevent accidental rake up" kind of obsolete

---------- Post added at 11:33 AM ---------- Previous post was at 11:16 AM ----------

battery life will likely take a hit when playing or streaming music with screen off.at least that's what developer wants to test
[G2 Original Android Development] coolhandfluke:
I'm on 0130 nightly and can cast to a Sony bravia, there was a six second delay for screen refresh, after restarting the refresh was about 0.2 seconds
[G2 Original Android Development] PsychoGame:
Hello everybody,

After a busy week I'm back with yet another beta build of the CM stock kernel.

Maybe some of you seen that most of the patches which have been tested are merged right now.

Patches I'm holding back on for now are camera related patches which may be merged later on but CM Team isn't fond of it so we'll see.

Currently I'm also trying to understand google's added code to RIL inbetween LP and MM in which the function getRadioCapability was introduced.

In theory the implementation should work without problem but obviously doesn't so we can't change "Preferred Network".

I'm aware of the patch which is floating around in which an overlay in RIL is introduced which makes it possible to switch network again but this would be a temporary solution.

Some developers would like to see a long-lasting solution to the problem which I'm trying to work out in the meantime.

For now please test my new Beta kernel and report back on your findings. (Don't forget to mention CM build date in your report and please also report if everything seems okay)

You'll find the beta kernel over here: http://xdaforums.com/lg-g2/orig-development/kernel-stock-cm13-0-kernel-unmerged-caf-t3291282
[G2 Original Android Development] alexx_kidd:
Is it ok to flash this over [MENTION=2096805]dr4stic[/MENTION] custom build that solves the music and network bugs?will your kernel mess with the fixes?
[G2 Original Android Development] PsychoGame:
Hello [MENTION=3783072]Alex_Kidd[/MENTION],

I checked the patches which [MENTION=2096805]dr4stic[/MENTION] implemented in his private build and these patches do not seem to touch any kernel related stuff.

This makes it safe to apply the beta kernel without losing the patches from the custom build.

Greetings PsychoGame
[G2 Original Android Development] xpissio:
Hi all, do I need to do wipe cache, dalvik and system for update the nightlies? Thanks :)
[G2 Original Android Development] chewdaniel:
no, but recommended
[G2 Original Android Development] proyatzu:
Hey guys, can somebody put a link to v4a for this rom? thx

---------- Post added at 09:15 PM ---------- Previous post was at 09:13 PM ----------

And also some good setting for mixer_paths.xml.. I tried a lot of configutation but or the volume is still low or it get distorted.. I would like to have a general good volume like for example in cloudy.. Thank u very much! I would appreciate any help
[G2 Original Android Development] migueldbr:
currently impossible to have the same sound quality on speaker as stock rom, but with viper4android on cm12.1 it was good (still not as good as stock, on high volume it still distorted a bit). I heard viper works on cm13 so give it a try
[G2 Original Android Development] norbigazda98:
Playing a video is OK, but I can't fast forward/seek, because it becomes unenjoyable and eventually stops.

YouTube is OK for me, but HTML5 videos are not. I mean when I watch, for example, a movie online from, also for example, vidto.me from Dolphin or the stock Browser it cannot be fast forwarded. Even when I choose other video players like MX Player or ES Video Player I cannot fast forward.

Can you do this in Chrome? Because if you can and it remains enjoyable and stable that means that I will use CM13 as a daily driver. :)
[G2 Original Android Development] edi194:
V4A is working ;)

[MENTION=5701533]norbigazda98[/MENTION] When opening a video from vidto.me in Chrome it starting downloading, but opened with MX Player w/o downloading and i can forward

from beggining clip to middle or end and everything is loading and working correctly:)
[G2 Original Android Development] dr4stic:
Did this happen with the last few nightlies, or is this a new glitch? I didn't know anyone still used the stock browser...
[G2 Original Android Development] edi194:
Last few nightlies had this issue (when exiting screen became glitchy). I've used it one time only, now with Chrome everything works perfectly
[G2 Original Android Development] alexx_kidd:
[MENTION=2096805]dr4stic[/MENTION]

Network change works ,battery life is the same but haven't tested it for a long period of time listening streaming music.I will test it listening for some podcasts via streaming them in Pocket Casts for one hour later today and let you know.But for now there is no battery drain (streamed for about 10 min music with screen off and no drain)
[G2 Original Android Development] proyatzu:
I also tested a whole car driving, stereo bluetooth music streaming, all time playing music in car for like 3hours, no particular battery drain, very good

---------- Post added at 02:34 AM ---------- Previous post was at 02:34 AM ----------

Can someone link me to a guide to install v4a? Im not finding it..
[G2 Original Android Development] pjadec:
If you like to flash V4A to your phone.

I flashed ViPER|Audio™ Sony™ Beats™ Edition zip and it works fine.
[G2 Original Android Development] Lowena:
Hey dr4stic, could you upload the D801 build please? Or maybe some sort of patch file for one of the existing uploads so you can save bandwidth, if that's possible. Much appreciated :)
[G2 Original Android Development] dr4stic:
Alright, I uploaded the 801 build, but I'm gonna expect a report on your experience with it :)
[G2 Original Android Development] rusak2:
[MENTION=2096805]dr4stic[/MENTION]. Your patch is just for the 30th nightly? What about newer nightlys?
[G2 Original Android Development] alexx_kidd:
[MENTION=2096805]dr4stic[/MENTION] dare I say,not only your build does not drain battery (I streamed music a lot with no problems) , but instead I'm having better battery life than before! 53% - 2:55 SOT - in 16 hrs
[G2 Original Android Development] PsychoGame:
Hello [MENTION=4587202]rusak2[/MENTION]

At the moment these patches haven't been included yet in mainline so currently they only apply to [MENTION=2096805]dr4stic[/MENTION] his custom build.

I don't have a problem with killing off offload support in our device for now as this is done by a lot of other affected devices as well, but some other developers feel that it's not ethical to do so.

Problem is when almost all devices which have this problem kill off offload support there is no need for them to get it fixed properly in source.

So I understand the developers their point of view against this being merged but then they should note that to other device maintainers as well and try to get it reverted.

At the moment they seem to fully rely on our device developers to get it properly fixed in android source and that's not really fair.
[G2 Original Android Development] Callesson:
Hi, it seems that due to my carelessness I have wiped my system partition when updating CM13 through TWRP on my LG G2. That has really upset me, I've spend several evenings tweaking the system to my liking, and now everything is gone.

I'm not sure if I understand how partitions work, so I don't really know if that's what happened. The only thing that's certain is that my system looks as if it was freshly installed - no apps in drawer, all settings reset to default.

There is much more free space on my internal storage than before, but it seems that various app folders are still here (but the system doesn't see the apps).

What should I do now? Is there any way to restore the app data? I don't have any proper backups, except for the data that's left in the internal storage.

If not, should I do a factory reset now to get rid of the useless app data and get a clean start from the scratch?
[G2 Original Android Development] alexx_kidd:
I see your point,but in the end isn't dealing with such a huge issue the point,by any means necessary?A patch might not be "code-pure" or ethical,but gets the job done.So my opinion is to kill offload with a custom kernel and leaving rom itself untouched for developers to figure it out.Let's be honest though - our G2,as amazing as it is,it is an old device (a one that has nothing to envy from modern ones of course) so development is not a first priority I'm afraid..
[G2 Original Android Development] OT-Xtreme:
that's not ture, we have plenty of power
[G2 Original Android Development] niubboxp:
if u update from another rom or an older cm, like cm12.1, you have to wipe all partitions except internal storage, otherwise if u had already installed cm13 and u just need to update to a newer version, when u go in recovery, wipe only system, dalvik and cache, then flash the new cm13 zip and reboot, you will not lose your apps and configuration, because all this stuff is stored in data partition
[G2 Original Android Development] proyatzu:
Flashing this gived me continous FC that maked the phone unusable.. The only thing i could do is deleting apk file from twrp file manager
[G2 Original Android Development] migueldbr:
the beats edition? I also flashed it just now and it works fine on my phone...
[G2 Original Android Development] migueldbr:
[MENTION=2096805]dr4stic[/MENTION] there is a bug in video recording. When I'm recording, a background noise can be heard in the background(continuously). I checked with another friend who is on aicp and it happens with him too. He said it also happens on 5.1.1 roms
[G2 Original Android Development] koko98:
Do I need to flash Gapps again when updating from another nightly?
[G2 Original Android Development] rusak2:
No. Just wipe dalvik cache and cache.
[G2 Original Android Development] nicky3:
Thanks man,

This **** work lika a sharm, 3g and 4g switcher is giod, also music app work perfect, for now the best MM for G2.. By the way, D802, Open Gapps full package...

Thank you very much
[G2 Original Android Development] pjadec:
Sorry about that. Selinux must be permissive or flash ViPER4Android-supolicy.zip or both
[G2 Original Android Development] proyatzu:
Can u explain better?

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

Anyway i got a bug.. During phone calls, the audio is released from the headphone on the bottom of the phone (the one from where music is released, to explain) even if i dont have speakerphone active, in fact, switching on and off the speakerphone option doesnt change anything..
[G2 Original Android Development] pjadec:
Link read first post.

But my G2 D802 V4A works fine and also V4A HIFI. Also no FC.
[G2 Original Android Development] PsychoGame:
Hello everybody I have some good news.

I found out exactly where our "audio scrolling bug" comes from and it's easily solvable.

But before sending any changes upstream I'll create a test build first for anybody to test.

I'll do this to make sure I don't break anything else in the process of fixing this bug.

I'm uploading this build during the day and I hope a lot of people will test it and give valuable feedback.

First build which will be uploaded will be d802 since this is the most common device.

Greetings PsychoGame
[G2 Original Android Development] praxis22:
I use the flashify app, you have to feed it the IMG file you get out of the zip/rar you download and use the recovery option. It will flash it, then reboot and drop you into recovery, if you get a blue screen with Team Win written on it, it worked. Wait a while and will give you the main menu screen.
[G2 Original Android Development] alexx_kidd:
OMG you are awesome!does that mean that we can keep flashing the daily cm updates with your rom and then your kernel and the audio bug will be fixed right?
[G2 Original Android Development] PsychoGame:
Hello [MENTION=6176962]alexx_kidd[/MENTION],

The custom build I'm building right now will be an unofficial custom CM-Build.

You can flash it right over current CM nightly without any problems as there haven't been any drastic changes really.

Only thing I'm tinkering with at the moment is the audio_policy.conf from where the bug is coming from.

In my phone at the moment I'm able to use "audio scrolling" WITHOUT killing off compress_offloading.

You can flash my custom Beta kernel as well with this build for anyone who's wondering.

I can't promise the fix will be in official CM tree next thing in the morning but I'll try my best to get it through asap.

This way I hope to satisfy a lot of persons who maybe held off on CM-13 because of this bug (audio fanatics).

Greetings PsychoGame
[G2 Original Android Development] alexx_kidd:
So, to clear things up. You have included the audio fix on your custom kernel, you are not building a custom cm rom, correct? If official cm includes your fixes would be great, if not, flashing your kernel will do the job. Hopefully I got it right
[G2 Original Android Development] PsychoGame:
No I'm currently building full custom rom. The fix is on ROM side not kernel side.

Flashing only my "Beta" kernel will not solve the "audio scrolling bug", you'll need to flash the custom ROM for that.
[G2 Original Android Development] alexx_kidd:
Oh, I see. How will it be different than dr4stic one? Different fix I assume?
[G2 Original Android Development] chobot1976:
[MENTION=4647521]PsychoGame[/MENTION] where I find yours build? I use your kernel for first time and very smooth... My D802 is very fast... I'm on 20160130 build of CM and yours beta kernel 20160130...

send from my LG D802 via Tapatalk
[G2 Original Android Development] niubboxp:
[MENTION=4647521]PsychoGame[/MENTION] your kernel is already inside the cm or i have to flash aside? It will allowing to use Fix Startup Data Leak from afwall?
[G2 Original Android Development] KpKi:
Stock browser has serious graphical glitches.
[G2 Original Android Development] PsychoGame:
Hello everybody,

I'm sorry it takes so long.

Currently I'm experimenting with different settings to find the optimal settings for our device.

Also I will create a flashable package with only the changes I made inside.

This way you can flash it over any ROM/nightly date you want the fix for, until it has been merged upstream.

This package I upload in about 2 hours from now will be usable on every device variant as well
[G2 Original Android Development] alexx_kidd:
You are so lovely, thank you very much!
[G2 Original Android Development] PsychoGame:
Hello everybody,

The link to the flashable patch is: https://www.androidfilehost.com/?fid=24391638059060294

This flashable zip is completely variant and rom independent.

Please try it out and report back you experience with it.

I made some more audio modifications other than only fixing "audio scrolling bug" so try out audio as much as possible.

Thank you for your cooperation and happy testing

Greetings PsychoGame
[G2 Original Android Development] akaloith:
the buttons from my lg bluetooth headset dont work. am i doing something wrong?
[G2 Original Android Development] PsychoGame:
Hello [MENTION=386350]akaloith[/MENTION],

This is with my audio patch?

Did it work before you flashed the flashable fix?

Greetings PsychoGame
[G2 Original Android Development] mpopovic85:
Seeking in Music app working just fine with the patch. Running today's nightly with your kernel. Great job, thanks!
[G2 Original Android Development] akaloith:
the buttons on my lg bluetooth headset dont work

no audio patch installed. pure cm13

am i doing something wrong?

also can someone post a short guide for successfuly installing viper|audio or viper|atmos or viper|dd+?

install supersu? which version?

install SELinuxModeChanger?
[G2 Original Android Development] PsychoGame:
Okay strange, also you aren't using my "Beta" kernel.

Which nightly you are on, and did it work before (if yes which nightly?)

This information is crucial in bisecting where your specific bug may come from.
[G2 Original Android Development] silwal.mahesh47:
Same case for me too seeking works but buttons on lg headset doesn't work. I'm using Feb 1 cm13 nightly build with your kernel. And yes it did work before. If I remember it correctly it did work on 31 build.
[G2 Original Android Development] mmd1907:
[MENTION=4647521]PsychoGame[/MENTION]

You are awesome. Patch is working so good.

If I have free time in office will test your latest kernel, feedback here and your topic.
[G2 Original Android Development] PsychoGame:
Hello [MENTION=386350]akaloith[/MENTION] and [MENTION=6612907]silwal.mahesh47[/MENTION],

I sent you guys a PM with my hang-outs address.

Would like to help you guys out with your problem with BT Headset.

Please add me on Hangouts and i'll debug the problem with you.

I might have a hunch where the problem might be coming from.

Greetings PsychoGame
[G2 Original Android Development] alexx_kidd:
[MENTION=4647521]PsychoGame[/MENTION] patch works great on the latest cm build
[G2 Original Android Development] GalaxyGusta:
i installed latest build and "stock" gapps from open gapss and i dont have snapdragon camera all i have is google's camera
[G2 Original Android Development] OT-Xtreme:
benn discussed before, dont use stock gapps, pick the smaller ones
[G2 Original Android Development] d1rX:
Sound volume is horrid with this ROM. Anyone can confirm an actual workaround? Tried modifying mixer paths, installing v4a, lambda kernel with synapses (refuses to override sound settings for speaker).
[G2 Original Android Development] mpopovic85:
As far as I know, the CM13 Camera for the Snapdragon devices (including the G2, of course) is actually based on the Snapdragon Camera, so you have it already...

*edit - As already sad by others, flashing stock gapps erases the SnapCamera app and replaces it by Google Camera. Use Mini Gapps
[G2 Original Android Development] akaloith:
bluetooth keys on lg headset never worked with pure cm13

I think its not implemented.

I am on latest nightly

I havent used any kernels or patches
[G2 Original Android Development] chewdaniel:
perhaps you should read the first post and the faq in opengapps thread that mastahf took so much trouble writing
[G2 Original Android Development] MrSqueaky4000:
Stock gapps replaces all AOSP applications with google counterparts, such as snap camera will be replaced with google camera, and AOSP browser will be replaced by chrome. Try using a dif gapps package like full or mini. Hope this helps :)
[G2 Original Android Development] x_justin:
First impressions are amazing! Kept flashing stock because everything just works, but in your special build everything doesn't just work: it's amazing! Never had my phone so fluent and fast. Using Psychogames' latest kernel. If we ever would have the complete LG stock camera ported to the kernel, then it would be the ultimate ultimate combination. For now, it's worth it to use snapdragon camera and take the advantage of this beast!
[G2 Original Android Development] akaloith:
panorama photos in snapdragon camera are baaaaaaaaad :(
[G2 Original Android Development] danmen2:
[MENTION=4647521]PsychoGame[/MENTION] testing your fix on 01/02 aicp nightly with your kernel, all works like a charm.

Thank you very much.

Enviado desde mi LG-D802 mediante Tapatalk
[G2 Original Android Development] mirktamas:
I've been reading through, but I couldn't find the solution, please be kind.

I've trying in the following order:

Wipe everything

installing 5.0.2 Bootstack with KitKat (Bump) bootloader

rebooting to twrp

wiping system

installing dr4stic special jan 30th edition cm13 (https://www.androidfilehost.com/?w=files&flid=48803)

rebooting

I get black screen. (soft brick)

When I want to go to twrp it asks me whether I want to reset everything (original lg) and then goes to twrp.

Waiting for your help,

Tom