Posts by CCob


    CCob's is noticeably different from our version (It seems you and I both have M8 V9_1), notably that the wifi chip and antenna are soldered to the exposed side of the PCB, whereas ours has only the solder traces for the chip and the antenna soldered to the opposite side.

    Yea, mine seems to be an older revision. Although surprised that the stock firmware for your board works just fine on mine, especially the Android graphics which I believe works over EGL using SurfaceFlinger though. So I suspect the breakdown is somewhere between EGL<->directfb since this is where the graphics stack on Linux differs to Android.

    I have compiled LE with yours .dtd file, you can try with THIS version.
    Files are uploaded

    Thanks for your help on this, but still no joy. Piece of crap Chinese clone. Kodi doesn't seem to start but can't confirm if it's exactly the same problem as the console over COM is not enabled.

    I'll have to get a build environment setup for your code base and add further tools into the image to try and debug EGL under framebuffer.

    Thanks again


    Meanwhile You can try THIS version, it is first working LE on my box. Just to test if there is problem because of 4k resolution suppport configuration in .dtd file.

    Hi,

    Tried downloading an OneDrive reports and no longer available. Flashed your version of u-boot, still no joy. u-boot is fine and boots LibreELEC os but still can't start Koid.

    Thanks for you time one this.

    Haven't flashed your Android image yet, I'll do that next.
    [hr]

    Hi,

    Tried downloading an OneDrive reports and no longer available. Flashed your version of u-boot, still no joy. u-boot is fine and boots LibreELEC os but still can't start Koid.

    Thanks for you time one this.

    Haven't flashed your Android image yet, I'll do that next.

    Your Android stock image flashes just fine too with WiFi working as expected. So it does appear to be something to do with the LibreELEC image. Perhaps the 4k patches. I'm currently connected to a 720p monitor right now.


    Identical to mine, other than mine is an October 15 build and yours is a September 15. Do you have your u-boot.bin at hand so I can flash yours?

    Are you sure that this board have bcm4335 Wi-Fi
    chip? (My box have Wi-Fi chip on back of board) Does Wi-Fi works when you flash original Rom?
    This boards are usualli n200 or n200c.
    Did you try Flash with THIS LE build from Kerber?

    I'll give that a try. I know the only u-boot that has worked for me so far is m8m2 n200C v1, a k200 flash of u-boot doesn't work at all and I need to use a boot-able USB and burn the n200c one back
    [hr]

    Are you sure that this board have bcm4335 Wi-Fi
    chip? (My box have Wi-Fi chip on back of board) Does Wi-Fi works when you flash original Rom?
    This boards are usualli n200 or n200c.
    Did you try Flash with THIS LE build from Kerber?

    Yes, wifi works with stock ROM. Found the update app in android now, feel like a right tool. Was pressing across to look for other apps not down.
    [hr]
    Same result using Android Update app unfortunately. I'll try the Kerber build now
    [hr]

    I'll give that a try. I know the only u-boot that has worked for me so far is m8m2 n200C v1, a k200 flash of u-boot doesn't work at all and I need to use a boot-able USB and burn the n200c one back
    [hr]

    Yes, wifi works with stock ROM. Found the update app in android now, feel like a right tool. Was pressing across to look for other apps not down.
    [hr]
    Same result using Android Update app unfortunately. I'll try the Kerber build now

    Kerber build doesn't even load the kernel, I get this from serial output

    Seems it doesn't match any dtb's, only has the 2G variants available. Even though mine is 2GB, kernel crashed when u-boot is configured to advertise 2G so it onlt advertises 1G now.
    [hr]

    I'll give that a try. I know the only u-boot that has worked for me so far is m8m2 n200C v1, a k200 flash of u-boot doesn't work at all and I need to use a boot-able USB and burn the n200c one back
    [hr]

    Yes, wifi works with stock ROM. Found the update app in android now, feel like a right tool. Was pressing across to look for other apps not down.
    [hr]
    Same result using Android Update app unfortunately. I'll try the Kerber build now
    [hr]

    Kerber build doesn't even load the kernel, I get this from serial output

    Seems it doesn't match any dtb's, only has the 2G variants available. Even though mine is 2GB, kernel crashed when u-boot is configured to advertise 2G so it onlt advertises 1G now.

    Can you send me a dump of your u-boot.bin, so I can match that too?

    It is already included in stock ROM.
    please watch this video (ignore download links and watch from 3:10 - 6:15)

    Interesting, my stock android doesn't look like the one in the video nor have that app installed. The boot logo shows MediaBox with the following main UI, but full app list doesn't contain the app in the video.

    I'll follow up when I can with photos of the board, but it has "M8 v8_6 20150820" as a board marking. It is definitely an M8S though as I took the heat sink off to check the chip and it's a S812

    I'm not sure if this will be useful to your situation but I installed LE using TWRP recovery.
    You have to rename the above linked file to recovery.img and copy it to an SD card and then boot into the TWRP recovery using the toothpick method.

    On a separate USB flash drive I unzipped Begicj's linked LE zip, which should put 2 files on said drive:

    • LibreELEC-Amlogic.arm-M8S-7.0.2-update.zip
    • factory_update_param.aml


    Once you're in TWRP recovery, install the above .zip that you copied to your usb flash drive.

    Nope, no joy using TWRP either. The original android recovery and TWRP seem to flash the image just fine. LibreELEC even boots the main OS and I can access the console over the serial port from the board, it's just that Kodi iteself fails to start and continues to fail with the following error

    Code
    00:06:31 T:3041833536   ERROR: EGL error in InitDisplay: 3003
    00:06:31 T:3041833536   ERROR: InitWindowSystem: Could not create display
    00:06:31 T:3041833536   FATAL: CApplication::Create: Unable to init windowing system

    You should use recovery app from Android.

    Is this something I can get from the google app store or is it supposed to be bundles with the stock ROM? Any chance of an APK link?

    Thanks.
    [hr]

    I'm not sure if this will be useful to your situation but I installed LE using TWRP recovery.
    You have to rename the above linked file to recovery.img and copy it to an SD card and then boot into the TWRP recovery using the toothpick method.

    On a separate USB flash drive I unzipped Begicj's linked LE zip, which should put 2 files on said drive:

    • LibreELEC-Amlogic.arm-M8S-7.0.2-update.zip
    • factory_update_param.aml


    Once you're in TWRP recovery, install the above .zip that you copied to your usb flash drive.

    Thanks, I'll give this a try next after flashing directly from android.

    Did you tried install Android firmware? then from Android install LIBREELEC...


    OK, solved that problem by formatting /data partition from recovery. So now I get past initramfs stage and the LibreELEC system starts. Unfortunately kodi is stuck in a startup with the following log. Seeme the EGL init display fails with an error then eventually kodi crashes with a SIGSEGV.

    This is excellent. This is the closest I've got to getting LibreElec installed on my crappy M8S clone. I've been compiling custom versions of U-Boot to attempt to get 2GB of memory but as you have stated, kernel always fails to boot and panics.

    I'll have to live with 1GB.

    I've flashed so many different firmwares and whatnot over the last 12 months I might have got the partitions into a bit of a state. The LibreELEC splash screen load and the kernel loads fine (watching serial console) but it fails to mount one of the file systems with the following error

    Error in mount_storage: mount_common: could not mount /dev/data

    Any idea?S