Skip to content

Instantly share code, notes, and snippets.

@steven676
steven676 / 0002-Allow-targets-to-reenable-support-for-non-PIE-execut.patch
Created August 28, 2015 02:32
[PATCH 2/2] Allow targets to reenable support for non-PIE executables
From 989a14bfb86608aba038b6786a3ab312bd7aeb6e Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Sat, 15 Nov 2014 17:58:48 -0800
Subject: [PATCH 2/2] Allow targets to reenable support for non-PIE
executables
Many legacy devices have non-PIE binary blob executables which are never
going to be updated by the manufacturer; allow the dynamic linker to
load these executables so that they can work.
@steven676
steven676 / 0001-linker-restore-support-for-skipping-local-scope-in-s.patch
Last active August 28, 2015 02:32
[PATCH 1/2] linker: restore support for skipping local scope in soinfo_do_lookup()
From 630d1e737429f7eb436e5378ed41cd1a2155dce2 Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Tue, 21 Jul 2015 21:59:36 -0700
Subject: [PATCH 1/2] linker: restore support for skipping local scope in
soinfo_do_lookup()
---
linker/linker.cpp | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
@steven676
steven676 / gist:31d9be3681c25d9d47b7
Last active August 29, 2015 14:21
Try to start pvrsrvinit earlier than SurfaceFlinger
--- a/init.encore.rc 2015-05-17 20:00:45.000000000 -0700
+++ b/init.encore.rc 2015-05-17 18:48:53.000000000 -0700
@@ -210,6 +210,9 @@ on post-fs-data
chown system system /sys/devices/platform/omapdss/display3/timings
chown system system /sys/devices/platform/omapdss/display2/code
+on early-boot
+ start pvrsrvinit
+
on boot
@steven676
steven676 / 0001-Allow-targets-to-reenable-support-for-non-PIE-execut.patch
Created May 18, 2015 02:40
[PATCH] Allow targets to reenable support for non-PIE executables
From eba25085e5d1a44b595d0439d350a3e6b4a0684f Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Sat, 15 Nov 2014 17:58:48 -0800
Subject: [PATCH] Allow targets to reenable support for non-PIE executables
Many legacy devices have non-PIE binary blob executables which are never
going to be updated by the manufacturer; allow the dynamic linker to
load these executables so that they can work.
This rolls back the following commits:
@steven676
steven676 / 0001-Allow-targets-to-choose-to-build-traditional-file-ba.patch
Created May 9, 2015 07:45
[PATCH] Allow targets to choose to build traditional file-based OTAs
From 6cf8a578c2448e46d6c2dcdf0c4c9b58ca0c9040 Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Sun, 16 Nov 2014 04:02:49 -0800
Subject: [PATCH] Allow targets to choose to build traditional file-based OTAs
---
core/Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/core/Makefile b/core/Makefile
@steven676
steven676 / encore-overclocking-changes.patch
Created April 6, 2014 08:39
[PATCH] encore: overclocking changes
From 505a92254fa541251e2783e0cbc9334cdb9c9572 Mon Sep 17 00:00:00 2001
From: Steven Luo <steven@steven676.net>
Date: Sun, 6 Apr 2014 01:25:07 -0700
Subject: [PATCH] encore: overclocking changes
encore: clean up overclocking config #ifdefs
* Ensure upstream defaults are used when building for non-encore boards
* Don't make DSP OPP4 available on encore with stock clocks
--- .config.old 2014-02-19 15:31:52.000000000 -0800
+++ .config 2014-02-19 15:53:52.000000000 -0800
@@ -52 +52 @@
-# CONFIG_BSD_PROCESS_ACCT_V3 is not set
+CONFIG_BSD_PROCESS_ACCT_V3=y
@@ -80 +80 @@
-CONFIG_CGROUP_DEBUG=y
+# CONFIG_CGROUP_DEBUG is not set
@@ -82,2 +82,3 @@
-# CONFIG_CGROUP_DEVICE is not set
@steven676
steven676 / 0001-Don-t-require-CONFIG_CRC7-to-build-wl1251-wl12xx-for.patch
Created January 8, 2014 01:09
[PATCH] Don't require CONFIG_CRC7 to build wl1251/wl12xx for SDIO
From 6a3250cae7a0258cd176251b85bf99fedfa79e2e Mon Sep 17 00:00:00 2001
From: Steven Luo <steven@steven676.net>
Date: Tue, 7 Jan 2014 17:04:11 -0800
Subject: [PATCH] Don't require CONFIG_CRC7 to build wl1251/wl12xx for SDIO
CRC7 functions are only used in the SPI code for these drivers, so it's
unnecessary for the SDIO drivers to depend on CONFIG_CRC7. See, for
example, commit a011130265e9 ("wl12xx: remove unused crc7 references")
in Linus's tree.
---
@steven676
steven676 / 0001-Forward-port-surface-dithering-from-CM10.2.patch
Created December 14, 2013 10:33
[PATCH] Forward-port surface dithering from CM10.2
From f6cceade46953f40fa9eca9d737dbcd0da7b969b Mon Sep 17 00:00:00 2001
From: Steven Luo <steven@steven676.net>
Date: Sat, 30 Mar 2013 00:44:11 -0700
Subject: [PATCH] Forward-port surface dithering from CM10.2
This allows the use of 16-bit color displays without excessive color
banding;
Change-Id: Icb469b9cb4beb686516c60bb576dbd0a73f505e0
---
@steven676
steven676 / 0006-Allow-targets-to-avoid-requesting-pbuffer-support-fr.patch
Created November 26, 2013 22:45
[PATCH 6/6] Allow targets to avoid requesting pbuffer support from the EGL implementation (against android-4.4_r1.2 frameworks/native)
From 85ca158d9ccc332c73b68632b4a76a11ca9f8371 Mon Sep 17 00:00:00 2001
From: Steven Luo <steven+android@steven676.net>
Date: Sun, 3 Nov 2013 20:43:42 -0800
Subject: [PATCH 6/6] Allow targets to avoid requesting pbuffer support from
the EGL implementation
Change-Id: Ie77bc1417acef0912ef8a6da23e8b0b44e2154ac
---
services/surfaceflinger/Android.mk | 4 ++
.../RenderEngine/GLES11RenderEngine.cpp | 5 ++-