The problem is all the ubuntu-touch patches applied to pulseaudio.. So What I did what download pulseaudio8 from ubuntu archives and build it without those patches..
The ones marked with # are not applied. It now works perfectly... I don't have the patience, to try to patch all the rest one by one, to see which one is affected, but you can certain it have something to do with those patches..
# Ubuntu/Debian specific config/fixes
0001-volume-config-changes.patch
0005-dont-load-cork-music-on-phone.patch
0006-load-module-x11-bell.patch
0016-nodisplay-autostart.patch
0022-inotify-wrapper-Quit-daemon-if-pid-file-is-removed.patch
0024-alsa-mixer-Quick-workaround-for-potential-index-out-.patch
# Cherry-picked from upstream
0100-switch-on-port-available-Switch-from-HDMI-to-analog-.patch
# Ubuntu touch: support for trust-store
#0406-tagstruct-add-copy-method.patch
#0407-access-Add-access-control-hooks.patch
#0408-protocol-native-add-access-checks.patch
#0409-Trust-store-patch.patch
#0410-Add-thread-to-activate-trust-store-interface.patch
#0417-increase-timeout-check-apparmor.patch
# Ubuntu touch: enable bluez5 HFP over ofono support
#0501-bluetooth-bluez5-ofono-add-support-for-HFP-gateway-r.patch
#0502-bluetooth-bluez5-bring-back-SCO-over-PCM-support.patch
#0503-bluetooth-bluez5-ofono-add-support-for-spekaer-micro.patch
#0504-bluetooth-bluez5-add-support-for-both-mode.patch
#0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch
#0506-bluetooth-bluez5-prevent-SCO-sink-source-to-be-suspe.patch
#0507-bluetooth-bluez5-drop-save-restore-of-SCO-sink-sourc.patch
#0508-bluetooth-bluez5-add-guards-to-prevent-HFP-and-HSP-c.patch
#0509-bluetooth-bluez5-don-t-reactivate-default-profile-wh.patch
#0510-Further-fixes-for-HFP-A2DP-with-BlueZ-5.x.patch
# Ubuntu touch: add support for Android 5.x
#0600-droid-sync-with-upstream-for-Android-5-support-and-b.patch
#0601-droid-alternative-hw-module-id.patch
#0602-droid-inputstream-config-parameters.pach
#0603-droid-port-priority-and-availability.patch
I also had to delete some droid + store .install files for it to build.
Now the rest is up to ubuntu-devs to figure out what patch is broken. I have done all I can for a non-dev.. Hope this helps some people... If you want my .debs files feel free to ask. I'm not sure if it's okay to post links to such things..
Okay guys and girls.. I have the solution...
The problem is all the ubuntu-touch patches applied to pulseaudio.. So What I did what download pulseaudio8 from ubuntu archives and build it without those patches..
The ones marked with # are not applied. It now works perfectly... I don't have the patience, to try to patch all the rest one by one, to see which one is affected, but you can certain it have something to do with those patches..
# Ubuntu/Debian specific config/fixes config- changes. patch load-cork- music-on- phone.patch module- x11-bell. patch autostart. patch wrapper- Quit-daemon- if-pid- file-is- removed. patch mixer-Quick- workaround- for-potential- index-out- .patch
0001-volume-
0005-dont-
0006-load-
0016-nodisplay-
0022-inotify-
0024-alsa-
# Cherry-picked from upstream on-port- available- Switch- from-HDMI- to-analog- .patch
0100-switch-
# Ubuntu touch stuff probe-ucm. patch Add-hook- before- profile- changes. patch bluetooth- discover- adding- module- option- profi.patch pulseaudio- droid.patch bluetooth- device- Allow-leaving- transport- runn.patch switch- on-connect- adding- parameter- to-allow- s.patch device- restore- adding- property- to-skip. patch a-sink- input-stream- when-stalled. patch
#0202-dont-
#0203-card-
#0206-module-
#0207-Enable-
#0208-module-
#0209-module-
#0210-module-
#0211-corking-
# Ubuntu touch: support for trust-store -add-copy- method. patch Add-access- control- hooks.patch native- add-access- checks. patch store-patch. patch thread- to-activate- trust-store- interface. patch timeout- check-apparmor. patch
#0406-tagstruct
#0407-access-
#0408-protocol-
#0409-Trust-
#0410-Add-
#0417-increase-
# Ubuntu touch: enable bluez5 HFP over ofono support -bluez5- ofono-add- support- for-HFP- gateway- r.patch -bluez5- bring-back- SCO-over- PCM-support. patch -bluez5- ofono-add- support- for-spekaer- micro.patch -bluez5- add-support- for-both- mode.patch -bluez5- let-user- specify- a-default- profile- .patch -bluez5- prevent- SCO-sink- source- to-be-suspe. patch -bluez5- drop-save- restore- of-SCO- sink-sourc. patch -bluez5- add-guards- to-prevent- HFP-and- HSP-c.patch -bluez5- don-t-reactivat e-default- profile- wh.patch fixes-for- HFP-A2DP- with-BlueZ- 5.x.patch
#0501-bluetooth
#0502-bluetooth
#0503-bluetooth
#0504-bluetooth
#0505-bluetooth
#0506-bluetooth
#0507-bluetooth
#0508-bluetooth
#0509-bluetooth
#0510-Further-
# Ubuntu touch: add support for Android 5.x sync-with- upstream- for-Android- 5-support- and-b.patch alternative- hw-module- id.patch inputstream- config- parameters. pach port-priority- and-availabilit y.patch
#0600-droid-
#0601-droid-
#0602-droid-
#0603-droid-
I also had to delete some droid + store .install files for it to build.
Now the rest is up to ubuntu-devs to figure out what patch is broken. I have done all I can for a non-dev.. Hope this helps some people... If you want my .debs files feel free to ask. I'm not sure if it's okay to post links to such things..