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] - Matt Devo - 2017-04-05

(2017-04-05, 17:47)sixburgh Wrote: Can someone please help me?

I want to reset my asus chromebox cn60 back to chromeos.

I am getting this message when the machine boots

gbb.flags is nonzero: 0x00000039
read-only firmware id: Google_Panther.4920.24.21
active firmware id: Google_Panther.4920.24.21

chrome os is missing or damaged.
Please insert a recovery USB stick or SD card.

I created a recovery disk through the Chromebook Recovery Utility, using a 8GB USB stick
Rebooted with the stick in it, it still keeps showing the above message.

How do I fix this?
All I have is a USB stick.
If you say that I have to reset any flags, how do I do that?
I can't even boot another OS, can I?

Worried if I have bricked my chromebox

All you need to do is reload ChromeOS via the Recovery Utility, then use my script to reset the flags back to stock/factory defaults.

Right now the Chromebox is booted to Recovery Mode - that's normal/expected with the stock firmware and not having ChromeOS installed. You said you've created the Recovery media using the utility - you need to insert the USB after it boots to Recovery Mode. If it doesn't recognize it, then try another port, or another USB/SD card. That's the only thing you can or need to do right now.

You box isn't bricked, it just doesn't have a bootable OS installed.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - sixburgh - 2017-04-05

(2017-04-05, 17:52)Matt Devo Wrote:
(2017-04-05, 17:47)sixburgh Wrote: Can someone please help me?

I want to reset my asus chromebox cn60 back to chromeos.

I am getting this message when the machine boots

gbb.flags is nonzero: 0x00000039
read-only firmware id: Google_Panther.4920.24.21
active firmware id: Google_Panther.4920.24.21

chrome os is missing or damaged.
Please insert a recovery USB stick or SD card.

I created a recovery disk through the Chromebook Recovery Utility, using a 8GB USB stick
Rebooted with the stick in it, it still keeps showing the above message.

How do I fix this?
All I have is a USB stick.
If you say that I have to reset any flags, how do I do that?
I can't even boot another OS, can I?

Worried if I have bricked my chromebox

All you need to do is reload ChromeOS via the Recovery Utility, then use my script to reset the flags back to stock/factory defaults.

Right now the Chromebox is booted to Recovery Mode - that's normal/expected with the stock firmware and not having ChromeOS installed. You said you've created the Recovery media using the utility - you need to insert the USB after it boots to Recovery Mode. If it doesn't recognize it, then try another port, or another USB/SD card. That's the only thing you can or need to do right now.

You box isn't bricked, it just doesn't have a bootable OS installed.

Thanks!
That was a quick reply!
Yes: I think I need to try different USB sticks. 64GB usb3, and a 8GB usb2 stick hasnt worked.
I will go get a 4GB USB stick and see if that helps.


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - AttacktheCow - 2017-04-05

thanks!


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - sixburgh - 2017-04-05

(2017-04-05, 17:55)sixburgh Wrote:
(2017-04-05, 17:52)Matt Devo Wrote:
(2017-04-05, 17:47)sixburgh Wrote: Can someone please help me?

I want to reset my asus chromebox cn60 back to chromeos.

I am getting this message when the machine boots

gbb.flags is nonzero: 0x00000039
read-only firmware id: Google_Panther.4920.24.21
active firmware id: Google_Panther.4920.24.21

chrome os is missing or damaged.
Please insert a recovery USB stick or SD card.

I created a recovery disk through the Chromebook Recovery Utility, using a 8GB USB stick
Rebooted with the stick in it, it still keeps showing the above message.

How do I fix this?
All I have is a USB stick.
If you say that I have to reset any flags, how do I do that?
I can't even boot another OS, can I?

Worried if I have bricked my chromebox

All you need to do is reload ChromeOS via the Recovery Utility, then use my script to reset the flags back to stock/factory defaults.

Right now the Chromebox is booted to Recovery Mode - that's normal/expected with the stock firmware and not having ChromeOS installed. You said you've created the Recovery media using the utility - you need to insert the USB after it boots to Recovery Mode. If it doesn't recognize it, then try another port, or another USB/SD card. That's the only thing you can or need to do right now.

You box isn't bricked, it just doesn't have a bootable OS installed.

Thanks!
That was a quick reply!
Yes: I think I need to try different USB sticks. 64GB usb3, and a 8GB usb2 stick hasnt worked.
I will go get a 4GB USB stick and see if that helps.

Yay! Your guidance helped me and I realized what was happening.
The 64GB USB stick used to create the recovery disk always ended up showing so many partitions when I looked at it through disk management on my windows computer.
I used command prompt in administrator mode, ran diskpart and removed all existing partitions on the USB stick.
DID NOT create any new partitions and ran the chrome recovery utility, which probably ended up doing the CORRECT thing.
Because after that point on, the Chromebox was able to detect it.
It put the chrome OS back and everything okay now.

The reason I ended up in that bad situation was.
I had a dedicated single boot openelec kodi which I wanted to upgrade.
and i just did not know how to switch to libreelec.
So I thought why not remove everything, even put chrome OS back, switch to dual boot.
I ended up removing the OS, I also was able to remove the SEABIOS, but I just could not put chrome os back.

Finally I got the USB stick to work!
I then ran the libreelec with dual boot to work and now I have kodi 17.1 !!
Yay!

Thank you!


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

(2017-04-05, 22:49)sixburgh Wrote: Yay! Your guidance helped me and I realized what was happening.
The 64GB USB stick used to create the recovery disk always ended up showing so many partitions when I looked at it through disk management on my windows computer.
I used command prompt in administrator mode, ran diskpart and removed all existing partitions on the USB stick.
DID NOT create any new partitions and ran the chrome recovery utility, which probably ended up doing the CORRECT thing.
Because after that point on, the Chromebox was able to detect it.
It put the chrome OS back and everything okay now.

The reason I ended up in that bad situation was.
I had a dedicated single boot openelec kodi which I wanted to upgrade.
and i just did not know how to switch to libreelec.
So I thought why not remove everything, even put chrome OS back, switch to dual boot.
I ended up removing the OS, I also was able to remove the SEABIOS, but I just could not put chrome os back.

Finally I got the USB stick to work!
I then ran the libreelec with dual boot to work and now I have kodi 17.1 !!
Yay!

Thank you!

well, that's definitely the 'nuclear' option if all you wanted to do was upgrade from OE to LE - a simple manual update using the download from LE's site would have sufficed, or even reinstalling via USB. But if you did want to do from a standalone to a dual boot setup, then reverting to stock the way you did was the only way to do so


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

I'm trying to update my Chromebox from current openelec to libreelec 17.1. i can't seem to find out, or figure out the proper steps to do this. I have tried the update through usb IMG file, but just get black screen after it attempts to update. Any guidance for a proper way to intall?


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

(2017-04-06, 00:48)fisherman55 Wrote: I'm trying to update my Chromebox from current openelec to libreelec 17.1. i can't seem to find out, or figure out the proper steps to do this. I have tried the update through usb IMG file, but just get black screen after it attempts to update. Any guidance for a proper way to intall?

LibreELEC has a wiki page on doing exactly that: https://wiki.libreelec.tv/index.php?title=HOW_TO:Update_LibreELEC#Migration_from_OpenELEC_to_LibreELEC


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

(2017-04-06, 18:02)Matt Devo Wrote:
(2017-04-06, 00:48)fisherman55 Wrote: I'm trying to update my Chromebox from current openelec to libreelec 17.1. i can't seem to find out, or figure out the proper steps to do this. I have tried the update through usb IMG file, but just get black screen after it attempts to update. Any guidance for a proper way to intall?

LibreELEC has a wiki page on doing exactly that: https://wiki.libreelec.tv/index.php?title=HOW_TO:Update_LibreELEC#Migration_from_OpenELEC_to_LibreELEC



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

I was able to update from Openelec to LibreElec 7.0.3, I ran the backup from Openelec, everything works fine. When I try and do a manual update to LibreElec 8.0.1, it shows that its updating, but when finally done, screen remains black and unable to do anything?


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

(2017-04-06, 22:17)fisherman55 Wrote: I was able to update from Openelec to LibreElec 7.0.3, I ran the backup from Openelec, everything works fine. When I try and do a manual update to LibreElec 8.0.1, it shows that its updating, but when finally done, screen remains black and unable to do anything?

Kodi upgrade bug; solution is to delete addons27.db and reboot. Easiest way to do so is via Samba (like you did for the manual update), just navigate to the UserData\Database folder on the Chromebox and delete the file (but *only* that file) then reboot


RE: ChromeBox Kodi E-Z Setup Script (LibreELEC/Linux+Kodi) [2017/02/21] - fisherman55 - 2017-04-07

(2017-04-06, 22:54)Matt Devo Wrote:
(2017-04-06, 22:17)fisherman55 Wrote: I was able to update from Openelec to LibreElec 7.0.3, I ran the backup from Openelec, everything works fine. When I try and do a manual update to LibreElec 8.0.1, it shows that its updating, but when finally done, screen remains black and unable to do anything?

Kodi upgrade bug; solution is to delete addons27.db and reboot. Easiest way to do so is via Samba (like you did for the manual update), just navigate to the UserData\Database folder on the Chromebox and delete the file (but *only* that file) then reboot

Thanks Matt

Thats what it was, did as you said, and working fine, thank you very much for your help!


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

I am having a problem where my Asus Chromebox gets stuck on Kodi v 17.0-Krypton screen. I had this happen twice now and I'm thinking it is due to running out of space on the dual boot setup. I have Openelec 8.0.1 on default partition and Chrome OS on other (Where I hit Control-D to go to Chrome). I had this problem only 1 time where I had to rerun the EZ Script and reinstall Kodi before Kodi updated to 17 and I thought it was because I had unofficial addons (tvaddons installer) which I never installed again. Does anyone else have this problem and has this bee discussed anywhere? I can't find this by searching here.

Edit* I mean Libreelec NOT Openelec.


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

(2017-04-09, 19:02)cyrusalmighty Wrote: I am having a problem where my Asus Chromebox gets stuck on Kodi v 17.0-Krypton screen. I had this happen twice now and I'm thinking it is due to running out of space on the dual boot setup. I have Openelec 8.0.1 on default partition and Chrome OS on other (Where I hit Control-D to go to Chrome). I had this problem only 1 time where I had to rerun the EZ Script and reinstall Kodi before Kodi updated to 17 and I thought it was because I had unofficial addons (tvaddons installer) which I never installed again. Does anyone else have this problem and has this bee discussed anywhere? I can't find this by searching here.

Edit* I mean Libreelec NOT Openelec.

why did you think it's a space issue? how much free space do you have on the LE storage partition? You shouldn't be having any freezing etc on a fresh install


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

HI Matt, I have been running your E-Z Script now for over a year. no problems, except I wanted Kodi fresh start so I can install different kodi build. I tried to do a fresh start from "Fusion" it dint work, so I tried to manual update LE hoping it will do fresh install.. but now after LE logo splash and unpacking all I see is cursor and black screen...I am still connected samba Please help.

Post #7527 was the answer. thanks again


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

(2017-04-11, 17:10)HarryMohan Wrote: HI Matt, I have been running your E-Z Script now for over a year. no problems, except I wanted Kodi fresh start so I can install different kodi build. I tried to do a fresh start from "Fusion" it dint work, so I tried to manual update LE hoping it will do fresh install.. but now after LE logo splash and unpacking all I see is cursor and black screen...I am still connected samba Please help.

a manual update won't do a clean install, just an update. For a clean install use the 'soft reset' feature under LibreELEC settings/General.

blinking cursor is Kodi updgrade bug. Via Samba, navigate to \Userdata\Database and delete the file 'addons27.db' (and only that file) then reboot. Then do the reset above if desired.