Skip to content

Instantly share code, notes, and snippets.

View h2o64's full-sized avatar

Louis Popi h2o64

  • École Polytechnique
  • France
View GitHub Profile
@h2o64
h2o64 / dmesg.txt
Created August 14, 2017 10:36
DMESG 14/08/17
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Initializing cgroup subsys schedtune
[ 0.000000] Linux version 3.18.31-g19dcb95 (jenkins@aosparadox-server) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Aug 14 12:23:32 CEST 2017
[ 0.000000] CPU: AArch64 Processor [511f2112] revision 2
[ 0.000000] alternatives: detected feature GIC system register CPU interface
[ 0.000000] Powerup reason=0x40121
[ 0.000000] Hw version=0x220
[ 0.000000] Machine: Qualcomm Technologies, Inc. MSM 8996 v3 + PMI8994 MTP
@h2o64
h2o64 / 0001-sound-msm8952-Implement-Tinno-s-PA-Switch.patch
Created July 12, 2017 16:48
0001-sound-msm8952-Implement-Tinno-s-PA-Switch.patch
From 2e1e1c0b4effdf6618cb0f304ad92e1535ac64dc Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Wed, 12 Jul 2017 18:47:32 +0200
Subject: [PATCH] sound: msm8952: Implement Tinno's PA Switch
* Reversed engennered (in 5 days) from stock M kernel
---
sound/soc/codecs/msm8x16-wcd.h | 1 +
sound/soc/msm/msm8952.c | 53 ++++++++++++++++++++++++++++++++----------
2 files changed, 42 insertions(+), 12 deletions(-)
@h2o64
h2o64 / twrp.patch
Created June 17, 2017 14:08
TOMATO TWRP
diff --git a/arch/arm64/configs/lineageos_tomato_defconfig b/arch/arm64/configs/lineageos_tomato_defconfig
index eb886e6..6706875 100644
--- a/arch/arm64/configs/lineageos_tomato_defconfig
+++ b/arch/arm64/configs/lineageos_tomato_defconfig
@@ -335,7 +335,6 @@ CONFIG_MSM_SMD_PKT=y
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MSM_V2=y
-CONFIG_SLIMBUS_MSM_NGD=y
CONFIG_SOUNDWIRE=y
@h2o64
h2o64 / 0001-gemini-Use-our-own-power-feature.patch
Last active October 26, 2016 09:19
0001-gemini-Use-our-own-power-feature.patch
From 2c4ad3d113cb3c1da2b9c8ddba7f00569eb29968 Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Wed, 26 Oct 2016 11:15:59 +0200
Subject: [PATCH] gemini: Use our own power-feature
* Sharp panels uses atmel driver, which leads to different sysfs.
Introduce a prop to know system wise the panel model and change
dt2w node accordingly
Change-Id: Iafba2aca62059615f9c84515c5f28f8335f6180f
@h2o64
h2o64 / 0001-gemini-Add-FP-Home-button.patch
Created October 22, 2016 07:50
0001-gemini-Add-FP-Home-button.patch
From da443637d5cd27c2ac63ccf0f31f640adb0b569c Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Sat, 22 Oct 2016 09:47:49 +0200
Subject: [PATCH] gemini: Add FP Home button
Change-Id: Ib6a5d994798d8d24d23ccfbdefaeadaf2d3fe8cf
---
configpanel/res/values/strings.xml | 4 ++++
configpanel/res/xml/button_panel.xml | 5 +++++
configpanel/src/com/cyanogenmod/settings/device/Startup.java | 3 ++-
@h2o64
h2o64 / 0004-fingerprint-homebutton-Don-t-vibrate-till-we-write-a.patch
Created October 22, 2016 07:36
0004-fingerprint-homebutton-Don-t-vibrate-till-we-write-a.patch
From 985ae6e73eb4d44cd79fab0c51e77e935205df2b Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Sat, 22 Oct 2016 09:32:57 +0200
Subject: [PATCH 4/4] fingerprint: homebutton: Don't vibrate till we write a
proper API
Change-Id: Ic32fde365062d00dc62c25d1d98f7d9937a89c51
---
drivers/input/fingerprint/homebutton.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@h2o64
h2o64 / 0003-defconfigs-gemini-Enable-fingerprint-homebutton-feat.patch
Last active October 22, 2016 07:36
0003-defconfigs-gemini-Enable-fingerprint-homebutton-feat.patch
From 6bf341515786cb9ed55ac071b1710c11ae602823 Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Sat, 22 Oct 2016 08:53:24 +0200
Subject: [PATCH 3/4] defconfigs: gemini: Enable fingerprint homebutton feature
Change-Id: Ibe6b004e30af2d527edc4b58228f086b4db9f2d9
---
arch/arm64/configs/cyanogenmod_gemini_defconfig | 1 +
1 file changed, 1 insertion(+)
@h2o64
h2o64 / 0002-fingerprint-fpc1020_ta-Allow-sending-keycodes-to-use.patch
Created October 22, 2016 07:36
0002-fingerprint-fpc1020_ta-Allow-sending-keycodes-to-use.patch
From 91d8ec285253cd60688c46a03630a7c282dff244 Mon Sep 17 00:00:00 2001
From: Louis Popi <theh2o64@gmail.com>
Date: Sat, 22 Oct 2016 09:14:14 +0200
Subject: [PATCH 2/4] fingerprint: fpc1020_ta: Allow sending keycodes to
userspace
Change-Id: I464651a2560964180e0f840d6717a99e32ded2f7
---
drivers/input/fingerprint/fpc1020_ta/fpc1020_tee.c | 54 +++++++++++++++++++++-
1 file changed, 53 insertions(+), 1 deletion(-)
@h2o64
h2o64 / 0001-fingerprint-fingerprint-sensor-as-home-button-or-any.patch
Created October 22, 2016 07:36
0001-fingerprint-fingerprint-sensor-as-home-button-or-any.patch
From 74aaad8a4baa97b4ab4b5c252bbf6431e7f98a6b Mon Sep 17 00:00:00 2001
From: flar2 <asegaert@gmail.com>
Date: Tue, 6 Sep 2016 02:31:52 -0400
Subject: [PATCH 1/4] fingerprint: fingerprint sensor as home button (or any
other key)
Change-Id: Ie93bb246c220f6ecf16bfa255cf1fb3a0179b6eb
---
drivers/input/fingerprint/Kconfig | 5 +
drivers/input/fingerprint/Makefile | 1 +
@h2o64
h2o64 / 0001-sdcardfs-Add-missing-mount-tokens.patch
Created October 21, 2016 09:03
0001-sdcardfs-Add-missing-mount-tokens.patch
From e7d4f42471a9a4caee448d33989f3a80307e8dd2 Mon Sep 17 00:00:00 2001
From: fluxi <linflux@arcor.de>
Date: Thu, 20 Oct 2016 18:39:20 +0200
Subject: [PATCH] sdcardfs: Add missing mount tokens
Satisfy the option parser that expects tokens
added by Samsung in their driver version 3.10.
Change-Id: Iff793243c62741d209f75d99e3a9b85b2cbb67ca
---