[HOWTO] Fix Skype (and other audio) on Atrix
I have only tested this on 1.5.7 from AT&T.
It could **** up your device, use at your own risk. Mixing a Telstra shared library (v2.2.2) in our ATT 2.2.1 system is an ugly hack
... but, it fixes Skype.
root. adb. smarts.
You can do the following steps, OR, apply libaudio-new-cwm.zip in CWM...
1. adb push libaudio.so /data/local/tmp
2. adb shell, su, "mount -o remount,rw /dev/null /system"
3. "cp /system/lib/libaudio.so /system/lib/libaudio.so.orig"
4. "cp /data/local/tmp/libaudio.so /system/lib/"
Next steps cannot be skipped
if you are using "Root Explorer" or some other method besides adb to copy over your old libaudio.so:
5. "chown 0 /system/lib/libaudio.so"
6. "chgrp 0 /system/lib/libaudio.so"
7. "chmod 0644 /system/lib/libaudio.so
(sets mode to -rw-r--r--)
Enjoy your audio apps! Reboot doesn't seem to be necessary, the audio services crash and restart when the library is copied over. Hopefully we'll finally get a proper fix for this from the next OTA update.. you may want to return libaudio.so ("cp libaudio.so.orig libaudio.so") before you apply any OTA, so your system is virgin.
This mod can cause a boot hang if you do it wrong. If you wanna be safe, please do the following (hopefully except step 3
1. Have Tenfar's CWM installed first!!
TO GO BACK TO OLD (BROKEN) 1.5.7: Copy libaudio-recover.zip to /sdcard
TO USE NEW WORKING (TELSTRA): Copy libaudio-new-cwm.zip to /sdcard
2. Use CWM to apply new libaudio (or return to stock with 'recover.zip')
IF something happens and you want to recover your original (see NOTE below for non-ATT 1.5.7 users):
3. Start CWM, navigate to "Install zip from SDCARD" and "choose zip from internal sdcard" and pick libaudio-recover.zip from within CWM (to start CWM: pull battery after hang and then plug Atrix to a wall charger, NOT a PC usb hub and re-insert battery) This will bring you back to the old, non-working 4.1.57 libaudio.so.
If you are not on AT&T and 1.5.7 then copy your original libaudio.so into the libaudio-recover.zip and recompress libaudio-recover.zip (using 'deflate' [usually the default] setting ONLY.) Then put it in /sdcard before you tinker...
Or better yet
, use CWM to make a backup of your whole system which you can restore later... trust me, you won't regret it!
But so far, most have no problems with this mod... PM me if you do!