Skip to content

Instantly share code, notes, and snippets.

View tdrkDev's full-sized avatar
🤨
Trying to buy Pepsi in Russia

Roman Rihter tdrkDev

🤨
Trying to buy Pepsi in Russia
View GitHub Profile
This file has been truncated, but you can view the full file.
--------- beginning of kernel
03-23 19:01:20.070 0 0 I : Initializing cgroup subsys cpu
03-23 19:01:20.070 0 0 I : Initializing cgroup subsys cpuacct
03-23 19:01:20.070 0 0 I : Linux version 3.18.31-MeizuSucks-g43acaeb4-dirty (roman@pc) (gcc version 4.9 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Wed May 6 21:53:19 MSK 2020
03-23 19:01:20.070 0 0 W : CPU: AArch64 Processor [410fd034] revision 4
03-23 19:01:20.070 0 0 I alternatives: enabling workaround for ARM erratum 845719
03-23 19:01:20.070 0 0 I Machine : Qualcomm Technologies, Inc. MSM8953 QRD SKU3
03-23 19:01:20.070 0 0 I efi : Getting EFI parameters from FDT:
03-23 19:01:20.070 0 0 I efi : UEFI not found.
03-23 19:01:20.070 0 0 I Reserved memory: reserved region for node 'other_ext_region@0': base 0x0000000084a00000, size 30 MiB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>#DisableDrivers</key>
<array>
<string>CsmVideoDxe</string>
<string>VBoxExt4</string>
</array>
<key>ACPI</key>
adb server version (39) doesn't match this client (36); killing...
* daemon started successfully *
06-26 09:51:56.146 509 509 D RILD : **RIL Daemon Started**
06-26 09:51:56.146 509 509 D RILD : **RILd param count=3**
08-06 09:51:56.682 550 550 D RILD : **RIL Daemon Started**
08-06 09:51:56.682 550 550 D RILD : **RILd param count=1**
08-06 09:51:57.055 550 550 D RILD : RIL_Init argc = 5 clientId = 0
08-06 09:51:57.063 550 550 E RILQ : log to /data/misc/radio/ril_log for QCRIL logging is not enabled
08-06 09:51:57.102 509 509 D RILD : RIL_Init argc = 5 clientId = 2
08-06 09:51:57.103 509 509 E RILQ : log to /data/misc/radio/ril_log for QCRIL logging is not enabled
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Comment</key>
25: id=0,addr: 5d, transfer error
[ 4.023044].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
[ 4.023972].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
[ 4.024658].(3)[200:guitar_update]<<-GTP-ERROR->> dma i2c write failed!
[ 4.025584].(3)[200:guitar_update]<<-GTP-ERROR->> Dma I2C Write Error: 0x4180, 1 byte(s), err-code: -22
[ 4.026770].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
[ 4.027725].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
[ 4.028401].(3)[200:guitar_update]<<-GTP-ERROR->> Dma I2C Write Error: 0x4180, 1 byte(s), err-code: -22
[ 4.029772].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
[ 4.030518].(3)[200:guitar_update]ERROR,525: id=0,addr: 5d, transfer error
This file has been truncated, but you can view the full file.
--------- beginning of kernel
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001e94) caused undefined instruction on CPU 3
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001e94) caused undefined instruction on CPU 2
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001eb5) caused undefined instruction on CPU 3
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001eb5) caused undefined instruction on CPU 2
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001e95) caused undefined instruction on CPU 3
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001e95) caused undefined instruction on CPU 2
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001ef0) caused undefined instruction on CPU 3
01-01 00:18:29.971 0 0 W hw-breakpoint: Debug register access (0xee001ef0) caused undefined instruction on CPU 2
01-01 00:18:29.971 0
diff -ruN NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c Patchedfor510/kernel/nv-drm.c
--- NVIDIA-Linux-x86_64-340.108/kernel/nv-drm.c 2020-11-29 13:16:00.788410148 +0300
+++ Patched-for-5.10/kernel/nv-drm.c 2020-11-29 13:05:44.628654208 +0300
@@ -365,7 +365,7 @@
struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base);
int page_count = obj->size >> PAGE_SHIFT;
- return drm_prime_pages_to_sg(nv_obj->pages, page_count);
+ return drm_prime_pages_to_sg(nv_obj->base.dev, nv_obj->pages, page_count);
}
@tdrkDev
tdrkDev / Dart serial read with linux commands.dart
Created August 18, 2021 20:45
I know this is shitty and that it is not working.
import 'dart:async';
import 'dart:convert';
import 'dart:io';
class Serial2IO {
// Default: ttyUSB0
static final String _serialPort = "/dev/ttyUSB2";
// Request serial data via Linux commands... yeah...
static Future<Map<String, dynamic>?> request(
@tdrkDev
tdrkDev / m6 note R RIL log
Created September 6, 2021 15:55
SIM, IMEI, baseband version dead
This file has been truncated, but you can view the full file.
--------- beginning of kernel
03-19 09:24:44.701 0 0 I : Booting Linux on physical CPU 0x0
03-19 09:24:44.701 0 0 I : Linux version 4.9.273-meizusucks/6b5f1b118ba3++ (nobody@android-build) (Android (6877366 based on r383902b1) clang version 11.0.2 (https://android.googlesource.com/toolchain/llvm-project b397f81060ce6d701042b782172ed13bee898b79)) #56 SMP PREEMPT Sun Aug 15 17:06:22 MSK 2021
03-19 09:24:44.701 0 0 I Boot CPU: AArch64 Processor [410fd034]
03-19 09:24:44.701 0 0 I Machine : Qualcomm Technologies, Inc. MSM8953 + PMI8950 QRD SKU3
03-19 09:24:44.701 0 0 I core_ctl: disable_cpumask=0-7
03-19 09:24:44.701 0 0 I efi : Getting EFI parameters from FDT:
03-19 09:24:44.701 0 0 I efi : UEFI not found.
03-19 09:24:44.701 0 0 I Reserved memory: created CMA memory pool at 0x00000000c7800000, size 8 MiB
03-19 09:24:44.701 0 0 I OF : reserved mem: initialized node adsp_shmem_device_region@0xc0100000, compatible i
#!/bin/bash
if [ $UID != "0" ]; then
echo "ERROR: You must run this script as root!"
exit 1
fi
echo "Install Java 8 for Android versions lower than Q? (y/N)"
echo -n "$0> "
read installJava
case "$installJava" in