Results 1 to 4 of 4
Discuss How to create symlink FOLDERS (not files)? SOLVED at the General - Hackint0sh.org; I deleted the Applications symlink from root on my iPhone. I have no stock apps, ...
  1. #1
    Advanced Array BigDaddyK's Avatar

    Join Date
    Mar 2008
    Location
    Fort Madison, Iowa
    Posts
    42
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default How to create symlink FOLDERS (not files)? SOLVED

    I deleted the Applications symlink from root on my iPhone. I have no stock apps, etc. after reboot.

    I believe that if I can recreate the symbolic link everything will work fine, however, when I do this in Cyberduck, it creates the link as a FILE link. Under Info in Cyberduck, it says the Kind is Symbolic Link (File) while a friend's iPhone shows Symbolic Link (Folder).

    How do I use Cyberduck or Terminal to create the correct type of symbolic link? I've been using the following syntax:

    ln -s /private/var/stash/Applications Applications

    Any help will be GREATLY appreciated - it'll save me from a full restore!



  2. #2
    Respected Professional Array hquest's Avatar

    Join Date
    Nov 2007
    Location
    Jersey City, NJ / Curitiba, BRA
    Posts
    615
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    50

    Default

    ... If you can log using Cyberduck, you can log using plain SSH, and create symlink by yourself

    If on a UNIX, including OS X, open a Terminal window, and type

    ssh root@your.phone.ip.address

    Then type your password -- if you did not change it, is "alpine" -- and create your link as the syntax you already have.

    If on Windows, I recommend getting PuTTY and setting it up to connect as root to your.phone.ip.address, log on phone and create link.

  3. #3
    Advanced Array BigDaddyK's Avatar

    Join Date
    Mar 2008
    Location
    Fort Madison, Iowa
    Posts
    42
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    What ended up "fixing" my problem was:

    ln -s //var/stash/Applications Applications

    That created a symlink folder that allowed me to avoid a restore.

  4. #4
    Newbie Array

    Join Date
    Oct 2011
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    None of these solved my issue. I foolishly deleted the Applications link on my iTouch 2G (jailbroken with redsn0w 0.9.6b4). My cracked APPs were fine; all of the stock APPs (Notes, Safari, Clock, etc.) were gone. Could SSH in via Terminal. Just needed to know where to create a link to. Symlinks created via "ln -s" are NOT folder links like the ones already present (e.g. etc, var, temp). Here is the solution. Type it exactly, including the LACK of a "/" in front of "private"


    ln -sn private/var/stash/Applications.pwn /Applications


    *IF* the folder in /private/var/stash is named something other than "Applications.pwn" then accordingly replace that part of the string.

    This returned my iTouch to normal, but the layout of my Springboard icons was totally scrambled. Better than a restore / re-jailbreak.

 

 

Similar Threads

  1. Create symlink in Apps ????
    By BelMasetoJr in forum General
    Replies: 3
    Last Post: 04-22-2011, 02:06 PM
  2. Jailbreak without moving files with symlink?
    By DJ Destiny in forum Redsn0w
    Replies: 0
    Last Post: 06-29-2009, 06:27 PM
  3. Replies: 5
    Last Post: 04-21-2008, 05:05 PM
  4. Can you create Folders in Summerboard?
    By joseluismb in forum General
    Replies: 0
    Last Post: 10-06-2007, 07:12 PM
  5. Replies: 1
    Last Post: 10-03-2007, 06:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 10:33 AM.
twitter, follow us!