This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
scripts:oowow-dump2xz [2024/12/16 05:01] nick |
scripts:oowow-dump2xz [2025/07/24 23:57] (current) hyphop [Auto convert] |
||
---|---|---|---|
Line 127: | Line 127: | ||
label=" | label=" | ||
builder=" | builder=" | ||
- | date=" | + | date=" |
match=BOARD=$BOARD \ | match=BOARD=$BOARD \ | ||
$(bootloader) \ | $(bootloader) \ | ||
Line 247: | Line 247: | ||
export OSVER=11-64bit | export OSVER=11-64bit | ||
export VER=v240620 | export VER=v240620 | ||
+ | export REMOTE=xx.xx.xx.xx | ||
curl http:// | curl http:// | ||
``` | ``` | ||
Line 279: | Line 280: | ||
``` | ``` | ||
+ | ==== OOWOW Meta ==== | ||
+ | |||
+ | ```sh oowow_meta | ||
+ | #!/bin/sh | ||
+ | ## hyphop ## | ||
+ | #? USAGE: oowow_meta | ||
+ | case $1 in | ||
+ | "" | ||
+ | grep -m1 USAGE " | ||
+ | ;; | ||
+ | http:// | ||
+ | *) set -xe ; tail -c4096 " | ||
+ | esac | ||
+ | ``` | ||
+ | |||
+ | ===== Auto convert ===== | ||
+ | |||
+ | |||
+ | Copy paste one-liner usage: | ||
+ | |||
+ | '' | ||
+ | |||
+ | ```sh aml-android-convert-oowow | ||
+ | #!/bin/sh | ||
+ | ## hyphop ## | ||
+ | |||
+ | # create oowow / android installation image for vim4 with full bootloaders | ||
+ | |||
+ | export OSVER=${OSVER: | ||
+ | export VER=${VER: | ||
+ | export BOOT=${BOOT: | ||
+ | export AML_IMAGE=${AML_IMAGE: | ||
+ | # | ||
+ | MIRROR=${MIRROR: | ||
+ | AML_SRC=${AML_SRC: | ||
+ | |||
+ | case $AML_IMAGE in | ||
+ | vim4*) BOARD=VIM4 ;; | ||
+ | esac | ||
+ | |||
+ | echo "OWOWO convert $AML_IMAGE OSVER: $OSVER IMG_VER: $VER" | ||
+ | |||
+ | [ -s " | ||
+ | echo " | ||
+ | wget " | ||
+ | md5sum " | ||
+ | } | ||
+ | |||
+ | [ -s " | ||
+ | echo "Flash image using amlburn $AML_IMAGE" | ||
+ | echo "Press KEY_FN x 3 times - and press ENTER to continue" | ||
+ | read YES | ||
+ | amlburn " | ||
+ | echo " | ||
+ | read YES | ||
+ | date > " | ||
+ | } | ||
+ | |||
+ | echo "Read to Dump image and convert into oowow format..." | ||
+ | echo "Press KEY_FN + RESET - to boot into oowow mode and press ENTER to continue" | ||
+ | read YES | ||
+ | curl " | ||
+ | |||
+ | ``` |