Skip to content

Instantly share code, notes, and snippets.

Geofferey Eakins Geofferey

  • USA
Block or report user

Report or block Geofferey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Geofferey / lineage-system.rc
Last active Oct 10, 2019
lineage/vendor/lineage/prebuilt/common/etc/init/lineage-system.rc (run in magisk context)
View lineage-system.rc
# LineageOS core functionality
on init
export ANDROID_CACHE /cache
export TERMINFO /system/etc/terminfo
on post-fs-data
mkdir /cache/recovery 0770 system cache
# Run sysinit
start sysinit
Geofferey / build-error.log
Created Sep 28, 2019
Build error when building prima module moto ocean
View build-error.log
file included from ../../../../../../kernel/motorola/msm8953/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c:64:
../../../../../../kernel/motorola/msm8953/drivers/staging/prima/CORE/HDD/inc/wlan_hdd_tdls.h:529:39: error: unknown type name 'eTDLSSupportMode'
eTDLSSupportMode tdls_mode)
../../../../../../kernel/motorola/msm8953/drivers/staging/prima/CORE/HDD/inc/wlan_hdd_tdls.h:537:1: error: unknown type name 'tdlsConnInfo_t'
tdlsConnInfo_t *wlan_hdd_get_conn_info(hdd_context_t *pHddCtx,
../../../../../../kernel/motorola/msm8953/drivers/staging/prima/CORE/HDD/src/wlan_hdd_assoc.c:4697:22: error: no member named 'MFPCapable' in 'struct tagCsrRoamProfile'
roam_profile->MFPCapable = roam_profile->MFPEnabled;
~~~~~~~~~~~~ ^
Geofferey /
Created Aug 28, 2019
Start Android App Service at boot using init.d
until [[ $(getprop sys.boot_completed) = 1 ]] && [[ $(getprop dev.bootcomplete) = 1 ]] && [[ $(getprop service.bootanim.exit) = 1 ]] && [[ $(getprop init.svc.bootanim) = stopped ]] && [[ -d /sdcard/Android ]]; do
sleep 3
log "[init.d] - Waiting for boot animation exit & data decryption to complete before continuing..."
## A simple set of iptables firewall rules to
# to block incoming connevtions on rooted
# Android devices.
## Place this script in /su.d or /etc/init.d
# to run at startup.
## Firat perform several checks to confirm
Geofferey /
Created Oct 25, 2018
inputs unlock pattern via adb, ssh or terminal on Google Pixel (sailfish)
# Google Pixel Pattern Input
# OG Author: Matt Wilson
# Modified for Pixel aka sailfish
# By: Geofferey Eakins
# License: Free to use, modify and share
# This script sends simulated touch input for
# remotely swiping pattern on a Google Pixel
Geofferey /
Created Aug 17, 2018
Directs audio in from Bluetooth device to all audio outputs on connect.
#This script was written for raspberry-pi-audio-reciever
#Project and can be found in it's original form at:
#My version of this script directs audio input from a
#bluetooth device to all availabe audio outputs (aka sinks)
name=$(sed 's/\"//g' <<< $NAME)
#exit if not a BT address
#This script can pull GPS coordinates & sysinfo from android
#& Output to terminal. This script requires root access
#Place in /system/xbin or /data/local/tmp
echo "GPS_SHELL" >> /sys/power/wake_lock;
settings put secure location_providers_allowed +gps;
# Android Remote Unlock Script
# By: Geofferey @ IG & XDA 2018
# Just a simple script to input PIN
# via ADB, SSH, Telnet etc on Android
# Pace in /system/xbin/pin-unlock &
# give execute perms (e.g. chmod 500)
echo ""
#A multi-function switch for the Raspberry Pi
#This script was originally inspired by
#Modified by: Geofferey@XDA/Instagram/Github
#Use this script at your own risk
import RPi.GPIO as GPIO
import os
import time
Geofferey /
Created May 24, 2018
Android Chroot DNS Updater Script (Linux Deploy / Nethunter)
# Android Linux chroot DNS Updater Script
# Written by: Geofferey @ XDA / IG
# For updating /etc/resolv.conf in chroot
# Tested on Kali Nethunter / Linux Deploy
# Chroot placed in directory not file.img
# Works on Android Version Nougat 7.1.2
# Place in init.d of Nethunter or Android
You can’t perform that action at this time.