forked from ophub/amlogic-s9xxx-armbian
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
93 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
build-armbian/armbian-docs/how_to_restore_the_original_android_tv_system.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# How to restore the original Android TV system | ||
|
||
- Under normal circumstances, re-insert the USB hard disk and install it again. | ||
|
||
- If you cannot start the Armbian system from the USB hard disk again, connect the Amlogic s9xxx tv box to the computer monitor. If the screen is completely black and there is nothing, you need to restore the Amlogic s9xxx tv box to factory settings first, and then reinstall it. First download the [amlogic_usb_burning_tool](https://github.com/ophub/script/releases/download/dev/amlogic_usb_burning_tool_v3.2.0_and_driver.tar.gz) system recovery tool and install it. | ||
|
||
``` | ||
Take x96max+ as an example. | ||
Prepare materials: | ||
1. [ A USB male-to-male data cable ]: https://www.ebay.com/itm/152516378334 | ||
2. [ A paper clip ]: https://www.ebay.com/itm/133577738858 | ||
3. [ Download the Android TV firmware ]: https://xdafirmware.com/x96-max-plus-2 | ||
4. [ Find the two short-circuit points on the motherboard ]: | ||
https://user-images.githubusercontent.com/68696949/110590933-67785300-81b3-11eb-9860-986ef35dca7d.jpg | ||
Operation method: | ||
1. Open the USB Burning Tool: | ||
[ File → Import image ]: X96Max_Plus2_20191213-1457_ATV9_davietPDA_v1.5.img | ||
[ Check ]:Erase flash | ||
[ Check ]:Erase bootloader | ||
Click the [ Start ] button | ||
2. Use a [ paper clip ] to connect the [ two shorting points ] on the main board of the box, | ||
and use a [ USB dual male data cable ] to connect the [ box ] to the [ computer ] at the same time. | ||
3. Loosen the short contact after seeing the [ progress bar moving ]. | ||
4. After the [ progress bar is 100% ], the restoration of the original Android TV system is completed. | ||
Click [ stop ], unplug the [ USB male-to-male data cable ] and [ power ]. | ||
5. If the progress bar is interrupted, repeat the above steps until it succeeds. | ||
If the progress bar does not respond after the short-circuit, plug in the [ power ] supply after the short-circuit. | ||
Generally, there is no need to plug in the power supply. | ||
``` | ||
|
||
When the factory reset is completed, the box has been restored to the Android TV system, and other operations to install the Armbian system are the same as the requirements when you installed the system for the first time before, just do it again. | ||
|
||
|
||
# 如何恢复原安卓 TV 系统 | ||
|
||
- 一般情况下,重新插入电源,如果可以从 USB 中启动,只要重新安装即可,多试几次。 | ||
|
||
- 如果接入显示器后,屏幕是黑屏状态,无法从 USB 启动,就需要进行盒子的短接初始化了。先将盒子恢复到原来的安卓系统,再重新刷入 Armbian 系统。首先下载 [amlogic_usb_burning_tool](https://github.com/ophub/script/releases/download/dev/amlogic_usb_burning_tool_v3.2.0_and_driver.tar.gz) 系统恢复工具并安装好。 | ||
|
||
``` | ||
以 x96max+ 为例 | ||
刷机准备: | ||
1. [ 准备一条 USB 双公头数据线 ]: https://www.ebay.com/itm/152516378334 | ||
2. [ 准备一个曲别针 ]: https://www.ebay.com/itm/133577738858 | ||
3. [ 下载盒子的 Android TV 固件包 ]: https://xdafirmware.com/x96-max-plus-2 | ||
4. [ 在盒子的主板上确认短接点的位置 ]: | ||
https://user-images.githubusercontent.com/68696949/110590933-67785300-81b3-11eb-9860-986ef35dca7d.jpg | ||
操作方法: | ||
1. 打开刷机软件 USB Burning Tool: | ||
[ 文件 → 导入固件包 ]: X96Max_Plus2_20191213-1457_ATV9_davietPDA_v1.5.img | ||
[ 选择 ]:擦除 flash | ||
[ 选择 ]:擦除 bootloader | ||
点击 [ 开始 ] 按钮 | ||
2. 使用 [ 曲别针 ] 将盒子主板上的 [ 两个短接点进行短接连接 ], | ||
并同时使用 [ USB 双公头数据线 ] 将 [ 盒子 ] 与 [ 电脑 ] 进行连接。 | ||
3. 当看到 [ 进度条开始走动 ] 后,拿走曲别针,不再短接。 | ||
4. 当看到 [ 进度条 100% ], 则刷机完成,盒子已经恢复成 Android TV 系统。 | ||
点击 [ 停止 ] 按钮, 拔掉 [ 盒子 ] 和 [ 电脑 ] 之间的 [ USB 双公头数据线] 。 | ||
5. 如果以上某个步骤失败,就再来一次,直至成功。 | ||
如果进度条没有走动,可以尝试插入电源。通长情况下不用电源支持供电,只 USB 双公头的供电即可满足刷机要求。 | ||
``` | ||
|
||
当完成恢复出厂设置,盒子已经恢复成 Android TV 系统,其他安装 Armbian 系统的操作,就和你之前第一次安装系统时的要求一样了,再来一遍即可。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
build-armbian/armbian-docs/set_the_box_to_boot_from_usb_tf_sd.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Set the box to boot from USB/TF/SD | ||
|
||
- Write the firmware to USB/TF/SD, insert it into the box after writing. | ||
- Open the developer mode: Settings → About this machine → Version number (for example: X96max plus...), click on the version number for 5 times in quick succession, See the prompt of `Enable Developer Mode` displayed by the system. | ||
- Turn on USB debugging: System → Advanced options → Developer options again (after entering, confirm that the status is on, and the `USB debugging` status in the list is also on). Enable `ADB` debugging. | ||
- Install ADB tools: Download [adb](https://github.com/ophub/script/releases/download/dev/adb.tar.gz) and unzip it, copy the three files `adb.exe`, `AdbWinApi.dll`, and `AdbWinUsbApi.dll` to the two files `system32` and `syswow64` under the directory of `c://windows/` Folder, then open the `cmd` command panel, use `adb --version` command, if it is displayed, it is ready to use. | ||
- Enter the `cmd` command mode. Enter the `adb connect 192.168.1.137` command (the ip is modified according to your box, and you can check it in the router device connected to the box), If the link is successful, it will display `connected to 192.168.1.137:5555` | ||
- Enter the `adb shell reboot update` command, the box will restart and boot from the USB/TF/SD you inserted, access the firmware IP address from a browser, or SSH to enter the firmware. | ||
|
||
|
||
# 设置盒子从 USB/TF/SD 中启动 | ||
|
||
- 把刷好固件的 USB/TF/SD 插入盒子。 | ||
- 开启开发者模式: 设置 → 关于本机 → 版本号 (如: X96max plus...), 在版本号上快速连击 5 次鼠标左键, 看到系统显示 `开启开发者模式` 的提示。 | ||
- 开启 USB 调试模式: 系统 → 高级选选 → 开发者选项 (设置 `开启USB调试` 为启用)。启用 `ADB` 调试。 | ||
- 安装 ADB 工具:下载 [adb](https://github.com/ophub/script/releases/download/dev/adb.tar.gz) 并解压,将 `adb.exe`,`AdbWinApi.dll`,`AdbWinUsbApi.dll` 三个文件拷⻉到 `c://windows/` 目录下的 `system32` 和 `syswow64` 两个文件夹内,然后打开 `cmd` 命令面板,使用 `adb --version` 命令,如果有显示就表示可以使用了。 | ||
- 进入 `cmd` 命令模式。输入 `adb connect 192.168.1.137` 命令(其中的 ip 根据你的盒子修改,可以到盒子所接入的路由器设备里查看),如果链接成功会显示 `connected to 192.168.1.137:5555` | ||
- 输入 `adb shell reboot update` 命令,盒子将重启并从你插入的 USB/TF/SD 启动,从浏览器访问固件的 IP 地址,或者 SSH 访问即可进入固件。 |