🍎 iPhone 💻 Windows

How to Install iOS 13 from Windows 10 Command Line (not iTunes)

Apple finally announced the iOS 13 Beta at WWDC 2019 yesterday. But getting the software installed on compatible devices has been a challenge for both macOS and Windows users. Firstly, there’s no iOS 13 beta profile available yet to let users download iOS 13 over WiFi, and then the iOS 13 Beta IPSW Restore Images can only be flashed from a Mac running either Xcode Beta 11 or the new macOS Catalina. No official way to install iOS 13 using Windows 10.

However, thanks to the this Github repo by developer Devjam81 which lets you install iOS 13 and iPadOS 13 on supported devices using your Windows 10 PC.

Downloads

If you haven’t downloaded iOS 13 or iPadOS 13 Beta IPSW firmware files yet, get it for your (compatible) iPhone or iPad Model from the links below:

Also, download the libimobile2019 zip from file from Github (link below) to be able to flash IPSW firmware files over the command line.

Important Note: Installing iOS 13 without using iTunes will probably result in a full data wipe of the device. So make sure you take a backup of your iPhone using iTunes or iCloud before proceeding.

How to Backup iPhone

Instructions

Follow the instructions below to install iOS 13 on your iPhone or iPadOS 13 on your iPad without iTunes from your Windows 10 PC.

  1. Make sure you have iTunes downloaded from Apple’s website

    Although we won’t be using iTunes to install iOS 13 on your iPhone, we still need it installed on your PC. And it should be the one downloaded from Apple’s website (download link below).

    Download iTunes Installer (.exe)

    If you’ve installed iTunes from the Microsoft Store on your PC, uninstall it and run installer linked above.

    Note: If you took a backup on the MS Store version of iTunes, make sure you archive the backup from C:\Users\<username>\Apple\MobileSync\Backup folder on your PC before uninstalling it.

  2. Extract libimobile2019-master.zip file

    Extract/Unzip the contents of libimobile2019-master.zip file to a separate folder in the C:\ drive of your PC.

  3. Rename, Copy and Paste the iOS 13 IPSW firmware file

    Rename the iOS 13 or iPadOS 13 IPSW firmware file to something like ios13.ipsw or ipados-13.ipsw and Copy/Paste the files into the same folder where you extracted the libimobile2019 files in the Step above.

  4. Launch Command Prompt as Administrator

    Open Start menu on your PC, type CMD, then select Run as administrator from the right panel.

  5. Set libimobile2019 directory as the folder path in CMD

    Direct the command line prompt to the folder where we saved the files in the step above. On our PC, the folder location is C:\libimobile2019-master, so we’ll use the following command below:

    cd C:\libimobile2019-master

    But you may have used a different folder name, so change the command accordingly. Basically, it’s cd /your/folder/address

  6. Connect your iPhone or iPad to the PC

    Connect your iPhone or iPad to the PC with a USB to Lightning cable.

  7. Flash the iOS 13 IPSW firmware

    Issue the following command in the command prompt window to finally flash the iOS 13 Beta to your iPhone.

    idevicerestore.exe -d ios13.ipsw



    Let your device install the restore image. If your device boots up fine, skip to the next step.

    If not, you may be getting the following errors in the command prompt window:
    ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC


    Side note: iTunes will show up when your device is in recovery mode. It’ll ask you to either Update or Restore the device, but you need to click on the Cancel button.

    To fix iBEC errors, follow the instructions below.

    Keep your iPhone connected to the PC. Open Device Manager on the PC (search for it in the Start menu), then expand the Universal Serial Bus devices dropdown, you should see the Apple Recovery (iBoot) USB Composite Device listed.


    Right-click on Apple Recovery (iBoot) USB Composite Device and select “Uninstall device”. Also, tick the “Delete the driver software for this device” checkbox on the confirmation popup.



    All three Apple Mobile device entries under Universal Serial Bus devices should disappear.

    Now disconnect, and then re-connect your iPhone.

    Wait for 5-10 few seconds to let Windows reinstall device drivers, then issue the restore image installation command again in the same CMD window.
    idevicerestore.exe -d ios13.ipsw

    This time, you won’t see the iBEC errors.

    When the installation is complete, you’ll get a Status: Restore Finished message.

  8. Recover your data

    You may get an Apple logo with a white screen, and it may reboot a few times. It’s normal. Disconnect your device from the PC, and give it 15-20 minutes to finally get to the “Swipe up to recover” screen.

    Do a Swipe up, enter your Passcode (twice) then let the device recover your data. This might take another 10-15 minutes. The screen will go black in a minute or so, but it’ll be working in the background. You can (single) press the power key to turn on the screen and check Data recovery progress.



    After successful data recovery, your device will reboot one last time and then you will have iOS 13 running on your iPhone or iPad.

Cheers!

106 Comments

  1. Did all as above and it worked. When my iPhone started it now says I cant activate it due to the servers. Also doesn’t work with iTunes. Any ideas?

    • Shivam Reply

      I successfully updated my two iPhone XS Max and an iPad 6th Gen. with this method.

    • I still get ERROR: Unable to send iBEC component: Unable to find device
      ERROR: Unable to send iBEC to device.
      ERROR: Unable to send iBEC

      I have the ITunes from the apple website and Itunes 12.9.5, can you help?

  2. Did all as above and it worked. When my iPhone started it now says I cant activate it due to the servers. Also doesn’t work with iTunes. Any ideas?

  3. It shows
    ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC
    over and over

    • Shivam Reply

      Make sure you don’t have the MS Store iTunes installed. If you’re not sure, just uninstall iTunes and download from the link provided on the post.

      Also, follow the instructions for resolving iBEC error.

      • I had same problem, but I installed iTunes with your link and everything is working! Thank you so much for your work! 🙂

  4. It shows
    ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC
    over and over

  5. Hi, i follop all the steps but it keep showing ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC

    • Shivam Reply

      Uninstall iTunes and then re-install from iTunes Installer from Apple’s site, not Microsoft Store

      • now it is working… You were right!, it was the MS store iTunes versión. THANK YOU.

  6. Hi, i follop all the steps but it keep showing ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC

  7. The itunes I have installed is from apple´s site, for sure. And it does not work either. Thank you

  8. The itunes I have installed is from apple´s site, for sure. And it does not work either. Thank you

  9. NOTE: using cached version data
    Found device in Normal mode
    Identified device as d221ap, iPhone10,6
    ERROR: Firmware file ios13.ipsw does not exist.

  10. NOTE: using cached version data
    Found device in Normal mode
    Identified device as d221ap, iPhone10,6
    ERROR: Firmware file ios13.ipsw does not exist.

  11. ERROR: Firmware file ios13.ipsw does not exist but the firmware. but the firmware is there, with the name ios13.ipsw. what happen? thank you

    • i fixed it just tipying ios13, without “.ipsw”… installing right now. hope it ends fine

  12. ERROR: Firmware file ios13.ipsw does not exist but the firmware. but the firmware is there, with the name ios13.ipsw. what happen? thank you

  13. Tinko Vialard Reply

    ttps://www.reddit.com/r/ios/comments/bwj1lj/guide_install_ios_13_with_windows_10/?utm_source=share&utm_medium=ios_app
    referring to this tutorial I would suggest using idevicerestore -d restore.ipsw instead of idevicerestore -e restore.ipsw If you do this your data won’t be erased.

  14. Tinko Vialard Reply

    ttps://www.reddit.com/r/ios/comments/bwj1lj/guide_install_ios_13_with_windows_10/?utm_source=share&utm_medium=ios_app
    referring to this tutorial I would suggest using idevicerestore -d restore.ipsw instead of idevicerestore -e restore.ipsw If you do this your data won’t be erased.

  15. ERROR: Unable to send RestoreLogo component: Unable to upload data to device

    ERROR: Unable to send RestoreLogo to device.

    ERROR: Unable to send AppleLogo

    ERROR: Unable to place device into restore mode

  16. ERROR: Unable to send RestoreLogo component: Unable to upload data to device

    ERROR: Unable to send RestoreLogo to device.

    ERROR: Unable to send AppleLogo

    ERROR: Unable to place device into restore mode

  17. i got to the ibec errors and followed the instructions but now i get told
    C:\libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    ERROR: Unable to discover device mode. Please make sure a device is attached.

    its plugged back in and it looked like it reinstalled the drivers please help

  18. i got to the ibec errors and followed the instructions but now i get told
    C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    ERROR: Unable to discover device mode. Please make sure a device is attached.

    its plugged back in and it looked like it reinstalled the drivers please help

  19. does not work on iPad Air 3rd Gen

    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    ERROR: Unable to discover device type

  20. does not work on iPad Air 3rd Gen

    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    ERROR: Unable to discover device type

  21. Thanks a lot!!!! i searched so long for a method like this. It worked Perfectly. I´m working on the Data restore right now. i hope it´s going to be all good.

  22. Thanks a lot!!!! i searched so long for a method like this. It worked Perfectly. I´m working on the Data restore right now. i hope it´s going to be all good.

  23. hi i got
    C:\libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as j71bap, iPad7,5
    ERROR: Firmware file ios13.ipsw does not exist.

  24. hi i got
    C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as j71bap, iPad7,5
    ERROR: Firmware file ios13.ipsw does not exist.

  25. when i put in the cmd idevicerestore.exe -d ios13.ipsw i got a popup sayin that i dont have the access and i have to install some app to run this application altought i am in admin mode in the cmd

  26. when i put in the cmd idevicerestore.exe -d ios13.ipsw i got a popup sayin that i dont have the access and i have to install some app to run this application altought i am in admin mode in the cmd

  27. I ran through this on my XS Max. it came to the “Status Restore Finished” and “Done” now my phone is alternating from black screen with white apple logo, and white screen with black apple logo.

  28. I ran through this on my XS Max. it came to the “Status Restore Finished” and “Done” now my phone is alternating from black screen with white apple logo, and white screen with black apple logo.

    • Shivam Reply

      Works fine for me. Try restarting your devices, or do a reset.

      • does not work on iPad Air 3rd Gen

        Reading data from version.xml
        NOTE: using cached version data
        Found device in Normal mode
        ERROR: Unable to discover device type

    • Shivam Reply

      Not necessary. The tool works in both states — switched on and recovery mode.

  29. Leandro Santanna Reply

    do you know how to solve the “ERROR: Unable to send RestoreLogo component: Unable to find device
    ERROR: Unable to send RestoreLogo to device.
    ERROR: Unable to send AppleLogo
    ERROR: Unable to place device into restore mode’

  30. after installation on ipad 105 its in a step attempting data recovery its should be like this?

  31. its been more then 30min, i am stuck in apple logo black& white loop

  32. Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as d221ap, iPhone10,6
    Extracting BuildManifest from IPSW
    Product Version: 13.0
    Product Build: 17A5492t Major: 17
    Device supports Image4: true
    Variant: Developer Upgrade Install (IPSW)
    This restore will update your device without losing data.
    Extracting filesystem from IPSW

  33. Lajos Adrian Reply

    ASR: __decompressChunk() error: 1000XSTA
    ASR: fail
    ASR: Could not restore – error 1
    ASR: 000
    ASR STATUS: fail

    Suggerstions?
    Thanks!

  34. C:\libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as n841ap, iPhone11,8
    ERROR: Firmware file ios13.ipsw does not exist.
    i got this error Help!

  35. I dont if you can help me …. but here the message I have : idevicerestore.exe ‘is not recognized as an internal command
    or external, an executable program or a batch file.

  36. Can someone help me…… I receive the message :

    idevicerestore.exe ‘is not recognized as an internal command
    or external, an executable program or a batch file.

  37. Im getting
    C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as d321ap, iPhone11,2
    ERROR: Firmware file ios13.ipsw does not exist.

    Please Help me

  38. Adam Taylor Reply

    C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as d221ap, iPhone10,6
    Extracting BuildManifest from IPSW
    ERROR: Could not make sure this firmware is suitable for the current device. Refusing to continue.

    Help this is all i get! I’m using iPhone X.

  39. not working for iphone 6s plus its saying
    FDR 0000000004BB9470 Timeout

    what do i do?

  40. Thanks, this worked great, exactly as expected and it retained all of my data.

  41. Once I updated to ios 13 Face ID stopped working anybody have a fix or can help

  42. C:WINDOWSsystem32>cd C:libimobile2019-master

    C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as d321ap, iPhone11,2
    ERROR: Firmware file ios13.ipsw does not exist.

    C:libimobile2019-master>

    So what am I doing wrong here?

  43. Any solutions to the firmware not existing or could someone drop a very detailed step by step tutorial

  44. Please help. iPhone 6s
    FDR 0000000004A8F3D0 timeout waiting for command
    FDR 0000000004A8F3D0 terminating…
    ERROR: Unable to restore device

  45. I tried doing the fix for the iBEC errors but that do not work. I’ve tried the steps 3 times now and I continue to get the same error

    ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC

    Can anyone tell me how to resolve this issue because removing the drivers with Device Manager still is not resolving the issue. I have an XS Max

  46. Dustin Klingele Reply

    Ok, for all of you who can’t seem to do simple instructions, stop. Do not pass go. This is not the thing for you.

    Fucking n00bs. If you can’t understand how to rename a file or move it to the right place, you really shouldn’t be installing a beta.

  47. Tamara Godbolt Reply

    I”m stuck at the Apple logo. Is there a fix? It’s been almost an hour.

  48. If it doesn’t work (BACKUP !!!!) try this command : idevicerestore.exe -d .-l ios13.ipsw THEN idevicerestore.exe -d ios13.ipsw

  49. Callum Derbyshire Reply

    I keep getting C:libimobile2019 is not recognised as an internal or external command, operable program or batch file0

  50. Wesley Aleixo Reply

    ERROR: Unable to get UniqueChipID from lockdownd
    ERROR: Unable to find device ECID

  51. Rafael Cunha Reply

    Worked for me this way: removed .ipsw from the filename. But kept .ipsw on the command line

  52. Wesley Aleixo Reply

    WARNING: set interface failed, error -8
    INFO: device serial number is DV6X63PHJC67
    DEBUG: tss_response_get_path_by_entry: No entry ‘iBEC’ in TSS response
    NOTE: No path for component iBEC in TSS, will fetch from build_identity
    Extracting iBEC.d20.RELEASE.im4p…
    Personalizing IMG4 component iBEC…
    Tag found
    Sending iBEC (996947 bytes)…
    ERROR: Unable to send iBEC component: Unable to find device
    ERROR: Unable to send iBEC to device.
    ERROR: Unable to send iBEC

    Appears to be restored by iTunes and does not proceed.

  53. Please help me…

    How do I deal with this?

    ERROR: Could not open ZIP archive ‘C:Users****AppDataLocalTempffffffffffffffffffffffffffffffff000000022’: 18
    ERROR: Unable to send baseband data
    ERROR: Unable to successfully restore device

  54. Louis Cissé Reply

    i’m getting:
    Extracting BuildManifest from IPSW
    ERROR: zip_open: ios13.ipsw: 19
    ERROR: zip_open: ios13.ipsw: 19
    ERROR: Invalid archive
    ERROR: Unable to extract BuildManifest from ios13.ipsw. Firmware file might be corrupt.

    what do I do??

  55. I followed the directions to a tee and installed on my iPhone SE. NO ERRORS.

  56. “Unable to restore device” message appears in cmd
    what is the solution ?

  57. I keep getting timed out, with an error connecting to the server, ‘no alternative certificate subject name matches target host name “gs.apple.com”‘ It tries 15 times, then times out. When I ping gs.apple.com, it is a diferent IP.

    Do I need to change the IP it pings?

  58. Zero-Isaac Tang Reply

    I’m stuck at the White Apple logo with Black background for more than one hour and a half. Can someone help me please?

  59. C:libimobile2019-master>idevicerestore.exe -d ios13.ipsw
    Reading data from version.xml
    NOTE: using cached version data
    Found device in Normal mode
    Identified device as d111ap, iPhone9,4
    ERROR: Firmware file ios13.ipsw does not exist.

    Pleas help me, I’m using iPhone 7 Plus

  60. Robert Langham Reply

    restore-step-user-progress = 32
    [12:30:40.0467-GMT]{3>5} CHECKPOINT BEGIN: RESTORED:[0x0648] cleanup_send_final_status
    restore-step-ids = {0x11030677:40;0x1103065B:47;0x11030648:50}
    restore-step-names = {0x11030677:perform_main_os_prepare;0x1103065B:asr_and_invert_image;0x11030648:cleanup_send_final_status}
    restore-step-uptime = 185
    restore-step-user-progress = 32

    FDR 0000000004B0B430 timeout waiting for command
    FDR 0000000004B0B430 terminating…
    ERROR: Unable to restore device

    what do i do?

  61. DO NOT USE THIS METHOD! You will not have FaceID working after this upgrade. Either wait for the public beta, or the dev profile or if you can’t wait find a friend with a Mac or install a Mac on VMWare….

  62. ERROR: Could not make sure this firmware is suitable for the current device. Refusing to continue.

    I go downlaod the beta profile.

  63. Sorry it s my fault dont take the good downlaod maybee i test it again but my true its :

    With this method is it possible to downgrade or maybee the betas .ipsw doesn’t need an apple verification?

  64. Thanks, this worked perfectly and I was finally able to get rid of a pesky error message that prevented my phone from even checking for an OTA and also updating from iTunes.

Write A Comment