Flash ATV via command line from the creators GrogBuild FreeRange - Leading the way to simplicity

pabloescaban

TK Veteran
Forum Supporter
keep getting this error. any help would be appreciated
Run the command line again, make sure there's an initialised usb in the box before you do
Make sure you have the correct box ID, you are trying to flash i55 image, is this what the box is?
 

grog68

TK Veteran
Forum Supporter
it is probably because there was not enough space to store the downloaded image that was going to flash, if you don't have a usb stick plugged in then it will try saving it to internal memory which these boxes don't have much of, you need about 300mb of available space.
 

Graham19811981

TK Veteran
Forum Supporter
No good mate
From @grog68

  • Press the Menu button on remote and select Setup -> System -> Storage Device -> Initialisation -> YOUR USB DEVICE -> Red Button.
    Once the initialisation has completed, hold the power button on remote until a menu appears and select Restart Gui.
  • Step 3 : Make sure the storage device is mounted correctly by pressing the RED button on the remote and selecting Plugins -> Mount ManagerYour storage device should be listed and should say Mount: /media/hdd.
    If it does just press the exit button until you exit the menus, if it doesn't press the Green button to Setup Mounts and using the Left/Right arrows on the remote change the mount until /media/hddis selected and press the Green button to save. Answer yes if prompted to restart the box.
 

dubzys

Registered
Hi I have zgemma h9 combo running atv 6.3 have hdd mounted but getting error message Error cannot flash kernel, because no kernel file was found when trying to install grog build freerange any help would be appreciated
Thanks
 
Last edited:

grog68

TK Veteran
Forum Supporter
I would try flashing with the flash online option on thhe box and see what happens, blue button and then flash online from right hand menu
 

anoxicblaze

Registered
Sadly this didn't work for me. Day three and I still haven't managed a successful flash either by USB or remotely. Still stuck on 6.3 from August which seems corrupt or something. Just keeps blue screening when I initialise the USB. I can get it to work but it crashes after two hours and all settings are lost. Here is my Terminal. I am using a Zgemma H9S. USB is ext3 formatted on a Mac and records/timeshifts successfully.


zgemmah9s login: root
[email protected]:~# wget --no-check-certificate -O installatv.sh installatv.sh
atv.sh?dl=1 && bash installatv.sh
--2019-10-11 18:31:35-- https://www.dropbox.com/s/nqbo698rxconave/installatv.sh?dl=1
Resolving www.dropbox.com... 2620:100:6020:1::a27d:4001, 162.125.64.1
Connecting to www.dropbox.com|2620:100:6020:1::a27d:4001|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /s/dl/nqbo698rxconave/installatv.sh [following]
--2019-10-11 18:31:36-- https://www.dropbox.com/s/dl/nqbo698rxconave/installatv.sh
Reusing existing connection to [www.dropbox.com]:443.
HTTP request sent, awaiting response... 302 Found
Location: https://uc153997689718910807f72b1d37.dl.dropboxusercontent.com/cd/0/get/AqNxrwzpfBev9_dRjvDAvUs_NXi4io
Hq9ZcELwWw8XM8EbpMy2HRAvXN3tjR0OtRYDK8GZkq-T8IoqBXNz_V-wFQ5U2wGyQEYmOmqSsqyECOSg/file?dl=1# [following]
--2019-10-11 18:31:36-- https://uc153997689718910807f72b1d37.dl.dropboxusercontent.com/cd/0/get/AqNxrwzpfBev9_d
RjvDAvUs_NXi4ioHq9ZcELwWw8XM8EbpMy2HRAvXN3tjR0OtRYDK8GZkq-T8IoqBXNz_V-wFQ5U2wGyQEYmOmqSsqyECOSg/file?dl=1
Resolving uc153997689718910807f72b1d37.dl.dropboxusercontent.com... 2620:100:6020:6::a27d:4006, 162.125.64.6
Connecting to uc153997689718910807f72b1d37.dl.dropboxusercontent.com|2620:100:6020:6::a27d:4006|:443... connecte
d.
HTTP request sent, awaiting response... 200 OK
Length: 896 [application/binary]
Saving to: ‘installatv.sh’

installatv.sh 100%[===========================================>] 896 --.-KB/s in 0s

2019-10-11 18:31:37 (11.4 MB/s) - ‘installatv.sh’ saved [896/896]

You are about to flash your zgemmah9s box with the latest stable image of ATV
If using multiboot box please enter partition to flash:
--2019-10-11 18:31:48-- http://images.mynonpublic.com/openatv/current/zgemmah9s/openatv-6.3-zgemmah9s-20191010_
usb.zip
Resolving images.mynonpublic.com... 176.9.45.237, 136.243.69.212
Connecting to images.mynonpublic.com|176.9.45.237|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 214547027 (205M) [application/zip]
Saving to: ‘latestatv’

latestatv 100%[===========================================>] 204.61M 837KB/s in 7m 17s

2019-10-11 18:39:06 (479 KB/s) - ‘latestatv’ saved [214547027/214547027]

Archive: latestatv.zip
inflating: bootargs.bin
inflating: fastboot.bin
creating: h9/
inflating: h9/imageversion
inflating: h9/bootargs.bin
inflating: h9/rootfs.ubi
inflating: h9/noforce
inflating: h9/logo.img
inflating: h9/pq_param.bin
inflating: h9/rootfs.tar.bz2
inflating: h9/fastboot.bin
inflating: h9/baseparam.img
inflating: h9/uImage

ofgwrite Utility v4.5.5
Author: Betacentauri
Based upon: mtd-utils-native-1.5.1 and busybox 1.24.1
Use at your own risk! Make always a backup before use!
Don't use it if you use multiple ubi volumes in ubi layer!

Flashing rootfs
Flashing kernel
Searching image files in ./ resolved to /media/hdd/atvimage/h9
Found rootfs file: /media/hdd/atvimage/h9/rootfs.ubi
Found rootfs file: /media/hdd/atvimage/h9/rootfs.tar.bz2
Found kernel file: /media/hdd/atvimage/h9/uImage
Found UBIFS rootfs
Found mounted /newroot
Found mountpoint for rootfs file: /media/hdd

Found /proc/mtd entries:
Device: Size: Erasesize: Name: Image:
mtd0: 00100000 00020000 "boot"
mtd1: 00100000 00020000 "bootargs"
mtd2: 00100000 00020000 "baseparam"
mtd3: 00100000 00020000 "pqparam"
mtd4: 00100000 00020000 "logo"
mtd5: 00100000 00020000 "deviceinfo"
mtd6: 01000000 00020000 "kernel" -> /media/hdd/atvimage/h9/uImage
mtd7: 0ea00000 00020000 "rootfs" -> /media/hdd/atvimage/h9/rootfs.tar.bz2
Using kernel mtd device: /dev/mtd6
Using rootfs mtd device: /dev/mtd7

killall: CCcam: no process killed

Usage:
kill [options] <pid> [...]

Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).

Usage:
kill [options] <pid> [...]

Options:
<pid> [...] send signal to every <pid> listed
-<signal>, -s, --signal <signal>
specify the <signal> to be sent
-l, --list=[<signal>] list all signal names, or convert one to a name
-L, --table list all signal names in a nice table

-h, --help display this help and exit
-V, --version output version information and exit

For more details see kill(1).
killall: kodi.bin: no process killed
killall: hddtemp: no process killed
killall: transmission-daemon: no process killed
killall: openvpn: no process killed
sh: /etc/init.d/sabnzbd: No such file or directory
Stopping automount: done.
Syncing filesystem
daemonize
successful
start umount_rootfs
[email protected]:~# cp: can't stat '/lib/libcrypt*': No such file or directory
Switching to user mode 2
Session closed.


IMG_0666.JPG
 

pabloescaban

TK Veteran
Forum Supporter
Which begs the question, what were you trying before?
You are trying to flash the box, you can't record news st ten at the same time
 

anoxicblaze

Registered
Which begs the question, what were you trying before?
You are trying to flash the box, you can't record news st ten at the same time
Ha! No. I've yet to get it working correctly. I've had lots of attempts fail before I even tampered with record functions. Day 3 and still no luck. It didn't work out of the box.
 

pabloescaban

TK Veteran
Forum Supporter
Don't set up timers and recordings until the box is done
Put usb in and initialise
Then openwebif
Click terminal Type root
Enter
Paste in grogbuild command line and click enter again this will flash todays image and add grogbuild freerange
 

anoxicblaze

Registered
Remove all hdd and usb
Reboot box
Put one usb in box and initialise it
Flash as before
Failed again! What is going on? Still on Whoosh Infinity with a broken OS. Did exactly as you said. It Initialised fine via setup. I will wipe the usb stick. How can I totally delete Whoosh Infinity and start from scratch?
 
Top