Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Ubuntu 14.04 and 15.04 on MK808b Plus

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    I got it auto loading Kodi on boot now the performance is equal to Openelec and you get Linux when you quit...Too Cool!!! Thanks Loboris!

    Try this when you have a chance...Open a 1080p movie in Kodi...then press the "fullscreen" button so that Kodi shrinks to a window...it will continue playback without dropping frames and show your Linux desktop with no lag...really shows what this s805+Mali450 can do!

    I have been flicking back and forth between windowed and fullscreen and I am amazed at the performance.
    Last edited by sammaz; 09-27-2015, 09:58.

    Comment


      #32
      Click image for larger version

Name:	1418606653768-P-2241347.jpg
Views:	0
Size:	17.5 KB
ID:	527005

      I made up an installation tutorial here to get Ubuntu on SD-Card and the latest Openelec 5.95.5.2 running from NAND :

      1. First Install Kszaq's latest Openelec 5.95.5.2 to NAND.
      2. Navigate to https://drive.google.com/open?id=0Bx...W0zUGNHQzVPNzg and download the .zip
      3. Extract the .zip
      4. Now you will have "ubuntu-mate-15-04-s805-standard-0_95_Beta.img"
      5. Flash this .img to your SD-Card using this tool http://sourceforge.net/projects/win32diskimager/ (Thanks Regor!)

      5. (Alternative for Flashing the image) You can also flash the image using a pre-existing Linux machine.
      http://wiki.openelec.tv/index.php/HO...The_Disk_Image

      6. When completed, place the SD-Card in your MK808-b plus.
      7. Use the pin method when starting ...Get to the "Update from EXT" screen.
      8. Choose Update from External
      9. Choose the SD-Card
      10. Choose the .zip file shown in the SD-Card root
      11. Press enter then wait 15 seconds while the new bootloader is flashed.
      12. Now power cycle your MK808b-plus
      13. You will get the login menu right away...boots in under 20 seconds.
      14. User\Password is "minipc"

      Loboris has also added the code to set the Ubuntu to 1920x1080 @ 60Hz 32Bpp or 24Bpp !!!

      To get 1080p resolution working place the following in /etc/rc.local :

      Code:
      echo "1080p" > /sys/class/display/mode
      /bin/fbset -fb /dev/fb0 -g 1920 1080 1920 2160 32
      echo 0 > /sys/class/graphics/fb0/free_scale
      echo 1 > /sys/class/graphics/fb0/freescale_mode
      echo "0 0 1919 1079" > /sys/class/graphics/fb0/free_scale_axis
      echo "0 0 1919 1079" > /sys/class/graphics/fb0/window_axis
      echo 0x10001 > /sys/class/graphics/fb0/free_scale
      Insert these lines before chmod 666 /dev/am* and reboot.
      The last number in fbset command defines the bpp (bits per pixel). Use 32 to get kodi and gles to work, use 24 to get good looking LibreOffice.

      Loboris added some more fixes below :

      Some more fixes/tips (tested on MK808+):

      If you don't have hdmi sound, do the following:

      in /etc/asound.conf replace pcm "hw:1,0" with pcm "hw:0,1"
      in /etc/pulse/default.pa replace (uncomment)
      #load-module module-alsa-sink with load-module module-alsa-sink
      and
      #load-module module-alsa-source device=hw:1,0 with load-module module-alsa-source device=hw:0,1

      --To get rid of Odroid repository gpg key error, run: Code:

      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5360FB9DAB19BAC9

      --To get hardware acceleration in Chromium browser put the following in /etc/chromium-browser/default (it works only if bpp=32 !) Code:

      CHROMIUM_FLAGS=" --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=2"

      Also, you will need to check the "Enable Hardware acceleration" in Chromium settings

      Test with WebGL demo.


      - Enable compositing for better desktop experience ( disable when running Kodi ! )
      - Install smplayer
      - smtube from Ubuntu Vivid does not work, but from Wily repository works, download deb and install with gdebi.

      Thanks to all who helped get this working!
      Last edited by sammaz; 06-26-2016, 06:17.

      Comment


        #33
        Sammaz can you fix it for mxq tanks

        Comment


          #34
          I am confused, after I follow these instructions and boot to Ubuntu, how do I get back to OpenELEC? Thanks
          MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

          Comment


            #35
            Originally posted by clarkss12 View Post
            I am confused, after I follow these instructions and boot to Ubuntu, how do I get back to OpenELEC? Thanks
            Remove SD-Card and reboot. When the SD-Card is not present at boot you get Openelec from NAND.

            Comment


              #36
              can someone else also host. Cant download too many downloads.
              Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

              Comment


                #37
                Originally posted by prahjister View Post
                can someone else also host. Cant download too many downloads.
                Uploading to Google Drive now. Link to come in a few mins....

                Comment


                  #38
                  https://drive.google.com/file/d/0Bxd...ew?usp=sharing

                  Comment


                    #39
                    Originally posted by sammaz View Post
                    Remove SD-Card and reboot. When the SD-Card is not present at boot you get Openelec from NAND.
                    Thanks
                    MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                    Comment


                      #40
                      Thank you. Gonna test tvheadend and test transcoding. Files from openelec tvheadend are too huge
                      Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

                      Comment


                        #41
                        Got it installed, but don't know chit about linux, haha. Anyway, I ssh'd into the stick, but can't find the etc, here is what I see.
                        [email protected]:~$ ls -all
                        total 144
                        drwxr-xr-x 22 minipc minipc 4096 Sep 28 04:53 .
                        drwxr-xr-x 3 root root 4096 Sep 7 10:19 ..
                        -rw-r--r-- 1 minipc minipc 220 Sep 7 10:19 .bash_logout
                        -rw-r--r-- 1 minipc minipc 3760 Sep 7 10:19 .bashrc
                        drwxrwxr-x 9 minipc minipc 4096 Sep 28 05:08 .cache
                        drwx------ 11 minipc minipc 4096 Sep 28 03:57 .config
                        drwx------ 3 minipc minipc 4096 Jun 2 2027 .dbus
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Desktop
                        -rw-r--r-- 1 minipc minipc 23 Jun 2 2027 .dmrc
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Documents
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Downloads
                        drwx------ 3 minipc minipc 4096 Sep 28 04:27 .gconf
                        -rw-r----- 1 minipc minipc 0 Sep 28 04:09 .gksu.lock
                        -rw-rw-r-- 1 minipc minipc 43 Sep 28 03:56 .gtk-bookmarks
                        -rw------- 1 minipc minipc 1440 Sep 28 04:27 .ICEauthority
                        drwxrwxr-x 2 minipc minipc 4096 Sep 28 04:17 .icons
                        drwxr-xr-x 8 minipc minipc 4096 Sep 28 04:42 .kodi
                        drwx------ 3 minipc minipc 4096 Jun 2 2027 .local
                        drwx------ 4 minipc minipc 4096 Jun 2 2027 .mozilla
                        drwxrwxr-x 2 minipc minipc 4096 Jun 2 2027 .mplayer
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Music
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Pictures
                        drwx------ 3 minipc minipc 4096 Sep 28 03:57 .pki
                        -rw-r--r-- 1 minipc minipc 675 Sep 7 10:19 .profile
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Public
                        drwxr-xr-x 2 minipc minipc 4096 Sep 28 04:53 .smb
                        -rw-r--r-- 1 minipc minipc 0 Sep 28 04:10 .sudo_as_admin_successful
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Templates
                        drwxrwxr-x 2 minipc minipc 4096 Sep 28 04:17 .themes
                        drwxr-xr-x 2 minipc minipc 4096 Jun 2 2027 Videos
                        -rw------- 1 minipc minipc 62 Sep 28 04:27 .Xauthority
                        -rw------- 1 minipc minipc 7427 Sep 28 05:01 .xsession-errors
                        -rw------- 1 minipc minipc 18777 Sep 28 04:26 .xsession-errors.old
                        [email protected]:~$
                        MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                        Comment


                          #42
                          I am getting further, I can get this far, by changing the values but they won't stay and says I dont have permission. I tried to chmod 0777 but it would not let me. Of course I don't know anything about linux.
                          in /etc/asound.conf replace pcm "hw:1,0" with pcm "hw:0,1"
                          in /etc/pulse/default.pa replace (uncomment)
                          #load-module module-alsa-sink with load-module module-alsa-sink
                          and
                          #load-module module-alsa-source device=hw:1,0 with load-module module-alsa-source device=hw:0,1
                          MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                          Comment


                            #43
                            I get this far, but it won't let me save the settings, maybe someone can tell me how to save after I make the changes. I am using nano to make the changes.
                            ### Load audio drivers statically
                            ### (it's probably better to not load these drivers manually, but instead
                            ### use module-udev-detect -- see below -- for doing this automatically)
                            load-module module-alsa-sink
                            load-module module-alsa-source device=hw:010
                            #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
                            #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=inp$

                            ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
                            ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
                            MK818B, T428, ATV 1220, CS918S, TV01, S89H, R89, ADT-1, MK808B Plus, MINIX X8-H Plus, Tronsmart Orion R68

                            Comment


                              #44
                              Originally posted by clarkss12 View Post
                              I get this far, but it won't let me save the settings, maybe someone can tell me how to save after I make the changes. I am using nano to make the changes.
                              ### Load audio drivers statically
                              ### (it's probably better to not load these drivers manually, but instead
                              ### use module-udev-detect -- see below -- for doing this automatically)
                              load-module module-alsa-sink
                              load-module module-alsa-source device=hw:010
                              #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
                              #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=inp$

                              ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
                              ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
                              CTRL+O to write out the file when you are finished...you can see the commands in your message :

                              Code:
                              ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
                              ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text^T To Spell
                              You will want to run :

                              sudo chmod 777 "filename" (without quotes) to get read\write permissions on the file prior to editing...No need to change permissions back when you are finished. You can leave them 777

                              Comment


                                #45
                                FYI I couldnt get k400 to work in recovery. Connected mouse.
                                Prahjister ****MK808(nonB)****MK808B V5****MK808B Plus****UBOX R89**** CX919****MK808B Pro****Nexbox N9****Eny Em95****Matricon Q2****Tanix TX5 Pro****

                                Comment

                                Working...
                                X