grog68
VIP Member
as a spin off from http://www.techkings.org/threads/fl...eerange-leading-the-way-to-simplicity.144717/ I've now put together a little script to flash open vix from the command line.
Please note this will only work for officially supported boxes and as long as the Vix team don't change the html code in their web pages where the script gets the brand and box names from.
Ever done a software update and found the box won't boot?
Ever turn your box on and found it only boots up so far?
Every tried to flash online to flash online and found that your build is so old you don't have the option to flash the latest version of VIX via the Flash Online system?
Ever wanted to flash your box but have not got another spare USB stick?
Well I've now got a simple solution for you. It will find the latest nightly build of the current stable ATV and then flash your box. All you need is :
your existing USB/HDD mounted on /media/hdd, this should be the case for recordings etc, you do not need any additional usb stick formatted fat32
you need to be able to connect to your box via putty (or any other shell terminal program) or the openwebif terminal.
This tool does NOT backup your settings so make sure you do (if you can) before using.
SSH to your box using a terminal program such as putty, or using the terminal option of openWebIf in your browser and log in using the username root
Now paste all the code below into the terminal window. (right click on the terminal window to paste)
after a few seconds you will be asked to select the brand of your box by entering the number next to the brand of your box, you will then be asked to select the actual box you are flashing from another list, again enter the number next to your box.
Now you are prompted which partition you want flashed, this is for boxes with multiboot, if you don't use multiboot or your box doesn't have multiboot facilities just hit the enter key, if you are using multiboot enter the partition number and then press enter key. (Thanks to @Willo3092 for suggesting and testing Multiboot flashing)
The latest stable build will then be downloaded to /media/hdd and your box flashed.
I am sure this will be copied, made into a plugin of some kind or added to another build but remember you saw it here first :)
Please note this will only work for officially supported boxes and as long as the Vix team don't change the html code in their web pages where the script gets the brand and box names from.
Ever done a software update and found the box won't boot?
Ever turn your box on and found it only boots up so far?
Every tried to flash online to flash online and found that your build is so old you don't have the option to flash the latest version of VIX via the Flash Online system?
Ever wanted to flash your box but have not got another spare USB stick?
Well I've now got a simple solution for you. It will find the latest nightly build of the current stable ATV and then flash your box. All you need is :
your existing USB/HDD mounted on /media/hdd, this should be the case for recordings etc, you do not need any additional usb stick formatted fat32
you need to be able to connect to your box via putty (or any other shell terminal program) or the openwebif terminal.
This tool does NOT backup your settings so make sure you do (if you can) before using.
SSH to your box using a terminal program such as putty, or using the terminal option of openWebIf in your browser and log in using the username root
Now paste all the code below into the terminal window. (right click on the terminal window to paste)
Code:
wget --no-check-certificate -O install_vix.sh https://www.dropbox.com/s/hc2cdr116lvx3dj/install_vix.sh?dl=1 && bash install_vix.sh
after a few seconds you will be asked to select the brand of your box by entering the number next to the brand of your box, you will then be asked to select the actual box you are flashing from another list, again enter the number next to your box.
Now you are prompted which partition you want flashed, this is for boxes with multiboot, if you don't use multiboot or your box doesn't have multiboot facilities just hit the enter key, if you are using multiboot enter the partition number and then press enter key. (Thanks to @Willo3092 for suggesting and testing Multiboot flashing)
The latest stable build will then be downloaded to /media/hdd and your box flashed.
I am sure this will be copied, made into a plugin of some kind or added to another build but remember you saw it here first :)