[Q] asound.conf Document - Galaxy Tab Q&A, Help & Troubleshooting
Hello,
I have a Samsung P1000 Tab 7.
I was searching for a document/guide for editing the asound.conf file.
Any help is appreciated.
I wanted to understand the full form of the following:
0:OFF
1:RCV
2:SPK
3:HP
4:HP_NO_MIC
5:BT
6:SPK_HP
7:R_SPK
8:R_HP
9:R_HP_NO_MIC
10:R_SPK_HP
A detailed document or website would be very helpful.
Regards,
Chinmay
Issue: When bluetooth(A2DP) is connected and incoming call comes, only the bluetooth ringer is active, if I am not wearing the headset it results in missing the calls.
Goal: to edit the file so when call comes both the phone and the bluetooth notifies about the incoming call.
Existing asound.conf file:
Code:
# Android ALSA configuration file for the WM8994 audio.
##################################################################################################################################
#
# {name "Playback Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# # 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# # 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
# {name "Capture MIC Path" value 1} # 0:Main Mic 1:Ear MIC 2:BT MIC
# {name "Voice Call Path" value 1} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
# {name "Voice Call Recording" value 1} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
# {name "Voip Call Path" value 1} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
#
##################################################################################################################################
##
## Mixer Devices
##
ctl.AndroidPlayback {
type hw
card 0
}
ctl.AndroidRecord {
type hw
card 0
}
##
## Playback Devices
##
pcm.AndroidPlayback {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
]
}
}
pcm.AndroidPlayback_Earpiece {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Speaker {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Headset {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 3}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Headphone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 4}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Bluetooth {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Earpiece_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 3}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Headphone_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 4}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Bluetooth_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Headphone_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_LineOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_LineOut_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
{name "Playback Path" value 2}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_LineOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 11}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Hdmi_TVOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 13}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Hdmi_TVOut_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 14}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Hdmi_TVOut_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 15}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Earpiece_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 6}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
/////*****/////THIS
pcm.AndroidPlayback_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 8}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Bluetooth_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 5}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Speaker_Headphone_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Playback Path" value 10}
# 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT 6:SPK_HP 7:RING_SPK
# 8:RING_HP 9:RING_HP_NO_MIC 10:RING_SPK_HP 11:EXTRA_DOCK_SPEAKER
# 12:TV_OUT 13:HDMI_TV_OUT 14:HDMI_SPK 15:HDMI_DUAL
]
}
}
pcm.AndroidPlayback_Earpiece_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Speaker_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 3} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headphone_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 4} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Bluetooth_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 5} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Speaker_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 3} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
#
# FMRadio
#
pcm.AndroidPlayback_Speaker_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 1} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}
pcm.AndroidPlayback_Headset_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 2} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}
pcm.AndroidPlayback_Speaker_Headset_fmradio {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 5} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX 5:DUAL MIX
]
}
}
#
# FM Radio + AP Play
#
pcm.AndroidPlayback_Speaker_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 3} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}
pcm.AndroidPlayback_Headset_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 4} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX
]
}
}
pcm.AndroidPlayback_Speaker_Headset_dualinput {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "FM Radio Path" value 5} # 0:OFF 1:SPK 2:HP 3:SPK_MIX 4:HP_MIX 5:SPK_HP_MIX
]
}
}
#
# Video Call - Output stream
#
pcm.AndroidPlayback_Earpiece_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Speaker_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headset_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 3} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headphone_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 4} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Bluetooth_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Path" value 5} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
##
## Capture device
##
pcm.AndroidRecord {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Microphone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Earpiece_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Speaker_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Sub MIC
]
}
}
pcm.AndroidRecord_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 1} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Bluetooth_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 2} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Speaker_Headset_normal {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Speaker_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 1} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Headphone_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Speaker_Headset_ringtone {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
{name "Capture MIC Path" value 0} # 0:Main Mic 1:Ear Mic 2:BT Mic 3:OFF
]
}
}
pcm.AndroidRecord_Earpiece_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 1} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
pcm.AndroidRecord_Speaker_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 1} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
pcm.AndroidRecord_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 2} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
pcm.AndroidRecord_Headphone_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 1} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
pcm.AndroidRecord_Bluetooth_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 0} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
pcm.AndroidRecord_Speaker_Headset_incall {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "Voice Call Recording" value 0} # 0:CALL_RECORDING_OFF 1:CALL_RECORDING_MAIN 2:CALL_RECORDING_SUB
]
}
}
#
# Video Call - Input stream
#
pcm.AndroidRecord_Earpiece_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}
pcm.AndroidRecord_Speaker_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}
pcm.AndroidRecord_Headset_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}
pcm.AndroidRecord_Headphone_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
]
}
}
pcm.AndroidRecord_Bluetooth_videocall {
type hooks
slave.pcm {
type hw
card 1
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
# Already called codec path by Video call outputstream
#{name "Voice Call Path" value 5} # 0:OFF 1:RCV 2:SPK 3:HP3P 4:HP4P 5:BT
]
}
}
#
# ATV - Input stream (LTN_ATV)
#
pcm.AndroidRecord_Atv_normal {
type hooks
slave.pcm {
type hw
card 2
device 0 # Must be of type "digital audio capture"
}
hooks.0 {
type ctl_elems
hook_args [
]
}
}
## FEATURE_SEC_KOREA_MM_AUDIO
##
## Playback VOIP Call Devices
##
pcm.AndroidPlayback_Earpiece_voip {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Speaker_voip {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path" value 2} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headset_voip {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path" value 3} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Headphone_voip {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
# Enable audio output from the DSP
{name "VoIP Call Path" value 4} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
pcm.AndroidPlayback_Bluetooth_voip {
type hooks
slave.pcm {
type hw
card 0
device 0 # Must be of type "digital audio playback"
}
hooks.0 {
type ctl_elems
hook_args [
{name "VoIP Call Path" value 5} # 0:OFF 1:RCV 2:SPK 3:HP 4:HP_NO_MIC 5:BT
]
}
}
bluetooth doesn't work with calling sound
i have searched for asound.conf in xda and i have found it...i have bluetooth issue with my tablet....sound when i using headset bluetooth is forced to speakerphone during a call....if i listen music it works fine......i think there is a particular setting in asound.conf Can you do something for me?
I'm really tempted to quote that just to be an asshole.
Sent from my SCH-I510 using xda premium
Related
[Q] Seeking a build.prop dump.
hi, i am looking for a dump of the build.prop for the droid bionic. i am wanting to do a little experimenting with my nook Tab with app compatibility. if a kind soul would post a dump of there build.prop i would greatly appreciate it. The build.prop file is I believe a simple text file, please folks a simple copy and paste of your build.prop would be quite helpful.
Here you go! # begin build properties # autogenerated by buildinfo.sh ro.build.id=5.5.1_84_DBN-55 ro.build.display.id=5.5.1_84_DBN-55 ro.build.version.incremental=110814 ro.build.version.sdk=10 ro.build.version.codename=REL ro.build.version.release=2.3.4 ro.build.date=Sun Aug 14 23:56:58 CDT 2011 ro.build.date.utc=1313384218 ro.build.type=user ro.build.user=hpn683 ro.build.host=il93lnxdroid29 ro.build.tags=release-keys ro.product.model=DROID BIONIC ro.product.brand=verizon ro.product.name=targa_vzw ro.product.device=cdma_targa ro.product.board=targa ro.product.cpu.abi=armeabi-v7a ro.product.cpu.abi2=armeabi ro.product.manufacturer=motorola ro.product.locale.language=en ro.product.locale.region=US ro.wifi.channels= ro.board.platform=omap4 # ro.build.product is obsolete; use ro.product.device ro.build.product=targa_vzw # Do not try to parse ro.build.description or .fingerprint ro.build.description=cdma_targa-user 2.3.4 5.5.1_84_DBN-55 110814 release-keys ro.build.fingerprint=verizon/targa_vzw/cdma_targa:2.3.4/5.5.1_84_DBN-55/110814:user/release-keys # end build properties # # system.prop for CDMA Droidwe # # rild.libpath=/system/lib/libril-moto-umts-1.so rild.libpath=/system/lib/libmoto_ril.so rild.libargs=-d /dev/ttyO0 ro.sf.lcd_density=240 ro.default_usb_mode=2 ro.mot.ril.danlist=611,*611,#611 persist.ril.ecclist=911,*911,#911 persist.ril.modem.mode =1 # This defines the max event window manager can # handle in 1 s. We may adjust this # for performance # reason later windowsmgr.max_events_per_sec=70 # USB modes allowed for UI and switching ro.ngp_available=1 ro.modem_available=0 # Default network type. # 4 => CDMA/EVDO. To be used until Targa has LTE SFN # 7 => GLOBAL. ro.telephony.default_network=7 ro.com.google.clientid=android-motorola ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html ro.cdma.home.operator.numeric=310004 ro.cdma.home.operator.alpha=Verizon ro.config.vc_call_vol_steps=7 # wlan interface wifi.interface = tiwlan0 softap.interface = tiap0 # Time between scans in seconds. Keep it high to minimize battery drain. # This only affects the case in which there are remembered access points, # but none are in range. wifi.supplicant_scan_interval = 45 # Indicate carrier OTA SP number schema # refer to frameworks/base/telephony/java/com/android/ # internal/telephony/cdma/CDMAPhone.java for the schema: ro.cdma.otaspnumschema=SELC,1,80,99 # write cdma MIN to property for VVM use in GSM/UMTS mode persist.radio.cdma.min = 0 # true Horizontal VVM is preloaded, not allow to install standalone version of # VVM from Android Market # false Horizontal VVM is not preloaded ro.HorizontalVVM=true # The OpenGL ES API level that is natively supported by this device. # This is a 16.16 fixed point number ro.opengles.version = 131072 # This is a high density device with more memory, so larger vm heaps for it. dalvik.vm.heapsize=32m # our HTML browser (not WAP browser ) does not need to specify UAProf URL ro.mot.hw.uaprof=http://uaprof.vtext.com/mot/xt875/xt875.xml # Enable HAC to also display Call Setting Menu Option. ro.mot.hw.HAC=1 # Motorola, a19622, 12/28/2009, IKSHADOW-204 / Location Settings for android # Property to set enabling state of the location privacy setting feature. # Motorola, a19622, 03/16/2010, IKSHADOW-2141 / Disable feature 33067 #ro.mot.settings.locprivacy=1 # ERI feature # 0 OFF # 1 ON ro.mot.eri=1 # Motorol,a6889c,02/Feb/2010,IKSHADOW-619 # Proximity Sensor feature # 0 disable # 1 enable persist.mot.proximity.touch=1 # End IKSHADOW-619 # BEGIN Motorola, a22976, 25-Feb-2010, IKSHADOW-702, FID 31841 # VZW Requirement Specifications: NETWORK BASED PLUS CODE DIALING # 0 disable # 1 enable ro.cdma.nbpcd=1 # END IKSHADOW-702 # BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone # Motorola, a22976, 12-Apr-2010, IKSHADOW-3298, Remove temporary power up tone # persist.mot.powerup.tone=/system/media/bootup.ogg # END IKSHADOW-1784 persist.mot.usb.mediasync = 1 # persist.usb.android_config = 1 # System property for SMC ro.service.start.smc=1 ro.HorizontalBUA=true #Proximity sensor debounce time mot.proximity.delay=450 # disable touch below 60 pixels mot.proximity.distance=60 #inphone calibration backup support ro.mot.hw.calibratedImager=1 # BEGIN Motorola, qpmc46, 05-Jul-2010, IKMAIN-311 persist.ril.mux.noofchannels = 8 # END Motorola, qpmc46, 05-Jul-2010, IKMAIN-311 #BEGIN Motorola, nfjb73, 21-jun-2010, # this is for feature 34386, other features for vzw global phone # could use this property too. IKMAIN-732 #1 this is verizon wireless globle phone #0 this is not verizon wireless globle phone ro.mot.phonemode.vzwglobalphone=0 # END Motorola, nfjb73, 21-jun-2010, IKMAIN-732 # BEGIN Motorola, nfjb73 23-jun-2010, IKMAIN-624 # this is for feature 33860, when phone is activated, the cdma mdn is written. persist.radio.vzw.cdma.mdn= # END Motorola, nfjb73 # BEGIN Motorola, qmfd78, 14-Jul-2010, IKMAIN-884 # GSM SMS traffic needs to be routed/sent through North America SMSC. # This is part of the VZW World-phone Feature. SMS are always sent to a US SMSC and then injected # into that network. This allows for billing and give the user the impression that the device is # still in the US. ro.telephony.gsm-routes-us-smsc = 1 # END Motorola, qmfd78, 14-Jul-2010, IKMAIN-884 # BEGIN Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423 # For north american cdma operators, this flag should be 1. # It enables number mangling when nbpcd (plus code dialing) is not supported. # This is part of the VZW World-phone Feature. ro.cdma.home.operator.isnan=1 # END Motorola, a22600 qmfd78, 16-Jul-2010, IKDROIDPRO-423 # EDM feature - IKDROIDPRO-381 - Start ro.mot.dpmext = true # EDM feature - IKDROIDPRO-381 -End # BEGIN Moto,IKDROIDPRO-430, a17673 # Feature33857 on DroidWE, support DualMode switch, UMTS/CDMA ##### Override in cdma_targa.mk until LTE + Global support. ###### #ro.mot.FTR.33857=true # END IKDROIDPRO-430 # This is necessary for framework to support # the LTE and eHRPD capability. ##### Override in cdma_targa.mk until LTE + Global support. ###### #ro.mot.lte_on_cdma=1 # BEGIN Moto, IKSTABLETWO-1284, nfjb73 # without this property, the lock screen would take global phone as UMTS # block user to operate before setup keyguard.no_require_sim = true # End Moto # BEGIN Moto, IKSTABLETWO-689, nfjb73, for 34387,33857 # when phone in Global mode, FW need to know the last phone mode beore power off # when phone power up, it would use the right mode to avoid switch persist.radio.ap.phonetype=2 # END IKSTABLETWO-689 # Multimode RIL Paths ##### Override in cdma_targa.mk until LTE + Global support. ###### #lte_ril.libpath=/system/lib/lib-mot-lte-ril.so #cdma_ril.libpath=/system/lib/libmoto_ril.so #ril.rat=LTE # Motorola, IKHALFMWK-3, w001091 # Feature 32711, deep sleep mode support ro.mot.deep.sleep.supported=true # BEGIN Motorola, A24124, 10-June-2011, IKTARGA-1744 ro.mot.bindervm.config = 251 # END IKTARGA-1744 #BEGIN Motorola, w30471, 16-Mar-2011, IKSTABLEFIVE-1796 35691 - Set configurable parameters for Verizon products mot.mms.con.timeout = 30000 mot.mms.socket.timeout = 120000 mot.mms.tr.vc.timeout = 55000 mot.mms.trm.timeout = 240000 mot.mms.abort.prog.lim = 90 mot.mms.retry.pic.size = 512000 mot.mms.retry.default = false mot.mms.retry.timeout.1 = 30000 mot.mms.retry.timeout.2 = 180000 mot.mms.retry.timeout.3 = 300000 mot.mms.retry.timeout.4 = 480000 # END IKSTABLEFIVE-1796 # Give extra time for LTE bug dumps ril.dumpstate.timeout=60 #Enable hdcp support ro.hdcp.support=2 # # ADDITIONAL_BUILD_PROPERTIES # ro.com.google.clientidbase=android-motorola ro.com.google.clientidbase.ms=android-verizon ro.com.google.clientidbase.am=android-verizon ro.com.google.clientidbase.gmm=android-motorola ro.com.google.clientidbase.yt=android-verizon ro.kernel.android.ril=yes persist.ril.mux.noofchannels=10 persist.ril.mux.ttydevice=/dev/ttyO0 persist.ril.modem.ttydevice=/dev/ttyUSB4 persist.ril.tcmd.ttydevice=/dev/usb/tty2-1:1.3 persist.ril.features=0x90A persist.ril.mux.retries=500 persist.ril.mux.sleep=2 rild.libpath=/system/lib/moto-ril-multimode.so ro.config.ringtone=DROID_Chime.ogg ro.config.notification_sound=Droid.ogg ro.config.notification_sound=OnTheHunt.ogg ro.config.alarm_alert=Alarm_Classic.ogg ro.default_usb_mode=0 ro.media.enc.aud.fileformat=qcp ro.media.enc.aud.codec=qcelp ro.media.enc.aud.bps=13300 ro.media.enc.aud.ch=1 ro.media.enc.aud.hz=8000 ro.com.google.gmsversion=2.3_r6 ro.mot.phonemode.vzw4gphone=1 ro.mot.lte_on_cdma=1 lte_ril.libpath=/system/lib/lib-mot-lte-ril.so cdma_ril.libpath=/system/lib/libmoto_ril.so ril.rat=LTE lte_ril.netcfg_to=90 ro.mot.tmp.telephony.refactor=true ro.cdma.subscription=0 ro.telephony.call_ring.multiple=false ro.telephony.call_ring.delay=3000 ro.setupwizard.enable_bypass=1 ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83 ro.cdma.data_retry_config=default_randomization=2000,max_retries=infinite,0,0,120000,180000,540000,960000 ro.gsm.data_retry_config=default_randomization=2000,max_retries=infinite,0,0,80000,125000,485000,905000 ro.gsm.2nd_data_retry_config=max_retries=1,15000 ro.media.camcorder.1080p=mp4,h264,30,15000000,aac,128000,44100,2 ro.media.camcorder.720p=mp4,h264,30,10000000,aac,128000,44100,2 ro.media.camcorder.d1NTSC=mp4,h264,30,6000000,aac,128000,44100,2 ro.media.camcorder.vga=mp4,h264,30,4000000,aac,128000,44100,2 ro.media.camcorder.cif=mp4,h264,30,1500000,aac,128000,44100,2 ro.media.camcorder.qvga=mp4,h264,15,500000,aac,64000,44100,2 ro.media.camcorder.mms=3gp,h264,15,128000,amrnb,12200,8000,1 ro.media.camcorder.mmsres=qvga ro.camcorder.zoom=true ro.media.capture.maxres=8m ro.media.capture.fast.fps=4 ro.media.capture.slow.fps=120 ro.media.capture.flash=led ro.media.capture.flashMinV=3300000 ro.media.capture.torchIntensity=40 ro.media.capture.flashIntensity=70 ro.media.panorama.defres=3264x1840 ro.media.panorama.frameres=1280x720 ro.camcorder.videoModes=false media.stagefright.enable-player=true media.stagefright.enable-meta=true media.stagefright.enable-scan=false media.stagefright.enable-http=true media.stagefright.enable-record=false ro.media.camera.focal=3451.0,3451.0 ro.media.camera.principal=1632.0,1224.0 ro.media.camera.skew=0.0 ro.media.camera.distortion=0.0,0.0,0.0,0.0,0.0 ro.media.camera.calresolution=3264,2448 ro.mot.setuptype=2 ro.HorizontalBUA=true ro.HorizontalVVM=true ro.horizontalIM=true ro.horizontalNGM=false ro.horizontalVMM=false ro.horizontalMOD=false ro.horizontalVOD=false ro.horizontalEmail=false ro.mot.internalsdcard=1 dalvik.vm.dexopt-flags=m=y net.bt.name=Android dalvik.vm.stack-trace-file=/data/anr/traces.txt ro.mot.dpmext=true ro.com.google.clientid=android-motorola ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html ro.mot.hw.uaprof=http://uaprof.motorola.com/phoneconfig/MotoMB200/profile/MotoMB200.rdf ro.build.version.full=Blur_Version.5.5.886.XT875.Verizon.en.US ro.mot.hidden_keyboards=evfwd Sent from my DROID BIONIC using Tapatalk Remember to hit the "Thanks" button when someone helps you!
Thank you. I appreciate this !!
Performance modes?
Right bit of a dev question - but I want to understand this further. On previous transformers the user could manually choose one of three performance modes - power saving, balanced or normal. THere were also two hidden modes that never got used. These were controlled by the cpu1.sh, cpu2.sh, cpu3.sh, cpu4.sh and cpu5.sh files. On the TF700T this is done somewhat differently. It seems the system determines what performance is required on behalf of the user depending upon what they are doing. Is there anyway of controlling this manually or does anyone know what triggers the selection? They are: power saving normal balanced videoplay web browsing
The files are made up like this: pwr-saving.sh Code: #!/bin/sh -x #This is pwr-saving mode! echo 1 > /sys/module/cpu_tegra/parameters/system_mode echo 1 > /sys/class/graphics/fb0/device/smartdimmer/enable echo 25 > /sys/class/graphics/fb0/device/smartdimmer/aggressiveness am broadcast -a asus.splendid.powersaver.intent.action.CHANGE_MODE --ei asus.splendid.powersaver.intent.extra.CHANGE_MODE 25 pwr-balance.sh Code: #!/bin/sh -x #This is pwr-balance mode! echo 1 > /sys/module/cpu_tegra/parameters/system_mode echo 1 > /sys/class/graphics/fb0/device/smartdimmer/enable echo 25 > /sys/class/graphics/fb0/device/smartdimmer/aggressiveness am broadcast -a asus.splendid.powersaver.intent.action.CHANGE_MODE --ei asus.splendid.powersaver.intent.extra.CHANGE_MODE 25 pwr-normal.sh Code: #!/bin/sh -x #This is pwr-normal mode! echo 0 > /sys/module/cpu_tegra/parameters/system_mode echo 0 > /sys/class/graphics/fb0/device/smartdimmer/enable am broadcast -a asus.splendid.powersaver.intent.action.CHANGE_MODE --ei asus.splendid.powersaver.intent.extra.CHANGE_MODE 0 pwr-videoplay.sh Code: #!/bin/sh -x #This is pwr-videoplay mode! echo 1 > /sys/module/cpu_tegra/parameters/system_mode echo 1 > /sys/class/graphics/fb0/device/smartdimmer/enable echo 29 > /sys/class/graphics/fb0/device/smartdimmer/aggressiveness am broadcast -a asus.splendid.powersaver.intent.action.CHANGE_MODE --ei asus.splendid.powersaver.intent.extra.CHANGE_MODE 29 pwr-web_browsing.sh Code: #!/bin/sh -x #This is pwr-web_browsing mode! echo 1 > /sys/module/cpu_tegra/parameters/system_mode echo 1 > /sys/class/graphics/fb0/device/smartdimmer/enable echo 25 > /sys/class/graphics/fb0/device/smartdimmer/aggressiveness am broadcast -a asus.splendid.powersaver.intent.action.CHANGE_MODE --ei asus.splendid.powersaver.intent.extra.CHANGE_MODE 25 So I can see how to disable smartdimmer. Easy enough Agressiveness to 0 presumably to turn that off just in case. But what would call these? I.e., how does the system know which is required. I'll have a look through the kernel to see if there is anything obvious. Anyone seen any documentation from nvidia on this? There is one final file called power.macallan.rc which also looks very interesting: Code: # FORMAT: # panelresolution=[xres]X[yres], such as panelresolution=1280X720 # powernode1 normal balanced maxbatterylife # powernode2 normal balanced maxbatterylife # ...... # powernoden normal balanced maxbatterylife # panelresolution=[xres]X[yres], such as panelresolution=1920X1080 # powernode1 normal balanced maxbatterylife # powernode2 normal balanced maxbatterylife # ...... # powernoden normal balanced maxbatterylife # ...... # ...... # panelresolution=[xres]X[yres], such as panelresolution=1920X1200 # powernode1 normal balanced maxbatterylife # powernode2 normal balanced maxbatterylife # ...... # powernoden normal balanced maxbatterylife # # NOTES: # The panelresolution is the lcd panel resolution. # No space should exist in panelresolution=[xres]X[yres]. # panelresolution=720X1280 equals with panelresolution=1280X720. # For panelresolution=-1X-1, it should be the last set of power settings in this file. # When your panel resolution is found in this file, # it will use the set of power settings followed by your panel resolution. # When your panel resolution is not found in this file, it will use the default power settings. # The power settings followed by panelresolution=-1X-1 is the default power settings. # powernode is the sysfs or variable we need to write and it is followed by three ints. # normal, balanced, maxbatterylife are the three ints for different power modes. # panelresolution=1920X1200 NV_FPSLIMIT 0 30 30 NV_MAX_CORES 0 0 2 /sys/module/cpu_tegra/parameters/cpu_user_cap 0 900000 900000 /sys/class/graphics/fb0/device/smartdimmer/aggressiveness 29 29 29 /sys/class/graphics/fb0/device/smartdimmer/enable 1 1 1 panelresolution=2560X1600 NV_FPSLIMIT 0 30 30 NV_MAX_CORES 0 0 2 /sys/module/cpu_tegra/parameters/cpu_user_cap 0 1000000 1000000 /sys/class/graphics/fb0/device/smartdimmer/aggressiveness 29 29 29 /sys/class/graphics/fb0/device/smartdimmer/enable 1 1 1 panelresolution=-1X-1 NV_FPSLIMIT 0 30 30 NV_MAX_CORES 0 0 2 /sys/module/cpu_tegra/parameters/cpu_user_cap 0 1000000 1000000 /sys/class/graphics/fb0/device/smartdimmer/aggressiveness 29 29 29 /sys/class/graphics/fb0/device/smartdimmer/enable 1 1 1
I have ASUS Fonepad Note 6 There is such files and smartdimmer does not work The content of the file is quite another https://www.dropbox.com/s/9k65kdmq5i8wjt4/pwr-balance-normal-saving-videplay-web.rar?dl=0 I also have ASUS Fonepad 8 Smartdimmer there is a big problem but it only have pwr-balance.sh pwr-normal.sh ------------------------------------- #!/bin/sh -x #This is balance mode echo 99 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate echo 1333000 > /sys/devices/system/cpu/cpufreq/interactive/touchboost_freq echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse_duration echo 65 1000000:75 1500000:95 > /sys/devices/system/cpu/cpufreq/interactive/target_loads ------------------------------------ #!/bin/sh -x #This is normal mode echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load echo 40000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate echo 1333000 > /sys/devices/system/cpu/cpufreq/interactive/touchboost_freq echo 60000 > /sys/devices/system/cpu/cpufreq/interactive/touchboostpulse_duration echo 45 1000000:65 1500000:90 > /sys/devices/system/cpu/cpufreq/interactive/target_loads ------------------------------------ Help me please. I really want to disable SmartDimmer
Raspberry Pi Tank
This project sets Raspberry Pi on wheels (tracks in fact), allows to control tank remotely and get streamed video over internet.
Electronchik said: This project sets Raspberry Pi on wheels (tracks in fact), allows to control tank remotely and get streamed video over internet. Click to expand... Click to collapse Do you have a specific question about your project that you would like to ask?
How to set on raspberry pi 2 two pwm to control two motor ? I have this code but one motor runing in 100% and one in ~ 60% RobotControl.py #!/usr/bin/python # coding: utf-8 # Poczatek programu import sys, tty, termios, os import L298NHBridge as HBridge speedleft = 0 speedright = 0 # Instrukcja wyswietlana uzytkownikowi print("w/s: direction") print("a/d: steering") print("q: stops the motors") print("p: print motor speed (L/R)") print("x: exit") # Przechwycenie przycisku wciśniętego przez uzytkownika def getch(): import sys, tty, termios old_settings = termios.tcgetattr(0) new_settings = old_settings[:] new_settings[3] &= ~termios.ICANON try: termios.tcsetattr(0, termios.TCSANOW, new_settings) ch = sys.stdin.read(1) finally: termios.tcsetattr(0, termios.TCSANOW, old_settings) return ch print("\nchar is '" + getch() + "'\n") # Inicjacja zapetlenia # Zapetlenie zostaje przerwane, gdy uzytkownik wcisnie klawisz x def printscreen(): os.system('clear') print("w/s: direction") print("a/d: steering") print("q: stops the motors") print("x: exit") print("========== Speed Control ==========") print("left motor: ", speedleft) print("right motor: ", speedright) print(char) while True: char = getch() if(char == "\x1b[A"): printscreen() # Pojazd pojedzie do przodu, jesli uzytkownik wcisnie klawisz w if(char == "w"): # Synchronizacja predkosci silnikow # Start pojazdu speedleft = speedleft + 0.1 speedright = speedright + 0.1 if speedleft > 1: speedleft = 1 if speedright > 1: speedright = 1 HBridge.setMotorLeft(speedleft) HBridge.setMotorRight(speedright) printscreen() # Pojazd pojedzie do tylu, jesli uzytkownik wcisnie klawisz w if(char == "s"): # Synchronizacja predkosci silnikow # Obnizenie predkosci pojazdu speedleft = speedleft - 0.1 speedright = speedright - 0.1 if speedleft < -1: speedleft = -1 if speedright < -1: speedright = -1 HBridge.setMotorLeft(speedleft) HBridge.setMotorRight(speedright) printscreen() # Zatrzymanie silnikow if(char == "q"): speedleft = 0 speedright = 0 HBridge.setMotorLeft(speedleft) HBridge.setMotorRight(speedright) printscreen() # Pojazd pojedzie w prawo, jesli uzytkownik wcisnie klawisz d if(char == "d"): speedright = speedright - 0.1 speedleft = speedleft + 0.1 if speedright < -1: speedright = -1 if speedleft > 1: speedleft = 1 HBridge.setMotorLeft(speedleft) HBridge.setMotorRight(speedright) printscreen() # Pojazd pojedzie w lewo, jesli uzytkownik wcisnie klawisz a if(char == "a"): speedleft = speedleft - 0.1 speedright = speedright + 0.1 if speedleft < -1: speedleft = -1 if speedright > 1: speedright = 1 HBridge.setMotorLeft(speedleft) HBridge.setMotorRight(speedright) printscreen() # Przerwanie wykonywania petli, zamkniecie programu i stop silnikow if(char == "x"): HBridge.setMotorLeft(0) HBridge.setMotorRight(0) HBridge.exit() print("Program Ended") break # Wybrany przez uzytkownika klawisz zostaje zapisany jako pusty, jest to potrzebne # do zapisania nastepnego wybranego przez uzytkownika klawisza char = "" # Koniec programu Click to expand... Click to collapse L298NHbridge.py # Import the libraries the class needs import RPi.GPIO as io import time io.setmode(io.BCM) # Constant values to set the max pwm speed. # 40 will set the motor speed to 40% max. PWM_MAX = 50 # Disable warning from GPIO io.setwarnings(False) # Motor Driver Dual H-Bridge connection configuration. # Here you can change the wiring between the H-Bridge IN pins and the Raspberry Pi GPIO out pins. # --- START CONFIG --- # H-Bridge pin = GPIO ENA = 4 IN1 = 27 IN2 = 22 IN3 = 24 IN4 = 25 ENB = 17 # --- END CONFIG --- # Here we configure the GPIO settings for the left and right motors spinning direction. # It defines the four GPIO pins used as input on the L298 H-Bridge to set the motor mode (forward, reverse and stopp). leftmotor_in1_pin = IN1 leftmotor_in2_pin = IN2 io.setup(leftmotor_in1_pin, iUT) io.setup(leftmotor_in2_pin, iUT) rightmotor_in1_pin = IN3 rightmotor_in2_pin = IN4 io.setup(rightmotor_in1_pin, iUT) io.setup(rightmotor_in2_pin, iUT) io.output(leftmotor_in1_pin, False) io.output(leftmotor_in2_pin, False) io.output(rightmotor_in1_pin, False) io.output(rightmotor_in2_pin, False) # Here we configure the GPIO settings for the left and right motors spinning speed. # It defines the two GPIO pins used as input on the L298 H-Bridge to set the motor speed with a PWM signal. leftmotorpwm_pin = ENA rightmotorpwm_pin = ENB io.setup(leftmotorpwm_pin, iUT) io.setup(rightmotorpwm_pin, iUT) leftmotorpwm = io.PWM(leftmotorpwm_pin,100) rightmotorpwm = io.PWM(rightmotorpwm_pin,100) leftmotorpwm.start(0) leftmotorpwm.ChangeDutyCycle(0) rightmotorpwm.start(0) rightmotorpwm.ChangeDutyCycle(0) def setMotorMode(motor, mode): # setMotorMode() # Sets the mode for the L298 H-Bridge which motor is in which mode. # This is a short explanation for a better understanding: # motor -> which motor is selected left motor or right motor # mode -> mode explains what action should be performed by the H-Bridge # setMotorMode(leftmotor, reverse) -> The left motor is called by a function and set into reverse mode # setMotorMode(rightmotor, stopp) -> The right motor is called by a function and set into stopp mode if motor == "leftmotor": if mode == "reverse": io.output(leftmotor_in1_pin, True) io.output(leftmotor_in2_pin, False) elif mode == "forward": io.output(leftmotor_in1_pin, False) io.output(leftmotor_in2_pin, True) else: io.output(leftmotor_in1_pin, False) io.output(leftmotor_in2_pin, False) elif motor == "rightmotor": if mode == "reverse": io.output(rightmotor_in1_pin, False) io.output(rightmotor_in2_pin, True) elif mode == "forward": io.output(rightmotor_in1_pin, True) io.output(rightmotor_in2_pin, False) else: io.output(rightmotor_in1_pin, False) io.output(rightmotor_in2_pin, False) else: io.output(leftmotor_in1_pin, False) io.output(leftmotor_in2_pin, False) io.output(rightmotor_in1_pin, False) io.output(rightmotor_in2_pin, False) def setMotorLeft(power): # SetMotorLeft(power) # Sets the drive level for the left motor, from +1 (max) to -1 (min). # This is a short explanation for a better understanding: # SetMotorLeft(0) -> left motor is stopped # SetMotorLeft(0.75) -> left motor moving forward at 75% power # SetMotorLeft(-0.5) -> left motor moving reverse at 50% power # SetMotorLeft(1) -> left motor moving forward at 100% power int(power) if power < 0: # Reverse mode for the left motor setMotorMode("leftmotor", "reverse") pwm = -int(PWM_MAX * power) if pwm > PWM_MAX: pwm = PWM_MAX elif power > 0: # Forward mode for the left motor setMotorMode("leftmotor", "forward") pwm = int(PWM_MAX * power) if pwm > PWM_MAX: pwm = PWM_MAX else: # Stopp mode for the left motor setMotorMode("leftmotor", "stopp") pwm = 0 leftmotorpwm.ChangeDutyCycle(pwm) def setMotorRight(power): # SetMotorRight(power) # Sets the drive level for the right motor, from +1 (max) to -1 (min). # This is a short explanation for a better understanding: # SetMotorRight(0) -> right motor is stopped # SetMotorRight(0.75) -> right motor moving forward at 75% power # SetMotorRight(-0.5) -> right motor moving reverse at 50% power # SetMotorRight(1) -> right motor moving forward at 100% power int(power) if power < 0: # Reverse mode for the right motor setMotorMode("rightmotor", "reverse") pwm = -int(PWM_MAX * power) if pwm > PWM_MAX: pwm = PWM_MAX elif power > 0: # Forward mode for the right motor setMotorMode("rightmotor", "forward") pwm = int(PWM_MAX * power) if pwm > PWM_MAX: pwm = PWM_MAX else: # Stopp mode for the right motor setMotorMode("rightmotor", "stopp") pwm = 0 rightmotorpwm.ChangeDutyCycle(pwm) def exit(): # Program will clean up all GPIO settings and terminates io.output(leftmotor_in1_pin, False) io.output(leftmotor_in2_pin, False) io.output(rightmotor_in1_pin, False) io.output(rightmotor_in2_pin, False) io.cleanup() Click to expand... Click to collapse
Hello, I actually made one ,,tank,, when I was on school. Here is link with all instructions I used.
Need stock gps.conf! Greatly appreciated!
Hey everyone, I recently installed Cm12.1 on my z3c and I can't get a gps lock ever. When using the app called gps status, I'm only getting an average of 4/20 satellite locks. Could someone be so kind and extract the /etc/gps.conf from your stock rom for me? The latest the better. Thank you!
i couldnt upload on phone please copy below and save as conf file #Uncommenting these urls would only enable #the power up auto injection and force injection(test case). XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin #Version check for XTRA #DISABLE = 0 #AUTO = 1 #XTRA2 = 2 #XTRA3 = 3 XTRA_VERSION_CHECK=0 # Error Estimate # _SET = 1 # _CLEAR = 0 ERR_ESTIMATE=0 #Test NTP_SERVER=time.gpsonextra.net #Asia # NTP_SERVER=asia.pool.ntp.org #Europe # NTP_SERVER=europe.pool.ntp.org #North America # NTP_SERVER=north-america.pool.ntp.org # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info # 4 - Debug, 5 - Verbose # If DEBUG_LEVEL is commented, Android's logging levels will be used DEBUG_LEVEL = 2 # Intermediate position report, 1=enable, 0=disable INTERMEDIATE_POS=0 # Below bit mask configures how GPS functionalities # should be locked when user turns off GPS on Settings # Set bit 0x1 if MO GPS functionalities are to be locked # Set bit 0x2 if NI GPS functionalities are to be locked # default - non is locked for backward compatibility #GPS_LOCK = 0 # supl version 2.0 SUPL_VER=0x20000 # Emergency SUPL, 1=enable, 0=disable SUPL_ES=1 #Choose PDN for Emergency SUPL #1 - Use emergency PDN #0 - Use regular SUPL PDN for Emergency SUPL USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1 #SUPL_MODE is a bit mask set in config.xml per carrier by default. #If it is uncommented here, this value will over write the value from #config.xml. #MSA=0X2 #MSB=0X1 #SUPL_MODE= # GPS Capabilities bit mask # SCHEDULING = 0x01 # MSB = 0x02 # MSA = 0x04 # ON_DEMAND_TIME = 0x10 # GEOFENCE = 0x20 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE CAPABILITIES=0x13 # Accuracy threshold for intermediate positions # less accurate positions are ignored, 0 for passing all positions # ACCURACY_THRES=5000 ################################ ##### AGPS server settings ##### ################################ # FOR SUPL SUPPORT, set the following SUPL_HOST=supl.sonyericsson.com SUPL_PORT=7275 # FOR C2K PDE SUPPORT, set the following # C2K_HOST=c2k.pde.com or IP # C2K_PORT=1234 # Bitmask of slots that are available # for write/install to, where 1s indicate writable, # and the default value is 0 where no slots # are writable. For example, AGPS_CERT_WRITABLE_MASK # of b1000001010 makes 3 slots available # and the remaining 7 slots unwritable. #AGPS_CERT_WRITABLE_MASK=0 #################################### # LTE Positioning Profile Settings #################################### # 0: Enable RRLP on LTE(Default) # 1: Enable LPP_User_Plane on LTE # 2: Enable LPP_Control_Plane # 3: Enable both LPP_User_Plane and LPP_Control_Plane LPP_PROFILE = 0 ################################ # EXTRA SETTINGS ################################ # NMEA provider (1=Modem Processor, 0=Application Processor) NMEA_PROVIDER=0 # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE) SGLTE_TARGET=0 ################################################## # Select Positioning Protocol on A-GLONASS system ################################################## # 0x1: RRC CPlane # 0x2: RRLP UPlane # 0x4: LLP Uplane A_GLONASS_POS_PROTOCOL_SELECT = 0x2 ########################################### # Enable/Disable reading H-SLP address and # certificates from the SIM card ########################################### # 0: Disable (Default) # 1: Enable ENABLE_READ_FROM_SIM = 0
Thank you!
Anyone have a ROG2 build.prop
Anyone got a stock ROG2 build prop they can post?
I know this really isnt helpful at the moment, but I will when i recieve mine, expected delivery is this friday, the 10th . If someone else doesnt beat me to it.
Sorry for the delay # begin build properties # autogenerated by buildinfo.sh ro.build.id=PKQ1.190414.001 ro.build.display.id=PKQ1.190414.001.WW_Phone-16.0631.1910.64-0 ro.build.version.incremental=16.0631.1910.64-0 ro.build.fota.version=WW_Phone-16.0631.1910.64-0 ro.build.version.sdk=28 ro.build.version.preview_sdk=0 ro.build.version.codename=REL ro.build.version.all_codenames=REL ro.build.version.release=9 ro.build.version.security_patch=2019-10-01 ro.build.version.base_os= ro.build.version.min_supported_target_sdk=17 ro.build.date=Mon Dec 9 17:48:32 CST 2019 ro.build.date.utc=1575884912 ro.build.type=user ro.build.user=android ro.build.host=mcrd1-13 ro.build.tags=release-keys ro.build.flavor=WW_Phone-user ro.build.system_root_image=true ro.build.ab_update=true ro.product.model=ASUS_I001D ro.product.brand=asus ro.product.name=WW_I001D ro.product.device=ASUS_I001_1 # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete, # use ro.product.cpu.abilist instead. ro.product.cpu.abi=arm64-v8a ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi ro.product.cpu.abilist32=armeabi-v7a,armeabi ro.product.cpu.abilist64=arm64-v8a ro.product.manufacturer=asus ro.product.locale=en-US ro.wifi.channels= # ro.build.product is obsolete; use ro.product.device ro.build.product=ZS660KL # Do not try to parse description, fingerprint, or thumbprint ro.build.description=WW_Phone-user 9 PKQ1.190414.001 16.0631.1910.64-0 release-keys ro.build.fingerprint=asus/WW_I001D/ASUS_I001_1:9/PKQ1.190414.001/16.0631.1910.64-0:user/release-keys ro.build.characteristics=nosdcard ro.build.csc.version=WW_ZS660KL-16.0631.1910.64-0 ro.build.asus.version=16.0631.1910.64 ro.build.software.version=16_0631_1910_64 ro.build.csc.version=msmnile-16.0631.1910.64-0 ro.build.asus.version=16.0631.1910.64 # end build properties # # from device/qcom/msmnile/system.prop # # # system.prop for sdm845 # rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so #rild.libargs=-d /dev/smd0 persist.rild.nitz_plmn= persist.rild.nitz_long_ons_0= persist.rild.nitz_long_ons_1= persist.rild.nitz_long_ons_2= persist.rild.nitz_long_ons_3= persist.rild.nitz_short_ons_0= persist.rild.nitz_short_ons_1= persist.rild.nitz_short_ons_2= persist.rild.nitz_short_ons_3= ril.subscription.types=RUIM,RUIM DEVICE_PROVISIONED=1 # Set network mode to (T/L/G/W/1X/EVDO, T/L/G/W/1X/EVDO) for 7+7 mode device on DSDS mode dalvik.vm.heapsize=36m dev.pm.dyn_samplingrate=1 #ASUS_BSP +++ Johnny "[Qcom][PS][][remove]Disable dpm logs" persist.vendor.dpm.loglevel = 0 persist.vendor.dpmhalservice.loglevel = 0 persist.vendor.dpm.feature = 10 #ASUS_BSP --- Johnny "[Qcom][PS][][remove]Disable dpm logs" #Enable virtual display. debug.sf.enable_hwc_vds=1 #ro.hdmi.enable=true #persist.speaker.prot.enable=false qcom.hw.aac.encoder=true # # system props for the cne module # persist.vendor.cne.feature=1 #system props for the MM modules media.stagefright.enable-player=true media.stagefright.enable-http=true media.stagefright.enable-aac=true media.stagefright.enable-qcp=true media.stagefright.enable-fma2dp=true media.stagefright.enable-scan=true mmp.enable.3g2=true media.aac_51_output_enabled=true mm.enable.smoothstreaming=true media.settings.xml=/vendor/etc/media_profiles_vendor.xml #13631487 is decimal sum of supported codecs in AAL #codecsPARSER_) AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE DSD MOV XVID vendor.mm.enable.qcom_parser=63962110 persist.mm.enable.prefetch=true #Netflix custom property ro.netflix.bsp_rev=Q855-16947-1 # # system props for the data modules # ro.vendor.use_data_netmgrd=true persist.vendor.data.mode=concurrent #system props for time-services persist.timed.enable=true # system property for maximum number of HFP client connections bt.max.hfpclient.connections=1 # # System props for telephony # System prop to turn on CdmaLTEPhone always telephony.lteOnCdmaDevice=1 #Simulate sdcard on /data/media # persist.fuse_sdcard=true #system prop for Bluetooth SOC type vendor.bluetooth.soc=cherokee ro.bluetooth.library_name=libbluetooth_qti.so persist.vendor.btstack.enable.splita2dp=true persist.vendor.btstack.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac-aptxadaptive persist.vendor.btstack.enable.twsplus=true persist.vendor.btstack.aac_frm_ctl.enabled=true #system prop for wipower support ro.bluetooth.emb_wp_mode=false ro.bluetooth.wipower=false # #snapdragon value add features # ro.qc.sdk.audio.ssr=false ##fluencetype can be "fluence" or "fluencepro" or "none" ro.qc.sdk.audio.fluencetype=none persist.audio.fluence.voicecall=true persist.audio.fluence.voicerec=false persist.audio.fluence.speaker=true #system prop for RmNet Data persist.rmnet.data.enable=true persist.data.wda.enable=true persist.data.df.dl_mode=5 persist.data.df.ul_mode=5 persist.data.df.agg.dl_pkt=10 persist.data.df.agg.dl_size=4096 persist.data.df.mux_count=8 persist.data.df.iwlan_mux=9 persist.data.df.dev_name=rmnet_usb0 # Enable wigig service persist.vendor.wigig.enable=1 # # Enable wigig UI persist.vendor.asus.wigig.support=1 # Prevent suspend-on-sleep behaviour of displaylink com.displaylink.manager.suspend_on_sleep=false # Enable wigig npt and rps for better tput persist.vendor.wigig.npt.enable=1 persist.vendor.wigig.npt.rps=0xEE #property to enable user to access Google WFD settings persist.debug.wfd.enable=1 ##property to choose between virtual/external wfd display persist.sys.wfd.virtual=0 # enable tunnel encoding for amrwb tunnel.audio.encode = true #Buffer size in kbytes for compress offload playback audio.offload.buffer.size.kb=32 #Enable offload audio video playback by default av.offload.enable=true #enable voice path for PCM VoIP by default use.voice.path.for.pcm.voip=true # system prop for NFC DT ro.nfc.port=I2C #enable dsp gapless mode by default audio.offload.gapless.enabled=true #initialize QCA1530 detection sys.qca1530=detect #Enable stm events persist.debug.coresight.config=stm-events #hwui properties ro.hwui.texture_cache_size=72 ro.hwui.layer_cache_size=48 ro.hwui.r_buffer_cache_size=8 ro.hwui.path_cache_size=32 ro.hwui.gradient_cache_size=1 ro.hwui.drop_shadow_cache_size=6 ro.hwui.texture_cache_flushrate=0.4 ro.hwui.text_small_cache_width=1024 ro.hwui.text_small_cache_height=1024 ro.hwui.text_large_cache_width=2048 ro.hwui.text_large_cache_height=1024 config.disable_rtt=true #Bringup properties persist.sys.force_sw_gles=1 persist.vendor.radio.atfwd.start=true ro.kernel.qemu.gles=0 qemu.hw.mainkeys=0 #Increase cached app limit ro.vendor.qti.sys.fw.bg_apps_limit=60 #Enable ZRAM ro.vendor.qti.config.zram=true #IOP properties vendor.iop.enable_uxe=0 vendor.perf.iop_v3.enable=true #Property to enable perf boosts from System Server vendor.perf.gestureflingboost.enable=true #Property to enable WorkloadClassifier vendor.perf.workloadclassifier.enable=true # ASUS_BSP "Enable IOT logging"+++ persist.vendor.service.bt.iotinfo.report.enable=true # ASUS_BSP "Enable IOT logging"--- #Expose aux camera for below packages vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.qualcomm.saltproject2 vendor.camera.aux.asus.package_contain=com.asus #enable IZat OptInApp overlay persist.vendor.overlay.izat.optin=rro #Property to enable Mag filter persist.vendor.sensors.enable.mag_filter=true # ro.location properties below are used in conjunction # with NLP_MODE setting in /vendor/etc/izat.conf # either as the main network provider or as a fallback # provider depending on NLP_MODE that is set # These properties are optional and will not cause # issues if not set to existing packages. # ro.location.osnlp.package sets the name of default # OS sepecific network location provider package to use # ro.location.osnlp.region.package is set to the name # of the alternative network location provider package # to be used for a particular region where the default # network location provider is not functional ro.location.osnlp.package=com.google.android.gms ro.location.osnlp.region.package= # [ASUS BSP] Deka ro.asus.camera.preview_beauty=1:1;3:1 ro.asus.camera.preview_portrait=0:0;1:1;2:0;3:0 [email protected],[email protected],[email protected] [email protected],[email protected] [email protected],[email protected],[email protected] #[email protected],[email protected],[email protected] ro.asus.camera.dual_bokeh=0:0;1:0;2:0;3:1 ro.asus.camera.lens_type=0:standard;1:standard;2:wide-angle;3:virtual ro.asus.camera.use_frame_processor=0 ro.asus.camera.ai_scene_mode=0:1;1:1;2:1;3:1 ro.asus.camera.undistortion.preview=0:0;1:0;2:1;3:1 ro.asus.camera.undistortion.video=0:0;1:0;2:0;3:0 persist.camera.capture.hdrplus.dump=0 ro.asus.camera.cam0.preview_fps_range=8,45 ro.asus.camera.cam1.preview_fps_range=8,30 # [ASUS BSP] Wayne ro.asus.camera.cam0.stream_list=1P/2Y/1J ro.asus.camera.cam1.stream_list=1P/2Y/1J ro.asus.camera.cam0.exposure_time_range=312500,32000000000 ro.asus.camera.cam1.exposure_time_range=312500,32000000000 ro.asus.camera.cam2.exposure_time_range=100000,16000000000 # [ASUS BSP] Mike [email protected],[email protected],[email protected],[email protected],[email protected],[email protected] [email protected],[email protected],[email protected] [email protected],[email protected],[email protected],[email protected],[email protected] # [ASUS BSP] Mike # [ASUS BSP] Mike ro.asus.camera.fovc=0:1;1:0;2:0;3:0 # [ASUS BSP] Mike # [ASUS BSP] Byron for camera night mode use ro.asus.camera.night=0:1;1:0;2:1;3:1 # [ASUS BSP] Byron for camera night mode use # [ASUS BSP] for camera long exposure vendor.camera.expTimeMax=0 # [ASUS BSP] for camera long exposure # ASUS_BSP +++ persist.vendor.asus.logcat.filenum=20 # property for csclogtool logtool.package=com.asus.csclogtool logtool.class=com.asus.csclogtool.LogService ro.asus.rog=1 # ASUS_BSP --- # jack for default log flag persist.vendor.asus.startlog=0 persist.vendor.sys.downloadmode.enable=0 #jack for game mode ro.cpufreq.game=1 #Powerkey debug property persist.asus.pwrdbg=0 #Instcamera Property persist.asus.instant_camera = 0 # [ASUS BSP] for Poweroff Alarm Support ro.asus.poweroffalarm_support=1 # ASUS BSP Charger +++ persist.sys.stopcharging=0 persist.vendor.pps.power_limit_w=15 persist.vendor.chg.max_volt_mv=9000 persist.vendor.ctm.disallowed=1 ro.build.smartcharging=1 ro.build.disableaicharging=1 # ASUS BSP Charger --- #ASUS BSP Wei ++ persist.sys.hardcoder.name=ta_itf #ASUS BSP Wei -- # [ASUS BSP] Fingerprint +++ persist.asus.fp.wakeup_support=true persist.asus.fp.wakeup=false ro.hardware.fp_position=front ro.hardware.fp_shape=round # [ASUS BSP] Fingerprint --- #Audio Austin+++ ro.af.client_heap_size_kbyte=21504 ro.audio.monitorRotation=true vendor.audio.tfa9874.dsp.enabled=true ro.audio.vibra.ring.vol.idx=5 audio.wizard.default.mode=smart ro.asus.audiowizard.outdoor=1 ro.asus.audio.dualSPK=true ro.asus.audio.realStereo=true ro.asus.aw.settingentry=1 #Audio Austin--- #Mickey+++, change log size to 1M persist.logd.size=1048576 #Mickey--- #Jones+++ ro.ctadialog.weather=1 ro.ctadialog.contacts=1 ro.ctadialog.message=1 ro.ctadialog.calendar=1 ro.ctadialog.mobilemanager=1 ro.ctadialog.gallery=1 ro.ctadialog.caculator=1 ro.ctadialog.filemanager=1 #Jones--- # # ADDITIONAL_BUILD_PROPERTIES # ro.treble.enabled=true persist.sys.dalvik.vm.lib.2=libart.so dalvik.vm.isa.arm64.variant=kryo300 dalvik.vm.isa.arm64.features=default ro.build.asus.sku=WW dalvik.vm.isa.arm.variant=cortex-a75 dalvik.vm.isa.arm.features=default net.bt.name=Android dalvik.vm.stack-trace-dir=/data/anr