Posts by kszaq
-
-
kostaman I think I might have identified a small bug in libcec that can be causing CEC disconnection notification and no CEC until Kodi restart/box reboot. Can you please test this build and tell me if there is any improvement for you:
thermal-test-02-libcec-testFrom previous test build I changed CPU governor from ondemand to interactive to boost performance a bit. Now that thermal levels are working for everyone I think we may try switching to it.
-
sonofdibnah Midnight63 bobones Thank you for reporting. I have a 7.0.1.4 build ready with improvements from test build included, I hope the test build works fine for you. Waiting on your feedback!
PatrickJB Yes, I've also noticed the LE Settings glitch and at first I thought it is related to new compile flags I used... but it also does that with old settings. Since it's a minor bug and only in LE Settings (which we don't use that often, do we?), I don't care much.
kostaman Thanks for reporting. I think that CEC-related issues your experience are specific to your TV model, at the moment I'm out of ideas on how CEC driver can be improved... you may want to try using libcec-daemon, there's a quick guide by sammaz on previous page of this thread. You have to note that some keys work differently with daemon and need to be remapped.
-
Thx for the hard work
Question. I reverted from OE to Android in order to verify that the issue i had with my mxq (spdif not working) was not because of OE.
Then flashed back to OE (now i see the MXQ symbol at start-up) on nand.
Tried to flash LE to nand using the toothpick method, but with no luck.
Pressing the reset and plugging the power i see the mxq logo and after 10 sec the screen goes blue
I managed to upgrade to LE the regular way with .tar file.
Any suggestions?Try to boot your box without SD card in slot and with toothpick inserted. Does it boot to recovery? If not, you have a wrong recovery image installed on your internal memory and it has nothing to do with my OE/LE releases as they don't modify recovery for some time now.
Thanks kszaq. I've just tried this on my box (tar update), which had been running 7.0.1.2 MXQ port just fine, and it locked up quite a few times just navigating kodi menus. Box is a Sumvision Cyclone X4, but I can find out more details later if you let me know what information will help.Please try running this version: thermal-test-01
I have modified thermal management a bit and would like to see if it fixes your issue.
Can you also post a log from any LE/OE version? It needs to be collected after a "fresh" boot, i.e. plug out power, plug in and boot. Thanks.
-
7.0.1.3 7.0.1.3
Commits from 7.0.1.2 to 7.0.1.3: Comparing 7.0.1.2...7.0.1.3 · kszaq/LibreELEC.tv · GitHub
Kernel commits from 7.0.1.2 to 7.0.1.3: Comparing 9d4e014...83ba060 · kszaq/linux · GitHubChangelog:
- added support for Realtek 8723BS Bluetooth
- reverted NAND driver to previous version
- turned off Realtek WiFi driver debugging
- more stable system: applied thermal and power management improvements from OSMC with some fixes from me
- more performance: switched default CPU governor to ondemand which is now stable thanks to thermal management improvements
- allowed to put remote.conf in root SD card folder for easier first-time installations (idea inspired by OpenElecCrazy 's need
)
- Kodi improvements:
- added local system buffering to avoid video-audio desync when resuming video and source needs to wake up
- added special compile flags to bump interface and SW decoding performance a bit
- minor build tree improvements
Known issues:- V3_1 board cannot wake up from suspend/power off by pressing remote power button (u-boot bug)
- 29.97 progressive videos may stutter
- sometimes CEC may not work
- power LED on not officially supported boxes may not work as intended (too many boards to support them with a single build)
- no HD-Audio passthrough and multichannel audio output
- DVB support is experimental, some USB DVB tuners don't work at all
An extra note: with this release reported CPU temperature may be a bit higher due to a small change in calibration code - this is nothing to worry about. -
BT and Wifi are working well on this build also. Thanks again!Thank you for testing. I think this will be the 7.0.1.3 build.
-
For Bluetooth you may try changing tty port to ttyS1 here: brcmfmac_sdio-firmware@.service#L3
-
mwp1 sammaz Thanks for testing and I'm glad that it finally works! Can you please do a one more test for me, confirm that both WiFi and Bluetooth work in this build: le_8723bs_bt_test_02
I made a small clean-up for 8723BS drivers and need to confirm that they still work before pushing changes to release build. I don't have a 8723BS device so I rely on you with this.sammaz Thank you for posting instructions for libcec-daemon. I'll soon include a README of some sort.
mwp1 You have to keep in mind that with libcec-daemon key mappings are different than defaults in Kodi. I did not have time to look into key mappings yet. For PS4 controller, as far as I know game controller support has been added for Kodi 17.
OpenElecCrazy Have you had a chance to test 7.0.1.2 build with SSV6051Q WiFi? There is a small difference between the last test build I made for you and 7.0.1.2 release, it might work this time.
-
I can see that you figured out sound and 4k patches.
For power off and suspend how this works depends partly on bootloader. You can try using this patch: LibreELEC.tv/add_meson8b_power_off.patch at libreelec-7.0 · kszaq/LibreELEC.tv · GitHub Remember to change every "meson8b" to "meson8".
As for CEC, does it not work at all? You'll always see some write errors at the beginning as they appear during polling process. Afterwards they should disappear. If CEC does not work at all, make sure that it works in Android, you may have to use a different HDMI cable if it doesn't.
I don't think I can accept your pull request as I don't have resources to build for S802 devices nor means to test the builds. You are very welcome to provide project-wide patches.
-
-
Poida I understand I'm still wainting for the manufacturer to reply me with u-boot source code. The one from Amlogic FTP refuses to boot on V3_1 board.
[hr]
A request to people with Realtek 8723BS chip: can you test if Bluetooth works with this build: le_8723bs_bt_test_01 -
Actually I do use mkbootimg. I changed build script a bit to be able to build kernel images with different device trees without recompiling kernel image:
Add multi-dtb support for Amlogic devices · LibreELEC/LibreELEC.tv@2dfddd6 · GitHubThe difference is that mkbootimg is executed every time you create system image and not when kernel image is built.
-
Here are all the differences: Comparing codesnake:amlogic-3.10.y...kszaq:amlogic-3.10.y · codesnake/linux · GitHub
-
Poida I don't think you can turn off HDMI right now but you can use systemctl suspend to suspend the box.
-
A small update on V3_1 board: I managed to find a USB Burning Tool image that shows 1GB RAM in u-boot but unfortunately neither Android nor LibreELEC boot with this image. This could be another sign that this board has only 512MB of usable RAM.
@Runblefish: Thank you for the logs you sent me. Unfortunately there is nothing about your tuners in the log and this needs further investigation. I need you to provide me a copy of kernel and kernel modules. If you have a link to Android firmware, that would be the best. If you don't, you can provide me appropriate files by logging over SSH to LE and doing the following:
Codemkdir -p /tmp/system mount -o ro /dev/system /tmp/system find /tmp/system -name \*.ko | xargs tar cvzf /storage/downloads/modules.tgz dd if=/dev/boot | gzip > /storage/downloads/boot.tgz
You'll find files I need in "Downloads" shared folder.As for remote control, I'm planning on adding some additional key mappings to Kodi so that people won't need to remap their remotes that much.
I'm quite busy with life stuff so things will go a little bit slower than usual.
[hr]
sammaz Here's libcec-daemon compiled from the repository you linked: tools.libcec-daemon-7.0.2.zipI noticed that it doesn't map all the buttons needed. For the time being please confirm whether it works or not for you.
-
Thank you for clearing up, kszaq.
It must have been something else that went wrong.
I'll look for solutions elsewhere.The best thing would be to get original Android firmware from the manufacturer... which is very hard, unfortunately.
-
Rumblefish: I've sent you a PM few days ago, but I'll post this for others to see: for the remote.conf issue you posted (that you want to have out-of-box working remote) I can make a change in my next build so that you'll be able to copy remote.conf to root folder of your SD card without a need to modify the whole image. I think that'll be easy and convenient.
If you want to repackage a current build you need to:
- mount SD card image
- unpack SYSTEM image with unsquashfs
- copy your remote.conf to /etc
- repack SYSTEM image with mksquashfs
All of this needs to be done in Linux.As for DVB tuners, you need to have kernel driver source code so that I can compile them in. There is no way to download the driver somewhere from the Internet and I'm afraid that binary driver extracted from Android won't work. The best thing you can do is to grab logs from LibreELEC so that I can see what tuners you have.
Hi,This is an awesome work!
I flashed my Black MXQ S805 m201c with this firmware using NAND "toothpick" method.
I'm very impressed with the speed of this firmware and the low memory usage.
However, I'm not ready yet to move to full Kodi, I need Android back.I tried to revert back Android firmware using SDRAM "toothpick" method but failed.
Constant blue light but no display.
Before LibreElec, I tried OpenElec successfully and flashed back Android using this same firmware with no problems, so I know I have the correct Android firmware for my device.
I flashed back LibreElec and it's back to live, but I noticed the "MXQ" boot logo and "MBOX" boot animation are gone.I noticed the aml_autoscript that comes with LibreElec.
I'm not sure, but I think it changes the bootloader on the NAND, disabling the Android boot.Codesetenv bootfromnand 0 setenv bootfromsd 'if test ${bootfromnand} = 1; then setenv bootfromnand 0; saveenv; exit; fi; if test ${reboot_mode} = switch_system; then exit; fi; if mmcinfo; then if fatload mmc 0 ${loadaddr} kernel.img; then setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi' setenv bootcmd 'run bootfromsd; run storeboot' setenv cecconfig cecf setenv reboot_mode normal saveenv
How can I flash Android back to my device?
I don't have any TWRP backup, if someone here can provide a backup would I be able to restore Android back?Thanks in advance.
Device Detail
MXQ S805 m201c
Board Model : MXQ-S805_D08 Ver:1.0 DATE:151221A few things to clear up:
- my OE/LE builds do not modify bootloader - aml_autoscript modifies u-boot variables to allow booting from SD card and this can be losslessly reverted at any time - this change is not permanent
- in OE/LE there is no "MBox" animation
- the reason for "MXQ" logo not showing is not connected to OE/LE
I found a branch of libcec-daemon that shows as working well because it links itself also as a keyboard...That will make it more universally suppported :
GitHub - diablodiab/libcec-daemon
Shown in this video he has it working on RPi...so i think it will work for us.
my-setup-and-perhaps-some-inspiration-for-new-recalbox-functionality
Can you try to compile a new version using his sources?
I'll give it a try later today.
-
Basically what you need to do is:
- modify project options for cortex-a9 and neon-fp16
- choose correct device tree in device options for your device
- modify kernel config for S802
For hints you can look at Codesnake's OE repo: GitHub - codesnake/OpenELEC.tv: Port of the OpenELEC for Amlogic-based TV boxes