Skip to main content

๐Ÿ“ฅ Install Bins

Utilities for installing .img and .bin files to partitions.


updateโ€‹

Supports: _addon _zip

Installs .img or .bin files to partitions.

ArgumentDescription
FILE.img/.img.xz/.img.gz/.bin file
PARTTarget partition
EXITOptional: 1 to abort on failure
-xzInstall .xz compressed file
-gzInstall .gz compressed file
-sparseInstall sparse IMG (64-bit devices only)
-tmp PATHTemporary space path
#Update system
update /sdcard/system.img $(find_block system)

#Extract it
update $(find_block system) /sdcard/system.img

#Using _zip extension
#Update using file inside ZIP
update_zip system.img $(find_block system)

#Update using .xz compressed file
update_zip -xz vendor.img.xz $(find_block vendor)

#Update using .gz compressed file
update_zip -gz boot.img.gz $(find_block boot)

#Update using an Sparse IMG
update_zip -sparse system.img $(find_block system)