Kodi Community Forum

Full Version: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
2015-10-10 script update:

- add PXE network boot support as option for standalone firmware
- default to installing latest OE beta/RC (vs latest stable)
- synchronized coreboot and SeaBIOS to latest upstream codebases
Tried to update my firmware but got the following:

3Tfu5W: ./functions.sh: line 49: syntax error: unexpected "("

Any idea?
(2015-10-15, 02:09)Matt Devo Wrote: [ -> ]
(2015-10-14, 23:00)Karnis Wrote: [ -> ]Steve Miller_Fly Like An Eagle_DTS 5.1

I'm able to reproduce that here, and unfortunately it's no better in OE 5.95.5/Kodi 15.2 RC, where it's simply marked as unplayable and skipped. Even encoding as FLAC as suggested elsewhere doesn't help. Seems like the DTS header isn't being recognized/respected.


Thanks for checking it out, Matt.
I have tried for quite a while to solve this by myself using this thread and the wiki, but have got stuck in the process. I have a Asus chromebox CN60-M1097, which is supposedly the same as the M004U. I am trying to do a single boot to openelec.

The text is on left side of my tv screen is hidden, but the thread provide enough information to choose the options as I progressed. I successfully got to the point where the openelec media was applied to the USB stick. I get this far:

Huhon of OpenElec install media is complete.
Huheboot. press [ESC] at the boot menu prompt. Then slect your USB/SD device from the list

But not sure how to get to the boot prompt again as seem to go back to chrome? Or does this indicate that the USB device is not adequate because I cannot get to the prompt? Either way I am now stuck and not sure what to do next. Any guidance is welcomed.
(2015-10-15, 10:54)wwessel Wrote: [ -> ]Tried to update my firmware but got the following:

3Tfu5W: ./functions.sh: line 49: syntax error: unexpected "("

Any idea?

runs fine here, which makes me think you're trying to run it from OpenELEC, which doesn't work, and why there's a special firmware update script just for OE. Read the OP.

(2015-10-15, 14:40)RMP888 Wrote: [ -> ]I have tried for quite a while to solve this by myself using this thread and the wiki, but have got stuck in the process. I have a Asus chromebox CN60-M1097, which is supposedly the same as the M004U. I am trying to do a single boot to openelec.

The text is on left side of my tv screen is hidden, but the thread provide enough information to choose the options as I progressed. I successfully got to the point where the openelec media was applied to the USB stick. I get this far:

Huhon of OpenElec install media is complete.
Huheboot. press [ESC] at the boot menu prompt. Then slect your USB/SD device from the list

But not sure how to get to the boot prompt again as seem to go back to chrome? Or does this indicate that the USB device is not adequate because I cannot get to the prompt? Either way I am now stuck and not sure what to do next. Any guidance is welcomed.

the easiest and correct solution is to disable overscan on your TV so that you can see WTF you are doing. Googling your TV model/series should tell you how to do that. Barring that, hook the thing up to a computer monitor which doesn't overscan. I highly recommend you fix this before continuing and not try to navigate blindly.

btw, the text reads:
Quote:Creation of OpenELEC install media is complete.
Upon reboot, press [ESC] at the boot menu prompt, then select your USB/SD device from the list

If you have not already done so, run the 'Install/update: Custom coreboot Firmware' option before reboot.

Press [Enter] to return to the main menu
(2015-10-15, 16:48)Matt Devo Wrote: [ -> ]
(2015-10-15, 10:54)wwessel Wrote: [ -> ]Tried to update my firmware but got the following:

3Tfu5W: ./functions.sh: line 49: syntax error: unexpected "("

Any idea?

runs fine here, which makes me think you're trying to run it from OpenELEC, which doesn't work, and why there's a special firmware update script just for OE. Read the OP.

Ah, thanks. Yes, I didn't catch the right one...
(2015-10-15, 05:19)Matt Devo Wrote: [ -> ]
(2015-10-15, 04:27)RichAggie Wrote: [ -> ]It seems to be an issue with the TV. The chromebox boots fine on other TV's. I have have a Vizio P70 (same as someone earlier in this thread who also had an issue). Funny thing is it has worked great for months on this TV. I've tried all the HDMI inputs. I don't know what to try next.

so wait, the box works fine on other displays, just not your 4K Vizio? In that case, the problem and solution are the same as I posted earlier as well - just set the output resolution and refresh rate via an autostart script.

Are you talking about the code below? Forgive my ignorance, but I am still learning all this. Where do I actually put that?

#!/bin/sh
xrandr --output HDMI1 --mode 1920x1080 -r 60
(2015-10-16, 03:52)RichAggie Wrote: [ -> ]Are you talking about the code below? Forgive my ignorance, but I am still learning all this. Where do I actually put that?

#!/bin/sh
xrandr --output HDMI1 --mode 1920x1080 -r 60

correct. In an autostart script: http://wiki.openelec.tv/index.php?title=Autostart.sh
Hi, I have the pulse-eight USB-CEC adapter with an Asus Chromebox. Unfortunately it requires USB power right at boot (before the Chromebox provides it) or it doesn't work right. I have had to add a powered usb hub just to get it to work right. Sometimes the power to the hub doesn't work and I lose CEC functionality. The whole thing would be much more elegant if one of the usb ports could be set up to provide power-while-off. Is there any chance of adding this feature?
(2015-10-20, 01:03)liebezeit Wrote: [ -> ]Hi, I have the pulse-eight USB-CEC adapter with an Asus Chromebox. Unfortunately it requires USB power right at boot (before the Chromebox provides it) or it doesn't work right. I have had to add a powered usb hub just to get it to work right. Sometimes the power to the hub doesn't work and I lose CEC functionality. The whole thing would be much more elegant if one of the usb ports could be set up to provide power-while-off. Is there any chance of adding this feature?

I've looked into it but not been able to figure it out. Your best bet is to use the setup described in the wiki
I just read about usb3 causing interference on wireless devices. Could it be causing problems my friend is having with Openelec, Asus Chromebox and PS4 game controller? Controller connection is a bit unreliable, button presses repeat now and then and so on. There's no bluetooth-devices connected on that chromebox, so is there anything that could fix this?
Thanks Matt for the excellent script and your relentless work answering queries on this forum!

I just wanted to put an FYI for anyone who has a similar problem to me.

I have an ASUS CHROMEBOX-M004U Desktop hooked up to a new Samsung 4k JU6400

It will ONLY work if device type on input is set to PC and UHD Color is set to ON

On my model that can only be HDMI 1, on better models UHD color is available on all inputs

So basically no handshake issue etc, just correct set up, just wanted to share.
Atmos 7.1.4 passthrough working on Dell Chromebox!

I've been searching for several days for a Kodibuntu/OpenElec solution that will allow Atmos, TrueHD, HD Audio 7.1 passthrough to an AVR for decoding. After much searching and trials on various boxes, I was finally able to get this to work using OpenElec on a Dell Chromebox. I used the method outlined here (which is very easy to follow) and used the OpenElec dual-boot method. I am now able to playback all of my high bit-rate mkv movies and the AVR receives the audio as bitstream Atmos and even displays Atmos on the receiver indicating the stream is coming through properly.

Many thanks to all who have pointed me in the right direction. For anyone else trying to do this (and I know there are many that I've seen in various forums), I hope this helps. For what its worth, I tried several other solutions before landing here and this was the only one that came through correctly. This includes trying the Dual-Boot Ubuntu method on the same Chromebox and running Kodi 15.2 RC. This last solution appeared to not recognize the HDMI correctly as it would only output PCM and not the raw passthrough audio. In fact it only gave me a single option to select Passthrough (which didn't seem to work) and did not expose the other options you usually get on passthrough - like TrueHD capable receiver, DTS-HD capable receiver, etc. So the same box with Kodibuntu wouldn't work, but with OpenElec worked flawlessly right out of the box.

I also tried other Kodio 15.2 solutions on other PCs with Windows & Ubuntu and none of those seemed to work correctly for me. Those may have been due to the hardware that I was using that might have been dated.

This appears to be an amazing solution for a low-cost, simple, fast-booting HTPC. High bit-rate mkvs are playing smoothly and with full Atmos audio with no stuttering, hiccups, etc. Been looking for something like this for a very long time... :-)
Be careful upgrading to or installing Ubuntu 15.10 on the chromebox. It immediately kernel panics upon boot. After some investigation, this seems to be a known issue with 4.2 and chromebooks (and now, chromeboxes also). To fix it, go into the boot menu and boot your old kernel, 3.19.
-Microsoft all-in-one media keyboard (wireless)
-IRainy 6 axis (wireless)
-Corsair Vengeance K70 (wired)
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