REQUEST: Help me get my stock YouTube app back

Discussion in 'Jailbreaks and iOS Hacks' started by murdercitydevil, Aug 7, 2010.

  1. murdercitydevil macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #1
    So I deleted my stock YouTube app and now want to get it back without doing a restore. Would anyone be so kind as to SSH their phone and pull out the YouTube app folder, zip it, and upload it to megaupload or something? I'm on 4.0.1 by the way. Thank you!
     
  2. BurntReality macrumors 6502

    BurntReality

    Joined:
    Jun 21, 2010
    Location:
    Tyler, TX
    #2
    Are you sure you deleted it?

    Make sure you don't have restrictions on and that it is not hid via SBsettings.
     
  3. crazycanucks macrumors regular

    Joined:
    Jun 30, 2010
    #3
    How did you delete it? Why did you in the first place?
     
  4. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #4
    I def deleted it. Stupid mistake, for some reason I though the YouTube webapp would magically be able to handle YouTube links, but of course it doesn't. Deleted the entire YouTube folder from var/mobile/applications so theoretically putting it back in place should fix things.
     
  5. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #5
    When you get the the YouTube dir back from someone, there is a symbolic link you will need to put in place:

    CodeResources -> _CodeSignature/CodeResources

    the command to that from within the YouTube dir is:

    ln -s _CodeSignature/CodeResources CodeResourcesn

    S-
     
  6. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #6
    I'm sorry I'm confused. So I would have to do this in terminal? After cd'ing to the YouTube dir?
     
  7. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #7
    Correct.

    S-
     
  8. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #8
    Okay, so I was able to install YouTube.app through iTunes, at which point it automatically made a directory in /var/mobile/Applications/, a long string of numbers and letters, as all the App folders are. I opened mobile terminal, cd to that directory, and ran the command you gave me. I reboot the phone, and all of a sudden, my Winterboard theme is gone, and the YouTube app doesn't work. It opens, but nothing ever loads, it just stays blank. Any idea what happened?
     
  9. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #9
    Not a clue. I have never deleted a built-in app......

    S-
     
  10. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #10
    I'm going to try it again from scratch. Just to clarify, did you intentionally put an "n" at the end of this command? Or was that a typo?

    ln -s _CodeSignature/CodeResources CodeResourcesn
     
  11. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #11
    How did that get there? I just copied and pasted it...

    It should be:

    ln -s _CodeSignature/CodeResources CodeResources

    S-
     
  12. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #12
    Yeah, same result...Everything looks as though it's correct. The command works fine, the phone knows the app is installed, everything is in place, but for some reason when it launches, doesn't display anything. I thought maybe it was my firewall, but I added a global allow for that app and the same thing. Even weblinks to youtube videos correctly call for the app to be opened, but it's just blank, and then eventually closes itself. Very weird. Do you think this may have anything to do with the iOS version? Are you on 4.0.1?
     
  13. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #13
    The app directory should be in:

    /var/stash/Applications/

    And you should have installed manually, not through iTunes...

    S-
     
  14. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #14
    I have a black 32GB iPhone 4 running iOS 4.0.1.

    S-
     
  15. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #15
    Ah I misunderstood then. Let me try this and report back.
     
  16. murdercitydevil thread starter macrumors 68000

    murdercitydevil

    Joined:
    Feb 23, 2010
    Location:
    california
    #16
    Unfortunately it does the same thing. Just opens and kills itself instantly. When I was running the command, it said a symbolic link already existed, so I ran the command with -f to remove it, and it made no difference.

    EDIT: one thing that's interesting is it no longer lets me delete the app, so it behaves like the stock YouTube app again. Just doesn't launch.
     
  17. Bakakage macrumors 6502

    Joined:
    Jun 18, 2009
  18. sidewinder macrumors 68020

    sidewinder

    Joined:
    Dec 10, 2008
    Location:
    Northern California
    #18
    That's what I would do too...well, I wouldn't have deleted the YouTube app in the first place but that ship has already sailed.

    S-
     

Share This Page