Wrapper for install opengapps
#!/bin/sh
BUSYBOX=/system/bin/busybox
if [[ -z $1 ]]; then
echo "Usage: $0 gapps.zip"
exit
fi
mount -o rw,remount /
mkdir /tmp
ln -s $BUSYBOX /tmp/uname
ln -s $BUSYBOX /tmp/unzip
ln -s $BUSYBOX /tmp/chmod
ln -s $BUSYBOX /tmp/install
mount -o rw,remount /system
ln -s /fstab.qcom /etc/fstab
/tmp/unzip -o -q $1 META-INF/com/google/android/update-binary
mv META-INF/com/google/android/update-binary .
PATH="/tmp:$PATH" busybox ash update-binary 3 1 $1