[CLOSED][ROM][UNOFFICIAL][10.0][Dragon] Pixel Experience [2020/08/18]

Status
Not open for further replies.
Search This thread

Raghu varma

Senior Member
Mar 22, 2017
868
1,297
Hyderabad

GtwTyCR.png

PixelExperience for Nokia 6.1 Plus [Dragon]

What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)

Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

Based on Android 10.0


Whats working?
Ril
Wifi
Mobile data
Double tap to wake
Double tap to sleep
Adaptive brightness
Dark theme
Ambient display
Flash light
Sound / vibration
Camera
Volte
Selinux - Enforcing
Fingerprint


Known issues

All fixed for now . comment below if you face any bugs


DON'T FLASH GAPPS, ALREADY INCLUDED


Installation procedure

Note - I don't recommend you people to flash any other custom kernels on this ROM .


Click Here for Installation process


Credits
* Thanks to my Contributor Hritik utekar who supported from back and worked hard to get this brand new OTA Updater application.
* Pixel Experience & CO (For Source Code)
* All the authors in my git sources
* Nokia For Prebuilt Vendor , Pie Kernel Source & Q beta prebuilt kernel
* Moderators (For Giving Freedom To Post Threads)
* My entire Nokia 6.1 Plus community Thank you all for your massive support Again





 
Last edited:

Raghu varma

Senior Member
Mar 22, 2017
868
1,297
Hyderabad
screenshots
 

Attachments

  • Screenshot_20191026-195626.jpg
    Screenshot_20191026-195626.jpg
    86.3 KB · Views: 6,255
  • Screenshot_20191026-195632.jpg
    Screenshot_20191026-195632.jpg
    107.7 KB · Views: 6,291
  • Screenshot_20191026-195638.png
    Screenshot_20191026-195638.png
    159.3 KB · Views: 6,187
  • Screenshot_20191026-195646.png
    Screenshot_20191026-195646.png
    118.9 KB · Views: 5,874
  • Screenshot_20191026-195652.png
    Screenshot_20191026-195652.png
    93.6 KB · Views: 5,598
  • Screenshot_20191026-195711.png
    Screenshot_20191026-195711.png
    110.3 KB · Views: 5,598
  • Screenshot_20191026-195720.png
    Screenshot_20191026-195720.png
    112.2 KB · Views: 5,320
  • Screenshot_20191026-195746.png
    Screenshot_20191026-195746.png
    83.4 KB · Views: 5,268
  • Screenshot_20191026-195801.jpg
    Screenshot_20191026-195801.jpg
    62.3 KB · Views: 5,125
  • Screenshot_20191026-195811.jpg
    Screenshot_20191026-195811.jpg
    59.7 KB · Views: 4,986
  • Screenshot_20191026-195818.png
    Screenshot_20191026-195818.png
    66.2 KB · Views: 4,869
  • Screenshot_20191026-200002.jpg
    Screenshot_20191026-200002.jpg
    105.4 KB · Views: 5,049
Last edited:

Raghu varma

Senior Member
Mar 22, 2017
868
1,297
Hyderabad
Changelog

1. Based on Q beta prebult vendor.img
2. System blobs from Q Beta 4050
3. Based on latest pixel experience sources
4. October security patch
5. Fixed ril
6. Fixed internal storage bug
7. Fixed finger print bug
8. Camera too fixed
9. Selinux - enforcing now

Bugs - none for now all fixed from my end

If you face any bugs comment below

Installation procedure slightly same added one extra step go through installation procedure section once
 
  • Like
Reactions: dark4m

sltushar

Senior Member
Changelog

1. Based on Q beta prebult vendor.img
2. System blobs from Q Beta 4050
3. Based on latest pixel experience sources
4. October security patch
5. Fixed ril
6. Fixed internal storage bug
7. Fixed finger print bug
8. Camera too fixed
9. Selinux - enforcing now

Bugs - none for now all fixed from my end

If you face any bugs comment below

Installation procedure slightly same added one extra step go through installation procedure section once
Does the mic fixed and screenshot?
 

Raghu varma

Senior Member
Mar 22, 2017
868
1,297
Hyderabad
I have found a bug: I can send a text message but I can't receive a text message.When I need to log in to the telegram account, I can't receive the SMS, so I can't log in.

well just now cross verified no issues iam able to receive otp verification for whatsapp & telegram too . may be their server issue
 
Last edited:

Bluebriz

Member
Oct 19, 2011
35
6
I have found a bug: I can send a text message but I can't receive a text message.When I need to log in to the telegram account, I can't receive the SMS, so I can't log in.



Same. Couldn't even get the text to verify my Google account. Ended up back on a Pie ROM but still can't access my Google account because I tried the verification code too many times.


Sent from my iPad using Tapatalk
 

Raghu varma

Senior Member
Mar 22, 2017
868
1,297
Hyderabad
Same. Couldn't even get the text to verify my Google account. Ended up back on a Pie ROM but still can't access my Google account because I tried the verification code too many times.
Well as I mentioned earlier no issues for me. Iam getting all verification otps & stuff . So I can only say one thing the first Candidate said. Not able to receive otp verification for telegram?. Again I tested by singing up in telegram app using otp verification & also WhatsApp too all works in my location.for proof check screenshot
 

Attachments

  • IMG_20191028_094730_081.jpg
    IMG_20191028_094730_081.jpg
    57.8 KB · Views: 384

Bluebriz

Member
Oct 19, 2011
35
6
Well as I mentioned earlier no issues for me. Iam getting all verification otps & stuff . So I can only say one thing the first Candidate said. Not able to receive otp verification for telegram?. Again I tested by singing up in telegram app using otp verification & also WhatsApp too all works in my location.for proof check screenshot



I appreciate that, I was just showing the earlier person they weren't the only one. I wonder if the default network settings during initial set up are the reason? People in different countries might be affected differently in this case.


Sent from my iPad using Tapatalk
 

China2058

Member
May 1, 2017
27
2
19
Lechang
Xiaomi Mi 10T / 10T Pro
Well as I mentioned earlier no issues for me. Iam getting all verification otps & stuff . So I can only say one thing the first Candidate said. Not able to receive otp verification for telegram?. Again I tested by singing up in telegram app using otp verification & also WhatsApp too all works in my location.for proof check screenshot

Yes, I am a Chinese. I use the Chinese sim card on this mobile phone. May be this problem?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 9

    GtwTyCR.png

    PixelExperience for Nokia 6.1 Plus [Dragon]

    What is this?
    Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)

    Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device

    Based on Android 10.0


    Whats working?
    Ril
    Wifi
    Mobile data
    Double tap to wake
    Double tap to sleep
    Adaptive brightness
    Dark theme
    Ambient display
    Flash light
    Sound / vibration
    Camera
    Volte
    Selinux - Enforcing
    Fingerprint


    Known issues

    All fixed for now . comment below if you face any bugs


    DON'T FLASH GAPPS, ALREADY INCLUDED


    Installation procedure

    Note - I don't recommend you people to flash any other custom kernels on this ROM .


    Click Here for Installation process


    Credits
    * Thanks to my Contributor Hritik utekar who supported from back and worked hard to get this brand new OTA Updater application.
    * Pixel Experience & CO (For Source Code)
    * All the authors in my git sources
    * Nokia For Prebuilt Vendor , Pie Kernel Source & Q beta prebuilt kernel
    * Moderators (For Giving Freedom To Post Threads)
    * My entire Nokia 6.1 Plus community Thank you all for your massive support Again





    3
    Changelog

    15/12/2019


    1. 3rd party apps calls fixed
    2.Whatsapp video calls & 3rd party apps video calls fixed
    3. Vendor blobs updated from Nokia 7.1 android Q stable build
    4. Global network issues also fixed
    5. Nuked OnePlus camera & shipped with stock Snapdragon camera.
    3
    Fix for BT Audio

    Love the rom, all working apart from BT audio.

    I've had some time on my hands (thanks COVID-19), so decided to have a go at fixing the BT audio issue myself.

    I've managed to get it working on my bluetooth speaker. I'm unsure if this fix will work for bluetooth calls as I don't have a bluetooth headset, and I'm not sure if there are any other side effects from doing it.

    I've created a Magisk module, but unfortunately I'm unable to upload it as I'm such an infrequent poster! If anyone has a good idea of how I can get it on here then let me know.

    There's 2 steps:
    1. In Developer Options enable "Disable Bluetooth A2DP hardware offload" (I.E. we want A2DP to be turned OFF by switching this developer option to ON).
    2. Install the Magisk Module.

    For reference all that the module does is edit the /system/vendor/etc/audio/audio_policy_configuration.xml file to add a "bluetooth" module, deletes some A2DP stuff, and adds a couple of items for regular wired headphones (which initially broke when I added the bluetooth changes).

    Here's the updated file (where it says PUT URL HERE it should be: http www dot w3 dot org/2001/XInclude, can't write it in there due to this only being my second post, and the site believing it's a link :eek:):

    Code:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!-- Copyright (c) 2016-2017, 2019, The Linux Foundation. All rights reserved
         Not a Contribution.
    -->
    
    <audioPolicyConfiguration version="1.0" xmlns:xi="[PUT URL HERE]">
        <!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
    
        <!-- Global configuration Decalaration -->
        <globalConfiguration speaker_drc_enabled="true"/>
    
    
        <!-- Modules section:
            There is one section per audio HW module present on the platform.
            Each module section will contains two mandatory tags for audio HAL “halVersion” and “name”.
            The module names are the same as in current .conf file:
                    “primary”, “A2DP”, “remote_submix”, “USB”
            Each module will contain the following sections:
            “devicePorts”: a list of device descriptors for all input and output devices accessible via this
            module.
            This contains both permanently attached devices and removable devices.
            “mixPorts”: listing all output and input streams exposed by the audio HAL
            “routes”: list of possible connections between input and output devices or between stream and
            devices.
                "route": is defined by an attribute:
                    -"type": <mux|mix> means all sources are mutual exclusive (mux) or can be mixed (mix)
                    -"sink": the sink involved in this route
                    -"sources": all the sources than can be connected to the sink via vis route
            “attachedDevices”: permanently attached devices.
            The attachedDevices section is a list of devices names. The names correspond to device names
            defined in <devicePorts> section.
            “defaultOutputDevice”: device to be used by default when no policy rule applies
        -->
        <modules>
            <module name="primary" halVersion="2.0">
                <attachedDevices>
                    <item>Speaker</item>
                    <item>Speaker Safe</item>
                    <item>Earpiece</item>
                    <item>Telephony Tx</item>
                    <item>Built-In Mic</item>
                    <item>Built-In Back Mic</item>
                    <item>Telephony Rx</item>
                </attachedDevices>
                <defaultOutputDevice>Speaker</defaultOutputDevice>
                <mixPorts>
                    <mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW|AUDIO_OUTPUT_FLAG_FAST">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="hifi_playback" role="source" />
                    <mixPort name="deep_buffer" role="source"
                            flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
                        <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
                                 samplingRates="44100,48000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="compressed_offload" role="source"
                             flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING">
                        <profile name="" format="AUDIO_FORMAT_MP3"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
                        <profile name="" format="AUDIO_FORMAT_AAC_LC"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
                        <profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000,64000,88200,96000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
                        <profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO,AUDIO_CHANNEL_OUT_MONO"/>
                    </mixPort>
                    <mixPort name="voice_tx" role="source">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="voip_rx" role="source"
                             flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                               samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="incall_music_uplink" role="source"
                            flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="8000,16000,48000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                    <mixPort name="primary input" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
                                 channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
                    </mixPort>
                    <mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_FAST">
                        <profile name="" format="AUDIO_FORMAT_PCM_8_24_BIT"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
                                 channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
                    </mixPort>
                    <mixPort name="hifi_input" role="sink" />
                    <mixPort name="voice_rx" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="8000,16000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
                    </mixPort>
                    <mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
                                 channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK,AUDIO_CHANNEL_INDEX_MASK_3"/>
                    </mixPort>
                    <mixPort name="voip_tx" role="sink"
                             flags="AUDIO_INPUT_FLAG_VOIP_TX">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
                    </mixPort>
                </mixPorts>
                <devicePorts>
                    <devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
                    </devicePort>
                    <devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
                    </devicePort>
                    <devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
                    </devicePort>
                    <devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
                    </devicePort>
                    <devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
                    </devicePort>
                    <devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
                    </devicePort>
                    <devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
                    </devicePort>
                    <devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
                    </devicePort>
                    <devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
                    </devicePort>
                    <devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
                    </devicePort>
                    <devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
                    </devicePort>
                    <devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
                    </devicePort>
                    <devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
                    </devicePort>
                    <devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
                    </devicePort>
                    <devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
                    </devicePort>
                    <devicePort tagName="Telephony Rx" type="AUDIO_DEVICE_IN_TELEPHONY_RX" role="source">
                    </devicePort>
                    <!-- TODO: Enable multi-channel recording -->
                    <devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
                    </devicePort>
                    <devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
                    </devicePort>
                </devicePorts>
                <routes>
                    <route type="mix" sink="Earpiece"
                           sources="primary output,raw,deep_buffer,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="Speaker"
                           sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="Wired Headset"
                           sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="Wired Headphones"
                           sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="Speaker Safe"
                           sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="BT SCO"
                           sources="primary output,raw,deep_buffer,voip_rx"/>
                    <route type="mix" sink="BT SCO Headset"
                           sources="primary output,raw,deep_buffer,voip_rx"/>
                    <route type="mix" sink="BT SCO Car Kit"
                           sources="primary output,raw,deep_buffer,voip_rx"/>
                    <route type="mix" sink="USB Device Out"
                           sources="primary output,raw,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="USB Headset Out"
                           sources="primary output,raw,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
                    <route type="mix" sink="Telephony Tx"
                           sources="voice_tx,incall_music_uplink"/>
                    <route type="mix" sink="primary input"
                           sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In"/>
                    <route type="mix" sink="fast input"
                           sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In"/>
                    <route type="mix" sink="voice_rx"
                           sources="Telephony Rx"/>
                    <route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
                    <route type="mix" sink="mmap_no_irq_in"
                           sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
                    <route type="mix" sink="voip_tx"
                           sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,USB Device In,USB Headset In"/>
                </routes>
            </module>
    
            <!-- A2DP Input Audio HAL -->
            <module name="a2dp" halVersion="2.0">
                <mixPorts>
                    <mixPort name="a2dp input" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100,48000"
                                 channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
                    </mixPort>
                </mixPorts>
                <devicePorts>
                    <devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100,48000"
                                 channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
                    </devicePort>
                </devicePorts>
                <routes>
                    <route type="mix" sink="a2dp input"
                           sources="BT A2DP In"/>
                </routes>
            </module>
    
            <!-- Bluetooth Audio HAL Audio Policy Configuration file -->
            <module name="bluetooth" halVersion="2.0">
                <mixPorts>
                    <!-- A2DP Audio Ports -->
                    <mixPort name="a2dp output" role="source"/>
                    <!-- Hearing AIDs Audio Ports -->
                    <mixPort name="hearing aid output" role="source">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="24000,16000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                </mixPorts>
                <devicePorts>
                    <!-- A2DP Audio Ports -->
                    <devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100,48000,88200,96000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </devicePort>
                    <devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100,48000,88200,96000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </devicePort>
                    <devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100,48000,88200,96000"
                                 channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </devicePort>
                    <!-- Hearing AIDs Audio Ports -->
                    <devicePort tagName="BT Hearing Aid Out" type="AUDIO_DEVICE_OUT_HEARING_AID" role="sink"/>
                </devicePorts>
                <routes>
                    <route type="mix" sink="BT A2DP Out"
                           sources="a2dp output"/>
                    <route type="mix" sink="BT A2DP Headphones"
                           sources="a2dp output"/>
                    <route type="mix" sink="BT A2DP Speaker"
                           sources="a2dp output"/>
                    <route type="mix" sink="BT Hearing Aid Out"
                           sources="hearing aid output"/>
                </routes>
            </module>
            
            <!-- Usb Audio HAL -->
            <module name="usb" halVersion="2.0">
                <mixPorts>
                    <mixPort name="usb_accessory output" role="source">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </mixPort>
                </mixPorts>
                <devicePorts>
                    <devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
                        <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                                 samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
                    </devicePort>
                </devicePorts>
                <routes>
                    <route type="mix" sink="USB Host Out"
                           sources="usb_accessory output"/>
                </routes>
            </module>
    
            <!-- Remote Submix Audio HAL -->
            <xi:include href="r_submix_audio_policy_configuration.xml"/>
    
        </modules>
        <!-- End of Modules section -->
    
        <!-- Volume section -->
    
        <xi:include href="audio_policy_volumes.xml"/>
        <xi:include href="default_volume_tables.xml"/>
    
        <!-- End of Volume section -->
    
    </audioPolicyConfiguration>

    @Raghu varma - if you can include the file changes in the image itself it should fix the issue? Could do with some testing first though obviously!
    3
    This is a known issue on (as far as I know) all Pie ROMs and so far all Q ROMS, too. No solution in sight.

    I figured out that with this rom, you can install this magisk module to make bluetooth work, don't know if this works on pixel experience and android 10 or not