Skip to content

Instantly share code, notes, and snippets.

Working from home

Chris Jones cmsj

Working from home
View GitHub Profile
cmsj /
Created Jul 31, 2017
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.

#!/usr/bin/env python
from datetime import datetime
import subprocess
import getopt
import sys
import os
import re
cmsj / bar.lua
Created Nov 12, 2015 — forked from cabrinha/bar.lua
trying to create a status bar in hammerspoon
View bar.lua
-- 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
View windowTracker.lua
local events = hs.uielement.watcher
watchers = {}
function init()
appsWatcher =
-- Watch any apps that already exist
local apps = hs.application.runningApplications()
View 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
View 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
You can’t perform that action at this time.