Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Bytecode
Old
(Last edited by Bytecode; 3rd May 2012 at 03:11 PM.)
#451  
Bytecode's Avatar
Recognized Developer - OP
Thanks Meter 4346
Posts: 2,494
Join Date: Dec 2010
Location: /dev/null
Found it! Since audio libs are the same,I couldn't figure out why mic wasn't working. Then I compared all audio files in OMGB and OMFGB frameworks base and guess what? There's a different AudioService.java. Building with the replaced one,hope it'll work.

F*ck! Why I can't make mic work! I'm using exact same libs
Bytecode - fourteen years-old experienced developer.

My devices:
  • LG-P500 (qcom msm7x27t, mdpi, codename: thunderg)
  • Xperia T (msm8x60a, xhdpi, codename: mint)



Quote:
I respect GPL and other people - you can find all my sources at github.com/BytecodeX
Quote:
I am a androidarmv6 contributor - helping old legacy devices get a better Android experience. https://github.com/androidarmv6
The Following 2 Users Say Thank You to Bytecode For This Useful Post: [ Click to Expand ]
 
Bytecode
Old
#452  
Bytecode's Avatar
Recognized Developer - OP
Thanks Meter 4346
Posts: 2,494
Join Date: Dec 2010
Location: /dev/null
Are you kidding me? Microphone IS working,but not during calls! I'll check telephony and media folder,but firstly I will check RIL libs
Bytecode - fourteen years-old experienced developer.

My devices:
  • LG-P500 (qcom msm7x27t, mdpi, codename: thunderg)
  • Xperia T (msm8x60a, xhdpi, codename: mint)



Quote:
I respect GPL and other people - you can find all my sources at github.com/BytecodeX
Quote:
I am a androidarmv6 contributor - helping old legacy devices get a better Android experience. https://github.com/androidarmv6
The Following User Says Thank You to Bytecode For This Useful Post: [ Click to Expand ]
 
cure25
Old
#453  
cure25's Avatar
Senior Member
Thanks Meter 795
Posts: 1,107
Join Date: Aug 2011
Location: gurgaon
Quote:
Originally Posted by Bytecode View Post
Are you kidding me? Microphone IS working,but not during calls! I'll check telephony and media folder,but firstly I will check RIL libs
Oops! best of luck


LewaOS_X-TREME_M7
 
Bytecode
Old
(Last edited by Bytecode; 3rd May 2012 at 03:55 PM.)
#454  
Bytecode's Avatar
Recognized Developer - OP
Thanks Meter 4346
Posts: 2,494
Join Date: Dec 2010
Location: /dev/null
Gotcha! Something is muting the microphone..
Code:
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 1, mBuiltinMicSelected 0, muted
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): disabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): Enabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AccelerometerListener(  255): enable(false)
Actually I don't know if this actually is relevant,so I'll check what OMGB logcat say

EDIT: Well,I can say there indeed is a problem in this ROM. Here's what OMGB say when starting call:
Code:
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 0, mBuiltinMicSelected 0, muted
Wrong value into libaudio,but nooooooo idea on how to fix
Bytecode - fourteen years-old experienced developer.

My devices:
  • LG-P500 (qcom msm7x27t, mdpi, codename: thunderg)
  • Xperia T (msm8x60a, xhdpi, codename: mint)



Quote:
I respect GPL and other people - you can find all my sources at github.com/BytecodeX
Quote:
I am a androidarmv6 contributor - helping old legacy devices get a better Android experience. https://github.com/androidarmv6
The Following 2 Users Say Thank You to Bytecode For This Useful Post: [ Click to Expand ]
 
Lt.Win
Old
#455  
Lt.Win's Avatar
Senior Member
Thanks Meter 575
Posts: 2,986
Join Date: Aug 2011
Location: Mumbai
Quote:
Originally Posted by Bytecode View Post
Gotcha! Something is muting the microphone..
Code:
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 1, mBuiltinMicSelected 0, muted
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): disabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): Enabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AccelerometerListener(  255): enable(false)
Actually I don't know if this actually is relevant,so I'll check what OMGB logcat say

EDIT: Well,I can say there indeed is a problem in this ROM. Here's what OMGB say when starting call:
Code:
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 0, mBuiltinMicSelected 0, muted
Wrong value into libaudio,but nooooooo idea on how to fix
Try changing the 1 to 0? XD lol

Sent from my LG-P500 using xda premium
Lt.Win
Nyan!
 
aspee
Old
#456  
aspee's Avatar
Recognized Contributor
Thanks Meter 1018
Posts: 644
Join Date: Aug 2011
Location: mumbai
Quote:
Originally Posted by Bytecode View Post
Gotcha! Something is muting the microphone..
Code:
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 1, mBuiltinMicSelected 0, muted
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): disabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): set device to SND_DEVICE_HANDSET device_id=1
I/AudioHardwareMSM72XX(  126): Enabling post proc features with mask 0x0000
I/AudioHardwareMSM72XX(  126): Routing audio to Handset
D/AccelerometerListener(  255): enable(false)
Actually I don't know if this actually is relevant,so I'll check what OMGB logcat say

EDIT: Well,I can say there indeed is a problem in this ROM. Here's what OMGB say when starting call:
Code:
D/AudioHardwareMSM72XX(  126): doAudioRouteOrMute() device 6, mMode 0, mMicMute 0, mBuiltinMicSelected 0, muted
Wrong value into libaudio,but nooooooo idea on how to fix
Do you have this in overlay
https://github.com/CyanogenMod/andro...ues/config.xml
 
Bytecode
Old
#457  
Bytecode's Avatar
Recognized Developer - OP
Thanks Meter 4346
Posts: 2,494
Join Date: Dec 2010
Location: /dev/null
Quote:
Originally Posted by aspee View Post
Yeah bro,but I'm building now with a libaudio fix and we'll see
Bytecode - fourteen years-old experienced developer.

My devices:
  • LG-P500 (qcom msm7x27t, mdpi, codename: thunderg)
  • Xperia T (msm8x60a, xhdpi, codename: mint)



Quote:
I respect GPL and other people - you can find all my sources at github.com/BytecodeX
Quote:
I am a androidarmv6 contributor - helping old legacy devices get a better Android experience. https://github.com/androidarmv6
 
Bytecode
Old
(Last edited by Bytecode; 3rd May 2012 at 10:44 PM.)
#458  
Bytecode's Avatar
Recognized Developer - OP
Thanks Meter 4346
Posts: 2,494
Join Date: Dec 2010
Location: /dev/null
Uploading

OMFGB data bug will be fixed soon,I will release it along with new OMGB with fixed data bug and updated audio lib.
Bytecode - fourteen years-old experienced developer.

My devices:
  • LG-P500 (qcom msm7x27t, mdpi, codename: thunderg)
  • Xperia T (msm8x60a, xhdpi, codename: mint)



Quote:
I respect GPL and other people - you can find all my sources at github.com/BytecodeX
Quote:
I am a androidarmv6 contributor - helping old legacy devices get a better Android experience. https://github.com/androidarmv6
 
homecanibal
Old
#459  
Senior Member
Thanks Meter 15
Posts: 109
Join Date: Nov 2007
Quote:
Originally Posted by Bytecode View Post
Uploading

OMFGB data bug will be fixed soon,I will release it along with new OMGB with fixed data bug and updated audio lib.
you have pm

thks
 
sam_0829
Old
#460  
sam_0829's Avatar
Senior Member
Thanks Meter 626
Posts: 281
Join Date: Mar 2012
Location: Ahmedabad
Quote:
Originally Posted by Bytecode View Post
Uploading

OMFGB data bug will be fixed soon,I will release it along with new OMGB with fixed data bug and updated audio lib.
Oh..gr8...did u fix mic??

Sent from my LG-P500 using XDA
"My Work :"

Sense 4.1 Port For HTC Explorer | | Sense 3.5 Port For LG P500 (Stopped For Now ) | | Sense 2.1 Port For LG P500 (Stopped For Now)

Sense 4.1 Port For HTC Desire V


CuRRent Project(s) :

PACman Rom For LG P500

|| Support My Work By Donating For My Internet Plan Or Press the Thanks Button ||

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

Advanced Search
Display Modes

report this ad
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...