Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
--------- beginning of kernel
01-01 10:56:47.163 0 0 I : Booting Linux on physical CPU 0x0
01-01 10:56:47.163 0 0 I : Linux version 4.14.83-perf+ (nubia@swlab-2t194) (clang version 6.0.9 for Android NDK) #1 SMP PREEMPT Tue Jun 18 15:37:59 CST 2019
01-01 10:56:47.163 0 0 I Boot CPU: AArch64 Processor [51df805e]
01-01 10:56:47.163 0 0 I Machine : Qualcomm Technologies, Inc. SM8150 V2 PM8150 SDX50M MTP
01-01 10:56:47.163 0 0 I : Memory limit set/overridden to 5068MB
01-01 10:56:47.163 0 0 E OF : reserved mem: OVERLAP DETECTED!
01-01 10:56:47.163 0 0 E : disp_rdump_region@9c000000 (0x000000009c000000--0x000000009e400000) overlaps with cont_splash_region@9c000000 (0x000000009c000000--0x000000009e400000)
01-01 10:56:47.163 0 0 I Reserved memory: created CMA memory pool at 0x00000000fd400000, size 40 MiB
01-01 10:56:47.163 0 0 I OF : reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.112-perf+ (tomin@linux-13jc) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 4 23:42:56 +08 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine: Kuntao p2b1
[ 0.000000] core_ctl: disable_cpumask=0-7
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region@0, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000008f800000, size 8 MiB
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.112-perf+ (tomin@linux-13jc) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 4 23:42:56 +08 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine: Kuntao p2b1
[ 0.000000] core_ctl: disable_cpumask=0-7
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region@0, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000008f800000, size 8 MiB
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.112-perf+ (tomin@linux-13jc) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 4 01:56:03 +08 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine: Kuntao p2b1
[ 0.000000] core_ctl: disable_cpumask=0-7
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region@0, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000008f800000, size 8 MiB
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.112-perf+ (tomin@linux-13jc) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 4 01:41:16 +08 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine: Kuntao p2b1
[ 0.000000] core_ctl: disable_cpumask=0-7
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region@0, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000008f800000, size 8 MiB
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.112-perf+ (tomin@linux-13jc) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Aug 4 01:13:00 +08 2020
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] Machine: Kuntao p2b1
[ 0.000000] core_ctl: disable_cpumask=0-7
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000ffc00000, size 4 MiB
[ 0.000000] OF: reserved mem: initialized node adsp_region@0, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000008f800000, size 8 MiB
@HighwayStar
HighwayStar / buffer_fix.c
Last active February 10, 2022 08:18
xiaomi fix buffer issue (see line 83) in com.qti.chi.override.so
int __fastcall sub_81A44(int a1)
{
int v1; // ST84_4@4
int v2; // ST14_4@5
int v3; // ST10_4@5
int v4; // ST0C_4@5
int v5; // ST08_4@5
int v6; // ST00_4@5
int v7; // ST6C_4@7
int v8; // ST18_4@7
diff --git a/kvim2/BoardConfig.mk b/kvim2/BoardConfig.mk
index 1c7aea4..2e7e595 100644
--- a/kvim2/BoardConfig.mk
+++ b/kvim2/BoardConfig.mk
@@ -44,7 +44,7 @@ TARGET_NO_KERNEL := false
TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_PLATFORM := gxm
-TARGET_BOOTLOADER_BOARD_NAME := kvim2
+TARGET_BOOTLOADER_BOARD_NAME := gxm_q201_v1
This file has been truncated, but you can view the full file.
--------- beginning of main
01-01 00:00:13.762 3104 3104 I SELinux : SELinux: Loaded service_contexts from:
01-01 00:00:13.764 3104 3104 I SELinux : /system/etc/selinux/plat_service_contexts
01-01 00:00:13.818 3106 3106 I SELinux : SELinux: Loaded service_contexts from:
01-01 00:00:13.818 3106 3106 I SELinux : /vendor/etc/selinux/vndservice_contexts
01-01 00:00:04.258 3103 3103 W auditd : type=2000 audit(0.0:1): initialized
01-01 00:00:10.096 3103 3103 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-01 00:00:11.388 2471 2471 I init : type=1400 audit(0.0:3): avc: denied { write } for name="watermark_scale_factor" dev="proc" ino=1187 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_vm_writable:s0 tclass=file permissive=1
01-01 00:00:12.516 2998 2998 I imageserver: type=1400 audit(0.0:4): avc: denied { read } for name="vndbinder" dev="tmpfs" ino=15388 scontext=u:r:imageserver:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=
This file has been truncated, but you can view the full file.
--------- beginning of main
01-01 00:00:13.762 3104 3104 I SELinux : SELinux: Loaded service_contexts from:
01-01 00:00:13.764 3104 3104 I SELinux : /system/etc/selinux/plat_service_contexts
01-01 00:00:13.818 3106 3106 I SELinux : SELinux: Loaded service_contexts from:
01-01 00:00:13.818 3106 3106 I SELinux : /vendor/etc/selinux/vndservice_contexts
01-01 00:00:04.258 3103 3103 W auditd : type=2000 audit(0.0:1): initialized
01-01 00:00:10.096 3103 3103 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-01 00:00:11.388 2471 2471 I init : type=1400 audit(0.0:3): avc: denied { write } for name="watermark_scale_factor" dev="proc" ino=1187 scontext=u:r:vendor_init:s0 tcontext=u:object_r:proc_vm_writable:s0 tclass=file permissive=1
01-01 00:00:12.516 2998 2998 I imageserver: type=1400 audit(0.0:4): avc: denied { read } for name="vndbinder" dev="tmpfs" ino=15388 scontext=u:r:imageserver:s0 tcontext=u:object_r:vndbinder_device:s0 tclass=chr_file permissive=