Skip to content

Instantly share code, notes, and snippets.

@liuyix
Created September 2, 2013 03:16
Show Gist options
  • Save liuyix/6408928 to your computer and use it in GitHub Desktop.
Save liuyix/6408928 to your computer and use it in GitHub Desktop.
android make_ext4fs parameters

make_ext4fs -l 512M -s -a system system.img ./system

  • -l partition size
  • -s sparse mode 压缩模式,将image文件压缩
  • -a system mount point make_ext4fs会根据private/android_filesystem_config.h里定义好的权限来给文件夹里的所有文件重新设置权限
  • ./system file directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment