How to add Cydia Sources via SSH-

Discussion in 'iPhone' started by jtownhackz, Feb 9, 2009.

  1. jtownhackz New Member

    Member Since:
    Dec 7, 2008
    Message Count:
    8
    This is for all you guys out there who's screen has cracked on your Iphone or Ipod touch and you can't add sources in Cydia. SSH and go to

    /private/etc/apt/sources.list.d/

    ^ This is the location of your Cydia sources. Now If you have previously added a source through Cydia you will have a file called "cydia.list" and if not then create a new document in notepad and save it as "cydia.list". Here you will add the sources. This is what my cydia.list file looks like

    deb http://repo.halo4iphone.com/ ./
    deb http://www.iphone.org.hk/apt/ ./
    deb http://apt.123Locker.com/ ./
    deb http://mc2.iphoneall.org/ ./
    [REDACTED]

    As you can see it's "deb" then a space followed by the source then another space and "./"
    Simply save the document and put it into the correct folder as showed above and your done.
    DoctorX and philippa ellis like this.
  2. Mircix Member

    Member Since:
    Dec 23, 2007
    Message Count:
    876
    Device:
    iPhone 4 (Black)
  3. dette New Member

    Member Since:
    Dec 5, 2008
    Message Count:
    684
    Device:
    iPhone 4S (Black)
    nice!
  4. kingkai New Member

    Member Since:
    Feb 29, 2008
    Message Count:
    218
    Device:
    iPhone 3G (Black)
    this makes adding sources alot less labour intensive!
  5. dette New Member

    Member Since:
    Dec 5, 2008
    Message Count:
    684
    Device:
    iPhone 4S (Black)
    hahaha
  6. lilskaterpunk New Member

    Member Since:
    Oct 11, 2007
    Message Count:
    519
    Device:
    iPhone 3GS (Black)
    Thanks for this info, help me with a problem.
  7. MuckYu Member

    Member Since:
    Jun 24, 2009
    Message Count:
    412
    Device:
    iPhone 4 (Black)
    didn't work :eek:
  8. cardinalsrule109 Member

    Member Since:
    Jan 15, 2009
    Message Count:
    265
    Device:
    iPhone 4S (Black)
    Uhh.. You should really delete the last source on this thread... Just edit it out.