You need to be logged in as root before using these codes.
So open terminal and type :

* Su root
* Alpine

(If you havent changed you mobile terminal password the default password is “alpine”)

(it is very important to change it ASAP, see bottom of page for guide)

Here are some basic terminal commands:

* respring
= resprings device

* reboot
= reboot’s device

* apt-get update
= updates cydia sources (same as pressing the refresh button in Cydia)

* apt-get install cydia
= checks to see if you have latest version of Cydia and installs if you don’t.

* apt-get upgrade cydia
= installs any upgrades that are needed for your packages.

* apt-get autoremove
= checks for unused or broken files and uninstslls them. (will give you list and asks for confirmation before deleting anything)

* apt-get –fix-missing
= checks for missing files and fixes

* apt-get autoclean
= cleans up files if needed

* dir
= lists your directory files

* dpkg –list >packages.txt
= creates a list of installed cydia packages

* dpkg -i packageID
= used to install .debs

* dpkg -r packageID
= used to remove cydia packages

* apt-get install packageID
= used to install cydia packages

* apt-get remove packageID
= used to remove cydia packages

* help
= gives you a list of other terminal commands that you may or may not want to use

* dpkg -x path&packageID
= decompile a package

* dpkg -b path&decompiledpackageID
= compile a package

* dpkg –control path&packageID
= extract the control file from a package

* dpkg -P
= purges configuration files for uninstalled packages. If a package is still causing issues after you have deleted running this can help.

* dpkg -b path&
location & deb name
= Builds the deb file you have

* dpkg -L packageID
= Will list all files that were installed by that package

* chmod #### path&filename
= change permissions of just the folder/file (not the files/folders inside)

* chmod R #### path&foldername
= change directory permissions of files inside folder aswell.

* cd /directory name
= go to directory

* chown
= changes owner of a folder or file
eg. chown root:wheel /var/folders

* chown R
= changes owner of a folder or file and all inside aswell. eg. chown -R root:wheel /var/folders

* dpkg -S path&package
= will tell you by whom the package came from and kind.

How 2 change root password in MobileTerminal
Open terminal and type:
* su
* alpine
* cd
* passwd
* your new root passwd
* re-type new passwd
* mobile passwd
* your new mobile passwd
* re-type new passwd
* respring

Refresh Cydia Sources/Packages

Sample button

That’s it, all done!!

error: Content is protected !!