iPhone iFaith error : startIndex cannot be larger than length of string

Discussion in 'Jailbreaks and iOS Hacks' started by Ichkamo, Jul 31, 2014.

  1. Ichkamo macrumors member

    Ichkamo

    Joined:
    Jun 13, 2013
    Location:
    World Wide Web
    #1
    Hi,
    I'm currently trying to restore my iPhone 4 to ios 6.1.3, and I am currently on this OS. When I try to build a signed IPSW, I select a blob I made with TinyUmbrella, and I get this error message : "startIndex cannot be larger than length of string" And all this in more info : (see end)
    I use a virtual machine (windows7) with parrallels desktop.
    Help!! Thanks. :)

    ////
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
    Parameter name: startIndex
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at iFaith.Definitions.DetectiOSfromRawSHSH(String shshfile)
    at iFaith.Welcome_ipsw.Button2_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    iFaith-v1.5.9
    Assembly Version: 1.5.0.0
    Win32 Version: 1.5.0.0
    CodeBase: file:///C:/Program%20Files/IFaith/iFaith-v1.5.9.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    ////
     
  2. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
  3. aPple nErd macrumors 68030

    aPple nErd

    Joined:
    Feb 12, 2012
    Location:
    Jailbreaks/IOS Hacks
    #3
    Yeah try dumping the blob with ifaith. It may be a corruped blob. Was the device updated OTA?
     
  4. Ichkamo thread starter macrumors member

    Ichkamo

    Joined:
    Jun 13, 2013
    Location:
    World Wide Web
    #4
    Hi I finally managed to make the ipsw file. BUT! I tried to restore my iphone using iTunes with this file and itunes is locked in the "preparing this iphone for restore" phase and after 20 minutes it tells me than an uknown error occured (1604)!! Now I'm stuck with an iPhone asking to be connected to itunes and I can't get it to be restored! Is there a way to fix this?? I just don't want IOS 7 whatever the cost!!! :'(
     
  5. KingShoot007 macrumors member

    Joined:
    Jul 19, 2013
    Location:
    Starfleet Academy
    #5
    Put into PWNED DFU using iReb r7.Not iFaith.Not redsn0w. iReb
    Then use the custom IPSW again
     
  6. Ichkamo thread starter macrumors member

    Ichkamo

    Joined:
    Jun 13, 2013
    Location:
    World Wide Web
    #6
    Thanks a million!!!!! It restarted my iPhone, now you tell me I must try again to restore it with iTunes??? But it didn't work last time, why would it work now??
     
  7. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #7
    Did you make sure the SHSH blob was valid?
     
  8. aPple nErd macrumors 68030

    aPple nErd

    Joined:
    Feb 12, 2012
    Location:
    Jailbreaks/IOS Hacks
    #8
    You have to use itunes 11.0.5 or older
     
  9. KingShoot007 macrumors member

    Joined:
    Jul 19, 2013
    Location:
    Starfleet Academy
    #9
    Restarted? Is your screen completely black? It should look like that. Make sure iTunes version is 11.0.5 or older (as suggested by @aPple nErd ) and then try again
     
  10. Ichkamo, Aug 28, 2014
    Last edited: Aug 28, 2014

    Ichkamo thread starter macrumors member

    Ichkamo

    Joined:
    Jun 13, 2013
    Location:
    World Wide Web
    #10
    Sorry I'm late I didn't have access to internet for a while...

    I tried, I updated to the last iTunes version, and it didn't work... Again, unknown error and this number : (11).

    So I tried erasing the iPhone's Settings and Data from the preference panes. I honestly didn't think it would work, BUT IT DID!!!!!!!
    I guess sometimes the easiest answer is the best...

    Thanks to all of you, I REALLY appreciate it, you made me discover a lot of cool and useful stuff. C ya in another thread! ;)



    (My problem was that I couldn't manage to get rid of 3,5gb of "others" on my iPhone. Now it's done, thanks to you all :D)
     

Share This Page