Skip to content

Instantly share code, notes, and snippets.

Avatar

Tad SkewedZeppelin

View GitHub Profile
@SkewedZeppelin
SkewedZeppelin / android_kernel_fairphone_fp2-ubp5.1.sh
Last active Oct 20, 2021
UBports actively shipping devices with critical vulnerabilities such as CVE-2015-1805, CVE-2016-5195, and CVE-2020-29661. See https://github.com/ubports/ubuntu-touch/issues/1566
View android_kernel_fairphone_fp2-ubp5.1.sh
#!/bin/bash
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0032-0033.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0046-0047.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0077-0078.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0085-0086.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0001-LinuxIncrementals/3.4/3.4.0089-0090.patch --exclude=Makefile
git apply $DOS_PATCHES_LINUX_CVES/0002-Misc_Fixes/ANY/0007.patch
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc/ANY/0008.patch
git apply $DOS_PATCHES_LINUX_CVES/0003-syzkaller-Misc2/ANY/0001.patch
git apply $DOS_PATCHES_LINUX_CVES/0005-AndroidHardening-Deny_USB/3.4/3.4-Backport.patch
View rm-kcmp.patch
From c51fae67f7409fd0e86b171bea960964aa96b6b8 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 29 Apr 2020 14:34:28 -0400
Subject: [PATCH] DNM: Drop KCMP
---
contrib/vim/syntax/firejail.vim | 2 +-
etc-fixes/0.9.38/firefox.profile | 4 ++--
etc-fixes/0.9.52/firefox.profile | 2 +-
etc/profile-a-l/dnscrypt-proxy.profile | 2 +-
@SkewedZeppelin
SkewedZeppelin / Meshtastic-Android-libre.patch
Created Jun 2, 2021
Removes proprietary dependencies from Meshtastic for Android. Compile tested.
View Meshtastic-Android-libre.patch
From 407d2dd0379a98a85322b47bd2732ae7ac92c23f Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 2 Jun 2021 13:39:56 -0400
Subject: [PATCH] Liberate
---
.idea/gradle.xml | 3 +-
.idea/misc.xml | 2 +-
app/build.gradle | 44 +---
.../java/com/geeksville/mesh/MainActivity.kt | 56 -----
View 0.9.52.patch
From f5751157c874645f4238dc77934baa54e6d64887 Mon Sep 17 00:00:00 2001
From: smitsohu <smitsohu@gmail.com>
Date: Sat, 23 Mar 2019 22:32:30 +0000
Subject: [PATCH] mount runtime seccomp files read-only (#2602)
avoid creating locations in the file system that are both writable and
executable (in this case for processes with euid of the user).
for the same reason also remove user owned libfiles
when it is not needed any more
View mini.css-table_colors.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Table Coloring</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- <link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.7/dist/mini-default.min.css"> WORKS!-->
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/gluon.v3/dist/mini-default.min.css"> <!-- DOESN'T WORK -->
</head>
View Focus-Orbot.patch
From da159eb27ed1806b28b416fe3c94ecf95b7f7fd0 Mon Sep 17 00:00:00 2001
From: n8fr8 <nathan@freitas.net>
Date: Wed, 28 Jun 2017 10:48:08 -0400
Subject: [PATCH 1/8] add NetCipher library to allow for easy Orbot detection
and port lookup
---
app/build.gradle | 2 ++
1 file changed, 2 insertions(+)
View Orbot_Snackbar.patch
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
index 664d17ec..7271b680 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
@@ -108,6 +108,7 @@ import eu.siacs.conversations.utils.Patterns;
import eu.siacs.conversations.utils.QuickLoader;
import eu.siacs.conversations.utils.StylingHelper;
import eu.siacs.conversations.utils.TimeframeUtils;
+import eu.siacs.conversations.utils.TorServiceUtils;
import eu.siacs.conversations.utils.UIHelper;
@SkewedZeppelin
SkewedZeppelin / 0000-README
Last active Dec 20, 2020
Patches to Privacy Browser that were never accepted upstream due to my refusal of the CLA
View 0000-README
Here are the commit IDs of the upstream re-implementations:
bead4e5c91f6d706559d923d9555a2b52c95b76d
59ce7ee862a672c569637f873af95e13b619906f
826776d415157b99701dd19d2713a60db6fefe2c
b36f8bd357e28072bd7c810bb3ae47e4e0b20acc
View liberate-Substratum.patch
From 7b72723c62d8567dd795dc83ef016da5817cfe7b Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 22 Feb 2017 06:12:09 -0500
Subject: [PATCH] Freedom
---
app/build.gradle | 3 -
app/google-services.json | 42 ------------
app/src/main/AndroidManifest.xml | 13 +---
.../projekt/substratum/InformationActivity.java | 18 +-----
View Signal-WebSocket_Only.patch
From a5a68198ddba563ce06ea5fe2b59441f573cb220 Mon Sep 17 00:00:00 2001
From: Tad <tad@spotco.us>
Date: Wed, 14 Jun 2017 02:13:27 -0400
Subject: [PATCH] Add a WebSocket only BuildConfig variable
//FREEBIE
---
build.gradle | 2 ++
src/org/thoughtcrime/securesms/RegistrationActivity.java | 5 ++++-
src/org/thoughtcrime/securesms/jobs/GcmRefreshJob.java | 5 +++++