-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to run Elementum on Android 10 #669
Comments
Have no idea. I have no android and no chromecasts to test. |
@elgatito As I understand it does not installs correctly |
@Wampukas you may have specific Kodi home directory. Try to find where you have Kodi plugins directory, and Elementum directory. |
If I compare directories on firestick 4k and chromecast devices, I can see all the same path: I adding compared log from Amazon Firestick 4k: http://paste.kodi.tv/garusewapa The installation is not customized at all. Only Simple IPTV addon and Elementum. I believe everyone will face with this issue using that device. |
Have you installed Elementum from the big archivewith all architectures? |
@elgatito 2021-01-02 23:39:38.564 T:10415 WARNING : [plugin.video.elementum] elementumd: start args: ['/data/data/org.xbmc.kodi/files/plugin.video.elementum/bin/android_arm/elementum'], kw: {'stdout': -1, 'stderr': -2, 'cwd': '/data/data/org.xbmc.kodi/files/plugin.video.elementum/bin/android_arm', 'env': {'PATH': '/sbin:/system/sbin:/product/bin:/apex/com.android.runtime/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_RUNTIME_ROOT': '/apex/com.android.runtime', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/apex/com.android.runtime/javalib/core-oj.jar:/apex/com.android.runtime/javalib/core-libart.jar:/apex/com.android.runtime/javalib/okhttp.jar:/apex/com.android.runtime/javalib/bouncycastle.jar:/apex/com.android.runtime/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/android.test.base.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.media/javalib/updatable-media.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.runtime/javalib/core-oj.jar:/apex/com.android.runtime/javalib/core-libart.jar:/apex/com.android.runtime/javalib/okhttp.jar:/apex/com.android.runtime/javalib/bouncycastle.jar:/apex/com.android.runtime/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/android.test.base.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/com.android.location.provider.jar', 'DOWNLOAD_CACHE': '/data/cache', 'ANDROID_SOCKET_zygote': '14', 'ANDROID_SOCKET_usap_pool_primary': '15', 'KODI_ANDROID_SYSTEM_LIBS': '/system/lib:/product/lib', 'KODI_ANDROID_LIBS': '/data/app/org.xbmc.kodi-runCNYq7yBXdi5nAvYzPDQ==/lib/arm', 'KODI_ANDROID_APK': '/data/app/org.xbmc.kodi-runCNYq7yBXdi5nAvYzPDQ==/base.apk', 'KODI_BIN_HOME': '/data/user/0/org.xbmc.kodi/cache/apk/assets', 'KODI_HOME': '/data/user/0/org.xbmc.kodi/cache/apk/assets', 'KODI_BINADDON_PATH': '/data/user/0/org.xbmc.kodi/cache/lib', 'HOME': '/storage/emulated/0/Android/data/org.xbmc.kodi/files', 'PYTHONHOME': '/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8', 'PYTHONPATH': '', 'PYTHONOPTIMIZE': '1', 'PYTHONNOUSERSITE': '1', 'SSL_CERT_FILE': '/data/user/0/org.xbmc.kodi/cache/apk/assets/system/certs/cacert.pem', 'OS': 'Linux', 'LC_CTYPE': 'C.UTF-8', 'LD_LIBRARY_PATH': '/data/data/org.xbmc.kodi/files/plugin.video.elementum/bin/android_arm:', 'GODEBUG': 'madvdontneed=1'}, 'close_fds': True} |
Again, you need to find the directory which contains Kodi plugins. If it is the same - try to run the binary manually. |
When I am trying to disable and reenable Elementum addon, it is showing error popup, that something wrong with permissions. How to run manually on android ? This device is not rooted. I have found relative info here: #237 |
@Wampukas I'm comparing your paths from log files and they are equal for both Chromecast and Fire. It can be something with execute permissions on Android 10. It's hard to guess, because I have no android device like that to test. Try to run console on Chromecast device, and open that directory |
Here is the permission output log: https://paste.kodi.tv/duxalasijo.kodi What I can see more: 2021-01-04 23:04:19.152 T:9984 ERROR : [Errno 13] Permission denied: /data/data/org.xbmc.kodi/files/plugin.video.elementum/bin/android_arm/elementum' 2021-01-04 23:04:23.649 T:9951 INFO : CPythonInvoker(2, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run How can I help more? If It would help I can archive and share FireTV and Google chromecast all content from the storage. I backuped by using adbLink |
@Wampukas okay, so you jsut run adb commands from your device.
|
@Wampukas Thanks. Can you also show output for this one:
|
@Wampukas And these, please:
|
Here you are: https://paste.kodi.tv/osifedisuc.kodi If I understand correctly, elementum cannot be installed in standard location ? |
@Wampukas Can you try to replace |
I still get:
|
@Wampukas Sad to say, but I don't have more ideas. @antonsoroko do you use Android > 10 with Elementum? |
Maybe some problem is due to architecture: https://www.reddit.com/r/Chromecast/comments/jg1veu/does_anyone_know_what_architecture_the_ccwgtv_has/ |
@Wampukas No, its not related. |
@elgatito Update: Also have tried to use usb hub and attached usb stick, moved kodi application (using chromecast feature) to usb stick. The permission error still persists. Update2: The issue is with kodi 19. I have installed Kodi 18.9 from google play store and Elementum installed perfectly and it works. After that updated from apk to kodi 19 and the situation is the same. Permission error. So where could be the problem? Update3: I have installed kodi and elementum on google phone with Android 10. The problem is the same. Can you help to rise a case on main kodi github? |
@Wampukas It is not a Kodi bug, because Kodi works fine. And it works fine usually. But probably something has been changed. Again, you need a device to see it. |
@elgatito |
Any other confirmation regarding Android 10 is? |
Yes, I have the same issue with 19 on Android 10 after clean install. |
I have the same issue as well on Kodi 19, but on Kodi 18.9 + Android 10 + Elementum no issues at all. I tired to run the binary, but I still get Access denied. |
@thedamn316 @serkud @Wampukas What to do:
The problem is that Android uses links to directories that do not have execute permissions. |
Don't want to be the bearer of bad news, and hope I'm wrong, but perhaps this problem can't be solved easily, if at all. Kodi 19, at least google play version is targeting SDK29, and as a consequence: Quoting https://developer.android.com/about/versions/10/behavior-changes-10 |
@killwarez Try to use v0.1.88 everywhere. There are changes that allow properly using multiple Kodi's with one Elementum binary, that can be started anywhere. |
@elgatito , cannot find 0.1.88 nor in releases neither on homepage. Could you post a link? |
Had issues with release process. Should be available now. |
It is. Going to check later today. Thank you. |
Anyone running Elementum in docker and found a way to stop the daemon spamming the logs when kodi is closed? |
What messages? |
@elgatito |
@ShlomiD83 To know settings Elementum needs either a running Kodi, that would return settings, or starting with local config, then Kodi is not required for that. |
where inside the container should the settings.xml file be located? |
It is little easier (as for me) with >= 0.1.89. Run elementum with |
that's a command? env variable? volume? |
Command line variable. |
services: that's my stack. how should I proceed? |
Generate config file, add to the the docker runtime, and import on startup. And you will probably not need |
the configfile path should be on the host or inside the container? |
I have a settings.yml file from another machine and i've added the command -configPath but I get this error: 2023-07-03T17:02:21.339456790Z INFO config ▶ importConfig Importing configuration from a file at: /wdred/Config/Elementum/settings.yml |
Any. If it is on the host - then proxied to a container. |
it's written different? I wasn't able to export..I'll try again. |
root@openmediavault:/# elementum -exportConfig=/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.elementum/settings.yml what am I doing wrong? |
When you want to export setting - you need to take them somewhere, so connect properly to Kodi. You can start with |
I'm connected to Kodi, the addon on the remote host is working. |
You are connecting to localhost Kodi. |
I'm unable to use the export command, it keeps failing. 2023-07-03T17:45:17.623053884Z INFO config ▶ importConfig Importing configuration from a file at: /settings/settings.yml |
As I was saying, Kodi's Since you have this mount
Then you should probably export config into a file on that mount, and then read it on startup.
Then use it:
|
@elgatito I'll try that. |
@elgatito I think I've managed to export the config and run Elementum from the exported config file. |
@Wampukas Can you verify if this issue is fixed or no. I feel we need to close it finally. |
@elgatito I think we can close. |
LT2http still gives permission denied error 13 |
Expected Behavior
Just install Elementum plugin. It works for Firestick 4K, Windows 10 PC but not for new Google Chromecast with Google TV
Current Behavior
Cannot install from ZIP file Elementum repository. It tires to install and run after installation but getting an error with permissions.
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: