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
Geofferey / and-chroot-dns.sh
Created May 24, 2018
Android Chroot DNS Updater Script (Linux Deploy / Nethunter)
View and-chroot-dns.sh
#!/system/xbin/bash
# 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
View pi_switch.py
#!/usr/bin/python
#A multi-function switch for the Raspberry Pi
#This script was originally inspired by AndrewH7@instructables.com/member/AndrewH7
#Modified by: Geofferey@XDA/Instagram/Github
#Use this script at your own risk
import RPi.GPIO as GPIO
import os
import time
View adb_pin_input.sh
#!/system/xbin/bash
# 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 ""
View gps-grep.sh
#!/system/xbin/bash
#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;
@Geofferey
Geofferey / bluez-udev-audio.sh
Created Aug 17, 2018
Directs audio in from Bluetooth device to all audio outputs on connect.
View bluez-udev-audio.sh
#!/bin/bash
#This script was written for raspberry-pi-audio-reciever
#Project and can be found in it's original form at:
#https://github.com/BaReinhard/Super-Simple-Raspberry-Pi-Audio-Receiver-Install/blob/master/usr/local/bin/bluez-udev
#My version of this script directs audio input from a
#bluetooth device to all availabe audio outputs (aka sinks)
audio_sink=0
name=$(sed 's/\"//g' <<< $NAME)
#exit if not a BT address
@Geofferey
Geofferey / adb_pattern_input-sailfish.sh
Created Oct 25, 2018
inputs unlock pattern via adb, ssh or terminal on Google Pixel (sailfish)
View adb_pattern_input-sailfish.sh
#!/system/xbin/bash
#
# 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
View android_firewall-rules.sh
#!/system/xbin/bash
## 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
Geofferey / start-service.sh
Created Aug 28, 2019
Start Android App Service at boot using init.d
View start-service.sh
#!/system/bin/sh
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..."
done
You can’t perform that action at this time.