Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
eval-
Old
(Last edited by eval-; 30th April 2011 at 04:06 AM.)
#1  
Recognized Developer - OP
Thanks Meter 323
Posts: 227
Join Date: Sep 2008
Thumbs up [HOWTO] Fix Skype (and other audio) on Atrix

NOTE 1: I have only tested this on 1.5.7 from AT&T.

NOTE 2: 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.

Requires: 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/"

NOTE: 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.


WARNING
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!!
http://forum.xda-developers.com/show....php?t=1019143

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.

NOTE:
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!
Attached Files
File Type: zip libaudio.zip - [Click for QR Code] (165.9 KB, 743 views)
File Type: zip libaudio-recover.zip - [Click for QR Code] (320.4 KB, 560 views)
File Type: zip libaudio-new-cwm.zip - [Click for QR Code] (313.9 KB, 404 views)
The Following 19 Users Say Thank You to eval- For This Useful Post: [ Click to Expand ]
 
eval-
Old
(Last edited by eval-; 23rd April 2011 at 10:36 PM.)
#2  
Recognized Developer - OP
Thanks Meter 323
Posts: 227
Join Date: Sep 2008
Confirmed working: Skype, Fring, Evernote, Nimbuzz, AudioTool, RTA Pro ...

Not yet working: SipDroid
 
Jnewell05
Old
#3  
Jnewell05's Avatar
Senior Member
Thanks Meter 33
Posts: 278
Join Date: May 2009
Location: Texas
Thanks.... Trying now.
 
Nottach
Old
#4  
Nottach's Avatar
Recognized Developer
Thanks Meter 2896
Posts: 1,397
Join Date: Mar 2008
Location: New York

 
DONATE TO ME
Nice, hope this fixes my Audio Tools.
Don't quote the OP!!

Current Device:
Samsung Galaxy S4

 
Old Projects:
LG Optimus G - The Base
Samsung Galaxy S3 - Ariel
HTC Vivid - Dark Raider
Motorola Atrix 4G - NottachTrix4G

 
ksekhar
Old
(Last edited by ksekhar; 23rd April 2011 at 07:45 PM.) Reason: findings...
#5  
ksekhar's Avatar
Senior Member
Thanks Meter 109
Posts: 501
Join Date: Aug 2008
Location: Stockholm

 
DONATE TO ME
Quote:
Originally Posted by eval- View Post
NOTE 1: I have only tested this on 1.5.7 from AT&T.

NOTE 2: 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.
Testing, will report in a bit

--
Works awesome... Thank you very much buddy. You made my day. Glad Påsk!!!

--

Checked Nimbuzz and Fring, they work too.
 
Nottach
Old
#6  
Nottach's Avatar
Recognized Developer
Thanks Meter 2896
Posts: 1,397
Join Date: Mar 2008
Location: New York

 
DONATE TO ME
Fixed the issues with apps such as AudioTool and RTA Pro also.
Thanks again.
Don't quote the OP!!

Current Device:
Samsung Galaxy S4

 
Old Projects:
LG Optimus G - The Base
Samsung Galaxy S3 - Ariel
HTC Vivid - Dark Raider
Motorola Atrix 4G - NottachTrix4G

 
PixoNova
Old
#7  
PixoNova's Avatar
Senior Member
Thanks Meter 16
Posts: 401
Join Date: Nov 2010
Awesome work! Trying this out now!
Current Devices:
AT&T Motorola Atrix 4G - GreyBlur 2.1 - WITH HSUPA!
HTC Inspire 4G - CyanogenMod 7
Samsung Infuse 4G - Just rooted :/
iPhone 4 - iOS 4.2
iPad 1G WiFi - iOS 4.2
HTC Surround - PM me if you have a broken one of these! Will Pay for broken one/parts.

Past Devices:
iPhone 3G[S] - iOS 4.3.1
iPhone 3G - iOS 4 w/ Android 2.2
iPhone 2G - iOS 3.1.3 w/ Android 2.2
Samsung Captivate - SOLD
 
dLo GSR
Old
#8  
dLo GSR's Avatar
Senior Member
Thanks Meter 218
Posts: 1,297
Join Date: Mar 2011
Location: Los Angeles
shouldn't it be "mount -o remount,rw...."?
Samsung Galaxy S III - CM 10.1 Jelly Bean 4.2.2
ASUS Transformer Infinity TF700T - Jell Bean 4.1.1
Motorola Atrix 4G - CM9 Ice Cream Sandwich 4.0.4
Softbank 705px
The Following User Says Thank You to dLo GSR For This Useful Post: [ Click to Expand ]
 
Paschalis
Old
#9  
Paschalis's Avatar
Senior Member
Thanks Meter 45
Posts: 431
Join Date: Mar 2009
Quote:
Originally Posted by eval- View Post
Confirmed working: Skype, Fring, Evernote, Nimbuzz, AudioTool, RTA Pro ...
how about sip services?

like sipdroid..
 
eval-
Old
(Last edited by eval-; 23rd April 2011 at 10:26 PM.)
#10  
Recognized Developer - OP
Thanks Meter 323
Posts: 227
Join Date: Sep 2008
Quote:
Originally Posted by Paschalis View Post
how about sip services?

like sipdroid..
About to try... =)

EDIT: Nothing =( Either choppy or no audio at all on either end. =/ Anyone else with more luck?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...