Netshare tethering - Android Q&A, Help & Troubleshooting

Hello,
I recently got my young daughter a used Verizon Galaxy S7 and am running the latest oreo image on it. It will not have any carrier plan attached to it for the foreseeable future. She is getting her free phone number through Google hangouts and google voice.
I am using one of those apps on my own phone that creates a proxy with wifi-direct to provide a hotspot that my carrier either does not see or does not enforce limits upon. We have been happy to use it within the limitations that it does have.
I am trying to figure out a workaround for google hangouts sms/mms notifications. These notifications appear normally when the app is in the foreground, but not when it is in the background. On a regular (no proxy hack) wifi network, things work as expected and notifications appear whether the app is in foreground or not. I am not a network guy, but my guess is that proxies don't work with push notifications?
...Is there some way to keep it running on the phone in the background? Perhaps a widget the keeps hangouts active? Maybe a script I can run that will make hangouts check in every five minutes or so?
Thanks for your time!

Related

[q] I.M. with notification on contact logins

I'm curious to know what instant messengers other people are using.
Currently I'm using trillian, and I like it, however I'd like the option to get a notification when certain contacts login (but not every contact). Is there any app that does this?
It would also be usefull if it supported multiple protocols, I'd rather not have multiple i.m. apps running at once.
tried IM+....only other multi client I know of with a decent gui...not sure about individual alerts based on contact
Should try talk.to. Amazingly simple UI and works really well.
https://market.android.com/details?id=to.talk
I forgot to mention, I need to use a messenger that works over data and not sms since I don't have a messaging plan. also I read this comment under the talk.to comments section "Changing the status of all my accounts to a Talk.to promotion without asking is completely unacceptable, and a shame because the app works great."

[Q] A mod to enable Google Voice forwarding on Google Hangouts in Android?

I've been pretty disappointed with Google leaving out their loyal Android customers in the dust when it comes to the feature mentioned in the title. This feature has been available to iOS users since before Android KitKat was released.
Here's my question:
Would it be possible to add a line of code to the Google Hangouts app on Android to receive forwarded Google Voice calls as it does on the iOS app?
Or would such a feature have to be enabled on the backend at Google's servers and any mods to the app would be pointless?
Here's why I am hopeful:
There's been apps like Groove IP that are already able to provide this feature. I'd just like to have this functionality without having to install any 3rd party apps that always have to be running in the background. Google Hangouts is already the primary sms app for Android & so it is already able to receive texts, mms, along with video and voice chats. Thus, it should be somewhat possible to receive call forwarding from Google voice.
Disclaimer:
I am not a developer, just a curious user who's willing to contribute a little cash to any developer who's willing to take on this challenge.
Thanks!
dj_aj said:
I've been pretty disappointed with Google leaving out their loyal Android customers in the dust when it comes to the feature mentioned in the title. This feature has been available to iOS users since before Android KitKat was released.
Here's my question:
Would it be possible to add a line of code to the Google Hangouts app on Android to receive forwarded Google Voice calls as it does on the iOS app?
Or would such a feature have to be enabled on the backend at Google's servers and any mods to the app would be pointless?
Here's why I am hopeful:
There's been apps like Groove IP that are already able to provide this feature. I'd just like to have this functionality without having to install any 3rd party apps that always have to be running in the background. Google Hangouts is already the primary sms app for Android & so it is already able to receive texts, mms, along with video and voice chats. Thus, it should be somewhat possible to receive call forwarding from Google voice.
Disclaimer:
I am not a developer, just a curious user who's willing to contribute a little cash to any developer who's willing to take on this challenge.
Thanks!
Click to expand...
Click to collapse
This is exactly what I was looking for as well.
It seems iOS gets free voice support but in a weeks time when google voice gets rip of XMPP all other work arounds will cease to exist.
Frustrating.
thebritons said:
This is exactly what I was looking for as well.
It seems iOS gets free voice support but in a weeks time when google voice gets rip of XMPP all other work arounds will cease to exist.
Frustrating.
Click to expand...
Click to collapse
Yep, I didn't know that they were getting rid of access to 3rd party apps like GrooveIP.
I just noticed that Google Hangouts will now also verify your Google Voice number. I don't believe that it did this initially. Maybe this is a sign of good things to come. Hopefully we get the same benefits that the iOS users have been reaping for awhile now.
dj_aj said:
I've been pretty disappointed with Google leaving out their loyal Android customers in the dust when it comes to the feature mentioned in the title. This feature has been available to iOS users since before Android KitKat was released.
Here's my question:
Would it be possible to add a line of code to the Google Hangouts app on Android to receive forwarded Google Voice calls as it does on the iOS app?
Or would such a feature have to be enabled on the backend at Google's servers and any mods to the app would be pointless?
Here's why I am hopeful:
There's been apps like Groove IP that are already able to provide this feature. I'd just like to have this functionality without having to install any 3rd party apps that always have to be running in the background. Google Hangouts is already the primary sms app for Android & so it is already able to receive texts, mms, along with video and voice chats. Thus, it should be somewhat possible to receive call forwarding from Google voice.
Disclaimer:
I am not a developer, just a curious user who's willing to contribute a little cash to any developer who's willing to take on this challenge.
Thanks!
Click to expand...
Click to collapse
I think this might help
http://forum.xda-developers.com/xposed/modules/xposed-xvoiceplus-voice-xposed-t2598889
So it looks like we're slowly getting there. Some user over on reddit was able to initiate a call from Hangouts on a desktop and then join the conversation via the hangouts app on his android device. The call was still maintained after he disconnected from the desktop.
http://www.reddit.com/r/Android/comments/1ynnsb/google_hangouts_voip_over_lte_working_right_now/
This is definitely a step in the right direction.
Do you think anyone here would be able to put a modified apk of google hangouts that has an inbuilt dialer which will allow us to skip the desktop part? That would be wicked. I'll pledge $5 towards a bounty for the developer who is able to hack this.

Help Creating a Persistent Notification

I have a Huawei Mate 8 running EMUI 5.0 without root (no root developed yet), which is a Nougat-based skin, but I would guess my question is broadly applicable.
I use Android Auto via my in-dash system (rather than standalone). Android Auto, as many know, locks you out of your phone, presumably for safety reasons. Previously, you could just hit the multitask button on the phone and it would allow you to access your other apps. However, with Nougat, the multitask button is gone. This is a problem for me, since I use Hangouts Dialer, which is unsupported by Android Auto, for my calls.
There is still a way of getting around the lockout--if you swipe down the notifications shade, and somebody texted you on Hangouts, for example, you can open the notification and it takes you to Hangouts. Same with any other notification (e.g. you received an email, you can open the Gmail app, etc..) However, this relies on a notification being there organically.
To get to my question: is there a way to create a persistent notification--e.g. a permanent Hangouts notification that is not related to whether somebody messaged you or a permanent Gmail notification that is not tied to whether somebody emailed you something. I looked online and could not find anything on this. Any ideas?

[APP][XPOSED][LP-MM] XVoice++ - Use Google Voice through SMS apps

This module enables the use of other SMS apps to send and receive messages through Google Voice. When this module is activated, any SMS messages sent will be rerouted through Google Voice, and any messages that are received by the Google Voice app will be displayed in SMS apps.
Setup:
Download the APK and install.
Open the app, enable it, and select the account you want to use.
Open Xposed, activate the module, then soft reboot.
You will get a notification to sign in to authorizing the app to access your account. Tap the notification, then tap allow. For some reason the notification is not dismissed automatically; you can dismiss it manually.
If the module does not work at this point, try soft-rebooting again.
Known issues:
This module will only work with the old Google Voice app, version 0.4.7.10 or lower. If you already updated to a newer version, you must uninstall it and sideload the old version. You can find the latest working version here. Once you've downgraded, open the Play Store and set the app not to auto-update, so you won't run into the same issue later. This is fixed as of v3.1.2.
When I had the default SMS app is set to the AOSP Messaging app (com.android.mms, not to be confused with Google Messenger), the module would not work for outgoing messages. On one device, incoming messages did not work either. I was using version 5.1.1-720affab4e. I'm still not sure what causes it.
On my S3 test device, I sometimes experienced a crash of the system process on boot. This did not seem to affect the functionality of the module.
There is a known issue with Xposed reading SharedPreferences in certain situations, due to file permissions issues. With this module, this would cause that disabling the module from within its own settings would not help, and the only option would be to deactivate the module from inside Xposed Settings and soft-rebooting. I added some code to work around this, however it's possible that it could still occur. This is fixed (hopefully) as of v3.1.2.
Old issues:
Many of the old bugs present in the original XVoice+ are still in this version. These include:
Emojis may cause issues. (This issue should be fixed for incoming messages as of v3.2.0).
There is no support for MMS
Occasionally, messages may show up with the wrong timestamp, there may be duplicate messages, or there may be a delay before the messages appear.
Google Voice 5.0+
As mentioned above, the module will not work with the new updates to Google Voice. This is because they completely rewrote the code for the app, which would require XVoice++ to be rewritten as well to properly hook it. This is further complicated by the fact that Google obfuscated the code, making it much harder to figure out what is going on. Additionally, it is probable that with every update the code will be obfuscated diferently, requiring XVoice++ to be patched every time to support the new update. Since the whole point of this module is to replace the functionality of the Google Voice app, and it is functional with the old version, I will not be working on supporting the new versions of the app at this time. This is fixed as of v3.1.2.
Devices tested on:
Verizon LG G3 (vs985) running a custom build of CM 12.1
Sprint Samsung Galaxy S3 (d2spr) running CM 13.0 (11/17/2016 nightly) without phone service
Acknowledgements:
Koush
CM team
@runnirr
@B2OJustin
@iHelp101
Jake Hamby (a former engineer at Google, who helped maintain the internal SMS processing code for Android) for providing a lot of information about PDU structure and processing, and patiently answering my questions.
Xposed Repo
XDA:DevDB Information
XVoice++, Xposed for all devices (see above for details)
Contributors
BehindTheMath, @runnirr, @B2OJustin, @iHelp101
Source Code: https://github.com/BehindTheMath/XVoicePlus
Xposed Package Name: io.behindthemath.xvoiceplus
Version Information
Status: Stable
Current Stable Version: 3.2.1
Stable Release Date: 2017-05-08
Created 2017-02-15
Last Updated 2017-05-08
Reserved
Reserved
Nice to see something happening with this. I more or less abandoned it after switching over to Hangouts. What are your plans for it though? I'd probably consider hooking into Hangouts for any future development.
Edit: Btw, this latest source has also been tested and confirmed working on Nexus 7 stock (without cell service) and at least one other phone with a touchwiz based rom + smart watch (Don't recall which kind). Though rom updates may or may not have changed that since then.
B2OJustin said:
Nice to see something happening with this. I more or less abandoned it after switching over to Hangouts. What are your plans for it though? I'd probably consider hooking into Hangouts for any future development.
Edit: Btw, this latest source has also been tested and confirmed working on Nexus 7 stock (without cell service) and at least one other phone with a touchwiz based rom + smart watch (Don't recall which kind). Though rom updates may or may not have changed that since then.
Click to expand...
Click to collapse
Thank you for the feedback.
Truthfully, in my humble opinion, this app is mature. You guys have done a fantastic job of taking Voice+ and adapting it to a new platform. I only needed to fix the issues caused by new or changed Android internal code. Unless someone has a specific feature request, I think it's ready for a stable release.
That being said, there are a few things I would like to look into at some point in the future. The main one is the viability of supporting the new GV app. I never liked Hangouts. It was slow when it was first released, and it's still slow and buggy. 90% of my contacts use Whatsapp, and the GV app along with XVoice+ helped me with the handful that still use SMS. The only reason I still have Hangouts installed is to manage multiple accounts, and for VoIP calls. Now that the new GV app supports the former, and it looks like the latter is coming at some point, I would love to have XVoice++ support it so I could get rid of Hangouts entirely.
I am happy to see you figured out what I was unable to. In terms of Google Voice 5.0 you could in theory hook GCM messages directly. The class is "com.google.android.gms.gcm.GcmReceiver". You would use the same onRecieve hook already in the module. I have never seen GMS code obfuscated, so you likely would not have to worry about it. Even if a GCM message for some reason is not a text message the module would be able to filter it out (It checks the Intent contents).
iHelp101 said:
I am happy to see you figured out what I was unable to. In terms of Google Voice 5.0 you could in theory hook GCM messages directly. The class is "com.google.android.gms.gcm.GcmReceiver". You would use the same onRecieve hook already in the module. I have never seen GMS code obfuscated, so you likely would not have to worry about it. Even if a GCM message for some reason is not a text message the module would be able to filter it out (It checks the Intent contents).
Click to expand...
Click to collapse
That's an interesting approach. I'll have to look into it when I have time.
THANK YOU!
OP first of all thanks for doing this!
Second I have a question, I'm still running CM11, because I use Voice+, the original utility that XVoice+ was based on. I have updated my google voice app to the latest version and Voice+ still works, I'm not sure how. You might consider looking at the source code for Voice+ and see if the type of hooks it uses are possible with xposed.
Again thanks for what you have already done.
KnightTim said:
OP first of all thanks for doing this!
Second I have a question, I'm still running CM11, because I use Voice+, the original utility that XVoice+ was based on. I have updated my google voice app to the latest version and Voice+ still works, I'm not sure how. You might consider looking at the source code for Voice+ and see if the type of hooks it uses are possible with xposed.
Again thanks for what you have already done.
Click to expand...
Click to collapse
Voice+ works for you for incoming messages too?
Edit: I looked through the source for Voice+. They listened for the notification from the GV app, and then canceled it, which meant you had the notification flash for a second before being intercepted by Voice+. One of the benefits of XVoice+ was that you could disable the notifications completely in the GV app, and XVoice+ would intercept the message anyway.
iHelp101 said:
I am happy to see you figured out what I was unable to. In terms of Google Voice 5.0 you could in theory hook GCM messages directly. The class is "com.google.android.gms.gcm.GcmReceiver". You would use the same onRecieve hook already in the module. I have never seen GMS code obfuscated, so you likely would not have to worry about it. Even if a GCM message for some reason is not a text message the module would be able to filter it out (It checks the Intent contents).
Click to expand...
Click to collapse
I looked at the GV 5.0 code some more. I couldn't figure out how to hook com.google.android.gms.gcm.GcmReceiver, but I was able to hook the com.google.android.apps.voice.backends.gcm.GcmListenerService, which is the entry point for the message in the GV app. It appears to be very easy to intercept the messages from there. The issue is, since GV 5.0 added support for multiple GV accounts, there's no easy way to tell which account the message is for. The GCM message comes with a user_hash field, but it's just a hash, and I can't find a list of corresponding accounts in SQLite or in SharedPrefs. I presume it's decoded somewhere in the app, however, the only code that references it is obfuscated. It would technically be possible to implement a setup routine which would send a test message and grab the user_hash for that message, but that's a bit inelegant.
BehindTheMath said:
I looked at the GV 5.0 code some more. I couldn't figure out how to hook com.google.android.gms.gcm.GcmReceiver, but I was able to hook the com.google.android.apps.voice.backends.gcm.GcmListenerService, which is the entry point for the message in the GV app. It appears to be very easy to intercept the messages from there. The issue is, since GV 5.0 added support for multiple GV accounts, there's no easy way to tell which account the message is for. The GCM message comes with a user_hash field, but it's just a hash, and I can't find a list of corresponding accounts in SQLite or in SharedPrefs. I presume it's decoded somewhere in the app, however, the only code that references it is obfuscated. It would technically be possible to implement a setup routine which would send a test message and grab the user_hash for that message, but that's a bit inelegant.
Click to expand...
Click to collapse
Interesting, it is a nice discovery to have been made. Google has gone extremely with obfuscation recently. I also didn't realize they added multi-account support. My bad for giving any false.
iHelp101 said:
Interesting, it is a nice discovery to have been made. Google has gone extremely with obfuscation recently. I also didn't realize they added multi-account support. My bad for giving any false.
Click to expand...
Click to collapse
No, I think your idea is the best option for supporting GV 5.0. We just need to figure out how to identify the accounts. I'm going to try to dig through the code some more.
It has been a while since I've played with Xposed but when I get a little extra time I'll see what I can come up with. Figuring out exactly what to hook has always been the troublesome part though. If it turns out you do need to make use of the account hashes, I'd suggest looking lower in the callstack rather than higher. ie; Find the source of the hashes instead of the final target. You can then map those to usernames as soon as they're generated.
v3.1.2
I've released a new version, v3.1.2. The primary new feature in this version is support for Google Voice 5.0+.
I spent some more time poking through the GV sources, and I found that the list of accounts and corresponding user_hashes are stored in a Base64-encoded field in SharedPreferences called "registered_accounts". I added some code to decode the list and check the incoming message against user_hash of the account we want.
I also released the module on the XPosed Repo, so now it can be installed through the Xposed Installer.
Unfortunately, I lost the password to the signing key. I created a new key, but this means you will need to uninstall the old version before installing the new one.
New user. Tested on Voice 5.0+. Works flawless so far! This is excellent!
I have no idea why Google decided to NOT allow the Voice 5.0+ to be default SMS app.......but this module works around that issue AND allows me to use my fav texting app in its place. Thank you!
Could you explain the Sync settings a bit more. I just want to understand better. For example, why did you include those settings in the app Are there battery/data implications to using them? What is the downside to disabling all the sync settings?
Stupifier said:
New user. Tested on Voice 5.0+. Works flawless so far! This is excellent!
I have no idea why Google decided to NOT allow the Voice 5.0+ to be default SMS app.......but this module works around that issue AND allows me to use my fav texting app in its place. Thank you!
Could you explain the Sync settings a bit more. I just want to understand better. For example, why did you include those settings in the app Are there battery/data implications to using them? What is the downside to disabling all the sync settings?
Click to expand...
Click to collapse
When you send a message through XVoice++, XVoice++ doesn't put that message in the SMS database, the SMS app does. So if you send a message from another source, for example, the GV app or webapp, that message would not show up in your SMS app. Sync checks the master message list on GV's server to see if your device is missing any messages, and if it is, it sticks them into your SMS history.
It also has the benefit of catching any incoming messages that might have been missed. XVoice++ isn't perfect, and once in a while it won't catch an incoming message, sometimes because the GV app was sleeping (although I suspect this issue might be eliminated with GV 5.0+, since they switched to GCM). Enabling Sync will force XVoice++ to manually check if there are any new messages.
I personally have always had all the Sync options enabled, and the interval set to 15 minutes, and I haven't seen any issues. You can try it for yourself and monitor it. I don't think there's any reason it should impact battery or data usage, since it's just a quick request to GV's server. When I look the logs, it never takes more than a few seconds.
BehindTheMath said:
When you send a message through XVoice++, XVoice++ doesn't put that message in the SMS database, the SMS app does. So if you send a message from another source, for example, the GV app or webapp, that message would not show up in your SMS app. Sync checks the master message list on GV's server to see if your device is missing any messages, and if it is, it sticks them into your SMS history.
It also has the benefit of catching any incoming messages that might have been missed. XVoice++ isn't perfect, and once in a while it won't catch an incoming message, sometimes because the GV app was sleeping (although I suspect this issue might be eliminated with GV 5.0+, since they switched to GCM). Enabling Sync will force XVoice++ to manually check if there are any new messages.
I personally have always had all the Sync options enabled, and the interval set to 15 minutes, and I haven't seen any issues. You can try it for yourself and monitor it. I don't think there's any reason it should impact battery or data usage, since it's just a quick request to GV's server. When I look the logs, it never takes more than a few seconds.
Click to expand...
Click to collapse
Thank you for this explanation. So now I'd like to test how well these sync features work. if I understand correctly, I could test this by simply sending a text using GV app directly.....Then open my SMS app and check to see if my SMS app actually shows this newly sent message. The Sync features directly affect how and when SMS app grabs new Incoming/Outgoing GV messages. Am I understanding correctly?
Stupifier said:
Thank you for this explanation. So now I'd like to test how well these sync features work. if I understand correctly, I could test this by simply sending a text using GV app directly.....Then open my SMS app and check to see if my SMS app actually shows this newly sent message. The Sync features directly affect how and when SMS app grabs new Incoming/Outgoing GV messages. Am I understanding correctly?
Click to expand...
Click to collapse
Correct, besides for when you sent an outgoing SMS from the device itself, since then the SMS app stores it right away.
I'm so happy to see this working! Great job :victory:
one bug I've noticed, it seems to choke on accented characters. try sending " õœôöø ", for me it force closes both Voice and my SMS app

Text/SMS & Call Blocking based on Schedule (and Google Contact Group)

I am currently using an awesome SMS/Call blocking app called aFirewall Blocker. It seems that the developer (I think it was Thomas Tong @thl16888) has discontinued the app and it has been removed from the Play store. It's unfortunate, as the app is now causing issues in Android Pie and I would have loved an update.
I am looking for a replacement app that can block texts and calls and put them, without notification, into an archive section that can be restored later. Being able to setup the blacklists with google's contact groups would be great. I know on my Samsung Note 8 the default "Messages" app has a feature like this but it does not allow scheduling. I need it to be able to perform the blocking on a set of schedules. Such as nights and weekends.
For example, I have set up aFirewall to block all my work contracts (as defined by the google contacts "work" group that I set up) on nights, weekends and optionally another schedule for vacations. All texts and calls from work people go unannounced and are "archived" or hidden until I decide to open pandoras box when I am ready. I can then read the texts and see who called and un-archive the texts back into my main text message conversations. The app even had the ability to send an auto-reply, which was great for vacations.
The point of the app is to keep my sanity and avoid having to stress out when I see people constantly and rudely trying to bother me at all hours of the night and weekends.
Anyone know of a good replacement? Even if it is a side loaded, and not officially accepted by google, app?

Categories

Resources