Enabling USB-Audio out - Joying Intel SC9853i Android 8.1 - Android Head-Units
Currently i am trying to enable USB-Audio out in the newest Intel SC9853i Joying Headunits. That would be a great feature for me and some other audiophiles.
In older Joyings with Android 5.1, it was possible to enable it by adding code to the audio_policy.conf:
# Global configuration section: lists input and output devices always present on the device
# as well as the output device selected by default.
# Devices are designated by a string that corresponds to the enum in audio.h
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_VOICE_CALL|AUDIO_DEVICE_IN_REMOTE_SUBMIX|AUDIO_DEVICE_IN_BLUETOOTH_A2DP
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
# device. Each hw module node is named after the corresponding hw module library base name.
# For instance, "primary" corresponds to audio.primary.<device>.so.
# The "primary" module is mandatory and must include at least one output with
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
# Each module descriptor contains one or more output profile descriptors and zero or more
# input profile descriptors. Each profile lists all the parameters supported by a given output
# or input stream category.
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
audio_hw_modules {
primary {
outputs {
primary {
sampling_rates 48000 | 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_FM
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
}
inputs {
primary {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO|AUDIO_CHANNEL_IN_VOICE_UPLINK|AUIDIO_CHANNEL_IN_VOICE_DNLINK|AUDIO_CHANNEL_IN_VOICE_UPLINK_DNLINK
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET|AUDIO_DEVICE_IN_WIRED_HEADSET|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_FM_RX|AUDIO_DEVICE_IN_VOICE_CALL
}
}
}
a2dp {
outputs {
a2dp {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_ALL_A2DP
}
}
inputs {
primary {
sampling_rates 48000 | 44100
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_BLUETOOTH_A2DP
}
}
}
r_submix {
outputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
usb {
outputs {
usb_accessory {
sampling_rates 44100
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_USB_ACCESSORY
}
usb_device {
sampling_rates dynamic
channel_masks dynamic
formats dynamic
devices AUDIO_DEVICE_OUT_USB_DEVICE
}
}
inputs {
usb_device {
sampling_rates dynamic
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_USB_DEVICE
}
}
}
}
Click to expand...
Click to collapse
In Android 8, the file format changed from .conf to xml and also the code changed a bit and multiple files are defining the modules, devices, volume and routing of sound. I rooted the Joying and copied all files on a stick. On the first look, it seems totally okay, USB-Audio is defined as a module. When connecting a USB-DAC, it is powered, but sound is not routet to it.
So i think there is code missing in the rooting of sound, or it is muted but i just can´t find whats missing.
Does someone have a clue what has to be changed to get it working?
audio_policy_configuration.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright (C) 2017 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- version section contains a “version” tag in the form “major.minor” e.g version=”1.0” -->
<!-- Global configuration Decalaration -->
<globalConfiguration speaker_drc_enabled="true"/> <!-- HIER WAR VORHER false -->
<modules>
<!-- Primary Audio HAL -->
<xi:include href="primary_audio_policy_configuration.xml"/>
<!-- Remote Submix Audio HAL -->
<xi:include href="r_submix_audio_policy_configuration.xml"/>
<!-- A2dp Audio HAL -->
<xi:include href="a2dp_audio_policy_configuration.xml"/>
<!-- Usb Audio HAL -->
<xi:include href="usb_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>
Click to expand...
Click to collapse
primary_audio_policy_configuration.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Default Primary Audio HAL Module Audio Policy Configuration include flie -->
<module name="primary" halVersion="2.0">
<attachedDevices>
<item>Speaker</item>
<item>Earpiece</item>
<item>Built-In Mic</item>
<item>Built-In Back Mic</item>
</attachedDevices>
<defaultOutputDevice>Speaker</defaultOutputDevice>
<mixPorts>
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<!--
<mixPort name="deep_buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,11025,12000,16000,22050,24000,32000,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"/>
</mixPort>
<mixPort name="voice_tx" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</mixPort>
<mixPort name="primary input" role="sink">
<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"/>
</mixPort>
<mixPort name="voice_rx" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</mixPort>
</mixPorts>
<devicePorts>
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</devicePort>
<devicePort tagName="Speaker" role="sink" type="AUDIO_DEVICE_OUT_SPEAKER">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</devicePort>
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</devicePort>
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</devicePort>
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</devicePort>
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
<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"/>
</devicePort>
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
<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"/>
</devicePort>
<devicePort tagName="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" role="source">
<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"/>
</devicePort>
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</devicePort>
<devicePort tagName="Telephony Rx" type="AUDIO_DEVICE_IN_TELEPHONY_RX" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
</devicePort>
</devicePorts>
<!-- route declaration, i.e. list all available sources for a given sink -->
<routes>
<route type="mix" sink="Earpiece"
sources="primary output,compressed_offload,BT SCO Headset Mic"/>
<route type="mix" sink="Speaker"
sources="primary output,compressed_offload,BT SCO Headset Mic,Telephony Rx"/>
<route type="mix" sink="Wired Headset"
sources="primary output,compressed_offload,BT SCO Headset Mic,Telephony Rx"/>
<route type="mix" sink="Wired Headphones"
sources="primary output,BT SCO Headset Mic,Telephony Rx"/>
<route type="mix" sink="BT SCO"
sources="primary output,Telephony Rx"/>
<route type="mix" sink="BT SCO Headset"
sources="primary output,Telephony Rx"/>
<route type="mix" sink="BT SCO Car Kit"
sources="primary output,Telephony Rx"/>
<route type="mix" sink="primary input"
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic"/>
<route type="mix" sink="Telephony Tx"
sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic, voice_tx"/>
<route type="mix" sink="voice_rx"
sources="Telephony Rx"/>
</routes>
</module>
Click to expand...
Click to collapse
usb_audio_policy_configuration.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- USB Audio HAL Audio Policy Configuration file -->
<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>
<mixPort name="usb_device output" role="source"/>
<mixPort name="usb_device input" role="sink"/>
</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>
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink"/>
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink"/>
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source"/>
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source"/>
</devicePorts>
<routes>
<route type="mix" sink="USB Host Out"
sources="usb_accessory output"/>
<route type="mix" sink="USB Device Out"
sources="usb_device output"/>
<route type="mix" sink="USB Headset Out"
sources="usb_device output"/>
<route type="mix" sink="usb_device input"
sources="USB Device In,USB Headset In"/>
</routes>
</module>
Click to expand...
Click to collapse
audio_policy_volumes.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Volume section defines a volume curve for a given use case and device category.
It contains a list of points of this curve expressing the attenuation in Millibels for a given
volume index from 0 to 100.
<volume stream=”AUDIO_STREAM_MUSIC” deviceCategory=””>
<point>0,-9600</point>
<point>100,0</point>
</volume>
-->
<volumes>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>1,-2970</point>
<point>33,-2010</point>
<point>66,-1020</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
<point>0,-2400</point>
<point>33,-1600</point>
<point>66,-800</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
<point>0,-4200</point>
<point>33,-2800</point>
<point>66,-1400</point>
<point>100,0</point>
</volume>
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
<point>1,-3000</point>
<point>33,-2600</point>
<point>66,-2200</point>
<point>100,-1800</point>
</volume>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="SILENT_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
ref="FULL_SCALE_VOLUME_CURVE"/>
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
ref="FULL_SCALE_VOLUME_CURVE"/>
</volumes>
Click to expand...
Click to collapse
r_submix_audio_policy_configuration.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Remote Submix Audio Policy Configuration file -->
<module name="r_submix" halVersion="2.0">
<attachedDevices>
<item>Remote Submix In</item>
</attachedDevices>
<mixPorts>
<mixPort name="r_submix output" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</mixPort>
<mixPort name="r_submix input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>
<devicePorts>
<devicePort tagName="Remote Submix Out" type="AUDIO_DEVICE_OUT_REMOTE_SUBMIX" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>
<devicePort tagName="Remote Submix In" type="AUDIO_DEVICE_IN_REMOTE_SUBMIX" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</devicePort>
</devicePorts>
<routes>
<route type="mix" sink="Remote Submix Out"
sources="r_submix output"/>
<route type="mix" sink="r_submix input"
sources="Remote Submix In"/>
</routes>
</module>
Click to expand...
Click to collapse
does it work with USB Audio Player Pro ?
I'm with you on this one. It would be great if this worked. I use a Mini-DSP 2x4 in my car with Nexus 7. Great sound. I switched to Joying for better integration but lost USB audio out. So SAD!
stelchlepp said:
Currently i am trying to enable USB-Audio out in the newest Intel SC9853i Joying Headunits. That would be a great feature for me and some other audiophiles.
In older Joyings with Android 5.1, it was possible to enable it by adding code to the audio_policy.conf:
Click to expand...
Click to collapse
To start with: I am no audiophile and certainly not an audio expert.
This worked on both the Android 5.1 and 6.1.0 Sofia versions, but you still did not have the possibility to manage the volume. You needed a Xposed module to do that (like XFytTweaker and/or its predecessor XSofiaTweaker). As such the audio went via the "AudioManager.STREAM_MUSIC" channel, so not so difficult or different.
With the arrival of the SPDIF modules something seems indeed to be missing.
At that time there were several USB-DAC epxerts but I haven't seen them in the forum for a very long time.
any update regarding this one?
Have you figured this out? I have same issue with Android 10 unit. It works only thru UAPP.
Related
Distance between icons in Wm 6.5
Is there any registry key to change this value ??? Thanks in advance, I googled without any responce.
deckard_67 said: Is there any registry key to change this value ??? Thanks in advance, I googled without any responce. Click to expand... Click to collapse if you mean in the start menu, then you need to edit the startmenu_gridscene*******.cpr files for example here's a 4 column large icon version Code: <Form Width="480" Height="800"> <StartMenu_GridScene ID="Scene"> <GridView ID="Start Menu Items List" Top="0" Left="0" Width="480" Height="736" Columns="4" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE"> <Image ID="Selection" Left="7" Top="-28" Width="150" Height="155" Source=".\StartMenu_Selection.png" /> <Layer ID="GridItem" Width="145" Height="156" OnAction ="GridItemAction"> <Layer ID="Normal"> <Image ID="Image" Left="40" Top="4" Width="90" Height="90" ScaleStyle="Fit" /> <Text ID="Text" Left="30" Top="95" Width="110" Height="68" FontFamily="Tahoma" FontSize="7" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" /> </Layer> </Layer> <Layer ID="NoItems"> <Text ID="Text" Width="480" Height="40" FontFamily="Tahoma" FontSize="11" ForeColor="#00FFFFFF" Wrap="true" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text> </Layer> </GridView> </StartMenu_GridScene> </Form>
fards said: if you mean in the start menu, then you need to edit the startmenu_gridscene*******.cpr files ....................... Click to expand... Click to collapse i meant it, thanks guy.
MOD EDIT Moving thread to general discussion forum
[Q]How to change the icon size in start menu
hello to will any please help me to how we will change the size of icons ....because mine looks quite big i already changed the icon resolution but still my icons look big..;i think we have to do in start_menu grid but i did not sure...so will any one please help me... thanks to all
Yes, in the start menu cpr, change in <Image> the width and height
OndraSter said: Yes, in the start menu cpr, change in <Image> the width and height Click to expand... Click to collapse thanks u very much bro it changed my icon size but there is a big gap between the icon and the text in which entry we modify this
Again in the cpr, I guess you can try lowering the "top" value of <Text>
OndraSter said: Again in the cpr, I guess you can try lowering the "top" value of <Text> Click to expand... Click to collapse Ok thank bro one last question for modifying thé gap between one icon to another icon is too large also ...in first row i want to make it for showing 5 icons instead of 4 in screen shot ...I have again modify the height and width in text or ? Thanks once again
shafizal said: Ok thank bro one last question for modifying thé gap between one icon to another icon is too large also ...in first row i want to make it for showing 5 icons instead of 4 in screen shot ...I have again modify the height and width in text or ? Thanks once again Click to expand... Click to collapse Depends on your resolution, here is a cpr for WQVGA, yours may be different Code: <Form Width="240" Height="400"> <StartMenu_GridScene ID="Scene"> <GridView ID="Start Menu Items List" Top="0" Left="0" Width="240" Height="348" Columns="3" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE"> <Image ID="Selection" Left="0" Top="0" Width="96" Height="83" Source=".\StartMenu_Selection.png" /> <Layer ID="GridItem" Width="96" Height="83" OnAction ="GridItemAction"> <Layer ID="Normal"> <Image ID="Image" Left="32" Top="6" Width="32" Height="32" ScaleStyle="Fit" /> <Text ID="Text" Left="13" Top="43" Width="70" Height="34" FontFamily="Tahoma" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" /> </Layer> </Layer> <Layer ID="NoItems"> <Text ID="Text" Width="240" Height="20" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text> </Layer> </GridView> </StartMenu_GridScene> </Form> You can change Columns="3" to any number that you like
lioryte said: Depends on your resolution, here is a cpr for WQVGA, yours may be different Code: <Form Width="240" Height="400"> <StartMenu_GridScene ID="Scene"> <GridView ID="Start Menu Items List" Top="0" Left="0" Width="240" Height="348" Columns="3" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="TRUE"> <Image ID="Selection" Left="0" Top="0" Width="96" Height="83" Source=".\StartMenu_Selection.png" /> <Layer ID="GridItem" Width="96" Height="83" OnAction ="GridItemAction"> <Layer ID="Normal"> <Image ID="Image" Left="32" Top="6" Width="32" Height="32" ScaleStyle="Fit" /> <Text ID="Text" Left="13" Top="43" Width="70" Height="34" FontFamily="Tahoma" FontSize="8" HorizontalAlignment="Center" VerticalAlignment="Top" Wrap="True" Trimming="EllipsisCharacter" ForeColor="#00FFFFFF" BackColor="#00000000" /> </Layer> </Layer> <Layer ID="NoItems"> <Text ID="Text" Width="240" Height="20" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" HorizontalAlignment="Center" Trimming="Character" InnerTextType="Resource">shellres.dll,22596</Text> </Layer> </GridView> </StartMenu_GridScene> </Form> You can change Columns="3" to any number that you like[/QUOTE thanks for the reply............ but the value is for columns grid..i am looking for reduce the gap between from one icon to another icon Click to expand... Click to collapse
Mostly change the Columns number in the <GridView> , test it and if it overlaps, change the width of the text.
Also, (never tried this) but maybe change the <Form Width="240" Height="400> to a smaller number to get 'em closer?
VGA WM6.5.x New WP7 Start Menu
VGA Ekranlar için diamond dan görüntüler az önce hazırladım http://forum.xda-developers.com/showthread.php?t=881858 PHP: <?xml version="1.0"?> <Form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Width="480" Height="640"> <StartMenu_GridScene ID="Scene"> <GridView ID="Start Menu Items List" Width="480" Height="536" Columns="1" Scrollable="TRUE" HexagonGrid="TRUE" HorizontalWrapAround="FALSE"> <Image ID="Selection" Left="57" Width="90" Height="90" Source=".\" /> <Layer ID="GridItem" Width="480" Height="90" OnAction="GridItemAction"> <Layer ID="Normal"> <Image ID="Hexagon Overlay Image" Width="480" Height="90" ScaleStyle="Fit" Source=".\" /> <Image ID="Image" Left="20" Top="13" Width="64" Height="64" ScaleStyle="Fit" /> <Text ID="Text" Left="105" Top="46" Width="480" Height="90" FontFamily="Segoe UI" FontSize="8" ForeColor="3bb9ff" BackColor="#2000ff " Wrap="True" Trimming="EllipsisCharacter" /> <Text ID="Text" Left="105" Top="06" Width="480" Height="90" FontFamily="Segoe UI" FontSize="13" ForeColor="#ffffff" BackColor="#2000ff " Wrap="True" Trimming="EllipsisCharacter" /> </Layer> </Layer> <Layer ID="NoItems"> <Text ID="Text" Width="480" Height="90" FontFamily="Tahoma" FontSize="10" ForeColor="#00FFFFFF" Wrap="False" Trimming="Character" HorizontalAlignment="Center" InnerTextType="Resource" /> </Layer> </GridView> </StartMenu_GridScene> </Form>
it's used well and fastly?
raymond7555 said: it's used well and fastly? Click to expand... Click to collapse yes, if you know and have support applications its
GPS SOLUTION FOUND updated 5.4.11
The best GPS solution that will stablize your gps and fix issues can be found here, but please read all http://forum.xda-developers.com/showthread.php?t=1068416 Change GPS server: Video instructions/much easier! New HD video here: http://www.youtube.com/watch?v=KLnn1VZc8jc&feature=youtube_gdata_player Root required* United states only* Other countrys: You can still find a server for other counrties, but watch my youtube video first on how to. Even states from https://support.ntp.org/bin/view/Servers/StratumOneTimeServers Once you find a server copy and paste server were It says in instructions: us.pool.ntp.org. Instructions: With Root Explorer go to /etc/gps.conf In Root Explorer long press on the file and select open in text editor Change the first line from: NTP_SERVER=north-america.pool.ntp.org to NTP_SERVER=us.pool.ntp.org Save changes and reboot ENJOY Thanks to UnicornKaz, calebv2 and mrvanes from xda devs. FYI STOP USING FASTERFIX APP IT WILL SCREW YOU UP IF YOU APPLY THESE CHANGES ___________________________________ New. Try this and see how it works for you. POSTED BY UnicornKaz "Settings-->>Location & security" menu, there is the option to "uncheck" how the device determine your location...etc 1/ Use wireless networks 2/ Use GPS satellites 3/ Use location for Google Search I have #2 & #3 checked and I leaved #1 UNCHECKED Click to expand... Click to collapse
lost I do not have nothing like that in There Guess GPS status tools added the below xml version="1.0" encoding="utf-8"?> <glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" > <hal acPortName="/dev/ttyHS1" lBaudRate="115200" cLogEnabled="false" acLogDirectory="/data/gps" ltoFileName="lto.dat" ctrlPipe="/data/gps/glgpsctrl" lcsApiSockName="/dev/socket/gps" gpioNStdbyPath="/sys/class/gpio/gpio203/value" gpioDelayMs="120" arp-supl-enable="false" /> <!-- GPS configuration with standalone 16.8 MHz TCXO --> <gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_26MHZ_2PPM" RfType="GL_RF_4751_DANUBE" PeriodicTimeOutSec="30" /> <!-- GPS configuration for with 16.8 MHz TCXO and CNTIN connected to the clock with 100 ppb uncertainty --> <!--gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_16_8MHZ_2PPM_10MHZ_100PPB" RfType="GL_RF_BARRACUDA_EXT_LNA" /--> <!-- GPS configuration for with 16.8 MHz TCXO and CNTIN connected to the clock with 300 ppb uncertainty --> <!--gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_16_8MHZ_2PPM_10MHZ_300PPB" RfType="GL_RF_BARRACUDA_EXT_LNA" /--> <!-- Periodic Position Fix using default settings --> <job id="Periodic"> <task> <req_pos/> </task> </job> <!-- Periodic Position with the ROM almanac ignored for simulator testing --> <job id="Simulator_Periodic"> <task id="cont" repeat="1"> <startup ignore_rom_alm="true" /> <req_pos validfix="2000" duration_sec="4500"/> </task> </job> <!-- Repetetive cold starts --> <job id="Cold_Starts"> <task repeat="1000000"> <startup ignore_osc="false" ignore_rom_alm="false" ignore_ram_alm="false" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive cold starts with the ROM almanac ignored for simulator testing --> <job id="Simulator_Cold_Starts"> <task repeat="1000000"> <startup ignore_osc="false" ignore_rom_alm="true" ignore_ram_alm="false" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive warm starts Stored ephemeris data is discarded before the start begins This simulates GPS receiver start after it was left off for more that 4 hours --> <job id="Warm_Starts"> <task repeat="1000000"> <startup ignore_nav="true"/> <req_pos validfix="1"/> </task> </job> <!-- Repetetive warm starts performed on GPS simulator --> <job id="Simulator_Warm_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_nav="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive hot starts --> <job id="Hot_Starts"> <task repeat="1000000"> <req_pos validfix="1"/> </task> </job> <!-- This job must be performed every time the GPS simulator scenarion is reset --> <job id="CollectEphemeris"> <task repeat="1"> <startup ignore_osc="true" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="200"/> </task> </job> <!-- This job performes series of single shot requests using the data stored in NVRAM to simulate assistance data received from the network The QoS parameters are set to maxmize the GPS sensitivity --> <job id="Assisted_Cold_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_ram_alm="true" /> <asst> <!--pos Lat="-30.0" Lon="-50.0" Alt="50" /--> <pos Lat="33.7691" Lon="-84.4062" Alt="300" /> <!--pos Lat="37.0" Lon="-122.0" Alt="50" /--> <!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /--> </asst> <req_pos_single acc="50" timeout="30" /> </task> </job> <!-- This job performes series of single shot requests using the data stored in NVRAM to simulate assistance data received from the network The QoS parameters are set as it woudld be set by Spirent ULTS executing 3GPP TS performance tests. --> <job id="3GPP_Assisted_Cold_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_ram_alm="true" /> <asst> <!--pos Lat="-30.0" Lon="-50.0" Alt="50" /--> <pos Lat="33.7691" Lon="-84.4062" Alt="300" /> <!--pos Lat="37.0" Lon="-122.0" Alt="50" /--> <!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /--> </asst> <req_pos_single acc="25" timeout="20" /> </task> </job> <!-- This job starts signle chanel factory test mode The signal is expected to be in the range from -125 dBm to -145 dBm with the frequency offset range from -2 ppm to +2 ppm for this mode to provide reliable results --> <job id="Factory_High_SNR"> <task id="test" repeat="1"> <startup ignore_osc="true" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_CONT" GL_FACT_TEST_ITEMS="GL_FACT_TEST_WER" avg_int_sec="10" duration_sec="60" /> </task> </job> <!-- This job is intended to be ran after the Factory_High_SNR job It uses the TCXO offset stored in NVRAM during the Factory_High_SNR job --> <job id="Factory_Low_SNR"> <task id="test" repeat="1"> <startup ignore_osc="false" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_CONT" GL_FACT_TEST_ITEMS="GL_FACT_TEST_WER" avg_int_sec="10" duration_sec="200" /> </task> </job> </glgps>
wrong file, its gps.conf erica_renee said: I do not have nothing like that in There Guess GPS status tools added the below xml version="1.0" encoding="utf-8"?> <glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" > <hal acPortName="/dev/ttyHS1" lBaudRate="115200" cLogEnabled="false" acLogDirectory="/data/gps" ltoFileName="lto.dat" ctrlPipe="/data/gps/glgpsctrl" lcsApiSockName="/dev/socket/gps" gpioNStdbyPath="/sys/class/gpio/gpio203/value" gpioDelayMs="120" arp-supl-enable="false" /> <!-- GPS configuration with standalone 16.8 MHz TCXO --> <gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_26MHZ_2PPM" RfType="GL_RF_4751_DANUBE" PeriodicTimeOutSec="30" /> <!-- GPS configuration for with 16.8 MHz TCXO and CNTIN connected to the clock with 100 ppb uncertainty --> <!--gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_16_8MHZ_2PPM_10MHZ_100PPB" RfType="GL_RF_BARRACUDA_EXT_LNA" /--> <!-- GPS configuration for with 16.8 MHz TCXO and CNTIN connected to the clock with 300 ppb uncertainty --> <!--gll LogPriMask="LOG_DEBUG" LogFacMask="LOG_GLLAPI | LOG_NMEA | LOG_RAWDATA" FrqPlan="FRQ_PLAN_16_8MHZ_2PPM_10MHZ_300PPB" RfType="GL_RF_BARRACUDA_EXT_LNA" /--> <!-- Periodic Position Fix using default settings --> <job id="Periodic"> <task> <req_pos/> </task> </job> <!-- Periodic Position with the ROM almanac ignored for simulator testing --> <job id="Simulator_Periodic"> <task id="cont" repeat="1"> <startup ignore_rom_alm="true" /> <req_pos validfix="2000" duration_sec="4500"/> </task> </job> <!-- Repetetive cold starts --> <job id="Cold_Starts"> <task repeat="1000000"> <startup ignore_osc="false" ignore_rom_alm="false" ignore_ram_alm="false" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive cold starts with the ROM almanac ignored for simulator testing --> <job id="Simulator_Cold_Starts"> <task repeat="1000000"> <startup ignore_osc="false" ignore_rom_alm="true" ignore_ram_alm="false" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive warm starts Stored ephemeris data is discarded before the start begins This simulates GPS receiver start after it was left off for more that 4 hours --> <job id="Warm_Starts"> <task repeat="1000000"> <startup ignore_nav="true"/> <req_pos validfix="1"/> </task> </job> <!-- Repetetive warm starts performed on GPS simulator --> <job id="Simulator_Warm_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_nav="true" /> <req_pos validfix="1"/> </task> </job> <!-- Repetetive hot starts --> <job id="Hot_Starts"> <task repeat="1000000"> <req_pos validfix="1"/> </task> </job> <!-- This job must be performed every time the GPS simulator scenarion is reset --> <job id="CollectEphemeris"> <task repeat="1"> <startup ignore_osc="true" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_pos validfix="200"/> </task> </job> <!-- This job performes series of single shot requests using the data stored in NVRAM to simulate assistance data received from the network The QoS parameters are set to maxmize the GPS sensitivity --> <job id="Assisted_Cold_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_ram_alm="true" /> <asst> <!--pos Lat="-30.0" Lon="-50.0" Alt="50" /--> <pos Lat="33.7691" Lon="-84.4062" Alt="300" /> <!--pos Lat="37.0" Lon="-122.0" Alt="50" /--> <!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /--> </asst> <req_pos_single acc="50" timeout="30" /> </task> </job> <!-- This job performes series of single shot requests using the data stored in NVRAM to simulate assistance data received from the network The QoS parameters are set as it woudld be set by Spirent ULTS executing 3GPP TS performance tests. --> <job id="3GPP_Assisted_Cold_Starts"> <task repeat="1000000"> <startup ignore_rom_alm="true" ignore_ram_alm="true" /> <asst> <!--pos Lat="-30.0" Lon="-50.0" Alt="50" /--> <pos Lat="33.7691" Lon="-84.4062" Alt="300" /> <!--pos Lat="37.0" Lon="-122.0" Alt="50" /--> <!--pos Lat="37.26533652" Lon="-121.94128855" Alt="51.4" /--> </asst> <req_pos_single acc="25" timeout="20" /> </task> </job> <!-- This job starts signle chanel factory test mode The signal is expected to be in the range from -125 dBm to -145 dBm with the frequency offset range from -2 ppm to +2 ppm for this mode to provide reliable results --> <job id="Factory_High_SNR"> <task id="test" repeat="1"> <startup ignore_osc="true" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_CONT" GL_FACT_TEST_ITEMS="GL_FACT_TEST_WER" avg_int_sec="10" duration_sec="60" /> </task> </job> <!-- This job is intended to be ran after the Factory_High_SNR job It uses the TCXO offset stored in NVRAM during the Factory_High_SNR job --> <job id="Factory_Low_SNR"> <task id="test" repeat="1"> <startup ignore_osc="false" ignore_rom_alm="true" ignore_ram_alm="true" ignore_pos="true" ignore_nav="true" ignore_time="true" /> <req_ftest PRN="1" GL_FACT_TEST_MODE="GL_FACT_TEST_CONT" GL_FACT_TEST_ITEMS="GL_FACT_TEST_WER" avg_int_sec="10" duration_sec="200" /> </task> </job> </glgps> Click to expand... Click to collapse wrong file, its gps.conf
We went thru exactly the same stugg with the Ssamsung Galaxy Vibrant. Nothing got better until we got more advanced leaked modems on XDA.
Wow!!!! Just did the mod and in my house the tablet got a GPS fix in 14 seconds. My phone can't get a fix at all indoors.
robitron929 said: [MOD] Better GPS Acer, more universal than cingular Instructions: With Root Explorer (or similar app) go to /etc/gps.conf In Root Explorer long press on the file and select open in text editor Change the first line from: NTP_SERVER=north-america.pool.ntp.org to NTP_SERVER=us.pool.ntp.org Save changes and reboot ENJOY Thanks to calebv2 from xda devs. FYI STOP USING FASTERFIX APP IT WILL SCREW YOU UP IF YOU APPLY THESE CHANGES Click to expand... Click to collapse worked for me, excellent tip, also unloaded fasterfix and disabled wifi location, google maps lock within a minute.......
do this mod works in US only or everywhere?
interqd said: do this mod works in US only or everywhere? Click to expand... Click to collapse USA only....................... You should try fasterfix on the market where you are. I have no idea what Bali would use for gps server...
I get a message "Warning You cannot edit this file because the file is read-only." I click the ok button and nothing happens.
antonio8 said: I get a message "Warning You cannot edit this file because the file is read-only." I click the ok button and nothing happens. Click to expand... Click to collapse you need root explorer or another editor that can mount r/w
bonzer2u said: you need root explorer or another editor that can mount r/w Click to expand... Click to collapse i have it. root explorer v2.13.3 does the a500 need to be rooted?
It's /system/etc/gps.conf for those trying to find it... And here's a list of valid (localized) NTP servers in the pool: https://support.ntp.org/bin/view/Servers/NTPPoolServers
robitron929 said: [MOD] Better GPS Acer, more universal than cingular Instructions: With Root Explorer (or similar app) go to /etc/gps.conf In Root Explorer long press on the file and select open in text editor Change the first line from: NTP_SERVER=north-america.pool.ntp.org to NTP_SERVER=us.pool.ntp.org Save changes and reboot ENJOY Thanks to calebv2 from xda devs. FYI STOP USING FASTERFIX APP IT WILL SCREW YOU UP IF YOU APPLY THESE CHANGES Click to expand... Click to collapse How about if you live in europe? Is there any way to cofigure it to european GPS's?
Have anyone tried the settings mentioned in this similar GPS related post ? http://forum.xda-developers.com/showpost.php?p=14267565&postcount=48
@robitron929 (OP) Please edit the 1st post with a warning before some users from another region other then North America screw up their devices ..etc Thank you
antonio8 said: i have it. root explorer v2.13.3 does the a500 need to be rooted? Click to expand... Click to collapse Yep, it does. If you will look under the dev section you will find the link to root your a500. it's easy
Ok, so I messed up my gps probably by using fasterfix I removed all extra (aGPS related) lines in gps.conf and only left NTP_SERVER=nl.pool.ntp.org, reset the device multiple times and cleared GPS state (GPS Status & Toolbox) but I just don't see ANY satellite anymore and thus have no fix. Is there any way to reset GPS other than what I did, leaving the NTP server intact? I managed to get a fix, but not before I went outside and waited a couple of minutes. Aparently my neighborhoud is too urbanized to have lock inside...
thanks 8 sats locked, (outside) a record.
diffeent file When I open this file there is nothing like that in there. Thou I do get a OK GPS signal even in the house with wifi off just takes a few minutes to lock.I can see 8_10 sat inside and up tower or SOS out. But 2o sec lock would be nice.can you post your file here please as mine is way diffrent thanks erica
I have the same gpsconfig.xml as in post #2. Could you link to a copy of what you have? Thanks.
[PORT][GUIDE] Xperia XZs Conversation/Messaging Port
Xperia XZs Conversation/Messaging Port I'm wolfmannight back again to XDA. Earlier i deleted my account cause i stop working on port... Now I have bit of time to give you some cool xperia port... Love and thanks to Sony Dev Team... Pull out TelephonyProvider.apk from system/priv-app folder Decompile TelephonyProvider.apk Add lines in AndroidManifest.xml PHP: <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS"/> <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application> Unzip attachment smali.zip. Merge files in smali folder. Recompile apk, sign it with system keys, push back apk to system.... Install Messaging apk from apkmirror if install fails download it and put it in system manually... Keep in touch and give feedback... AOSP Builds Tested >>> working... LineageOS Build >>> Panding.. MY STORY.... its funny... well I Hard bricked my Xperia Z3c for experimenting with TA keys and restoration... i learned lot .... But never Flash TA manually if its not of your phone or corrupted TA backup... it really can **** your phone. Phone has no connection via USB, adb and fastboot mode both not working... If you have any idea or way to get my phone back please PM me.. If you really donate something please PM me... Working on Settings app port.. soon i post it
Hi,thankx for ur work Bt unfortunately its not working on my z2 running LOS14.1. I Have attacted a log plz have a look.
vikash1994b said: Hi,thankx for ur work Bt unfortunately its not working on my z2 running LOS14.1. I Have attacted a log plz have a look. Click to expand... Click to collapse Upload TelephonyProvider.apk and framework-res.apk
wolfmannight said: Upload TelephonyProvider.apk and framework-res.apk Click to expand... Click to collapse Sure TelephoneProvider_modded: https://drive.google.com/file/d/0B_ACsHR2ThfsSFlnREI5bjc2bzQ/view?usp=drivesdk TelephoneProvider_original: https://drive.google.com/file/d/0B_ACsHR2ThfsRmxNREFfVHY2YjQ/view?usp=drivesdk Framework-res.apk: https://drive.google.com/file/d/0B_ACsHR2ThfsV2ZDWFZCeTA4VkU/view?usp=drivesdk
vikash1994b said: Sure TelephoneProvider_modded: https://drive.google.com/file/d/0B_ACsHR2ThfsSFlnREI5bjc2bzQ/view?usp=drivesdk TelephoneProvider_original: https://drive.google.com/file/d/0B_ACsHR2ThfsRmxNREFfVHY2YjQ/view?usp=drivesdk Framework-res.apk: https://drive.google.com/file/d/0B_ACsHR2ThfsV2ZDWFZCeTA4VkU/view?usp=drivesdk Click to expand... Click to collapse You forgot 1st step..... Add lines in AndroidManifest.xml
wolfmannight said: You forgot 1st step..... Add lines in AndroidManifest.xml Click to expand... Click to collapse No i have added those lines
vikash1994b said: No i have added those lines Click to expand... Click to collapse LOL dont add new... just replace it PHP: <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application>
wolfmannight said: LOL dont add new... just replace it Click to expand... Click to collapse i tried bt still FC. here is my androidmanifest plz have a look PHP: <?xml version="1.0" encoding="utf-8" standalone="no"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.phone" coreApp="true" package="com.android.providers.telephony" platformBuildVersionCode="25" platformBuildVersionName="7.1.2"> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE"/> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED"/> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application> </manifest>
Try this code replace whole code with this PHP: <?xml version="1.0" encoding="utf-8" standalone="no"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.phone" coreApp="true" package="com.android.providers.telephony" platformBuildVersionCode="25" platformBuildVersionName="7.1.2"> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE"/> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED"/> <permission android:name="com.somc.permissions.WRITE_SMSC" android:protectionLevel="signatureOrSystem"/> <permission android:name="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:protectionLevel="signatureOrSystem"/> <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application> </manifest> and if FC send log
wolfmannight said: Try this code replace whole code with this PHP: <?xml version="1.0" encoding="utf-8" standalone="no"?> <manifest xmlns:android="[url]http://schemas.android.com/apk/res/android"[/url] android:sharedUserId="android.uid.phone" coreApp="true" package="com.android.providers.telephony" platformBuildVersionCode="25" platformBuildVersionName="7.1.2"> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE"/> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED"/> <permission android:name="com.somc.permissions.WRITE_SMSC" android:protectionLevel="signatureOrSystem"/> <permission android:name="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:protectionLevel="signatureOrSystem"/> <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application> </manifest> and if FC send log Click to expand... Click to collapse K iwl try nd tell result
wolfmannight said: Try this code replace whole code with this PHP: <?xml version="1.0" encoding="utf-8" standalone="no"?> <manifest xmlns:android="[url]http://schemas.android.com/apk/res/android"[/url] android:sharedUserId="android.uid.phone" coreApp="true" package="com.android.providers.telephony" platformBuildVersionCode="25" platformBuildVersionName="7.1.2"> <uses-permission android:name="android.permission.RECEIVE_SMS"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS"/> <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> <protected-broadcast android:name="android.provider.action.EXTERNAL_PROVIDER_CHANGE"/> <protected-broadcast android:name="android.intent.action.CONTENT_CHANGED"/> <permission android:name="com.somc.permissions.WRITE_SMSC" android:protectionLevel="signatureOrSystem"/> <permission android:name="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:protectionLevel="signatureOrSystem"/> <application android:allowClearUserData="false" android:backupAgent="TelephonyBackupAgent" android:backupInForeground="true" android:defaultToDeviceProtectedStorage="true" android:directBootAware="true" android:fullBackupOnly="true" android:icon="@mipmap/ic_launcher_phone" android:label="@string/app_label" android:process="com.android.phone" android:restoreAnyVersion="true" android:usesCleartextTraffic="true"> <provider android:authorities="telephony" android:exported="true" android:multiprocess="false" android:name="TelephonyProvider" android:singleUser="true"/> <provider android:authorities="sms" android:exported="true" android:multiprocess="false" android:name="SemcSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms" android:exported="true" android:multiprocess="false" android:name="SemcMmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"> <grant-uri-permission android:pathPrefix="/part/"/> <grant-uri-permission android:pathPrefix="/drm/"/> </provider> <provider android:authorities="smsc" android:exported="true" android:name="SomcSmscProvider" android:singleUser="true" android:writePermission="com.somc.permissions.WRITE_SMSC"/> <provider android:authorities="mms-sms" android:exported="true" android:multiprocess="false" android:name="SemcMmsSmsProvider" android:readPermission="android.permission.READ_SMS" android:singleUser="true"/> <provider android:authorities="mms-sms-capability" android:exported="true" android:multiprocess="true" android:name="SomcMmsSmsCapabilityProvider" android:readPermission="com.somc.permissions.READ_MMS_SMS_CAPABILITY" android:singleUser="true"/> <provider android:authorities="hbpcd_lookup" android:exported="true" android:multiprocess="false" android:name="HbpcdLookupProvider" android:singleUser="true" android:writePermission="android.permission.MODIFY_PHONE_STATE"/> <service android:exported="false" android:name=".TelephonyBackupAgent$DeferredSmsMmsRestoreService"/> </application> </manifest> and if FC send log Click to expand... Click to collapse Still fc Logs attached
vikash1994b said: Still fc Logs attached Click to expand... Click to collapse I have AOSP build... from this log LinageOS's gives bit different result... Wipe Data... and Cache... let it rebuild database and send log again
@wolfmannight - fc for me too. Xperia Z1c, A ICP N71... Here's log. Thanks
wolfmannight said: I have AOSP build... from this log LinageOS's gives bit different result... Wipe Data... and Cache... let it rebuild database and send log again Click to expand... Click to collapse Should i try on carbon rom,its based on AOSP-CAF
vikash1994b said: Should i try on carbon rom,its based on AOSP-CAF Click to expand... Click to collapse Sure
Try this
wolfmannight said: Try this Click to expand... Click to collapse Still doesnt work on los, This time it opens and closes nd fc popup appeared for a second nd disappeared. Logs:https://drive.google.com/file/d/0B_ACsHR2ThfsZEVQMWNRczc4RUk/view?usp=drivesdk
vikash1994b said: Still doesnt work on los, This time it opens and closes nd fc popup appeared for a second nd disappeared. Logs:https://drive.google.com/file/d/0B_ACsHR2ThfsZEVQMWNRczc4RUk/view?usp=drivesdk Click to expand... Click to collapse This time >>> Can't downgrade database from version 68 to 64 Wipe data and send log by following command adb logcat AndroidRuntime:E *:S
wolfmannight said: This time >>> Can't downgrade database from version 68 to 64 Wipe data and send log by following command adb logcat AndroidRuntime:E *:S Click to expand... Click to collapse wipe data of messaging app and rebooted.
vikash1994b said: wipe data of messaging app and rebooted. Click to expand... Click to collapse I Wipe data mean factory reset... all wipe ... data and cache...