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: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - nickr - 2016-09-09

@situ debug log (wiki)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - A2K81 - 2016-09-09

(2016-09-09, 04:33)nickr Wrote: @A2K81 if you can ping 8.8.8.8 then you are connected to the internet.

Wait, I ran ping from my laptop. Is there a way to run ping within kodi on the chromebox?

Sorry. I know i'm brutal. Talk to me like a child lol.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - nickr - 2016-09-09

Yes, SSH into your chromebox.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - sebastian_fl - 2016-09-10

Matt,

Thank you for all your work.
Im another person with the No Signal issue after an upgrade to 4k tv. Ive got Vizio d65u-d2. I use asus chromebox cn60, with dual boot mode.

Booting Chromebox with everything connected either direct to tv or through AV Receiver results in No Signal, no matter the TV settings, Receiver settings or forcing the 1920x1080 via autostart.sh. it just doesnt boot at all.

There is a trick, however. If i turn the chromebox off, disconnect the hdmi cable, turn it on, connect hdmi back in 2 seconds, it would boot normally, 4k will work etc.

Any suggestions on where to start? Thanks

Upd: nevermind. It does work in a single boot mode with custom loader from your script. And Im still trying to get anything out of Vizio support. Was the problem ever confirmed by either TV manufacturer or the Chromebox folks? The fact that it worked with custom loader means it was chromebox end, or it just contains some kind of workaround?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - buckslayr - 2016-09-10

After a lot of time spent lurking and watching this thread I finally bought a Lenovo ThinkCentre Chromebox. Thanks so much Matt for all your hard work. The instructions to dual boot LibreElec worked great. Everything is running smoothly and I think I have a great Kodi box for a long time to come.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-10

(2016-09-10, 07:20)sebastian_fl Wrote: Matt,

Thank you for all your work.
Im another person with the No Signal issue after an upgrade to 4k tv. Ive got Vizio d65u-d2. I use asus chromebox cn60, with dual boot mode.

Booting Chromebox with everything connected either direct to tv or through AV Receiver results in No Signal, no matter the TV settings, Receiver settings or forcing the 1920x1080 via autostart.sh. it just doesnt boot at all.

There is a trick, however. If i turn the chromebox off, disconnect the hdmi cable, turn it on, connect hdmi back in 2 seconds, it would boot normally, 4k will work etc.

Any suggestions on where to start? Thanks

Upd: nevermind. It does work in a single boot mode with custom loader from your script. And Im still trying to get anything out of Vizio support. Was the problem ever confirmed by either TV manufacturer or the Chromebox folks? The fact that it worked with custom loader means it was chromebox end, or it just contains some kind of workaround?

so you're saying it works in standalone mode (with my custom firmware), but didn't work in a dual boot setup? If that's the case, the only difference in video init is that dual boot mode will init the video to 1024x768 @ 60Hz, in order to show the developer mode boot screen (where you select which OS to boot). It possible that your TV doesn't support this mode (or was very slow to switch to it). From that point on, both setups perform identical steps - SeaBIOS (re)inits the video to VGA text mode to show the splash/boot menu screen, then LibreELEC loads and the video driver negotiates the optimal resolution/refresh (1080p60 I'd expect).

From what I've seen, it certainly sounds like there's an issue with Vizio 4K sets and showing the developer mode boot screen. It's hard to ascertain fault for certain, but I suspect neither Vizio nor Intel is completely blameless.

(2016-09-10, 15:25)buckslayr Wrote: After a lot of time spent lurking and watching this thread I finally bought a Lenovo ThinkCentre Chromebox. Thanks so much Matt for all your hard work. The instructions to dual boot LibreElec worked great. Everything is running smoothly and I think I have a great Kodi box for a long time to come.

thanks for the kind words Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - jrochet - 2016-09-10

(2016-09-10, 15:25)buckslayr Wrote: After a lot of time spent lurking and watching this thread I finally bought a Lenovo ThinkCentre Chromebox. Thanks so much Matt for all your hard work. The instructions to dual boot LibreElec worked great. Everything is running smoothly and I think I have a great Kodi box for a long time to come.

I bit the bullet last year or longer ago and bought the Asus Celeron Chromebox and did single boot with OpenElec. Had zero problems, it was awesome having such a guide and amazing support. Just this morning I did factory reset, with not even having to use my own firmware backup, then went straight to standalone LibreElec as if it was for the first time. Again, flawless victory. I'm still a complete oblivious newbie, yet can follow these instructions nice and easily. Very happy and thankful this thread and Mr Chromebox website exist.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-11

(2016-09-10, 22:42)jrochet Wrote: I bit the bullet last year or longer ago and bought the Asus Celeron Chromebox and did single boot with OpenElec. Had zero problems, it was awesome having such a guide and amazing support. Just this morning I did factory reset, with not even having to use my own firmware backup, then went straight to standalone LibreElec as if it was for the first time. Again, flawless victory. I'm still a complete oblivious newbie, yet can follow these instructions nice and easily. Very happy and thankful this thread and Mr Chromebox website exist.

While I'm happy to hear everything went smoothly with that approach, it's completely unnecessary to do a factory reset for any reason other than to revert to ChromeOS. Just changing from one OS to another requires nothing more than booting the OS install media from USB and doing a clean install (same as any other PC) Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - samurai_k - 2016-09-12

Hello Experts,

I need your help as I am stuck with a gbb.flags firmware problem when I try to enter developer mode on a previously flashed single boot Chromebox.

The Chromebox will boot into ChromeOS correctly:

https://drive.google.com/open?id=0B4Pgvjg2G-EWYmlZVVJhcGIweDg

However, when I try to enter developer mode I get this error:

https://drive.google.com/open?id=0B4Pgvjg2G-EWTzUyQ2VoUUdOYkE

I have a newer Asus Chromebox for Meetings unit (Core i7 5500 chipset) that I was successfully able to install your firmware to single boot install Windows 10 on it. After significant effort, I can't get the HDMI audio to work, nor the HDMI output to send out a stable image without jittering to my Samsung 4K TV. So I called it quits and tried to switch to a dual boot ChromeOS / LibreElec unit setup instead. I followed the "7 Resetting to Stock" instructions and "Perform a Factory Reset" instructions on your Wiki.

Here is what I did and where I am stuck.

1. Created a bootable Unbuntu USB stick and launched the Unbuntu terminal from the USB stick to launch your script to restore the stock firmware
2. Chose the firmware that matched my Chromebox which is an Asus CN62
3. Rebooted
4. Created a Chromebox recovery USB stick from the Google utility. When the Chromebox asked for a recovery USB stick I put it in the Chromebox and the Chromebox continued to reinstall ChromeOS
5. Removed the Chromebox recovery USB stick once it was done
6. Rebooted. ChromeOS then launched and it appears to be working ok
7. Turned off the Chromebox
8. Pressed the recovery button and powered up

Observed: Error showing something about the firmware and ChromeOS is missing and damaged
Expected: ChromeOS is in developer mode

I put the Chromebox recovery USB stick back in and it then continues to reinstall ChromeOS. I take recovery USB stick out, Chromebox reboots, and launched ChromeOS.

At this point, I am unable to enter "developer mode" so I can access the ChromeOS terminal to run your script to install the dual boot firmware configuration.

What can I do so that I can install the dual boot Chromebox firmware where I can have both ChromeOS and LibreELEC?

Thanks,

SK


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-12

(2016-09-12, 00:00)samurai_k Wrote: At this point, I am unable to enter "developer mode" so I can access the ChromeOS terminal to run your script to install the dual boot firmware configuration.

you're already in Developer Mode, you never left it (plus: the GBB flags are forcing Developer Mode on). Boot ChromeOS normally and proceed from there.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - samurai_k - 2016-09-12

Thanks for the quick response.

So when I boot the Chromebox, it will ask me to connect to a network and eventually get me to a login page such as below:

https://drive.google.com/open?id=0B4Pgvjg2G-EWNlNOQ0RUcjdGSkk

I am using the following keyboards

https://drive.google.com/open?id=0B4Pgvjg2G-EWakJkZ3V3bklaNFE

https://drive.google.com/open?id=0B4Pgvjg2G-EWN0lIODVuMTBnSzQ

and tried every possible combination of "Hit [CTRL+ALT+F2] to get to command prompt ([CTRL+ALT]+left arrow] for ChromeOS keyboards)" to launch the terminal in ChromeOS. Even tried a Apple USB keyboard and no progress.

Any ideas?

-------------------------------------------
Using the Kodi E-Z Setup Script
-------------------------------------------

To run the Kodi E-Z Setup Script from ChromeOS, perform the following steps:
Power on and boot to ChromeOS. DO NOT LOG IN TO ChromeOS, but do ensure a network connection is set up
Hit [CTRL+ALT+F2] to get to command prompt ([CTRL+ALT]+left arrow] for ChromeOS keyboards)
Login with user chronos (no password required)
Download and run the setup script using the following command (then hit enter):


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - samurai_k - 2016-09-12

Update, I finally was able to get to terminal using another technique. The following is what I did (as this is not documented in the wiki)

1. Boot up ChromeOS
2. Establish a network connection
3. Login as Guest
4. Hit [CTRL+ALT+T] This will launch Crosh in the browser.
5. Type in the command: Shell

This allowed me to finally get to the terminal where I could run the script...


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-12

(2016-09-12, 01:29)samurai_k Wrote: Update, I finally was able to get to terminal using another technique. The following is what I did (as this is not documented in the wiki)

1. Boot up ChromeOS
2. Establish a network connection
3. Login as Guest
4. Hit [CTRL+ALT+T] This will launch Crosh in the browser.
5. Type in the command: Shell

This allowed me to finally get to the terminal where I could run the script...

that was going to be my next suggestion. The reason it's not documented in the wiki is because it's potentially problematic for some of the script functions, due to ChromeOS automatically mounting inserted USB/SD media. This can disrupt or cause a failure when backing up the stock firmware and/or creating the LibreELEC install media


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - A2K81 - 2016-09-12

(2016-09-09, 07:53)nickr Wrote: Yes, SSH into your chromebox.

I can't SSH into the chromebox when this happens, it just times out on me.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2016/07/19] - Matt Devo - 2016-09-12

(2016-09-12, 02:02)A2K81 Wrote:
(2016-09-09, 07:53)nickr Wrote: Yes, SSH into your chromebox.

I can't SSH into the chromebox when this happens, it just times out on me.
I'd really recommend booting a Linux live USB as suggested earlier to determine if hardware or software issue. Either that, or backup your exiting LE config to USB and do a Soft Reset via the LE control panel