i-have-a-dreambox.com | Dreambox - Support

Register Calendar Members List Team Members Galerie to Portal Go to the Main Page

Boardrules Frequently Asked Questions Statistik Statistik Search Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox und Images Dreambox One UltraHD:::... » Sonstige Dreambox OS Images Dreambox One UltraHD » Android installation help » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Add Thread to Favorites
Post New Thread Post Reply
Go to the bottom of this page Android installation help
Author
Post « Previous Thread | Next Thread »
slowtrack
Newbie


Registration Date: 24.01.2013
Posts: 8
Which box: ONE UltraHD
External Storage: CF-Card
Which Image: Gemini

Android installation help Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

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#
15.10.2019 21:16 slowtrack is offline Send an Email to slowtrack Search for Posts by slowtrack Add slowtrack to your Buddy List
Dibagger
Newbie


Registration Date: 14.02.2017
Posts: 71
Which box: DM900
External Storage: HDD
Which Image: OE 2.5
Welcher Bildschirm: 40" FHD

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

^M is ASCII Charakter #13. Looks like the script has been edited with a windows editor, and the lines terminate with the wrong end of line characters CRLF instead of LF only. You should use a linux compatible text editor like Notepad++ for example.

__________________
DM900 UHD mit DVB-T2 | OE2.5 unstable 4.3.1r28 mit GP3.3

This post has been edited 2 time(s), it was last edited by Dibagger: 15.10.2019 22:30.

15.10.2019 21:38 Dibagger is offline Send an Email to Dibagger Search for Posts by Dibagger Add Dibagger to your Buddy List
slowtrack
Newbie


Registration Date: 24.01.2013
Posts: 8
Which box: ONE UltraHD
External Storage: CF-Card
Which Image: Gemini

Thread Starter Thread Started by slowtrack
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Thanks a lot for your response. I have opened the file in Notepad ++ editor all lines ends with LF. I have also tried to run it on my Ubuntu operated PC and the file execute. When i run it on root@dreamone:/data/android# ./set_bootloader.sh

it still comes up with:

-bash: ./set_bootloader.sh: /bin/sh^M: bad interpreter: No such file or directory

Any help is highly appreciable. Thank you.
16.10.2019 21:12 slowtrack is offline Send an Email to slowtrack Search for Posts by slowtrack Add slowtrack to your Buddy List
emanuel emanuel is a male
Dreambox Team


images/avatars/avatar-17351.gif

Registration Date: 17.10.2004
Posts: 7,165
Which box: DM7080HD; DM8000
External Storage: USB-Stick; CF-Card; SD-Card; HDD
Which accessories: Hase, Internet
Which Image: OE 2.5
Welcher Bildschirm: BENQ GW2750
Origin: upper Bavaria

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Use original image!

__________________
no brain no pain!
Auf gar keinen Fall die Statistik lesen!!
sie könnte Deinen Kopf zu schwer für Deinen Hals machen großes Grinsen

Plugins --> Sonne

Wir wollen uns für das Update bedanken!!


16.10.2019 21:15 emanuel is offline Send an Email to emanuel Homepage of emanuel Search for Posts by emanuel Add emanuel to your Buddy List
slowtrack
Newbie


Registration Date: 24.01.2013
Posts: 8
Which box: ONE UltraHD
External Storage: CF-Card
Which Image: Gemini

Thread Starter Thread Started by slowtrack
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Thanks a lot for your advise. I am curious to know some more about this. For my installation I have installed the GP4. My understanding is that this forms the original image as basis, and GP4 is installed on top of it. Based on your advise, do I need to remove GP4 installation and only use the original image, with no option to use GP4? Thanks for any further advise.

This post has been edited 1 time(s), it was last edited by slowtrack: 17.10.2019 17:28.

17.10.2019 17:27 slowtrack is offline Send an Email to slowtrack Search for Posts by slowtrack Add slowtrack to your Buddy List
slowtrack
Newbie


Registration Date: 24.01.2013
Posts: 8
Which box: ONE UltraHD
External Storage: CF-Card
Which Image: Gemini

Thread Starter Thread Started by slowtrack
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

I have just installed original image without any success, and I am starting to realise that this installation is not for my level. However, I would like to thank you all for contributing for me to understand this. Thank you/ Vielen danke.
18.10.2019 14:07 slowtrack is offline Send an Email to slowtrack Search for Posts by slowtrack Add slowtrack to your Buddy List
Tree Structure | Board Structure
Jump to:
Post New Thread Post Reply
i-have-a-dreambox.com | Dreambox - Support » ...::: Dreambox und Images Dreambox One UltraHD:::... » Sonstige Dreambox OS Images Dreambox One UltraHD » Android installation help

Privacy policy | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR