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) [2015/11/30] - malcolms - 2015-12-14

how do i get to hangouts


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - giant25 - 2015-12-14

(2015-12-13, 06:54)giant25 Wrote:
(2015-12-13, 02:51)Matt Devo Wrote:
(2015-12-12, 23:46)giant25 Wrote: I'm having a problem with "No signal" on the HDMI port connected to my dual-boot Chromebox after a reboot. I have a new Samsung UN65JU6500 4k TV and have read through this forum. I've tried creating an autostart.sh in /storage/.config, which looks like this:

Any idea on what could be going on? Please let me know if there's any other info I can provide that might help. I've also tried putting HDMI1 in PC and UHD color as suggested earlier in this thread. I'm on the latest Firmware on my Samsung TV. Thanks.

is this a box you just set up, or was it previously working and how doesn't due to an update?

Previously working, not working with new TV, no other changes. I have since updated to OE 6, but same behavior before that update.
Does my autostart.sh look right?
Any other way to force 1080p?
Is it possible I need a FW or BIOS update on Chromebox (ran script in February)?
Thanks.
Hey Matt, any idea on those questions? Thanks.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Matt Devo - 2015-12-14

(2015-12-11, 10:33)Veronica Wrote: Yeah, i do think is the BIOS. Anyway no biggy, the important thing is the usb improvement.

2015-12-14 update should fix

(2015-12-13, 12:28)Diodato Wrote: Checked in the manual just now and on the HDMI inputs my TV supports these VESA modes: 800x600,1024x768,1280x1024@60 [email protected].
Initial installation of OpenELEC - first firmware flashing - I remember I had small letters on the screen. And all the time the brief text flashes during boots. But now they are quite big. So I assume that the previous BIOS was using the 1920x1080 resolution and the current BIOS some other lower resolution. And that's why the HDMI input looses the Just Scan mode.

2015-12-14 update should fix

(2015-12-14, 03:52)malcolms Wrote: how do i get to hangouts

srsly? use google.

(2015-12-14, 04:28)giant25 Wrote: Previously working, not working with new TV, no other changes. I have since updated to OE 6, but same behavior before that update.
Does my autostart.sh look right?
Any other way to force 1080p?
Is it possible I need a FW or BIOS update on Chromebox (ran script in February)?
Thanks.

1) no, remove the parentheses and ampersand. You don't want the boot process to continue until that command returns.
2) try updating to the latest Legacy Boot payload (2015-12-14)

also, try another cable if you haven't already. If that doesn't work, I'll add an option to the script to use the headless video BIOS (for the legacy boot payload, it's already an option for the standalone firmware), which allows booting even when a connected display isn't connected. Then, the autoscript command should force the correct video mode.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Ladeef - 2015-12-14

(2015-11-27, 03:29)Veronica Wrote: Has anyone here with a Chromebox or Haswell box installed the EGL ppa build (Ubuntu server + 4.3 kernel) and experienced hang/freeze issues while browsing menus and idle?

I do and posted all info with debug logs in official thread but @fritsh asked me to find more people preferably non Chromebox users with the same problem. He won't be able to pick up this until january but would be good if more people post in the VAAPI EGL thread about this problem and help with debug logs (You know the more the better).

Thanks!

I had the same issue, I believe I changed the setting "vertical display sync" to Let the driver choose and that fixed it.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - fvlserevere - 2015-12-15

(2015-12-14, 03:20)fvlserevere Wrote: Hello Matt

I got a weird issue trying to update SeaBIOS. When I run the script and choose option 5 I got the next message: "Invalid parameter name: platform_family. This feature is only valid for Haswell and Broadwell based ChromeOS devices". I'm on your 20150618 SeaBIOS version. My device is a Dell Chromebox (Tricky).

Do you have an idea about what's wrong with it?

Hi Matt, any news on this matter?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Matt Devo - 2015-12-15

(2015-12-15, 02:49)fvlserevere Wrote: Hi Matt, any news on this matter?

Didn't have a chance to test last night, was busy with the firmware release. Will try to do so tonight


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - fvlserevere - 2015-12-15

Quote: Didn't have a chance to test last night, was busy with the firmware release. Will try to do so tonight


Ok, I'll be back later. Thank you.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/11/30] - malcolms - 2015-12-15

Hello Matt, what do you believe I should do to repair.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Matt Devo - 2015-12-15

(2015-12-15, 05:06)malcolms Wrote: Hello Matt do you believe I should do to repair.

I can't suggest any action yet, since I'm still not totally clear on what box you have, what firmware you loaded/restored, and what recovery image you used. Once I know that we can move forward. But I think it will be done most easily via a chat program, like IRC, hangouts, whatsapp, etc.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - malcolms - 2015-12-15

ok i figured out hangouts whats your name on it


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Matt Devo - 2015-12-15

(2015-12-15, 05:17)malcolms Wrote: ok i figured out hangouts whats your name on it

(2015-12-14, 03:28)Matt Devo Wrote: <snip> but will probably be easiest for me to walk you thru it on Hangouts. Hit up up when you get a chance ([email protected])



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - giant25 - 2015-12-15

(2015-12-14, 11:20)Matt Devo Wrote: 1) no, remove the parentheses and ampersand. You don't want the boot process to continue until that command returns.
2) try updating to the latest Legacy Boot payload (2015-12-14)

also, try another cable if you haven't already. If that doesn't work, I'll add an option to the script to use the headless video BIOS (for the legacy boot payload, it's already an option for the standalone firmware), which allows booting even when a connected display isn't connected. Then, the autoscript command should force the correct video mode.

Hey Matt, thanks for the suggestions. Removing the parens and & didn't really change anything. Updating to the latest Legacy Boot payload didn't either. A different cable had already been tried. I did make progress, however. I enabled "HDMI UHD Color" on the Samsung 4k TV and the Chromebox will now boot up upon reboot. Here's the 3 scenarios I've tried on the 4k Samsung:

1) UHD Color Disabled -- Will not boot upon power on/reboot
2) UHD Color Enabled & autostart.sh set to 1080p -- boots up, blank screen until my Kodi skin shows up (no OS Verif, no BIOS, no OE logo, no Kodi logo), but works fine. This is what I'm using for now.
3) UHD Color Enabled & autostart.sh removed -- boots up, but blank screen. I ssh in and run xrandr and see that current res is 4096x2160 @ 24Hz.
4) Ctrl-D at boot to ChromeOS is a blank screen all the time (but works on my older 1080p monitor's HDMI)

So I'm halfway there, was just hoping to find a way to be able to see the boot screens and ChromeOS. I'm wondering if there's a way to prevent the Chromebox from attempting to connect at 4k from the get go (I'm assuming the autostart.sh only kicks in when OE starts to boot.)

Excellent wiki, btw. I hadn't read it in a while and it is one of the most solid out there.

Any other guidance would be appreciated. Not sure where to go from here. Thanks.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/14] - Cbeatz - 2015-12-15

My first time posting here and was wondering if anyone could help. I have an Asus Chromebox and earlier in the year was experimenting with loading Ubuntu and Windows on it which I was successful in doing. Now I would like to turn ON the OS verification so that the device boots in Chrome OS without pausing. Currently when I press the space bar it does nothing but beep and eventually shows the bios version to the top left, then shows the boot screen, then goes blank. I think I have the original firmware backed up, I see the files on my share but not sure how to load it. I don't mind manually nuking the device back to its original state. Does any one have alternate steps to Turn OS verification back on or steps for restoring the original firmware? Thanks in advance.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/15] - Matt Devo - 2015-12-15

(2015-12-15, 03:04)fvlserevere Wrote: Ok, I'll be back later. Thank you.

fixed, scripted updated

(2015-12-15, 06:55)giant25 Wrote: Hey Matt, thanks for the suggestions. Removing the parens and & didn't really change anything. Updating to the latest Legacy Boot payload didn't either. A different cable had already been tried. I did make progress, however. I enabled "HDMI UHD Color" on the Samsung 4k TV and the Chromebox will now boot up upon reboot. Here's the 3 scenarios I've tried on the 4k Samsung:

1) UHD Color Disabled -- Will not boot upon power on/reboot
2) UHD Color Enabled & autostart.sh set to 1080p -- boots up, blank screen until my Kodi skin shows up (no OS Verif, no BIOS, no OE logo, no Kodi logo), but works fine. This is what I'm using for now.
3) UHD Color Enabled & autostart.sh removed -- boots up, but blank screen. I ssh in and run xrandr and see that current res is 4096x2160 @ 24Hz.
4) Ctrl-D at boot to ChromeOS is a blank screen all the time (but works on my older 1080p monitor's HDMI)

So I'm halfway there, was just hoping to find a way to be able to see the boot screens and ChromeOS. I'm wondering if there's a way to prevent the Chromebox from attempting to connect at 4k from the get go (I'm assuming the autostart.sh only kicks in when OE starts to boot.)

Excellent wiki, btw. I hadn't read it in a while and it is one of the most solid out there.

Any other guidance would be appreciated. Not sure where to go from here. Thanks.

there's no reason the ChromeBox shouldn't work properly at 2160p24/30 - in fact I've set up several that way for friends/customers. Unfortunately I don't have a whole lot of experience with 4K TVs, and none with the Samsungs, but it sure sounds like a glitch on their end. Have you tried googling for others having similar issues with that particular model or series set? The only thing I can think of to try and work around the issue from this end would be to blacklist the 4K modes in the video BIOS, forcing it to output 1080p60 max, but I'm not sure I can do that, nor do I have any way of testing it.

thanks for the kind words on the wiki. It's far from where I'd like, but we're dealing with a lot of highly technical firmware-related issues, and distilling that down into something functional for users with a wide range of technical knowledge is a tough job indeed. I'd love to have more input from the community, but that's been hard to come by.

(2015-12-15, 08:07)Cbeatz Wrote: My first time posting here and was wondering if anyone could help. I have an Asus Chromebox and earlier in the year was experimenting with loading Ubuntu and Windows on it which I was successful in doing. Now I would like to turn ON the OS verification so that the device boots in Chrome OS without pausing. Currently when I press the space bar it does nothing but beep and eventually shows the bios version to the top left, then shows the boot screen, then goes blank. I think I have the original firmware backed up, I see the files on my share but not sure how to load it. I don't mind manually nuking the device back to its original state. Does any one have alternate steps to Turn OS verification back on or steps for restoring the original firmware? Thanks in advance.

when you use the 'Set Boot Options' feature of the script, it sets a firmware flag to lock developer mode on, to prevent accidentally disabling it via the space bar. If you're looking to have it boot ChromeOS immediately, you can either set the boot delay to 1s, or set the boot options back to default (which removes the dev mode lock) and then re-enable verified boot mode. Either way, run the script and set the boot options as desired.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/12/15] - turbobuickguy - 2015-12-15

Matt, just want to say thanks for all the hard work you've done with the chromeboxes! Whenever I have run into an issue, its either covered in the WIKI, or already been addressed by you here in this thread. My system works great, and it is due to your willingness to help all of us out. Thanks!