Mobabox M401a flashing machine

basic situation

Xianyu bought Mobaibox 311-1a yst, and sent me 401a, with bluetooth but without wifi

This machine releases version v.955.05, system version 9, hardware version 1.0.0, device model M401A, manufacturer name: CIOT, CPU: amlogic

Software such as Dangbei Market, Lejia Market, Ant Market, Tomorrow Film and Television, and Little Apple Video Box Yunhai TV have been installed.

System applications include external system launcher, ai assistant, media center

The system upgrade can be directly flashed, copy the update file to the root directory of the U disk, and press the left button of the remote control to enter the flash machine when starting up.

The workflow is:

Wire brush firmware -> make bootable USB drive -> press reset to boot from USB drive (supported firmware is required) -> enter armbian system -> set user name, etc. -> expand USB drive space (cannot be backed up without expansion) -> backup original TV system -> install the system to the emmc card -> other follow-up installations

Most of the files required for this article are downloaded from github, and can also be downloaded from my Baidu share

Home server flashing related

1. Wire brush firmware

The problem solved by flashing the firmware: root, open adb, modify the loader so that the box can be booted from the U disk.

Brush method:

  • Open the flashing software - this article uses Amlogic USB Burning Tool_v2.1.6.8, version 3.2 does not know why there is a problem.

  • Load the flash package - this article uses android_tv_m401a_s905l3a.tar, downloaded from github, rooted, open adb

  • click start

  • Short-circuit the forced flashing point

  • Plug in the usb cable, use the one closest to the network port

  • Power on the box

  • At this time, the progress bar of the wire flashing software should start to move, release the short contact and wait for the flashing to complete

2. Make a bootable U disk

Function of the U disk: make an armbian boot U disk, let the box boot into the armbian system from the U disk, and follow-up operations are performed in armbian.

Production process:

  • Open the balenaEtcher software

  • Choose the appropriate armbian firmware, I am using Armbian_23.02.0_amlogic_s905l3a_jammy_5.15.86_server_2023.01.05.img, version 6.1.3 has a problem.

  • Select the target location and select the U disk. Note that all files in the U disk will be lost. Useful data should be backed up in advance.

  • Click flash to start making, and there will be a boot area in the U disk after completion

  • Find the uenv.txt file in the boot area, modify the FDT=/dtb/amlogic/meson-g12a-s905l3a- m401a .dtb in it, my box is 401a, choose the appropriate dtb according to the hardware, and the error will cause it to fail to start.

3. Start armbian from the U disk

The problem solved in this step: enter the armbian system, back up the original box firmware

Operating procedures:

  • Insert the U disk into the usb port near the network port

  • Because you need to set a password, find a keyboard with a usb port and plug it into another usb port

  • Press and hold the reset button (it's in a hole in the rear heat dissipation area, it's hard to find...)

  • Turn on the power, release the reset button (can be pressed 1 or 2 times)

  • The box boots into the armbian system

  • Follow the prompts to set the root password, create a user and password

The following are optional:

  • Use armbian-tf to expand the tf card space (used to store backup files)

  • Use armbian-ddbr to back up the original box firmware (very slow, but you don’t need to open the box and press the forced flash button if you want to restore the firmware, you can use it at your own discretion)

4. Write the system to emmc

Problem solved: writing system to box storage

Operating procedures:

  • Use the armbian-install command to install the system

  • Reboot once after completion (do not pull out the U disk first)

  • Use poweroff to shut down, pull out the U disk

  • boot into armbian

5. Subsequent installation software problems

5.1 Update apt, etc.

Use the apt update or upgrade command to update.

5.2 Install using armbian-software

5.2.1 Install docker

安装后出现Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/json": dial unix /var/run/docker.sock: connect: permission denied

Reason: docker uses unix:socket connection, root permission is required for execution.

Solution:

  • Temporary: Execute with sudo

  • Permanent: Add the user to the docker group, which has permission to use unix sockets. sudo groupadd docker; sudo gpasswd -a $user docker; (add user to docker group) newgrp docker; (update user group)

5.2.2 armbian-software installable software

software name

use

Remark

docker

container software

Installed

kodbox

Kedaoyun personal network disk

to be tried

wear

docker visual management

yacht

docker management

Transmission

linux bt software

qBittorrent

BitTorrent downloader, full-featured, has good access support with Sonarr

NextCloud

Personal cloud disk with powerful functions and complex configuration

Jellyfin

online decoding

HomeAssistant

Smart device management with powerful functions

to be tried

CouchPotato

Download movie software, download through hbx or bt

Sonarr

Sonarr is a PVR system that monitors episode releases from multiple sources, automatically downloads, scrapes, and renames episodes.

Radarr

Similar to sonarr

Syncthing

p2p file synchronization, peer-to-peer does not require a server

FileBrowser

Personal network disk

Heimdall

Build a personal navigation page?

Node-RED

Node-RED是一个编程工具,用于以新的有趣方式将硬件设备、API和在线服务连接在一起。

它提供了一个基于浏览器的编辑器,可以轻松地使用调色板中的各种节点将流连接在一起,这些节点可以一键部署到其运行时。

Mosquitto

Mosquitto是一个开源消息代理,实现了MQTT协议版本3.1和3.1.1

OpenWrt

软路由系统

Netdata

Linux 性能实时监测工具。

待尝试,装docker里

Docker-Headless

基于Ubuntu20.04胖容器+远程接入, 实现Linux下私人桌面、云端办公。在生产跑浏览器做调试/维护。在服务器搭建专用开发环境,公司/Home互通办公

待尝试,最后

Navidrome

开源音乐服务器

Alist

挂载云盘

Evolution

Evolution 是一款个人信息管理应用程序,它提供了集成的邮件、日历和地址簿功能。

Thunderbird

邮件客户端

Krita

画画

Shotcut

视频剪辑

Kdenlive

视频编辑

Gwenview

图片查看编辑

Flameshot

截图

Frps, frpc

内网穿透,内网穿透配置子域名与nginx配置子域名?

待尝试

nps, npc

内网穿透

Plex

视频中心

Emby-Server

流媒体服务

KVM

虚拟机

Guess you like

Origin blog.csdn.net/reverie_2007/article/details/128589689