[APP][ROOT] Google Talk 1.3 with Video calling, Now wifi optional!
This is the new Google talk from the Nexus S update yesterday.
Requires: 2.3+ (as per this) and root. It has been reported to not work on ARM6 CPUs
What I did:
Deodexed, made a one line comment in the smali, recompiled, pushed...works!!!
File edited: \com\google\android\talk\SigninActivity.smali
Deleted line (#1141): invoke-interface {v4}, Lcom/google/android/gtalkservice/IImSession;->logout()V
Versions available: (Use the latest from below (#7), or use DeToX-cz's installer app)
1. "Talk_with AV.zip". Same as stock with just the FC fixed so it works on other phones.
2. "Talk_with_AV_no_wifi.zip" or "talk1.3.nowifi.update-signed.zip". Added a fix to let it work over your data connection.
3. "talk1.3.nowifi.v2-signed.zip". Added an additional fix to let it work over data.
4. xilard version. #3 with Camera and microphone tweaks.
5. Paul@Modaco's gTalk installer. Installs the new gTalk files. Needs root. Not sure what mods he has incorporated in it.
6. xilard version +theos0o portrait fix, by $omator
7. version "1.33" by theos0o [thread][multiupload link]. I copied the 3 files in the update.zip manually using android commander and it works fine. (Nexus one, 2.3.5 CM nightly)
To install:
Via ADB
(lines starting with # are comments)
Code:
#mount the /system partition as writeable
adb remount
#backup the old Talk app
adb shell mv /system/app/Talk.apk /system/app/Talk.apk1
#uninstall the old gtalk, I think it clears the related cached bytecode too.
adb uninstall com.google.android.talk
#copy the two new files
adb push libtalk_jni.so /system/lib/
adb push Talk2.apk /system/app
Via a flashable update. Choose one. (These sometimes require wifi)
Make sure you backup Talk.apk just in case. CM7, works for most, some report an error. Alternate1, this version simply copies the two system files, no mounting. (via puertoblack2003) Alternate2, uses busybox to mount/unmount /system. This is an unsigned zip. (via abhi0n0nakul) Alternate3: This full google apps pack from 20110503 includes it.
Credits:
1) Google for everything Android
2) The CyanogenMod team for CM7!!!!
3) JesusFreke for smali/baksmali
Notes:
- Many have reported the inability to switch between cameras. We will probably need to wait for the full 2.3.4 update.
- After installing, click on your own avatar in Google Talk and check "Allow video and voice chats" to enable. (via BluechipJ)
- Video does not work by default for most non Nexus S phones. Other threads note that you need 'GoogleServicesFramework.apk' from the 050311 google apps pack.
Files and Screenshot attached.
Updates:
05/04/11
Thanks to a hint by jmgrosen I've modded it such that you can always make A/V calls over cellular data. Attached. Follow the same instructions. Note that the gapps pack has Talk named as Talk.apk, so if you flashed that make sure you delete Talk.apk otherwise Talk2.apk will be ignored.
Attached update.zip too: talk1.3.nowifi.update-signed.zip
05/09/11
Another jmgrosen tip gives us a new and improved wifi-free version. wifiConnected() now always returns true.
Attached talk1.3.nowifi.v2-signed.zip. If you only need the updated apk, get it here 05/10/2011
More features thanks to xilard (allow front facing camera + camera switch, voice chat speaker fix)
APK: http://forum.xda-developers.com/show...&postcount=414 05/24/2011
Added "versions" section 07/24/2011
Added $omator version 09/22/2011
Added new theos0o version "1.33"
I confirmed this works on my Galaxy S i9000 with both video and audio only calls; however it is using the wrong camera and I can't figure out how to switch it to the FFC.
EDIT: Actually it is not sending video I was mistaken. I can see video though
Tried it just as you had it shown on my Hero CDMA with CyanogenMod 7.0.2...
Runs, but gets stuck at the boot screen with a wonky 'loading' type circle animation in the upper right hand corner. Eventually I get a Force Close.
Trying to do a Fix Permissions now...
Mod Edit: do not quote the ENTIRE OP...
Sprint Nexus S 4G
-- Time flies like an arrow;
Fruit flies like banannas.
Tested on nexus one running 2.3.3:
Installed OK, needed a "adb root" to have full access... I did it on recovery but I reckon it would work anyway.
Tested, I could see and hear the person perfectly clear.. but the person couldn't hear or see my camera image.
Tested on AdventVega tablet running 2.2
adb does it stuff but the Gtalk icon simply disappeared from my tablet. I'll try soon to install 2.3.3 for it...
Awesome,. mine says read only fly system. why is that?
Ah you need to mount the /system partition as RW.
do a :
adb remount
or (for my nexus one)
adb shell mount -o rw,remount -t yaffs2 /dev/mtdblock3 /system
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?