yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] egingell:
I think that would require hooking into every SMS app and that's just not practical. You can, however, enable/disable it from V+'s UI. Maybe a launcher widget could be made, but I think that's the best you're going to get.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
It might be possible (the way Google Voice an prompt for outgoing calls) but I probably won't be looking into that. If someone else wants to, they can send a pull request on Github.

I think a prompt for every message would be rather annoying. I think it would be more interesting to do it based off of a contact group in which contacts in GroupA get messages from SMS and all other contacts get messages from GV. That's just a thought. I won't be doing that either.
[Xposed Framework Modules] egingell:
I sent another couple test messages. Despite them being on GV almost immediately, it took a good 10 minutes to get the first one. I'm still waiting for the second.

The log says "Refreshing messages".

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
Sent messages to your GV? If you are just testing, I'd recommend enabling notifications in the GV app. When it gets a notification for an incoming message, you should also get an SMS notification, although if the log says refreshing, it should be showing up within a second or so. When there is an incoming message it just calls refresh.
[Xposed Framework Modules] egingell:
I sent them from Text+ on one phone to my real phone number.

Edit: Hmm. I don't see that option and I installed the one you linked to, 1.2i, but Xposed says it's 1.2b.

Edit: I just redownloaded and reinstalled it and I still don't see an option for notifications.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Damian2013:
I'm getting double messages still. Only ones I send though. I get their texts just fine.
[Xposed Framework Modules] iXNyNe:
My outgoing messages are duplicated but only after a refresh. Example I send a message and only see it once but the person replies and it duplicates my outgoing message and then shows their reply.
[Xposed Framework Modules] runnirr:
1.2i is the apk name 1.2b is the manifest version. I'm too lazy to update it with each build i put out.

The option for notifications? Its in the Google Voice app (not XVoice+). That way you can can see when the Google Voice app is getting the messages and the SMS app should get them at the same time (within a second or 2). There will be duplicate notifications (one from the GV app and one from the SMS app)

I'm looking into it. I don't know what I changed to break that part.
[Xposed Framework Modules] Damian2013:
Okay thank you.
[Xposed Framework Modules] egingell:
I think I figured it out. It's messages that were emailed to myPhoneNumber@messaging.sprintpcs.com that are going to GV, but don't make it to my phone except by the normal way.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Damian2013:
Got a fix?
[Xposed Framework Modules] runnirr:
..... no do you?

Edit: fix in the op
[Xposed Framework Modules] smwein:
I'm on a stock nexus 5 using Hangouts but I never receive the text via Hangouts. It comes to the Google voice app. I can send the text via Hangouts via my GV number.
[Xposed Framework Modules] runnirr:
Try the build in the bottom op (1.2j). If you are on that, post a log.
[Xposed Framework Modules] Damian2013:
Working good for me so far. Duplicates fixed.
[Xposed Framework Modules] egingell:
I have cigarettes. Will that work?

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] diegoag08:
behaves as CM11? anyone know? :crying::crying:
[Xposed Framework Modules] RK:
Yes
[Xposed Framework Modules] RK:
The latest test version in OP is running perfect. Using it with hangouts on a Google edition 4.4.2 ROM
[Xposed Framework Modules] runnirr:
Uploaded version 1.3 to the Xposed repo. It is the same as 1.2j with a new version
[Xposed Framework Modules] JHCA:
Hi, Runnirr. I was reading through the thread and saw that other people were having issue with sending messages with airplane mode activated. I'm having the same issue on my HTC One with 4.4.2. Are you still looking for logs? How do I get those to you?
[Xposed Framework Modules] runnirr:
Logs are always good. If you have ADB on your computer you can use that.

adb logcat > logfile.txt

Then try to send a message when in airplane mode. Ctrl+C to cancel the logcat and then you should have a file on your computer called logfile.txt. That's what I need.

If not, search for a logcat app in the play store. I've never used them but I know they exist and should work fine. Save the log and upload it somewhere, attach it to your post, or put it on pastebin.
[Xposed Framework Modules] Drahric:
Remember to to grant root access to the logcat reader if your going that route
[Xposed Framework Modules] JHCA:
Easy enough with ADB. Here you go! I wasn't sure how long after sending the text I needed to wait, but I estimated about 30-60 seconds. The file ended up being larger than what XDA allows for a .txt, so I zipped it up. Hopefully this helps you. Let me know if you need more.
[Xposed Framework Modules] craiggers14:
Anybody having issues with timestamps being shown incorrectly in the sms app? I just downloaded xvoice+ this morning and my texts are going out through the sms app fine, but coming in timestamped 1/10/2000 at 10am. The timestamps are correct in the Google voice app.

I'm running a LG g2 d800 stock rooted 4.2.2

Any ideas?
[Xposed Framework Modules] runnirr:
Thanks for the log. Its interesting this only seems to happen on the N5.

Try this: https://app.box.com/s/xq0d9n91jmll0m1sgax5 1.3a

Post another log if it doesn't work, or please confirm it does work.

So incoming messages have the wrong time? but the outgoing ones are correct? I haven't seen anyone mention this yet. Is the clock on your phone correct? For whatever reason it seems some LG devices don't like this mod =\
[Xposed Framework Modules] craiggers14:
Yes. I send the texts out with today's date and I get responses from 14 years ago. Very odd. I've rebooted a few times and also reset the time on my phone.
[Xposed Framework Modules] runnirr:
Very odd indeed. I'm not really sure what would cause that. Could you check another sms app and see if it its messed up there as well?
[Xposed Framework Modules] jleadbeater:
I downloaded the 1.3a you posted and that worked. It allowed me to send with airplane mode activated but with wifi on. I was using the Hangouts app.

Update:

I swapped to the stock messenger and that worked for sms also.
[Xposed Framework Modules] craiggers14:
Just tested in GoSMS Pro. It works as it should there with the correct timestamp so it appears to be an issue with the stock SMS app.
[Xposed Framework Modules] JHCA:
You're awesome! Works perfectly now on my HTC One. I'll let you know if any other hiccups occur. Thanks a lot!
[Xposed Framework Modules] runnirr:
Good to hear.

The AOSP sms app works fine for me for what it's worth, but I would say there's nothing for me to fix in regards to this
[Xposed Framework Modules] Drahric:
I'm trying to send SMS using tasked but I can't get it to work, the tasked log confirms it sent but I never receive it
[Xposed Framework Modules] runnirr:
tasked = tasker?

I don't use tasker, but I'm not sure why it wouldn't work. Does logcat show XVoice+ trying to do anything? (probably logged under xvoice or voiceplus)
[Xposed Framework Modules] Drahric:
Yes sorry, I posted the xvoice+ reaction a couple pages/posts ago. Its says that it defaults to carrier sending and doesn't do a thing after that.
[Xposed Framework Modules] decalex:
FWIW, I've seen a couple different implementations of this in different apps. I prefer this standalone module way better, but if you're looking for ideas or code:

Sliding Messaging gives you a GV Toggle on a per-conversation thread basis. Messaging + Google Voice gives you the option to be prompted each time.

And BTW, this is the best GV option I've used in 4-5 years. Haven't had any issues so far with v1.3. :good:

I'm using it with Textra.. a nice lightweight sms app.
[Xposed Framework Modules] runnirr:
On your tf300t ?

Try the build at the bottom of the OP. (labeled 1.3a)
[Xposed Framework Modules] Drahric:
The box link will not download
[Xposed Framework Modules] runnirr:
weird. lets try dropbox

https://www.dropbox.com/s/5se9lpnpi1p4657/XVoicePlus1.3a.apk
[Xposed Framework Modules] Drahric:
After a quick scuffle with dropbox, I finally got it to download and now it works. Thank you

Edit: after playing around with the SMS, I discovered that if my receives a text from my phone ask for a status update then I could remotely check up on my tablet, however I sent the text and voice receives it just fine but tasker doesn't react to it at all. I would post a logcat but I'm not near a computer and tapatalk doesn't allow uploading of text files...
[Xposed Framework Modules] shimdac:
Works well with HTC OneX. However, there is almost a 2 second delay from when to gv app receives the message to when it comes through on hangouts.
[Xposed Framework Modules] egingell:
Is two second really game breaking?

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
Not sure what you mean or what you want fixed. I'm not about to fix tasker.

your battery thanks you for waiting those 2 seconds.
[Xposed Framework Modules] shimdac:
No, just wanted to point it out. I am wondering if this is only limited to the One X, as it seemed to be slow at getting text messages before, or if it is a global issue.
[Xposed Framework Modules] Drahric:
OK here's is the problem, it sends just fine but when I reply no app does a thing about it except with voice who says there is a new text. I think the there is something wrong with the receiver end of xvoice+
[Xposed Framework Modules] egingell:
If that were true, the problem would extend beyond you and your phone.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
What version of Android?

Here is what (I think) you are saying. Please correct me if not.

Sending messages through the SMS app works as expected (shows up in GV and the recipient receives the message)

Receiving messages never show up in your SMS app but the Google Voice app does get the notification
[Xposed Framework Modules] Drahric:
4.3.1 using PAC ROM if that helps any

That is correct, is it possible that it is not hooking correctly on my tablet?
[Xposed Framework Modules] runnirr:
Its possible that the tablet doesn't know what to do with the incoming SMS message (since it presumably doesn't have other SMS capabilities).

If you post a log I'll take a look.
[Xposed Framework Modules] iXNyNe:
Tip for anyone who doesn't use the stock SMS app: disable it.

I was having all kinds of issues with duplicate messages and notifications when I had the stock SMS enabled and another app set to be the default messaging app. I disabled stock SMS and all is now well. No more duplicates.
[Xposed Framework Modules] Drahric:
I bet you don't want the entire device log :p

I shook the device so there is some other data in there (that was for me to find it easier)
[Xposed Framework Modules] egingell:
I'm willing (almost) to bet that it's because you don't have a stock messaging app from which other messaging apps get the messages.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] runnirr:
I ctrl+f for the important stuff

The log shows exactly what I would expect to see when there is an incoming messages

XVoicePlus(13205): Received incoming Google Voice notification
....
VoicePlusService(10562): Refreshing messages
....
XVoiceSmsUtils(10562): Creating fake sms. Broadcasting...

Perhaps try another sms app? I'm not sure how tablets handle SMS broadcasts, or if they do at all. All the hooks are happening as expected though.
[Xposed Framework Modules] Drahric:
Isn't that what xvoice+ is supposed to do? (no it's supoosed to interpret the incoming SMS and alert anyone who is watching and then store it in GV)

I'm apologizing ahead of time if I'm wrong about it.
[Xposed Framework Modules] egingell:
Third-party messengers don't actively fetch messages from anywhere. They use the API Android provides. Which is to say that it gets them from the local storage. And if there's no app to collect said messages from the source, then the messages won't reach the device. At least that's my theory.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Drahric:
Tasker is smarter than I think, xvoice+ does work correctly, I was hoping to get tasker to go along with it but it works and tasker doesn't follow. oh well :rolleyes:
[Xposed Framework Modules] runnirr:
For incoming messages (which is what isn't working)

Flow of stuff without this module - things are slightly different on 4.4

1) SMS goes to your carrier number

2) Android system sees there is a new message (this part is magic, and not important for the explanation).

3) Android system lets anyone who is listening know that there is a new sms via SMS_RECEIVED

4) All the SMS apps that are listening can then act on SMS_RECEIVED. (and create your notification, store it in the db, etc)

This module creates its own SMS_RECEIVED and broadcasts it whenever it sees there are new messages in Google Voice ("Creating fake sms. Broadcast....") It doesn't invoke any SMS app on the device, it is up to the app whether it wants to take action when this message is sent.

Hopefully that clarifies things a little. XVoice+ just reuses the system APIs get messages into other sms apps, it doesn't actually do any of the saving of messages or notifying

For what its worth, EvolveSMS on my tablet (running cm9) gets notifications correctly.

edit:

Not sure what you are trying to do with tasker, but it may be as simple as installing an sms app so that the incoming messages can be saved, and a notification is made and tasker can act on it - although it would surprise me if tasker wasn't just listening for the broadcast itself.
[Xposed Framework Modules] egingell:
You could try installing a stock messaging app from another ROM appropriate to your Android version. But I also wouldn't be surprised if the ROM itself lacks the ability.

Even so, it still needs a place to store said messages. On my phone it's com.android.providers.telephony.

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Drahric:
I'm running PAC ROM which has the original voice+ from cm and it comes with the mobile data and config apks, a smspush.apk, and no stock messaging app...
[Xposed Framework Modules] egingell:
I meant one from another ROM of the same Android version. Possibly from another phone even. The stock messaging app is not specific to any ROM - as long as it's the same base (AOSP, TouchWiz, etc.).

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Drahric:
The only problem is compatibility, I tried to exchange the theme chooser and theme provider to omnirom and it didn't work.

If youre familiar with tasker you have to set up a SMS receiver in order to have it listen for SMSes...
[Xposed Framework Modules] egingell:
A theme chooser is ROM specific and is not a stock app.

If Tasker works, then use that. :)

Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
[Xposed Framework Modules] Drahric:
I did think of that...

I'm going to use textra until I get the tasker issue fixed

Edit: turns out that tasker is the problem that it does not receive the SMS broadcast correctly where other other apps do, the tasker dev says he is looking into it.

Again thanks for your help.
[Xposed Framework Modules] spaceporker:
This is an awesome module and I really appreciate the work you put in to make it. I am still having one small glitch in that I am unable to send sms while in airplane mode with WiFi enabled. I can receive, but cannot send, the texts just hang. Stops me from saving battery in this signal wasteland hospital.

This problem may be specific to my setup, I'm using a Moto X, rooted 4.4 on Sprint with Sprint Google voice integration (my cell number and gv number are one in the same).

No big deal if it's just me, but maybe there are other people who are having sending problems.

Thanks!
[Xposed Framework Modules] runnirr:
try the build at the end of the OP

if it still doesn't work, get a logcat
[Xposed Framework Modules] spaceporker:
You rock! That totally did the trick!
[Xposed Framework Modules] magikazoc:
Whenever I receive an incoming SMS, a few apps crash. Hangouts, MyGlass, and Twitter go down.

Logcat indicates that the problems are NullPointerExceptions while calling SmsMessage.getmessageBody() and SmsMessage.getMessageClass(). The error repeats every time an SMS is received.

I've attached a copy of the relevant Logcat entries.
[Xposed Framework Modules] wmarcin:
Thanks for the tip. I switched to Textra, and am loving it.

And many thanks to the developer. I'm on Moto X VZW DE: all works well. Haven't tried the airplane mode on Wi-Fi yet.
[Xposed Framework Modules] runnirr:
What version of android?

Repeats when a carrier sms is received? Or Google voice?

I can dig in more when I get to my computer.

Edit: I looked into this a bit more and I'm not really sure what the cause of this is. I don't do anything special with the message body or the message class.
[Xposed Framework Modules] bobloiy:
So if I'm correct, this app will allow me to text through google voice without charging my phone company (sprint), right?
[Xposed Framework Modules] Drahric:
Yes and no, yes it will avoid texting charges and no if you are not using wifi
[Xposed Framework Modules] runnirr:
It uses data to send messages instead of sms. So if you have unlimited (or enough) data, then yes.
[Xposed Framework Modules] bobloiy:
So I got two answers... Will I get charged if I'm on data?
[Xposed Framework Modules] Drahric:
Yes
[Xposed Framework Modules] bobloiy:
But isn't this using data to send messages? Are you saying that it will charge Data but not SMS?
[Xposed Framework Modules] jsdecker10:
You're on Sprint, right? Well, with the proper use of this module, Google Voice, and your texting app of your choice, you shouldn't get charged any extra since Sprint is all unlimited data plans now. They do give all customers unlimited data, don't they? Forgive me if I'm wrong, as I'm on Verizon without unlimited data and all I really know about Sprint is from what I've briefly seen in commercials on TV, internet ads, and word of mouth.
[Xposed Framework Modules] bobloiy:
Alright, thanks. So it doesn't charge SMS at all right? Now how do I know which ones are my voice messages and normal text messages?
[Xposed Framework Modules] runnirr:
You don't

with this enabled, all outgoing are GV. incoming can be either. The assumption is you either only use GV for texting, or you know what you're doing
[Xposed Framework Modules] bobloiy:
Sorry for asking so many questions, but is it okay if I ask one more? If I started a text message with voice(through hangouts) the incoming message will be to my hangouts right?
[Xposed Framework Modules] runnirr:
All outgoing message will go through google voice. any messages that people send to you google voice number, show up in your sms app.
[Xposed Framework Modules] smwein:
only one app receives new messages

I have tried to get this to work right with a few SMS apps but for some reason only one SMS app called "Hello" works. All other apps including Hangouts only can send. Anyone have any idea?

Thanks

Steven
[Xposed Framework Modules] runnirr:
What version of Android?

Get a logcat
[Xposed Framework Modules] magikazoc:
This is a rooted Galaxy Note 3 running stock Android 4.3, build MJE (full version JSS15J.N900VVRUBMJE).

This occurs when a Google Voice SMS is received. Haven't tested with carrier texts.

The exceptions are thrown by other apps that I think listen for the Intent android.provider.Telephony.SMS_RECEIVED. They try to read the parameters of the SMS and get null.

These lines in the log look suspicious. Could there be a low-level problem in Dalvik?

D/XVoiceSmsUtils( 6095): Creating fake sms. Broadcasting...
D/AndroidRuntime( 7612): Shutting down VM
W/dalvikvm( 7612): threadid=1: thread exiting with uncaught exception (group=0x4180e898)
W/BroadcastQueue( 835): Unable to launch app com.google.glass.companion/10272 for broadcast Intent { act=android.provider.Telephony.SMS_RECEIVED flg=0x10 (has extras) }: process is bad

This line is also odd; it appears in the Twitter error and directly references Xposed:

E/AndroidRuntime( 7612):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)

Shouldn't Xposed have already initialized?

I've tried freezing and unfreezing everything that reads, receives, or sends SMS one at a time, but no dice. Everything other than the stock Messaging app that tries to pull an SMS off that intent crashes due to NullPointerExceptions.

Maybe the SMS_RECEIVED intent that XVoice broadcasts has poorly formatted PDU's? Could the spoofed SMS and/or the original Google Voice text be falling out of scope or getting garbage-collected?

Anything else I can offer? This doesn't seem like a problem that anyone else has, and I'm wondering what's different about my setup.
[Xposed Framework Modules] magikazoc:
Another follow-up: Some of the NullPointerExceptions are being raised when calling methods that never return null, such as SmsMessage.getMessageClass(). This makes me think that the null reference is the SMS itself.

Could something be preventing the PDU from being packed into the Intent, or removing it from the Intent?
[Xposed Framework Modules] runnirr:
When xposed is installed, all methods have a reference it it in their call stack. This does not mean that xposed it not initialized.

It is possible the PDU is doing something strange. I copied the message->PDU function from someone on stackoverflow (http://stackoverflow.com/questions/...-works-with-smsmessage-createfrompdu-gsm-3gpp). This creates it in a GSM format. When going from PDU->Message I hook that and force GSM conversion if the phone default fails (this would happen on CDMA devices). Its possible something isn't right with this.

The intent for SMS_RECEIVED is created from the message/receiver of the Google Voice message. Scoping/lifespan should not be an issue.

Possibly, but nothing within this module removes anything from the intent. It just creates and sends it.

And just to confirm, you are on the latest version? (1.3 or higher)

Try this: https://app.box.com/s/p1ak2005ovm7ihx7w03l

I put in some more logging if there are errors creating the PDU.

Outgoing messages seem to work correctly though?

Edit:

Try rebooting the device, and/or reinstalling the apps that crash - http://stackoverflow.com/questions/3253676/how-to-fix-process-is-bad-error-for-an-android-widget
[Xposed Framework Modules] magikazoc:
Installed. What are the debug messages/errors tag?
[Xposed Framework Modules] runnirr:
"XVoiceSmsUtils"

if there is nothing new for them, then the PDU is getting created successfully created
[Xposed Framework Modules] magikazoc:
Then looks like the PDU's are getting created properly - this is the only message with the tag.

D/XVoiceSmsUtils( 5430): Creating fake sms. Broadcasting...

MyGlass and Twitter continue to crash every time an SMS is received after uninstalling and reinstalling. The "Process is bad" line occasionally, but not always, appears.

Not sure how to uninstall Hangouts - it's a system app. I tried clearing its data, freezing it, restarting, unfreezing, and setting up again, but it still crashes when a new SMS arrives.
[Xposed Framework Modules] runnirr:
This is all very strange, but that message is expected

Try this: https://app.box.com/s/kzcen4sb4cnvltkxgi5z

Changed from an orderedBroadcast to a regular broadcast. This should prevent one app from screwing with another if that is whats happening. These are mostly just stabs in the dark though hoping something works for you.

Is anyone else successfully using this with a Note 3?