Archive:IOS FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(trimming in prep for forum FAQ merge)
Line 3: Line 3:


==How to install XBMC for iOS?==
==How to install XBMC for iOS?==
:'''[[Install XBMC on ATV2|Install XBMC on Apple TV 2 (black)]]'''
'''[[Install XBMC on ATV2|Install XBMC on Apple TV 2 (black)]]'''
:'''[[Install XBMC on iPhone/iPad|Install XBMC on iPad, iPhone, iPod touch]]'''
 
'''[[Install XBMC on iPhone/iPad|Install XBMC on iPad, iPhone, iPod touch]]'''
----
----
__TOC__
__TOC__


==General FAQ==
==General FAQ==
===Where can I find more iOS-specific information about (or support for) XBMC?===
===Where can I get more help with XBMC on ATV2/iOS?===
:iOS-specific end-users [http://forum.xbmc.org/forumdisplay.php?f=137 forum] or the [http://forum.xbmc.org/showthread.php?t=93033 FAQ]
iOS-specific end-users [http://forum.xbmc.org/forumdisplay.php?f=137 forum]
 
===I have XBMC installed, how do I update to the latest version?===
:[[Update XBMC on ATV2]].  (It's recommended to keep all packages current with "apt-get update && apt-get upgrade" or "apt-get update && apt-get dist-upgrade" if there are packages held back and you believe it's safe to install/update them.)
:[[Update XBMC on iPhone/iPad]]


===What platforms are supported today?===
===What platforms are supported today?===
:We support up to and including iOS 4.3 (build 8F305). ATV2, iPad, iPhone 3Gs and iPhone 3rd gen (not the 8GB model) are supported.
Any version of iOS 4 and up that is jailbreakable. ATV2, iPad, iPhone 3Gs and iPhone 3rd gen (not the 8GB model) are supported.


===What XBMC version is the iOS release?===
===What XBMC version is the iOS release?===
:The current iOS version based on the 11.0 "Eden" version code. It was originally based on pre 10.0 "Dharma" code but since has been merged and updated.
The current iOS version based on the 11.0 "Eden" version code. This is the same code that all of the other platform nightly versions are using.
 
===Where are the UserData folder logs?===
:''See [[HOW-TO Submit a Proper Bug Report|here]] for bug reporting details and [http://forum.xbmc.org/showthread.php?t=92480 here] for instructions on reporting an issue to the forums.''


===Where are the UserData folder and the debug log?===
*Debug log: <code>/private/var/mobile/Library/Preferences/xbmc.log</code>
:See [[HOW-TO Submit a Proper Bug Report|here]] for bug reporting details and [http://forum.xbmc.org/showthread.php?t=92480 here] for instructions on reporting an issue to the forums.
*UserData folder: <code>/private/var/mobile/Library/Preferences/XBMC</code>
:Debug log can be found at /private/var/mobile/Library/Preferences/xbmc.log
*Syslog: <code>/var/log/syslog</code>
:UserData folder can be found at /private/var/mobile/Library/Preferences/XBMC
*CrashReporter: <code>/var/logs/CrashReporter/*.plist</code>


===What remotes work?===
:The '''iPhone''' and '''iPad''' variants take direct screen input.
:The '''ATV2 remote''' works with XBMC and can be [http://forum.xbmc.org/showthread.php?t=94577 customized]. The '''Apple Remote app''' works but keyboard/gesture support isn't in the official releases yet. All iOS apps should work, e.g. Rowmote Pro (requires helper, see nitoTV), XBMC Control, [http://forum.xbmc.org/showthread.php?t=98067 etc]. Visit the [http://forum.xbmc.org/forumdisplay.php?f=137 forum] if you run into issues.
:'''Bluetooth''' keyboards can be used after BTstack is installed using either nitoTV or the command line. [http://forum.xbmc.org/showthread.php?t=92386]
:'''Harmony''' Remotes have experimental support and you can teach the ATV2 to use most standard IR remotes via Settings > General > Remotes > Learn Remote.
:The original '''XBOX''' remote does not work.


===How do I get to the context menu?===
===What formats and resolutions will iOS devices play?===
:Apple remote: Press and hold MENU will pop up the context menu on an item in a list.
XBMC on iOS can playback all formats supported by XMBC. Only h.264 content is hardware accelerated, so only HD content in h.264 will be smooth. XBMC supports up to 1080 video.
:Touchscreen: two finger single tap the menu item.


===How do I bring up slide out menus?===
===How can I backup my XBMC settings?===
:Apple remote: Press to the right on the remote with the appropriate list item selected.
The most common way is to copy or FTP this directory from the atv2 to another computer: /private/var/mobile/Library/Preferences/XBMC/userdata. Some recommend backing up the entire Preferences/XBMC directory. [http://forum.xbmc.org/showthread.php?t=92778]  To restore, FTP the directory back to it's original location, then ssh to the atv2 and run the following command to reset ownership/permissions:
:Touchscreen: Hold the menu item to bring it up, then swipe right to access the sub content.
:: <code>chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata</code>
:General Apple remote functions can be found [[Global_Apple_Remote|here]].


===I changed skins on the iPad or other touch device and now I can't navigate back to change them... help!===
==Touch screen iOS devices==
:Unfortunately, most skins aren't designed with touch in mind. The only way to fix this problem, currently, is to delete or edit guisettings.xml, found in your userdata folder.
 
===What remotes work?===
*Direct screen input.
*Web interface
*Android and iOS remote Apps


===What formats and resolutions will iOS devices play?===
===Touch screen controls===
:XBMC on iOS can playback all formats supported by XMBC. Only h.264 content is hardware accelerated, so only HD content in h.264 will be smooth. XBMC supports up to 1080 video.
*'''Context menu:''' Two finger single tap the menu item.
*'''Slide out menus:''' Hold the menu item to bring it up, then swipe right to access the sub content.


===Why are settings or sources not stored and updates are failing?===
===I changed skins on the iPad or other touch device and now I can't navigate back to change them... help!===
:This can happen when the setting xml files are manipulated outside XBMC. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.
Delete <code>/private/var/mobile/Library/Preferences/XBMC/userdata/guisettings.xml
:Run the following command on the iPad/ATV2:


::chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata


==Apple TV 2 (black)==


==Apple TV 2 specific FAQ==
===What remotes work?===
*The '''ATV2 remote''' works with XBMC and can be [http://forum.xbmc.org/showthread.php?t=94577 customized].
**General Apple remote functions can be found at [[Global Apple Remote]]
*Web interface
*Android and iOS remote Apps
*Rowmote Pro (requires helper, see nitoTV)
*'''Bluetooth''' keyboards can be used after BTstack is installed using either nitoTV or the command line. [http://forum.xbmc.org/showthread.php?t=92386]
*'''Harmony''' Remotes have experimental support and you can teach the ATV2 to use most standard IR remotes via Settings > General > Remotes > Learn Remote.


===What happens to original Apple TV 2 software after the XBMC installation?===
===What happens to original Apple TV 2 software after the XBMC installation?===
:XBMC is installed onto the Apple TV flashdrive, much like any iOS app, but you will still be able you use your Apple TV software as normal, XBMC will only be an extra option that you can launch from the Apple TV's original menu when you want to utilize the extra features and functions that are available in XBMC compared to the original Apple TV software. So XBMC will not replace the original Apple TV software, it instead complements the existing Apple TV software.
XBMC is installed onto the Apple TV flashdrive, much like any iOS app, but you will still be able you use your Apple TV software as normal, XBMC will only be an extra option that you can launch from the Apple TV's original menu when you want to utilize the extra features and functions that are available in XBMC compared to the original Apple TV software. So XBMC will not replace the original Apple TV software, it instead complements the existing Apple TV software.
 
===Where can I find the version of XBMC and iOS that I'm running?===
: For '''XBMC''', XBMC main menu > System > right-click Apple TV remote > System info (it's at the bottom). For '''iOS''', Apple TV main menu > Settings > General > About > click Select to toggle between Apple TV software version and iOS build version.  Apple TV software is the application running on top of iOS similar to how FrontRow runs on MacOS. It's similar versions are easily confused with the [http://en.wikipedia.org/wiki/IOS_version_history#Version_history:_Apple_TV iOS versions]. More info on the Apple TV software versions is available [http://support.apple.com/kb/HT4448 here].


===How can I backup my XBMC settings?===
:The most common way is to copy or FTP this directory from the atv2 to another computer: /private/var/mobile/Library/Preferences/XBMC/userdata. Some recommend backing up the entire Preferences/XBMC directory. [http://forum.xbmc.org/showthread.php?t=92778]  To restore, FTP the directory back to it's original location, then ssh to the atv2 and run the following command to reset ownership/permissions:
:: chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata


===What resolutions is the ATV2 capable of outputting?===
===What resolutions is the ATV2 capable of outputting?===
:At present, though the ATV2 can decode 1080p video (using Apple's private VideoToolBox API for hardware-accelerated decoding), it is limited to 720p output. The 1080p video is decoded, then down-scaled in hardware to 720p.  This is low on the priority list to "fix", as it may be a Frontrow limitation or a hardware limitation (ATV 2 has limited resources, i.e. 256MB RAM, etc). To see if you can really benefit with 1080p output, please consult this [http://hd.engadget.com/2006/12/09/1080p-charted-viewing-distance-to-screen-size/ chart]
At present, though the ATV2 can decode 1080p video (using Apple's private VideoToolBox API for hardware-accelerated decoding), it is limited to 720p output. The 1080p video is decoded, then down-scaled in hardware to 720p.  This is low on the priority list to "fix", as it may be a Frontrow limitation or a hardware limitation (ATV 2 has limited resources, i.e. 256MB RAM, etc). To see if you can really benefit with 1080p output, please consult this [http://hd.engadget.com/2006/12/09/1080p-charted-viewing-distance-to-screen-size/ chart]


===Can I hook up my external harddrive or other USB device to the ATV2?===
===Can I hook up my external harddrive or other USB device to the ATV2?===
:Unfortunately, the ATV2 can not operate as a USB host, so hooking an external drive or any other USB device to it will not work.  Only media physically on the ATV2 and media hosted on the network will be available.
Unfortunately, the ATV2 can not operate as a USB host, so hooking an external drive or any other USB device to it will not work.  Only media physically on the ATV2 and media hosted on the network will be available.
 
===Where are the logs on the ATV2?===
:Syslog: /var/log/syslog
:CrashReporter: /var/logs/CrashReporter/*.plist
:Debug log: /private/var/mobile/Library/Preferences/xbmc.log


===Updating iOS on ATV2===
===Updating iOS on ATV2===
:iOS can be upgraded/downgraded/restored (which deletes your XBMC settings) by plugging the atv2 into a computer (via microUSB cable only) running iTunes. To downgrade, Option-click (Shift-click in Windows) the Restore button in iTunes and selecting the ipsw firmware file (you need to use [http://appletvblogr.com/2010/12/how-to-save-shsh-files-for-the-apple-tv-2g-manually-using-tinyumbrella/ Tiny Umbrella] and previously saved SHSH blobs if the ipsw file version is no longer being signed by Apple). iOS 4.3 now has hardware acceleration in addition to previous versions (available in [http://forum.xbmc.org/showthread.php?t=97246 XBMC nightly builds] after 3/26/2011). Keep in mind any jailbreak hassles that go along with updating have nothing to do with XBMC.
iOS can be upgraded/downgraded/restored (which deletes your XBMC settings) by plugging the atv2 into a computer (via microUSB cable only) running iTunes. To downgrade, Option-click (Shift-click in Windows) the Restore button in iTunes and selecting the ipsw firmware file (you need to use [http://appletvblogr.com/2010/12/how-to-save-shsh-files-for-the-apple-tv-2g-manually-using-tinyumbrella/ Tiny Umbrella] and previously saved SHSH blobs if the ipsw file version is no longer being signed by Apple). iOS 4.3 now has hardware acceleration in addition to previous versions (available in [http://forum.xbmc.org/showthread.php?t=97246 XBMC nightly builds] after 3/26/2011). Keep in mind any jailbreak hassles that go along with updating have nothing to do with XBMC.


===HOW TO set the time zone on ATV2===
===HOW TO set the time zone on ATV2===
:iOS 4.3 offers the ability to set the Time Zone via the Apple TV gui, under Settings > General > Time Zone.
iOS 4.3 offers the ability to set the Time Zone via the Apple TV gui, under Settings > General > Time Zone.


:On previous iOS versions it has to be done via command line. [http://forum.xbmc.org/showthread.php?t=92492&highlight=timezone]
On previous iOS versions it has to be done via command line. [http://forum.xbmc.org/showthread.php?t=92492&highlight=timezone]
:<pre>cd /var/db/timezone ; rm localtime</code>
:ln -s /usr/share/zoneinfo/[Country or Region]/[Zone Name] localtime (e.g. "ln -s /usr/share/zoneinfo/Canada/Eastern localtime")</pre>


::cd /var/db/timezone ; rm localtime
===HOW TO stop the ATV from checking for updates and crashing XBMC===
::ln -s /usr/share/zoneinfo/[Country or Region]/[Zone Name] localtime (e.g. "ln -s /usr/share/zoneinfo/Canada/Eastern localtime")
Install updatebegone via nitoTV or ssh (i.e. "apt-get install com.nito.updatebegone"). This has fixed the issue in many cases but if it doesn't, first make sure your packages are current ("apt-get update && apt-get upgrade" and reboot), and if the issue is still there, add these lines to your /etc/hosts file: [http://forum.xbmc.org/showpost.php?p=748981&postcount=1]
:<pre>echo "127.0.0.1 appldnld.apple.com" >> /etc/hosts
echo "127.0.0.1 mesu.apple.com" >> /etc/hosts
echo "127.0.0.1 appldnld.apple.com.edgesuite.net" >> /etc/hosts</pre>


===HOW TO stop the ATV from checking for updates and crashing XBMC===
==Basic troubleshooting==
:Install updatebegone via nitoTV or ssh (i.e. "apt-get install com.nito.updatebegone"). This has fixed the issue in many cases but if it doesn't, first make sure your packages are current ("apt-get update && apt-get upgrade" and reboot), and if the issue is still there, add these lines to your /etc/hosts file: [http://forum.xbmc.org/showpost.php?p=748981&postcount=1]
 
:echo "127.0.0.1 appldnld.apple.com" >> /etc/hosts
===Why are settings or sources not stored and updates are failing?===
:echo "127.0.0.1 mesu.apple.com" >> /etc/hosts
This can happen when the setting xml files are manipulated outside XBMC. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.
:echo "127.0.0.1 appldnld.apple.com.edgesuite.net" >> /etc/hosts
 
Run the following command on the iPad/ATV2:
 
::<code>chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata</code>


[[Category:FAQ]]
[[Category:FAQ]]
[[Category:ATV2]]
[[Category:ATV2]]
[[Category:iOS]]
[[Category:iOS]]

Revision as of 12:01, 10 September 2011

Template:XBMC faq toc Inline XBMC for iOS specific Frequently Asked Questions and Answers

How to install XBMC for iOS?

Install XBMC on Apple TV 2 (black)

Install XBMC on iPad, iPhone, iPod touch


General FAQ

Where can I get more help with XBMC on ATV2/iOS?

iOS-specific end-users forum

What platforms are supported today?

Any version of iOS 4 and up that is jailbreakable. ATV2, iPad, iPhone 3Gs and iPhone 3rd gen (not the 8GB model) are supported.

What XBMC version is the iOS release?

The current iOS version based on the 11.0 "Eden" version code. This is the same code that all of the other platform nightly versions are using.

Where are the UserData folder logs?

See here for bug reporting details and here for instructions on reporting an issue to the forums.
  • Debug log: /private/var/mobile/Library/Preferences/xbmc.log
  • UserData folder: /private/var/mobile/Library/Preferences/XBMC
  • Syslog: /var/log/syslog
  • CrashReporter: /var/logs/CrashReporter/*.plist


What formats and resolutions will iOS devices play?

XBMC on iOS can playback all formats supported by XMBC. Only h.264 content is hardware accelerated, so only HD content in h.264 will be smooth. XBMC supports up to 1080 video.

How can I backup my XBMC settings?

The most common way is to copy or FTP this directory from the atv2 to another computer: /private/var/mobile/Library/Preferences/XBMC/userdata. Some recommend backing up the entire Preferences/XBMC directory. [1] To restore, FTP the directory back to it's original location, then ssh to the atv2 and run the following command to reset ownership/permissions:

chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata

Touch screen iOS devices

What remotes work?

  • Direct screen input.
  • Web interface
  • Android and iOS remote Apps

Touch screen controls

  • Context menu: Two finger single tap the menu item.
  • Slide out menus: Hold the menu item to bring it up, then swipe right to access the sub content.

I changed skins on the iPad or other touch device and now I can't navigate back to change them... help!

Delete /private/var/mobile/Library/Preferences/XBMC/userdata/guisettings.xml


Apple TV 2 (black)

What remotes work?

  • The ATV2 remote works with XBMC and can be customized.
  • Web interface
  • Android and iOS remote Apps
  • Rowmote Pro (requires helper, see nitoTV)
  • Bluetooth keyboards can be used after BTstack is installed using either nitoTV or the command line. [2]
  • Harmony Remotes have experimental support and you can teach the ATV2 to use most standard IR remotes via Settings > General > Remotes > Learn Remote.

What happens to original Apple TV 2 software after the XBMC installation?

XBMC is installed onto the Apple TV flashdrive, much like any iOS app, but you will still be able you use your Apple TV software as normal, XBMC will only be an extra option that you can launch from the Apple TV's original menu when you want to utilize the extra features and functions that are available in XBMC compared to the original Apple TV software. So XBMC will not replace the original Apple TV software, it instead complements the existing Apple TV software.


What resolutions is the ATV2 capable of outputting?

At present, though the ATV2 can decode 1080p video (using Apple's private VideoToolBox API for hardware-accelerated decoding), it is limited to 720p output. The 1080p video is decoded, then down-scaled in hardware to 720p. This is low on the priority list to "fix", as it may be a Frontrow limitation or a hardware limitation (ATV 2 has limited resources, i.e. 256MB RAM, etc). To see if you can really benefit with 1080p output, please consult this chart

Can I hook up my external harddrive or other USB device to the ATV2?

Unfortunately, the ATV2 can not operate as a USB host, so hooking an external drive or any other USB device to it will not work. Only media physically on the ATV2 and media hosted on the network will be available.

Updating iOS on ATV2

iOS can be upgraded/downgraded/restored (which deletes your XBMC settings) by plugging the atv2 into a computer (via microUSB cable only) running iTunes. To downgrade, Option-click (Shift-click in Windows) the Restore button in iTunes and selecting the ipsw firmware file (you need to use Tiny Umbrella and previously saved SHSH blobs if the ipsw file version is no longer being signed by Apple). iOS 4.3 now has hardware acceleration in addition to previous versions (available in XBMC nightly builds after 3/26/2011). Keep in mind any jailbreak hassles that go along with updating have nothing to do with XBMC.

HOW TO set the time zone on ATV2

iOS 4.3 offers the ability to set the Time Zone via the Apple TV gui, under Settings > General > Time Zone.

On previous iOS versions it has to be done via command line. [3]

cd /var/db/timezone ; rm localtime</code>
ln -s /usr/share/zoneinfo/[Country or Region]/[Zone Name] localtime (e.g. "ln -s /usr/share/zoneinfo/Canada/Eastern localtime")

HOW TO stop the ATV from checking for updates and crashing XBMC

Install updatebegone via nitoTV or ssh (i.e. "apt-get install com.nito.updatebegone"). This has fixed the issue in many cases but if it doesn't, first make sure your packages are current ("apt-get update && apt-get upgrade" and reboot), and if the issue is still there, add these lines to your /etc/hosts file: [4]

echo "127.0.0.1 appldnld.apple.com" >> /etc/hosts

echo "127.0.0.1 mesu.apple.com" >> /etc/hosts

echo "127.0.0.1 appldnld.apple.com.edgesuite.net" >> /etc/hosts

Basic troubleshooting

Why are settings or sources not stored and updates are failing?

This can happen when the setting xml files are manipulated outside XBMC. Connect to your iPad/ATV2 as root using an ssh client and repair file permissions.

Run the following command on the iPad/ATV2:

chown -R mobile:mobile /private/var/mobile/Library/Preferences/XBMC/userdata