Skip to content

Instantly share code, notes, and snippets.

From 4014b9bc51e4180108ee527d8a3e4d235012691a Mon Sep 17 00:00:00 2001
From: TheStrix <[email protected]>
Date: Sat, 7 Sep 2019 19:36:18 +0530
Subject: [PATCH] pa: Add generic targets
Change-Id: If0eec96c119d5b41d1b19f5ce7d7102635daed30
---
build/target/product/AndroidProducts.mk | 21 +++++++++++++++++++++
build/target/product/pa__x86_64.mk | 21 +++++++++++++++++++++
build/target/product/pa_arm.mk | 23 +++++++++++++++++++++++
From b5e887f716402f02fd38c39c4a93615660b8167c Mon Sep 17 00:00:00 2001
From: TheStrix <[email protected]>
Date: Thu, 11 Jan 2018 19:40:31 +0530
Subject: [PATCH] Remove deprecated wifi fw_path flags
- Fixes:
'01-11 16:45:37.937 744 744 E [email protected]: Failed to open wlan fw path param: Permission denied
01-11 16:45:37.937 744 744 E [email protected]: Failed to change firmware mode'
* We no longer perform operations with the fwpath node
@TheStrix
TheStrix / batchfindmissing.sh
Created January 6, 2018 18:23
Script to run findmissing for all the libs (.so) and */bin/*
#!/bin/bash
OUT_TXT=$HOME/tmp/missing.txt
TMPDIR=$(mktemp -d)
if [[ -f ../00_project_files/all_files.txt ]]; then
SYSTEM_FILES_PATH=$(readlink -f ../00_project_files/all_files.txt)
elif [[ -f 00_project_files/all_files.txt ]]; then
SYSTEM_FILES_PATH=$(readlink -f 00_project_files/all_files.txt)
From 4407045fbecfec821380e6ab980bd09e5fb5da1c Mon Sep 17 00:00:00 2001
From: TheStrix <[email protected]>
Date: Sat, 11 Nov 2017 16:09:40 +0530
Subject: [PATCH] qcacld-3.0: Add Kconfig entry for FILS Feature
Change-Id: I3cc23ca8f9528a91970240ddedd225ac3258cf11
---
drivers/staging/qcacld-3.0/Kconfig | 4 ++++
1 file changed, 4 insertions(+)
diff -bur unified_n/AndroidBoard.mk unified_o/AndroidBoard.mk
--- unified_n/AndroidBoard.mk 2017-08-30 15:08:58.145651787 +0530
+++ unified_o/AndroidBoard.mk 2017-08-30 14:53:05.863414912 +0530
@@ -46,7 +46,7 @@
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := $(LOCAL_MODULE)
-LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
@TheStrix
TheStrix / sagit.dts
Last active December 22, 2017 12:07
SAGIT (Qualcomm Technologies, Inc. MSM 8998 v2.1 MTP) from stock oreo 7.12.19
/dts-v1/;
/ {
#address-cells = <0x2>;
#size-cells = <0x2>;
model = "Qualcomm Technologies, Inc. MSM 8998 v2.1 MTP";
compatible = "qcom,msm8998-mtp", "qcom,msm8998", "qcom,mtp";
qcom,msm-id = <0x124 0x20001>;
interrupt-parent = <0x1>;
qcom,board-id = <0x1e 0x0>;
.class public Lcom/qualcomm/qti/internal/telephony/QtiServiceStateTracker;
.super Lcom/android/internal/telephony/ServiceStateTracker;
.source "QtiServiceStateTracker.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/qualcomm/qti/internal/telephony/QtiServiceStateTracker$1;
}
@TheStrix
TheStrix / armani-Implement-kexec-hardboot.patch
Created September 4, 2015 14:34
Kexec-hardboot patch for Xiaomi Redmi 1S (armani)
From 0dbaf602ac5f11356a192eb2bd388d0e29802848 Mon Sep 17 00:00:00 2001
From: TheStrix <[email protected]>
Date: Mon, 30 Mar 2015 11:35:33 -0400
Subject: [PATCH] Implement kexec-hardboot
"Allows hard booting (i.e., with a full hardware reboot) to a kernel
previously loaded in memory by kexec. This works around the problem of
soft-booted kernel hangs due to improper device shutdown and/or
reinitialization."
More info in /arch/arm/Kconfig.