CSources2 File Locations and what they are.
➣( Repositories.plist & Repositories.backup )
These are the file CSources2 uses as the operating information. When you open CSources2, Repositories.plist is the file the information comes from. If you toggle a source, this is the file that changes. When you toggle a source On/Off, Repositories.plist will be updated. When you press Apply, Repositories.plist is renamed to Repositories.backup and a new Repositories.plist is generated. If these files are corrupted/missing then CSources2 generates a dummy/initial file so that it can operate, and is usually followed by a * First Run * message. If this occurs just use restore as long as a backup was performed. If you never made a backup then CSources2 is ready to go since this usually means it is the first time you used the app. For you avid users, if for some reason you messed up the list and never pressed apply, then you could rename Repositories.backup to Repositories.plist using iFile. This would bypass the need for the restore feature unless you need the repo icons etc.
v600.902-0
- /var/mobile/Library/CSources2/SRCCache/Repositories.plist
- /var/mobile/Library/CSources2/SRCCache/Repositories.backup
- Permissions: root mobile 0755
v600.841.-2 & below
- /private/var/mobile/Media/CSources2/Repositories.plist
- /private/var/mobile/Media/CSources2/Repositories.backup
- Permissions: root mobile 0755
➣( com.dirtybeans.CSources2.Repositories.plist )
This is the main Sync file. Do not Alter this file. It is the file CSources2 uses to Restore Sources. When you press Backup, CSources2 creates this file based on the current Repositories.plist file.
- /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.Repositories.plist
- Permissions: root mobile 0644
➣( com.dirtybeans.CSources2.AutoLists.plist )
This is the Auto Lists File. Do not Alter this file. It is the file CSources2 uses for Auto Lists. It is generated when you create / rename / delete an AutoList.
- /private/var/mobile/Library/Preferences/com.dirtybeans.CSources2.AutoLists.plist
- Permissions: root mobile 0644
➣( CSources2 Cache Folder )
This is where CSources2 stores its sources icons etc. This folder is removed when CSources2 is uninstalled. Repo folder, icon etc is removed when you delete a source. You can view CSources2 active storage usage on the info page.
v600.902-0
- /var/mobile/Library/CSources2/SRCCache/
- Permissions: root mobile 0755
v600.841.-2 & below
- /private/var/mobile/Media/CSources2/
- Permissions: root mobile 0755
➣( csources.list & csources.list.backup )
csources.list is the file Cydia uses as sources. When you press Apply, CSources2 renames csources.list to csources.list.backup, then generates a new csources.list. Altering this file is fruitless as it will be replaced every-time you press Apply. csources.list is removed when CSources2 is uninstalled, & csources.list.backup remains. Renaming csources.list.backup to csources.list after uninstalling CSources2 will allow Cydia to use whatever sources are in that file.
v600.902-0
- /var/mobile/Library/CSources2/sourcesc.list
- /var/mobile/Library/CSources2/sourcesc.list.backup
- Permissions: root mobile 0755
v600.841.-2 & below
- /private/etc/apt/sources.list.d/csources.list
- /private/etc/apt/sources.list.d/csources.list.backup
- Permissions: root wheel 0644
➣( .cxpt / Friends List )
This is a file that CSources2 uses to import sources via Import Friend, Send Friend, Web Link Importing. Do not Alter this file. If you manually want to import a .cxpt file , this is where you would paste/copy it to. Check out Creating a .cxpt file.
- /private/var/mobile/Library/Application Support/Containers/com.dirtybeans.CSources2/Documents/Inbox/????.cxpt
- Permissions: mobile mobile 0755
➣( .cxcs / Color Scheme )
This is a file that CSources2 uses for saving and loading color schemes via (info, Settings, App colors). CSources2 supports in app color control & winterboard/Anemone theme. Both can be used at the same time or independently.
- /private/var/mobile/Library/Preferences/CSources2/ColorSchemes/????.cxcs
- Permissions: mobile mobile 0755
➣( Cydia Source/File Locations )
via Cydia in Cydia / or Manually edit Cydia’s Plist file(Sources file). pls note this is only for Cydia & not CSources2 sources.
- /private/etc/apt/sources.list.d/ (This is the standard/symlink. It usually contains “cydia.list” & “saurik.list” both of which is pointless to alter. Even though you can read your sources from these files, they are symlink’d. csources.list is also a symlink if CSources2 is installed).
- /private/var/mobile/Library/Caches/com.saurik.Cydia/ (This is the MAIN folder location. sources.list is the actual file Cydia uses. When a source is added to Cydia via Cydia and not through CSources2, this is the file you actually changes / or this is the file to manually edit for Cydia & not CSources2. Using WinSCP”windows” or iFile to edit this file. Make sure Cydia is completely closed then edit/save then refresh Cydia. Please note this file should be edited with caution. Refer to Common error because ????.list file is in the incorrect format! for additional help. )
2 thoughts on “File Locations”