REQUEST: Help me get my stock YouTube app back

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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!
 

crazycanucks

macrumors regular
Jun 30, 2010
197
0
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!
How did you delete it? Why did you in the first place?
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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.
 

sidewinder

macrumors 68020
Dec 10, 2008
2,425
129
Northern California
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.
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-
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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-
I'm sorry I'm confused. So I would have to do this in terminal? After cd'ing to the YouTube dir?
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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?
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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?
 

murdercitydevil

macrumors 68000
Original poster
Feb 23, 2010
1,561
0
california
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.