Kodi Community Forum
Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Hardware (https://forum.kodi.tv/forumdisplay.php?fid=112)
+--- Thread: Linux ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] (/showthread.php?tid=194362)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - mxlance - 2016-05-02

i will try again


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - mxlance - 2016-05-02

i have no idea what is happening.
but the 6th try it has worked. i am in.

the only thing i did differently this time was rather than wait at the white verification off screen i hit ctrl-d

i have another box to do also for a friend hope it works better.

thank you for the help and the script


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-02

(2016-05-02, 16:29)mxlance Wrote: i have no idea what is happening.
but the 6th try it has worked. i am in.

the only thing i did differently this time was rather than wait at the white verification off screen i hit ctrl-d

i have another box to do also for a friend hope it works better.

thank you for the help and the script
That's the first and only time I've seen anyone report that error in the 2+ years the script has existed, so chances of a repeat are likely slim. Whether or not you use the keyboard shortcut to skip the dev boot screen has no effect on anything at all


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - mxlance - 2016-05-02

hello matt,
well it did the exact same thing on the other hp chromebox i am setting up.
i had to reboot 5, 6 or 7 times re-entering the script download each time.
i made sure to do everything the same each time and suddenly it worked.
very strange!
the only thing i though of is these are both refurbished units. who knows?
thanks again for the support.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-02

(2016-05-02, 21:31)mxlance Wrote: hello matt,
well it did the exact same thing on the other hp chromebox i am setting up.
i had to reboot 5, 6 or 7 times re-entering the script download each time.
i made sure to do everything the same each time and suddenly it worked.
very strange!
the only thing i though of is these are both refurbished units. who knows?
thanks again for the support.

I'm guessing it's an issue with the server redirecting http to https, and perhaps the error is due to the box being fresh and not having synchronized time/date yet, which would result in the certs being invalid.

either way, the boxes being refurbs isn't a contributing factor


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - mxlance - 2016-05-02

it is a crazy computer kind of day.
galliumos is installed and running smooth on both and kodi is installing on one as i write.
thanks again hopefully i will not bug you any further.
i truly am grateful for all you do for us kodi/chromebox noobs.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - guymarc - 2016-05-05

Hello matt and all,

I have an Asus Chromebox-M036U (intel haswwel celeron 2955U @ 1.40GHz)
I installed with your ez-setup in april 2015

I have run it with openelec and now I have a debian jessie with kodi 15.2 from backports

Under both OSes
* some video playback may stutter a bit (you never kown if the problem comes from the box or from a bad encoding of the video)
* some rare times, I can hear the fan starting

I noticed in the release history some upgrades of the video bios and a tweak on fan speeds tresholds.
There are the seabios and coreboot updates as well.

2015-06-04
------------------------------------------------------------------
- tweaked fan speeds/temp thresholds for coreboot firmware for Haswell ChromeBoxes
2015-06-10
------------------------------------------------------------------
- updated video BIOS for Haswell ChromeBoxes
2016-04-18
------------------------------------------------------------------
- Update VBIOS to v1040 on hsw/bdw Chromeboxes

You recommend "if it's not broken, don't fix it" and I am always a bit worried when it comes to flashing a box.
Do you think it is worth the trouble upgrading my box, and btw, is cbox-firmware-update.sh the right script to use and can it be done from a ssh shell?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-05

(2016-05-05, 09:50)guymarc Wrote: I have run it with openelec and now I have a debian jessie with kodi 15.2 from backports

Under both OSes
* some video playback may stutter a bit (you never kown if the problem comes from the box or from a bad encoding of the video)
* some rare times, I can hear the fan starting

a firmware update won't do anything for video playback issues, which could be anything - impossible to tell without the debug log (and other info) requested in the OP when reporting issues. It's normal to hear the fan at boot and if the system is under load for an extended period of time


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - movie78 - 2016-05-08

I have a Standalone setup and i can figure out to get back to factory Default.

This the instruction that i am using.

Quote:2.3 Perform a Factory Reset
A factory reset is not needed for a standalone setup, but must be performed prior to any dual-boot (re)install.
Create recovery media using step 2 of Google's instructions here: https://support.google.com/chromebook/answer/1080595?hl=en or use the ChromeBook Recovery Utility from the Chrome web store.
Note: Google's recovery tool can be picky about what kind/size of USB/SD media you use. If one USB stick doesn't work, try another.
With the device powered off, use a paperclip to press the Recovery button and power on the device
Insert the recovery media (USB or SD) when prompted

Note that this will re-partition the internal hard drive and restore the original copy of ChromeOS, erasing anything else on the drive. The ChromeBox will still be left in developer mode, and if you changed the Boot Options they will still be set - so be sure to reset them back to the 'ChromeOS + 30s default' option before performing a factory reset. If you forget to do that, you'll need to press [CTRL-D] on the developer boot screen (or before the legacy boot/SeaBIOS boot screen) in order to boot ChromeOS after performing the recovery.

If you're having trouble creating the recovery media using Google's recovery tool above, you can manually download the recovery image and write it to a USB stick:
Download Recovery image:
Haswell Boxes:
Asus CN60: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_panther_recovery_stable-channel_mp.bin.zip
HP CB1: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_zako_recovery_stable-channel_mp-v2.bin.zip
Acer CXI: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_mccloud_recovery_stable-channel_mp.bin.zip
Dell 3010: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_tricky_recovery_stable-channel_mp.bin.zip
Broadwell Boxes:
Asus CN62: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_guado_recovery_stable-channel_mp.bin.zip
Acer CXI2: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_rikku_recovery_stable-channel_mp.bin.zip
Lenovo: https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_7520.63.0_tidus_recovery_stable-channel_mp.bin.zip
Download Win32 Disk Imager: http://sourceforge.net/projects/win32diskimager/
Unzip the recovery image; the file should be ~1.5 GB
Rename the recovery image extension from .bin to .img
Write the image to your USB media using Win32 Disk Imager



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - Matt Devo - 2016-05-08

(2016-05-08, 15:13)movie78 Wrote: I have a Standalone setup and i can figure out to get back to factory Default.

This the instruction that i am using.

Quote:2.3 Perform a Factory Reset

you should start with section 7, Resetting to Stock. You have to restore the stock firmware before using the recovery media to reinstall ChromeOS


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - jmhenry5150 - 2016-05-08

I am getting the same handshake error. Any ideas?

SSL23_GET_SERVER_HELLOConfusedslv3 alert handshake failure.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - movie78 - 2016-05-08

(2016-05-08, 18:14)Matt Devo Wrote:
(2016-05-08, 15:13)movie78 Wrote: I have a Standalone setup and i can figure out to get back to factory Default.

This the instruction that i am using.

Quote:2.3 Perform a Factory Reset

you should start with section 7, Resetting to Stock. You have to restore the stock firmware before using the recovery media to reinstall ChromeOS

OK Matt I am trying section 7, created the recovery USB boot drive, but on boot kodi start automatically.

What is the key press option to boot from USB or what I m doing wrong?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - teki4u - 2016-05-08

Press ESC key and select the number of your USB drive , if it still doesn't boot then its your USB drive's fault and you should try others (this has been mentioned several times, everything's on the wiki, I suggest you to read the whole Chromebox wiki page).


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - movie78 - 2016-05-09

What ever i do, it boot straight to Kodi....

I am running a Standalone setup..

Quote:If you have standalone setup, it is necessary to restore the stock firmware before performing a factory reset to reload ChromeOS.
In order to do this, you will need to download/run the ChromeOS device Firmware Utility script and select the appropriate option from the menu. The script will give you the option to restore from either a backup file from USB (which you created before originally flashing the custom coreboot firmware) or from a generic copy extracted from Google's recovery image. Like the Kodi EZ Setup Script, this script must be run from a Linux terminal with a full bash shell; OpenELEC users will need to boot a Linux Live USB (Ubuntu 14.04.2 64-bit works fine) from which to run the script. Just download the ISO of and write it to USB using Win32DiskImager (from Windows) or dd (Linux/MacOS).

Boot the Linux live USB, then open a terminal/shell window
Download and run the ChromeOS device Firmware Utility script using the following two commands (hit enter after typing each command):
curl -L -O http://mrchromebox.tech/firmware-util.sh
sudo bash firmware-util.sh
Select option 3, Restore Stock Firmware
Choose whether to restore from a backup file on USB or not
If not, select your ChromeBox model so the appropriate firmware can be downloaded

After restoring the stock firmware, reboot, and proceed to Perform_a_Factory_Reset above to restore/reload ChromeOS.



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2016/04/26] - robca - 2016-05-09

(2016-05-09, 01:28)movie78 Wrote: What ever i do, it boot straight to Kodi....

I am running a Standalone setup..

What keyboard are you using? Many wireless keyboard do not properly send ESC. If at all possible, use a wired USB keyboard, that is guaranteed to work