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) [2015/05/17] - FreeMan xbmc - 2015-05-22 Thanks for the quick response, Matt. Your comment about the thumbnails got me looking and thinking. I have the <useddsfanart> feature set in advancedsetting. That means that I've got duplicate files in both .jpg and .dds formats. If I delete the .jpg will Kodi run off the .dds formats, or will it go download new .jpgs for everything? Since it's running off a SSD, I would think I could remove the <useddsfanart> setting, delete all the .dds files, and probably not see a significant decrease in speed. From a quick eyeballing, that would free up more than 50% of my Thumbnail space, since most of the .dds files are larger than their .jpg cousins. I still think I'll end up getting a larger SSD, but this will forestall the process a bit, and possibly get me a functional box tonight. What are your thoughts? BTW- I tried OE back around the Frodo days, I think it was, and wasn't overly impressed. Kodibuntu seems sufficient for me. RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Matt Devo - 2015-05-22 (2015-05-22, 05:41)FreeMan xbmc Wrote: Thanks for the quick response, Matt. Your comment about the thumbnails got me looking and thinking. I have the <useddsfanart> feature set in advancedsetting. That means that I've got duplicate files in both .jpg and .dds formats. If I delete the .jpg will Kodi run off the .dds formats, or will it go download new .jpgs for everything? I think changing the fanart setting and removing the .dds files is worth a shot, then retry the upgrade from the command line. But if you haven't checked out OE recently, you definitely should - it is far and away the best platform for Kodi, especially on the ChromeBox. You can always run it in "live" mode from the USB installer, like many Linux distros these days RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - FreeMan xbmc - 2015-05-22 (2015-05-22, 05:47)Matt Devo Wrote:(2015-05-22, 05:41)FreeMan xbmc Wrote: Thanks for the quick response, Matt. Your comment about the thumbnails got me looking and thinking. I have the <useddsfanart> feature set in advancedsetting. That means that I've got duplicate files in both .jpg and .dds formats. If I delete the .jpg will Kodi run off the .dds formats, or will it go download new .jpgs for everything? Wow! I removed 5.3 GB of .dds files. Yes, GIGAbytes! I guess that all those thumbnails of the 200k+ photos that wander through the screen saver take some space, too... After a re-boot to clear /tmp and make some room there, Code: sudo apt-get install kodi I'll have to do some fiddling with settings to get everything back the way I had it set up (.kodi/userdata was still there and populated, but it doesn't seem to have saved all the skin settings). Thanks so much for your advice! I'll have a happy wife & daughter now! I may look at OE and upgrading the SSD at some point in the future, but I have function now, and that's the most important part! RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - knives of ice - 2015-05-23 ok today i got a displaypot to hdmi adaptor. is there anything special i need to do to get the displayport output working? i unplugged the hdmi cable so that only the displayport is plugged in, boot up and i get nothing i get no picture at all. when i just plug in hdmi it comes up no problem. i'm just trying to determine if the dispalyport adapter is defective or if i'm doing something wrong. ideally, i'd like to have my displayport to hdmi adapter be able to ouput to my tv upstairs and my hdmi cable go to the tv downstairs like i did in the past with my nuc. i don't need to use both outputs at the same time, just want the box available as needed. also, can anyone tell me what my idea render method settings should be? i see various settings in this thread as the bugs were worked out. i'm currently having a problem with some minor lip syncing audio issues. EDIT - ok was determined to get the audio sync fixed and for some reason if i have the adjust display refresh rate to match video feature turned on then audio gets slightly out of sync. no idea why. when its turned off audio is perfect in full bluray or mkv rips RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Matt Devo - 2015-05-23 (2015-05-23, 07:07)knives of ice Wrote: ok today i got a displaypot to hdmi adaptor. As detailed the wiki, using a passive DisplayPort->HDMI adapter as the only output doesn't work (because it gets identified as HDMI2, and OE will default to HDMI1 even if it's not connected). You can use it as a secondary output (with the HDMI as primary) and toggle it via settings, otherwise you'll need to set it as the output manually, either via ssh or autostart.sh script. Or get an active converter. I'd ssh in, enumerate the output names using 'xrandr --props' and then set the one needed (HDMI2?) manually to test. If the display comes up, then use autostart.sh to set it as the default (or you might be able to do it via the video output GUI settings) Quote:ideally, i'd like to have my displayport to hdmi adapter be able to ouput to my tv upstairs and my hdmi cable go to the tv downstairs like i did in the past with my nuc. i don't need to use both outputs at the same time, just want the box available as needed. doable, but see above Quote:also, can anyone tell me what my idea render method settings should be? i see various settings in this thread as the bugs were worked out. i'm currently having a problem with some minor lip syncing audio issues. the wiki is the authoritative source. Quote:EDIT - ok was determined to get the audio sync fixed and for some reason if i have the adjust display refresh rate to match video feature turned on then audio gets slightly out of sync. no idea why. when its turned off audio is perfect in full bluray or mkv rips I believe OE (or Kodi?) uses a 175ms delay by default for audio over HDMI at 24p, you can override (setting it to 0) it via advancedsettings.xml - don't have the setting handy, so just search for it RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - memmo - 2015-05-23 I bought a few Chromeboxes for the house with intentions to run Openelec/Kodi. I've successfully installed 3 so far. I'm doing the 4th now and seem to run into a roadblock. I think this particular Chromebox was already configured to run Openelec/Kodi and then flashed back to stock before I bought it. When it boots, it goes to the Chrome login screen. Anyhow, I put a paperclip in, start it up, get to the recovery screen, but Ctrl-D won't get me into developer mode. I do have 3 lines of text at the top of the screen: gbb.flags is nonzero: 0x00000039 read-only firmware id: Google_Panther.4920.24.26 active firmware id: Google_Panther.4920.24.26 The read-protect screw has already been removed. Anyone have any ideas? RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Matt Devo - 2015-05-23 (2015-05-23, 15:15)memmo Wrote: Anyhow, I put a paperclip in, start it up, get to the recovery screen, but Ctrl-D won't get me into developer mode. I do have 3 lines of text at the top of the screen: you're already in developer mode, the GBB flags are forcing it RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - memmo - 2015-05-23 Silly me.. Next oddity -- when I run the script and select 6 for coreboot/standalone -- I get a message: "Your current firmware does not contain data for the device MAC address. Would you like to load it from a previously backed-up stock firmware file?" Not sure what this means? RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Matt Devo - 2015-05-23 (2015-05-23, 20:49)memmo Wrote: Silly me.. it means exactly what it says The stock firmware has a unique MAC address embedded for each device, which the script will persist if present. Because the previous owner restored a stock firmware from the recovery image (without a unique MAC), the script is giving you the option to read in the MAC from a valid firmware backup file. In your case, just hit 'N' and carry on. RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - megamawax - 2015-05-24 I recently purchased the Asus Chromebox (don't even have it yet) with the intention of dual-booting ChromeOS and OpenELEC, installing Kodi and using it primarily to stream internet video content. At the moment, I have just two questions. First, I'm planning on putting the CB behind where I would be sitting as I don't really have space by my tv for it. I'll just run an hdmi cable down into my basement, under the living room and back up through the floor to my tv. Thus, I am assuming that I won't be able to use any IR remote as I wouldn't have line of sight unless I wanted to turn around every time I needed to press a button. Would my best bet be to to get a wireless keyboard/mouse or to get a bluetooth remote? I've seen so many different remote recommendations that my head is starting to spin; however, most of them seem to be IR remotes, which I won't be able to use, which is kind of too bad because I have a couple different MCE remotes lying about, though I'd have to buy a receiver anyway. I do have a logitech k400 that I recently purchased, but apparently there are some issues regarding that device and dual booting (though it's probably not that big of a deal as I wouldn't be switching it on and off all the time). More importantly, though, I just discovered that steam streaming is a thing. I've heard, though, that it's not really a thing for the chromebox, though maybe, kind of, it could be with kodibuntu, which is, apparently, a lot more complicated to install than OpenELEC. I have no experience whatsoever with linux, though I could probably follow a list of instructions. So, is steam streaming something I should just put out of my head and forget that it exists, or is there some way for a newbie such as myself to get that working with some operating system that I could install on the CB? Is this something developers for any of the platforms are working on? I can imagine that there'd be a lot of people that would like to be able to play their steam library on their TVs using a $150 chromebox as opposed to something twice as expensive. Oh, one more thing. Is it possible to get miracast to work on the CB? Thanks. RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - nickr - 2015-05-24 Well you'll need a keyboard of some sort for dual booting, so getting a wireless one that works on boot would be a solution. See chromebox (wiki) for a list of those that do and don't. I prefer a remote though - one option is to run a usb cable on the same route as the hdmi cable. I don't know how far you are going but I recall a limit on usb cable length - maybe 20m? It would pay to check. A flirc may be an option to use one of your MCE remote, they are meant to be very sensitive, people talk of putting them behind their HTPC - although whether being in completely the wrong direction will work is another matter. Again that long USB cable mould be a solution. A bluetooth remote is certainly an option - the remote for the PS3 is bluetooth, this one http://www.amazon.com/Sony-PlayStation-3-Blu-ray-Disc-Remote/dp/B000M17AVO It has plenty of buttons! Almost too many. I don't have a clue about steam or miracast sorry. RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - megamawax - 2015-05-24 I thought about running a long USB cable along with the HDMI cable. I actually have a vga cable, audio cable, usb cable, and ethernet cable running from my desktop pc through my floor, along my basement to the other side of the house to an old projector. This run will certainly be shorter than that. I figure, though, there are solutions other than IR that will work, as that would be one less expense and one less wire that I have cluttered about. I do have a USB wired keyboard that I could probably use in the few instances that the k400 won't work. I would like to have some kind of remote that will work, though, especially if my wife or kids are operating it. The PS3 remote has definitely been on my radar. I wonder how it compares to a wii remote. While I've seen a lot of people mention the PS3, I've seen very little in regards to the wii remotes, and I have several of them, one of which I could easily sacrifice for this if it works well, but I don't know if getting it to work is difficult or not or if it has enough buttons. I was considering flirc before I decided that it would probably work better for me to put the CB behind me next to my desktop computer where there's more space, but not knowing if it would still work even if I was pointing the remote in the opposite direction makes me hesitant to drop $20 on that. There's always a million extra costs... RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Soli - 2015-05-24 (2015-05-23, 21:33)Matt Devo Wrote:Just a quick question. I have 2 HP chromeboxes. The first one I took backup of the firmware, the second I didn't because I thought they'd be identical. If I restore them both and use the same firmware backup file, will they end up with the same network ethernet MACs? (I supposed the wireless Macs are hardwired to the wlan adapter, no?)(2015-05-23, 20:49)memmo Wrote: Silly me.. RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Matt Devo - 2015-05-24 (2015-05-24, 07:10)megamawax Wrote: I recently purchased the Asus Chromebox (don't even have it yet) with the intention of dual-booting ChromeOS and OpenELEC, installing Kodi and using it primarily to stream internet video content. At the moment, I have just two questions. First, I'm planning on putting the CB behind where I would be sitting as I don't really have space by my tv for it. I'll just run an hdmi cable down into my basement, under the living room and back up through the floor to my tv. Thus, I am assuming that I won't be able to use any IR remote as I wouldn't have line of sight unless I wanted to turn around every time I needed to press a button. Would my best bet be to to get a wireless keyboard/mouse or to get a bluetooth remote? I've seen so many different remote recommendations that my head is starting to spin; however, most of them seem to be IR remotes, which I won't be able to use, which is kind of too bad because I have a couple different MCE remotes lying about, though I'd have to buy a receiver anyway. I do have a logitech k400 that I recently purchased, but apparently there are some issues regarding that device and dual booting (though it's probably not that big of a deal as I wouldn't be switching it on and off all the time). for Kodi, any RF device should suffice (and BT is RF), since LoS isn't required Quote:More importantly, though, I just discovered that steam streaming is a thing. I've heard, though, that it's not really a thing for the chromebox, though maybe, kind of, it could be with kodibuntu, which is, apparently, a lot more complicated to install than OpenELEC. I have no experience whatsoever with linux, though I could probably follow a list of instructions. So, is steam streaming something I should just put out of my head and forget that it exists, or is there some way for a newbie such as myself to get that working with some operating system that I could install on the CB? Is this something developers for any of the platforms are working on? I can imagine that there'd be a lot of people that would like to be able to play their steam library on their TVs using a $150 chromebox as opposed to something twice as expensive. I think Steam streaming and Linux is still a WIP, but haven't done much testing myself. I do know that the Steam Linux app complains about being able to detect the amount of VRAM allocated, but that doesn't seem to be a ChromeBox specific issue Quote:Oh, one more thing. Is it possible to get miracast to work on the CB? not familiar, can't help you there (2015-05-24, 08:11)megamawax Wrote: I thought about running a long USB cable along with the HDMI cable. I actually have a vga cable, audio cable, usb cable, and ethernet cable running from my desktop pc through my floor, along my basement to the other side of the house to an old projector. This run will certainly be shorter than that. I figure, though, there are solutions other than IR that will work, as that would be one less expense and one less wire that I have cluttered about. FLIRC is IR, and requires LoS. Purchase accordingly. Based on your posts, I'd advise against multiple long runs that aren't ethernet. I'd make your HDMI (and audio, if separate) runs as short as possible, and then you can use an IR receiver with a decent length USB cable if needed (though the PS3 remote is better than most IR ones, IMO) (2015-05-24, 08:33)Soli Wrote: Just a quick question. I have 2 HP chromeboxes. The first one I took backup of the firmware, the second I didn't because I thought they'd be identical. If I restore them both and use the same firmware backup file, will they end up with the same network ethernet MACs? (I supposed the wireless Macs are hardwired to the wlan adapter, no?) yes, both would end up with the same ethernet MAC (since it's embedded in the firmware backup), and yes, the WLAN MAC is embedded in the WLAN device firmware itself (and therefore not affected by the ChromeBox firmware in any way) RE: Asus/HP/Acer/Dell ChromeBox EZ Setup (OpenELEC/Linux+Kodi) [2015/05/17] - Soli - 2015-05-24 Thanks Matt. 1. Could the script be made to inject a manual typed MAC address when restoring the original firmware? 2. Does it autogenerate a new MAC address when using a generic firmware 3. Anything else embedded in the firmware? (Like some unique Chrome serial, that let me take advantage of that 1TB google drive offer) 4. Can I simply hexedit the firmware with the correct MAC, or is it hidden? It might be a good idea to mention that the MAC is embedded in the wiki, since I am probably not the only one that only took backup of the first device. After all, when I upgrade the Chromeboxes somewhere in the future, I plan on restoring them to ChromeOS and hand them over to someone else in the family. |