How change device-mode ? or give access for tool cmd

Paste this on terminal, and plug of the power within 1 day or press any button (literally, also reset) the device have.

/system device-mode update activation-timeout=1d mode=advanced partitions=yes routerboard=yes