Orange pi plius 2e h3disp permission denied

Hello.

I’ve installed lakka in an Orange Pi Plus 2e. The video resolution is 1920*1080.

I need to change the resolution to 1280*720.

I connect with the Orange Pi with putty but h3disp command returns a permission denied error.

Where can I change the video resolution?

What h3disp does is just decompile /boot/script.bin file into fex (which is plain text), make changes and compile it back again. You can do all these steps manually on most contemporary Linux systems, not necessarily on ARM - eg. sunxi-tools package is available for Debian and Ubuntu.

I’ve tried bin2fex /boot/script.bin /boot/script.fex but the lakka distribution doesn’t include bin2fex command.

I’ve tried git clone https://github.com/linux-sunxi/sunxi-tools too but the lakka distribution doesn’t include git command.

How I can edit script.bin file?

Thanks in advance.

Using sunxi-tools you can decompile this file on regular Linux PC, make edits, compile it back to bin, transfer to Lakka using eg. usb stick and put it in place. Remember to make backup copy of original script.bin in case you mess up something and board does not boot. You may then mount your sd card in your Linux PC and restore working script.bin from backup.

I’ve used this windows program to modify script-bin file and now I’ve 720p display resolution: