Main repository with Android 7.1 releases
-
Compile and install
rkflashtool
:git clone https://github.com/ayufan-rock64/rkflashtool make -C rkflashtool sudo make -C rkflashtool install
-
Connect USB A-to-A cable to upper USB 2.0 port and your computer,
-
Start Rock64 in Loader mode:
- Press and hold Recovery Bt
- Press Reset Btn,
- Stop holding Recovery Btn after 3s.
To verify device:
rkflashtool n ...
You can also start device in Maskrom mode:
- Shorten eMMC PIN,
- Start device.
-
Go to: https://github.com/ayufan-rock64/android-7.1/releases
-
Download and extract one of the releases (without
-update.zip
at end), ex.: https://github.com/ayufan-rock64/android-7.1/releases/download/0.1.0/android-7.1-rock-64-rk3328_box-v0.1.0-r37.zip,
The releases:
- Without
-update.zip
are for manual procedure on Linux/OSX, - With
-update.zip
are for Android Upgrade Tool for Windows,
- Create a installation script:
sudo tee /usr/local/bin/rkinstall <<"EOF"
#!/bin/bash
set -xe
rkflashtool P < parameter.txt
for i in uboot trust misc kernel boot recovery system; do
rkflashtool w $i < $i.img
done
rkflashtool b
EOF
sudo chmod +x /usr/local/bin/rkinstall
- Execute script from within directory:
$ rkinstall
- Create upgrade script
sudo tee /usr/local/bin/rkupgrade <<"EOF"
#!/bin/bash
set -xe
for i in uboot trust kernel boot recovery system; do
rkflashtool w $i < $i.img
done
rkflashtool b
EOF
sudo chmod +x /usr/local/bin/rkupgrade
- Execute upgrade script from within directory:
$ rkupgrade
Kamil Trzciński, 2017, https://ayufan.eu