Sending SMS via Shell.. - Android Software/Hacking General [Developers Only]

Im looking at sending text messages direct from the shell, so far i have managed to insert in to the mmssms.db using:
sqlite3 /data/data/com.android.providers.telephony/databases/mmssms.db;
insert into sms values(null,13,'1234567890','',1298457182496,'',1,32,6,'','','test','',0,0,1);
the status of 32 is what the messages get assigned if you try to send a message when you dont have signal, so my thoughts were if i entered a message in to the db with that status, it would get automatically sent. Sadly it doesn't.
I have tried restarting the mms app and turning airplane mode on and off and this doesnt work. BUT, manually sending another message will cause both messages to get sent OR restarting the phone will send the message upon restart.
So i am wondering is there a command i can use in shell which will cause the messaging app to sort of refresh its self and see it has a message stuck on pending and send it, the same was restarting or sending another message does?
Thanks
A

It seems like there is some function/method for sending things that are stored... you may want to consult the all knowing google

PAK5695 said:
It seems like there is some function/method for sending things that are stored... you may want to consult the all knowing google
Click to expand...
Click to collapse
i have tried, just a bit unsure what im searching for though..

Related

G1, messaging problem

my phone keeps giving me a SORRY! MESSAGING (IN APPLICATION MESSAGING IS NOT RESPONDING) ANY SUGGESTIONS?
mrmitch8803 said:
my phone keeps giving me a SORRY! MESSAGING (IN APPLICATION MESSAGING IS NOT RESPONDING) ANY SUGGESTIONS?
Click to expand...
Click to collapse
Force quit?
mrmitch8803 said:
my phone keeps giving me a SORRY! MESSAGING (IN APPLICATION MESSAGING IS NOT RESPONDING) ANY SUGGESTIONS?
Click to expand...
Click to collapse
you have too many messages and need to delete them. This happened to me and slowed down my phone. I deleted them and it ran fine and I got no message after that. Also clear the browser cache
the problem is when i try to delete threads, it freezes again
mrmitch8803 said:
the problem is when i try to delete threads, it freezes again
Click to expand...
Click to collapse
I had 400 messages and it took me a good 5 minutes to delete them all... I probably clicked the wait button a good 5 to 10 times.
thanks, i'll try that but i got way more messages then 400 lol
mrmitch8803 said:
thanks, i'll try that but i got way more messages then 400 lol
Click to expand...
Click to collapse
I had 600 when I noticed the slow down... it took awhile to delete those since then I delete at about 400 or so
FWIW, it seems there might be a problem with the push on outgoing messages tonight
I am having a problem that when I get new SMS, it uses the "From" in the list of messages as an old (and deleted) thread all the time. I also can't reply to those SMS, but have to Compose a new message to respond. The only SMS that seems to work correctly are ones that I had received from contacts before I received the one SMS that it keeps using as the "From". So, in case it wasn't clear, all my new SMS show as coming from the same address (which happens to be an email address) and I can't reply to them. I'm sure a hard reset would fix this, but I don't want to have to go through reloading everything to just fix this one thing. Any help would be greatly appreciated!!
gsm1 said:
I am having a problem that when I get new SMS, it uses the "From" in the list of messages as an old (and deleted) thread all the time. I also can't reply to those SMS, but have to Compose a new message to respond. The only SMS that seems to work correctly are ones that I had received from contacts before I received the one SMS that it keeps using as the "From". So, in case it wasn't clear, all my new SMS show as coming from the same address (which happens to be an email address) and I can't reply to them. I'm sure a hard reset would fix this, but I don't want to have to go through reloading everything to just fix this one thing. Any help would be greatly appreciated!!
Click to expand...
Click to collapse
I am a little confused on what is happening. You are saying you are receiving a ton of messages from an email address? or that your sending sms from an email address?
neoobs said:
I am a little confused on what is happening. You are saying you are receiving a ton of messages from an email address? or that your sending sms from an email address?
Click to expand...
Click to collapse
Any new SMS I receive from a contact show up in the message list (main screen where the "New Message" option shows as well as your messages threads) as coming from this one specific email address I received a message from about a week ago. If I open up that message thread, it shows the SMS as coming from the correct person but if I try and reply to it, it gives me an error saying "Your message has no valid recipients", so I have compose a new SMS from the main screen and put the address in to be able to respond. Some how it is keeping that one address and assigning any new SMS to that name in the thread list as well as not using the right address for replying. It's really strange and it's bugging the heck out of me!
gsm1 said:
Any new SMS I receive from a contact show up in the message list (main screen where the "New Message" option shows as well as your messages threads) as coming from this one specific email address I received a message from about a week ago. If I open up that message thread, it shows the SMS as coming from the correct person but if I try and reply to it, it gives me an error saying that there is no address so I have compose a new SMS and put the address in to be able to respond. Some how it is keeping that one address and assigning any new SMS to that name in the thread list as well as not using the right address for replying. It's really strange and it's bugging the heck out of me!
Click to expand...
Click to collapse
That sounds extremely weird. I would think a hard reset will fix the problem.
kinda weird
is every one else having issues with receiving MMS? when i hit dowload it doesnt go trough. i have to try it like 20 to 30 mins later. in order to be able to download it. and tonight i wasnt able to send txt messges just receive. i had to power off and power it back on..
and it might be off topic.. but my web browser stops working all of a sudden and i make shure it says 3g ontop or atleast edge.?? i do have RC19. do u guys think the update will fix the issue?
cangri87 said:
is every one else having issues with receiving MMS? when i hit dowload it doesnt go trough. i have to try it like 20 to 30 mins later. in order to be able to download it. and tonight i wasnt able to send txt messges just receive. i had to power off and power it back on..
and it might be off topic.. but my web browser stops working all of a sudden and i make shure it says 3g ontop or atleast edge.?? i do have RC19. do u guys think the update will fix the issue?
Click to expand...
Click to collapse
Call Cust service and tell them you need Tier 2 support for Smart/Blackberry. They can fix your texting issues
neoobs said:
That sounds extremely weird. I would think a hard reset will fix the problem.
Click to expand...
Click to collapse
I am having the same problem. When I send a new sms or recieve one, the reply always goes to the first entry in my address book, which happens to be a land line, and I then have to create a new message to reply. I tried deleting all the old messages, and now all the messages have this same problem.
Is there any way to fix this without having to do a hard reset?
I had to get a new SIM card from T-Mobile to resolve my messaging problems. Guess it was a good time since I had the same one for 8 years now.
I had to get a new SIM card when I bought my G1, mine was only 5 years old ;-)
So that shouldnt be the issue for me.

system/application logs? can't send MMS

Are there any system, application or activity logs available for G1's with root access?
I'm having problems sending MMS, they all just go to the "could not send" list, and I really would like to know what keeps the messages from being sent. Are there any logs I can look at to start digging for clues? Any 'debug' mode or similar?
The problem itself I have described in this thread:
http://forum.xda-developers.com/showthread.php?t=450953&page=3
Thanks,
Christopher
My g1 tells me mms does not send and it resends them everytime auto. The prob is, it says doesnt send but the recipient gets it. So they get a lot of mms off me
I also have problem to send MMS I can recive but not send

SMS going to the wrong place

I'm having a very strange problem with sending text messages to certain people on my Hero. I noticed people not getting my messages and just thought that maybe they weren't being sent at all.. Until I decided to look at the "details" of some of my sent messages. Instead of the name or number that I entered, it keeps sending certain text messages to this address "[email protected]". Now, I receive alerts from Bank of America from this address occasionally, but it is not in my address book at all, and even when I delete messages that I receive from them I still have this problem.
Then of course, since that is not a valid phone number or e-mail address, I get a delivery failure messages every time I send a text to that address. Anyone have any ideas why it keeps sending messages like this?? I have hard reset, and switched Heros a couple of times, and it still does this. I've tried using Handcent, still no luck. With Handcent, after I send certain people a text message, the title of the conversation is even the Bank of America address, and not the person's name!
Any help would be appreciated, this is driving me crazy!
Maitiu said:
I'm having a very strange problem with sending text messages to certain people on my Hero. I noticed people not getting my messages and just thought that maybe they weren't being sent at all.. Until I decided to look at the "details" of some of my sent messages. Instead of the name or number that I entered, it keeps sending certain text messages to this address "[email protected]". Now, I receive alerts from Bank of America from this address occasionally, but it is not in my address book at all, and even when I delete messages that I receive from them I still have this problem.
Then of course, since that is not a valid phone number or e-mail address, I get a delivery failure messages every time I send a text to that address. Anyone have any ideas why it keeps sending messages like this?? I have hard reset, and switched Heros a couple of times, and it still does this. I've tried using Handcent, still no luck. With Handcent, after I send certain people a text message, the title of the conversation is even the Bank of America address, and not the person's name!
Any help would be appreciated, this is driving me crazy!
Click to expand...
Click to collapse
oh yuck... wipe your phone dude... then update your PRL under settings (it's in there somewhere) and don't install any online banking apps untill that is fixed... that definately sounds like a bug
You may want to check this thread to see if this is what's happening. I think I'm getting something similar on my Droid Eris after receiving a text from an email client.
http://code.google.com/p/android/issues/detail?id=1233
Unfortunately, it doesn't appear that there is a fix beyond hard resetting phone
And even more unfortunately, it looks like this issue goes back over a year with no resolution!!! Hope this isn't what I have to look forward to with an 'open source' operating system...
this is happening to me as well. I don't have any banking apps installed but I do get an SMS from my bank telling me when my paycheck has been deposited. ALot of my messages come in to this thread and there have been times that I thought I was responding to a person who had just messaged me who did not get my text. If I were to start from 'people' and find a contact and send a message from there, it will work.
btw, this is from handcent.
Thanks for the link, I had searched everywhere, I thought, without any luck. Just from reading the first post, that is exactly what happens to me. I'm gonna go finish all of the posts about it, thanks again!
Well, as you'll find out from the thread, the only real way to get your text messaging working properly again is to hard reset the phone. Bummer, I know.
You may try what I did, though, and use an app called MyBackup Pro (free 30-day trial) to backup some of your important items before you do the reset.
I backed up my settings/home/bookmarks and then separately my contacts. I didn't back up my apps, but chose to redownload them from the Market since they are listed in My Downloads. Then as soon as I reset my phone, I first re-installed as many of my apps as possible (including MyBackup of course), and THEN restored my settings and contacts.
I still had to reset the settings on some programs, but it definitely saved a bit of time.
And this may be random, but I experienced an issue after resetting where my phone would not dial out to anyone. Turns out, Verizon had to reset something on their end that got screwed up. You have to get to level 2 tech support to fix this.
Hope this helps...
I am having the same issues. Will try a hard reset and see if that helps. I have also disabled any texting services from B of A or Fbook or Twitter. Hopefully that will fix it. Thanks for the thread.

msg app resending problem, can app be disabled

I had a problem with the stock msg app going into a continueoues looping resending a text because it was reprtoing that the number was incorrect.
So:
1. I couldn't find this, but is there a way to NOT have it resend on an error
2. If I load on any msg app, is there a way to disable this msg app?
3. any other options anybody can provide??
Thanks
I found this in another phone thread, so I guess this is how to disable the stock if I gho that route..
Open messages and hit menu. Uncheck received notification.
Very strange and anoying. I disabled the stock app, installed handcent set the settings where I thought it doesn't resend on error nd then it starting sending the same msg over and over that the stock one was sending.
FYI - msg is:
2288 error invalid number, please re-send using valid 10 digit number or short code. how can i clear out this msg or have my msg app stop sending it???
update, I did a search and found a number of peiople reporting this problem on other phones but no reported fixes related to this phone. So stuck right now with handcent uninstalled, it continued to resend the stupid msg even with the data off. So back to stock with data off, so NO text functionality at this time unles I can figure out how to clear. reset was suggested on the phone, but that will blow alot of instal apps and data away. so last resort..
EDIT: the last resort didn't work, factory reset and after reboot the d&*n text started up again... I don't under stand how it can send/receive text with no network setup... fyi - I using the phone on a at&t pre-paid network. The 3GS worked great, this phone has issues and thsi is the biggest one.

[Q] motorola i886 All SMS apps except built-in fail to send message

I have a motorola i886 which is a weird sorta-android phone with no touchscreen... Anyways, I managed to figure out how to root it but now I have another problem.
For some reason whenever I try to send a text message with anything other than the built-in messaging app, it will immediately fail to send. (they all get 'message failed to send' or 'message not sent' errors immediately after I try to send a message) I have tried chompsms, gosms and the quick reply feature from sms popup and they all fail. They can all read incoming messages OK but can not send for some reason.
Is this maybe some kind of permissions issue? In the manage applications menu it says that they all have the send_sms permission...
Does anyone have any idea of anything else I can check or try to get them working? I am kind of thinking that it may have something to do with the fact that this is such a strange phone and a weird modified android...

Categories

Resources