Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Ubuntu 14.04 and 15.04 on MK808b Plus

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

  • prahjister
    replied
    can someone else also host. Cant download too many downloads.

    Leave a comment:


  • sammaz
    replied
    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.

    Leave a comment:


  • clarkss12
    replied
    I am confused, after I follow these instructions and boot to Ubuntu, how do I get back to OpenELEC? Thanks

    Leave a comment:


  • Fredhosi
    replied
    Sammaz can you fix it for mxq tanks

    Leave a comment:


  • sammaz
    replied
    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; 26 June 2016, 05:17.

    Leave a comment:


  • sammaz
    replied
    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; 27 September 2015, 08:58.

    Leave a comment:


  • loboris
    replied
    @Fredhosi , sorry I don't have mxq.

    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"
    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.
    Last edited by loboris; 27 September 2015, 01:11.

    Leave a comment:


  • Fredhosi
    replied
    loboris can you fix it to work on mxq without freezing

    Leave a comment:


  • sammaz
    replied
    Originally posted by loboris View Post
    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
    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.


    Tested on MK808B PLUS.
    Whoa!!! Thanks @ loboris !

    So, MK808b Plus has Ubuntu, Openelec, Android working fully now

    Leave a comment:


  • loboris
    replied
    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
    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.


    Tested on MK808B PLUS.

    Leave a comment:


  • sammaz
    replied
    Originally posted by Hampden View Post
    No. On the Monitor Preferences window, the only option is 'Laptop' and that resolution is fixed at 1280x720 @60Hz.

    It seems like this is a configuration setting somewhere since the OpenELEC implementation (http://freaktab.com/forum/tv-player-...mk808b-and-mxq) displays 1080p just fine.
    I have looped in Kszaq who is working on the openelec for MK808b plus here -> http://freaktab.com/forum/tv-player-...and-mxq/page79 I will keep an eye out for a response from him. It will be great if he can get 1080p working!

    Leave a comment:


  • minoccio
    replied
    Originally posted by phinc View Post
    You have to flash the zip file that is placed on the SD card after the img is flashed to it.

    Sent from my C6603 using Tapatalk

    I think that if I flash this zip, I'll lose the ability to boot Openelec from SD, isn't it true?

    Leave a comment:


  • Hampden
    replied
    No. On the Monitor Preferences window, the only option is 'Laptop' and that resolution is fixed at 1280x720 @60Hz.

    It seems like this is a configuration setting somewhere since the OpenELEC implementation (http://freaktab.com/forum/tv-player-...mk808b-and-mxq) displays 1080p just fine.

    Leave a comment:


  • sammaz
    replied
    Originally posted by Hampden View Post
    This is excellent!! Kudos to 'linuxminipc.com' for pulling this together. I can confirm wifi and usb is working, but I can't access the nand. Do I need another driver for this?
    Are you able to set the resolution to 1920x1080 @ 60Hz ?

    Leave a comment:


  • Hampden
    replied
    This is excellent!! Kudos to 'linuxminipc.com' for pulling this together. I can confirm wifi and usb is working, but I can't access the nand. Do I need another driver for this?

    Leave a comment:

Working...
X