Skip to content

Instantly share code, notes, and snippets.

View bigbiff's full-sized avatar

Matthew Crites bigbiff

View GitHub Profile
@bigbiff
bigbiff / buildtwrp.sh
Last active February 13, 2024 11:51
Build TWRP for devices
#!/bin/bash
TWRPCM10REPO=/data/repos/cm10-twrp
TWRPCM101REPO=/builds/cm10.1-twrp
TWRPOUTDIR=/home/bigbiff/twrp
cm101devices=('n7100' 't0ltecan' 't0lte' 't0ltetmo' 't0lteatt' 't0ltespr' 't0ltevzw' 't03gduoszn' 't0lteskt')
cm10devices=('quincyatt' 'quincytmo')
contains() {
local i j=$1
#!/usr/bin/perl
######################################################################
#
# File : split_bootimg.pl
# Author(s) : William Enck <enck@cse.psu.edu>
# Description : Split appart an Android boot image created
# with mkbootimg. The format can be found in
# android-src/system/core/mkbootimg/bootimg.h
#
# Thanks to alansj on xda-developers.com for