Monday, 9 May 2011

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.

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

To install:
  1. 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
  2. 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.
  3. Using a root capable file management app like root explorer
    Installing using Root Explorer (via I2asta)

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 050311cgoogle apps pack. However on my Nexus One (2.3.4 CM7.61) even that didn't help but I am quite happy with working audio chat.

Files and Screenshot attached.



Update: 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

Enjoy!

Attached Files
File Type: zipTalk_with AV.zip (2.62 MB, 7069 views)
File Type: zipTalk_with_AV_no_wifi.zip (2.62 MB, 416 views)
File Type: ziptalk1.3.nowifi.update-signed.zip (2.82 MB, 962 views)

No comments:

Post a Comment