Getting rid of Google Talk - Hero, G2 Touch General

The question's simple: how do I get rid of Google Talk without doing any hardcore ROM modifications? (and while keeping sync of contacts and calendar working)
I have found out that in spite of not using Google Talk AT ALL, the device keeps an open connection to gtalk's server:
Code:
$ netstat
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.0.103:57714 209.85.137.188:5228 ESTABLISHED
Tapping "Logout" in Google Talk doesn't change a thing. Even after killing all possible processes, the connection still remains active.
And it's not some stray leftover: if I request a Jabber authorization from my Google account, a notification immediately pops up on my phone.

adb remount
adb rm /system/app/googletalk.apk
probs

iammodo said:
adb remount
adb rm /system/app/googletalk.apk
probs
Click to expand...
Click to collapse
Thanks. Any chance of reaching the goal without root?

as its a system folder probably not.

I would be a little careful about removing GTalk if I were you.
I know that in the past when people were having problems, one of the solutions that Google suggested was to log into GTalk. This makes me wonder if some of the other Google apps use parts of GTalk (or the protocol). I'm not saying this is definitely the case, but bear it in mind if you experience problems after removing GTalk.
Regards,
Dave

i removed the gtalkservice once, breaks your phone. not physically, but it will give you problems. if you are annoyes by the "talk" icon in the menu remove only talk:
adb remount
adb shell rm /system/app/*Talk*
works fine.

Related

Facebook constantly logging out today?

I know we have an issue where Facebook randomly logs out, but is anyone having an issue today where it consistently refuses to stay logged in? If I log in it tells me I have done (little green light), then if I exit settings, go back in, go to Social Networks I'll already logged out.
Anyone else?
yes, i'm getting the same - thought it was just me!
Ah, I'm glad it's not just me!
it's the first time i lost my facebook connections just a few minutes ago...prior to today i never had any issue with staying logged in...but it seems like this bug has finally reached me too
blah it just happen to me now, every time i try to log in it logs me back out... what to do...
I do hope that facebook hasn't denied access from hero devices? that could be a big problem for htc
ultradv said:
I do hope that facebook hasn't denied access from hero devices? that could be a big problem for htc
Click to expand...
Click to collapse
They wouldn't do that would they? And I'm guessing the info just comes from the API whcih is widely available.
yeah this must be a general API issue, which will be fixed some time by facebook. i wouldnt worry to much, just wait...
Phu... I'm glad to hear that you guys are also affected
I spent some time last week to 'debug' this problem.
The thing is that we lose the session_token in /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db.
You can check it with the following command:
Code:
adb shell sqlite3 -column -header /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db "SELECT * FROM service WHERE service_name='facebook';"
So I generated a 'backup' of the SocialNetwork.db (working one) file (to /sdcard) to dump it back if needed:
Code:
adb shell cp /data/com.htc.socialnetwork.provider/databases/SocialNetwork.db /sdcard
Now every time I lose the associations I have to do the following (I wrote a little .apk file):
Code:
adb shell cp /sdcard/SocialNetwork.db /data/com.htc.socialnetwork.provider/databases/
adb shell pkill com.htc.socialnetwork.accountmanager
adb shell pkill com.htc.provider
This works for me. But unfortunately somtimes after dumping back the 'working' SocialNetwork.db file I had to run the pkill commands (especially for com.htc.provider) more than one time. Don't ask me why. Thats also the reason why I can't provide my .apk file. Its really not a 'good' or 100% working solution.
Do you guys know if HTC/Facebook is already aware off this problem?
Same here! It refuses to stay logged in!!!
facebook has been having many general problems recently, seems like we just have to weather the storm.
Happened to me from 3PM today (2PM GMT) time - thus about 3 hours now.
I've lost all my Facebook contact links and info eg. pictures and updates.
It seems to be connected with the legal dispute that Facebook have just settled/lost as of today: http://www.pcworld.idg.com.au/article/319250/facebook_will_shut_down_beacon_settle_lawsuit and http://answers.yahoo.com/question/index?qid=20090920194937AAF8sJD
Apparently facebook are making system changes to their advertising backend configuration and this may be the reason.
Really hope it's back soon ...
domi55 said:
Phu... I'm glad to hear that you guys are also affected
I spent some time last week to 'debug' this problem.
The thing is that we lose the session_token in /data/data/com.htc.socialnetwork.provider/databases/SocialNetwork.db.
...
Code:
adb shell cp /sdcard/SocialNetwork.db /data/com.htc.socialnetwork.provider/databases/
adb shell pkill com.htc.socialnetwork.accountmanager
adb shell pkill com.htc.provider
This works for me. But unfortunately sometimes after dumping back the 'working' SocialNetwork.db file I had to run the pkill commands (especially for com.htc.provider) more than one time. Don't ask me why. That's also the reason why I can't provide my .apk file. Its really not a 'good' or 100% working solution.
Do you guys know if HTC/Facebook is already aware off this problem?
Click to expand...
Click to collapse
Same Facebook connection problem here!! So, I try your method.
Well, after reinstalling the SocialNetwork.db file from my backup and killing related process, Facebook connexion work again!!! I just need to resync my contacts with FB.
But, one or two minutes after, Album app lists my FB contact, but this app can't display one contact galery and request my FB account setting.
After that, going in Contact app clear my FB association and the database was reduced from ~300KB to ~30KB!!!
I am no at the same point! FB connectivity was lost today!
Hope FB will work soon!
regards,
David
I have the logging out issue too.
At 1st I thot is because I had installed the FaceBook Apps from the market place thus causing conflict with the HTC scene FaceBook.
But seems like most of the ppl also getting the same logging out issue. Did anyone of you having this issue without installing the additional FaceBook apps from market place?
In order to keep myself logged to Facebook, the only way for me now is to disable Auto-Update. This able me to keep my Faceboob contact Photos, album access but it will not do Auto-update. I wonder if Facebook or HTC know about this bugs or not.
Hello
Since 10pm yesterday, FB seems to work again. So it was a server side problem. The only thing lacking in our Hero is a good error message, I think.
Bye
David
hyde said:
I have the logging out issue too.
At 1st I thot is because I had installed the FaceBook Apps from the market place thus causing conflict with the HTC scene FaceBook.
But seems like most of the ppl also getting the same logging out issue. Did anyone of you having this issue without installing the additional FaceBook apps from market place?
In order to keep myself logged to Facebook, the only way for me now is to disable Auto-Update. This able me to keep my Faceboob contact Photos, album access but it will not do Auto-update. I wonder if Facebook or HTC know about this bugs or not.
Click to expand...
Click to collapse
i can't seem to attach a facebook photo to my contact, i've given up
I noticed that Facebook on my PC constantly logs me out as well, so it may be a general issue with Facebook, rather than anything to do with Hero or mobile access..
Unless there is some issue with being logged in on both Hero and PC? Would they clash, and force one to log out maybe?
Its a SpaceBook problem...
http://www.macworld.co.uk/digitallifestyle/news/index.cfm?RSS&NewsID=27229
seems to work again now.
the good thing is, i didn't have to assign the contacts to their FB accounts again. After logging in everything was as before! cool!

too many login attempts problem

so someone was trying to guess to the login combo and now it says "too many pattern attempts" enter gmail and password. well i did but it says invalid login. i know its right i only have 1 gmail account and never changed the password. any ideas, im on a cyanogen rom, but reflashing is out of the question, i have alot of stuff on here i need
do u have apps2sd? if you reflash, then you don't lose any of your apps if that is the problem.
well i do, but i have texts i need and information on sticky notes i need. has anybody else had this problem, is there any other way around a reflash
I doubt there is a way around it. If you do end up reflashing, you will still have to figure out your gmail or else you won't be able to sync up your contacts. you could of course make a new gmail, but you will just have to basically start from scratch.
If you put in a different sim card, it still asks for your password because the gmail is not connected with that sim card. I have tried it before.
tazz9690 said:
I doubt there is a way around it. If you do end up reflashing, you will still have to figure out your gmail or else you won't be able to sync up your contacts. you could of course make a new gmail, but you will just have to basically start from scratch.
If you put in a different sim card, it still asks for your password because the gmail is not connected with that sim card. I have tried it before.
Click to expand...
Click to collapse
well thats the problem right there. i know its the right gmail account, im logging into it from my pc. the phone has some kind of glitch or something
jak33 said:
well thats the problem right there. i know its the right gmail account, im logging into it from my pc. the phone has some kind of glitch or something
Click to expand...
Click to collapse
it might be the rom then. you're going to have to wipe and reflash.
If ADB is enabled on the phone, then you do NOT need to flash anything.
Connect USB to your computer, "adb shell",
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
update system set value=0 where name='lock_pattern_autolock';
update system set value=0 where name='lockscreen.lockedoutpermanently';
.quit
If you want to CLEAR the existing key as well (in case you forgot it), do this;
rm /data/system/gesture.key
Note: this problem has nothing to do with the build. It is common across android and is from the google end of things.
IT DOES NOT USE the current gmail password.
IT WANTS the ORIGINAL gmail password -- i.e. the one that you used when you went through the initial phone setup procedure.

How to stay logged-in to Google Talk?

Greetings Experts,
I can log in to Google Talk, hit Back to go back to the home screen, then go in to Google Talk again and I'm still logged-in.
However, if I check again later on (few mins, few hours), it logs in again. This means the app was not even running and I was not logged-in to Google Talk.
Question: How do I stay logged-in to Google Talk all the time?
I'm running Cyanogenmod v4.2.13 dated Jan 13, 2010.
Go to a terminal and type "netstat". If there is a line that says "5228 established", then you ARE LOGGED IN.
The application itself does NOT need to be running in order for you to be logged in.
didn't last overnight
lbcoder said:
Go to a terminal and type "netstat". If there is a line that says "5228 established", then you ARE LOGGED IN.
Click to expand...
Click to collapse
Thanks for the info, you know your stuff. I let it sit all night, then just checked it now:
Code:
netstat | grep 5228
Got nothing. Opened the app, it logged me in again. I go back to the terminal and check again and 5228 is in the list and ESTABLISHED. I wonder if there is a timeout in effect here?
Do you have all your google services set to auto-sync? I.e. are you receiving push gmail? Because this stuff all shares the connection over 5228.
still connected!
lbcoder said:
Do you have all your google services set to auto-sync? I.e. are you receiving push gmail? Because this stuff all shares the connection over 5228.
Click to expand...
Click to collapse
Yes, auto-sync is on (never changed it). I just checked the netstat report and 5228 is still there, and I haven't touched the Google Talk app since yesterday morning. Seems to still be working. <shrug>?
Maybe just a network glitch...
Use another program, that has Google talk in it, like Meebo, eBuddy, Palringo, they have options to reconnect automatically, and notifications on the taskbar.
Android kills processes when it runs low on memory, even if they're a Service like this.
paulspiteri said:
Android kills processes when it runs low on memory, even if they're a Service like this.
Click to expand...
Click to collapse
Is there a way to have Android make an exception so that it does not kill the GTalk process?
jedihawk said:
Greetings Experts,
I can log in to Google Talk, hit Back to go back to the home screen, then go in to Google Talk again and I'm still logged-in.
However, if I check again later on (few mins, few hours), it logs in again. This means the app was not even running and I was not logged-in to Google Talk.
Question: How do I stay logged-in to Google Talk all the time?
I'm running Cyanogenmod v4.2.13 dated Jan 13, 2010.
Click to expand...
Click to collapse
I'm having the same problem running cyanogen...i think it may be the rom but i really hope thats not the case...i've been looking all over for a solution and i havent really been able to find one. I think what ever the problem may be its also causing me to receive my emails from gmail much later...sometimes i wont receive an email untill the next day. If anyone knows of any fixes then please help out
Known Issue
OP,
This is a known issue with the Cyanogenmod build
You can read more about it here at the cyanogenmod bug tracker and star it! This will help get the priority of the problem raised and hopefully solved.
Please check this out:
http://code.google.com/p/cyanogenmod/issues/detail?id=913
DZ

Wear networking for all installed apps (side-loaded)

I have managed to get Google play store to installed on my Gwatch and it signed in fine and got my account setup but every time I start it there is no network connection is there an edit to wear file system or build.prop etc.. That could let normal Google apps side loaded to have networking?
Currently there is no real networking. It seems that play services proxies requests for play services through the phone, so no real connection is done. Currently I think the only supported way of getting content from sources that require networking is with a phone-side app pushing it back and forth.
So how does it know when my password was right wrong and set up my account? It did have to have networking to setup account?
iAppleDev said:
So how does it know when my password was right wrong and set up my account? It did have to have networking to setup account?
Click to expand...
Click to collapse
As I said, Play Services proxies it's own connections. Play Store doesn't use Play Services for literally everything (browsing the store, etc.) only for authentication and purchases, the rest contact Google's APIs directly over HTTP.
Ok I'll keep trying
I had forgotten, during the next update they have been reporting that it will add WiFi to the OS. Which means that real networking will be coming soon. Probably not over Bluetooth, but once the subsystems are in place I'm sure someone will find a way to get real networking over Bluetooth.
/system/app and /system/Priv-app apks can use networking playStore, UCBrowser,etc...
Tutorial please!
prototovsky said:
Tutorial please!
Click to expand...
Click to collapse
Quote:
Originally Posted by iAppleDev
DOUBLE UPDATE
Full Networking for UCBrowser.apk
Use adb install
Install
UCBrowser.apk
And
/system/app/mover.apk
Then open /System app/mover.apk and click UC-browser.apk click ok and reboot.
Or adb shell Push or use a file manager to move the UCBroswer.apk to /system/Priv-app/ and change permission rw, r, r
Then you can download apks straight from watch and use ES file explorer.apk to install apks, all from the watch play store works too, the same way but installs apks so no need for file manage, there is not much space in/system partition, but it seems that any app in /system can have networking, also if you need more /system space you can delete or move some watch apks, ie photoWatchFace.apk moved to /data/app saves 4+mb but watch face can't update the pictures anymore but if you don't use Fit.apk,watchFaces.apks you could delete or move to recover more space for /system apks

Any way to truly deactivate or get rid of BB Hub?

Hi there,
from the moment I got my Priv about for months ago, I deactivated all of the BB apps and Bloatware (like Yahoo Finances) because I just don't need them. Sadly, you can't just uninstall them, so deactivating is the only way.
Just recently I discovered that despite being deactivated, BB Hub still had some permissions (maybe this was changed by the last OS update?) so I revoked them. Now BB Hub (which shouldn't be doing anything since it's deactivated) constantly sits in the notification bar and asks for permissions. I can't even edit or add new contacts without the BB Hub popping up on fullscreen and asking me to grant it permissions. But I don't want to.
Not only is the BB Hub superflous for me - I use Contacts+, don't use the FB app (only in the browser), have only one email-adress (and if I had more, I would integrate them into my gmail inbox) and I surely don't want to have those annoying Whatsapp messages in the same place where my SMS, calls and emails etc are.
I also don't trust BB and don't want to give them access to my contacts, calendar, messages or location. Why does the Hub need location data anyway? And why is the BB Hub so invasive that it even controls the standard Android contacts app?
This is so annoying! I just wish I could root my phone and install CM or any other AOSP-based ROM. But I can't. So the next best thing would be to get rid or at least truly deactivate apps like BB Hub. Does anyone know a way to achieve this?
Would it maybe be possible to get temp-root access and just delete the BB Hub file from the system folder?
Any help would be much appreciated, so thanks in advance!
EDIT: Okay never mind, I've found the culprit! Blackberry Services was active and had permissions. I deactivated it (again) and revoked the permissions and now the annoying pop-up is gone! The OTA update reactivated the BB Services (just as it had reactivated all other pre-installed apps). Guess I overlooked it after the last update.
Maybe some admin can just delete this thread. Or leave it there for others in the future who might encounter the same problem. Whatever's best.
Does your PRIV becomes smoother and less lag after deactivate all of them ? And will they reactivated back after a reboot ? Because my thoughts on Disabling apps, it will run as usual after a reboot.

Categories

Resources