Skip to content

Instantly share code, notes, and snippets.

#ifndef CHIPONE_FW_V300_H
#define CHIPONE_FW_V300_H
//chuwi vi8
#define FIRMWARE_VERSION "V300"
unsigned char FIRMWARE_BIN[] = {
0xb0, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00,
0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00,
0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00,
0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00, 0xe4, 0x07, 0x00, 0x00,
From 18ff6ca3e39874fea67a8e30fee9beeccd72f37c Mon Sep 17 00:00:00 2001
From: Vitaliy Tomin <highwaystar.ru@xxxxx.com>
Date: Thu, 17 Nov 2016 20:09:01 +0800
Subject: [PATCH] Reorder order in public audio calibration header for older
binariies
Fixes in-call volume issue.
---
include/uapi/linux/msm_audio_calibration.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--------- beginning of main
I/lowmemorykiller( 0): Using in-kernel low memory killer interface
W/auditd ( 160): type=2000 audit(0.0:1): initialized
I/auditd ( 160): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
--------- beginning of system
I/auditd ( 175): Starting up
I/SurfaceFlinger( 165): SurfaceFlinger is starting
I/SurfaceFlinger( 165): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
I/Vold ( 164): Vold 2.1 (the revenge) firing up
I/audit_log( 175): Previous audit logfile detected, rotating
@HighwayStar
HighwayStar / gist:3a5f68a4a7dbc88a5dd46cfa04b44c58
Created February 12, 2017 11:03
1.2.9 camera hal los14.1
This file has been truncated, but you can view the full file.
--------- beginning of system
05-16 02:34:20.014 254 254 I vold : Vold 3.0 (the awakening) firing up
05-16 02:34:20.015 254 254 V vold : Detected support for: exfat ext4 f2fs ntfs vfat
05-16 02:34:20.294 254 260 D vold : e4crypt_init_user0
05-16 02:34:20.294 254 260 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
05-16 02:34:20.294 254 260 D vold : Preparing: /data/system/users/0
05-16 02:34:20.297 254 260 D vold : Preparing: /data/misc/profiles/cur/0
05-16 02:34:20.297 254 260 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
05-16 02:34:20.298 254 260 D vold : Preparing: /data/system_de/0
05-16 02:34:20.298 254 260 D vold : Preparing: /data/misc_de/0
@HighwayStar
HighwayStar / Los 14.1 mipad
Created February 16, 2017 14:01
Los 14.1 mipad first build boot logcat
--------- beginning of main
02-16 01:14:20.101 168 168 W auditd : type=2000 audit(0.0:1): initialized
02-16 01:14:22.584 168 168 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
02-16 01:14:22.588 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
02-16 01:14:22.688 1 1 I init : type=1400 audit(0.0:4): avc: denied { setattr } for name="lbh" dev="rootfs" ino=10262 scontext=u:r:init:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
02-16 01:14:22.689 144 144 I ueventd : type=1400 audit(0.0:5): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
02-16 01:14:23.232 1 1 I init : type=1400 audit(0.0:6): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
02-16 01:14:23.246
--------- beginning of main
02-17 09:20:09.611 166 166 W auditd : type=2000 audit(0.0:1): initialized
02-17 09:20:19.584 166 166 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
02-17 09:20:19.589 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
02-17 09:20:19.689 1 1 I init : type=1400 audit(0.0:4): avc: denied { setattr } for name="lbh" dev="rootfs" ino=6405 scontext=u:r:init:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
02-17 09:20:19.690 144 144 I ueventd : type=1400 audit(0.0:5): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
02-17 09:20:20.232 1 1 I init : type=1400 audit(0.0:6): avc: denied { create } for name="sdcard" scontext=u:r:init:s0 tcontext=u:object_r:tmpfs:s0 tclass=lnk_file permissive=1
02-17 09:20:20.247
--------- beginning of main
03-01 20:26:19.630 152 152 W auditd : type=2000 audit(0.0:1): initialized
03-01 20:26:29.534 152 152 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
03-01 20:26:29.537 1 1 I init : type=1400 audit(0.0:3): avc: denied { module_request } for kmod="personality-8" scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system permissive=1
03-01 20:26:29.563 1 1 I init : type=1400 audit(0.0:4): avc: denied { mounton } for path="/sys/kernel/debug" dev="debugfs" ino=1 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=1
03-01 20:26:29.563 1 1 I init : type=1400 audit(0.0:5): avc: denied { setattr } for name="lbh" dev="rootfs" ino=5413 scontext=u:r:init:s0 tcontext=u:object_r:rootfs:s0 tclass=lnk_file permissive=1
03-01 20:26:29.563 129 129 I ueventd : type=1400 audit(0.0:6): avc: denied { module_request } for kmod="personality-8" scontext=u:r:ueventd:s0 tcontext=u:r:kernel:s0 tclass=system per
@HighwayStar
HighwayStar / gist:c127cf7e555f328f90edb1ce60b1cb9e
Created March 2, 2017 10:31
Miui 6.12 dev kernel config mocha
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.10.24 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_ARM_HAS_SG_CHAIN=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_ARM_DMA_USE_IOMMU=y
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8
CONFIG_HAVE_PWM=y
@HighwayStar
HighwayStar / gist:e9fc2a54d804fc3a1d65f86a92b75afb
Created March 21, 2017 15:24
Redmi 3 (ido) stock audio hal flags
AUDIO_FEATURE_ENABLED_PCM_OFFLOAD : = false
AUDIO_FEATURE_ENABLED_ANC_HEADSET : = true
AUDIO_FEATURE_ENABLED_FLUENCE := true
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
AUDIO_FEATURE_ENABLED_FM := true
AUDIO_FEATURE_ENABLED_USBAUDIO := false
AUDIO_FEATURE_ENABLED_HFP := true
AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := false
AUDIO_FEATURE_ENABLED_SSR := true
@HighwayStar
HighwayStar / markw-stock.dts
Created March 24, 2017 15:10
markw stock dts from miui 8.1.3.0
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. MSMTITANIUM QRD WT88553";
compatible = "qcom,msm8953-qrd-wt88553", "qcom,msm8953-qrd", "qcom,msm8953", "qcom,qrd";
qcom,msm-id = <0x125 0x0>;
interrupt-parent = <0x1>;
qcom,board-id = <0x1000b 0x1>;