replacing mms.apk - G1 Q&A, Help & Troubleshooting

So basically I'm running drizzys fullv3 rom and the champv2.
some have stated that their is a problem with the mms on those roms.
Is there a way i can replace the sms/mms apk using terminal.
I really like the rom's but I hate missin sms/mms.
I can text myself and I recieve them. I also used txt2day.com and recieved them but from others I do not recieve all the text.
I was also told upgrading your ext2 to ext3 would help.
Is there anyway to verify that upgrade_fs worked?
thanks in advance.

Related

SMS database Hero to normal Cupcake

Let me copy paste my question I did not yet find an answer to from the Cyanogenmod thread:
I was running the JACHeroski Hero build, 2.7.3 and that was also the first thing I installed when I got the phone last week, but now I decided I wanted to "downgrade" to CyanogenMod. The only downside is that even if I backup my SMS messages they do not transfer to the old ROM. The file copies, but the messages do not show up in the application.
Eventually I decided to compare the newer database and the older one, and the error turned out to be in the SPU table (thank you logcat), I recreated that (it was empty anyway) and then I could access all my messages again. Downside again was that I could not send messages anymore, every time I did that I got an error "Could not send message" and logcat did not show any errors.
Next step was insert all my SMS messages and threads into a blank database from that firmware, which worked and SMS sending worked too, but I still continuously got the error message that the messages could not be sent, while they in reality did send. Receiving worked fine all the time.
Anyone have any idea how I can install other builds than the Hero one I am running now and also solve this problem?
Backup your SMS using a program like My Backup. IT works transferring SMS from any build to any build. I.E. hero-->cm-->mytouch. DO a wipe and a fresh install of CM3.6.8.1. Currently 3.9.6 has some issues
I tried this out this afternoon and it has solved all my problems. With just Backup for Root Users it failed and manually injecting the messages into an SQLite database also failed for me, but after I did this once it works fantastically. Many thanks, I'm very glad it worked out.

Mms.apk ... replacement? needed? hmmmm**RESOLVED**

I am running the cyanogen 4.1.999 and I was wondering if anyone here would know IF the Mms.apk would have to remain in the update file/rom in order for the ROM to work or flash. I would rather just use handcent sms instead ... reason is that there is a blacklist feature on handcent sms that hides the messages from a person on that list until you unblacklist them BUT you can ALWAYS still see the messages if you open the regular built in text message app .... which kind of defeats the purpose.
SO really I was wondering...
if the Mms.apk would cause the ROM to fail install if it was gone
If the Mms.apk HAS to be in the ROM for the text messages/picture messages to work
See about leaving out the Mms.apk and just install handcentsms and use it from there .. or if the text/picture messages just would not work at all with that Mms.apk file gone .. not real sure how tied into the framework/phone it is
any help on these questions would be great ... hope this is in the right spot for these types of questions.
RESOLUTION: after trying to remove the Mms.apk file before the flash with NO success I let it in and then I removed it from the terminal on the phone using this code
Code:
Su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/app/Mms.apk
also, It may ask you if you want to delete it .. if it does then type y for yes and hit enter then it should go back to the comand prompt when done.
after doign this you HAVE to reboot the phone. I can still send and recieve text and picture messages just fine with no wierd actions from the phone at all. The stock message app is now gone from the phone completely and I am now using the handcentsms app from the market as the only source for text application.
Nandroid and try it out is the best thing i can say, though you would have to remove the mms.apk from both cm4.1.999 and the htc image.
david1171 said:
Nandroid and try it out is the best thing i can say, though you would have to remove the mms.apk from both cm4.1.999 and the htc image.
Click to expand...
Click to collapse
well I just tried to take it out of the update file ... by the way I am using that all in one update that someone posted on there .. I didnt think about the htc image .. not real sure if this one has it in there ..
anyhow I tried to flash and it aborted due to the Mms.apk was missing it said .. hmmm .. wonder if there is any way to get this to work
Strapt said:
well I just tried to take it out of the update file ... by the way I am using that all in one update that someone posted on there .. I didnt think about the htc image .. not real sure if this one has it in there ..
anyhow I tried to flash and it aborted due to the Mms.apk was missing it said .. hmmm .. wonder if there is any way to get this to work
Click to expand...
Click to collapse
you did resign it didn't you? other than that i wouldn't know, sorry.

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.
More information about the sources is available in this post.
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.
Tested them on cm 4.2.2 and it works. Does this use ip traffic or sms?
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 =)
Bavilo said:
Tested them on cm 4.2.2 and it works. Does this use ip traffic or sms?
Click to expand...
Click to collapse
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
Zappletoo said:
Data only hopefully.. I've not been charged for any sms so far.
Click to expand...
Click to collapse
I'm going to push it into Cyan's build and remove TmoImPlugin.apk and see if it still works.
Well, it doesn't work without tmoimplugin, and with that, I know it uses sms.
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.
can you somehow modify im.apk so that it would stay in memory?
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 ^^
Do you have the source patches for these?
I'd like to have more feedback.. Does it work properly for everyone ? Any bugs or FC ?
cyanogen said:
Do you have the source patches for these?
Click to expand...
Click to collapse
The patch from ImProvider is here : http://code.google.com/p/cyanogenmod/issues/detail?id=597
but I couldn't recompile it from source without breaking everything.. I had to patch the apk directly. Maybe you'll do better.
The patch for the IM application is attached, the edited file is in packages/apps/IM/src/com/android/im/service
DOHCtor said:
can you somehow modify im.apk so that it would stay in memory?
Click to expand...
Click to collapse
I don't know how to do that, sorry. But it seems the app already stays in memory for a while. Are you sure it doesn't stay already, if it's not killed by an application manager ?
Sorry if I'm being a noob, but how exactly does one install this? I did
adb push /path/IM.apk /system/app
adb push /path/ImProvider.apk /system/app
and rebooted, and I still get SIM card cannot be read errors. I feel like I'm probably missing a step like installing.
enderx1 said:
Sorry if I'm being a noob, but how exactly does one install this? I did
adb push /path/IM.apk /system/app
adb push /path/ImProvider.apk /system/app
and rebooted, and I still get SIM card cannot be read errors. I feel like I'm probably missing a step like installing.
Click to expand...
Click to collapse
Yea, same here. I guess it doesn't work for users in the States. However, it does work on wifi but once I turn off wifi, it disconnects.
Try installing it from recovery if you didn't, and clear dalvik cache (rm /system/sd/dalvik-cache/* on cm with apps2sd, not sure about others).
i'm tryin using it on CM ROM 4.0.4 but when i try push it, i can't use the IM, is there anyone already can used that IM in CM ROM 4.0.4 ?? thanks before
I hate when my messages are loosed, and run loose around the intarwebs.
Additionally, I don't like to be LOSING messages. =9
Thanks! Works perfect on enomther 2.1.1
kamikaze2311 said:
i'm tryin using it on CM ROM 4.0.4 but when i try push it, i can't use the IM, is there anyone already can used that IM in CM ROM 4.0.4 ?? thanks before
Click to expand...
Click to collapse
It doesn't work on cupcake, donut only (cm >= 4.2).
danguyf said:
I hate when my messages are loosed, and run loose around the intarwebs.
Additionally, I don't like to be LOSING messages. =9
Click to expand...
Click to collapse
You can never have enough o's.
Did anyone else lose use of the market doing this?
ZeroGDarius said:
Did anyone else lose use of the market doing this?
Click to expand...
Click to collapse
Are you sure this is related ? I don't really see how the IM application could affect the market..

Call log mod for DK28

This is the same file that was modified by Mammon88, all I did was make it an update.zip and I can confirm it works on my phone running DK28
EDIT: Updated zip file to include the new APK mammon just provided.
If you already flashed and its working for you I don't see any reason to change to this zip...
NYYFan325 said:
This is the same file that was modified by Mammon88, all I did was make it an update.zip and I can confirm it works on my phone running DK28
Click to expand...
Click to collapse
Thanks.. I hate zippin file. Some reason I always get it wrong.. Here is the modded apk file pulled from dk28(Not sure if sprint changed anything but just in case). And thanks again!!
No problem... I enjoy being the guinea pig sometimes
Updated original posts update.zip w/ DK28 APK
So do we flash the zip off the OP or do we extract it and install the apk located inside of it?
Thanks guys!
Doesnt work for me; I still get the sms messages in the call log. I flashed the zip via Clockwork, any suggestions?
Worked great for me. Thank you sooo much. I was really tired of seeing my call logs filled with text messages.
thehustleman said:
Doesnt work for me; I still get the sms messages in the call log. I flashed the zip via Clockwork, any suggestions?
Click to expand...
Click to collapse
Its easier and quicker to move it to system/app via adb. Just copy LogsProvider.apk from the downloaded zip into your tools directory of your SDK folder. Then type in hitting Enter after each line:
adb push LogsProvider.apk sdcard/
adb shell
su
remount rw
cat sdcard/LogsProvider.apk > system/app/LogsProvider.apk
thehustleman said:
Doesnt work for me; I still get the sms messages in the call log. I flashed the zip via Clockwork, any suggestions?
Click to expand...
Click to collapse
I forgot to mention that I'm using EE 2.0.03.
The old one work as well. Running it now as we speak
anyway you can repost the old file you had up? the new one doesnt work for me
thehustleman said:
I forgot to mention that I'm using EE 2.0.03.
Click to expand...
Click to collapse
Didn't work for me either. What is EE 2.0.03?
If that's your CWM version mine is 2.5.1
The apk and odex files are in the sys\apps folder so the install worked. I'm just still seeing sms msgs in the log.
worked perfect for me. Thank you very much! That log was driving me nuts.
-Kenny
Just a FYI people, I think that this stops future messages from showing in the call log, but it doesn't remove previous messages that are in there. I just flashed this and i see messages in log but i just text'd myself and it didnt show up in there.
Bopchie is correct. If the sms still show in the call log you need to delete them and no future sms will show.
Sent from my Epic with Syndicated Frozen Yogurt
summer**** said:
Bopchie is correct. If the sms still show in the call log you need to delete them and no future sms will show.
Sent from my Epic with Syndicated Frozen Yogurt
Click to expand...
Click to collapse
Wish that were true. Unfortunately, new received texts still show up in the log. Even worse is when you select all the texts individually, it also checks the all logs box and when you click on delete, everything is gone.
odd, working fine here.. no new texts are showing up, just ones from before flashing it.
BopChie said:
odd, working fine here.. no new texts are showing up, just ones from before flashing it.
Click to expand...
Click to collapse
What's really odd is that now all my logs are back to where they were before I deleted all those texts in an effort to get them to stop showing up. Lets see what happens after I just deleted them all again.
so... im still lost. i get that i have to use the .apk or the zip... do i just copy the apk to that folder? or do have to run and install it? or can i just flash the zip as an update in clockwork?? totally lost.. but i definitely need this fix.

[Q] Replacing Logsprovider.apk

I'd like to remove SMS messages from my phone log. I've retrieved the logsprovider.apk file from Cognition 4.3 that I think has been modified to do this.
My question is basically can I just drop that file into the system/apps directory and have it do its thing? I notice there is a .odex file counterpart on my device that is not present in the Cognition rom and was wondering what effect that would have.
Just trying to do small things... Any advice would be appreciated. I'm on this path because I've done too much reading!
Running 2.2 with existz KB1 kernel. Just doing some things before I go Gingerbread.
Your firmware needs deodexed in order to drop that apk in.
Thanks. I wondered about that and since I'm still running essentially stock 2.2 it has not been, right?
Which is why all the custom ROM's say that they are... well shucks. Anyway, thanks for the reply.
Super easy way to get your texts to not show up in the log:
use handcent sms
That's what i use personally and the texts don't show up, even though i didn't modify the logsprovider.apk in my ROM.

Categories

Resources