[Q] SpiritFM on 4.2.2 - no sound - Optimus One, P500, V Q&A, Help & Troubleshooting

Hi all.
Having a problem: http://forum.xda-developers.com/showpost.php?p=50929052&postcount=1000 says:
Sprit FM settings: 1.Open Menu-> Settings-> Debug-> HCI Access and set it to "Bluedroid Shim".
2. Menu-> Settings-> Audio-> Method to "Digital Auto" and restarting Spirit. Reboot device to get the changes done!
3. For Audio streaming, follow this: http://forum.xda-developers.com/show...97&postcount=4
4. Sprit FM require Bluetooth to be ON mode (please play around to find the option to work without BT)
Click to expand...
Click to collapse
(btw... aren't digital modes only available on unlocked, except on Galaxy 1?)
Trying it, I get nothing. RSSI on a local station is ca. 35, and the sound subsystem remains on (I can hear the hiss from the headphones), but nothing comes out.
Uninstalled the SpiritFM that comes with the rom, and installed the latest (September 18) from HERE. This gets RSSI without any modifications, but still no audio.
Tried all the other audio "Methods" too. the "msm7x30 LG" one and the "Digital GS1" ones also kept audio system alive, for others it switched off after playing the system button click effect.
Now that I think about it, I didn't know to check for RSSI before I tried the settings on the bundled version. It was most likely the same, given the dates.
Using v9, clean install from GB stock. Stock kernel.
Omnirom seems to have a working version out of the box, and nobody else has raised any problems in the CM11 dev thread either (well, search is down, so can't be sure).
Any ideas?

Related

{SOLVED} VoIP support missing?

Hi all.
I've got myself an HTC S710. I like it but one thing bothers me: how do I enable VoIP-support?
Yeah, yeah, yeah, I've been here: http://wiki.xda-developers.com/index.php?pagename=HTC_Vox and here: http://forum.xda-developers.com/showthread.php?t=299950
The first thing I did was:
"To Enable it download and install the WM6VoIP.CAB."
The installation went fine and I've even got "Internet Calling: Service Blocked" on my Home screen.
Then I searched for these files and did not find any of them in the \Windows folder:
ipdialplan.xml
dnsapi.dll
voipphonecanvas.dll
rtcdll.dll
Does this mean my ROM does not support VoIP? I bought my phone in Norway.
I'd really appreciate your help on this topic.
Problem fixed, read below for details.
Weehee, I got it working.
I even wrote a little step-by-step tutorial on how I did it but it's in Russian, sorry
http://designerus.livejournal.com/243146.html
But hey, if someone is interested, I could translate the page.
Yes please translate. Thx!
All right, here's what I did to enable VoIP-support on my HTC S710.
First of all, I downloaded http://218.93.115.138/d900/patch/WM6VoIP.CAB and installed it. Then I navigated to "Start > Settings > Phone"
and verified that "Internet Calling" option showed up. In "Start > Settings > Phone > Internet Calling" I chose "Use Internet Calling: Whenever available".
If you now go to your Home Screen, you will see "Internet Calling: Service Blocked".
This how-to says that presence of the following files in the "\Windows" directory indicates
that VoIP support was not removed from your ROM:
ipdialplan.xml
dnsapi.dll
voipphonecanvas.dll
rtcdll.dll
I opened the bundled File Explorer and browsed to "\Windows" and did not find any of those files. It turned out that the files are actually there, they're just
hidden. So I downloaded Resco Explorer with Resco Registry, installed it, enabled "Show all files" feature and found the files.
Then I opened Resco Registry and set the following:
Code:
HKLM\System\VoIP\SIP
EnablePort5060 = 1
Now I had to create a _setup.xml file with my SIP settings. I have my own Asterisk server, and this is how my _setup.xml looks like:
Code:
<wap-provisioningdoc>
<characteristic type="VoIP">
<parm name="SIPSettings"
value="<provision key='1232ab01' name='Asterisk PBX'>
<provider name='Asterisk PBX' />
<user account='4000' password='try2hack'
uri='sip:[email protected]'
allowedauth='digest'/>
<sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='proxy'>
<session party='First' type='pc2pc' />
<session party='First' type='pc2ph' />
</sipsrv>
<sipsrv addr='asteriskserver.com:5060' protocol='UDP' role='registrar'/>
</provision>" />
</characteristic>
</wap-provisioningdoc>
Now you need to put _setup.xml in a CAB-file. Download Microsoft Cabinet Software Development Kit and unpack it to C:\mcsdk
After you've unpacked the file, move your _setup.xml to C:\mcsdk\bin
Open a Command Prompt and create the archive:
Code:
C:\mscsdk\bin>cabarc N voip.cab _setup.xml
Now connect your phone to the computer and copy voip.cab to "\My Documents" or wherever. Install voip.cab by "tapping" the file.
To verify that the installation went fine, browse to "\Windows\System\VoIP". You should find a file called "Prov0SIPSettings" there.
Check the Home Screen. It says "Internet Calling: No service". Enable WLAN and your phone will try to authenticate with your SIP settings.
When it's finished, you will see "Asterisk PBX: Searching...". That means you're done
Make a trial call, it should work. Even "Transfer" works
Don't pay attention to "Asterisk PBX: Searching...", it says it's searching but it's connected. So it must be a bug.
Things to work on in the future:
- Make the sound come from the earpiece;
- Make DTMF work;
- Find out if it's possible to have multiple SIP accounts.
Excellent, works fine here too
I wonder whether it is possible at all to route the sound to the earpiece. It seems that only the cell phone system can access it.
Many thanks for the fine tutorial. The only remark I have is that you can use windows explorer to see the "missing" files (make sure you set "show hidden files" in explorer)
Btw, I tried WM6 SIP Config Tool (here), but it crashes.
Did anyone get it to work?
jockyw2001 said:
Excellent, works fine here too
I wonder whether it is possible at all to route the sound to the earpiece. It seems that only the cell phone system can access it.
Click to expand...
Click to collapse
It looks like this issue depends on when a particular device was manufactured. Some people got the sound from the earpiece. I still hope it's possible to route the sound too. Stay updated at http://forum.xda-developers.com/showthread.php?t=299950
Many thanks for the fine tutorial. The only remark I have is that you can use windows explorer to see the "missing" files (make sure you set "show hidden files" in explorer)
Click to expand...
Click to collapse
Ok, cause I searched for that option but did not find it.
jockyw2001 said:
Btw, I tried WM6 SIP Config Tool (here), but it crashes.
Did anyone get it to work?
Click to expand...
Click to collapse
Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.
Ka.
voip volume
This guide was very helpful getting voip up and running on my S710.
I'm experiencing a rather odd issue. The earpiece volume of a voip call is low although it is set at the maximum level. I do not have this when making calls over gsm. So low that it makes voip not really useful.
I read in another topic something simular but have not found a resolution or clues yet. Any help appreciated.
PS. S710 is connected to an Asterisk PBX
wvangroesen said:
This guide was very helpful getting voip up and running on my S710.
I'm experiencing a rather odd issue. The earpiece volume of a voip call is low although it is set at the maximum level. I do not have this when making calls over gsm. So low that it makes voip not really useful.
I read in another topic something simular but have not found a resolution or clues yet. Any help appreciated.
PS. S710 is connected to an Asterisk PBX
Click to expand...
Click to collapse
What codecs are you using? One more thing: the sound comes from the speaker on the back, not from the earpiece. Tried turning your phone?
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
wvangroesen said:
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
Click to expand...
Click to collapse
I'm also using ulaw & alaw on Asterisk 1.2. Most part of my sip.conf is defaulted. I'm afraid I can't help you with that, sorry. But try with a different VoIP provider like voipbuster.com just to eliminate the possibility that there's something wrong with your setup if that's the problem.
kast said:
Try this one http://forum.xda-developers.com/showthread.php?p=1309024 Although I'm still (once in a while) working on it.
Ka.
Click to expand...
Click to collapse
I tried your tool, but it always gives me an error message something is wrong with the XML and then quits. What am I doin' wrong? (PS: I did try putting http:// in front of the proxy address, but it doesn't help)
wvangroesen said:
Sorry I meant the speaker. But also the headset, the one that comes with the device, is still too soft.
I've been experimenting with the codecs on Asterisk, only ulaw and alaw are supported.
The sound is bidirectional, the party that I'm calling can hear me. But I can hardly hear them. Also there is a lot of static on the line.
Click to expand...
Click to collapse
If I select my VoIP provider it works just fine, although I had to put speaker volume to maximum. I believe there are many reg keys for finetuning behaviour. Take a look here: http://msdn2.microsoft.com/en-us/library/aa921921.aspx
What registry values do you read for HandSetModeMaxVolume and SpeakerModeMaxVolume in hklm/security/phone/voip ? (My values are 0xCCCC and 0xFFFF)
I'm trying to VoIP via GPRS/EDGE and want to use a VPN tunnel since my mobile operator blocks ports.
Well, I more or less got it to work with the inbuilt VPN "client".
It's a ridiculous procedure to connect though:
1. Configure a VPN and add *.*/* to "Work URL exceptions"
2. Set VoIP calls to "never" before connecting to Internet (Wifi or 2G/3G, in my case 2G Edge)
3. Start IE or Opera and in settings set Connection to Work
4. Open a site and verify in case you use wifi that top right symbol is wifi signal strength with the two arrows pointing L and R ("datacall") or in case you use Gprs or Edge you see G or E in top right corner
5. Now go back to homescreen and enable VoIP ("always use if available")
6. VoIP provider should now be searched and selected
Until there, I got it to work. Didn't make it yet to a succesful call though. Need to configure the damn firewall first.
WM5/6 networking sucks big time. Who the f**k invents categories like Internet and Work, and "Work exception URLs" ?
Another thing I haven't found out yet, is how to control which VPN connection is used when you have multiple connections defined.
Later on I will try with a dedicated VPN client I found (NCP Client)
Hi Guys,
Thanks for all your suggestions, here a progress report of what I've tried so far:
- Checked out the msdn site, tried several registry settings.
- Checked setting as posted by jockyw2001, I can confirm the settings and values are equal as posted by you.
- No matter what I try, Speaker Volume, Handset Volume etc etc it doesn't make any difference.
- Uninstalled voip and installed 'VM VI Black VOIP & Config.CAB' which fixes the searching... issue. I had to replace rtcdll.dll with the original one to get sound through the speaker/headset again. Still very soft sound. And still unable to control the speaker volume.
- I found a S710 review in French referring to SJPhone, so what the hack let's give it a try too.
- SJPhone works, I can actually control the volume of the speaker and put it on an acceptable level. Sound quality is not great...
- The creator of SJPhone claims they are working on a wm6 version, according to postings in their forum. Could be very promising.
I doubt whether it could be an Asterisk issue. I have several Siemens IP phones connected to the system which are working fine. And also no issues at all with various voip softphones.
But I won't give up yet... Next step it trying a different voip provider. I appreciate your feedback and keep you posted on the progress.
Thanks!
wvangroesen said:
- Uninstalled voip and installed 'VM VI Black VOIP & Config.CAB' which fixes the searching... issue. I had to replace rtcdll.dll with the original one to get sound through the speaker/headset again. Still very soft sound. And still unable to control the speaker volume.
Click to expand...
Click to collapse
I'm also running VI Black VOIP & Config.CAB with the rtsdll.dll from Sleuth's package. Never tried it with the 'Black' rtcsll.dll (apparently for developers only). You tried it and got sound from the earset? Or was it not outputting sound at all or also only from rear loudspeaker but even less loud?
jockyw2001 said:
I'm also running VI Black VOIP & Config.CAB with the rtsdll.dll from Sleuth's package. Never tried it with the 'Black' rtcsll.dll (apparently for developers only). You tried it and got sound from the earset? Or was it not outputting sound at all or also only from rear loudspeaker but even less loud?
Click to expand...
Click to collapse
Nope, never got sound during the call although I could see the call was in progress on the Asterisk box. When the call is ended I got a confirmation bleep through the speaker.
I suspected this was a codec issue so I added the codec reg keys under HKLM\Comm\RTC\Codec without luck. Then I decided to roll back the rtcdll.dll to the original one that seemed to work better, at least I got the sound back again.
Hi,
anybody had luck connecting to PBXES.com?
Thanks,
Ka.
Kast, no I haven't tried them.
Btw: can you tell me how to enter data in your tool in such a way that it doesn't spit an error about XML format wrong or so?

Bugs on our device thread

Issue Summary (updated regularly when issues arise) [UPDATES Shown in this style]
* Issue 1: Windows Phone connector for Mac crashes when trying to sync.
* More information & reading HERE
* Temporary workaround (taken from above thread):
From timmymarsh:
- When device connected, quickly hit cancel sync before wp app crashes.
- Go into settings, UNCHECK Auto-sync.
- Next time connect device, app should not crash.
From MS: (in response to my workaround)
If you want to turn off the "sync automatically" setting, you can do it outside the app, no need for quick reflexes/slow computer:
- In Finder, pres cmd-shift-G
- Type the following path into the dialog: ~/Library/Containers/com.microsoft.Windows-Phone-7-Connector/Data/Library/Application Support/Windows Phone/Devices
- You should see a single folder with a bunch of characters representing your phone, open that folder
- Edit the file named "Sync Configuration.xml"
- Change the value after Setting/Sync On Connect from <integer>1</integer> to <integer>0</integer>
Click to expand...
Click to collapse
* Final solution - awaiting (MS working on an update) - will review now OSv OTA 8.0.10211.204 has been released.
__________
* Issue 2 : 8x Reboot
* More information & reading : HERE and HERE
* Temporary fix : doesnt appear to be one at this time.
* Updated info: MS has identified a problem, working on OTA release for December. Fix TBC since release of Osv x10211.204
* Final solution - awaiting (OTA update) - Issue fix TBC as above
__________
* Issue 3 : Distorted sound, ie whilst phone is ringing
* More information & reading :
* Temporary fix : reboot, sound works afterwards.
* Final solution : Fix TBC since release of Osv x10211.204
__________
* Issue 4 : General stability issues - unresponsive
* More information & reading : none, need confirmed reports from users.
* Temporary fix : as above.
* Final solution : Fix TBC since release of Osv x10211.204
__________
Issue 5
* More information & reading:
* Temporary fix :
* Final solution
__________
* Possible OS patches/updates in the pipeline:
* OTA update/patch rumoured for December to fix reboot issue (affecting all wp8 handsets, Nokia & HTC) - 8.0.10211.204 OTA released 11th Dec 2012
* "Portico" OS update rumoured for release in Feb 2013 - TBC
* UNOFFICIAL leaked RUU (currently running on all new HTC 8S devices) see **Link Removed due to Official OTA Release**
Let's list up our findings, to see if it's only a local bug, or if many others have the same issues.
Had my 8x for aprox 3 weeks now, I am mostly very pleased with both aesthetics and performance.
But have seen some random "bugs":
-Random reboots (already mentioned and have a fix coming)
-Sometimes, in apps, the screen is not responding to touch, seen it happen in various apps, but mostly in Wimp. Needs reboot to function properly again)
-Sound becomes distorted from time to time, happened once using headset, and sometimes with notifications/incoming calls.
-"lag" in notifications, in.ex when a ringtone starts (when device in sleep mode) it's noticeable that the ringtone don't start from beginning, it kinda hangs a bit then starts half a sec/a sec into the ringtone/notification sound.
Not sure if it's my device or if others experience the same things
itje said:
..........
-Random reboots (already mentioned and have a fix coming)
-Sometimes, in apps, the screen is not responding to touch, seen it happen in various apps, but mostly in Wimp. Needs reboot to function properly again)
-Sound becomes distorted from time to time, happened once using headset, and sometimes with notifications/incoming calls.
-"lag" in notifications, in.ex when a ringtone starts (when device in sleep mode) it's noticeable that the ringtone don't start from beginning, it kinda hangs a bit then starts half a sec/a sec into the ringtone/notification sound.
...........
Click to expand...
Click to collapse
I've nearly the same problems with my device (8X, FW 1532.20.10005.111, HWrevisionnumber: 0002, Chip-SOC-Version: 8260A).
- 3 times a reboot
- sometimes in apps no screen responding (i think it's caused from the app's)
-> reboot manually
- sound becomes disorted when using navigon ( navigon bug ?), built in music player works fine, sometimes sound in video player is asynchronous, sometimes not (same movie file)
- when i use navigon and bluetooth in my car, battery drains out allthoug i'm charging (5V, 1000m/Ah), so i'm not able to use it for more then 3-4 hours !!! Phone is then really hot and battery empty.
I read that lumia 920 users have the same problem.
- Battery drains too fast, 12 to 16 hours by normal usage
- my provider data volume (200 MB) is sufficient for max. of 3 days (no tool to control network traffic, because t-mobile WP8 without built in data sence)
For users with battery problems, Coolknight1968 wrote a "how to" to become a better battery performance. You can read it, following the link in post#4 in this thread:
http://forum.xda-developers.com/showthread.php?p=34763611#post34763611
cu
spiderbirdy
The only bug I suffer from is the reboot, but this mostly occures when I have a WP7.5 app tombstoned in the background.
Battery life averages between 20 hours - 1,5 day depening on use. Seems good enough, I have very little drain in standby. Battery does drain fast when using games or the screen a lot, but this is normal.
No audio bugs either.
No lag or responsiveness issues.
8X, FW 1532.20.10022.401, HWrevisionnumber: 0002, Chip-SOC-Version: 8260A
ITJE, you beat me to this thread. I was going to post a thread with a list of issues (regularly updated) with a space to list workarounds and answers.
Hope you dont mind, i have created a summary post above yours, which can be updated for ease of reference (as it was such a good idea lol)
If you want, i can transfer ownership to you (you know the magic lol)
I never had the reboot issue but that's probably because I read that Skype was causing the problem so I just left it uninstalled.
I don't have the distorted sound issue under any circumstance.
I use Windows and Linux and therefore have not experienced the Mac problem (despite owning a Mac)
I have noticed something else... I cannot send the following message: *in
If there is a space before the asterisk, then there's no problem. If either or both of the letters is capitalized, there's no problem. asterisk-i-n will not send from my phone.
Anybody else getting this?
found another bug...
when i connect my 8X to my Computer and connect it to Visual Studio for Debugging it seems that the telephone Features hangs after a while... i don't receive SMS nor calls... only a restart can solve the Problem...
happens to the 3rd time today...
really annoying
EDIT:
It seems it doesn't Need to be connected to the PC.
Everything in the whole OS seems Buggy.
The first time i used my phone it was the same way, after a few hardresets (because it was the same time the Live-Services had Errors) it seemed that it works nice now...
i don't know what error this could be...
1. I too have had the reboot problem (where the phone randomly reboots itself).
2. I have also had the phone freeze where I had to hold the power button to reboot, as the phone was unresponsive.
3. When making a call, one time the phone wouldn't go to speakerphone, nor could I hear the person on the other end. Everything else worked fine. A reboot fixed the problem.
edit:
4. The phone has randomly said "invalid or missing sim card" twice now. A reboot fixed it both times, but annoying. Anyone else have this? Not sure if its the sim or the phone.
Not sure if it's a "bug" to others, but in group messages, i reply to the group, but I also get the reply. How the hell is that fixed?
timmymarsh said:
ITJE, you beat me to this thread. I was going to post a thread with a list of issues (regularly updated) with a space to list workarounds and answers.
Hope you dont mind, i have created a summary post above yours, which can be updated for ease of reference (as it was such a good idea lol)
If you want, i can transfer ownership to you (you know the magic lol)
Click to expand...
Click to collapse
I don't mind. You keep it :cyclops:
Oberoth said:
found another bug...
when i connect my 8X to my Computer and connect it to Visual Studio for Debugging it seems that the telephone Features hangs after a while... i don't receive SMS nor calls... only a restart can solve the Problem...
Click to expand...
Click to collapse
I have noticed that if I go a while (a few days or so) without a reboot, then my phone stops receiving texts and calls. A simple toggle of the radio from one protocol to another (i.e. 4G to 2G and back) will rectify things. I'll get a flood of backlogged messages.
After updating to the new (officially not released yet) OS 8.0.10211.204 I have not had issues with sound or reboots (yet?)
Seen some issues in apps esp. on resume (mostly/only(?) Wimp, but I believe that's app related)
I am happy with my 8x, it's, for me, one of the better devices I have had :good:
And when spotify (very missed) becomes available for WP8, I will be very happy
I am on 8X number 3 now as I cant stand the reboot issue and first 2 had it.
With all 3 phones though I have noticed that a lot of the old power Hungary games tend to crash a lot - prime on is PES that crashes on the second game of a session without fail and sometimes first. Also IloMilo sometimes bombs. I know this is an app thing and I know lumia 920 owners are having same issues with same apps its quite annoying as all work flawlessly on WP7 handsets (at least HD7, Mozart and Lumia 800).
Also first 2 handsets had issues with casing coming away from the screen though the new one looks and feels spot on. (first 2 where blue handsets new one is yellow so dunno if it was just a batch issue as I know the yellows came into store later
Other than that its a great device with only downside being the lack of SD (this will bug me until I upgrade) The sound quality rocks.I have found myself with my earphones in whilst at home with my stereo waiting to please me.
Post 1 updated.
Hi guys.
Please only report bugs if you have updated your device to the new OTA 8.0.10211.204 released by MS & carriers today.
If you havent updated yet, then it would be wise to do this as the new release will probably address the above, thanks.
No Sound
This has only happend about 3- 4 times. I have the volume up and set to ring. But watching videos, sounds(typing, lock/unlock, etc), calls, etc there's will be no sound. I try lowering the volume and raising it, checked setting, etc but nothing makes the sound come back until I reboot the device. Anyone else have this?
OS Version: 8.0.9903.10
Firmware: 1532.20.10006.531
Hardware: 0003
Radio software: 1.10.32.19.19_3_15.39.32.19
Radio Hardware: 3.36.0.D4
Bootloader: 0.0.1532.20
Chip SOC:8260A
marcoshid said:
This has only happend about 3- 4 times. I have the volume up and set to ring. But watching videos, sounds(typing, lock/unlock, etc), calls, etc there's will be no sound. I try lowering the volume and raising it, checked setting, etc but nothing makes the sound come back until I reboot the device. Anyone else have this?
OS Version: 8.0.9903.10
Firmware: 1532.20.10006.531
Hardware: 0003
Radio software: 1.10.32.19.19_3_15.39.32.19
Radio Hardware: 3.36.0.D4
Bootloader: 0.0.1532.20
Chip SOC:8260A
Click to expand...
Click to collapse
no, only distorted sound on that os, you not got the ota update yet? Its coming.
Hi
Have my 8X since a few days, the day before the OTA update actually, but I still have a problem :
The speakerphone is working perfectly fine when playing music or video but when I'm calling someone, putting him on speakerphone makes the sound horrible to the point that I can't understand what the other one is saying. I don't use speakerphone that often, so if you could just give it a try calling your voicemail, maybe I'm not the only one with this.
Not don't have it yet will update once I do and is if it ever happens again.
timmymarsh said:
no, only distorted sound on that os, you not got the ota update yet? Its coming.
Click to expand...
Click to collapse
probably not a bug but annoying: since the update msn toggles online/offline with the screen; people think i'm unavailable on msn (yes i still use msn )

[APP][4.0+] AudioBT: Use Bluetooth headset for GPS and notification audio

Hi
I've created a small app that automatically switch your device into Bluetooth call mode when an app is playing an audio or when your GPS is giving directions. The benefit is that it will cut what you're currently listening from your car audio system to play the incoming call audio and go back to your current listening on your CD, MP3, FM radio, etc.
There are two ways of using AudioBT.
-One is a background service that monitors the audio focus and turn on the Bluetooth SCO proile when another app is temporarily requesting the audio focus. Unfortunately the first second of the audio might be cut when using this service (to be fixed with upcoming Xposed hook). Some applications do not request the audio focus properly so this might not always work.
-The other approach is an integrated TTS engine. Any app using tne Android TTS service can use the AudioBT TTS service for sending text to speech. AudioBT will automatically turn on the Bluetooth SCO profile before playing the text. Any TTS service or language can be selected in the AudioBT TTS parameters.
It is still experimental and user's feedback is appreciated.
Thank you!
https://play.google.com/store/apps/...51bGwsMSwxLDEsImNvbS50dXJib2xlZC5hdWRpb2J0Il0
Service intents (for use with Tasker)
com.turboled.audiobtplus.ON : Cat = Default, Target = Service. Turns ON the AudioBT Plus service.
com.turboled.audiobtplus.OFF: Cat = Default, Target = Service. Turns OFF the AudioBT Plus service.
com.turboled.audiobtplus.SCO_ENABLE : Cat = Default, Target = Service. Enables Bluetooth SCO channel audio.
com.turboled.audiobtplus.SCO_DISABLE : Cat = Default, Target = Service. Disables Bluetooth SCO channel audio.
com.turboled.audiobtplus.PLAY : Cat = Default, Mime Type = audio/*, Data = file uri (file:///*), Target = Service. Plays an audio file through the bluetooth channel. No need to call SCO_ENABLE or SCO_DISABLE. Specify file name in Data.
To play notifications through Bluetooth with Tasker, create a new task with the following steps:
-Say to file (Misc), text = %NTITLE, file = /sdcard/Download/1.wav. Use standard TTS engine (Pico, Google, SVox, etc...), EnhancedTTS or AudioBT+ TTS are not supported.
-Send an intent (Misc), action = com.turboled.audiobtplus.PLAY, cat = Default, Mime type = audio/*, Data = file:///sdcard/download/1.wav, Target = Service.
Add a new profile with Event -> UI -> Notification and link with the task created above.
Add the task to any profile triggered on Notification *,*. Make sure Tasker is enabled in your Accessibility parameters.
Re: [APP][4.0+] AudioBT: Use Bluetooth incoming call for GPS audio
TurboLed said:
Hi
I've created a small app that automatically switch your device into Bluetooth call mode when an app is playing an audio or when your GPS is giving directions. The benefit is that it will cut what you're currently listening from your car audio system to play the incoming call audio and go back to your current listening on your CD, MP3, FM radio, etc.
There are two ways of using AudioBT.
-One is a background service that monitors the audio focus and turn on the Bluetooth SCO proile when another app is temporarily requesting the audio focus. Unfortunately the first second of the audio might be cut when using this service. Some applications do not request the audio focus properly so this might not always work.
-The other approach is an integrated TTS engine. Any app using tne Android TTS service can use the AudioBT TTS service for sending text to speech. AudioBT will automatically turn on the Bluetooth SCO profile before playing the text. Any TTS service or language can be selected in the AudioBT TTS parameters.
It is still experimental and user's feedback is appreciated.
Thank you!
Click to expand...
Click to collapse
Links please
Sent from my GT-N8000 using XDA Premium HD app
hoss_n2 said:
Links please
Click to expand...
Click to collapse
Well, it was right there on the Google Play image... I added an hyperlink below.
New version 2.2.0 to be published soon on Google Play. Attempt to fix compatibility issue with some devices. If you tried this app on your phone and it didn't work, try the upcoming version.
Thanks
I've tried your app with my alpine cde 133bt, but the tts-messages were still send to the normal bluetooth audio-out channel, so I have to manually switch from tuner to bluetooth mode. Both the service and the custom tts-engine didn't work. Your app is exactly what i've been looking for, so let me know if there is anything I can do, to help fix this.
my setup: I have a motorola razr running on android 4.0, which connects to the radio with the HFP and with the A2DP profile. turning a2dp off in the bluetooth settings redirected the tts-messages to the mobile speaker.
sebistan said:
I've tried your app with my alpine cde 133bt, but the tts-messages were still send to the normal bluetooth audio-out channel, so I have to manually switch from tuner to bluetooth mode. Both the service and the custom tts-engine didn't work. Your app is exactly what i've been looking for, so let me know if there is anything I can do, to help fix this.
my setup: I have a motorola razr running on android 4.0, which connects to the radio with the HFP and with the A2DP profile. turning a2dp off in the bluetooth settings redirected the tts-messages to the mobile speaker.
Click to expand...
Click to collapse
Hi,
I've got other similar complains from Motorola users. I have not been able to figure out the problem yet. Are you able to provide me with a Logcat when you start the AudioBT service ?
Also can you test BTMono, which is a similar app but that leaves the audio channel open (incoming call) ? If BTMono works my app should work. However BTMono is from a different author and uses more permissions.
Thanks
i tried btmono yesterday, it works. I will get back to you with the logcat later
sebistan said:
i tried btmono yesterday, it works. I will get back to you with the logcat later
Click to expand...
Click to collapse
At the same time, you could try 2 test versions I created. The first one adds more permissions (Bluetooth_admin and network_access). The second one use Call mode instead of Communiation mode. Please tell me if one of these works on your device.
Here's the link to both APK:
https://docs.google.com/folder/d/0B2XwV7ab33OAY2tiVVRTWGRRTVE/edit?usp=sharing
here is the logcat record, i hope it helps. i started recording, started your service and pressed the test audio button.
i also tried the two test versions, they both did not work, same behaviour as the original one
edit: aparantly i'm not allowed to post external links (or edit my post for 5 minutes). i've attached the logcat output
sebistan said:
here is the logcat record, i hope it helps. i started recording, started your service and pressed the test audio button.
i also tried the two test versions, they both did not work, same behaviour as the original one
Click to expand...
Click to collapse
Thanks for your help. Where's the log ? Ah there it is
sebistan said:
here is the logcat record, i hope it helps. i started recording, started your service and pressed the test audio button.
i also tried the two test versions, they both did not work, same behaviour as the original one
edit: aparantly i'm not allowed to post external links (or edit my post for 5 minutes). i've attached the logcat output
Click to expand...
Click to collapse
Hey sebistan, thanks A LOT for your logcat. I saw an error about a missing BROADCAST_STICKY permission. I've create a new version AudioBT-Sticky at the same link: https://docs.google.com/folder/d/0B2XwV7ab33OAY2tiVVRTWGRRTVE/edit?usp=sharing
Your help is a blessing. Now if that works, I'll be more than happy to give you the unlimited version if you send me your email address (in a private message).
yay, that would be great. unfortunately, it is still not working, but we are getting closer
when i start the new version, my car audio system switches briefly to calling mode and back to the tuner. But after that, all other sounds are still beeing routed to the standard speaker. I've attached the logcat
sebistan said:
yay, that would be great. unfortunately, it is still not working, but we are getting closer
when i start the new version, my car audio system switches briefly to calling mode and back to the tuner. But after that, all other sounds are still beeing routed to the standard speaker. I've attached the logcat
Click to expand...
Click to collapse
There is something odd going on, now that it successfully go into communication mode, it cannot track the audio focus. Your phone/ROM is acting way differently than some others.
I've attempted a fix (AudioBT-focus.apk), please test. I turn off commuication mode between audio, however I fear that it will take too long to switch on and you will lose the first seconds of audio when a message is playing.
I believe the TTS should work (even without the fix above) as it doesn't use audio focus. You can test by playing the sample in the settings.
Thanks!
After looking at Android source code I figured out the focus problem was fixed in JB Android 4.1.1 and up, so anyone running my app with ICS have the same problem. If you have success with my fix above and you don't see a significant delay when playing the audio I could publish a new version with a workaround for ICS, otherwise I will have no other choice than to put a notice regarding incompatibility with ICS.
the fix also does not work, the audio test is still coming from the music channel. the tts-service is not working either. in none of the test versions. i guess i have to wait for the jb update.
sebistan said:
the fix also does not work, the audio test is still coming from the music channel. the tts-service is not working either. in none of the test versions. i guess i have to wait for the jb update.
Click to expand...
Click to collapse
Please provide me with a logcat with the focus fix... There's probably something else going on. If you get the incoming call to come up during initialization, that's a good start.
sorry, i had a lot to do, could not make it any faster. Here is the logcat from my focus-fix-test, same procedure as last year
sebistan said:
sorry, i had a lot to do, could not make it any faster. Here is the logcat from my focus-fix-test, same procedure as last year
Click to expand...
Click to collapse
Hi seb,
I finally decided to install ICS on my phone. And indeed, it doesn't work well. I see that I cannot prevent the call mode to steal the audio focus in this Android version. For now I don't have any idea out of my head.
However, TTS works on my phone with ICS but not with the fix version. Make sure you turn off the AudioBT service when testing TTS. And maybe send me a logcat while testing the TTS (playing the "Listen to an example" in the TTS settings).
Hi I just wanted to tell you that I recently bought a dice mediabridge for my car and the only issue I was having and it was really bothering me was that when I was in Sirius satellite mode and my phone connected through Bluetooth that the phone calls would come right through but not the navigation if in use.This bothered me because it was a lack of integration that should be there. I searched the web for a few weeks pretty thoroughly and discovered that this was a very common issue reported in threads but no solution at all from anyone.The other day I came across your app and it is wonderful it does exactly what I was looking for and I'm sure once word gets out it will get alot of downloads. My only issues with it is that it does seem a little buggy which I totally understand.A few times the other day it wouldn't activate and I had to reboot my phone to get it to work I have a Verizon note 2. And also a few times the audio just came through as static and not understandable but after playing with it got it to work again.Is development still being worked on for the app? Thanks again.
bman12479 said:
Is development still being worked on for the app? Thanks again.
Click to expand...
Click to collapse
Hi bman.
First thanks for your comments, those are always appreciated. I wrote the app for myself after knowing that some older non-Android phones and iPhone had this capability. Thanks to Android, the API allows to route audio through Bluetooth SCO although only in very recent versions of Android. Hopefully someday it will be better supported by the OS.
My app has an unexpected success since the beginning, however sales have decreased in the last few weeks. About half the people downloading the trial have ICS 4.0 which is not very well supported except for the TTS engine and nothing I can do to fix it yet.
I've pretty much stopped doing updates as the app has become stable enough on most devices; however I don't have much feedback from users and am not aware of all the bugs and if they are fixable. I'm still ready to publish fix whenever one is found.
Cheers!

RE: Speakers not working

RE: Speakers not working
Hello, my 1+ was working fine yesterday. I charged up my home to 100% when sleeping, when I woke to watch a XDA video on Youtube. There were no sounds coming from the speakers.
I called my phone, the ringer didn't sound off but I was able to hear what the other end of saying. I put on headphones and it worked.
I tried resetting Synapse, rebooting, power off. I made sure the volumes were on. Nothing worked.
Yesterday I installed Facebook app and Messenger, before I slept.
Update:
Oh it works now.
I used Clean master app. And rebooted phone.
I would like to know if that didn't work, what would be an appropriate step to take?
Thank you in advance.
It didn't work again after I went back and changed the Synapse settimgs. These settings has always worked before. I don't know why it doesn't now. I tried the method above and it doesn't work still.
Update:
I cleared the Synapse data and rebooted. It works now.
This step didn't work before as mentioned above, but it worked now.
How come?
Dont use the Sound Control Lock in sound section....i was having same problem and took that setting back off
Speaker not working
hi everyone,
I appear to have the same problem. My speakers aren't working but my earphones and bluetooth speakers are.
the comments above didn't fix anything.
any ideas?
I have the same issue. No external speaker sound. Playing youtube or video clips. just wondering if other people has resolve this? thx
I appear to have the same issue. It appears the phone 'thinks' my earbuds are plugged in while they're not. That results in the speaker not working when I tried to play sound over the speakers and the earpiece not working when I try to call people. I have to put the phone manually on speaker while calling or use earbuds. I am not sure, but I think the problem might be related to the google play app. Rebooting does not work, neither the new version of google play that got isssued today solves the problem.
I could probably try installing soundabout or such app, but that's a bandaid and not a real solution, so I wait for now for a real solution.
edit: Installing Soundabout does not make a difference.
Doncock said:
I appear to have the same issue. It appears the phone 'thinks' my earbuds are plugged in while they're not. That results in the speaker not working when I tried to play sound over the speakers and the earpiece not working when I try to call people. I have to put the phone manually on speaker while calling or use earbuds. I am not sure, but I think the problem might be related to the google play app. Rebooting does not work, neither the new version of google play that got isssued today solves the problem.
I could probably try installing soundabout or such app, but that's a bandaid and not a real solution, so I wait for now for a real solution.
edit: Installing Soundabout does not make a difference.
Click to expand...
Click to collapse
i've got the similar issue.
i suspect the MiKey for the culprit or after flashing oxygen modem
Same trouble here..
Hi! I have the same trouble since yesterday, I have tried wiping all, reset as factory settings, changing roms (from cm12 nightlies to colorOs), reinstalling audio fx and trying with viper4android.. I Don't Know what else to try.. Did you find a solution?? Thanks!
speaker issue solved
I had the same issue. The speaker didn't respond except for alarms & ringtones.
There is an issue with the 3.5mm jack.
Try the putting headfone in & out couple of times.
The speaker will turn on.
skyhonor said:
Update:
Oh it works now.
I used Clean master app. And rebooted phone.
I would like to know if that didn't work, what would be an appropriate step to take?
Thank you in advance.
Click to expand...
Click to collapse
Thanks this worked for me
Yeah, I'm having these issues as well. I moved my motherboard to another OPO and it seems like the speaker I/O just doesn't work anymore. I can try these solutions, but I'm pretty sure that wiping the entire system and installing different firmwares (ROMs) would fix the issue. I'm quite vexed, to be honest.
My right speaker stopped working after taking my phone from the service center. I gave my phone to change display! My phone speaker is just dead
Speakers mic not working OnePlus X
Hii guys,
I have a sudden peculiar problem.
The left speaker as well as the mic and earpiece speaker are not working.
When I make or receive a call, the dialer crashes.*A terrible state when the phone problem affects basic functions like making calls (basic purpose of a mobile phone).
I have tried factory reset as well, But no magic!
Any immediate help is more than appreciated!!
Thanks
I had the same problem: media audio (youtube/facebook-videos etc.) was not playing through the speaker, but when I plugged headphones in the sound worked perfectly. Notification sounds were playing normally even through the speaker.
I contacted OnePlus live online support and they suggested me to download the "Clean Master" app. I downloaded it, cleaned my phone using it, rebooted, and after that my speaker was working fine!
Maybe you could try this if you have a similar problem.
jeppoo1 said:
I had the same problem: media audio (youtube/facebook-videos etc.) was not playing through the speaker, but when I plugged headphones in the sound worked perfectly. Notification sounds were playing normally even through the speaker.
I contacted OnePlus live online support and they suggested me to download the "Clean Master" app. I downloaded it, cleaned my phone using it, rebooted, and after that my speaker was working fine!
Maybe you could try this if you have a similar problem.
Click to expand...
Click to collapse
Lol,kidding,right?
Mr.Ak said:
Lol,kidding,right?
Click to expand...
Click to collapse
Well, I can see why you think I'm kidding because I myself didn't want to trust the OnePlus clerk but I'm not kidding at all.
I was amazed too, it actually worked that way: I installed the program, cleaned, rebooted and the speaker was working again.
So maybe it was a software issue after all.
At least people can try this solution because it is so much simpler than rooting your phone / installing Bootloader etc.
Clean Master Works for Me
jeppoo1 said:
I had the same problem: media audio (youtube/facebook-videos etc.) was not playing through the speaker, but when I plugged headphones in the sound worked perfectly. Notification sounds were playing normally even through the speaker.
I contacted OnePlus live online support and they suggested me to download the "Clean Master" app. I downloaded it, cleaned my phone using it, rebooted, and after that my speaker was working fine!
Maybe you could try this if you have a similar problem.
Click to expand...
Click to collapse
Surprising this works for me after multiple reboots and cache cleaning from recovery mode.
More specific information on how I go about with cache cleaning:
In Clean Master:
1. Clean junk files. Grant permission for cleaning more junk files when asked.
2. Continue to "Advanced Cleaning" and remove Phone Junk.
Optional (Found this works when camera or Media-related apps began FC-ing, along with speaker not working):
In ES File Explorer:
1. Go to APP
2. Switch from "User Apps" to "System Apps"
3. Long press on "Media Storage", choose "Properties", choose "Storage", then choose "CLEAR DATA" and "CLEAR CACHE". (System-based phone ringtones and message ringtones will not work for a while until the phone automatically regenerates this info, you don't have to do anything, just wait for the phone to do it's job).
Reboot
1. Reboot and select reboot into recovery.
2. Select "Advanced Wipe", then select "Wipe Cache".
3. Reboot System.
Repeat the above 2-3 times if the first attempt doesn't fix the issue. Usually more phone junk is discovered after second reboot.
Hope this helps!

Bluetooth Disconnects/Reconnects every 10mins

Backround :
DH GPE 5.1 9/18 build (most recent)
RADIO-1.12.20.1211
Problem:
I have an iPod-30pin to Bluetooth adapter(Tune2Air) in my car and every 10mins it disconnects and reconnects. It didn't used to do it, but I don't remember what I did for it to start doing that(ie: flashing a new rom). I found the same issue with another phone and it was fixed with a "bluetooth fix app" that didnt help my phone. I thought it could've been that my radio was outdated, but I've kept up with all of DH's firmware upgrades. Ive tried to see if it happens on other phones, it doesnt. Only my phone. Any ideas on fixes or troubleshooting
So I feel pretty stupid. I decided to verify and change all the bluetooth settings (ie. device name, rename the devices i connect to). I also looked to see what the audio transmit settings we're at(phone audio, media audio, contacts) and everything was checked. I didnt think that would affect the tune2air device, but when I unchecked everything except media audio that problem has gone away! Problem solved!

Categories

Resources