Skip to content

Instantly share code, notes, and snippets.

@muffinresearch
Last active August 18, 2016 22:52
Show Gist options
  • Save muffinresearch/7676683 to your computer and use it in GitHub Desktop.
Save muffinresearch/7676683 to your computer and use it in GitHub Desktop.
Building simg2img
git clone https://android.googlesource.com/platform/system/extras
cd extras/ext4_utils
git checkout android-4.1.1_r1
gcc -o simg2img -lz sparse_crc32.c simg2img.c
ln -s ${PWD}/simg2img ~/bin/simg2img
# Last step make sure ~/bin is in your $PATH.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment