Installed with apt-get install kodi aml-libs.
Ubuntu minimal.
Do I have to do something else?
As posted above, I had to run:
Code: Select all
sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev kodi
Code: Select all
sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev kodi
Yes.
Thanks, but it's already on that group. :/
Code: Select all
2019-10-16 00:48:19.788 T:548116812960 ERROR: AML: no rw on /sys/class/video/axis
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/video/screen_mode
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/video/disable_video
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/tsync/pts_pcrscr
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/module/ionvideo/parameters/freerun_mode
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/video/freerun_mode
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/audiodsp/digital_raw
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/amhdmitx/amhdmitx0/config
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/vfm/map
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/tsync/enable
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/amhdmitx/amhdmitx0/frac_rate_policy
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/module/di/parameters/bypass_prog
2019-10-16 00:48:19.789 T:548116812960 ERROR: AML: no rw on /sys/class/display/mode
Code: Select all
sudo chown kodi /sys/class/video/axis /sys/class/video/screen_mode /sys/class/video/disable_video /sys/class/tsync/pts_pcrscr /sys/module/ionvideo/parameters/freerun_mode /sys/class/video/freerun_mode /sys/class/audiodsp/digital_raw /sys/class/amhdmitx/amhdmitx0/config /sys/class/vfm/map /sys/class/tsync/enable /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor /sys/class/amhdmitx/amhdmitx0/frac_rate_policy /sys/module/di/parameters/bypass_prog /sys/class/display/mode
Disabled it as instructed in viewtopic.php?t=18819
Code: Select all
<advancedsettings version="1.0">
<window>
<width>1920</width>
<height>1080</height>
</window>
</advancedsettings>
How?
Code: Select all
setenv hdmimode "custombuilt"
setenv modeline "1920,1080,148500,67500,60,1920,2008,2052,2200,1080,1084,1088,1125,0,1,1"
"Widevine CDM is currently not available natively on ARM64. Please switch to a 32-bit userspace for Widevice CDM support."
Thanks.Nuems wrote: ↑Sun Oct 20, 2019 4:50 pmAs far as I know, Widevine CDM isn't officially available for 32-bit Linux either, however, it is part of ChromeOS (both 32 and 64bit). The library can be extracted from ChromeOS recovery images. There are kodi addons outside of the official repsoitory that automate this process and also take care of updating Widevine CDM when necessary (about once a month or so). One of those is the "Joyn" addon from this repo: https://github.com/kodinerds/repo/raw/m ... inerds.zip
[Joyn is an streaming platform for (mostly) German live TV and the channels' media libraries.]
I had the same problem recently. We need to use Kodi with 32bit userspace and still having 64 bit kernel and everything else. So In perfect world the easiest will be :alpe wrote:"Widevine CDM is currently not available natively on ARM64. Please switch to a 32-bit userspace for Widevice CDM support."
So I guess I would have to use Kodi:armhf, right?
Is kodi:armhf available and updated on the N2 repository?
Update: Just checked and kodi:armhf insn't provided by http://deb.odroid.in/n2. If using armhf is the only way to run Netflix, please consider adding it (and possibly other required packages) to the repository in addition to aarch64.
This looks like a comprehensive list of steps needed to compile and install Kodi with HW decoding on ubnuntu minimal.alpe wrote: ↑Wed Oct 16, 2019 8:02 amI had to create the user Kodi manually with:gerulrich wrote: ↑Fri Oct 04, 2019 1:21 am
if you need cec working with kodi do the following:
Edit /media/boot/boot.ini and add hdmitx=cec3f in bootargs.
after that you can install kodi with:Code: Select all
sudo apt-get update mkdir -p ~/ubuntu-packages/libcec-package cd ~/ubuntu-packages/libcec-package apt-get build-dep libcec4 apt-get source libcec4 cd libcec-4.0.2+dfsg1 # edit debian/rules vim debian/rules # add -DHAVE_AOCEC_API=1 in dh_auto_configure line and save debuild -us -uc cd ~/ubuntu-packages/libcec-package sudo dpkg -i libcec4_4.0.2+dfsg1-2ubuntu1.1_arm64.deb sudo dpkg -i cec-utils_4.0.2+dfsg1-2ubuntu1.1_arm64.deb sudo apt-mark hold libcec4 sudo apt-mark hold cec-utils
Add a service file for kodi: /etc/systemd/system/kodi.serviceCode: Select all
apt-get install kodi aml-libs
I use kodi as user, but you can use whatever you want. You must verify that the user has the required permissions.Code: Select all
[Unit] Description=Kodi After=network.target [Service] Type=simple # Another Type: forking User=kodi WorkingDirectory=/home/kodi ExecStart=/usr/bin/kodi-standalone Restart=on-failure # Other restart options: always, on-abort, etc # The install section is needed to use # `systemctl enable` to start on boot # For a user service that you want to enable # and start automatically, use `default.target` # For system level services, use `multi-user.target` [Install] WantedBy=multi-user.target
that's all i thinkCode: Select all
systemctl daemon-reload systemctl start kodi systemctl enable kodi
And run:Code: Select all
sudo adduser --disabled-password --disabled-login kodi
as suggested in other post.sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,netdev kodi
Code: Select all
apt install kodi-fbdev
Code: Select all
sudo apt update
sudo apt install kodi-fbdev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kodi-fbdev
To install kodi you have to executeTruly wrote: ↑Thu Jan 16, 2020 5:48 amIt looks like the it's not in the repository:Code: Select all
sudo apt update sudo apt install kodi-fbdev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package kodi-fbdev
Code: Select all
apt-get install mali-fbdev kodi aml-libs
Code: Select all
ERROR: AML: no rw on /sys/module/di/parameters/bypass_prog
ERROR: DBus error: org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
ERROR: GetString: error reading /root/.kodi/userdata/disp_cap
ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/vesa_cap
Code: Select all
apt update && apt full-upgrade
Code: Select all
apt-get install mali-fbdev kodi aml-libs
Yes, I am using the latest minimal image.
Code: Select all
# uname -a
Linux odroid 4.9.213-67 #1 SMP PREEMPT Thu Feb 13 14:59:00 -03 2020 aarch64 aarch64 aarch64 GNU/Linux
Enjoyapt update
apt install kodi aml-libs mali-fbdev
Code: Select all
root@odroid:/home/kodi# kodi-standalone
OPEN es hevc
codec_init amstream version : 2.0
[codec_pause]p->has_audio=0
video_pause!
[codec_pause]p->has_audio=0
video_pause!
[codec_close_cntl]video codec close return=0!
OPEN es hevc
[codec_reset:1211]ret=0
I have exact same problem, even when running as root. Any help on debugging the problem? Everything works fine after turning off hardware encoding.
Just to remember you guys to try this again when you decide to build Kodi 19.
Code: Select all
sudo apt-get install schroot debootstrap
sudo debootstrap --variant=buildd --arch armhf bionic /var/chroot/bionic-armhf http://ports.ubuntu.com/ubuntu-ports
sudo cp /etc/resolv.conf /var/chroot/bionic-armhf/etc/resolv.conf
sudo cp /etc/apt/sources.list /var/chroot/bionic-armhf/etc/apt/
#create schroot file
sudo vim /etc/schroot/chroot.d/bionic_armhf.conf
[bionic_armhf]
description=Ubuntu bionic
aliases=bionic
type=directory
directory=/var/chroot/bionic-armhf
personality=linux
root-users=odroid,kodi
users=odroid,kodi
preserve-environment=true
# chroot as root
schroot -c bionic -u root
apt-get update
apt-get install sudo
exit
Code: Select all
#chroot as regular odroid user
schroot -c bionic
sudo apt-get install build-essential git binutils gcc g++ autopoint autoconf automake gettext autotools-dev cmake curl default-jre devscripts wget vim
# setup libamcodec
wget https://sources.coreelec.org/libamcodec-31cd6eceaa1402b9f4ff5cc349e53899860fe9b9.tar.xz
tar -xJvf libamcodec-31cd6eceaa1402b9f4ff5cc349e53899860fe9b9.tar.xz
sudo mkdir -p /usr/lib/aml_libs/
sudo cp libamcodec-31cd6eceaa1402b9f4ff5cc349e53899860fe9b9/usr/lib/libamcodec.so.0.0 /usr/lib/aml_libs/
sudo cp -d libamcodec-31cd6eceaa1402b9f4ff5cc349e53899860fe9b9/usr/lib/libamcodec.so /usr/lib/aml_libs/
sudo cp -R libamcodec-31cd6eceaa1402b9f4ff5cc349e53899860fe9b9/usr/include/amcodec /usr/include
# setup mali
apt download libgles2-mesa-dev mesa-common-dev libegl1-mesa-dev
sudo dpkg -x libegl1-mesa-dev_19.2.8-0ubuntu0~18.04.3_armhf.deb /
sudo dpkg -x libgles2-mesa-dev_19.2.8-0ubuntu0~18.04.3_armhf.deb /
sudo dpkg -x mesa-common-dev_19.2.8-0ubuntu0~18.04.3_armhf.deb /
# remove mesa libs
cd /usr/lib/arm-linux-gnueabihf/
sudo rm libGL.so.1 libGL.so.1.0.0 libGLX.so.0.0.0 libGLX_indirect.so.0 libGLX_mesa.so.0 libGLX_mesa.so.0.0.0 libGLdispatch.so.0 libGLdispatch.so.0.0.0 libGLX.so.0
# put libMali.so (i get from coreelec image) inside /usr/lib/arm-linux-gnueabihf/.
# download from https://drive.google.com/drive/folders/11_flbJL-arTNpk8wcbWUrRLQ7DU35rVD?usp=sharing
sudo ln -s libMali.so libEGL.so
sudo ln -s libMali.so libEGL.so.1
sudo ln -s libMali.so libGLES_CM.so.1
sudo ln -s libMali.so libGLESv1_CM.so
sudo ln -s libMali.so libGLESv1_CM.so.1
sudo ln -s libMali.so libGLESv1_CM.so.1.0.1
sudo ln -s libMali.so libGLESv1_CM.so.1.1
sudo ln -s libMali.so libGLESv2.so
sudo ln -s libMali.so libGLESv2.so.2
sudo ln -s libMali.so libGLESv2.so.2.0
sudo ln -s libMali.so libGLESv2.so.2.0.0
sudo ln -s libMali.so libGLESv3.so
sudo ln -s libMali.so libGLESv3.so.3
sudo ln -s libMali.so libGLESv3.so.3.0
sudo ln -s libMali.so libGLESv3.so.3.0.0
# install kodi build dependencies
sudo apt-get install liblzo2-dev libpng-dev libgif-dev libjpeg-dev libcap-dev libcec-dev libmicrohttpd-dev \
python2.7-dev libxml2-dev libxslt1-dev libass-dev libcdio-dev libiso9660-dev uuid-dev libcurl4-openssl-dev \
libfstrcmp-dev libssl-dev libsqlite3-dev libtinyxml-dev libinput-dev libxkbcommon-dev default-jre libtag1-dev swig \
libasound-dev libdbus-1-dev libtag1-dev libfmt-dev rapidjson-dev libdvdread-dev libcrossguid-dev libtool
# move library to arm lib folder
sudo mv /usr/lib/libfstrcmp.so* /usr/lib/arm-linux-gnueabihf/
Code: Select all
cd ~
mkdir armhf && cd armhf
git clone https://github.com/xbmc/xbmc.git kodi
cd kodi
git checkout 18.7.1-Leia
#create patch file
vim ~/armhf/kodi.patch
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index 4a2622216c..3dd54f412d 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -115,6 +115,7 @@ externalproject_add(ffmpeg
--enable-protocol=http
--enable-encoder=png
--enable-encoder=mjpeg
+ --arch=arm
${ffmpeg_conf})
install(CODE "Message(Done)")
diff --git a/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp b/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
index 10e73cc74f..f89619a73a 100644
--- a/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
+++ b/xbmc/cores/VideoPlayer/DVDCodecs/Video/AMLCodec.cpp
@@ -1779,7 +1779,7 @@ bool CAMLCodec::OpenAmlVideo(const CDVDStreamInfo &hints)
m_defaultVfmMap = GetVfmMap("default");
SetVfmMap("default", "decoder ppmgr deinterlace amlvideo amvideo");
- SysfsUtils::SetInt("/sys/module/amlvideodri/parameters/freerun_mode", 3);
+ SysfsUtils::SetInt("/sys/module/ionvideo/parameters/freerun_mode", 3);
return true;
}
diff --git a/xbmc/rendering/MatrixGL.cpp b/xbmc/rendering/MatrixGL.cpp
index fc82cb35c9..4d2d53192c 100644
--- a/xbmc/rendering/MatrixGL.cpp
+++ b/xbmc/rendering/MatrixGL.cpp
@@ -11,7 +11,7 @@
#if defined(HAS_NEON) && !defined(__LP64__)
#include "utils/CPUInfo.h"
-void Matrix4Mul(float* src_mat_1, const float* src_mat_2);
+//void Matrix4Mul(float* src_mat_1, const float* src_mat_2);
#endif
#include <cmath>
@@ -131,13 +131,13 @@ void CMatrixGL::Rotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
void CMatrixGL::MultMatrixf(const CMatrixGL &matrix) noexcept
{
-#if defined(HAS_NEON) && !defined(__LP64__)
- if ((g_cpuInfo.GetCPUFeatures() & CPU_FEATURE_NEON) == CPU_FEATURE_NEON)
- {
- Matrix4Mul(m_pMatrix, matrix.m_pMatrix);
- return;
- }
-#endif
+//#if defined(HAS_NEON) && !defined(__LP64__)
+// if ((g_cpuInfo.GetCPUFeatures() & CPU_FEATURE_NEON) == CPU_FEATURE_NEON)
+// {
+// Matrix4Mul(m_pMatrix, matrix.m_pMatrix);
+// return;
+// }
+//#endif
GLfloat a = (matrix.m_pMatrix[0] * m_pMatrix[0]) + (matrix.m_pMatrix[1] * m_pMatrix[4]) + (matrix.m_pMatrix[2] * m_pMatrix[8]) + (matrix.m_pMatrix[3] * m_pMatrix[12]);
GLfloat b = (matrix.m_pMatrix[0] * m_pMatrix[1]) + (matrix.m_pMatrix[1] * m_pMatrix[5]) + (matrix.m_pMatrix[2] * m_pMatrix[9]) + (matrix.m_pMatrix[3] * m_pMatrix[13]);
GLfloat c = (matrix.m_pMatrix[0] * m_pMatrix[2]) + (matrix.m_pMatrix[1] * m_pMatrix[6]) + (matrix.m_pMatrix[2] * m_pMatrix[10]) + (matrix.m_pMatrix[3] * m_pMatrix[14]);
diff --git a/xbmc/rendering/gles/CMakeLists.txt b/xbmc/rendering/gles/CMakeLists.txt
index fc39514128..ea4481ba01 100644
--- a/xbmc/rendering/gles/CMakeLists.txt
+++ b/xbmc/rendering/gles/CMakeLists.txt
@@ -7,12 +7,12 @@ if(OPENGLES_FOUND)
../MatrixGL.h
GLESShader.h)
- if(ARCH MATCHES arm AND ENABLE_NEON)
- list(APPEND SOURCES ../MatrixGL.neon.cpp)
- if(NOT DEFINED NEON_FLAGS)
- set_source_files_properties(../MatrixGL.neon.cpp PROPERTIES COMPILE_OPTIONS -mfpu=neon)
- endif()
- endif()
+ #if(ARCH MATCHES arm AND ENABLE_NEON)
+ #list(APPEND SOURCES ../MatrixGL.neon.cpp)
+ #if(NOT DEFINED NEON_FLAGS)
+ #set_source_files_properties(../MatrixGL.neon.cpp PROPERTIES COMPILE_OPTIONS -mfpu=neon)
+ #endif()
+ #endif()
core_add_library(rendering_gles)
endif()
diff --git a/xbmc/utils/AMLUtils.cpp b/xbmc/utils/AMLUtils.cpp
index 995891bb32..bb3225f5cc 100644
--- a/xbmc/utils/AMLUtils.cpp
+++ b/xbmc/utils/AMLUtils.cpp
@@ -101,9 +101,9 @@ bool aml_permissions()
CLog::Log(LOGERROR, "AML: no rw on /dev/video10");
permissions_ok = 0;
}
- if (!SysfsUtils::HasRW("/sys/module/amlvideodri/parameters/freerun_mode"))
+ if (!SysfsUtils::HasRW("/sys/module/ionvideo/parameters/freerun_mode"))
{
- CLog::Log(LOGERROR, "AML: no rw on /sys/module/amlvideodri/parameters/freerun_mode");
+ CLog::Log(LOGERROR, "AML: no rw on /sys/module/ionvideo/parameters/freerun_mode");
permissions_ok = 0;
}
if (!SysfsUtils::HasRW("/sys/class/video/freerun_mode"))
#apply patch (remove a neon code that fails to compile, and add flag for compile ffmpeg)
patch -p1 -i ../kodi.patch
cd ..
mkdir kodi-build && cd kodi-build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=aml \
-DENABLE_INTERNAL_FLATBUFFERS=ON -DENABLE_ALSA=ON -DENABLE_AIRTUNES=OFF -DENABLE_UPNP=OFF \
-DENABLE_INTERNAL_FMT=OFF -DENABLE_INTERNAL_RapidJSON=OFF -DENABLE_OPENGLES=ON -DENABLE_OPENGL=OFF \
-DENABLE_X=OFF -DENABLE_X11=OFF -DVERBOSE=OFF -DENABLE_NEON=ON -DENABLE_PULSEAUDIO=OFF -DENABLE_CCACHE=OFF \
-DENABLE_INTERNAL_FFMPEG=ON -DENABLE_APP_AUTONAME=OFF -DENABLE_DVDCSS=OFF -DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_OPTICAL=OFF -DENABLE_EVENTCLIENTS=ON -DENABLE_CAP=ON -DENABLE_VDPAU=OFF -DENABLE_MMAL=ON \
-DENABLE_AVAHI=OFF -DENABLE_BLURAY=OFF -DENABLE_CEC=ON -DENABLE_DBUS=ON -DENABLE_EGL=ON -DENABLE_MICROHTTPD=ON \
-DENABLE_MYSQLCLIENT=OFF -DENABLE_NFS=OFF -DENABLE_NONFREE=ON -DENABLE_OPENSSL=ON -DENABLE_SMBCLIENT=OFF \
-DENABLE_SSH=OFF -DENABLE_UDEV=ON -DENABLE_UPNP=ON -DENABLE_VAAPI=OFF -DENABLE_XSLT=ON -DENABLE_LIRC=ON \
-DWITH_CPU=cortex-a73.cortex-a53 -DWITH_ARCH=arm ../kodi
make -j6
Code: Select all
#build libcec4 for armhf
cd ~/armhf
sudo apt-get build-dep libcec4
apt-get source libcec4
cd libcec-4.0.2+dfsg1
# edit debian/rules
vim debian/rules # add -DHAVE_AOCEC_API=1 in dh_auto_configure line and save
debuild -us -uc
cd ~/armhf
sudo dpkg -i libcec4_4.0.2+dfsg1-2ubuntu1.1_armhf.deb
Code: Select all
# install script.module.inputstreamhelper
mkdir -p ~/.kodi/addons
cd ~/.kodi/addons
wget https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/master.tar.gz
tar xzf master.tar.gz
mv script.module.inputstreamhelper-master/ script.module.inputstreamhelper
sudo apt-get install python-pip
pip install wheel
pip install pycryptodomex
# compile and install inputstream.adaptive
cd ~/armhf
git clone https://github.com/peak3d/inputstream.adaptive.git
cd inputstream.adaptive/
git checkout 2.4.5-Leia
mkdir build && cd build
cmake -DADDONS_TO_BUILD=inputstream.adaptive -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../kodi/addons -DPACKAGE_ZIP=1 ../../kodi/cmake/addons
cmake --build . --config Debug --target inputstream.adaptive
cp -R ~/armhf/kodi/addons/inputstream.adaptive ~/armhf/kodi-build/addons/
# compile and install pvr.iptvsimple
cd ~/armhf
cd pvr.iptvsimple/
git checkout 3.9.8-Leia
mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.iptvsimple -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../kodi/addons -DPACKAGE_ZIP=1 ../../kodi/cmake/addons
make -j6
cp -R ~/armhf/kodi/addons/pvr.iptvsimple ~/armhf/kodi-build/addons/
Code: Select all
# run kodi (inside chroot).
# remember enable inputstream.adaptive, pvr.iptvsimple inputstreamhelper
# install Amazon VOD from Sandmann79 and install libwidevine.so with inputstreamhelper
cd ~
./armhf/kodi-build/kodi.bin
# for watch live tv with widevine encription (pvr.iptvsimple):
# create a file tv.m3u8 (example) and configute the addon
#EXTM3U
#EXTINF:-1 tvg-id="id" tvg-name="name" tvg-chno="1",NAME
#KODIPROP:inputstreamaddon=inputstream.adaptive
#KODIPROP:inputstream.adaptive.manifest_type=mpd
#KODIPROP:inputstream.adaptive.license_type=com.widevine.alpha
#KODIPROP:inputstream.adaptive.license_key=https://url-license-server|User-Agent=Mozilla%2F5.0|R{SSM}|
http://url/Channel.mpd
# exit the chroot
exit
Code: Select all
# to run kodi (outside the chroot) all dependencies need to be installed
sudo dpkg --add-architecture armhf
sudo dpkg --add-architecture armhf && sudo apt update
#remove conflicting packages
apt-get remove kodi libcec4 python2.7 python2.7-minimal
sudo apt install libc6:armhf libstdc++6:armhf libcec4:armhf
cd ~/armhf
sudo dpkg -i libcec4_4.0.2+dfsg1-2ubuntu1.1_armhf.deb
sudo apt-get install liblzo2-2:armhf libpng16-16:armhf libgif7:armhf libcap2:armhf libmicrohttpd12:armhf libxml2:armhf \
libpython2.7:armhf libxslt1.1:armhf libass9:armhf libcdio17:armhf libiso9660-10:armhf libuuid1:armhf libcurl4:armhf \
libfstrcmp0:armhf libsqlite3-0:armhf libtinyxml2.6.2v5:armhf libinput10:armhf libxkbcommon0:armhf libtag1v5:armhf \
libasound2:armhf libdbus-1-3:armhf libdvdread4:armhf libcrossguid0:armhf libpcrecpp0v5:armhf
#put libMali in /usr/lib/arm-linux-gnueabihf
sudo ln -s /usr/lib/arm-linux-gnueabihf/libMali.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so
./armhf/kodi-build/kodi.bin
Users browsing this forum: istanbulls and 2 guests