Skip to content

Instantly share code, notes, and snippets.

View jmpfbmx's full-sized avatar
Never stop working.

jmpfbmx

Never stop working.
View GitHub Profile
jmpfbmx@jmpfbmx-i5-9400F:~/Jose/LOS15.1$ brunch lineage_gohan-eng
including vendor/lineage/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
LINEAGE_VERSION=15.1-20191226-UNOFFICIAL-gohan
TARGET_PRODUCT=lineage_gohan
TARGET_BUILD_VARIANT=eng
@jmpfbmx
jmpfbmx / gist:1d7ab520cf280fb48fa26f73599b2f65
Created July 26, 2020 13:19
DoogeeMIX_LOS14.1_LOG1.txt
This file has been truncated, but you can view the full file.
jmpfbmx@jmpfbmx-X570-Aorus-Elite-Ryzen-7-3800X:/media/jmpfbmx/95274934-a804-473d-b429-dc5bbb59d7bb1/home/jmpfbmx/Jose/cm-14.1_MTK$ adb logcat
adb server version (36) doesn't match this client (39); killing...
* daemon started successfully
- waiting for device -
--------- beginning of main
07-26 00:37:06.812 298 298 W auditd : type=2000 audit(0.0:1): initialized
07-26 00:37:07.784 298 298 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
07-26 00:37:08.436 263 263 I ueventd : type=1400 audit(0.0:3): avc: denied { write } for name="uevent" dev="sysfs" ino=17689 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=1
07-26 00:37:08.436 263 263 I ueventd : type=1400 audit(0.0:4): avc: denied { open } for path="/sys/devices/virtual/thermal/cooling_device0/uevent" dev="sysfs" ino=17689 scontext=u:r:ueventd:s0 tcontext=u:object_r:sysfs_thermal:s0 tclass=file permissive=1
07-26 00:37:08.860 269 269 I e2fsck : type=1400 audit(0.0:5): av
ROM:FFFFFFC00122D550 ; _DWORD[646]
ROM:FFFFFFC00122D550 DCQ aSp5506mipiraw ; PowerSeq.SensorName
ROM:FFFFFFC00122D550 DCD SensorMCLK ; PowerSeq.PowerInfo.PowerType
ROM:FFFFFFC00122D550 DCD Vol_High ; PowerSeq.PowerInfo.Voltage
ROM:FFFFFFC00122D550 DCD 0 ; PowerSeq.PowerInfo.Delay
ROM:FFFFFFC00122D550 DCD DOVDD ; PowerSeq.PowerInfo.PowerType
ROM:FFFFFFC00122D550 DCD Vol_1800 ; PowerSeq.PowerInfo.Voltage
ROM:FFFFFFC00122D550 DCD 1 ; PowerSeq.PowerInfo.Delay
ROM:FFFFFFC00122D550 DCD AVDD ; PowerSeq.PowerInfo.PowerType
ROM:FFFFFFC00122D550 DCD Vol_2800 ; PowerSeq.PowerInfo.Voltage
@jmpfbmx
jmpfbmx / Sony-L1-Modem-Strings.txt
Created August 12, 2020 10:57 — forked from bigrammy/Sony-L1-Modem-Strings.txt
Getting the strings from Modem.img "strings modem_1_lwg_n.img > Sony-L1-Modem-Strings.txt"
D#.B
driver/sys_drv/cache/src/cache.c
MT%4d, E%02d
MT%4d%1X, E%02d
S%02d
module == BL_INFO_FROM_RTC
driver/sys_drv/init/src/init.c
driver/sys_drv/init/src/init_comm.c
driver/sys_drv/cache/src/mpu.c
index < MPU_REGION_NUM
<?xml version="1.0" ?>
<contents>
<product_flavors cmm_pf_var="PRODUCT_FLAVORS">
<pf>
<name>asic</name>
<component>
<name>common</name>
<flavor>asic</flavor>
</component>
<component>
/*
* Copyright (C) 2015 MediaTek Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ANDROID_LOG_MUCH_COUNT =
AUTO_ADD_GLOBAL_DEFINE_BY_NAME = CUSTOM_KERNEL_PDR_SENSOR MTK_EMBMS_SUPPORT MTK_16X_SLOWMOTION_VIDEO_SUPPORT MTK_SIM_LOCK_POWER_ON_WRITE_PROTECT MTK_CROSSMOUNT_MULTI_CH_SUPPORT MTK_MULTIPLE_TDLS_SUPPORT MTK_MODEM_MONITOR_SUPPORT MTK_BT_BLUEDROID_AVRCP_TG_16 MTK_CROSSMOUNT_SUPPORT CUSTOM_KERNEL_ANSWER_CALL_SENSOR MTK_CAM_STEREO_DENOISE_SUPPORT CUSTOM_KERNEL_UNCALI_MAG_SENSOR CUSTOM_KERNEL_UNCALI_GYRO_SENSOR MTK_BLULIGHT_DEFENDER_SUPPORT MTK_LCM_DEVICE_TREE_SUPPORT MTK_BT_BLUEDROID_A2DP_APTX MTK_NVCONFIG_PARTITION_SUPPORT MTK_BT_BLUEDROID_HFP_AG_17 MTK_AURISYS_PHONE_CALL_SUPPORT MTK_HEADSET_ACTIVE_NOISE_CANCELLATION MTK_DYNAMIC_SBP_SUPPORT MTK_FACTORY_GAMMA_SUPPORT MTK_VT3G324M_SUPPORT MTK_WFC_SUPPORT MTK_BT_BLUEDROID_AVRCP_TG_15 MTK_BT_BLUEDROID_PLUS MTK_CAM_VSDOF_SUPPORT MTK_ECCCI_C2K MTK_EXTERNAL_SIM_SUPPORT MTK_EFUSE_WRITER_SUPPORT MTK_FACTORY_MODE_IN_GB2312 MTK_A1_FEATURE MTK_AUDIO_TUNNELING_SUPPORT CUSTOM_KERNEL_HEART_RATE_SENSOR CUSTOM_KERNEL_SENSORHUB CUSTOM_KERNEL_TILT_DETECTOR
@jmpfbmx
jmpfbmx / fwbpush.txt
Created October 14, 2022 11:59 — forked from ender1324/fwbpush.txt
Pushing frameworks base without forking from aosp-mirror
Hey, this is going to basically explain how to push frameworks base without cloning it from aosp-mirror
This has been tested when frameworks base was on the android-11.0.0_r32 tag and may not work on newer ones.
So lets begin
Step 1:
Clone any roms or the aosp frameworks_base
NOTE: If you do clone frameworks_base from aosp ( https://android.googlesource.com/platform/frameworks/base/ ), cd into the directory you cloned it in and do "git checkout android-11.0.0_r[LASTEST TAG HERE]" and yes you have to replace "[LASTEST TAG HERE]" with the lastest tag number
Step 2:
cd into the directory you cloned the repo into
diff --git a/PKGBUILD b/PKGBUILD
index e259082..3202f6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=nvidia-470xx-utils
pkgname=('nvidia-470xx-utils' 'opencl-nvidia-470xx' 'nvidia-470xx-dkms')
-pkgver=470.141.03
-pkgrel=2