Skip to content

Instantly share code, notes, and snippets.

View javelinanddart's full-sized avatar

Joseph Annareddy javelinanddart

View GitHub Profile
<?xml version="1.0" ?>
<!--Copyright (c) 2014 Qualcomm Technologies, Inc. All Rights Reserved.
Qualcomm Technologies Proprietary and Confidential.-->
<Calib_Data>
<Raw_Luts Data_Size="656" Type="PCC Lut">
<Color_Temp>0xc1a00000, 0xc1980000, 0xc1900000, 0xc1880000, 0xc1800000, 0xc1700000, 0xc1600000, 0xc1500000, 0xc1400000, 0xc1300000, 0xc1200000, 0xc1100000, 0xc1000000, 0xc0e00000, 0xc0c00000, 0xc0a00000, 0xc0800000, 0xc0400000, 0xc0000000, 0xbf800000, 0x00000000, 0x3f800000, 0x40000000, 0x40400000, 0x40800000, 0x40a00000, 0x40c00000, 0x40e00000, 0x41000000, 0x41100000, 0x41200000, 0x41300000, 0x41400000, 0x41500000, 0x41600000, 0x41700000, 0x41800000, 0x41880000, 0x41900000, 0x41980000, 0x41a00000,</Color_Temp>
<Red>0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f800000, 0x3f726b83, 0x3f6a0cbf, 0x3f5e94cd, 0
[ 10.683074s][pid:0,cpu0,swapper]func: bfm_early_parse_bootlock_cmdline line: 55, bootlock=unlocked
[ 10.683074s][pid:0,cpu0,swapper]func: early_parse_bfmr_enable_flag line: 77, hw_bfm_enable=1
[ 10.683105s][pid:0,cpu0,swapper]func: early_parse_bfr_enable_flag line: 97, hw_bfr_enable=1
[ 10.683135s][pid:0,cpu0,swapper][diag_BbpDrxDdrEnable] not enable!
[ 10.687530s][pid:0,cpu0,swapper]secsg: hisi_sec_cma_set_up init cma:rmem->base:0x5a000000,size:0x26000000,cmaname:hisi-cma-pool, secsg_cma_num:0
[ 10.687530s][pid:0,cpu0,swapper]secsg: hisi_sec_cma_set_up,cma reg to dma_camera_cma
[ 10.886749s][pid:0,cpu0,swapper/0]xfreq_clk_table_init: sizeof freq and volt in device tree illegal!, k = 8
[ 11.435668s][pid:0,cpu0,swapper/0][hisi_bootup_keypoint]:<bbox fail>value[99] is invilad.
[ 11.436401s][pid:0,cpu0,swapper/0][hisi_bootup_keypoint]:<bbox fail>value[101] is invilad.
[ 11.469268s][pid:1,cpu0,swapper/0]/interrupt-controller@f7000000: Unable to locate ITS domain
[ 9.736968s][pid:0,cpu0,swapper]func: bfm_early_parse_bootlock_cmdline line: 55, bootlock=unlocked
[ 9.736968s][pid:0,cpu0,swapper]func: early_parse_bfmr_enable_flag line: 77, hw_bfm_enable=1
[ 9.736999s][pid:0,cpu0,swapper]func: early_parse_bfr_enable_flag line: 97, hw_bfr_enable=1
[ 9.737030s][pid:0,cpu0,swapper][diag_BbpDrxDdrEnable] not enable!
[ 9.741424s][pid:0,cpu0,swapper]secsg: hisi_sec_cma_set_up init cma:rmem->base:0x5a000000,size:0x26000000,cmaname:hisi-cma-pool, secsg_cma_num:0
[ 9.741424s][pid:0,cpu0,swapper]secsg: hisi_sec_cma_set_up,cma reg to dma_camera_cma
[ 9.940673s][pid:0,cpu0,swapper/0]xfreq_clk_table_init: sizeof freq and volt in device tree illegal!, k = 8
[ 10.491760s][pid:0,cpu0,swapper/0][hisi_bootup_keypoint]:<bbox fail>value[99] is invilad.
[ 10.492492s][pid:0,cpu0,swapper/0][hisi_bootup_keypoint]:<bbox fail>value[101] is invilad.
[ 10.525421s][pid:1,cpu0,swapper/0]/interrupt-controller@f7000000: Unable to locate ITS domain
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.9.97 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_DEBUG_RODATA=y
CONFIG_ARM64_PAGE_SHIFT=12
From d91907ea59bfe7cb7d1cce5e06a80b60bc3c920a Mon Sep 17 00:00:00 2001
From: Paul Keith <javelinanddart@gmail.com>
Date: Thu, 26 Apr 2018 15:47:34 +0200
Subject: [PATCH 1/1] hlte-common: audio: Override pcm_id for
USECASE_VOICE2_CALL
* Samsung appears to use PCM ID 43 for USECASE_VOICE2_CALL on stock
* The tipoff for an incorrect PCM ID was that the audio HAL was
complaining about being unable to open /dev/snd/pcmC0D22p
because of an invalid argument, even though the device existed
f=open("ICMAT.txt")
g=open("CSMAT.txt", "a")
matrix=[]
connections=[]
def clearmat(r,s):
out=[]
for x in range (r):
Mixer name: 'msm8994-tomtom-mtp-snd-card'
Number of controls: 964
ctl type num name value
0 INT 3 Voice Rx Device Mute -1 -1 -1
1 INT 3 Voice Tx Device Mute -1 -1 -1
2 INT 3 Voice Tx Mute -1 -1 -1
3 INT 3 Voice Rx Gain -1 -1 -1
4 ENUM 1 TTY Mode OFF
5 INT 2 Slowtalk Enable -1 -1
This file has been truncated, but you can view the full file.
d to debug)
[ 2026.175772] msm_pcie_disable: PCIe: Assert the reset of endpoint of RC0.
[ 2026.277077] PM: suspend of devices complete after 128.736 msecs
[ 2026.279325] PM: late suspend of devices complete after 2.225 msecs
[ 2026.282246] PM: noirq suspend of devices complete after 2.909 msecs
[ 2026.282262] Disabling non-boot CPUs ...
[ 2026.301115] CPU0:msm_cpu_pm_enter_sleep mode:3 during suspend
[ 2026.301115] Suspended for 0.000 seconds
[ 2026.301951] Enabling non-boot CPUs ...
[ 2026.303407] CPU1 is up
Sensor Device:
Total 39 h/w sensors, 39 running:
0x00000014) active-count = 1; sampling_period(ms) = {1.0}, selected = 1.00 ms; batching_period(ms) = {0.0}, selected = 0.00 ms
Sensor List:
0x00000001) BMA2X2 Accelerometer/Temperature/Double-tap | BOSCH | ver: 1 | type: android.sensor.accelerometer(1) | perm: n/a | flags: 0x00000000
continuous | minRate=1.00Hz | maxRate=200.00Hz | FIFO (max,reserved) = (10000, 0) events | non-wakeUp |
0x00000002) BMM150 Magnetometer | BOSCH | ver: 1 | type: android.sensor.magnetic_field(2) | perm: n/a | flags: 0x00000000
continuous | minRate=1.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (1000, 0) events | non-wakeUp |
0x00000003) BMM150 Magnetometer Uncalibrated | BOSCH | ver: 1 | type: android.sensor.magnetic_field_uncalibrated(14) | perm: n/a | flags: 0x00000000
continuous | minRate=1.00Hz | maxRate=100.00Hz | FIFO (max,reserved) = (1000, 0) events | non-wakeUp |
This file has been truncated, but you can view the full file.
ca64ff80, p = ffffffc021b7a1c0, current = ffffffc0c41cad00
[ 67.903985] msm_pcie_disable: PCIe: Assert the reset of endpoint of RC0.
[ 67.907009] cnss: runtime suspend status: 0
[ 67.969100] _cpu_up: attempt to bring up CPU 4 failed
[ 67.972073] [sched_delayed] try_to_wake_up_local: Failed to wakeup task 4 (kworker/0:0), rq = ffffffc0ca64ff80, this_rq = ffffffc0ca631f80, p = ffffffc021b7a1c0, current = ffffffc0c41cad00
[ 67.985486] cnss_wlan_pci 0000:01:00.0: Refused to change power state, currently in D3
[ 67.985655] msm_pcie_enable: PCIe: Assert the reset of endpoint of RC0.
[ 67.988743] [sched_delayed] try_to_wake_up_local: Failed to wakeup task 4 (kworker/0:0), rq = ffffffc0ca64ff80, this_rq = ffffffc0ca640f80, p = ffffffc021b7a1c0, current = ffffffc0c41cad00
[ 67.992072] [sched_delayed] try_to_wake_up_local: Failed to wakeup task 4 (kworker/0:0), rq = ffffffc0ca64ff80, this_rq = ffffffc0ca640f80, p = ffffffc021b7a1c0, current = ffffffc0c41cad00
[ 67.993334] msm_pcie_enable: PCIe RC0 PHY