Advertisement
Guest User

Untitled

a guest
Oct 15th, 2017
9,051
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.31 KB | None | 0 0
  1. Kodi "master" is now based on Leia, or Kodi 18. See [url=http://forum.kodi.tv/showthread.php?tid=269814]this thread[/url] for Kodi 17 (Krypton) testbuilds.
  2.  
  3. [color=#FF0000][size=large][u]Fair Warning[/u][/size][/color]
  4.  
  5. Kodi 18 is currently alpha and there is likely to be a lot of activity in the coming weeks/months. There will be some breakage.
  6.  
  7. In addition, these are "bleeding edge" builds - they often contain cherry-picked commits that require early testing prior to merging upstream, and which won't be found in regular nightlies until after they have been merged.
  8.  
  9. Please continue to report issues in this thread, but as I'm often not responsible for bugs and regressions (unless it's build related) don't expect personal replies or for me to file any upstream bug reports on your behalf. The best you can hope for is that the developer responsible is monitoring this thread and responds appropriately. If you want to progress an issue, identify when the issue first appeared as that may help suggest the pull request (PR) responsible, then post a comment on the relevant github PR or - if it's VideoPlayer related, or you don't know which PR is responsible - on trac.kodi.tv.
  10.  
  11. [color=#FF0000][size=large][u]Skin Usage[/u][/size][/color]
  12.  
  13. By all means use third party skins with these builds (if the skins are compatible), but please do not report problems that cannot be reproduced while using the stock Estuary skin that is included with every build.
  14.  
  15. If a problem is not reproducible with stock Estuary then it's most likely to be a third-party skin problem, in which case contact the skin maintainer.
  16.  
  17. [color=#FF0000][size=large][u]Installing[/u][/size][/color]
  18.  
  19. You need a working LibreELEC system in order to install a test build. If you are starting from scratch, use an official LibreELEC disk image to create a working system on your SD card. Once you have a working system, install the test build by copying the tar file into your [url=http://forum.kodi.tv/showthread.php?tid=224025&pid=1989401#pid1989401]Update folder[/url] and reboot.
  20.  
  21. [b]RPi 3 Users:[/b] Use RPi2 builds.
  22.  
  23. [hr]
  24. Recent builds (see next post for older builds):
  25. [hr]
  26. [b]Feature Requests:[/b]
  27. I will not be adding extra add-hoc packages to these builds as that is not their purpose, which is to help test bug fixes and enhancements for [u][i]existing[/i][/u] features/packages/drivers in stock LibreELEC. New functionality may be included for testing purposes if it is considered both beneficial and highly likely to be merged upstream in the near future, and is available as a github pull request or commit.
  28.  
  29. I have no desire to create builds with unique features upon which someone becomes dependent, as this benefits nobody in the long term not even those using the unique features once I stop creating new builds. In theory, when I stop creating new builds you should all be able to seamlessly switch back to official LibreELEC builds which by then should be including most if not all of the enhancements originally tested in these builds.
  30.  
  31. If you care about long term support for your favourite package, feature or driver and want to see it included in an LibreELEC build, contact the LibreELEC developers on [url=https://github.com/LibreELEC/LibreELEC.tv]github[/url] or post on the [url=https://forum.libreelec.tv/forum-18.html]LibreELEC.tv forum[/url] requesting the addition of support in the base LibreELEC build (or better yet, create a Pull Request with patch). That way everyone building or using an LibreELEC derived system "wins".
  32. [hr]
  33. [b]Additional Testing Notes:[/b]
  34. [list=1]
  35. [*][b]Build references[/b]
  36.  
  37. When reporting issues, refer to builds using only the published build codes, ie. #0215, #0216 etc. The build code is visible on the boot screen, and by typing "lsb_release".
  38.  
  39. Do NOT use any other reference, as these are often meaningless. For instance, the LibreELEC github revision identifier, 20272, 20281 etc. can be used by more than one build if nothing changes in LibreELEC between successive builds meaning such references could identify multiple builds, rendering it useless as a unique reference.
  40.  
  41. Anyone using the wrong reference will be ignored by me, possibly others, as I'm just not interested in working out which build you may or may not be referring to.
  42. [hr]
  43. [*][b]Usage information[/b]
  44.  
  45. Starting with build #0529(2014), very limited usage information will be collected during the first boot of each newly installed build. The information collected is: build#, Pi memory size (256MB, 512MB or 1008MB) and maximum ARM frequency. No IP or personal information is collected!
  46.  
  47. If you wish to opt out of data collection, run the following command:
  48. [code]
  49. touch /storage/.config/milhouse.dnt
  50. [/code]
  51. The purpose of this data collection is really just to get an idea of how much testing is being carried out and on what hardware, and would otherwise be achieved via non-opt out server logs if such logs were available (which they're not).
  52. [hr]
  53. [*][b]Migrating LibreELEC from Pi1 to Pi2, and back again[/b]
  54.  
  55. [i]Note: Prior to migration I would recommend disabling all overclocks, as a Pi1 overclock may not work successfully on a Pi2, and vice versa.[/i]
  56.  
  57. From Pi1 to Pi2: While using the Pi1, upgrade with the RPi2 tar. Once the upgrade is complete, the system will reboot to a rainbow boot screen (as you're now booting the ARMv7 kernel). Shutdown (pull the power) and transfer the SD card into your Pi2, which will boot normally.
  58.  
  59. From Pi2 to Pi1: While using the Pi2, upgrade with the RPi tar. Once the upgrade is complete, the system will reboot to a rainbow boot screen (as you're now using the ARMv6 kernel). Shutdown (pull the power) and transfer the SD card into your Pi1, which will boot normally.
  60. [hr]
  61. [*][b]Builds since early Dec 2014 include crashlog support[/b]
  62.  
  63. In the event of a crash, the file /storage/.kodi/temp/kodi_crashlog_<ccyymmddhhmmss>.log will be created. The symbolic link "/storage/.kodi/temp/kodi_crash.log" will always point to the latest crashlog. Upload one of these files to a paste site and post details on the forum.
  64.  
  65. Debug builds are occasionally uploaded to the [url=http://milhouse.libreelec.tv/builds/debug]debug[/url] folder. Debug builds will usually include more detailed crashlog information, but require a larger System partition (at least 384MB) and more RAM.
  66.  
  67. Use the following command to upload the most recent crashlog:
  68. [code]
  69. cat /storage/.kodi/temp/kodi_crash.log | pastebinit
  70. [/code]
  71. [hr]
  72. [*][b]Resizing partitions for debug-enabled builds[/b] (or undersized partitions that result in "CHECKING SIZE: FAILED" errors)
  73.  
  74. The default FAT partitition created by a disk-image installation (prior to OpenELEC 6.0.1) is too small for a debug-enabled build (and even some of the more experimental non-debug builds depending on what features are included), and will need to be increased in size to 512MB using some of the free space allocated to the second ext4 partition.
  75.  
  76. To resize the FAT and ext4 partitions of an existing installation:
  77. [list]
  78. [*]Linux: use gparted to resize FAT/ext4 partitions
  79. [*]Windows: use [url=http://www.partitionwizard.com]MiniTool Partition Wizard[/url]. See [url=http://forum.kodi.tv/showthread.php?tid=231092&pid=2083858#pid2083858]this[/url] post for more details - unfortunately partition move/resize is not supported by MiniTool for ext4 filesystems so backup, delete/recreate ext4, then restore to resize the Storage partition
  80. [*]Windows: An alternative solution is to boot a Linux "LiveCD" and then use gparted
  81. [/list]
  82.  
  83. Alternatively, if you have a Linux system available and are creating a fresh SD installation, [url=http://forum.kodi.tv/showthread.php?tid=224025&pid=2038580#pid2038580]manually creating the partitions[/url] may be a quicker option (the linked instructions will create a 512MB FAT partition).
  84.  
  85. Starting with OpenELEC 6.0.1, disk image installations will now create a 512MB FAT partition although this will wipe all existing data - use the backup/restore procedure to save existing data.
  86. [hr]
  87. [*][b]Amazon Prime / Netflix / inputstream.adaptive[/b]
  88. Amazon is working working (as of 03 July 2017)
  89. Netflix is currently working (as of 29 Jun 2017)
  90.  
  91. These builds include the inputstream.adaptive addon, which is enabled by default.
  92.  
  93. With inputstream.adaptive it is possible to view Netflix and Amazon Prime content. To do so, you will need to install the libwidevinecdm.so library:
  94. [code]
  95. curl -Ls http://nmacleod.com/public/libreelec/getwidevine.sh | bash
  96. [/code]
  97.  
  98. Amazon Prime addons (valid Amazon Prime account required):
  99.  
  100. https://github.com/liberty-developer/plugin.video.prime_instant
  101. https://github.com/phil65/plugin.video.amazon65
  102.  
  103. Netflix addon (valid Netflix account required):
  104.  
  105. https://github.com/asciidisco/plugin.video.netflix
  106. [hr]
  107. [*][b]LibreELEC Settings add-on Development Updates[/b]
  108. For these builds since #0612, enter a URL into a Custom Channel, selecting from the following URLs based on your hardware:
  109. [code]
  110. RPi Zero/RPi1: http://milhouse.libreelec.tv/builds/master/RPi
  111. RPi2/RPi3: http://milhouse.libreelec.tv/builds/master/RPi2
  112. Generic (x86): http://milhouse.libreelec.tv/builds/master/Generic
  113. [/code]
  114. then select "Milhouse-9.0" as the Update Channel (or "Milhouse-8.0" for builds before #0202).
  115. [hr]
  116. [*][b]Clean builds - what are they?[/b]
  117. There are two ways to build LE: a "clean" build, where everything (every package) is built from scratch - this takes 2.5 to 3 hours - or there's an "incremental" build where only the packages that have changed from the last build are re-built - this is much quicker, usually 10-15 minutes depending on the number of packages that have changed.
  118.  
  119. Obviously "incremental" builds are the preferred method since they're so much quicker, however there are consequences when packages have inter-dependencies and only some of those packages are changed (and thus rebuilt) which may result in unpredictable results at run-time. For this reason, every now and again it's a good idea to "clean build". Also, when there are a large number of core packages being updated/bumped it's also a good idea to "clean build" since the likelihood/risk of inter-dependency is so much greater.
  120.  
  121. I'll sometimes make a point of mentioning in the build highlights when a build is of the "clean build" variety, mainly so that I remember this if/when I come back to this build for any reason in another 6 months time... Note that I won't always do this as I'll sometimes forget to mention it, so the lack of any reference to "clean build" should not be taken as confirmation that the build is incremental.
  122. [hr]
  123. [*][b]Uploading debug logs[/b]
  124. Without a debug log there's often no way to investigate a problem, and you can expect your bug report to be ignored as a result. This is the easiest way to upload a debug log:
  125. [list=1]
  126. [*]Enable debug logging. If this is not possible in the GUI (because Kodi is crashing) then add the following to /storage/.kodi/userdata/advancedsettings.xml:
  127. [code]
  128. <advancedsettings>
  129. <loglevel>1</loglevel>
  130. </advancedsettings>
  131. [/code]
  132. [*]Reboot, so that debug logging is in effect from the very start of Kodi
  133. [*]Reproduce the problem
  134. [*]Using ssh connect to LibreELEC (username: root, password: libreelec)
  135. [*]Execute the command:
  136. [code]
  137. cat /storage/.kodi/temp/kodi.log | pastebinit
  138. [/code]
  139. then paste the resulting url to the forum
  140. [/list]
  141. Debug logging is enabled in Settings > System Settings > Logging > Enable debug log. Sometimes component-specific logging may be useful depending on the issue.
  142.  
  143. Do NOT upload the log itself to the forum! Always us a pastebin-type site (or dropbox/googledrive if you have to compress the log).
  144. [hr]
  145. [*][b]Game Emulators[/b]
  146. Access games via Internet Archive ROM Launcher (IARL):
  147. [list=1]
  148. [*]Download [url=https://github.com/zach-morris/repository.zachmorris/raw/master/repository.zachmorris/repository.zachmorris-1.0.0.zip]Zach Morris Repo[/url] and install from zip (don't use "Install from zip file" Home screen widget - use Add-ons > Add-on browser > Install from zip file)
  149. [*]Install from repository > Zach Morris Add-ons > Game add-ons > Game providers > Internet Archive ROM Launcher
  150. [*]Within IARL, install emulators, launch games etc.
  151. [/list]
  152. [hr]
  153. [*][b]Odds and sods[/b]
  154. [list=1]
  155. [*]What are newclock3, newclock4 etc.? [url=http://forum.kodi.tv/showthread.php?tid=192380&pid=1786961#pid1786961]Link[/url].
  156. [*]A selection of addons are available [url=http://milhouse.libreelec.tv/builds/addons]here[/url]
  157. [/list]
  158. [/list]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement