yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] encript:
Okay, I kind of did some hack way of getting what I wanted. So I first went to Settings>App Manager>All. Found Messages and force stopped it and pressed Clear Data>Clear Cache>Clear Defaults. Then in ES File Explorer I enabled root explorer on the left panel and then on the same left panel went to Tools>App Manager. From there I selected Systems Apps (Which I know is risky and could mess things up) and selected the Messages app and checked it and pressed uninstall. It will give an error that uninstall was unsuccessful but the messages app goes away and now I don't get any more duplicates and its working perfect for me. You would never know Google Voice was in the background. I believe the apk is com.android.mms. Thanks for the titanium backup solution I didn't know about freezing apps.

So far its been good for me ill keep you posted tomorrow if anything weird happens.
[Xposed Framework Modules] rayjr13:
freezing it or disabling the other apps clears up the dups as well without compromising your system apks.
[Xposed Framework Modules] Lento10:
I noticed under GV app> Settings> Sync and notification >

If I choose>Receive test messages > Via the messaging app, I get double texts

If I choose>Receive text messages > Via google voice and uncheck Text notification, I dont get any text messages on hangouts, only on GV.

Could someone give me a recomendation on the correct settings.

I only have the Hangouts and GV installed.

thank you,
[Xposed Framework Modules] jivetrky:
I'm in the same boat. I've set GV to use the messaging app (which I have Hangouts set as the default (as well as the stock messaging app turned off). I also have GV set to not notify (even though this is grayed out when you select the messaging app anyway)

I still get double texts as well.
[Xposed Framework Modules] encript:
Thanks. For the future I'll note that solution. I've had a long text conversation with a friend and havent noticed the duplication issues as before. Every once in a while though, messages that I send out will show up twice but this will happen seldomly.
[Xposed Framework Modules] rayjr13:
Pretty sure what you are experiencing is "normal." My only note about not disrupting the system components was in case you ever wanted to switch back or google kills the functionality without a hangouts replacement you have your regular SMS app to go back to. Unless you are like me and have no SMS/MMS in your plan lol. I had never used a SMS app until this module came out btw. Don't judge but when I did I confirmed how stupid SMS is like I thought, like twitter. See how short of a message I can send before I send another message to finish my thought lol. Sure hope Gvoice # gets fully integrated into hangouts one day soon.

still love this module.
[Xposed Framework Modules] runnirr:
Correct settings should be 'Receive text messages > Via google voice and uncheck Text notification". if you are on Android 4.4 make sure you have set a default sms app. Make sure you don't have anything blocking wakelocks or internet access or something similar.

Post a logcat otherwise and I'll take a look.
[Xposed Framework Modules] kchannel9:
Incoming long sms's are crashing twitter, hangouts, and the stock messaging app, just like emojis. When I check the GV app the message is there, but even after restarting the crashed hangouts and messaging apps, the offending message doesn't sync, it just stays in GV.

Just fyi

Edit: that's with receiving messages with the messaging app setting, about to change it and see what happens when I set it like you posted above.

Sent from my rooted SPH-L900
[Xposed Framework Modules] Walter.White:
Me too. Cover app also crashes.
[Xposed Framework Modules] kchannel9:
With these settings I was no longer getting crashes, but now since Hangouts updated today it's crashing Hangouts & Twitter simultaneously when I receive an SMS with an emoji. Just an update.

Sent from my rooted SPH-L900
[Xposed Framework Modules] runnirr:
As far as I know, receiving emoji's has always caused this to crash. I never found a fix for it.
[Xposed Framework Modules] 3vilhomer:
i have everything setup on my Z1 but when i get msg to my google voice number from a sender i get 2 msg in my hangout...

one is the person in my contact

second one is a random number with the same msg...

y i keep getting 2 message?? "Text Notifications" is already disable in the Google Voice app settings
[Xposed Framework Modules] runnirr:
In the Google Voice app change

Settings -> Sync and Notifications -> Receive text messages via the Google voice app
[Xposed Framework Modules] 1/4 Life:
Does this module have the option to receive Google Voice messages as SMS, but not send through Voice?
[Xposed Framework Modules] 3vilhomer:
thanx so much!! working perfectly!!
[Xposed Framework Modules] NYLimited:
No, it doesn't.

---

* All those who believe in psychokinesis raise my hand.
[Xposed Framework Modules] d0g:
Thanks for this great module!

Any way to enable and disable it with Tasker?
[Xposed Framework Modules] runnirr:
Probably not right now. I don't use tasker though so I don't know for sure.

Enable/Disable is done via a entry in SharedPreferences.
[Xposed Framework Modules] d0g:
Bummer.

basically I would like to enable it only when my cell radio is off (at home).

Would be a nice option !

Thanks
[Xposed Framework Modules] mindstate:
Works perfect for me on my S4 using stock messaging app. I also had it working fine on hangouts previously.

Make sure you turn off "send text messages to phone" in the google voice settings on computer. I was getting double texts this way. This helped me integrate my google voice entirely into my phone virtually seamlessly. Great work!!

could not get this to work on MIUI though which was VERY disappointing.

To the dev, can we get a working Xvoice+ for WSM tools for MIUI? :D
[Xposed Framework Modules] 0vermind:
I've looked back a few pages since last time I posted, not much activity on this thread. Wondering if anyone else is having sending problems. I've been using the alpha for a few weeks, just a few days ago Sunday, I can no longer send messages. They don't get sent at all. I receive my GV messages fine, however. Tried uninstalling and reinstalling. No go.

Also I can confirm that long messages do not go into the messaging store, further receiving these long messages crashes Hangouts.
[Xposed Framework Modules] dupsatou:
+1
[Xposed Framework Modules] runnirr:
I don't use MIUI so I'll need logcats. Also a link to MIUI source code if its available (idk if its open source or not).

Can you post a logcat of it failing to send?
[Xposed Framework Modules] mindstate:
I would have to reinstall MIUI to get the logcat, but i believe MIUI is not open source.
[Xposed Framework Modules] dupsatou:
I'll try to get a logcat. It seems a reboot resolves it for a little while before it does it again so that has been my workaround.
[Xposed Framework Modules] 94SupraTT:
I'm on 4.1.2 and I have it set that way in the GV app but I still receive double texts. On the google voice settings via website I have "Receive text messages on this phone" unchecked.
[Xposed Framework Modules] big_edd:
I used titanium backup to freeze the default messaging app. No more doubles.
[Xposed Framework Modules] runnirr:
try what big_edd said

If you have 2 sms apps installed, they will both save the incoming sms and there will be duplicates If you don't use the default SMS app, disable it or freeze it, or something.
[Xposed Framework Modules] kchannel9:
Now I'm getting something weird, my hangouts txts aren't syncing unless airplane mode is off and I'm within range of a cell tower... That wasn't happening before.... Also might have to do with the Google voice app update recently?

Sent from my rooted SPH-L900
[Xposed Framework Modules] runnirr:
Are "hangouts txts" hangouts messages? or sms messages to the hangouts app. Do you internet access when using airplane mode?

The GoogleVoice app update doesn't look like it changed enough to break anything. I only use the Google Voice app to know when there are incoming messages and the specific method I hook didn't change. Worst case the "push notifications" would break; the polling would still work, but everything should be working as it was before.

I don't use this module anymore so I am relying on users providing (accurate) reports of any errors in order to fix any bugs that arise.
[Xposed Framework Modules] dupsatou:
Just curious, if you're not using this anymore than what are you doing instead these days?
[Xposed Framework Modules] runnirr:
Google Hangouts/Carrier SMS/Google Voice app

When I started this i didn't have texting on my mobile plan (family plan) so I used Google Voice for all my messaging and this app made sense. Parents got unlimited texting for everyone on the plan and people started texting my carrier number. Instead of confusing people, or trying to get them to text my Google Voice number, I gave up and keep carrier/gv messages separate now.

I don't really text (Google Voice or Carrier) that much so its not a huge deal
[Xposed Framework Modules] DildoMaster:
Thankyouthankyouthankyou OP! I've needed this for a long time and only just discovered it.

Works perfect on my GS4 running the newest (KitKat) Hyperdrive Rom through the Hangouts app. Although my stock messaging app (which I would prefer to use) only works for incoming messages. I saw at least one other guy with the same symptoms on his HTC phone. If there's any way to get it running through stock messaging apps, that would be incredible.
[Xposed Framework Modules] kchannel9:
Yeah, I meant SMS messages to the Hangouts app, and yes I use wifi at home with airplane mode on. Sorry if my report wasn't super accurate.

Strangely now it's not malfunctioning anymore, SMSs to the Hangouts app are working and I'm getting notifications from both Hangouts and the stock messaging app like I was before.

I'd like to say thank you so much for your work on this and all your support for us in the thread.

Sent from my rooted SPH-L900
[Xposed Framework Modules] runnirr:
I don't know of a reason why the stock app wouldn't work, but since I don't have a GS4, I can't debug it. Post a logcat and I'll take a look to see if anything is odd.
[Xposed Framework Modules] kchannel9:
My Note2 is the same, stock messaging app gets incoming SMS, but can't send from the stock messaging app. Though it does sync SMS sent from Hangouts or the Google Voice app, after another incoming message is synced

Sent from my rooted SPH-L900
[Xposed Framework Modules] DildoMaster:
Actually running into a problem now even with Hangouts. My messages seem to be getting sent and received but it's taking a long time on both ends. It seemed to be working perfectly last night. A reboot didn't fix it and uninstalling the involved apps and reinstalling doesn't seem to have helped either.

Edit: It's back to working fine again through Hangouts. Took a bit though.

And sorry for my ignorance, but how would I go about getting a logcat? A terminal emulator I'm guessing?
[Xposed Framework Modules] dgourd:
I have the same problem on my HTC M8 using the HTC Messages app. I posted the logcat to pastebin.

http://pastebin.com/9VAN1Ai4

Let me know if you need anything else to help solve this problem.
[Xposed Framework Modules] runnirr:
Search Google. There are plenty of guides about taking a logcat.

Did you filter for the htc app? Can you post an unfiltered log? If possible, can you post the apk of the messaging app as well?
[Xposed Framework Modules] dgourd:
Here is the pastebin. I attached the Messages.apk and also another apk that might be useful.
[Xposed Framework Modules] runnirr:
Thanks for posting.

I did some looking into the Messages.apk and it looks like they make it a point not to use the standard android methods for sending messages. They have there own Sms/Mms service for sending/receiving messages. This means that I won't be fixing this mainly because it is app specific and I don't have a way to test any fixes for it. If anyone is interesting in implementing this for themselves, I'd start at hooking

com/htc/sense/mms/transaction/SmsSingleRecipientSender.sendMessage
[Xposed Framework Modules] 94SupraTT:
Trying that now.
[Xposed Framework Modules] 94SupraTT:
That worked! Thanks!
[Xposed Framework Modules] RyconPayne:
I use google voice exclusively too, and it's insane to me that google hasn't made this all work better, and that things like this are needed. That being said, they are needed. Thanks for making it, hopefully it works out for me.
[Xposed Framework Modules] fonixmunkee:
Indispensable on my VZW Note 3 w/4.4.2
[Xposed Framework Modules] egingell:
I would think that they'd be integrating it into Hangouts like everything else.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] 0vermind:
Reboot works here as well, at least for a little while. Sometimes when my messages stop getting sent, I will stop receiving messages as well. It's not a out of memory issue, as I have 2GB RAM on my Nexus 4 and have never seen my free ram dip below 800MB. Next time it happens I will grab a logcat.

There might be apps that can save logs for you. I know a few such as CatLog and alogcat, but I don't use them.

This is what I do, it's really not that complicated as I make it seem:

Best way is to hook up to a laptop or desktop with ADB (if you don't have this, it can be found here--it's a standalone exe so install needed). Hook up phone to computer through USB, enable usb debugging in dev settings on phone (found in settings menu), and then Shift-Right click in folder where ADB is located, click Command Prompt Here, and type "adb logcat > xvoice-sending-bug.txt" (without quotes). Now, go to your phone and open up your Messaging app and try to send a couple of messages. Wait about a minute, go back to the command prompt and hold down CTRL-C to cancel. Now review the text file created.
[Xposed Framework Modules] Zortwil:
Double outgoing messages

I have a problem with the person on the other end receiving some of my messages twice. Once the second one is sent, it tells me that the sending fails, and I can resend it, which works.

Logcat:

06-23 15:35:28.038 I/ActivityManager(977): Waited long enough for: ServiceRecord{42ab6810 u0 com.runnirr.xvoiceplus/.XVoicePlusService}
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491): send error
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491): java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.future.SimpleFuture.getResult(SimpleFuture.java:43)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.future.SimpleFuture.get(SimpleFuture.java:38)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.runnirr.xvoiceplus.gv.GoogleVoiceManager.sendGvMessage(GoogleVoiceManager.java:126)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.runnirr.xvoiceplus.XVoicePlusService.onSendMultipartText(XVoicePlusService.java:167)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.runnirr.xvoiceplus.XVoicePlusService.handleOutgoingSms(XVoicePlusService.java:67)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.runnirr.xvoiceplus.XVoicePlusService.onHandleIntent(XVoicePlusService.java:78)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at android.os.Handler.dispatchMessage(Handler.java:102)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at android.os.Looper.loop(Looper.java:136)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at android.os.HandlerThread.run(HandlerThread.java:61)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491): Caused by: java.util.concurrent.TimeoutException
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.http.AsyncHttpClient$2.run(AsyncHttpClient.java:184)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.AsyncServer.lockAndRunQueue(AsyncServer.java:678)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.AsyncServer.runLoop(AsyncServer.java:689)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.AsyncServer.run(AsyncServer.java:596)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.AsyncServer.access$600(AsyncServer.java:38)
06-23 15:35:43.428 D/com.runnirr.xvoiceplus.XVoicePlusService(4491):	at com.koushikdutta.async.AsyncServer$14.run(AsyncServer.java:544)

Great module, but would love it even more if it was fixed!
[Xposed Framework Modules] runnirr:
Do you have a good internet connection?

Try the 2.4.2 build in the OP.
[Xposed Framework Modules] Zortwil:
My connection should be fine; I'm on my home wifi and don't have any problems with it.

Tried the build, still sending doubles; they are not doubles that show in the app, but rather doubles that actually get send to the person receiving them.

However, this could be unrelated to your app, I run mahdi which has voice+ built in and it has the same problem(I had some problems with voice+ in the past and xvoice+ seems to work better).
[Xposed Framework Modules] Link_of_Hyrule:
I would say we'll probably have Google Voice support in Hangouts by the end of the week if we don't I'll be very surprised.
[Xposed Framework Modules] xd1936:
You think so? I mean, that seems like something worth including in the keynote if they're planning on it.
[Xposed Framework Modules] Link_of_Hyrule:
Yeah doesn't look like they announced it sadly
[Xposed Framework Modules] nomisunrider:
Was about to post the same thing
[Xposed Framework Modules] Link_of_Hyrule:
Yeah it's very surprising they haven't said anything about hangouts except hangouts is switching to WebRTC. Who knows maybe it'll still happen in the next few weeks.
[Xposed Framework Modules] 94SupraTT:
I'm getting texts from "Unknown Sender" I think they are messages coming to my normal number and not my google voice number when I have Xvoiceplus turned on. They come in blank. Is anyone having this issue. Does Voice+ cause you to miss texts to the normal non-gv number?
[Xposed Framework Modules] runnirr:
Messages to your normal number will still come in. I haven't seen anyone mention blank messages (doesn't make much sense) so I think its something else causing those.
[Xposed Framework Modules] DildoMaster:
This is my exact issue on my Verizon GS4. Hangouts works perfect though.
[Xposed Framework Modules] dealguy:
Avast Showing XVoice+ as Trojan

I've used XVoice+ in the past and it's great, but it wasn't working well with a previous configuration, so I hadn't used it in a while. I saw there was a newer version than I had used before and installed it. Avast is identifying it as a Trojan. Anyone else experience this or know why?

My install is v 2.3, downloaded & installed via Xposed.

Thanks!
[Xposed Framework Modules] runnirr:
It does spoof incoming sms messages, so maybe that's why. Does Avast give any more info than "Trojan", like why it thinks its a trojan?
[Xposed Framework Modules] dealguy:
That's probably it, as it says "Trojan detected - Android:SmsSpoofer." I've reported it to them as a false positive, so if other do as well, maybe they will update their virus definitions to not alert for it.
[Xposed Framework Modules] runnirr:
Well at least you know your virus scanner is actually doing stuff :)

It isn't really a false positive. The app does indeed spoof sms messages and they detected it.
[Xposed Framework Modules] FroyoShark:
It technically spoofs them, but not for a negative reason. So it's not really a "trojan".
[Xposed Framework Modules] mkz14:
Does this already works on normal Hangouts messages or even Whatsapp? Didn't found that information although I read OP and some pages...
[Xposed Framework Modules] runnirr:
I have no idea what you mean, so I'll go with no.
[Xposed Framework Modules] KnightTim:
If you're asking if you can use any texting app you want then the answer is yes, as least in KitKat I have set hangouts as my default texting app and I can send and receive my google voice texts in there.
[Xposed Framework Modules] rocolema:
I'm on Galaxy Note 3 4.4.2. Every text I receive comes in twice, one for the normal number, and then one from a random number. Is there setting I can change to fix that?

Nevermind, fix from previous page fixed the problem (duh).
[Xposed Framework Modules] wiz0floyd:
Loving this on my Moto x, works flawlessly. It would be cool if there was an option to blacklist some outbound numbers, that don't work well with Google voice (particularly voting/sweepstakes type short numbers)
[Xposed Framework Modules] bradhoschar:
Really! I looked!

Deleted coz m an idiot...
[Xposed Framework Modules] rayjr13:
Only downside I see so far with Hangouts is that deleted SMS hangouts do not delete the google voice thread. The conversation is still there. Don't think there is a way to change that.

Hangouts is a good way to send/receive SMS via google voice, but you just can't manage google voice (star, delete, etc) with it. I don't have verizon SMS/voicemail/vvm only google voice SMS and voicemail. So, so far its a bit cumbersome to use hangouts through this hook module exclusively. I like it though and will probably keep it installed and watch for development.

Any thing we can test as far as future implementation/updates?
[Xposed Framework Modules] drozek:
Yes it works I am on Verizon with a Note 3 running a Custom ROM.
[Xposed Framework Modules] bigbabys:
Is there any way to make this module not break CDMA incoming SMS? I tell everyone to text my voice number, but on the off chance someone does it crashes things (as mentioned) and I never get the message. This is so close to perfect :(
[Xposed Framework Modules] runnirr:
So far the only feature that I have ready to test (that isn't in the version in the Xposed repo) is the fix for 4.4 so you don't need to have AppOps installed. if you want to try it out, I have uploaded the apk to https://app.box.com/s/cgx1qx0ncz5g58uysgjk . Please report back whether it works for you.

EDIT: I forgot to address the delete/star etc. I don't want to implement anything that is based specifically on the SMS app being used (ex hangouts). So far, I have the mark-as-read (mostly) working. Delete is possible. Star - probably not.

You are the first person to confirm that the CDMA messages are broken. I'll see if I can fix that. I don't receive any CDMA messages, so would you be able to test it once I figure something out?
[Xposed Framework Modules] c19932:
When I use Google search voice command to send a text to someone, the text doesn't show up in the messaging app. Th text does go through thoughh and it shows up in theGoogle voicee app. Is there any ways to make it show up? Thanks.
[Xposed Framework Modules] runnirr:
Are you sending it through the google voice app or the messaging app? I just tried sending a message via voice search and it prompted me to select the Google Voice app or the Messaging app (interestingly hangouts wasn't an option). If you didn't get this prompt, I'm guessing you defaulted it to Google Voice previously. Clear the defaults for the Google Voice app and try again (select messaging).

I'll look into refreshing messages more frequently so that outgoing messages from other devices show up more often.
[Xposed Framework Modules] rayjr13:
I'm on 4.3 until some kernels get worked out for Sense 5.5+ on 4.4+ for DNA but thanks for now.

I figured star isn't as big of a deal here is always the voice app to be able to do that with or the web if necessary. But delete function would be sufficient to make it really useful with the voice app (except vvm). Hope that doesn't prove to be a huge hurdle this is really a nice mod.

Thanks