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) [2017/02/21] - Netix - 2018-01-30

Hey Matt do you know if there's a way to run Phoenix OS on the Asus Chromebox M004U

Also, does Linux Galium support cast option ? (Does it make it castable for youtube, spotify, etc..)

Thanks.. !


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - wgstarks - 2018-01-30

(2018-01-30, 04:49)Matt Devo Wrote:
(2018-01-30, 04:08)wgstarks Wrote: I have a CN60 running LE in stand-alone mode. Been working great for me. Only problem is the 16GB SSD is too small to be able to run a restore from backup within LE. I’m thinking about replacing the SSD with a 32GB or maybe 64. That part will be simple. Not sure what I’ll need to do to be able to run the EZ Setup Script on the new drive though? Hopefully once I get LE re-installed I can just restore my Kodi settings from backup?
 There's no need to run the EZ setup script, that's for the system firmware, which is unaffected by swapping in a larger SSD.

Simply boot a Linux live USB, mount your LE storage partition, and back it up to another USB, network share, eg.  That's all the LE backup function does, it puts the .cache, .config, and .kodi folders from /storage into a tar file.  You can do that manually from a Linux live usb and then restore after doing a clean install of LE on the new SSD (just create install media using the LE USB/SD creator tool)

Ok. Just want to be sure I’ve got this right. Ive already got a backup tarball that I created on a network drive using LE. So all I need to do now is replace the SSD and reinstall LE using a le/usb creator bootable flash drive. And the restore from the backup?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-01-30

(2018-01-30, 04:59)wgstarks Wrote: Ok. Just want to be sure I’ve got this right. Ive already got a backup tarball that I created on a network drive using LE. So all I need to do now is replace the SSD and reinstall LE using a le/usb creator bootable flash drive. And the restore from the backup? 
 
correct, same as you would on any other LE device Smile


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-01-30

(2018-01-30, 04:53)Netix Wrote: Hey Matt do you know if there's a way to run Phoenix OS on the Asus Chromebox M004U

Also, does Linux Galium support cast option ? (Does it make it castable for youtube, spotify, etc..)

Thanks.. !

PhoenixOS boots fine in live mode with the Full ROM/UEFI firmware, assume it works fine once installed as well.

No Linux supports being a Google Cast receiver, as I explained in my reply to your post on Reddit


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - digitalgimpus - 2018-02-06

So I reinstalled my whole setup a few weeks ago, in the process updated the firmware/bios... Everything's A-OK except for one annoying issue. Power management is wonky for reasons I can't seem to diagnose.

Like before I set:
Code:
System-->Settings-->System-->Power Saving: Shutdown function: Suspend

However unlike before, I'm unable to startup the Chromebox via my IR remote. 

Nothing changed hardware wise, or the remote, so it's got to be software.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-02-06

how are you shutting down, via power button on the remote? what version previously worked?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - digitalgimpus - 2018-02-06

(2018-02-06, 04:50)Matt Devo Wrote: how are you shutting down, via power button on the remote? what version previously worked?
 Shutting down via the power button on the remote. As for version, I've always kept LibeElec up to date, but I'd guess firmware was from around Summer 2016.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - MrBuyakah - 2018-02-09

(2018-02-06, 06:40)digitalgimpus Wrote:
(2018-02-06, 04:50)Matt Devo Wrote: how are you shutting down, via power button on the remote? what version previously worked?
 Shutting down via the power button on the remote. As for version, I've always kept LibeElec up to date, but I'd guess firmware was from around Summer 2016. 
 Remap your power key to issue the, "suspend", command.  That way you never have to use the power button on the Chromebox.  Using dual boot, suspend works like poweroff/poweron but the key works as if it was a "suspend" action.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-02-09

(2018-02-09, 18:08)MrBuyakah Wrote:
(2018-02-06, 06:40)digitalgimpus Wrote:  Shutting down via the power button on the remote. As for version, I've always kept LibeElec up to date, but I'd guess firmware was from around Summer 2016.  
 Remap your power key to issue the, "suspend", command.  That way you never have to use the power button on the Chromebox.  Using dual boot, suspend works like poweroff/poweron but the key works as if it was a "suspend" action. 
  
yes, this can be done via the KeyMap addon. But this solution assumes the problem is with the device actually shutting down (vs suspending) and not failing to resume from suspend. And I've been unable to reproduce the issue here with a BT remote (I no longer have any MCE/IR remotes)


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - visiter555 - 2018-03-11

Just found an old ASUS ChromeBox M-004U that I had kicking around still in the original package.  All my old Dell ChromeBoxes are still doing great service.

Setup the ASUS with LE for my brother to play his massive CD/DVD collection when his 100 disc player crashed. 

Now he can stream all those discs to the Kodi box once he spends the next few months ripping all those discs to his NAS.  LOL

Unbelievable life these boxes have...THANKS MATT!!!!!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - GG909 - 2018-03-28

I had openelec installed and wanted to do a clean install, i messed it up totally because i am a idiot. 

Box is a CN60 Asus Chromebox
Write protect screw has been taken out

I have tried to do a full factory reset to Chrome but it seems I cant, I used the rest function to try and boot chrome install from USB but it gets to the chrome flash screen then just reboots. I am trying to get into to Chrome to force the box to boot from USB/Linux then use the Firmware utility script to reset to default and start from there to install Libre//. 

Have tried several USBs, bluetooth keyboard (Now on wired) and getting nowhere. I don't get the boot function CTRL D at boot...see attached pic - any ideas please?

Here is the boot screen that flashes for about 1 second, was hard to get a photo of it - https://imgur.com/8z4PyES

Image


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-03-28

(2018-03-28, 09:14)GG909 Wrote: I had openelec installed and wanted to do a clean install, i messed it up totally because i am a idiot. 

Box is a CN60 Asus Chromebox
Write protect screw has been taken out

I have tried to do a full factory reset to Chrome but it seems I cant, I used the rest function to try and boot chrome install from USB but it gets to the chrome flash screen then just reboots. I am trying to get into to Chrome to force the box to boot from USB/Linux then use the Firmware utility script to reset to default and start from there to install Libre//. 

Have tried several USBs, bluetooth keyboard (Now on wired) and getting nowhere. I don't get the boot function CTRL D at boot...see attached pic - any ideas please?

Here is the boot screen that flashes for about 1 second, was hard to get a photo of it - https://imgur.com/8z4PyES
  
ok, so here's what's going on: you restored the (broken) stock SeaBIOS, and have it set to auto boot in Legacy mode, so SeaBIOS is trying/failing to boot ChromeOS.

here's what you need to do:
  • boot ChromeOS via CTRL+D before it auto boots in Legacy mode/into SeaBIOS
  • run my firmware utility script per wiki instructions
  • flash custom coreboot firmware (UEFI)
  • create LibreELEC install media (using my script or the LE USB creator tool)
  • reboot, install LE from USB

if the Chromebox boots into Recovery Mode when you hit CTRL+D, then use recovery media to restore ChromeOS first, then follow my instructions above.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - GG909 - 2018-03-29

(2018-03-28, 19:55)Matt Devo Wrote:
(2018-03-28, 09:14)GG909 Wrote: I had openelec installed and wanted to do a clean install, i messed it up totally because i am a idiot. 

Box is a CN60 Asus Chromebox
Write protect screw has been taken out

I have tried to do a full factory reset to Chrome but it seems I cant, I used the rest function to try and boot chrome install from USB but it gets to the chrome flash screen then just reboots. I am trying to get into to Chrome to force the box to boot from USB/Linux then use the Firmware utility script to reset to default and start from there to install Libre//. 

Have tried several USBs, bluetooth keyboard (Now on wired) and getting nowhere. I don't get the boot function CTRL D at boot...see attached pic - any ideas please?

Here is the boot screen that flashes for about 1 second, was hard to get a photo of it - https://imgur.com/8z4PyES
  
ok, so here's what's going on: you restored the (broken) stock SeaBIOS, and have it set to auto boot in Legacy mode, so SeaBIOS is trying/failing to boot ChromeOS.

here's what you need to do:
 
  • boot ChromeOS via CTRL+D before it auto boots in Legacy mode/into SeaBIOS
  • run my firmware utility script per wiki instructions
  • flash custom coreboot firmware (UEFI)
  • create LibreELEC install media (using my script or the LE USB creator tool)
  • reboot, install LE from USB

if the Chromebox boots into Recovery Mode when you hit CTRL+D, then use recovery media to restore ChromeOS first, then follow my instructions above. 
Hi Matt, 

Thank you for taking the time and helping me through this, I ran your instructions as indicated and got it all sorted and Libreelec is now running and all sorted. Thank you! Legend! After a week or two of trying to figure it out, your instructions I had it sorted in about 15 Min!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - tuvi3t4u - 2018-03-30

I have the Chromebox CN62. Followed the instructions to remove the write protection screw, put in developer mode, and performed a factory reset.

For some reason when I press Ctrl+Alt+F2 it doesn't bring up the command prompt. I'm forced to log in and use Ctrl+Alt+T and use the shell command. This allows me to run the script, but it asks for a password. I have tried no password and "password", but they do not work. Anyone have this issue?


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - Matt Devo - 2018-03-30

(2018-03-30, 01:30)tuvi3t4u Wrote: I have the Chromebox CN62. Followed the instructions to remove the write protection screw, put in developer mode, and performed a factory reset.

For some reason when I press Ctrl+Alt+F2 it doesn't bring up the command prompt. I'm forced to log in and use Ctrl+Alt+T and use the shell command. This allows me to run the script, but it asks for a password. I have tried no password and "password", but they do not work. Anyone have this issue?
sounds like you enabled the debugging features after switching to Developer mode. Do a Recovery mode reset and it should work afterwards