Poida I don't think you can turn off HDMI right now but you can use systemctl suspend to suspend the box.
Posts by kszaq
-
-
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
-
A new build for you to test, a bit experimental one. I'm now leaving for 4-5 days, I hope you can get me some feedback by the time I am back.
WARNING: NAND users are strongly advised to backup their LE settings to an external drive in case new NAND driver fails! If the new release doesn't boot, here's what you can do to revert to 7.0.1.1 without wiping data:
- prepare SD card for NAND installation
- delete factory_update_param.aml from SD card
- boot to recovery using "tootpick" method
- flash the ZIP file from SD card
7.0.1.2 7.0.1.2
Commits from 7.0.1.1 to 7.0.1.2: Comparing 7.0.1.1...7.0.1.2 · kszaq/LibreELEC.tv · GitHub
Kernel commits from 7.0.1.1 to 7.0.1.2: Comparing 9bf155dcbb...9d4e014 · kszaq/linux · GitHubChangelog:
- added SSV6051Q WiFi driver (not usable yet)
- updated NAND driver to latest Amlogic release
- turned off CEC debugging by default
- updated m201d device tree to closely match stock
- added a bunch of new Kodi patches for testing from Wrxtasy's Odroid build, Koying's SPMC, Popcornmix RPi build and Christian Troy's WeTek tree:
- fixes CPU usage reporting for turned off cores
- simplified display mode handling
- added High Quality GLES scalers
- added YADIF 2x deinterlacing for SW-decoded videos
- added a setting for configuring CEC button repeats
- added a patch to speed up thumbnail loading
- added a patch to lower stuttering when opening menu while playing video
- added a proper fix for skin settings not being saved
- added a caching patch when video and audio are starving
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
-
Was something in the logs?Not really unfortunately, except for lots of ffmpeg audio decoder "stutter" logs. We'll se if it's better with the next release. If not, we'll dig further.
-
thanks for pointing me to the right forum.
placebo? So no differences in the 2 version ?Yes, WiFi driver-wise they are the same.
I don't think you can downgrade from 6.95.3.1 to 6.0.3.8 without data wipe. And I recommend switching to my LE builds.
-
I need to cleanup my working tree a bit and I'll post a build for you all. I'm leaving for 4 days tomorrow and I hope you can provide me some feedback on it.
-
You are right, maybe I choosed the wrong one.
Is kodi creating one everytime I play something?
When will the zip be created?This time I checked it before uploading.
Played a few streams after another. (just for max 30 sec.)
for example the last one was stuttering until sec. 20.
the one before wasn't stuttering at all, BUT! the kodi navigation/notification sounds. (WI stopped the stream everytime, no playing in backgorund).
I discovered, if the kodi sound is ok, then the stream will stutter. IF the kodi sound stutters, the stream will be okay.Can you try:
- enabling "Adjust display refresh rate to match video" option in Kodi (Settings/Videos - Official Kodi Wiki)
- changing maximum sampling rate for sound output to 44.1 or 48 kHz
I also have some Kodi patches from wrxtasy coming for the next release that fix some sound issues.
-
Sorry, I thought it would end the latest log and I would have the complete one for uplodad.This one should make it.
Deleted the xml, too.
The sound stuttering is sometimes only a few seconds, like now.
Sometimes up to 22 sec (last time).
Sometimes even no stuttering at all.Either I'm looking at your logs in a wrong way or there is no sign of playing anything in it.
-
1. Placebo. WiFi drivers and kernel stack is identical in 6.0.3.8 and 6.95.3.1.
2. There is a dedicated OE thread on other forum: [ROM] Unofficial OpenELEC for MK808B+ and MXQ - FreakTab.com Here we discuss only LE builds.
-
Okay, after double checking the network adapters ...
Both are no real 100mbps adapter. I have fallen for false advertisment.Because of the sound stuttering if I start a stream, I have created a short log.
Starting device, starting stream and restarting device.My advancedsettings.xml @ \storage\.kodi\userdata
Code<!-- Created using Easy Advanced Settings addon --> <advancedsettings> <network> <buffermode>1</buffermode> <cachemembuffersize>209715200</cachemembuffersize> <readbufferfactor>4.0</readbufferfactor> </network> </advancedsettings>
Made another log with audio and ffmpeg logging. (If I done it right)
- Please don't restart after reproducing your issue. The log is emptied on every reboot, I have no use of empty log. Instruction clearly says to reboot only before reproducing the issue.
- Remove your advancedsettings.xml and try again.
-
OK €5 from me for starting on the S905Thank you but as I said: no promises at all. Let's say it's for a coffee.
And one thing: don't buy any boxes from GearBest.
[hr]
I never created logs with kodi before.
Do you need the full log from bootup till "end"?
Or is it enough to use ssh and create the log just before pluggin in the adapter and playing the video? (same for wifi)Everything is said in the first post. First reboot the box, reproduce your issue and collect logs. Thanks.
[hr]
Hi,what is the path for my advancedsettings.xml?
Probably not the same as in openelec...
# find / -name advancedsettings.xml
/usr/share/kodi/system/advancedsettings.xmlBut this filesystem is read-only...
It shall be put in /storage/.kodi/userdata
[hr]
kszaq: Great job!!!I installed your latest LibreELEC-Version on a MXQ S805 with the red stripe and nearly everything works perfect.
Although I know, that the DVB-Support for this Amlogic-Devices is very poor because of the old Kernel, I would like to use an USB-DVB-S2 Stick with my “LibreELEC-MXQ“.
Can you recommend an USB-DVB-S Stick, which works with the MXQ and your LibreELEC?
I think, I read somewhere, that the Sundtek DVB-Sticks are installed independent from the Kernel-Version. Does this work with the MXQ-Box, too?
Thank you for your answers.
Greetings
MarkI don't use DVB-T/S/C at all. Maybe other users will be able to help you out. You can also look at these two threads for recommendations:
ODROID Forum • View topic - C1(+) LibreELEC 7.0.3 - Kodi Jarvis 16.1 / 24p+HEVC
[ROM] Unofficial OpenELEC for MK808B+ and MXQ - FreakTab.com
[hr]
Ok its booting faster but still has no signal on WiFi. Log files are attached, Thank You.Frank
Only the last log is from the latest build I posted, right? In the log I can see that WiFi firmware gets loaded, there's a WiFi interface and it scans for available networks. If there is no network available to connect to on the network list, we're now stuck and we have to wait for box/chip manufacturer to send me the driver... For now there is no reply from both of them.
-
Kszaq, if we all 'chip in' to buy you one can you build a version of libreelec to run on this? How about it guys, 5 of us each give kszaq €5 for a box?You'd also need to buy me some free time. Maybe at some point I'll start building for S905 devices (I have some things prepared for that) but I don't know if that's in one week or a couple of months.
-
Kszaq, I loaded the new firmware and now the box reboots without red led and dosent require power reset. Also I noticed that CPU core 2 and 4 were frozen and were not cycling as 1 and 3. The wifi is the same as before, just an empty screen for connections until I plug in the hardwire. Log file for review attached...Frank
Don't worry about CPU2 and 4 stuck at some value, this is a bug in how CPU load is reported with hotplug governor - when the reading is stuck, it means that CPU core is turned off to save power. It'll power back on when necessary.
We're getting a little bit closer to making your WiFi chip work, please try this build: LibreELEC-S805.m201d.arm-7.0-devel-20160522205800-r22955-gce3a3fa.tar
-
I stumbled over a little ... problem?Well, living in germany I can stream Southpark over the Kod addon.
Everytime a part starts streaming I have stuttering sound. The Video plays fine.
After a few seconds (sometimes longer, sometimes shorter) the sound plays ok too.I am using the mk808b+
Running the skin arctic zephyr and latest libreelec.Is there something I can do against this?
Occuring on youtube too. (All streams I tried, I think)
Playing any files from usb connected hdd workes fine.
Anotehr thing:
I bought a network adapter for the stick.
Using it on the usb hub I use for remote and usb stick (idle), the network seems much slower than wifi.
South Park is chaching every few seconds.
Using it with two adapters on both mini-usb ports, it wont be dedected.
Any tips?Maybe some other users will be able to help you but for me to say anything - even that I can't help - you really need to provide logs.
-
No, I see that the version is 6.0.2. And when I try to update there is no new update.Install Unofficial OE repo update from this zip: repository.unofficial.addon.pro-7.0.1.zip
After that check for updates and update rTorrent.