Skip to content

Instantly share code, notes, and snippets.

View cmsj's full-sized avatar
Working from home

Chris Jones cmsj

Working from home
View GitHub Profile
cmsj /
Created July 31, 2017 12:04
Guide to extract the root file system and decompress the kernel cache for iOS.

iOS File System Extraction

For iOS 10 and Up

Starting with iOS 10.0 Apple decrypted the file system and kernel cache. All you have to do is download an IPSW, change the extension to .zip, and unarchive it. The largest size disk image inside the unarchived zip will be the root file system. Simply mount it to see its contents.

Links to download all iOS IPSWs.

For iOS 9 and Below

Originally from /u/RowRocka on Reddit. Gently edited for clarity.

Links to download all iOS OTA ZIPs.

cmsj /
Created January 9, 2017 11:04 — forked from beekhof/
#!/usr/bin/env python
from datetime import datetime
import subprocess
import getopt
import sys
import os
import re
cmsj / bar.lua
Created November 12, 2015 20:31 — forked from cabrinha/bar.lua
trying to create a status bar in hammerspoon
-- Trying to make a status bar
-- Internaught 11/11/15
-- Something about the screens ...
-- I guess this draws a border?
-- local boxBorder = 2
-- Lets draw the box, on as many screens as we have, across the top
for _,screen in ipairs(hs.screen.allScreens()) do
local events = hs.uielement.watcher
watchers = {}
function init()
appsWatcher =
-- Watch any apps that already exist
local apps = hs.application.runningApplications()
cmsj / init.lua
Last active August 29, 2015 14:20 — forked from HendrikRoth/init.lua
local application = require "hs.application"
local tiling = require "hs.tiling" -- git clone $HOME/.hammerspoon/hs/tiling
local hotkey = require "hs.hotkey"
local mash = {"ctrl", "cmd"}
local safari = nil
-- settings
hs.window.animationDuration = 0 -- disable window animations
-- tiling
cmsj / init.lua
Last active August 29, 2015 14:19 — forked from johntdyer/init.lua
# Install dependencies.
brew update
brew install lua
brew install luarocks
brew install blueutil
mkdir -p ~/.luarocks
mkdir -p ~/.mjolnir/
echo 'rocks_servers = { "" }' > ~/.luarocks/config.lua