Android: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Tips and tricks - Add mandatory permissions on Android 11+ for local files)
 
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="float:right;">{{Google Play}}</span>
<span style="float:right;">{{Google Play}} [https://f-droid.org/en/packages/org.xbmc.kodi/ <img src="https://cloud.githubusercontent.com/assets/9103935/14702535/45f6326a-07ab-11e6-9256-469c1dd51c22.png" width="224">]</span>
{{mininav|[[Devices]]}}
{{mininav|[[Devices]]}}
:''Looking for information on the Kodi remote control app for Android? See '''[[Official XBMC Remote/Android|Kore -The official Kodi Remote for Android]]'''.''
:''Looking for information on the Kodi remote control app for Android? See '''[[Kore|Kore -The official Kodi Remote for Android]]'''.''
{{forum link2|1=Read this page and still need help? Check out the [http://forum.kodi.tv/forumdisplay.php?fid=164 ''Kodi for Android'' support forum].}}
{{forum link2|1=Read this page and still need help? Check out the [http://forum.kodi.tv/forumdisplay.php?fid=164 ''Kodi for Android'' support forum].}}
<section begin="intro" />Kodi for Android is a full port of the complete Kodi application to Google's [[w:Android (operating system)|Android operating-system]]. With the Android NDK (Native Development Kit for Android) Kodi runs natively under Android as a Native Activity application. The main goal for the Android port is to have Kodi working on inexpensive Android set-top-boxes. And whole Android smartphones and tablets are not the main target platforms they do have limited support as well.<section end="intro" />
<section begin="intro" />Kodi for Android is a full port of the complete Kodi application to Google's [[w:Android (operating system)|Android operating-system]]. With the Android NDK (Native Development Kit for Android) Kodi runs natively under Android as a Native Activity application. The main goal for the Android port is to have Kodi working on inexpensive Android set-top-boxes. And whole Android smartphones and tablets are not the main target platforms they do have limited support as well.<section end="intro" />


== Main topics ==
== Main topics ==
Other Android-specific wiki pages for topics, guides, and advice. For '''[[General topics|everything else]]''' standard Kodi pages will normally apply.
Other Android-specific wiki pages for topics, guides, and advice. For '''[[Main_Page|everything else]]''' standard Kodi pages will normally apply.
{{Index two column
{{Index two column
  | image 1 = Gnome-emblem-downloads.png
  | image 1 = Gnome-emblem-downloads.png
  | link 1 = HOW-TO:Install Kodi for Android
  | link 1 = HOW-TO:Install Kodi for Android
  | image 2 = FAQ icon.png
  | image 2 = Nuvola apps ksim.png
| link 2 = Android FAQ
  | link 2 = Android hardware
| image 3 = Nuvola apps ksim.png
  | image 3 = Applications-development.png
  | link 3 = Android hardware
  | link 3 = Android_development
  | image 4 = Applications-development.png
  | link 4 = Touch controls
  | link 4 = Developing Kodi for Android
  | link 5 = #How-to's
| link name 5 = How-to's
| description 5 =
| image 6 = Gnome-colors-fusion-icon.png
| link 6 = #Tips and tricks
| link name 6 = Tips and tricks
| description 6 = Boost performance, troubleshoot, enhance, and more.
| link 7 = #Helpful applications
| link name 7 = Helpful applications
| description 7 =
| link 8 = #Device specific info
| link name 8 = Device specific info
| description 8 =
| link 9 = Touch controls
| link 10 = Supplemental tools
| link name 10 = Supplemental tools
| description 10 =
| link 11 = #Random notes
| link name 11 = Random notes
| description 11 =
}}
}}


Line 42: Line 21:
{{#lst:Supported hardware|Android}}
{{#lst:Supported hardware|Android}}


== How-to's ==
== How-tos ==
Assorted how-to's related to the video library that have been added to the wiki:
Assorted how-tos related to the video library that have been added to the wiki:


<!-- This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided. -->
<!-- This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided. -->
Line 53: Line 32:


== Tips and tricks ==
== Tips and tricks ==
{{see also|Android FAQ#Performance tips|Android FAQ#Troubleshooting}}
<section begin="FAQ Performance notes" />
<section begin="FAQ Performance notes" />
* {{note|Remember that hardware video decoding, which will be required on most devices for smooth video playback, requires Kodi/XBMC v13 or higher.}}
* On Android TV 11 or higher to allow Kodi access to local files you need to manually set files permissions. On Android TV go to "Settings -> Apps - Kodi -> Permissions -> Files and Media" and select "Allow all the time".
* Avoid using wireless. A lot of Android boxes and "sticks" have weak wifi, even those that advertise as being wireless-n. It may be possible to use a USB-to-ethernet dongle on some devices, or even a USB wifi adapter that has a better wifi radio than what is built-in.
* Avoid using wireless. A lot of Android boxes and "sticks" have weak wifi, even those that advertise as being wireless-n. It may be possible to use a USB-to-ethernet dongle on some devices, or even a USB wifi adapter that has a better wifi radio than what is built-in.
* Switch to a different network protocol to see if that has any effect, i.e. [[SMB|SMB/CIFS]], [[NFS]], [[FTP]], [[WebDAV]], etc.  
* Switch to a different network protocol to see if that has any effect, i.e. [[SMB|SMB/CIFS]], [[NFS]], [[FTP]], WebDAV, etc.  
* Try sharing the media on another device to rule out a device-specific (or network) issue.
* Try sharing the media on another device to rule out a device-specific (or network) issue.
* Turn off thumbnails, Kodi -> Settings -> Video -> File and deselect 'generate thumbnails'.
* Turn off thumbnails, Kodi -> Settings -> Video -> File and deselect 'generate thumbnails'.
* H.264 videos encoded with [[Hi10P]] profile will not work on most Android hardware as some (most?) ARM processors are not powerful enough to software decode it, and no hardware decoders exist for it. As faster ARM CPUs come out this will get better, but don't expect miracles from the average Android box.
* H.264 videos encoded with Hi10P profile will not work on some Android hardware as some ARM processors are not powerful enough to software decode it, and no hardware decoders exist for it. However, some newer/faster processors are able to playback Hi10P video using software decoding.
* If RSS feed is enabled, disable it in settings. This can make the main menu a bit faster.
* If RSS feed is enabled, disable it in settings. This can make the main menu a bit faster.
* Running out of disk space storage, or want to try tweaking caching and other performance settings to achieve faster response times? See '''[[HOW-TO:Reduce disk space usage]]''' for help on modifying how Kodi handles images.<section end="FAQ Performance notes" />
* Running out of disk space storage, or want to try tweaking caching and other performance settings to achieve faster response times? <section end="FAQ Performance notes" />


=== Helpful applications ===
=== Helpful applications ===
Line 74: Line 52:


--->
--->
{| class="wikitable sortable" width="100%"
:{| class="plainlinks" width="100%" cellspacing="5px"
| [[File:com.finalwire.aida64.png|50px|link=https://play.google.com/store/apps/details?id=com.finalwire.aida64]]
| [https://play.google.com/store/apps/details?id=com.finalwire.aida64 '''AIDA64''']
: A free app that reports your device's system info, including CPU type, codec support, and more.
|-
|-
! Name !! Description !! Requires<br />root? !! Link
|  [[File:com.autostart.png|50px|link=https://play.google.com/store/apps/details?id=com.autostart]]
| [https://play.google.com/store/apps/details?id=com.autostart '''AutoStart''']
: Another auto launcher
|-
| [[File:com.nolanlawson.logcat.png|50px|link=https://play.google.com/store/apps/details?id=com.nolanlawson.logcat]]
| [https://play.google.com/store/apps/details?id=com.nolanlawson.logcat '''CatLog'''] ''(requires root)''
: Useful for sending system logs to developers when trying to troubleshoot issues. If someone asks you for a "Log Cat" or a "crash log", this application will get that log.
|-
|-
| '''Link2SD''' || Good for moving the [[userdata]] to the external SD card, in case you are getting low on internal memory. || {{yes}} || [https://play.google.com/store/apps/details?id=com.buak.Link2SD link]
| [[File:Firestarter.png|50px|link=http://forum.xda-developers.com/fire-tv/themes-apps/app-root-home-launcher-replacement-app-t3118135]]
| [http://forum.xda-developers.com/fire-tv/themes-apps/app-root-home-launcher-replacement-app-t3118135 '''FireStarter'''] ''(Fire TV/stick only)''
: Fire TV replacement launcher that can also launch Kodi by default. Also includes options to both install and update official Kodi versions.
|-
|-
| '''full!screen''' || If you are using Kodi on a Android 4.3 or lower, you can use full!screen to hide the "nav buttons", allowing for full screen playback of videos. {{small|''('''Note:''' Kodion Android 4.4 should support immersive mode, allowing this switch to full screen to happen automatically)''}} || {{yes}} || [https://play.google.com/store/apps/details?id=de.tsorn.FullScreen link]
| [[File:se.ollan.kodiupdater.png|50px|link=https://play.google.com/store/apps/details?id=se.ollan.kodiupdater]]
| [https://play.google.com/store/apps/details?id=se.ollan.kodiupdater '''Kodi Updater''']
: Easily update or install Kodi without having to manually sideload.
|-
|-
| '''Multilanguage Keymap Redefiner''' || Remap keys on the Android level without having to use Kodi keymaps || {{?}} || [https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner link]
| [[File:net.tyniw.mediacodecinfo.application.png|50px|link=https://play.google.com/store/apps/details?id=net.tyniw.mediacodecinfo.application]]
| [https://play.google.com/store/apps/details?id=net.tyniw.mediacodecinfo.application '''Media Codec Info''']
: A tool to display what video codecs are enabled for your device. In theory, anything that your device has enabled for media codec should then work in Kodi.
|-
|-
| '''Startup Manager (Free)''' || Allows delectable software to open at startup. || {{?}} || [https://play.google.com/store/apps/details?id=imoblife.startupmanager link]
| [[File:innerlife.keyboard.multilanguagekeymapredefiner.png|50px|link=https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner]]
| [https://play.google.com/store/apps/details?id=innerlife.keyboard.multilanguagekeymapredefiner '''Multilanguage Keymap Redefiner''']
: Remap keys on the Android level without having to use Kodi keymaps
|-
|-
| '''SoundAbout''' || Automatic bluetooth audio routing || {{no}} || [https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix link]
| [[File:com.woodslink.android.wiredheadphoneroutingfix.png|50px|link=https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix]]
| [https://play.google.com/store/apps/details?id=com.woodslink.android.wiredheadphoneroutingfix '''SoundAbout''']
: Automatic bluetooth audio routing. Useful for switching between bluetooth headphones and TV audio automatically.
|-
|-
| '''CatLog''' || Useful for sending system logs to developers when trying to troubleshoot issues. If someone asks you for a "Log Cat" or a "crash log", this application will get that log. || {{yes}} || [https://play.google.com/store/apps/details?id=com.nolanlawson.logcat link]
| [[File:imoblife.startupmanager.jpg|50px|link=https://play.google.com/store/apps/details?id=imoblife.startupmanager]]
| [https://play.google.com/store/apps/details?id=imoblife.startupmanager '''Startup Manager (Free)''']
: Allows an app, such as Kodi, to be launched when the Android device starts up.
|-
|-
| '''Ted (Text Editor)''' || Free and open source text editor that is useful for editing various files, such as [[keymaps]] and [[advancedsettings.xml]] || {{no}} || [https://play.google.com/store/apps/details?id=fr.xgouchet.texteditor link]
| [[File:fr.xgouchet.texteditor.png|50px|link=https://play.google.com/store/apps/details?id=fr.xgouchet.texteditor]]
| [https://play.google.com/store/apps/details?id=fr.xgouchet.texteditor '''Ted (Text Editor)''']
: Free and open source text editor that is useful for editing various files, such as [[keymaps]] and [[advancedsettings.xml]]
|-
|-
| '''XBMC Launcher''' || Set Kodi (and various forks) as a Launcher without having to mod the APK || {{?}} || [https://play.google.com/store/apps/details?id=se.blunden.xbmclauncher link]
| [[File:se.blunden.xbmclauncher.png|50px|link=https://play.google.com/store/apps/details?id=se.blunden.xbmclauncher]]
|-
| [https://play.google.com/store/apps/details?id=se.blunden.xbmclauncher '''XBMC Launcher''']
| '''XBMC Updater''' || Easily update or install Kodi without having to manually sideload || {{no}} || [https://play.google.com/store/apps/details?id=se.ollan.xbmcupdater link]
: Set Kodi (and various forks) as a Launcher without having to mod the APK
|}
|}


== Device specific info ==
Here are a few device-specific guides/help areas that the community has provided.
{{Device notice}}
<!-- This section is auto-generated based on the following criteria. It then lists the page name and the text in the "intro" section, if provided. -->
<dpl>
category = HTPC
category = Android
format  = ,{{list2|%PAGE%}}
</dpl>


== Random notes ==
{{updated|16}}
{{large|''Feel free to place various notes, tips, and links here. As this section of the wiki gets more organized, those notes will be properly sorted. Consider this like a dumping ground for when you're not sure where to put something.''}}
* Make "dummy" Kodi add-ons for launching Android apps. Kodi can do this without the dummy-add-on, but some skins might require it for home screen placement: https://github.com/elmerohueso/nnxbmcnetflix


{{Isengard updated}}


[[Category:Android|*]]
[[Category:Android|*]]

Latest revision as of 06:43, 26 October 2023

Google Play download big.png <img src="https://cloud.githubusercontent.com/assets/9103935/14702535/45f6326a-07ab-11e6-9256-469c1dd51c22.png" width="224">

Home icon grey.png   ▶ Devices ▶ Android
Looking for information on the Kodi remote control app for Android? See Kore -The official Kodi Remote for Android.
Attention talk.png Read this page and still need help? Check out the Kodi for Android support forum.

Kodi for Android is a full port of the complete Kodi application to Google's Android operating-system. With the Android NDK (Native Development Kit for Android) Kodi runs natively under Android as a Native Activity application. The main goal for the Android port is to have Kodi working on inexpensive Android set-top-boxes. And whole Android smartphones and tablets are not the main target platforms they do have limited support as well.

Main topics

Other Android-specific wiki pages for topics, guides, and advice. For everything else standard Kodi pages will normally apply.

icon HOW-TO:Install Kodi for Android
This page describes how to install Kodi, either from an app "store" such as Google Play, or manually from an APK file.
icon Android hardware
For most high-definition videos (1080p or higher resolution), hardware video decoding is necessary for smooth video playback on most Android devices. Therefor this article contains a list of SoC chipset hardware, (SoC stands for "System on a Chip" which contain the CPU plus GPU and VPU circuits combination, and is also known as a "chipset"), as on Android platforms this SoC chipset is what can playback common video codecs smoothly using Kodi/XBMC.
icon Android_development
Team Kodi (formerly called Team-XBMC) first ported XBMC Media Center software to Android in 2012, and the whole project cross-platform application was renamed to Kodi in 2014. Kodi itself is a huge open source project and it takes loads of people working together to maintain it for all platforms, that is why Team-Kodi is always on the lookout for C/C++ programmers to volunteer in assisting us with the development of Kodi. Whether you have contributed to the Kodi/XBMC project in the past or not, please consider doing so now.
icon Touch controls
Touch gestures can be used to control Kodi on touch screen type devices such as those for Android and iOS and is installed preconfigured with default touch actions.

Requirements

Stop hand.png It is highly recommended for users to not make any hardware purchases in anticipation of running Kodi on Android without first researching the device you want to buy. Before you do buy, make sure multiple people have verified that it works! If in doubt, do not buy any hardware!
  • Kodi v17 and later requires Android 5.0 or higher.
  • x86 (Intel) or a NEON-compatible ARM-processor, (for example: Nvidia Tegra 3 and newer are fully supported by Kodi, while Tegra 2 and older are not).
  • The main aim for the Android port of Kodi is to foremost target media-players/set-top-boxes/sticks that connect to a large screen television and uses a standard remote control as its main interface device, (that is the same market as for HTPC).

How-tos

Assorted how-tos related to the video library that have been added to the wiki:


HOW-TO:Change data location for Android
As of v14, Kodi supports a backdoor to specify the location of your settings folder, which includes the userdata folder and add-ons. It is the equivalent of using environment variables on other platforms
HOW-TO:Install Kodi for Android
This page describes how to install Kodi, either from an app "store" such as Google Play, or manually from an APK file.
HOW-TO:Install Kodi on Fire TV
This page describes some of the methods to install Kodi onto an Amazon Fire TV (box) or Fire TV Stick. The Fire TV uses Kodi for android and does not require root. All Fire TV products allow sideloading, so no hacking or modification is required to install Kodi.
HOW-TO:Launch Android apps
Android apps can be launched from within Kodi by going to Programs -> Android programs. It is even possible to launch Android apps from shortcuts on the main menu for skins that supports custom home items.
HOW-TO:Use external players on Android
To use an external player on Kodi for Android you simply need to make a playercorefactory.xml file in the userdata folder.


Tips and tricks

  • On Android TV 11 or higher to allow Kodi access to local files you need to manually set files permissions. On Android TV go to "Settings -> Apps - Kodi -> Permissions -> Files and Media" and select "Allow all the time".
  • Avoid using wireless. A lot of Android boxes and "sticks" have weak wifi, even those that advertise as being wireless-n. It may be possible to use a USB-to-ethernet dongle on some devices, or even a USB wifi adapter that has a better wifi radio than what is built-in.
  • Switch to a different network protocol to see if that has any effect, i.e. SMB/CIFS, NFS, FTP, WebDAV, etc.
  • Try sharing the media on another device to rule out a device-specific (or network) issue.
  • Turn off thumbnails, Kodi -> Settings -> Video -> File and deselect 'generate thumbnails'.
  • H.264 videos encoded with Hi10P profile will not work on some Android hardware as some ARM processors are not powerful enough to software decode it, and no hardware decoders exist for it. However, some newer/faster processors are able to playback Hi10P video using software decoding.
  • If RSS feed is enabled, disable it in settings. This can make the main menu a bit faster.
  • Running out of disk space storage, or want to try tweaking caching and other performance settings to achieve faster response times?

Helpful applications

Some helpful Kodi related Android applications, as suggested by the community. This list should not be seen as any kind of official endorsement by Kodi.