TOX3 reboot after shutdown once only - Amlogic-ng only - kernel related?

This is a very low priority issue, but something which has bugged me on and off for a year or so.

I have a TOX3 S905x4 1gb LAN 4gb/32gb device. When running amlogic-ne (v21) or amlogic-no (v22) all is fine. However, when running amlogic-ng (v21 Omega), a strange thing happens.

I plug in and power on the device, use it and then shutdown via kodi skin power menu or turn off the TV. The device reboots. This is the only time it reboots after shutdown UNTIL I unplug and replug the device and/or turn off then back on the power at the wall. I have other amlogic devices that behave perfectly. This is the only one where I have ever seen this.

Out of habit I tend to turn off all mains power to tv devices and such overnight (just in case…)

So, if I leave the device plugged in and receiving mains power, the reboot after shutdown never re-occurs. It only happens after first shutdown when the device has been plugged back in and/or receives power.

It must be something to do with different kernel versions, 4.9(ng), 5.4(ne) and 5.15(no)??

My question is, has anybody seen this behaviour before and is there a solution? Maybe a bash script that can be run during start up or shutdown?

I do slightly prefer -ng builds as they seem to run smoother etc. I realize this is easy to work around, but would love to know if there is an “easy” solution. As I said, a very small issue but something that nags away at me…

My gut feeling is that there is no fix as such, but worth asking the forum…

PS. It doesn’t matter if there are powered usb devices attached to the TOX3 or not, always get same behaviour.

TIA.

I’ve decided to use “Suspend” instead of “Shutdown”. It’s much quicker to resume from suspend and I notice in suspend, my external usb drives are completely powered off (no lights) which is good. With shutdown, the usb drive lights stayed on (one does change from blue to white). So can somebody please close this request?

Also, switching off the mains power when device is in suspend does not appear to cause any damage as such either to the device or the attached usb drives.
TIA