Posts by chewitt

    The image you downloaded is for eMMC install. It will not boot from an SD card unless the eMMC has been wiped. If you want to keep Android or some other Linux on the eMMC you can use the "box" image, edit the dtb name in uEnv.ini first. Once booted from SD, you can use "emmctool" to write the other emmc image to the internal storage.

    It's not possible to build from local source folders, it's just not how the build-system was designed to work. I use the following script to automate the process of generating a patch-set from the committed changes beyond a specific githash that typically corresponds to a release tag. This way I can tweak things like device-trees in a kernel branch, commit the changes, then swap to another terminal window where I run the script to update the patches, and then I respin the image with changes. This is probably as-fast as fidddling with sources, and forces me to commit/squash and rebase changes in a more structured way. See:

    The LE settings add-on checks for updates against update.libreelec.tv which is on 46.101.13.226 which also hosts our main website, and PTR records for that server are probably wrong or out of date. Kodi uses add-ons (so you're using some, even if you don't use add-ons) and Kodi will redirect checks all over the place based on mirrorbits redirection so you will always see some "random" connections.

    Connection configuration data is stored in /storage/.cache/connman/ but you should change configs through connman (connmanctl) as it manages those files and will probably overwrite any changes that you make. If you do want to manually edit, stop connman.service first, edit, then restart. You'll discover that SSID and passphrase data are base64 encoded so you cannot simply type new details in.

    1. Correct, it changes the behaviour of firmware which results in more power draw (which increases heat).

    3. "mount -o remount/rw /flash" will remove the ro block on the boot partition. It and /storage are the only persistent writeable areas of the filesystem, as everything is inside a squashfs compressed file SYSTEM that's expanded on each boot, or the KERNEL file.

    We don't use /etc/fstab which is why it's blank and you cannot edit or override the file. It only exists because some other Linux plumbing looks for it and craps out when it doesn't (even if the file is blank). We use udevil for mounting and it's possible to override our default udev rules if you want to (use a file with the same name in /storage/udev.rules.d). I guess when all the upstream sources adopt noatime we'll acquire the same change. Until then, we'll stick to the accepted defaults.

    LE currently implements exFAT via FUSE which runs in userspace and so is rather slow. In the near-term future LE10 will probably bump to newer kernels which now have the new/official Microsoft exFAT driver implemented (Linux 5.7 IIRC) so the driver runs in-kernel and should be an order of magnitude faster to use; performance should be on-par with other in-kernel drivers like the VFAT drivers we use for FAT16/FAT32.

    ConnMan checks ipv4.connman.net on boot to see if it's online or not. If the network is online Kodi will then start and numerous Kodi add-ons will check for updates by making a request to a Kodi URL which will redirect to a mirror hosted by one of 30+ independent mirror sites. Kodi uses mirrorbits which will geolocate your IP and recommend a server near to you, but you have no control over which one. The LE settings add-on will also start and check our infra for updates. This request is fulfilled by our infrastructure but if you choose to update the request will be redirected to one of our mirror sites and mirrorbrain will redirect you - and you have no control over which one. Individual add-ons that you install may also check for stuff.

    Both LE and Kodi devs are quite security conscious, but we're also a simple client OS designed for watching TV so security is a deliberate and measured compromise around ease-of-use and we're not attempting to be the most seure device possible (as that OS is a pain in the arse for noob users to work with). TL/DR; If you don't trust LE/Kodi .. place it in a separate VLAN on youor network and implement firewall rules to prevent it reaching other devices.