iPhone

Somehow I damaged the file which contains the installed cydia apps on my iphone
File path: /var/lib/dpkg/status
I tried to recover it on my own way. This steps may take long but anyhow it worked for me!

In the File you will have to enter the packages as this example:

Package: x
Status: install ok installed
Version: x
Pre-Depends: x
Depends: x
Conflicts: y
Replaces: x
Installed-Size: 1

For cydia for example:

Package: cydia
Status: install ok installed
Version: 1.0.3044-65
Installed-Size: 1448
Pre-Depends: dpkg (>= 1.14.25-8)
Depends: apr-lib, apt7-key, apt7-lib, darwintools, pcre, shell-cmds, system-cmds, essential
Conflicts: com.sosiphone.addcydia
Replaces: com.sosiphone.addcydia

The fields mentioned above are the only (till now) required fields, ignore all others like maintainer, description, etc.

To know which packages you already installed browse to /var/lib/dpkg/info and grab all *.list names
for the example mentioned above, you would find a file called cydia.list

get required infos of packages from iphone:

/var/lib/apt/lists/ *Packages

or  from internet:
Here are infos about the fields from some repos:
(found by searching google : "Package: package-name" and don't forget "quotation marks"

http://modmyi.com/cydia/search.php

http://apt.saurik.com/dists/tangelo-3.7/main/binary-iphoneos-arm/Packages
http://apt.modmyi.com/dists/stable/main/binary-iphoneos-arm/Packages
http://apt.bigboss.us.com/repofiles/cydia/dists/stable/main/binary-iphoneos-arm/Packages
http://iphone.tgbus.com/cydia/Packages
http://repo.beyouriphone.com/Packages

 

Batch Script placed in the folder of status with info foldercontaining *.list is inside
This will restore all to new file status-append
then just copy and paste to status, open cydia and correct version, dependencies, etc.

@echo off
Title Restore Installed Apps
ECHO.
ECho append *.list to status
ECHO.
for /f %%i in ('dir /b info\*.list') DO (
    CALL :schonda %%~ni
)
ECHO.
ECHO Done!
pause
exit

:schonda
SET F=status-append
FIND "Package: %1" "status"
IF NOT %ERRORLEVEL%==0 (
    ECHO     [%1]    [Missing!]
    >>%F% ECHO.
    >>%F% ECHO Package: %1
    >>%F% ECHO Status: install ok installed
    >>%F% ECHO Version: 1
    REM >>%F% ECHO Pre-Depends: x
    REM >>%F% ECHO Depends: x
    REM >>%F% ECHO Conflicts: y
    REM >>%F% ECHO Replaces: x
    REM >>%F% ECHO Installed-Size: 1
    ) ELSE (
        ECHO     [%1]    [OK]
    )
GOTO :EOF

 

List of my Favourite iPhone Apps:

JB Apps:

APP Description Source iOS 7 Rating
Accelerate enable faster transitions bigboss No
Activator Custom Gestures for custom Actions bigboss No
afc2add Access System Files with Data cable connected modmyi Yes
AnyAttach Attach any File extensions to Mail App insanelyi    
AppAddict Another AppStore insanelyi No
AppInfo Export List of all installed Apps and Tweaks bigboss    
AppStore Update Size Displays Download Size for Updates bigboss    
AppSync Syncs unsigned Apps with iTunes   No  
Audio Recorder Record Phone Calls meisterdon No  
Browser Changer Changes Default Browser bigboss    
Copic Display Contact Pictures inside Phonebook, Mail, Messages, WhatsApp, .. bigboss No  
FullForce Maximize Size of Apps on larger Displays insanelyi    
iFile Finder for iOS insanelyi Yes
IPA Installer Install IPAs directly from device insanelyi    
LocationFaker fake GPS location insanlyi Yes
LockInfo Display Calendar, Mails, custom Notifications on Lockscreen modmyi    
Mail Enhancer Pro E-Mail Filters and more insanelyi    
MobileTerminal Terminal for iOS bigboss Yes
NCSettings Access smart Controls within Notification Center for WiFi, 3G, GPS, LED, Volume, Brightness,.. modmyi    
NetworkList view saved WiFi Passwords in Settings bigboss Yes
Photo Info view EXIF, GPS Data form Photos App bigboss No  
Prime Custom Colors for Incoming and Outgoing Calls in Call History modmyi  
Save-Game Tool Hack saved game data insanelyi  
Show My Touch Display color field where finger is pressed bigboss No  
SMS Timestamps as the name says bigboss    
SMSCounter Counts sent/received Messages bigboss    
SwipeSelection swype over keys moves cursor bigboss No  
Toggle SSH SSH Toggler bigboss Yes
Torch LED Light access from Lockscreen modmyi    
WiFi Analyzer Detect all WiFi Networks around you insanelyi Yes
         
Terminal Tweaks     Yes
adv-cmds finger, fingerd, last, lsvfs,  md, ps saurik    
Erica Utilities additional command line commands modmyi    
file-cmds chflags, compress, ipcrm, ipcs, pax saurik    
Find Utilites search File System saurik    
Gawk awk saurik    
grep grep saurik    
network-cmds arp, ifconfig, netstat, route, traceroute saurik    
Python programming language saurik    
sed sed saurik    
shell-cmds killall, mktemp, renice, time, which saurik    
Sudo sudo saurik    
system-cmds iostat, login, passwd, sync, sysctl saurik    
Vi IMproved vim saurik    
wget wget saurik    
         





 

 

 

 

 








 





 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sources:

Title Source
AppAddict http://cydia.appaddict.com
ihackstore http://ihackstore.com/repo
insanelyi http://repo.insanelyi.com
iphone.legende http://iphone-legende.myrepospace.com
meisterdon http://meisterdon.myrepospace.com
modmyi http://apt.modmyi.com
sinfuliphonerepo http://sinfuliphonerepo.com
bigboss http://apt.thebigboss.org/repofiles/cydia
saurik http://apt.saurik.com

 

 






 

 

 

Important Files for Backup:

Type Path
Saved WiFi Networks /private/var/preferences/SystemConfiguration/com.apple.wifi.plist
WiFi Passwords /private/var/Keychains/keychain-2.db (Use NetworkList)
SMS /private/var/mobile/Library/SMS/
Call History /private/var/wireless/Library/CallLog/call_history.db
iFile Bookmarks /var/mobile/Library/iFile
Audio Recorder /var/mobile/library/application suport/ultimatecallrecorder
   


_____________________
afc2add
AppSync
Mobile Inst. Patch replacement for 3.1 Syncs IPAs with iTunes 
AttachmentSaver
Celeste Bluetooth File Sharing (from insanelyi)
ConfirmSMS
Copic (Turn off for SMS)
Covert (Private Browsing for Safari)

Cydelete
Cydia Installer

Cyntact Shows Thumbnails beside Contacts
Data Counter
Emoji Toggle
Find In Page2
Flashlight
Forward Msg Fix iPhone-notes
Hide n Seek 
iFile File Explorer with advanced options (From sinfuliphone)
Installous
iPhoneDelivery
Lock Calendar
MobileTerminal
OpenSSH
OpenSSL
PasswordPilot
PrivaCy
SMS+
Safari Download Plug-In
Safari Upload Enabler

SBSettings
SBS Themes: Apple Congruency
SBS Toggles: AutoCorrection, AutoLock 
Wifi, iPod, NoRotation, Brightness, Phone, Processes, EDGE, 3G, Location, Vibrate, SSH, PushMail, Push Notification AutoLock, FastNotes, Bluetooth, Keep Awake, Vibrate(VideoToggle (http://cy.sosiphone.com/) for 3G)
KillBackground
SMS Helper
 SysInfoPlus
uRemote
User Agent Faker

YourTube 2    Adds Download Support to native YouTube app
YoutubeToMp3



3G Unrestrictor
iStreamnet
MemTool
Orca Contacts Updater
Tab+
UnlimTones
Wi-Fi Sync 



Categories Puts ur apps in categories
 




Sources:

http://cydia.hackulo.us/ (Includes AppSync and Installous)
http://cydia.xsellize.com/
http://sinfuliphonerepo.com/
http://repo.insanelyi.com
http://repo.beyouriphone.com/
http://theiphonespotrepo.net/apt/
http://vnmagic.net/cydia/
http://cydia.iphonecake.com/
http://iphonedelivery .advinux.com/cydia/
http://filippobiga.me/repo
http://apps.iphoneislam.com
http://repo.woowiz.net
http://apt.modmyi.com
http://rpetri.ch/repo
http://cydia.zodttd.com/repo/cydia

http://cydia.freemap.co.il/
http://apt.saurik.com/cydia-3.7/
http://apt.geohot.com/
http://iromrepo.com/Cydia/gba/
http://apt.pwncenter.com
http://cydia.touch-mania.com
http://xsellize.com/cydia/youtube789-youtube
http://repo.sinfuliphone.com

http://cydia.iclarified.com/
http://apt.iphone-storage.de/
http://ispaziorepository.com/
http://apt.modmyi.com/
http://cydia.zodttd.com/repo/cydia (Good Themes)
 

http://intelliborn.com/cydia/
http://nickplee.com/cydiasource/
http://apt9.yellowsn0w.com
http://apt.bigboss.us.com/repofiles/cydia/
http://db.easywakeup.net/repo/
http://iphone.hackndev.org/apt/
http://apt.hackers.nl
http://hackthatifone.com/htif/apt/
http://cydia.iclarified.com



http://d.imobilecinema.com
http://iphone.freecoder.org/apt
http://apps.iphoneislam.com

http://cydia.ispazio.net
http://cydia.i-apps.pl
http://apt.modmyi.com
http://ranbee.com/repo/
http://cy.sosiphone.com
http://repo.smxy.org/cydia/apt
http://apt.saurik.com
http://apt.pwncenter.com
http://cydia.zodttd.com/repo/cydia



http://iphone.org.hk/apt/ Mobile Installation Patch for IPAs

 

Free AppStore Apps:

AL-MAWRID
Analytics (Google Analytics)
AppSender
barcoo
Blitzer.de
Byline
CloudBrowse
CodiceFiscale
Currency
DB Navigator
dict.cc
DomainTools
Dropbox
ebay
Facebook
Fax.de
Flashlight
Fring
Geizhals
GMX Mail
GMX SMS
Google Earth
Google+
Handy Ticket
HDR
iHandy Level
iLiga
Keeper (Password Safe)
Mein o2
Meine Bank

Messenger
Midomi Ultra
MobileVOIP
Multi dict.
offen?
Opera Mini
PayPal

Ping Chat
QR Cute Scan
Pushme.to

RMV
Shazam
Skype
SoundHound
Speed Test

Songify
TeamViewer
Translate
TuneIn Radio
TV Movie
Twitter
USB Disk

VZ-Netzwerke
WaterLevel
WebCamera
Yallakora
yuilop


0180-tel
appgefahren
Birthdays
DateControl
Eurosport Arabia
google
IMDB
MensaDA
Mitfahrgelegenheit.de
n-tv
N24
Photoshare
Pulse News
SPB TV
Sportschau
SPON
SWOODOO
tagesschau
Zattoo Live TV

DoodleCam
Spray Can
Viber

Führerschein
Prüfungstrainer
Super Fahrschule


 

Paid AppStore Apps:


1Password
Akinator
Banner

CSSCheatSet
DartCalc
Duden
eWifi
FlightTrack
FriendSync
FrontView
GoodReader
iPray Pro
IP Scanner
iQuran Pro
iSSH

JAM! (Joomla Admin Mobile)
Justin.tv
   Labyrinth
Maven
NAVIGON

NAVV Egypt
NewsRack
nPing
PONS
Print to PDF
PushGmail
Redlaser
Reeder
ReelDirector
Remote VNC
Scanner Pro
Scany
Speed Test
Sprachkurs (Spanisch)
TomTom W.Europe
WhatsApp
WunderRadio



Backgammon
Bild
Byline
CoolIris
Duden
FreeMemory
iTeleport
MakeApps
mBox Mail
PangeaVR
Panorama
 Telefonbuch




Settings:

Google Contacts and Calendar with Push Support
Google Mail Manually Fetch

Choose Google Calendars to Sync: (open from iPhone)
https://m.google.com/sync/settings/iconfig/

Wifi
VPN
Safari Bookmarks
Mail
Calendar

 


 

Enable Tethering : (open from iPhone)

http://help.benm.at/tethering.php


 

Important Paths to Backup:

/private/var/mobile/Library/Preferences App Settings 1
/private/var/mobile/Library/Preferences/TimeCapsule/ Chronus App BackUp Settings
/private/var/mobile/Library/SMS/ SMS
/private/var/mobile/Library/Safari Safari Bookmarks
/private/var/mobile/Library/Notes/ Notes
/private/var/mobile/Library/CallHistory/ Call History
/private/var/mobile/Library/Chronus
/private/var/mobile/Media/
/private/var/mobile/Documents

/private/var/stash/Applications/
/private/var/preferences

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

/Library/Preferences/SystemConfiguration/ Saved Wireless Keys
/Library/Wallpaper/ WallPapers


/var/mobile/Media/iTunes_Control/Ringtones/ Ring Tones
(/System/Library/PrivateFrameworks/MobileInstallation.framework IPA)

/User/Media/MxTube/
/User/Media/Videos/
/var/mobile/Media/DCIM/ Pics
/User/Media/iPhoneVideoRecorder/


BackUp on Windows

91 Mobile Assistant


 

Useful Commands

create folder junctions: browse to the desired path then use: ln -s "/User/Documents/Quran[Source]" "Quran[Target]"

To remove use rm command

for iBluetooth, I used this path: "/User/Media/Downloads"

for Mplayer I made a symblic link by: ln -s "/User/Media/Downloads" "/private/var/media"

Change iPhone root and mobile Password

passwd root
passwd mobile 

Reset iPhone root and mobile Password

http://www.gargan.org/en/iPhone_iPod_touch/Reset_your_root_password/

This is easy. just ssh on your iPhone using the user 'mobile' (w/ default password 'alpine').

then create a symlink (because iCommander is pretty buggy):

ln -s /private/etc/master.passwd master.passwd

Afterwards - on your iPhone - start iCommander - your will see a '@master.passwd' file click on the the little blue error to the right and in Permissions type in '666' and press 'Set'.

back in the terminal you can now edit the master.passwd ('nano master.passwd') and change it.

Set the password of root to: /smx7MYTQIi2M (whole line should be something like:
root:/smx7MYTQIi2M:0:0::0:0:System Administrator:/var/root:/bin/sh
Then close it via Ctrl-X and then to save it.

Now you can login with root/alpine again :)

App iTunes Version Rating Price Cam Info Geotag Date Taken Resolution Size Privacy Settings Batch Upload Retrieve user Elements Predifined Elements Link
Flickr 1.0.1 60%
Free


Reduced


Current Location

Upload Date

Original


Double!








Sets and Tags



Flickit 1.2.1 70%
Free


Reduced





Upload Date

Original


Reduced
Quality







Tags an Sets

All

flickr sendr 2.0.2 30%
Free





Current Location

Upload Date

Original


Double!









Mail (Share) 3.1 70%
Free


Original


Original


Original


800 x 600


Reduced Quality










Tags only

Mail (Copy Paste) 3.1 90%
Free


Original


Original


Original


Original


Original











Tags only


Original Image: Comparison Set:

Conclusion:The best iPhone Flickr Upload App is the Mail App using the Copy and Paste Function! (How to use Mail App here)

Reason: Due to Apple OS restrictions, all Third-Party Apps are not allowed to have full access on Files, that means, any third-party App doesn't have permission to read the Date Taken info or Geotag info, even the original File size the picture taken with can't be retrieved.

Goodbye to all Third-party Flickr Uploaders!!

Hint: To use the Mail App, you have to setup up a Flickr E-mail Adress here

For further Settings like privacy settings and predifined tags see this and this