android-linux-tools

Collection of scripts to help with Android ROM stuff

Setup:

./setup.sh

How to use

# Most partition image extract and system.img generate: 
## extract and generate partly imges 
makeimg.sh unpackimg.sh
### support image fromat
ext2/4 erofs squashfs sparse

## boot.img/vendor_boot.img
makeboot.sh unpackboot.sh  

## xxx dat/br generate:
img2sdat.sh

## android apex extract:
apex.sh

## local deodex: 
bin/oat2dex/deodex.sh

ozip extract:
oppo_ozip
# dtbo.img exgenerate:
makedtbo.sh unpackdtbo.sh

## apksign:
bin/tools/signapk/signapk.sh  

## LG kdz extract: 
unpack_kdz.sh

## oppo/oneplus ops extract:
unpack_ops.sh

Clean workspace:

clean.sh

Credits:

LineageOS script Erfan GSIs
MToolkit
AndroidDump
erofsUnpack
oppo_ozip_decrypt