Skip to content

Instantly share code, notes, and snippets.

@wlk0
wlk0 / KPatch.py
Created June 5, 2012 18:07 — forked from ezterry/KPatch.py
Hack acer 4.0 kernel to allow mounting of system
import gzip
import os
import sys
import StringIO
import struct
#This script will <EVIL> patch the pre-compiled zImage
#to bypass the /system remount block on the AcerA500
#ICS rom ... please run this script in linux or cygwin as
#the unix gzip is required