Need Instructions for Mac OS

Okay, I am getting some success! This is what I ran:

sudo diskutil umountDisk /dev/disk6  && sync
sudo dd if=Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_20170118.img of=/dev/disk6 bs=4m && sync
sudo dd if=u-boot.bin.sd.bin of=/dev/disk6 bs=1 count=444 && sync	
sudo dd if=u-boot.bin.sd.bin of=/dev/disk6 bs=512 seek=1 skip=1 && sync

It booted until it gave:

CONFIG-ERROR) dhd_conf_set_fw_string_struct_cmd: country setting failed -2

Then it gave a login prompt. I entered root and 1234 and then it asked me to change password. I changed password and it output:

Authentication token manipulation error

Seems like read-only file system? But their solution can’t work if I am not logged in.

And then returned me back to login.

So two steps forward and one step back. Ideas?