Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,386 Members 38,270 Now Online
XDA Developers Android and Mobile Development Forum

Fix kitkat SMS MAP (bluetooth) originator

Tip us?
 
thuddome
Old
(Last edited by thuddome; 30th May 2014 at 04:11 AM.)
#21  
thuddome's Avatar
Senior Member
Thanks Meter 113
Posts: 277
Join Date: Aug 2007
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
@thuddome, I've uploaded a version 1.0.debug of the module to the xposed repo. It's flagged as "Experimental" (because it can spam the xposed log.) To get it, go into the xposed installer, tap on "download", find "BTSMSMapFix" and tap it...swipe from right to left a couple times until you see the "settings" page, and change that to "experimental".

You should then be able to download the updated 1.0.debug version. After ensuring that it's selected, reboot so it takes effect, and then try again with your head unit.

Here are some key things to look for in the xposed log:

BTSmsMapFix successfully hooked setVCardFromPhoneNumber -- this means that the hook took place. If you don't see this line, it means that Samsung renamed the package from the standard "com.android.bluetooth" (which wouldn't surprise me.)

BTSmsMapFix set originator phone number to XXXXX -- You should see this after getting an incoming SMS message while your phone is connected to your head unit. "XXXXX" should be replaced with a phone number that starts "+1" (Assuming your in the US), and then 10 more digits. (If you post your log, please leave the +1 in there, but remove the rest of the phone number.)

BTSmsMapFix reverting to original code with incoming set to (true|false) -- You might see these, but hopefully not when you get a new incoming SMS.

Take care
Gary
No +1s on anything. I had a bunch of texts, I deleted all but a few for this. None had a +1 and still getting "no number available".

-----------------
May 29, 2014 11:11:46 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KOT49H.G900VOYU1ANCG' with fingerprint 'Verizon/kltevzw/kltevzw:4.4.2/KOT49H/G900VOYU1ANCG:user/release-keys'
Loading modules from /data/app/com.mohammadag.xposedledcontrol-1.apk
Loading class com.mohammadag.xposedledcontrol.LedControlMod
Loading modules from /data/app/org.garyndenise.xposed.btsmsmapfix-3.apk
Loading class org.garyndenise.xposed.btsmsmapfix.BTSmsMapFix

Loading modules from /data/app/com.gsamlabs.xposed.mods.enablebatterystatspermiss ion-1.apk
Loading class com.gsamlabs.xposed.mods.enablebatterystatspermiss ion.HookGetStatisticsMethodCall
Loading modules from /data/app/com.botsone.higoogle-1.apk
Loading class com.botsone.higoogle.HiGoogle
Loading modules from /data/app/com.oasisfeng.greenify-2.apk
Loading class com.oasisfeng.greenify.pro.FrameworkPatch
Loading class com.oasisfeng.greenify.pro.SettingsPatch
Loading modules from /data/app/ma.wanam.youtubeadaway-2.apk
Loading class ma.wanam.youtubeadaway.Xposed
Loading modules from /data/app/ma.wanam.xposed-7.apk
Loading class ma.wanam.xposed.Xposed
Loading modules from /data/app/com.hunterx.pandorapatcher-1.apk
Loading class com.hunterx.pandorapatcher.Patches
Loading modules from /data/app/uk.co.villainrom.pulser.allowlongsms-1.apk
Loading class uk.co.villainrom.pulser.allowlongsms.AllowLongSMS
BTSmsMapFix successfully hooked setVCardFromPhoneNumber
Loaded app: com.vlingo.midas
BTSmsMapFix set originator phone number to XXXXXXXXXX
BTSmsMapFix reverting to original code with incoming set to false (I used voice dial to call myself by name out of the 430 phone book which worked)
BTSmsMapFix reverting to original code with incoming set to false
BTSmsMapFix set originator phone number to XXXXXXXXXX


I do have SQLite editor if you need me to dump something for ya.
https://dl.dropboxusercontent.com/u/84121/gs4sigsm.jpg
 
garyd9
Old
#22  
garyd9's Avatar
Recognized Developer - OP
Thanks Meter 1,983
Posts: 1,951
Join Date: Sep 2006
Location: Pittsburgh, PA
Quote:
Originally Posted by thuddome View Post
No +1s on anything.
Damn. Okay, I'll see what I can do again tonight. Assuming a phone number of "(123) 456-7890", how is that phone number showing up in that xposed log when you get a message? (What I'm trying to find out is if the number is just a string of 10 numbers, or if there is ANYTHING else in the string.)

I might throw together a quick test that just prepends a hard coded "+1" to the number to see if that works (as I'm guessing that you aren't getting any SMS messages from outside the USA.) If it does, I can dig deeper for a more proper solution...

Take care
Gary

Donations: I don't accept donations, but if you are feeling charitable, help a child by going to http://www.shrinershospitalsforchildren.org/
and click the "Donate Now" link at the top.
The Following User Says Thank You to garyd9 For This Useful Post: [ Click to Expand ]
 
thuddome
Old
(Last edited by thuddome; 30th May 2014 at 03:10 PM.)
#23  
thuddome's Avatar
Senior Member
Thanks Meter 113
Posts: 277
Join Date: Aug 2007
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
Damn. Okay, I'll see what I can do again tonight. Assuming a phone number of "(123) 456-7890", how is that phone number showing up in that xposed log when you get a message? (What I'm trying to find out is if the number is just a string of 10 numbers, or if there is ANYTHING else in the string.)

I might throw together a quick test that just prepends a hard coded "+1" to the number to see if that works (as I'm guessing that you aren't getting any SMS messages from outside the USA.) If it does, I can dig deeper for a more proper solution...

Take care
Gary
It's just straight numbers "BTSmsMapFix set originator phone number to 3031234567" (This is exactly how it shows up)

I'm in Denver, area code is 303

I do get some SMS from overseas but don't worry about them. They are rare, maybe once a month. Not sure if it matters but I'm using Verizon's Messaging+ app right now, it's their customized version of the kitkat messaging.
https://dl.dropboxusercontent.com/u/84121/gs4sigsm.jpg
The Following User Says Thank You to thuddome For This Useful Post: [ Click to Expand ]
 
garyd9
Old
#24  
garyd9's Avatar
Recognized Developer - OP
Thanks Meter 1,983
Posts: 1,951
Join Date: Sep 2006
Location: Pittsburgh, PA
Quote:
Originally Posted by thuddome View Post
... using Verizon's...
I must have missed that before.. you're on CDMA/Verizon. That explains a bit. GSM-based carriers tend to use a specific standard. CDMA based carriers may... or may not.

I hope your patient, as getting this to work for you might take quite a bit of trial and error...

Donations: I don't accept donations, but if you are feeling charitable, help a child by going to http://www.shrinershospitalsforchildren.org/
and click the "Donate Now" link at the top.
The Following User Says Thank You to garyd9 For This Useful Post: [ Click to Expand ]
 
thuddome
Old
#25  
thuddome's Avatar
Senior Member
Thanks Meter 113
Posts: 277
Join Date: Aug 2007
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
I must have missed that before.. you're on CDMA/Verizon. That explains a bit. GSM-based carriers tend to use a specific standard. CDMA based carriers may... or may not.

I hope your patient, as getting this to work for you might take quite a bit of trial and error...
Like I said, it's never worked so what's another month or two... anything is better than now...
https://dl.dropboxusercontent.com/u/84121/gs4sigsm.jpg
 
garyd9
Old
#26  
garyd9's Avatar
Recognized Developer - OP
Thanks Meter 1,983
Posts: 1,951
Join Date: Sep 2006
Location: Pittsburgh, PA
Quote:
Originally Posted by thuddome View Post
... anything is better than now...
PM sent with a link...

Donations: I don't accept donations, but if you are feeling charitable, help a child by going to http://www.shrinershospitalsforchildren.org/
and click the "Donate Now" link at the top.
The Following User Says Thank You to garyd9 For This Useful Post: [ Click to Expand ]
 
garyd9
Old
#27  
garyd9's Avatar
Recognized Developer - OP
Thanks Meter 1,983
Posts: 1,951
Join Date: Sep 2006
Location: Pittsburgh, PA
xposed repo updated with version 1.1: adds support for CDMA devices.. tested on verizon Samsung Galaxy S5. Also corrects recipient vcards to use proper E164 phone numbers (instead of whatever slop might be in a user's contact list.)

Thanks to @thuddome for testing the changes. It's currently listed as a "beta" release type. As soon as someone tells me that I didn't break it between thuddome's last test and the cleanup I did afterwards, I'll change that to be a normal (stable) version.

Take care
Gary

Donations: I don't accept donations, but if you are feeling charitable, help a child by going to http://www.shrinershospitalsforchildren.org/
and click the "Donate Now" link at the top.
 
thuddome
Old
#28  
thuddome's Avatar
Senior Member
Thanks Meter 113
Posts: 277
Join Date: Aug 2007
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
xposed repo updated with version 1.1: adds support for CDMA devices.. tested on verizon Samsung Galaxy S5. Also corrects recipient vcards to use proper E164 phone numbers (instead of whatever slop might be in a user's contact list.)

Thanks to @thuddome for testing the changes. It's currently listed as a "beta" release type. As soon as someone tells me that I didn't break it between thuddome's last test and the cleanup I did afterwards, I'll change that to be a normal (stable) version.

Take care
Gary
I just tested 1.1, worked great! Verizon SGS5 with Jeep 430N RHB, text messages now announce sender's name instead of "no number available".

Great work man, thank you!
https://dl.dropboxusercontent.com/u/84121/gs4sigsm.jpg

The Following User Says Thank You to thuddome For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes