Which version of linux do you suggest I start from? Because none of the ones I tried actually work. I tried the vagrant machine and VB with ubuntu 14.04, 18.04 and 20.04. My approach was pretty much the same each time. I start with a clean install (with guest additions) and then do:
sudo apt update && sudo apt upgrade
sudo apt install -y build-essential git make libusb-1.0-0-dev pkg-config android-tools-fastboot
cd ~/Downloads
git clone --branch v1.4.1 https://github.com/linux-sunxi/sunxi-tools.git
cd ~/Downloads/sunxi-tools
make
sudo make install
sudo make install-misc
cd ~/Downloads
git clone https://github.com/Thore-Krug/Flash-CHIP
cd ~/Downloads/Flash-CHIP
sudo chmod +x Flash.sh
./Flash.sh
Some notes:
I went into Flash.sh and deleted the line where sunxi-tools is updated to the newest version by apt. Before running ./Flash.sh I jumpered my C.H.I.P. between ground and FEL and then connected it to my computer. Also in VB I configured the device such that it is grabbed by my VM each time it reboots. Through the menu in VB I made sure these two devices are always connected to the VM:
Onda (unverified) V972 tablet in flashing mode [02B3]
Allwinner Technology USB download gadget [0215]
I am using a USB2.0 hub. Each time the download gadget appears in the VM for 1-2 seconds and then disappears again.
On the vagrant machine I could use the latest version of sunxi-tools. On my own images inside VB this didn't work so I had to install v1.4.1
I installed fastboot with apt install android-tools-fastboot. Using the official method to install fastboot I ran into the following error: usb_bulk_send() ERROR -7: Operation timed out.
There is always something. Sometimes it just can't find the board even though I got it jumpered correctly. Other times it looks fine for a while but then fails at the flashing part.
The latest error is that after everything has been downloaded, the script times out when waiting for fastboot. I read online that using the dev branch of CHIP-tools solves this problem, but there is no way for me to get that now.
I tried rebooting a million times but it doesn't help.
I think it'd be a good idea to make a working image for flashing C.H.I.P.s and then share that to save other people the trouble. But to do that I would first like your help with getting it to work in the first place.
I ended up using one C.H.I.P. to fix the other. Point is, don't use windows or any VM. Use a system that is already running on linux and flash directly. Anyway, my C.H.I.P. has been revived :)
Which version of linux do you suggest I start from? Because none of the ones I tried actually work. I tried the vagrant machine and VB with ubuntu 14.04, 18.04 and 20.04. My approach was pretty much the same each time. I start with a clean install (with guest additions) and then do:
Some notes: I went into Flash.sh and deleted the line where sunxi-tools is updated to the newest version by apt. Before running ./Flash.sh I jumpered my C.H.I.P. between ground and FEL and then connected it to my computer. Also in VB I configured the device such that it is grabbed by my VM each time it reboots. Through the menu in VB I made sure these two devices are always connected to the VM:
Onda (unverified) V972 tablet in flashing mode [02B3] Allwinner Technology USB download gadget [0215]
I am using a USB2.0 hub. Each time the download gadget appears in the VM for 1-2 seconds and then disappears again.
On the vagrant machine I could use the latest version of sunxi-tools. On my own images inside VB this didn't work so I had to install v1.4.1
I installed fastboot with apt install android-tools-fastboot. Using the official method to install fastboot I ran into the following error: usb_bulk_send() ERROR -7: Operation timed out.
There is always something. Sometimes it just can't find the board even though I got it jumpered correctly. Other times it looks fine for a while but then fails at the flashing part.
The latest error is that after everything has been downloaded, the script times out when waiting for fastboot. I read online that using the dev branch of CHIP-tools solves this problem, but there is no way for me to get that now.
I tried rebooting a million times but it doesn't help.
I think it'd be a good idea to make a working image for flashing C.H.I.P.s and then share that to save other people the trouble. But to do that I would first like your help with getting it to work in the first place.