[Q] Need help with ALSA audio - Android Q&A, Help & Troubleshooting

Hello, I'm developing CM11 for GT-S7580 but I have a problem in Dial application: microphone/receiver does not work in dial but working in another application like sound recorder, camcorder...
I saw this in logcat:
Code:
W/AudioHardwareALSA( 1476): EnableAppProfile profile -1 is out of range [0, 17] index=1
D/AudioHardwareALSA( 1476): Audio System RR : setVoiceOn(): correct mCntVoiceOn = -1 -> 0
D/AudioHardwareALSA( 1476): setVoiceOn(): vc_swt=0x0, enable=0x0
D/AudioHardwareALSA( 1476): setVoiceOn(): VoiceCall=0, VtCall=0, VoipCall=0
Which is weird, vc_swt must be 0x1 on stock rom but in CM11 it's 0x0
This is link for full logcat: pastebin.com/XuUxH3d0
This is my device tree: github.com/SandPox/android_device_kylepro
Vendor blobs: github.com/SandPox/android_vendor_kylepro
If you can help me please do, I'm just stepping into Android development and this bug is very hard for me.
Thank you.

hello? someone help me please

someone help me please, seem like i'm the only one facing this problem

no help :/

halp pls! i'll credit...

why no one help me

help pls no one know or no one want to help?

I think this caused by 3 binary vendor files:
hw/audio.primary.hawaii.so
libsamsungRecord.so
libsamsungSoundbooster.so
when I'm replace those lib with S7270's lib then incall seem working in logcat but phone crash when entering incall mode
help please

Bump! Hope somebody will help you dude, I'll never thank you enough for this!

Dunno why anybody helps you... Its better that somebody replies that he/she doesn't know the answer that simply don't get any response.

*Following* ?

Related

Can Anyone Help me Add this to kernel?

Hello guys, can anyone here help me add this line to kernel at init.rc?
Code:
service shelld /system/xbin/shelld
class main
I was trying to port MIUI to my device but sadly launcher and Themes FC because that line is not included at init.rc
Here's the kernel: http://www.mediafire.com/?m88pan88ew8bons
And If you guys can? Can you also include this?
http://www.mediafire.com/?fsn3dl3fez2r4u5
THANKS!!!

Can Anyone Help me Add this to kernel?

Hello guys, can anyone here help me add this line to kernel at init.rc?
Code:
service shelld /system/xbin/shelld
class main
I was trying to port MIUI to my device but sadly launcher and Themes FC because that line is not included at init.rc
Here's the kernel: http://www.mediafire.com/?m88pan88ew8bons
And If you guys can? Can you also include this?
http://www.mediafire.com/?fsn3dl3fez2r4u5
THANKS!!!

(Help) Help with edit of settings.apk

hello I need help of the developers. I would like add a new menu in settings.apk but I can't get it.
A error occurs into add a new icon in :
APKMulti-Tool\projects\Settings.apk\res\drawable-hdpi ( compresion level error ).
Someone can help me? thankyou

How to best diagnose sms failure in CM/AOSP ROM

Hello
I am helping test a CM13 ROM.
Everything is working well sans sending SMS for my variant - hltespr.
I'm scanning the logcat and see information tagged with bugle with information like:
Code:
E Bugle : SmsSender: failure in sending message part. requestId=content://sms/2 partId=0 resultCode=1 errorCode=0
E Bugle : MmsUtils: SMS permanent failure
I am a software developer but this is my first attempt to delve into anything deeper than running scripts to build a ROM (PAC and ResurrectionRemix for a few devices).
Can anyone shed light on if just the bugle tagged lines in the logcat are the lines to focus on?
How best to suss what caused the failure. ie: missing lib, config issue and the like?
I've contemplated perhaps attempting to create something like
http://mrbool.com/android-message-h...ilt-in-messaging-application-in-android/31138
to attempt to trap a more detailed message.
Any direction, nugget or suggestion would be greatly appreciated.
Thank you

AOSIP 9.0 shamu

Hello everyone I managed to build Aosip 9.0 rom for our shamu but the build need some work when I flashed my build I get bootloop so DON'T FLASH IT please only if you know how to help me fix this probleme
DOWNLOAD LINK :
https://mega.nz/#!DmZwEAwJ!mkwTswDbaAkciFIF6rIyNr6y__LQom5aAb6-qmKYvvU
DMESG LOG TXT LINK :
https://gist.github.com/RinGooDz/60569c21d30da4b707735efa2859dd93#file-dmesg-bootloop
@electroshmok told me that the probleme from the dmesg log txt is here :
[ 2.770511] init: Command 'start configstore-hal-1-0' action=late-fs (/init.shamu.rc:72) took 0ms and failed: service configstore-hal-1-0 not found
[ 2.770577] init: Command 'start gralloc-2-0' action=late-fs (/init.shamu.rc:73) took 0ms and failed: service gralloc-2-0 not found
so please to all developers and all who know how to fix this can you please help
- this rom still doesn't boot up so please don't flash it -
help please my first build i tried to fix this myself but this strong for me I'm new to android development @camcory @nitin.chobhe @Wajdi Muhtadi @Neo
Rom source :
https://github.com/AOSiP
Device tree code :
https://github.com/RinGooDz/AOSIP-Device-Tree-for-shamu.git
Kernel tree is from Nitrogen os without any changes : https://github.com/nitrogen-os-devices/android_kernel_moto_shamu.git
Vendor tree is also from Nitrogen os without any changes :
https://github.com/nitrogen-os-devices/android_vendor_motorola.git
You should add the github links for ROM source, your device, kernel, vendor trees.
Nitin
nitin.chobhe said:
You should add the github links for ROM source, your device, kernel, vendor trees.
Nitin
Click to expand...
Click to collapse
I will do it now sir
AmirHRC said:
help please my first build i tried to fix this myself but this strong for me I'm new to android development
Click to expand...
Click to collapse
Perhaps you should do something easier then porting a ROM if you have no experience/skill in doing that.
Judging from your past endeavours this is probably going to lead nowhere if you don't start trying to understand the code and how stuff works.
I can help, but I won't port the ROM for you as I have zero interest in another short lived ROM for shamu.
So as long as you're not going to do serious development with proper links to code and doing own work please refrain from asking me stuff and mentioning me in your threads.
Elektroschmock said:
Perhaps you should do something easier then porting a ROM if you have no experience/skill in doing that.
Judging from your past endeavours this is probably going to lead nowhere if you don't start trying to understand the code and how stuff works.
I can help, but I won't port the ROM for you as I have zero interest in another short lived ROM for shamu.
So as long as you're not going to do serious development with proper links to code and doing own work please refrain from asking me stuff and mentioning me in your threads.
Click to expand...
Click to collapse
you also start from zero bro okey so don't be so serious like this everyone start like this and android development doesn't need a lot of code I managed to build the rom but its stuck at the bootanimation i tried to fix the probleme myself but no success so you will not help okey and its not a shorten lived rom belive me this is my first time building and ineed help from experienced developers like nitin and you if you don't wanna help me its okey but don't broken me
nitin.chobhe said:
You should add the github links for ROM source, your device, kernel, vendor trees.
Nitin
Click to expand...
Click to collapse
sir here you go
Rom source :
https://github.com/AOSiP
Device tree code :
https://github.com/RinGooDz/AOSIP-Device-Tree-for-shamu.git
Kernel tree is from Nitrogen os without any changes : https://github.com/nitrogen-os-devices/android_kernel_moto_shamu.git
Vendor tree is also from Nitrogen os without any changes :
https://github.com/nitrogen-os-devices/android_vendor_motorola.git
AmirHRC said:
you also start from zero bro okey so don't be so serious like this everyone start like this and android development doesn't need a lot of code I managed to build the rom but its stuck at the bootanimation i tried to fix the probleme myself but no success so you will not help okey and its not a shorten life rom belive me this is my first time building and ineed help from experienced developers like nitin and you if you don't wanna help me its okey but don't broken me
Click to expand...
Click to collapse
First of all I'm not your bro!
Of course I started at zero. I started as translator for CyanogenMod. Then I learned how to compile stuff, do smaller changes, maintain a already brought up ROM and then finally port Android 8 and 9 for shamu.
I had a lot of people which I could ask for help, but usually I only asked them if I didn't make any progress for days.
You on the other hand try to start on 100 % that is not very promissing to be a success.
I said short lived ROM because I saw a lot of people come and go and most of them were not very persitent.
I never said that I don't want to help at all. I usually try to be helpfull ( I guess some of the other devs know it), but I want to see some efforts from the one who is asking for help.
Elektroschmock said:
First of all I'm not your bro!
Of course I started at zero. I started as translator for CyanogenMod. Then I learned how to compile stuff, do smaller changes, maintain a already brought up ROM and then finally port Android 8 and 9 for shamu.
I had a lot of people which I could ask for help, but usually I only asked them if I didn't make any progress for days.
You on the other hand try to start on 100 % that is not very promissing to be a success.
I said short lived ROM because I saw a lot of people come and go and most of them were not very persitent.
I never said that I don't want to help at all. I usually try to be helpfull ( I guess some of the other devs know it), but I want to see some efforts from the one who is asking for help.
Click to expand...
Click to collapse
i did efforts the past 3 day I was trying to fix this but no success if I didn't try I will not tell you help me and you don't want its okey just don't tell me you cant or something like this its my first time and I did what ican to fix this but no success
AmirHRC said:
i did efforts the past 3 day I was trying to fix this but no success if I didn't try I will not tell you help me and you don't want its okey just don't tell me you cant or something like this if you can help me help me its my first time and I did what ican to fix this but no success
Click to expand...
Click to collapse
Okay then one Protip from me: You are using a Android O device tree. You are lacking about 50 of my commits to be even bootable on P.
Starting around here: https://github.com/LineageOS/androi...=ff0d752ee1ef7bf3eeed3393475a5451c1e13a62+104
Elektroschmock said:
Okay then one Protip from me: You are using a Android O device tree. You are lacking about 50 of my commits to be even bootable on P.
Starting around here: https://github.com/LineageOS/androi...=ff0d752ee1ef7bf3eeed3393475a5451c1e13a62+104
Click to expand...
Click to collapse
thank you sir I will start working now thank you very much
sorry for all this I'm still learning and learning from developer like you its amazing
hello every one no luck with aosip but ifinished building havoc os 9.0 the build run smooth but I have some problems when try to make call the phone make system ui reboot iwill try to fix it now if someone can help please help
and also the rom compiled without bootanimation
so give me some time iwill post it as soon as i fix those
Elektroschmock said:
Okay then one Protip from me: You are using a Android O device tree. You are lacking about 50 of my commits to be even bootable on P.
Starting around here: https://github.com/LineageOS/androi...=ff0d752ee1ef7bf3eeed3393475a5451c1e13a62+104
Click to expand...
Click to collapse
i tried what you sad but no chance i think the probleme is from aosip source itried every thing every soulution but no boot
so itried building havoc os 9.0 the phone booted fine from the first try and its run smooth only some problems I will try to fix them
I like aosip, so I build aosip for nexus 4/5 6P.
Yesterday, shamu was also build and booted.
What is the reason you start with o-tree?
Elektroschmock said:
First of all I'm not your bro!
Of course I started at zero. I started as translator for CyanogenMod. Then I learned how to compile stuff, do smaller changes, maintain a already brought up ROM and then finally port Android 8 and 9 for shamu.
I had a lot of people which I could ask for help, but usually I only asked them if I didn't make any progress for days.
You on the other hand try to start on 100 % that is not very promissing to be a success.
I said short lived ROM because I saw a lot of people come and go and most of them were not very persitent.
I never said that I don't want to help at all. I usually try to be helpfull ( I guess some of the other devs know it), but I want to see some efforts from the one who is asking for help.
Click to expand...
Click to collapse
sir can you help me with this
iam trying to make call the phone reboot here is the logcat :
https://gist.github.com/RinGooDz/48c745ad5eb5b3bae541ccd165c535d1
ithink the probleme is here how ican fix it please sir
07-01 21:48:15.210 665 665 I Telecom : DefaultDialerCache: Refreshing default dialer for user 0: now com.android.dialer: [email protected]
07-01 21:48:15.211 665 665 I Telecom : MissedCallNotifierImpl: reloadAfterBootComplete: user=0: [email protected]
07-01 21:48:15.310 665 665 I Telecom : PhoneAccountRegistrar: SimCallManager queried, returning: null: [email protected]
07-01 21:48:15.452 1594 1594 I TelecomFramework: : Carrier-config changed, checking for phone account updates.
07-01 21:48:15.493 1594 1594 I TelecomFramework: AccountEntry: reRegisterPstnPhoneAccount: subId: 1 - no change
07-01 21:48:15.519 1594 1594 I TelecomFramework: PstnIncomingCallNotifier: Unregistering: Handler (com.android.internal.telephony.GsmCdmaPhone) {53a6f62}
07-01 21:48:15.605 665 1786 I Telecom : PhoneAccountRegistrar: Modify account: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}]: [email protected]
07-01 21:48:15.611 1594 1594 I TelecomFramework: AccountEntry: Registered phoneAccount: [[ ] PhoneAccount: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0} Capabilities: CallProvider MultiUser PlaceEmerg SimSub Audio Routes: BESW Schemes: tel voicemail Extras: Bundle[{android.telecom.extra.SUPPORTS_VIDEO_CALLING_FALLBACK=true}] GroupId: ***] with handle: ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}
07-01 21:48:15.612 1594 1594 I TelecomFramework: PstnIncomingCallNotifier: Registering: Handler (com.android.internal.telephony.GsmCdmaPhone) {53a6f62}
07-01 21:48:15.625 1594 1594 I TelecomFramework: PstnPhoneCapabilitiesNotifier: handleVideoCapabilitesChanged. Video capability - false
07-01 21:48:15.647 665 1835 I Telecom : PhoneAccountRegistrar: Modify account: [ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, ***, UserHandle{0}]: [email protected]
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.codeaurora.internal.IExtTelephony" on path: DexPathList[[zip file "/system/priv-app/Telecom/Telecom.apk"],nativeLibraryDirectories=[/system/priv-app/Telecom/lib/arm, /system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]
voidz777 said:
I like aosip, so I build aosip for nexus 4/5 6P.
Yesterday, shamu was also build and booted.
What is the reason you start with o-tree?
Click to expand...
Click to collapse
Where is Nexus 4 build?
Nitin
nitin.chobhe said:
Where is Nexus 4 build?
Nitin
Click to expand...
Click to collapse
It's sleeping deep in my heart.
...Oh, what a mess. The screen shot is flat.
voidz777 said:
It's sleeping deep in my heart.
...Oh, what a mess. The screen shot is flat.
Click to expand...
Click to collapse
Nice, may be you can share it
Nitin

Categories

Resources