- 精华
- 0
- 帖子
- 139
- 威望
- 0 点
- 积分
- 244 点
- 种子
- 32 点
- 注册时间
- 2007-11-3
- 最后登录
- 2024-11-29
|
发表于 2017-5-6 17:26 · 广东
|
显示全部楼层
本帖最后由 bdjoe 于 2017-5-6 17:29 编辑
jtgongcm 发表于 2017-5-6 16:56
我看视频只要按住reset开机就可以了,可惜我这样开机是进入恢复模式。你可以试试看是不是可以。翻了好多 ...
文件找的到啊,问题是要对应机器的型号。
地址:http://kszaq.libreelec.tv/s905/device_trees/
外国大神原文:
This post contains information how to install my 7.0 and 8.0 build to a S905/S905X/S912 device.
I strongly recommend running from SD card/USB drive! Installing to internal memory might soft-brick your box and you will have to reinstall Android firmware to make it work again.
If you have WeTek Hub/WeTek Play2, you don't need to use toothpick method: update to latest Android version and make use of dual-boot feature!
1. Before you install - choose a device tree
Important: You cannot use device tree from Android firmware as in 99% cases it won't work.
这句话就是你不换DTB的话99.99%都不能启动.
S905/S905X download folder: http://kszaq.libreelec.tv/s905/device_trees
S912 download folder: http://kszaq.libreelec.tv/s912/device_trees
S905: Device trees for S905 boxes start with gxbb. First look for device tree with your box name in it. In case there is no such image, download generic one.
example: for a box with 2GB of RAM and 100Mbit Ethernet, you should download gxbb_p200_2G_100M.dtb
example: for boxes with Gigabit Ethernet download gxbb_p200_1Gbit.dtb
for boxes with Realtek WiFi (e.g. K1 Plus or K2 Pro) download device tree with RealtekWiFi in name
S905X: Device trees for these boxes start with gxl. You can leave a tree that is already present on SD card (fresh install only) or choose one according to your RAM amount. If internal memory of your box is not visible when trying to install to internal memory, try a device tree with _nand suffix.
S912: You need to choose device tree according to your Ethernet port speed and RAM amount.
2. Prepare SD card/USB drive
Note: only 1 USB port is able to boot the box. You have to try them all. Some boxes are unable to boot from USB drive.
Look at the beginning of release post and find Downloads link. Download file with img.gz extension.
Burn the downloaded file to SD card or USB drive using Rufus. Alternatively you can use LE tool but remember that you have to download the image manually: http://wiki.libreelec.tv/index.php?title=Installation
After this you will see that drive capacity is 512MB. This is OK as there is a second (hidden) partition on the drive for LE user data!
Download a device tree as instructed above and rename it to dtb.img. Copy the renamed file to main folder of SD card/USB drive - replace the one that's already there.
To boot the system for the first time you have to use one from the following - sometimes only one way of doing this works!
Terminal Emulator: boot to Android, insert SD card/USB drive with LE, install Terminal Emulator app (either from Google Play or APKMirror), run it and type reboot update. Your box should reboot to LE.
toothpick method: disconnect the power supply, insert card/drive, push reset button and connect the power while holding the button. Wait until LibreELEC logo appears and release the button.
menu button method (works with very few devices): disconnect the power supply, insert card/drive, push menu button on your remote control and connect the power while holding the button. Wait until LibreELEC logo appears and release the button.
recovery method: boot into Android, insert card/thumb drive and choose Reboot to recovery. Your box should boot into LibreELEC.
recovery method (2nd variant): if you have "Update" app pre-installed open it, insert SD card with LE/connect USB drive, and choose any ZIP file in the app for update. Your box should reboot to LE.
recovery method (3rd variant): enable ADB (Google it) and issue adb reboot update command
Updating
Update process looks the same for SD, USB drive and internal memory installs:
https://wiki.libreelec.tv/index.php?titl...mba_shares
or
https://wiki.libreelec.tv/index.php?titl...ng_the_CLI
Note: You should also download a new device tree, and put in Update folder with an update file. You should have both files in Update folder before rebooting. You do not need to rename device tree file before updating.
Installing to internal memory (not recommended, risky)
Run from SD card/USB drive first. If it runs fine, connect to your box over SSH, execute installtointernal command and follow on-screen instructions. This command wipes SYSTEM and DATA partition!
CAUTION: If your box has a non-standard partition layout, you will see an error when trying to boot from internal memory for the first time. To solve it, you need to boot one more time from SD card and run installtointernal again.
To boot into recovery after installing LE to internal memory use this procedure:
prepare a clean, FAT32-formatted SD card or USB drive
copy recovery.img and dtb.img from your Android firmware to SD card (don't use dtb.img for LE!)
use "toothpick" method to boot from SD card/USB drive or execute reboot recovery over SSH
Back to Android?
If you installed LE to SD card or USB drive, simply turn off your box, disconnect media with LE and turn on the box.
If you installed LE to internal memory, you have to find firmware dedicated for your box and follow installation notes. Also read a note above.
FAQ
Q: My remote control does not work, what can I do?
A: Grab remote.conf file from Android firmware (it's available in /system/etc) and copy it to Configuration folder: /storage/.config over SSH or \\your_box_IP\Configuration using Windows shares. You can also put that file to main folder of your SD card. You may need to remap some buttons.
Q: My LibreELEC Settings screen is empty, hoc can I fix it?
A: Login over SSH, execute rm /storage/.kodi/userdata/addon_data/service.libreelec.settings/oe_settings.xml and reboot.
Q: A few seconds are missing at the beginning of the video.
A: Enable Expert settings, go to Settings > Video > Playback and set "Pause during refresh rate change" to the amount that is missing.
Q: CEC behaviour is erratic when my box is off.
A: This is a bootloader issue that needs to be fixed by box manufacturer.
Q: I cannot turn on my box by remote control.
A: This is a bootloader issue that needs to be fixed by box manufacturer.
Q: I can see only 1/4 of video.
A: Login over SSH and execute these commands: fw_setenv hdmimode 1080p60hz && fw_setenv outputmode 1080p60hz.
Final notes
Please do not post question regarding install process under this post. You can post suggestions to improve it.
|
|