Posts by GWR


    There was a change in AP6212 firmware that might have broken something. Unfortunately

    Does the new build (20161201...) incorporate this changed firmware? Tried it and wifi connected but no ssh etc possible.


    Is there a simple way to update the file on my own - so I could play with various revisions?
    If so: from where to get/build and where to store it?


    bye
    Ron


    Can you please try 7.0.2.008 build?

    Et voila... reformatted the card with your 008-build, connected to my AP and wireshark came alive fetching dozens of packets. Successfully SSHed into the box and yep.
    Works ...
    Edit1: ok ... stopped working after a very short period (ssh does no longer respond, addon-updates stay at 0%)

    Edit2: So I tried a bit more: disconnecting the wifi, disabling/enabling wlan0 etc: for the first time it "repaired" it: was able to ssh in the box, kodi fetched the right sytem time (time zone etc from AP). But I was not able to reproduce it. I then restartet the whole box (real power-off with AC disconnect) and after startup it worked again ... for some seconds until it became more and more sluggish. Within the SSH console I checked "top" whether the sluggishness came from high cpu load... nope, kodi.bin <50%. But using "cursor up" for "last command" sometimes took 2-3 seconds, or even did not react at all. Retrieving a samba share somehow failed - maybe because of the veeeery low connection speed.

    Edit3: I measured connection speed via "scp" and sometimes I get
    Upload speed: 1440.19 kB/s
    Download speed: 1885.92 kB/s
    sometimes
    Upload speed: 272.37 kB/s
    Download speed: 1449.15 kB/s
    and sometimes it just times out

    Download speed (= from box to my computer) staying > 1400kB/s which far away from the possibilies for a "next room AP" but more than the opposite direction)

    This makes a driver bug more and more likely to be the source.

    Just for personal interest: this are the SCP speeds via the 100mbit lan connection:
    Upload speed (to box): 10607.92 kB/s
    Download speed (from box): 2321.63 kB/s

    via lan the speed-limitations are in the other direction ... odd ;)

    I also replaced the dtb.img file with mine as the other one failed to play videos (I only tried a 20mb mkv over smb share - which buffered 3-4 seconds and played for one minute before it "stopped" playing inbetween - playing it again finished the 2 minutes. Dunno if there is another "problem"...)

    So I think it "works" but with a really non-constant transfer rate.


    My remote has more keys than configured in the android-firmwares "remote.conf" (they ignore the "color buttons" and "numbers"). If there is interest I would use irrecord to fetch the data so the remote.conf would be complete).

    It looks like this (ok, the "circular part" is split on mine, but keys and arrangement are the same)

    Thanks for your fast reply.


    I would not worry about "slow wifi" if it was slow - but it just does not do something "data transfer" wise (no incoming packages from that device seen in wireshark Wireshark of my computer receives "airplay" packages from the device)

    - it works when booting from android (accessing samba shares, retrieving data from internet)
    - it does not allow a communication when booted LE from the sd card

    So I assume there is something borked. Maybe driver is not working as expected? Or a setting is incorrect (no "power").


    Edit:
    - as mentioned I can see broadcasted "airplay" packages via wireshark, box also announces host to LAN (but not accessible from outside)
    - webpage via ip:8080 is not reachable
    - ssh'ing into the box is not possible (timeout)
    - I extracted my boxes boot.img and via "split_bootimage.pl" I splitted apart the dtb.img file, replaced the one of boot medium and tried that - without changes (if interested it in: its a ~80kb file but I was not able to "dtc" it as the magic numbers failed)

    plugging in the lan-cable (possible until the device moves to my parents at christmas ;-)) makes everything reachable via the LAN-IP. So it is a direct matter with the wifi-chip/connection/setup and no "samba issue" or other misconfiguration

    Wired worked as supposed.

    A pity I already updated to the last available firmware (it fixed CEC bugs).

    Meanwhile I installed mitmproxy on my box and redirect https traffic to my main computer. Now the OTA data traffic is just returning a "nothing new found" instead of a firmware-download link. But maybe the "mid" (the id of the device on that platform) helps to see if someone has the same device.


    Ignore above - was from my s905x-device (happens if you want to do things for two devices). The S812-box has no root which makes it more difficult to play with.


    Regarding dtb - I tried to extract the "boot.img" by fetching the newest firmware and extract from there. Now it sounds as if you tell us, this wont help as the u-boot does not support custom dtb.img files on the sdcard? Did I understand that correctly?

    I run that "Beta"-Image on a S812 2gb-Ram/8gb-Flash device:
    - remote did not work
    - wifi has no "data-transfer" (lan, internet) but is able to connect to the router and gets IP / DNS-IP-Assignment / ...
    - RAM was recognized as "of 1785 mb" or so (not 2gig)

    for the remote I extracted it from the android firmware (/etc/remote.conf -> usb-stick, works without root). After putting that file on the "LE-stick /storage/.config/remote.config" the remote worked within Kodi.

    For Wifi I am a bit clueless:
    - wifi/40183/fw_bcm40183b2.bin seems to be the binary blob for the wifi chip - and this file is very known to some libre/open-elec code repositories, I just do not know if it is contained in your image


    Just to have it stored "online" and maybe someone is searching it - the remote.conf for the "skykirin remote" (seems to be the internal name from the devs).


    Tell me if I could help out somehow to make Wifi work.

    Hi,

    I just tried the most current 7.90 build and the 7.0.2 build on my parents christmas box (s905x). I did not need to copy a custom dtb.img (I tried, but problems stayed the same).
    No installation was made (nand), just booted from microsd.
    RAM (2GB) were recognized, no odd cpu core usages, ...

    During "Initial Setup"-phase I selected my Wifi and entered my passphrase. Then an error popped up at the bottom, saying it got no response. The wifi list refreshed and correctly displayed an assigned DHCP-IP.
    Also the LibreElec "Network"-information-panel displayed this IP, also subnet and DNS IPs were correct.

    But I was not able to reach my LAN (eg. samba shares) nor WAN (addon updates). My other computers were not able to reach the box' IP (via SSH). Plugging in a lan cable made it get assigned another IP - which is reachable by my computers, also LAN access is possible again.

    I tried that autostart.sh-thing (it also executed without errors) but after restarts the Wifi-option in LE went missing - so I assume it wasn't the right thing to do.


    dmesg of the box mentions this:


    So it seems as if the driver which is selected, is not perfectly fitting to the one of the hardware in the box. While others had "BT and Wifi"-problems I just tried BT and it paired without any trouble with my Smartphone.

    Any suggestions how to narrow down the bug - and how to bring wifi to function?


    Ah... and as I am just posting: CEC was recognized correctly, but remote of my TV still controlled the TV instead of the box. In my test with 7.0.2 this was working as intended. (edit: now it is working again... hmm, will observe that a bit).

    Edit:
    This is the dmesg-part when enabling wifi again and connecting to one of my routers.

    Interesting here: it does some "country" things and fails there. "CN" - I am not from China nor from the "US". I also tried to change "language" to "German" but it just takes a while and stays at "English" (edit 20:13 - tried it again and seems it was a server issue, interface changed to "German" - but this of course did not get rid of the wifi bug).

    I know that the "country settings" define the power used for transmitting (in Germany we have different maximum values than other countries) but it should not really stop data flow over wifi.


    Edit 2 (22:51):
    I extracted some files from the android-firmware - and had a look at the files of the system. For Wifi I am not sure what chip they use:
    - wifi/RT2870STA_7601.dat and RT2870STA_7603.dat seem to be for "Ralink RT2870"
    - wifi/various-numbers-Directories/fw_bcm4339a0_ag.bin or fw_bcm43455c0_ag / fw_bcm43241b4_ag ... seem to be related to "Broadcom chips"

    I cannot tell which one is finally used. Is there an "easy to follow" way to add new chip drivers/modules to the LE installation (stored on a micro-sd) to test them out?
    Maybe I could "copy" some of the config files from android to LE ?

    There was no build.prop but a default.pro contained "ro.bootimage.build.fingerprint=Amlogic/p212/p212:6.0.1/MHC19J/20161013:userdebug/test-keys" which isn't really helpful identifying the "product/model" - so I have to trust it to be a "(Plater) Mini M8S II".


    Thanks in advance,

    bye
    Ron