e30bcfc5ff
Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
171 lines
8 KiB
Text
171 lines
8 KiB
Text
Syntax 2
|
|
|
|
SectionUseCase."HiFi" {
|
|
File "HiFi"
|
|
}
|
|
|
|
SectionDefaults [
|
|
cdev "hw:msm8917sku7sndc"
|
|
|
|
cset "name='TTY Mode' Off"
|
|
cset "name='RX1 Digital Volume' 86"
|
|
cset "name='RX2 Digital Volume' 84"
|
|
cset "name='RX3 Digital Volume' 84"
|
|
cset "name='IIR1 INP1 Volume' 84"
|
|
cset "name='IIR1 INP2 Volume' 84"
|
|
cset "name='IIR1 INP3 Volume' 84"
|
|
cset "name='IIR1 INP4 Volume' 84"
|
|
cset "name='ADC1 Volume' 4"
|
|
cset "name='ADC2 Volume' 4"
|
|
cset "name='ADC3 Volume' 4"
|
|
cset "name='DEC1 Volume' 84"
|
|
cset "name='DEC2 Volume' 84"
|
|
cset "name='DEC2 MUX' ZERO"
|
|
cset "name='DEC1 MUX' ZERO"
|
|
cset "name='ADC2 MUX' ZERO"
|
|
cset "name='RDAC2 MUX' ZERO"
|
|
cset "name='RX2 MIX2 INP1' ZERO"
|
|
cset "name='RX1 MIX2 INP1' ZERO"
|
|
cset "name='RX3 MIX1 INP2' ZERO"
|
|
cset "name='RX3 MIX1 INP1' ZERO"
|
|
cset "name='RX2 MIX1 INP2' ZERO"
|
|
cset "name='RX2 MIX1 INP1' ZERO"
|
|
cset "name='RX1 MIX1 INP2' ZERO"
|
|
cset "name='RX1 MIX1 INP1' ZERO"
|
|
cset "name='EAR_S' ZERO"
|
|
cset "name='HPHL' ZERO"
|
|
cset "name='HPHR' ZERO"
|
|
cset "name='Lineout_1 amp' DISABLE"
|
|
cset "name='headset amp' DISABLE"
|
|
cset "name='SPK' ZERO"
|
|
cset "name='WSA Spk Switch' ZERO"
|
|
cset "name='EAR PA Gain' POS_6_DB"
|
|
cset "name='EAR PA Boost' ENABLE"
|
|
cset "name='EAR PA Gain' POS_1P5_DB"
|
|
cset "name='EAR PA Boost' ENABLE"
|
|
cset "name='MI2S_RX Channels' One"
|
|
cset "name='MI2S_TX Channels' One"
|
|
cset "name='PRI_MI2S_RX_DL_HL Switch' 0"
|
|
cset "name='PRI_MI2S_RX_VI_FB_MUX' ZERO"
|
|
cset "name='DEC3 MUX' ZERO"
|
|
cset "name='DEC4 MUX' ZERO"
|
|
cset "name='PRI_MI2S_RX Audio Mixer MultiMedia1' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1' 0"
|
|
cset "name='PRI_MI2S_RX Audio Mixer MultiMedia3' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX Audio Mixer MultiMedia3' 0"
|
|
cset "name='AFE_PCM_RX Audio Mixer MultiMedia3' 0"
|
|
cset "name='PRI_MI2S_RX Audio Mixer MultiMedia4' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX Audio Mixer MultiMedia4' 0"
|
|
cset "name='AFE_PCM_RX Audio Mixer MultiMedia4' 0"
|
|
cset "name='INTERNAL_FM_RX Audio Mixer MultiMedia4' 0"
|
|
cset "name='PRI_MI2S_RX Audio Mixer MultiMedia5' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5' 0"
|
|
cset "name='MultiMedia1 Mixer TERT_MI2S_TX' 0"
|
|
cset "name='MultiMedia5 Mixer TERT_MI2S_TX' 0"
|
|
cset "name='MultiMedia1 Mixer INTERNAL_BT_SCO_TX' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer CSVoice' 0"
|
|
cset "name='Voice_Tx Mixer TERT_MI2S_TX_Voice' 0"
|
|
cset "name='Internal BTSCO SampleRate' BTSCO_RATE_8KHZ"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer CSVoice' 0"
|
|
cset "name='Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice' 0"
|
|
cset "name='MultiMedia6 Mixer TERT_MI2S_TX' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer Voice2' 0"
|
|
cset "name='Voice2_Tx Mixer TERT_MI2S_TX_Voice2' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer Voice2' 0"
|
|
cset "name='Voice2_Tx Mixer INTERNAL_BT_SCO_TX_Voice2' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer Voice2' 0"
|
|
cset "name='Voice2_Tx Mixer AFE_PCM_TX_Voice2' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoLTE' 0"
|
|
cset "name='VoLTE_Tx Mixer TERT_MI2S_TX_VoLTE' 0"
|
|
cset "name='HDMI_RX_Voice Mixer VoLTE' 0"
|
|
cset "name='VoLTE_Tx Mixer SLIM_0_TX_VoLTE' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoLTE' 0"
|
|
cset "name='VoLTE_Tx Mixer INTERNAL_BT_SCO_TX_VoLTE' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoLTE' 0"
|
|
cset "name='VoLTE_Tx Mixer AFE_PCM_TX_VoLTE' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoWLAN' 0"
|
|
cset "name='VoWLAN_Tx Mixer TERT_MI2S_TX_VoWLAN' 0"
|
|
cset "name='HDMI_RX_Voice Mixer VoWLAN' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoWLAN' 0"
|
|
cset "name='VoWLAN_Tx Mixer INTERNAL_BT_SCO_TX_VoWLAN' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoWLAN' 0"
|
|
cset "name='VoWLAN_Tx Mixer AFE_PCM_TX_VoWLAN' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer Voip' 0"
|
|
cset "name='Voip_Tx Mixer TERT_MI2S_TX_Voip' 0"
|
|
cset "name='Internal BTSCO SampleRate' BTSCO_RATE_8KHZ"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer Voip' 0"
|
|
cset "name='Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer TERT_MI2S_TX_MMode1' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer INT_BT_SCO_TX_MMode1' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoiceMMode1' 0"
|
|
cset "name='VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer TERT_MI2S_TX_MMode2' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer INT_BT_SCO_TX_MMode2' 0"
|
|
cset "name='AFE_PCM_RX_Voice Mixer VoiceMMode2' 0"
|
|
cset "name='VoiceMMode2_Tx Mixer AFE_PCM_TX_MMode2' 0"
|
|
cset "name='Internal FM RX Volume' 0"
|
|
cset "name='PRI_MI2S_RX Port Mixer INTERNAL_FM_TX' 0"
|
|
cset "name='MultiMedia1 Mixer INTERNAL_FM_TX' 0"
|
|
cset "name='MultiMedia2 Mixer INTERNAL_FM_TX' 0"
|
|
cset "name='MultiMedia5 Mixer INTERNAL_FM_TX' 0"
|
|
cset "name='INTERNAL_FM_RX Audio Mixer MultiMedia1' 0"
|
|
cset "name='INTERNAL_FM_RX Audio Mixer MultiMedia5' 0"
|
|
cset "name='RT_PROXY_1_RX SetCalMode' CAL_MODE_NONE"
|
|
cset "name='RT_PROXY_1_TX SetCalMode' CAL_MODE_NONE"
|
|
cset "name='MultiMedia1 Mixer VOC_REC_UL' 0"
|
|
cset "name='MultiMedia1 Mixer VOC_REC_DL' 0"
|
|
cset "name='Incall_Music Audio Mixer MultiMedia2' 0"
|
|
cset "name='Incall_Music_2 Audio Mixer MultiMedia9' 0"
|
|
cset "name='PRI_MI2S_RX_Voice Mixer QCHAT' 0"
|
|
cset "name='QCHAT_Tx Mixer TERT_MI2S_TX_QCHAT' 0"
|
|
cset "name='INTERNAL_BT_SCO_RX_Voice Mixer QCHAT' 0"
|
|
cset "name='QCHAT_Tx Mixer INTERNAL_BT_SCO_TX_QCHAT' 0"
|
|
cset "name='AUDIO_REF_EC_UL1 MUX' None"
|
|
cset "name='IIR1 Band1' 268435456"
|
|
cset "name='IIR1 Band1' 0"
|
|
cset "name='IIR1 Band1' ,0"
|
|
cset "name='IIR1 Band1' ,,0"
|
|
cset "name='IIR1 Band1' ,,,0"
|
|
cset "name='IIR1 Band2' 268435456"
|
|
cset "name='IIR1 Band2' 0"
|
|
cset "name='IIR1 Band2' ,0"
|
|
cset "name='IIR1 Band2' ,,0"
|
|
cset "name='IIR1 Band2' ,,,0"
|
|
cset "name='IIR1 Band3' 268435456"
|
|
cset "name='IIR1 Band3' 0"
|
|
cset "name='IIR1 Band3' ,0"
|
|
cset "name='IIR1 Band3' ,,0"
|
|
cset "name='IIR1 Band3' ,,,0"
|
|
cset "name='IIR1 Band4' 268435456"
|
|
cset "name='IIR1 Band4' 0"
|
|
cset "name='IIR1 Band4' ,0"
|
|
cset "name='IIR1 Band4' ,,0"
|
|
cset "name='IIR1 Band4' ,,,0"
|
|
cset "name='IIR1 Band5' 268435456"
|
|
cset "name='IIR1 Band5' 0"
|
|
cset "name='IIR1 Band5' ,0"
|
|
cset "name='IIR1 Band5' ,,0"
|
|
cset "name='IIR1 Band5' ,,,0"
|
|
cset "name='IIR1 Enable Band1' 0"
|
|
cset "name='IIR1 Enable Band2' 0"
|
|
cset "name='IIR1 Enable Band3' 0"
|
|
cset "name='IIR1 Enable Band4' 0"
|
|
cset "name='IIR1 Enable Band5' 0"
|
|
]
|
|
|