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) [v3.12 - 2015/02/09] - Soli - 2015-02-19

I took it you meant unscaled as in "untouched/bypassed". So what I said was basically that you cannot directly substitue YUV/RGB values even though they seem the same (16-235), there is a lossy colorspace conversion involved. It may seem illogical at first, if you don't know the basic difference between the 2 colorspaces, but that's how it is.

Yes, you can convert YUV to any arbitrary RGB encoding/mode. I never said or remotely implied otherwise. In fact I implied the opposite by writing what you just quoted.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - meeotch - 2015-02-19

Ah - just a miscommunication then. I meant "unscaled", not "untouched". Again, thanks for your help.

Believe it or not, I've been working in film / t.v. for roughly 20 years - so no stranger to colorspace transforms. It just happens that the part of the chain where I'm at never really deals with YUV. In fact, these days we're all floating point. No more logspace, no more 8-bit, everything as God intended. ;-)


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - AttacktheCow - 2015-02-19

(2015-02-18, 19:53)Matt Devo Wrote: @AttacktheCow,

- there's no need to update the firmware unless you are having issues that a new version fixes
- if you look at the change log, 2015-01-29 is the latest/current firmware version. The firmware isn't always updated every time the script is
- the firmware and OpenELEC are not coupled in any way, so you can (should) just update OpenELEC in the future
- a dirty install is ok for the 4.x -> 5.0 update as long as you don't run into issues; if you do, then a clean install is recommended. Or just use the 'Hard Reset' function under the OpenELEC General settings.

Thank you. It seems like i did not know many things about this Smile


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - denz13 - 2015-02-20

Hi all,

I've currently got a dual boot setup (ChromeOS + Ubuntu 14.10 (Desktop) and unfortunately it looks like I've ran out of disk space on my Ubuntu disk - I've only installed Transmission-Daemon, SortTV & Upgraded the Kernal. What are my options for increasing the disk for Ubuntu to use without trashing everything?

Looking at 'Disks' there're 2 ROOT-A partitions, 2.1GB each partition, can these be resized?

Any advice would be appreciated.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Vlaves - 2015-02-20

Hi all,

I don't know if this has been asked before. My HP Chromebox (running under Openelec 5.0.2) is waking up from standby when it shouldn't.
I already turnd of WOL for the Ethernet adapter and I have putted that command in the autostart.sh as I have been reading that in some other Forum/Thread.

Where can I have a look, what is waking up my Chromebox?

Thanks for any help.

Regards
Vlaves


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Soli - 2015-02-20

(2015-02-20, 11:12)denz13 Wrote: Hi all,

I've currently got a dual boot setup (ChromeOS + Ubuntu 14.10 (Desktop) and unfortunately it looks like I've ran out of disk space on my Ubuntu disk - I've only installed Transmission-Daemon, SortTV & Upgraded the Kernal. What are my options for increasing the disk for Ubuntu to use without trashing everything?

Looking at 'Disks' there're 2 ROOT-A partitions, 2.1GB each partition, can these be resized?

Any advice would be appreciated.
If you did an non-advanced install, then you probably have a swap partition. This can safely be deleted. ( I take it you only use it for light webrowsing and Kodi). The 16GB SSD is probably too small to "comfortably" dual boot Chrome OS and Ubuntu.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Lambada123 - 2015-02-20

Hello Matt,

thanks for your work with that Firmware. But in moment there are an little issue with the lastet one 20150129 for my Asus Chromebox i3...

The Problem comes with my last Firmware Update from 20141202 to 20150129, at the same time i have made an OpenELEC Update (Plex Version)... now the BlueTooth WakeUp works... but when i do this my Chromebox are very noise for 1 minute or longer. The Fan an runs FullPower. Some Times it runs for minutes...

It this an Firmware Problem or an OpenELEC Problem?

Thanks
Lambada


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - AttacktheCow - 2015-02-20

Oh boy, its me again.
It seems like i kinda soft bricked my openelec install.
I just tried out some skins and addons, didn't change anything in systems folders or something. Then i played a movie, stopped it and then it blackscreened on me. I restarted it, but it keeps blackscreening.
Upon restart (does not make a difference between powerbutton and plugging), it shows the openelec screen, and then a brief Kodi intro video which then freezes as its almost over. The screen stays black.
I can access it remotely via ssh and also can access it via the networkshare.
I tried pushing openelec onto it via the networkshare update folder, and upon reboot, it does indeed install it, yet it keeps freezing at this video.


Does anyone have a workaround for that?
Thanks


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - theslime - 2015-02-20

I can't help you, but calling a black screen you can access through ssh and network shares a softbrick feels like pushing it. Wink


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Soli - 2015-02-20

*facepalm* If you can ssh, then why don't you delete the .kodi (or similar, I dont use OE) directory.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - hockeycoach - 2015-02-20

(2015-02-18, 18:15)Soli Wrote: Hockeycoach, If you apt-get Kodi then the standalone option xsession gets added automatically. You basically only need to set autologin. Would be easier to just install Kodibuntu, though, if you don't need to run full blown Ubuntu/Unity. I did post my steps a few pages back. Works really good. I'm using a PS3 remote and the waf factor is superhigh, including playback of Netflix through netflixbmc. In fact it works so good that I'm going to give away a box to my sister, and that is saying a lot!

Soli, thanks for the reply. Interesting suggestions, I'll look into the apt-get Kodi with autologin. I like the full blown Ubuntu installation, I'm a Linux bigot from way back and like to 'play'.
btw ... what is the "waf factor"? the fact that it is superhigh intrigues me

edit..
wait... WAF factor... is it Wife Acceptance Factor ?


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Matt Devo - 2015-02-20

(2015-02-20, 11:12)denz13 Wrote: Hi all,

I've currently got a dual boot setup (ChromeOS + Ubuntu 14.10 (Desktop) and unfortunately it looks like I've ran out of disk space on my Ubuntu disk - I've only installed Transmission-Daemon, SortTV & Upgraded the Kernal. What are my options for increasing the disk for Ubuntu to use without trashing everything?

Looking at 'Disks' there're 2 ROOT-A partitions, 2.1GB each partition, can these be resized?

Any advice would be appreciated.

the only partitions you should be resizing are the ChromeOS stateful partition (userdata), which is /dev/sda1, and the Ubuntu partition (KERN-C) which is /dev/sda7. You should do this from a bootable USB utility like PartedMagic, but be aware it will cause ChromeOS to "repair" itself on next boot, which will erase all existing userdata. If it goes south, just be prepared to do a factory reset and start from scratch.

(2015-02-20, 13:31)Vlaves Wrote: Hi all,

I don't know if this has been asked before. My HP Chromebox (running under Openelec 5.0.2) is waking up from standby when it shouldn't.
I already turnd of WOL for the Ethernet adapter and I have putted that command in the autostart.sh as I have been reading that in some other Forum/Thread.

Where can I have a look, what is waking up my Chromebox?

Thanks for any help.

Regards
Vlaves

look at the kernel log (dmesg) via ssh right after it wakes up

(2015-02-20, 13:52)Soli Wrote: If you did an non-advanced install, then you probably have a swap partition. This can safely be deleted. ( I take it you only use it for light webrowsing and Kodi). The 16GB SSD is probably too small to "comfortably" dual boot Chrome OS and Ubuntu.

a dual boot Ubuntu install doesn't use swap, just a single data partition - see above.

(2015-02-20, 17:30)Lambada123 Wrote: Hello Matt,

thanks for your work with that Firmware. But in moment there are an little issue with the lastet one 20150129 for my Asus Chromebox i3...

The Problem comes with my last Firmware Update from 20141202 to 20150129, at the same time i have made an OpenELEC Update (Plex Version)... now the BlueTooth WakeUp works... but when i do this my Chromebox are very noise for 1 minute or longer. The Fan an runs FullPower. Some Times it runs for minutes...

It this an Firmware Problem or an OpenELEC Problem?

Thanks
Lambada

Last I checked, the Plex version of OpenELEC is based on an ancient version of OpenELEC (3.2.4) using a much older kernel version which does not have full support for the ChromeBox's hardware. It's not a firmware issue, it's a kernel/driver issue.

(2015-02-20, 17:50)AttacktheCow Wrote: Oh boy, its me again.
It seems like i kinda soft bricked my openelec install.
I just tried out some skins and addons, didn't change anything in systems folders or something. Then i played a movie, stopped it and then it blackscreened on me. I restarted it, but it keeps blackscreening.
Upon restart (does not make a difference between powerbutton and plugging), it shows the openelec screen, and then a brief Kodi intro video which then freezes as its almost over. The screen stays black.
I can access it remotely via ssh and also can access it via the networkshare.
I tried pushing openelec onto it via the networkshare update folder, and upon reboot, it does indeed install it, yet it keeps freezing at this video.


Does anyone have a workaround for that?
Thanks

ssh in, rm -rf /storage, reboot.

(2015-02-20, 18:05)Soli Wrote: *facepalm* If you can ssh, then why don't you delete the .kodi (or similar, I dont use OE) directory.

see above


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - Soli - 2015-02-20

(2015-02-20, 18:10)hockeycoach Wrote:
(2015-02-18, 18:15)Soli Wrote: Hockeycoach, If you apt-get Kodi then the standalone option xsession gets added automatically. You basically only need to set autologin. Would be easier to just install Kodibuntu, though, if you don't need to run full blown Ubuntu/Unity. I did post my steps a few pages back. Works really good. I'm using a PS3 remote and the waf factor is superhigh, including playback of Netflix through netflixbmc. In fact it works so good that I'm going to give away a box to my sister, and that is saying a lot!

Soli, thanks for the reply. Interesting suggestions, I'll look into the apt-get Kodi with autologin. I like the full blown Ubuntu installation, I'm a Linux bigot from way back and like to 'play'.
btw ... what is the "waf factor"? the fact that it is superhigh intrigues me

edit..
wait... WAF factor... is it Wife Acceptance Factor ?
Yeah except it would actually be Wife Acceptance Factor Factor. Kinda like ATM Machine..Wink I think you should be set if you do an "sudo apt-get install kodi-bin kodi" and configure lightdm to autologin your user.


RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - AttacktheCow - 2015-02-20

(2015-02-20, 18:00)theslime Wrote: I can't help you, but calling a black screen you can access through ssh and network shares a softbrick feels like pushing it. Wink

Sorry, i didn't want to overrate my problem Big Grin As some might have noticed, i am not really and expert user here.... Wink

(2015-02-20, 18:05)Soli Wrote: *facepalm* If you can ssh, then why don't you delete the .kodi (or similar, I dont use OE) directory.

to be honest, i don't know where it is saved within the openelec system and what it will happen, when there is no kodi left on the system. Big Grin

(2015-02-20, 18:17)Matt Devo Wrote: ssh in, rm -rf /storage, reboot.

gives me a:
Code:
rm: can't remove '/storage': Read-only file system



RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [v3.12 - 2015/02/09] - fritsch - 2015-02-20

rm -rf /storage/*