Hangouts VOIP calling is broken -- can we figure out why, and fix it? - G3 Developer Discussion [Developers Only]

[I originally posted this in the T-Mobile G3 Dev & Original Dev forums, but it was pointed out that those were not the appropriate forums for this thread. In an attempt to follow the rules (and hopefully spark some conversation about this issue) I'm posting this here, now. Please, read on...]
Okay... Having determined that this is something that I can't fix, I submit this logcat to the group:
http://pastebin.com/Av4P7H8Q
That is the result of me opening Hangouts and placing a VOIP call to a contract. The result is the ring-to call sound continues to play after the called party picks up, and they cannot hear any sound I make. Further, hanging up results (eventually) in Hangouts crashing (but the call not actually ending until then).
As you may (or may not know) using Hangouts VOIP calls is BORKED, and it has been for several days. This seems to affect all downstream CM12 ROMs, at least for the LG G3 D851.
Take a look at that logcat... It Is a MESS. Why are cameras being called ajillionty times for making a VOIP call? Why is there no path to the necessary VOIP_MIC component? When you realize that all 8000+ lines of this comprise *only a few seconds* just how...odd...things really are.
It is my understanding that this began on or around 12/8-9. The culprit would seem to be commits made to CM12.0 on 12/7, 8 or 9. I've gone over the commits that were merged during that timeframe and nothing stands or as obvious... Though there do appear to be a few that warrant further investigation. I'll try and a compile a list of commits that I think make good candidates for inspection.
Anyone have any other ideas, or places to start, maybe even areas/projects in CM12.0 that should be looked at more closely?

Has anyone tried a version of the app for a 5.0.1 device(N6) I know some of googles apps vary depending on your OS version (Google Now is different from 4.4 to 5.0) I'm not sure how to get it other than having a compatible device and copying the apk over to an G3.

It's not the apk causing the problem @candler33w I'm using illusion ROM vs 1.02 and hangouts works fine on that and that is android 5.01. but it doesn't work on his latest version of illusion (v2.xx). He says he switched his base and since it's been broken.

mic problem is apparently a build.prop property..
change "use.dedicated.device.for.voip=true" to false.
seen here: http://forum.xda-developers.com/lg-g3/help/fix-fix-voip-calling-lollipop-roms-t2980294 or here https://github.com/AndroidUser00110001/device_lge_d855/issues/7
edit, sorry FULL/ALL credit to @marcelol151 no need to mention my name.

Related

Bug tracker website? Would that help? (I'm offering)

Ok. Short story of what I want to do and why.
I am a developer and I feel that I don't contribute enough to this fantastic site and its users. After the recent unpleasantness I went away and thought about what it is that I could do to try and fix this. My idea is a site or section of the wiki built specifically to track bugs and issues in new roms (I was specifically thinking WMXL but there is no reason this can't be used for all of them).
I am currently working on my own XML based site with PHP5 driving and if people think it will be useful I'd write and host this service before I continued with my own site (hopefully before WMXL 0.30 is released).
I want to try and restrict the way people enter and search the information relating to problems with new roms and try to cut out the background noise. I was thinking about having fields such as ROM version (drop down list), radio version (text box), boot loader (drop down list), main program affected (text box), extent of interference (drop down list), description of problem (text area), how to reproduce error (mandatory text area!).
This will hopefully encourage more people to think about what might be causing the problem rather than just posting what they cant do and expecting someone else to work everything out. Forcing a description of how to recreate the problem will hopefully find most users not needing to post after they work it out, and if the recreation steps dont work then the post will be closed. Hopefully people will think enough that I will be able to moderate this forum (type thing) myself and maybe someone in another timezone (closer to the UK) can take care of it while im asleep.
No one can stop n00bs posting silly questions but hopefully we can reduce the amount this annoys everyone else.
Sorry it took so long to describe my idea.
Maz
UPDATE: STARTED!
I got started as soon as I'd got a couple of replies but I still need you all.
For the chef's and other brilliant people:
1. What info do you need with each ticket to try solve them?
2. Do you want to be the only one to close tickets? Or should the submitter be able to?
3. What info do you want to store for the roms to filter to the smallest pool of specific tickets?
For the users:
1. How do you want to be able to search this?
I DON'T ASK FOR DONATIONS! ALL I ASK IS THAT PEOPLE SEARCH BEFORE SUBMITTING!
---------------
http://maz.net.au/
Bugzilla? yes please
This is a very good idea. In fact, I think that we need too a place to store the temporary fixes generated after each ROM publishing. It will be a good place for this too.
Good Idea.
It Would Help A Lot, Sounds Like Finding Answers Would Be Easier And Should Cut Down On The Hostile Atmosphere.
Cheers
Yes, very good idea.
This become easyest forum for everyone.
If it would be of any use, i can host this on one of our UK servers so we get very good speeds? I know 'iammaz' has said he can host it but he is in Australia so for the UK guys it might be a tad slow.
If not then no worries, but just trying to do my bit!
jaso2005 said:
If it would be of any use, i can host this on one of our UK servers so we get very good speeds? I know 'iammaz' has said he can host it but he is in Australia so for the UK guys it might be a tad slow.
If not then no worries, but just trying to do my bit!
Click to expand...
Click to collapse
Cheers and I'm sure everyone appreciates the offer. My site is hosted in the US. At the moment this is being built as a module to my current CMS. Whether or not this adds too much overhead I won't know until I try. The problem will be if I use too much cpu time im sure it's against the ToS with my hosting company and they will shut me down.
I hope that I will have it built as a stand alone object by then and anyone else can take this and run this on php5 hosting or in fact I could run it as web services from my personal server at home.
Progress goes well. Just working on possible searching and indexing algorithms to make searching fast and useful.
Maz
-------------------
I can't believe I forget to type this.
http://maz.net.au/
Great idea
It's 2am. I'm piking for the night. I'm expecting a phone call at 7am tomorrow so will be back into it then for 5 or 6 hours. Hopefully will be almost done by the end of that.
I need to work out how you want to have logins work. I don't think i can make it authenticate against this forum (i havent tried integrating with vBulletin before). Do I allow open registration? do I try make it force you to register the same name but PM'ing the password to that username here? do i manually add people as they ask and restrict the group?
let me know in the next 6 hours or so.
Maz
----------------------
Badly styled CMS can be seen here. (new version looks so much better )
http://maz.net.au/
Open registration, but obviously grant privileges to those of us who classify as developers.
Olipro said:
Open registration, but obviously grant privileges to those of us who classify as developers.
Click to expand...
Click to collapse
And super-user privileges for the chef's for bug tickets that apply to their cooked roms.
Maz
----------------
hard at work again at http://maz.net.au/

Unofficial AOSP 4.0.4 Changelog (Commit history)

I had a little time on my hand so I took this and cleaned it up (removed docs, repetitions, collected kernel commits, ...).
Note that this is the internal commit history of google developers. You shouldn't read too much into it because:
1.Most changes are under the hood stuff that is only interesting to developers.
2.It probabely doesn't reflect all the changes google made
3.Some changes may have not made it into the final release
4.Some changes are specific to other devices
5.Some don't make sense without looking at the code
Nevertheless, there are some interesting descriptions that reflect some of the stuff people have reported : faster rotation, dial redesign, android os battery bug, lock later after power button, keyboard lag, etc.
I have added "****" before ones I found interesting for us users.
Pastebin Link
Thanks for this! Very interesting.
Good work for collecting and identifying the changes understood by Users......
Thanks for this! You might also want to consider starring "More aggressive fix for phone lookup issues" (the comments after this are very telling) as I have run into this issue.
Nice work.
It's annoying Google don't provide an official changelog. Especially considering they push such things so hard for apps when they get updated, what with the new What's New bit.
torospr must be the Sprint version.
El Daddy said:
torospr must be the Sprint version.
Click to expand...
Click to collapse
yeah, it is. JBQ said it somewhere in the android building group.
BinkXDA said:
Thanks for this! You might also want to consider starring "More aggressive fix for phone lookup issues" (the comments after this are very telling) as I have run into this issue.
Click to expand...
Click to collapse
thanks. added.
If anyone else spots something please let me know.

FNG With Questions about ROMS For Open Mobile PR

So as the title states, I'm not only new to the forum, but to the whole world of stock/custom ROMs, and about 95% of the vernacular that appears in your typical conversations.
Before opening this thread, I did read a few others on the subject of Open Mobile users successfully using customized ROMs of other carriers, but with the loss of 3G and/or MMS. (By the way, the feature that shows similar threads under the title box- genius.) I, too, have fallen into that unfortunate category, but with a stock ROM belonging to Metro PCS. It was completely unintentional, the changeover.
After the first 10 minutes of freaking the out, I got my act together and found this forum, among others with not a single solution to my problem, or that of other users with a situation similar to mine.
I would simply like to know if anyone has been able to fix this problem.
As proof I've check other threads,
-This one is for an HTC Hero and in page 2, post #11, someone offers a possible solution, but the person referred to doesn't respond. And I can't really understand what it says.
-This one offers three posts of nothingness.
-This oneseems to have a user inventing a Battleship/Bingo hybrid with all them numbers and less-than-average use of periods.
I appreciate any help anyone offers. And if I posted this in the wrong section, feel free to move it as needed.
Again, thanks.
As a follow-up, today I realized that I could access the Play Store by using 3G only. I could also browse/download apps and use apps that require internet/data connections, such as Words with Friends and Draw Something.
Basically, all I lack now it internet access (I was able to download another browser even just to make sure it wasn't the original one that was FUBAR) and MMS capability (I can receive pictures, but not 100%; more like 90%).
Any thoughts or suggestions?

Hangouts VOIP Audio is Broken -- Can We Figure Out Why, and Fix It?

[Okay... I'm posting this because or seems like there's a lot of chatter about this issue but for some reason it doesn't seen like a damned thing had been done about it, and that's not cool in my book. And yes, I'm cross-posting this between Android Development and Original Android Development, because it effects both groups.]
Okay... Having determined that this is something that I can't fix, I submit this logcat to the group:
http://pastebin.com/Av4P7H8Q
That is the result of me opening Hangouts and placing a VOIP call to a contract. The result is the ring-to call sound continues to play after the called party picks up, and they cannot hear any sound I make. Further, hanging up results (eventually) in Hangouts crashing (but the call not actually ending until then).
As you may (or may not know) using Hangouts VOIP calls is BORKED, and it has been for several days. This seems to affect all downstream CM12 ROMs, at least for the LG G3 D851.
Take a look at that logcat... It Is a MESS. Why are cameras being called ajillionty times for making a VOIP call? Why is there no path to the necessary VOIP_MIC component? When you realize that all 8000+ lines of this comprise *only a few seconds* just how...odd...things really are.
It is my understanding that this began after a pile of CM12 commits several days ago, but I'm not certain exactly when. I seem to remember someone is $droyd$'s Illusion ROM thread had the exact date(s).
Surely amongst all the developer brainpower we have amassed here we can figure this out...
So: any ideas?
Cm12 12/8 is when hangouts broke.
---------- Post added at 06:05 AM ---------- Previous post was at 06:04 AM ----------
Illusion vs 1.xx hangouts still work.
So anything built on 12/8 and after, or beginning on 12/9?
I believe it's 12/9 when it broke.. 12/8 still worked.. I should have been more clear.
I've created this post in the "dev only" forum. Please move any discussion on this subject to this thread:
http://forum.xda-developers.com/lg-g3/devs-only/hangouts-voip-calling-broken-figure-fix-t2978600

Finally dumped Apple for Galaxy Tab S - A few questions if I may....

Hi all, I have finally had enough of Apple (and planned obsolescence!). I have never used Android before, got myself a Galaxy Tab S and once I learn how to use it well, I will be dumping my faulty iPhone in favour of a Galaxy phone as well.
I bought a used Tab S with 4G in lovely condition. Just turned it on and it says Insert Sim. I skipped that and it said "Many features will not work without an active Sim".
Therefore the first question I have is how much to read into that message?! Do I believe it? I don\'t plan on using a data Sim, only want to use WiFi. Will the Tab S work just fine without a cellular SIM or is it going to give me constant errors and problems? If the latter I may have to sell it in favour of a non SIM version. Any advice appreciated. I quite like the idea of being ABLE to use a data SIM if I want to some time, hence why I bought it.
Second question is I DESPISE Google and all the tracking stuff. I use a VPN much of the time. A friend of mine has a Galaxy Tab and said I should "root" the device. Can anyone tell me the main benefits of doing so? I am trying to work out how necessary is it (as I am short of time so won't do it unless it will give me benefits). I intend to use VPN and try my best to prevent google tracking what I watch on youtube, what searches I do, and just about anything else I can. I also notice that for Earth and Maps to work, I obviously need to let it know my location (which I don't generally like doing but understand the trade off and will do it in this case). Is there a way (perhaps via rooting) to enable GPS location sharing without feeding GOOGLE my whereabouts (i.e. using other map software instead of Google's)?
I am blown away by the quality of this device. thanks for anyone who has time to offer their thoughts on the above. Thanks
Welcome to the real world, Neo!
SIM Card allows having such things like mobile data (this works just the same as the iPad LTE) and voice calls from a tablet (this feature is unique to Android - you can make voice calls just like it is a big phone, using either built-in mic and speakers or via Bluetooth headset). If the SIM is not inserted, there will be no problems - you can safely dismiss the warning.
Regarding the Google-free experience and rooting. Rooting is direct equivalent to iOS jailbreak. Both result in getting root shell (# or uid 0).
To root the Tab, you must flash the CF-Autoroot via Odin: https://www.theandroidsoul.com/root...10-5-lte-sm-t805-one-click-cf-auto-root-tool/ This is for 10.5 LTE aka SM-T805, for 8.4 LTE aka SM-T705 the instruction is similar: https://www.theandroidsoul.com/root...-8-4-lte-sm-t705-one-click-cf-auto-root-tool/
Also it is good to flash the TWRP recovery after you get root to get a rich recovery environment helping you to backup and restore your device, flash custom ROMs etc.nMore info here: https://twrp.me/FAQ/
Dont hesitate to ask questions once they arise.
---------- Post added at 02:28 PM ---------- Previous post was at 02:12 PM ----------
Ph, and forgot to mention Google free experience. Once you get root, you can debloat your stock ROM but I'd advise flashing a LineageOS ROM for newer Android version and latest security patches. Also, Google services are not present by default in LineageOs but can be flashed separately. However, I am already more than a year without Google services and apps.
For example, I use K-9 Mail + OpenKeychain from F-Droid open-source app market to use GMail with OpenPGP support.
F-Droid is the primary marketplace app having opensource applications. For closed-source apps available on Google Play, the open-source Google Play client app named Yalp Store offers the same functionality as play market but not requiring Google services.
Youtube client I use is Newpipe, opensource app available in F-Droid. There are other clients too, like SkyTube.
Google Maps can be replaced by OsmAnd+ - an opensource client for OpenStreetMap infrastructure, again available from F-Droid app store.
Office application suite I recommend is Hancom Office - it is free for Samsung devices, and it processes documents faster than Office365.
Also, I made it work on LineageOS and other custom ROMs.
I use Brave Browser as a primary Web browser, as it is opensource app based on Google Chromium code but heavily de-Googled and having some cool features like embedded ad-blocker.
Hope this helps you a bit.
gellmar said:
Welcome to the real world, Neo!
SIM Card allows having such things like mobile data (this works just the same as the iPad LTE) and voice calls from a tablet (this feature is unique to Android - you can make voice calls just like it is a big phone, using either built-in mic and speakers or via Bluetooth headset). If the SIM is not inserted, there will be no problems - you can safely dismiss the warning.
Regarding the Google-free experience and rooting. Rooting is direct equivalent to iOS jailbreak. Both result in getting root shell (# or uid 0).
To root the Tab, you must flash the CF-Autoroot via Odin: https://www.theandroidsoul.com/root...10-5-lte-sm-t805-one-click-cf-auto-root-tool/ This is for 10.5 LTE aka SM-T805, for 8.4 LTE aka SM-T705 the instruction is similar: https://www.theandroidsoul.com/root...-8-4-lte-sm-t705-one-click-cf-auto-root-tool/
Also it is good to flash the TWRP recovery after you get root to get a rich recovery environment helping you to backup and restore your device, flash custom ROMs etc.nMore info here: https://twrp.me/FAQ/
Dont hesitate to ask questions once they arise.
---------- Post added at 02:28 PM ---------- Previous post was at 02:12 PM ----------
Ph, and forgot to mention Google free experience. Once you get root, you can debloat your stock ROM but I'd advise flashing a LineageOS ROM for newer Android version and latest security patches. Also, Google services are not present by default in LineageOs but can be flashed separately. However, I am already more than a year without Google services and apps.
For example, I use K-9 Mail + OpenKeychain from F-Droid open-source app market to use GMail with OpenPGP support.
F-Droid is the primary marketplace app having opensource applications. For closed-source apps available on Google Play, the open-source Google Play client app named Yalp Store offers the same functionality as play market but not requiring Google services.
Youtube client I use is Newpipe, opensource app available in F-Droid. There are other clients too, like SkyTube.
Google Maps can be replaced by OsmAnd+ - an opensource client for OpenStreetMap infrastructure, again available from F-Droid app store.
Office application suite I recommend is Hancom Office - it is free for Samsung devices, and it processes documents faster than Office365.
Also, I made it work on LineageOS and other custom ROMs.
I use Brave Browser as a primary Web browser, as it is opensource app based on Google Chromium code but heavily de-Googled and having some cool features like embedded ad-blocker.
Hope this helps you a bit.
Click to expand...
Click to collapse
Crikey!! Can't thank you enough for the time and effort there, what a great welcome to the other side
I confess most of what you said went straight over my head, ROMS and such like, but I will learn as there are clearly some great tips in this post.
So - fine without SIM, cool thanks.
Flashing - gonna take some time to learn but I think the link you posted is what I need, I have the SM-T800
So Lineage is an OS, is that right? And it comes free of Google bloatware/spyware?
I can't believe there are ways to view youtube and maps etc without giving Google your retinal scan. JUST what I hope to do!
Brave Browser - not heard of that, was gonna look for Firefox or Waterfox and set it up myself with RTC discabled, Ublockorigin etc etc (if poss) but maybe don't need to now as Brave sounds built to do what I want already.
Thanks again, great post
marrteee said:
Crikey!! Can't thank you enough for the time and effort there, what a great welcome to the other side
I confess most of what you said went straight over my head, ROMS and such like, but I will learn as there are clearly some great tips in this post.
So - fine without SIM, cool thanks.
Flashing - gonna take some time to learn but I think the link you posted is what I need, I have the SM-T800
So Lineage is an OS, is that right? And it comes free of Google bloatware/spyware?
I can't believe there are ways to view youtube and maps etc without giving Google your retinal scan. JUST what I hope to do!
Brave Browser - not heard of that, was gonna look for Firefox or Waterfox and set it up myself with RTC discabled, Ublockorigin etc etc (if poss) but maybe don't need to now as Brave sounds built to do what I want already.
Thanks again, great post
Click to expand...
Click to collapse
Strange the T800 has no dedicated SIM slot, it is WiFi only. T805 does have a SIM card though. You can check it opening Settings - Phone info. Also you can use the dialer to enter a magic code *#1234# to get info about your firmware (pay attention to PDA and CSC values). Would be good if you provide these here before you start any flashing.
LineageOS is a community built distribution of Android OS (like Ubuntu or Debian are GNU/Linux distributions) with some additional tweaks like Privacy Guard (a framework giving you control about permissions application ask, like a consent or denial to read contacts, GPS location, phone number etc). Full disclosure: I am an official maintainer of LineageOS for SM-T805 and I belong to the team creating LineageOS for other devices on the same chipset, like SM-T800, SM-T705, SM-T700, SM-P600 etc. There are also ResurrectionRemix ROM based on LineageOS and also there are de-bloated stock ROMs based on latest available Android 6.0.1 official factory OS. The official LineageOS is based on Android 7.1.2, and there is a (not very stable) 8.1.0.
I was a long-term fan of Firefox on Android (and I still am on PC!), but Chromium engine is twice as fast on our tablet (90.08 for Brave vs 45.04 for Firefox in browser benchmark)
SORRY! The seller called it a T800 but I checked and yes it's a T805.
I am SO busy at the moment with work and family stuff, not sure when I can get round to this and it looks like I have a lot of learning to come which I am dreading a bit with my schedule as it is! Don't suppose there is any chance someone (if not yourself) on this forum offers any kind of service? By that I mean, I post the Tab with cash to cover the job, and someone roots it and does the things you have mentioned then post it back? Probably a bit too much wishful thinking, but if you don't ask.......
marrteee said:
SORRY! The seller called it a T800 but I checked and yes it's a T805.
I am SO busy at the moment with work and family stuff, not sure when I can get round to this and it looks like I have a lot of learning to come which I am dreading a bit with my schedule as it is! Don't suppose there is any chance someone (if not yourself) on this forum offers any kind of service? By that I mean, I post the Tab with cash to cover the job, and someone roots it and does the things you have mentioned then post it back? Probably a bit too much wishful thinking, but if you don't ask.......
Click to expand...
Click to collapse
This can be done remotely via TeamViewer - you can be around and follow my commands like press home button etc. The rest is done via ADB on PC side. But write me in PM next week - I have some things to do that I promised before.
That's too kind of you. Not sure if you mean Teamviewer with the actual device or another computer. I am in no hurry at all. My device is factory stock right now, been reset and I am not doing anything with it for now.
Thanks again
I don't suppose (given your knowledge of privacy issues etc) you know of a secure alternative to Skype? I am talking mainly about a desktop app. I have researched many times over the past year and it seems to me that every time something decent gets going, they get shut down or just close down without much explanation. Sure seems suspicious in some cases. Best I could find was ViPole, which is good although has some weaknesses. I can't believe nobody has made something that can do the basic stuff Skype can do! (text, video/voice, screenshare and file share). It's so simple by today's standards! Of course plenty of options until you get to P2P or encryption, then there seems to be nothing which actually works very well at all! Just in case you know of anything?
marrteee said:
I don't suppose (given your knowledge of privacy issues etc) you know of a secure alternative to Skype? I am talking mainly about a desktop app. I have researched many times over the past year and it seems to me that every time something decent gets going, they get shut down or just close down without much explanation. Sure seems suspicious in some cases. Best I could find was ViPole, which is good although has some weaknesses. I can't believe nobody has made something that can do the basic stuff Skype can do! (text, video/voice, screenshare and file share). It's so simple by today's standards! Of course plenty of options until you get to P2P or encryption, then there seems to be nothing which actually works very well at all! Just in case you know of anything?
Click to expand...
Click to collapse
Look for Signal and qTox.
Thanks. Tried and still use Signal, although it's got some flaws and not at all sure I trust the privacy side. I really need screenshare too which it doesn't have.
qtox and utox i have tried, tried all the tox chat programs. Completely buggy and unusable. Nice and secure though , which makes it a shame they can't make the software work properly! notifications dont work, cam, calls completely broken. unusable.
I looked at variuos others but it's all going over to apps for smartphones and tabs now, I want a desktop app. Maybe Skype through VPN would help a bit, but not ideal!
Thanks again
marrteee said:
Thanks. Tried and still use Signal, although it's got some flaws and not at all sure I trust the privacy side. I really need screenshare too which it doesn't have.
qtox and utox i have tried, tried all the tox chat programs. Completely buggy and unusable. Nice and secure though , which makes it a shame they can't make the software work properly! notifications dont work, cam, calls completely broken. unusable.
I looked at variuos others but it's all going over to apps for smartphones and tabs now, I want a desktop app. Maybe Skype through VPN would help a bit, but not ideal!
Thanks again
Click to expand...
Click to collapse
To accelerate the process of bringing up the quality of opensource projects, one must at least report the bugs timely. Have you filed a feature request? We all donate either our money, or our time to the community. Some of us donate both
Ha, yes I do make reports whenever I spot anything. I am talking to one of the developers about it but I don't see it getting fixed as the impetus seems to have gone and no way they will add screenshare I dont think. I will try though yes, least I can do in the hope that someone produces something useful but not "in bed" with the government!

Categories

Resources