Hi,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 ATV 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 installatv.sh https://www.dropbox.com/s/nqbo698rxconave/installatv.sh?dl=1 && bash installatv.sh
after a few seconds you will be asked to enter the box hostname, if you've never changed the hostname of your box then just accept the default by pressing enter key, if you are paranoid and have changed the hostname in the past then you need to enter the original hostname for your box, ie zgemmah52tc and then press the enter key.
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 nightly 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 i tried to re-flash my box cos of blue screen. when i tried to flash using putty. i got this message at the bottom
''Error cannot flashfs because no rootfs file was found''
kindly advise,
cheers.