yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dupsatou:
I'm running a sense rom on my HTC One and it does not seem to work. I can try to capture a log cat tomorrow but I just wanted to see if anybody had reported any success on a sense based rom? I'm on 4.4 with sense 5.5 (Viper rom)

Thanks!

Edit: thanks for your work Btw. I had been hoping somebody would try this so I'm excited to see the effort even if I can't get it to work for me!
[Xposed Framework Modules] runnirr:
Logs will be good. Also let me know if its problems sending, receiving, or both.
[Xposed Framework Modules] xdp:
I was wondering if there way a way to integrate GV texts into Hangouts without using CM's solution and came across this. Very nice work runnirr! Thanks for doing this and for making it open source...much appreciated. :)

I think I read earlier in the thread that if you send an MMS it will automatically go out over your carrier number...is that correct? If someone texts my carrier number, will I receive it in Hangouts right alongside all the GV texts I've been sending and receiving?

Unfortunately sometimes my GV app will not receive texts until I refresh it manually...I'm assuming this solution won't help this problem since it only receives the text once GV does?
[Xposed Framework Modules] BSAKSOUK:
Stock rooted Verizon Note 3. Same issue as Magikazoc. Sending is fine with any app. Receiving crashes non-stock messaging apps (including hangout). Funny enough twitter also crashes as well.
[Xposed Framework Modules] dupsatou:
Hey runnirr, sorry I haven't gotten back with logs yet. Unfortunately I ended up loaning my phone to a family member the other day so it may be a while before I can get any logcats. I'll try to get something when(/if) I can and get it for you. Thanks again for even attempting this though - this is awesome work!
[Xposed Framework Modules] runnirr:
Google Voice does not support MMS, so I can't make that work. Carrier messages should come in with the Google Voice messages. You probably won't be able to tell which messages originated from where though, and all outgoing messages will be from your Google Voice number.

This will not help with receiving messages. I check for any new messages whenever the Google Voice app if notified of an incoming message. If the Google Voice app is not getting notified, this won't either.

Good news: I've been able to make my Hangouts app crash on incoming messages which means I can debug this better. For me it only happens with the ShortCode SMS (5-6 digit phone numbers from Google 2-factor auth). The very strange part is that Hangouts crashes, but the AOSP messaging app handles the message fine. Can anyone confirm that Hangouts handles the ShortCode SMS messages just fine without this installed? (to your carrier number). I'd imagine it does, but I cannot confirm this.

Unfortunately, I'm no closer to resolving the issue.

That's fine. My available time in fixing this has decreased as well.
[Xposed Framework Modules] BSAKSOUK:
I can confirm that hangout can receive SMS sent to my carrier number without any issues (if that's what you meant). And yes the stock SMS doesn't crash, only third party SMS apps.
[Xposed Framework Modules] runnirr:
from short numbers as well? The 5 and 6 digit numbers that companies use.

I haven't read anything about hangouts having problems with it, so I assume everything works from carrier numbers. Unfortunately, the open source app works and the closed one does not, so finding the root cause of this might be difficult. I'm guessing its something wrong with the structure of the PDU that I create, although since the stock app handles it fine, I'm not sure whats going on.
[Xposed Framework Modules] BSAKSOUK:
Yep. Just tested with a google short code sms. Hangout crashed when google sent me a random verification code from 224-444

No worries, you owe us nothing. Your work is incredible as it is already.

Oh and one more thing, the stock note 3 SMS app sends sms through the carrier number. All the other apps send through Gvoice as expected.
[Xposed Framework Modules] magikazoc:
Unfortunately doesn't work. Thanks for taking the time to experiment with these different options, but this one's a no-go.

I wish I had more experience with low-level Android so I could figure this out. At least it's not caused by one of the many apps I froze.
[Xposed Framework Modules] antiguangenius:
Hangouts stop sending messages but still can receive anyone experiencing this??
[Xposed Framework Modules] rynurn:
Thank you. I've been hoping for a solution from Google or a 3rd party for ages. You're my new favorite internet person.

Once I setup XVoicePlus only my very most recent Google Voice texts appeared in Hangouts. Is this normal? Is there a way to have the full history of Google Voice texts imported? I'm using 1.3a on 4.4.2.
[Xposed Framework Modules] runnirr:
Anything that is in your inbox should show up regardless of how old it is on first sync.
[Xposed Framework Modules] rynurn:
That's not what happened for me. I can verify I had 8 text conversations in my inbox (they were not archived) and only the first 3 are seen in Hangouts.

Is there a way to reimport all texts in my Google voice inbox into my phone SMS database to give it another shot and see if I can reproduce the behavior?
[Xposed Framework Modules] wmarcin:
Same here. Not complaining - just reporting. When I switched to Textra, the same texts were imported there.
[Xposed Framework Modules] Icon000:
Update?

I was curious if you had an update. I realize it hasn't been long since the original post. I had a similar idea.
[Xposed Framework Modules] Drahric:
Are you asking if tasker is receiving texts now, or what?
[Xposed Framework Modules] Icon000:
Yes or if you have been any kind of information beyond he's working on it.
[Xposed Framework Modules] fdbryant3:
How Stable is It?

Just found out about this project and I am very excited about it. My question is how stable do you think it is at this point. More specifically is it at "good enough if your okay with a few quirks" or is it at "I can give it to my wife (who just wants things to work and blames me when they don't) and expect it to work with almost no problems"

Thanks
[Xposed Framework Modules] RK:
I use this and ever since version 1.3 it's so seamless that I sometimes forget I have it installed..
[Xposed Framework Modules] runnirr:
You can wipe data for XVoice+ to force a resync but it won't change anything.

It looks like the 5 latest conversations are taken, not all of them (I looked into it a bit more). If there are 2 from the same contact, the SMS app combines them (which Google Voice does a poor job of).

There is currently no way to get all of the messages with the app. I'll need to do some digging to see if I can have an option for that in the future.

In the meantime, if those conversation become active again, I image the whole conversation will get loaded by XVoice+ but I do not know for sure.

I am not doing anything in regards to tasker, or fixing tasker. I don't use tasker, so I can't reproduce the issue, and I don't really know what the problem is with it. If you tell me what works and what doesn't work and how tasker interacts with SMS that is different than every other SMS app, then maybe I can do something.

I'd have a hard time putting Xposed on someone's phone and NOT expect some quirks, but my opinion on the stability of this may be biased so I'll let others put in their 2 cents
[Xposed Framework Modules] encript:
Kit Kat Duplicate Messages Issue?

I have had this plugin working perfectly with an HTC One Verizon running BoneStock Rom 2.0.2 (Android 4.3). After upgrading to an Android Kit Kat based rom (Insert Coin Rom 4.4.2) when I have this plugin enabled, I receive duplicate text messages in the native messages app and in Google Hangouts. I am not sure, but I believe that some code might have changed in 4.4.2 where xvoice+ gets a little buggy. Has anyone else noticed this?
[Xposed Framework Modules] rynurn:
Thank you for taking the time to look into it. I personally would be extatic if you were able to develop that feature, but I know I'm only one user and everything is perfectly usable without it. Thanks for developing this!
[Xposed Framework Modules] encript:
My solution for the above mentioned issue was to uninstall messages. So now everything is going through hangouts.
[Xposed Framework Modules] runnirr:
This should work fine on 4.4. As far as I know, other people are using this with 4.4.2 without this issue.

I probably won't get to implementing this.

In order to get all the messages, I need to use a different API that uses about 2x as much data per request, and would need to make multiple requests. This plugin already uses a significant amount of data if used heavily. Also, the other API is more difficult to work with since it involves pulling the json information for an xml result.

Interestingly, the Google Voice plugin for Chrome only retrieves the 5 latest conversations and uses the same APIs that are currently in use by XVoice+. There doesn't seem to be a way to "get page 2" of the results using this approach though, which means that we are limited to the 5 latest conversations.
[Xposed Framework Modules] zhaozer:
This module is absolutely WONDERFUL! I had tried sticking cyanogenmod VoicePlus on my ROM, but it never worked. This does. Thank you!
[Xposed Framework Modules] jsdecker10:
Lol...if you're not used to that by now, then you had better either adapt or just grit your teeth and allow yourself to get used to that REALLY, REALLY quick, because THAT right there is about 90% of women out there lol. To them we are like a handyman's "multi-tool." To them, we are supposed to be able to do anything and everything, and anything that may go wrong, it's our fault and we MUST find a solution, else we are incompetent..lol.

;)
[Xposed Framework Modules] Xplorer4x4:
I have a Droid RAZR HD/xt926(vanquish) and have trouble. At this time I do not have mins on my phone and can only text through g voice. The g voice app works perfect but often this module just keeps breaking after a bit.
[Xposed Framework Modules] runnirr:
Please provide more info about what is not working, sending? Receiving? Are you on WiFi? Android version?

Also post a logcat of it "breaking after a bit"
[Xposed Framework Modules] etchings13:
Some Apps Work

It seems I'm having an issue sort of opposite from what others are experiencing. XVoice+ works great for almost every single third-party SMS app I've tried. However, I can't get it to work from Hangouts, Stock Messaging, or Hello SMS. All outgoing messages from those apps come from my Virgin Mobile number. Is there something different about these three apps? I'm on 4.1.2 on a ZTE AWE with wi-fi.
[Xposed Framework Modules] Xplorer4x4:
Sorry could barley keep my eyes open. Anyway my problem is sending. I get error messages saying something to the extent of no network available. Will send when network becomes available. I am using a CM11 based ROM. I always keep it in airplane mode but with WiFi on. I have no problems with receiving.
[Xposed Framework Modules] runnirr:
There should be no differences between messaging apps as far as XVoice+ is concerned. Can you post a log of it sending from the wrong number?

Use the build at the end of the OP
[Xposed Framework Modules] etchings13:
Sorry if I'm posting this incorrectly, but I think this is the correct log. It is from after sending a text from Hangouts.

de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at de.robv.android.xposed.XposedHelpers.callStaticMethod(XposedHelpers.java:963)
at com.runnirr.xvoiceplus.XVoicePlus$XSmsMethodHook.getContext(XVoicePlus.java:242)
at com.runnirr.xvoiceplus.XVoicePlus$XSmsMethodHook.sendText(XVoicePlus.java:203)
at com.runnirr.xvoiceplus.XVoicePlus$XSmsMethodHook.beforeHookedMethod(XVoicePlus.java:192)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:527)
at android.telephony.SmsManager.sendTextMessage(Native Method)
at com.google.android.apps.babel.sms.ac.a(SourceFile:303)
at com.google.android.apps.babel.sms.ac.a(SourceFile:183)
at com.google.android.apps.babel.protocol.ServerRequest$SendSmsRequest.execute(SourceFile:1258)
at com.google.android.apps.babel.realtimechat.dg.a(SourceFile:832)
at com.google.android.apps.babel.realtimechat.cs.run(SourceFile:1009)
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.<init>(Handler.java:121)
at android.app.ActivityThread$H.<init>(ActivityThread.java:1095)
at android.app.ActivityThread$H.<init>(ActivityThread.java:1095)
at android.app.ActivityThread.<init>(ActivityThread.java:159)
at android.app.ActivityThread.systemMain(ActivityThread.java:4731)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at de.robv.android.xposed.XposedHelpers.callStaticMethod(XposedHelpers.java:955)
... 10 more
[Xposed Framework Modules] runnirr:
I have seen reports of this error from other users on 4.0 and 4.1 (on LG phones though). Unfortunately I do not have a fix aside from using a newer version of Android. It is strange that some apps would work and other don't though.
[Xposed Framework Modules] etchings13:
Bummer, thanks anyway. I'll just avoid the apps that don't work.
[Xposed Framework Modules] dupsatou:
Runnirr, just wanted to update you that the HTC one that I had I ended up letting a family member keep it and they don't use voice so I haven't been able to get any other info from my previous issue.

However, I am running a nexus 5 stock with some xposed modules including gracias yours and it works beautifully there so thank you so very much for your work!
[Xposed Framework Modules] Xplorer4x4:
Ok I upgrades and rebooted. Seems a lot better but still having problems sending after some time. Will try to get a logcat next time around.
[Xposed Framework Modules] bbrennan:
I have been using this for about a week and a half now. It has been almost flawless for me, just wanna say thank you so much for this.
[Xposed Framework Modules] Xplorer4x4:
Actually it has been working pretty solid so far today. However I notice that sms over 160 characters is being converted to mms despite this option turned off in the stock messaging app. This creates a problem where the message just stays sending and never sends. I am wondering if this is because g voice does not support MMS to my knowledge.
[Xposed Framework Modules] runnirr:
Google Voice can't handle MMS, but it can send messages that are longer then 160 characters.

I think that whatever SMS app you are using is to blame.

Messages greater than 160 characters can be sent as MMS or they can be sent as multi-part SMS. If they get sent as multi-part SMS, XVoice+ handles them correctly (sending through GV as a single message). I tested using Hangouts on my own device.
[Xposed Framework Modules] Xplorer4x4:
I tested with hang outs and it worked so I guess your right. Although I suspect this may be a rom issue more so then app issue since it is the stock cm messaging app.
[Xposed Framework Modules] decalex:
[MENTION=3813891]runnirr[/MENTION] Thought I'd chime in here again -- can't thank you enough for continuing to support this.

I've noticed especially in areas of spotty wifi (home) that messages won't come through sometimes. I keep my stock GV notifications on so I know for sure.

In terms of trying to sync recent messages, I know Google voice only time stamps messages within the last 24 hours. Regardless, through google.com/voice and the GV app, time stamps and message ordering are accurate. Just curious if anything can be done along the lines of a forced resync (else clearing app data)... and I'm sure this has already been considered.

Thanks again. I wish I could pin down exactly why sometimes messages don't go through xvoice (and do through the GV App). All tests done on wifi and data, on Android 4.3 and 4.4, and using Textra.
[Xposed Framework Modules] runnirr:
Since you seem to be looking for a deeper understanding of how it works I'll try to go into some details.

XVoice+ knows about incoming messages by hooking into the Google Voice notification system and seeing when the Google Voice app gets a new message. At this time, XVoice+ retrieves all messages from the Google Voice server and creates an "Incoming SMS" for each message that was sent TO you, and also adds any messages that you have sent (if they were from another device). Messages are also retrieved when you send a message to someone, but limited to once every 60 seconds, to try to reduce some data usage. This was mainly put in as an attempt to synchronize more messages that were sent from other devices.

As far as ways to force a refresh, you can either send a message, or receive a message and then all messages should be refreshed. I can look into adding an explicit refresh within the XVoice+ app itself, which will be separate from the SMS app, but still accessible. That shouldn't be too difficult. I believe messages are also supposed to refresh when the network access changes from disconnected to connected. This was the behavior of CyanogenMod's version, and I think I left it in, but I don't specifically remember.

As far as timestamps go, Google Voice might only show the time for messages in the lat 24 hours, but that was a choice Google made with their apps. The actual time of every message is available. I do use this date when creating the fake SMS, however it doesn't seem to be working correctly. As far as the ordering goes, Google has a bit more control over their own apps than I do using an Xposed module to fake some SMS information. I'll look into fixing the timestamps (making them match Google Voice)

If you are interested in all the information Google Keeps for each message, you can look at this url file https://www.google.com/voice/request/messages/ (probably easiest to look at this on a computer). This is the information available to XVoice+ as well.

Thanks for your interest in this module.
[Xposed Framework Modules] mavermc:
I love this on my note 2, but I accidentally did an OTA update and I'm stuck on stock 4.3.

now whenever I get a message with this enabled, I get a force close on hangouts, twitter, pebble, all right away. Not sure where the problem is, any chance there is a log I can check?
[Xposed Framework Modules] egingell:
lol... Json. I don't know why that's funny, but it amuses me.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
Others on 4.3 on the Note were also seeing this behavior. I don't think i ever found a fix for it and I dont have a Note to further debug.

Everything does get logged via logcat. I can take a look.

What's wrong with json? I prefer it to XML.
[Xposed Framework Modules] egingell:
Not a thing. Is definitely better than XML and even if there's not a built in function for it, it's easy to parse manually.

It's funny, maybe, because everybody from Facebook to MySpace uses it. It's funny like having a website for everything is funny. :D

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] netzwurm:
Missing SMS

Thanks for the great work on this.

I tried to search this thread but couldn't find anything. XVoice+ is somewhat unreliable on my 4.4 KitKat device. Sometimes, an SMS gets into the voice app, but not the hangouts app. Usually it will make it into the hangouts app the next time an SMS is sent to me, but that has caused hours of delay and makes the notifications unreliable.

Is this a known issue? Any ideas? I am using the current version from the xposed repository.
[Xposed Framework Modules] nomisunrider:
Has anyone successfully used this on beans rom on a verizon galaxy s3?
[Xposed Framework Modules] GoatsTech:
Working great so far. Thank you so much runnirr.
[Xposed Framework Modules] vulcanfk:
I'm able to receive GV via Hangouts without issue, however it will not send. I am on a WiFi only connection (no cell service). A previous message indicates the sending should be via data/WiFi, so I'm not sure what the issue may be. Thoughts?

I'm on a Nexus 5, stock Android, rooted. I have enabled and rebooted (thrice) and still no luck.
[Xposed Framework Modules] LeoBloom.:
I don't have any experience with Voice+ - using this xposed module, will reading the GV SMS in hangouts mark the message as "read" in the GV database?
[Xposed Framework Modules] jayblahX:
I've just installed this, but I'm still having the problem I experienced back when Hangouts incorporated SMS.

Screenshot here: http://i.imgur.com/Ytpnv8D.png

As can see in that conversation, the two messages outlined in red were typed by me within the Google Voice website in my browser. Those messages do NOT appear in the Hangouts app. On the other hand, messages I type in the Hangouts app and send via SMS do appear in the Google Voice browser session.

Any idea how to set up Google Voice (using this module or otherwise) to ensure messages sent through the browser appear in the Hangouts app and vice versa?
[Xposed Framework Modules] quadomatic:
In the original post, it says that for messages sent on other devices to appear in Hangouts, you need to give XVoice+ "Write SMS" permission in AppOps
[Xposed Framework Modules] jayblahX:
Oof. I have to install AppOps? Bleh. Thank you for the reply.
[Xposed Framework Modules] runnirr:
After rebooting, it might take a couple of minutes for the service to start up. Sending should be working.

No. As of now this doesn't update anything in the GV database (besides sending new messages). I can look into this, but it might not be easily fixable.

Yes, this is because of the changes to SMS in 4.4+. By default only one app (default sms app) can write to the SMS history. AppOps allows you do enable other apps. I am looking for a way to enable this permission through Xposed instead of having to do it through AppOps. So far I haven't had any success with that.

There is also a known issue where if you send a message from the web, and then immediately send another message from your phone, the one form the web will never show up on the phone.

Thank you everyone for your feedback and I am glad other people are finding this useful.
[Xposed Framework Modules] quadomatic:
It might be helpful if XVoice+ had some pop-up warning when you opened the app about the need to give it Write SMS permission via AppOps. I wonder if it would even be possible to include a link to the AppOpsXposed module.

Thanks for the hard work!
[Xposed Framework Modules] vulcanfk:
I finally got it working. After many attempts at disabling/rebooting/enabling in different orders, what worked was clearing the cache and all data for Hangouts.
[Xposed Framework Modules] dave__:
Has anyone had an issue getting XVoice+ to recognize their GV account? When I open the app, the only thing listed under Account is "Disable" with the radio button ticked. I've tried uninstalling, reinstalling, rebooting, disabling, reenabling the module. But no change. Thanks!

---------- Post added at 03:36 PM ---------- Previous post was at 03:32 PM ----------

Figured it out. Uninstalled XPrivacy and my account showed up. I assume that the "global fake data" in XPrivacy was tricking XVoice+ into thinking I didn't have a GV account?

UPDATE: Been using it, works perfectly so far! Thanks runnirr!
[Xposed Framework Modules] treyweez11:
Hey I'm using a Nexus 7 2013 running 4.4.2. Is there a way to get this working on a tablet at the moment??
[Xposed Framework Modules] runnirr:
I assume you tried it and it didn't work? If it isn't working, I probably won't be able to get it to work.

I don't have a modern tablet to test on, but I'm guessing it doesn't have the sms classes which I hook into (since the tablet doesn't have sms).
[Xposed Framework Modules] GoatsTech:
I was not able to get it to work. Nexus 5 is working great though.
[Xposed Framework Modules] mastarifla:
Will changing the google voice setting from "use google voice for texts" to "use messaging for texts" do anything?

Which setting should we have it on?
[Xposed Framework Modules] runnirr:
It might work with either, but I have never tried "use messaging for texts". That sends the GV messages through your carrier which defeats the point of this for me.