5,815,214 Members 39,015 Now Online
XDA Developers Android and Mobile Development Forum

Native IM application working with 3G + patch for GTalk losing messages [Feb 03 2010]

Tip us?
 
Zappletoo
Old
(Last edited by Zappletoo; 16th June 2010 at 09:48 PM.)
#1  
Senior Member - OP
Thanks Meter 2
Posts: 114
Join Date: Apr 2009
Default Native IM application working with 3G + patch for GTalk losing messages [Feb 03 2010]

I was bothered by the fact that Google Talk didn't show some of the messages I received. Johan de Koning submitted a patch that wasn't accepted by Google but works well. I applied this patch for personal use, but I thought that you might be interested as well.

Also, I had a look at the IM application and I modified it to allow login instead of having the "phone number cannot be read from your SIM" error. This might or might not work. It works for me, but users in the US have reported that it still fails.

UPDATE 16th Jun 2010:
Added version 1.1.2 from Cliq.

UPDATE 3rd Feb 2010:
New eclair version for IM.apk, completely untested. Might or might not work.
Patched ImProvider is no longer useful for Android versions >= 2.
Also, I removed the cupcake IM.apk because I just noticed it is broken and won't work. No-one should be still running a rooted cupcake anyway.

Notes
This is for donut. I tested it on cm 4.2.2 and 4.3.2.1, but it should work with any donut rom. As far as I know, it doesn't use sms at all. It still needs the tmo plugins to login, but no sms are sent. Other than that, it does exactly the same as when you login on wifi.

Installation
Some of these steps will fail depending on the rom (the dalvik-cache and odex part). These errors can be safely ignored.

First reboot into recovery, then, on your computer :
Code:
adb shell

mount /system
mount /sdcard
cp /system/app/IM.apk /sdcard/IM.apk
cp /system/app/ImProvider.apk /sdcard/ImProvider.apk
exit

adb push ImProvider.zip /system/app/ImProvider.apk
adb push IM.zip /system/app/IM.apk

adb shell

mount /system/sd
rm /system/sd/dalvik-cache/*
rm /system/app/ImProvider.odex
rm /system/app/IM.odex
umount /system/sd
umount /system
umount /sdcard
reboot
Of course, I'm not responsible if anything breaks. :P

More information about the sources is available in this post.
Attached Files
File Type: zip ImProvider.zip - [Click for QR Code] (49.2 KB, 697 views)
File Type: zip IM.zip - [Click for QR Code] (532.6 KB, 669 views)
File Type: zip ImProvider.cupcake.zip - [Click for QR Code] (49.2 KB, 189 views)
File Type: zip IM.eclair.zip - [Click for QR Code] (688.6 KB, 717 views)
File Type: apk IM-1.1.2.apk - [Click for QR Code] (694.4 KB, 443 views)
 
NguyenHuu
Old
#2  
NguyenHuu's Avatar
Senior Member
Thanks Meter 110
Posts: 1,689
Join Date: Nov 2007
Location: Northern California

 
DONATE TO ME
which roms are these for? cupcake? donut? hero? haha. i pushed them to my hero rom and they do not show up in my app tray or in applicantion manager.
 
Bavilo
Old
#3  
Senior Member
Thanks Meter 28
Posts: 675
Join Date: Apr 2009
Location: Marburg

 
DONATE TO ME
Tested them on cm 4.2.2 and it works. Does this use ip traffic or sms?
If you like what I'm doing, please press the button. Or buy me some Whiskey Here.
 
NguyenHuu
Old
#4  
NguyenHuu's Avatar
Senior Member
Thanks Meter 110
Posts: 1,689
Join Date: Nov 2007
Location: Northern California

 
DONATE TO ME
ok cool, probably for donut. i tried on Hero cupcake and it fails, just keep getting ForceCloses. owell, i dont use it anyways but just thought it be fun =)
 
DOHCtor
Old
#5  
DOHCtor's Avatar
Senior Member
Thanks Meter 118
Posts: 1,095
Join Date: Apr 2009
Location: Southern California
Quote:
Originally Posted by Bavilo View Post
Tested them on cm 4.2.2 and it works. Does this use ip traffic or sms?
You can try removing TmoImPlugin.apk and see if it still works.

edit:

I asked him in another thread earlier and this is his response

Quote:
Originally Posted by Zappletoo View Post
Data only hopefully.. I've not been charged for any sms so far.
I'm going to push it into Cyan's build and remove TmoImPlugin.apk and see if it still works.




T-Mobile G1 - First
MyTouch 3G - Second
Nexus One - Third
Nexus S - Fourth
Galaxy Nexus - Fifth
Nexus 7 - Sixth
Nexus 4 - Seventh
Nexus 5 - Current

I'm a Google Fan
 
DOHCtor
Old
#6  
DOHCtor's Avatar
Senior Member
Thanks Meter 118
Posts: 1,095
Join Date: Apr 2009
Location: Southern California
Well, it doesn't work without tmoimplugin, and with that, I know it uses sms.




T-Mobile G1 - First
MyTouch 3G - Second
Nexus One - Third
Nexus S - Fourth
Galaxy Nexus - Fifth
Nexus 7 - Sixth
Nexus 4 - Seventh
Nexus 5 - Current

I'm a Google Fan
 
Zappletoo
Old
#7  
Senior Member - OP
Thanks Meter 2
Posts: 114
Join Date: Apr 2009
Sorry for the lack of details.. I updated the first post to make it clearer. It doesn't send sms afaik, becaus my plan doesn't have unlimited sms and I wasn't charged for any sms since I patched the IM app.
Also, this is for donut only, because the IM subsystem changed a bit since cupcake.
 
DOHCtor
Old
#8  
DOHCtor's Avatar
Senior Member
Thanks Meter 118
Posts: 1,095
Join Date: Apr 2009
Location: Southern California
can you somehow modify im.apk so that it would stay in memory?




T-Mobile G1 - First
MyTouch 3G - Second
Nexus One - Third
Nexus S - Fourth
Galaxy Nexus - Fifth
Nexus 7 - Sixth
Nexus 4 - Seventh
Nexus 5 - Current

I'm a Google Fan
 
coredalae
Old
#9  
Senior Member
Thanks Meter 13
Posts: 207
Join Date: Jul 2009
Location: Utrecht
seems to work fine *tries out this im comparison to ebuddy, seems much faster ^^*

not sure if it uses sms, but dont think so.. ah well got unlimited anyway ^^
|G1 White (cm 6.1 2708 kernel 96mb swap a2sdext 604mhz)|
|Desire Z (CM nightly 1017mhz)
 
cyanogen
Old
#10  
cyanogen's Avatar
Retired Recognized Developer
Thanks Meter 5,695
Posts: 2,485
Join Date: Jan 2009
Location: Seattle

 
DONATE TO ME
Do you have the source patches for these?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Recovery? Check. Root? Check. Android One Ready for Lift Off!

Inthe last few weeks, we have been written quite a lot aboutAndroid One … more

Change the Style of Your Notifications with HeadsUp

Head Up notifications is one of these upcoming features that Android developers hid deep … more

Google Play Store to Show Price Ranges for In-App Purchases

Google recently announced a change to Google Play Store policy that requires … more

XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more