You should be able to install the AMLGX "box" image, read https://wiki.libreelec.tv/hardware/amlogic
You will need to experiment with meson-gxm-* device-tree names in uEnv.ini as there is nothing specific for Magicsee 400+ right now. Most boxes are quite similar though, so it's easy to find something.
NB: We do not support internal installations on Android boxes and older scripts will (100% guaranteed) brick things if used.
Do I need to rename dtb file into dtb.img