Import a list that you made yourself.
An example is any file located in /private/etc/apt/sources.list.d/?????.list, that you created yourself.
Which contains or is similar in its contents to:
- deb http://elijahandandrew.com/repo/ ./
- #deb http://apt.imokhles.com/ ./
Important:
Insure your ?????.list is proper before attempting the below. If not, after transition, Cydia may show malformed line, etc. (Malformed Line ? in Cydia, After Transitioning)
wrong info:
- deb http://elijahandandrew.com/repo / ./ this is some source if found
- # bla da bla da bla
- #deb http://apt.imokhles.com/
- #formated deb http://cydia.angelxwind.net/ ./
- deb http://cydia.qusic.me
- #deb http://rcrepo.com / . /
- #deb ftp/rpetri.ch/repo ./
- dfteb http:///repo/ ./
Correct info:
- deb http://elijahandandrew.com/repo/ ./
- deb http://apt.imokhles.com/ ./
- deb http://cydia.angelxwind.net/ ./
- deb http://cydia.qusic.me/ ./
- deb http://rcrepo.com/ ./
- deb http://rpetri.ch/repo/ ./
- deb http://skyfrost.github.io/repo/ ./
- ***** the last line is blank ******
If you want to Import any of these files into CSources2, you can use Import Cydia or a feature called Transition. In any of the below methods, make sure CSources2 is completely closed and not in the app switcher.
➣(Import Cydia List):
➣(Transition):
Transition was designed for CSources the first version and not CSources2. But you can still trick CSources2 to think it is transitioning from the first version to current version.
In order for Transition to be triggered, 4 factors must exist:
- CSources2 does not have a didTransition key.
- csources.list file in /private/etc/apt/sources.list.d/
- csources.list.backup file in /private/etc/apt/sources.list.d/
- No main Sync file in /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.Repositories.plist
In order to have CSources2 transition a non CSources2 file into a file that CSources2 can then read and import is relatively easy. If you installed CSources2 but have not added sources yet, then follow Basic Transition below. If you added sources already, this will require a lil more work, use In depth Transition.
It does not matter if CSources2 was just installed or its been on you device for a while. Make backups of any of these files (if present) to your hard drive in-case a mistake is made along the way.
- /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.Repositories.plist
- /private/var/mobile/Media/CSources2/Repositories.plist
- /private/etc/apt/sources.list.d/csources.list.backup
- /private/var/root/Library/Preferences/com.dirtybeans.CSources2.plist
- /private/etc/apt/sources.list.d/csources.list
——————————————————–
➣(Basic Transition):
If first install and CSources2 was never ran.
Rename your personal file located /private/etc/apt/sources.list.d/???????.list to csources.list, and make a copy of that file and name it csources.list.backup. Since CSources2 never ran, all 4 factors are now met.
Open CSources2, and the Transition message will appear. Continue as CSources2 instructs.
——————————————————–
If first install and CSources2 was ran.
Only perform these steps if you have not added sources to CSources2 but want to import your personal list, and you have already installed CSources2, you have ran it, and it has gone through the initial install phase.
Remove all of these files, remember to back them up first:
- /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.Repositories.plist
- /private/var/root/Library/Preferences/com.dirtybeans.CSources2.plist
Rename your personal file located /private/etc/apt/sources.list.d/???????.list to csources.list, and make a copy of that file and name it csources.list.backup. Now all 4 factors are now met.
Open CSources2, and the Transition message will appear. Continue as CSources2 instructs.
——————————————————–
➣(In depth Transition):
So you have installed CSources2, added about a thousand sources, and want to import a list you made.
Remove all of these files, remember to back them up first:
- /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.Repositories.plist
- /private/var/root/Library/Preferences/com.dirtybeans.CSources2.plist
- /private/var/mobile/Media/CSources2/Repositories.plist
Rename your personal file located /private/etc/apt/sources.list.d/???????.list to csources.list, and make a copy of that file and name it csources.list.backup. Now all 4 factors are now met.
Open CSources2, and the Transition message will appear. Continue as CSources2 instructs.
After Transition completes we now have to import your previous list. To do this, create these folders on you device if not already present.
/private/var/mobile/Library/Application Support/Containers/com.dirtybeans.CSources2/Documents/Inbox/
copy the backup you made of com.dirtybeans.CSources2.Repositories.plist. to the Inbox folder.
Open CSources2, select the (i)nfo page, select Import Friend, select (c), Select the com.dirtybeans.CSources2.Repositories.plist file you copied above.
Perform the compare, then press the (i) button which stands for import. (Import Friend How To)
Once done , backup CSources2 from the Backup/Restore page.
You should now have the thousands of sources you already had, plus the sources you had as a file.
Toggle the sources you need on/off, then press Apply, now you can open Cydia and Refresh.
Don’t forget to remove any duplicates from Cydia.
3 thoughts on “Import Personal List”