Last active
August 18, 2016 22:52
-
-
Save muffinresearch/7676683 to your computer and use it in GitHub Desktop.
Building simg2img
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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