I have installed the Android on the SD card and have transferred the set-bootloader.sh file like described. When i run the ./set_bootloader.sh it comes up with /bin/sh^M: bad interpretor. Any idea on what I am doing wrong?
Any help is highly appreciated. Below you find the telnet printout. Thank you.
dreamone login: root
Password:
root@dreamone:~# cd /data/android
root@dreamone:/data/android# ls -al
total 2176216
drwxrwxr-x 2 1000 1000 4096 Oct 15 20:24 .
drwxrwxr-x 6 1000 1000 4096 Sep 19 14:13 ..
-rw-rw-r-- 1 1000 1000 638 Sep 19 00:15 autoexec.img
-rw-rw-r-- 1 1000 1000 9791488 Sep 20 14:36 boot.img
-rw-rw-r-- 1 1000 1000 1843270 Aug 22 23:07 bootlogo.bmp
-rw-rw-r-- 1 1000 1000 69206016 Sep 19 00:15 cache.img
-rw-rw-r-- 1 1000 1000 184 Jun 10 22:21 env.txt
-rwxrwxr-x 1 1000 1000 3141 Aug 22 23:14 flash_all_sd.sh
-rw-rw-r-- 1 1000 1000 586 Jun 10 22:21 fw_env.config
-rwxrwxr-x 1 1000 1000 33176 Jun 10 22:21 fw_printenv
-rwxrwxr-x 1 1000 1000 33176 Jun 10 22:21 fw_setenv
-rw-rw-r-- 1 1000 1000 134217728 Sep 19 00:15 odm.img
-rw-rw-r-- 1 1000 1000 134217728 Sep 19 00:15 product.img
-rwxrwxrwx 1 root root 511 Oct 15 20:44 set_bootloader.sh
-rw-rw-r-- 1 1000 1000 1342177280 Sep 19 00:15 system.img
-rwxrwxr-x 1 1000 1000 2388 Sep 20 18:32 update_sd.sh
-rw-rw-r-- 1 1000 1000 536870912 Sep 19 00:15 vendor.img
root@dreamone:/data/android# ./set_bootloader.sh
-bash: ./set_bootloader.sh: /bin/sh^M: bad interpreter: No such file or directory
root@dreamone:/data/android# ^C
root@dreamone:/data/android#