tag:blogger.com,1999:blog-49613325629993536242024-03-05T12:26:47.470-08:00All you will need on linuxExtensive help on Linux installation and administration.Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-4961332562999353624.post-5093579082744453902013-07-12T05:52:00.000-07:002013-07-12T05:52:30.001-07:00Airtel and MTN SMS center number for cyanogen modded android phones<span style="font-family: Trebuchet MS, sans-serif;">As you already know, I modded my <a href="http://linuxforpro.blogspot.com/2012/11/how-i-rooted-and-installed-cyanogenmod.html" target="_blank">Samsung Galaxy S2 with CyanogenMod</a> </span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<span style="font-family: Trebuchet MS, sans-serif;">At the beginning of this month I noticed something very disturbing.</span><br />
<span style="font-family: Trebuchet MS, sans-serif;">I got a happy new month message from a dear friend and I tried replying and no way. I tried and tried repeatedly, I kept getting <b>message not sent</b>. I googled the MTN SMSC code and as expected it was still +2348030000000, I tapped that into my modded android phone and got an error. I googled all the combination of mtn + android + sms + message + error + can't send and no suggestion found worked. I switched on and off the phone severally, no result.</span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<span style="font-family: Trebuchet MS, sans-serif;">So for more than 8 days I couldn't send an SMS.</span><br />
<span style="font-family: Trebuchet MS, sans-serif;">Then suddenly on Wednesday, like a flash bulb, an idea lit up in my head. I removed my Airtel SIM from my Blackberry and put the SIM in the android phone, then I went to the settings to see the SMSC number. To my surprise it was <b>089132420000000f8 </b>instead of <b>+2348020000000</b> that is in the documentation. I tried sending an SMS and it was successful. </span><br />
<span style="font-family: Trebuchet MS, sans-serif;">So I did what anyone would do.</span><br />
<a name='more'></a><br />
<span style="font-family: Trebuchet MS, sans-serif;">Airtel's real SMSC number is +2348020000000 but my android phone sees it as 089132420000000f8</span><br />
<span style="font-family: Trebuchet MS, sans-serif;">Then MTN's that is +2348030000000 must be same as <b>089132430000000f8 </b>on my android phone.</span><br />
<span style="font-family: Trebuchet MS, sans-serif;">I removed the Airtel SIM and put back in my MTN SIM, updated the SMSC number as <b>089132430000000f8</b> and that was it! I was able to send SMSs again!</span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<span style="font-family: Trebuchet MS, sans-serif;">So, if you ever get into similar problem. Forget about what the SIM manual says and take the SMSC numbers to -</span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><b>089132420000000f8 for Airtel</b>, and</span><br />
<b><span style="font-family: Trebuchet MS, sans-serif;">089132430000000f8 for MTN</span></b><br />
<b><span style="font-family: Trebuchet MS, sans-serif;"><br /></span></b>
<span style="font-family: Trebuchet MS, sans-serif;">And if you can't seem to find where to enter this setting, dial #*#*4636#*#* and you'll be taken to Android secret settings menu. In the Phone Information, scroll down and you'll see the SMSC field. Enter the SMSC number and tap on Update.</span><br />
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL4Fs9RP3NkswYqxUuJMUWerfuH4qxMwM00SlTtKWOMjQpG-dp_PO1l3I2ognQd3ht3nbrk5dWtP7_H1Bk7flkQJvN1H4WwtOIenJMwtW-jAwCtFrE73Q9VYxZcxDhXaKPM5iNAPxFS6I/s1600/Screenshot_2013-07-12-13-45-45.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Trebuchet MS, sans-serif;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL4Fs9RP3NkswYqxUuJMUWerfuH4qxMwM00SlTtKWOMjQpG-dp_PO1l3I2ognQd3ht3nbrk5dWtP7_H1Bk7flkQJvN1H4WwtOIenJMwtW-jAwCtFrE73Q9VYxZcxDhXaKPM5iNAPxFS6I/s400/Screenshot_2013-07-12-13-45-45.png" width="240" /></span></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT033brnCpR-y9yGg_z9eCTcXlzKvDuc0BTPQrkNhHtfCjyYMjjrmFSzbNYdG8EIwx6RmVxzepFln9KBHjc0RbrRAuHKr_w5-rKNJIvSNq2bYydKerO9KyepfWf56L4QcnUseUWpPyCEA/s1600/Screenshot_2013-07-12-13-45-57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Trebuchet MS, sans-serif;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT033brnCpR-y9yGg_z9eCTcXlzKvDuc0BTPQrkNhHtfCjyYMjjrmFSzbNYdG8EIwx6RmVxzepFln9KBHjc0RbrRAuHKr_w5-rKNJIvSNq2bYydKerO9KyepfWf56L4QcnUseUWpPyCEA/s400/Screenshot_2013-07-12-13-45-57.png" width="240" /></span></a></div>
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span>
<span style="font-family: Trebuchet MS, sans-serif;">Need extra help, ask via the comment box.</span>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-17070652289425782292013-07-11T05:15:00.001-07:002013-07-11T05:15:28.411-07:00Mastering Linux vi editor<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">vi editor is a very powerful text editor
that comes pre-installed on all Linux OS. </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">vim is variant of vi editor, basically an
improved version.
Practically, it is more error tolerant than vi.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">There are two modes –</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Command mode, which is the default mode.
You basically scroll through the file content or enter commands. </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">h</span> moves the cursor to the left, </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">l</span> moves it to the right, </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">k</span> to move up, and</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">j</span> to move down</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">dd</span><span style="font-weight: bold;"> </span> will delete current line</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">:w</span> to save (write) the changes made</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">:q</span> will exit the editor</span></div>
<br />
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">:</span><span style="font-weight: bold;">q!</span> will exit the editor
without saving changes</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Text input mode. You enter this mode by
pressing the Insert key. There are some basic guidelines to note -</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">don’t attempt to scroll or change the
cursor position in this mode, position the cursor where you want to add extra
text before changing to the text input mode. The only exception is when you are
using vim. </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">To change to this mode pressing -</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">a</span> will append, move the cursor one
position to the right before switching to the inserting mode</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">i</span> will insert</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">o</span> will insert a blank line under the
current cursor position and move the cursor to that line</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Vim is better, just not as pre-installed
on Linux OSs as Vi. </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 1in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Run <b>vimtutor</b> to start a recommended 30 minutes
tutorial on using vim.</span></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-75859660119217451252013-07-11T05:12:00.002-07:002013-07-11T05:12:38.265-07:00Manipulating Linux command line output<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">The following are ways to manipulate the screen/standard output of any Linux command,</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: 'Trebuchet MS', sans-serif;">Piping the output to another command using |</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Redirecting output via ></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Redirecting output via >> (to append)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Redirecting only errors via 2></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Redirecting standard input via <</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use tee option with | (pipe) to copy input to standard output (terminal) and more than one output files. e.g. cat original | tee copy1 copy2</span></div>
<br />
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use tee –a to append to files. e.g. cat file.txt | tee -a file_all.txt</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Grep: It scans output line per line, searching for matching patterns.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">All lines containing the pattern will be printed to standard output. e.g. cat countriesandcapitals.txt | grep Nigeria</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">This can be reversed using the –v option.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"> Sort: It allows you to sort the output lines before displaying.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Default is in alphabetical order. e.g. cat alphabets | sort</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">It can also sort by file size, when sorting ls output. e.g. ls ~/ -la | sort -nk 5</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">And when used with uniq, it can sort and filter out double entries. e.g. sort itemlist | uniq</span></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-9131516596817344022013-07-11T04:45:00.001-07:002013-07-11T04:51:06.209-07:00Setting file permissions in Linux<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">All files in Linux have permissions set
(or unset) for user, group and other users. It’s indicated as –</span><span style="font-family: Calibri; font-size: 13pt;">rwxrwxrwx</span><span style="font-family: Calibri; font-size: 13pt;"> </span><span style="font-family: Calibri; font-size: 13pt;">or
similar.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">To display a file’s permission settings,
type </span><span style="font-family: Calibri; font-size: 13pt;">ls</span><span style="font-family: Calibri; font-size: 13pt;"> -l </span><span style="font-family: Calibri; font-size: 13pt; font-style: italic;">filename</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">The first character indicates the <a href="http://linuxforpro.blogspot.com/2013/07/understanding-different-file-types-in.html" target="_blank">filetype e.g. ordinary file, directory…</a></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">The next 3 characters indicate the
permission for the file owner (user), then next 3 for users in the owner’s
group and the last 3 for other users.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">r = Read w
= Write x = Execute</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">Easiest way to change a file’s permission
is to use </span><span style="font-family: Calibri; font-size: 13pt;">chmod</span><span style="font-family: Calibri; font-size: 13pt;">
u/g/a +/- </span><span style="font-family: Calibri; font-size: 13pt;">rwx</span><span style="font-family: Calibri; font-size: 13pt;"> </span><span style="font-family: Calibri; font-size: 13pt; font-style: italic;">filename</span><span style="font-family: Calibri; font-size: 13pt;"> e.g.
</span><span style="font-family: Calibri; font-size: 13pt;">chmod</span><span style="font-family: Calibri; font-size: 13pt;"> </span><span style="font-family: Calibri; font-size: 13pt;">a+w</span><span style="font-family: Calibri; font-size: 13pt;">
file.txt to give everyone write permission on the file, file.txt</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">You can also use numeric arguments and
common ones are –</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">c</span><span style="font-family: Calibri; font-size: 13pt;">hmod</span><span style="font-family: Calibri; font-size: 13pt;"> 400 to give only read permission to
owner</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">chmod</span><span style="font-family: Calibri; font-size: 13pt;"> 600 to give read and write permission to
owner</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">chmod</span><span style="font-family: Calibri; font-size: 13pt;"> 644 to give everyone read permission and
the owner write permission</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.5in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Calibri; font-size: 13pt;">c</span><span style="font-family: Calibri; font-size: 13pt;">hmod</span><span style="font-family: Calibri; font-size: 13pt;"> 775 to give everyone read + execute,
owner + group read write execute permission</span></div>
<span style="font-family: Calibri; font-size: 13pt;">chmod</span><span style="font-family: Calibri; font-size: 13pt;"> 777 to give everyone read write </span><span style="font-family: Calibri; font-size: 13pt;">exceute</span><span style="font-family: Calibri; font-size: 13pt;">
permission</span>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-89311133178772481452013-07-11T03:32:00.000-07:002013-07-11T04:49:40.362-07:00Simple Linux Command line file text manipulation tips<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">This is going to be short and straight to the point.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">cat file.txt </span>to
display the content of file.txt on the screen</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">cat file.txt | more </span>to
display the content of file.txt one page at a time</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">cat file.txt | less </span>to
enable scrolling. Press <span style="font-weight: bold;">q</span> to exit/end.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">tac</span><span style="font-weight: bold;"> file.txt</span> to
display the content of file.txt in reverse</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">cat file1.txt > file2.txt </span>to
copy content of file1 to file2, file duplication.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">cat file1.txt >> file2.txt </span>to
append content of file1 to file2.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Use <span style="font-weight: bold;">tail -10 file.txt </span>to
display the last 10 lines in file.txt</span></div>
<span style="color: black; font-family: 'Trebuchet MS', sans-serif;">Use </span><span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-weight: bold;">head </span><span style="color: black; font-family: 'Trebuchet MS', sans-serif; font-weight: bold;">-10 file.txt </span><span style="color: black; font-family: 'Trebuchet MS', sans-serif;">to
display the </span><span style="color: black; font-family: 'Trebuchet MS', sans-serif;">first
</span><span style="color: black; font-family: 'Trebuchet MS', sans-serif;">10
lines in file.txt</span>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-19495442392817138762013-07-11T03:07:00.002-07:002013-07-11T03:07:41.572-07:00Useful Linux command line tips<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Linux has become extremely easy to administer. And can be administered using GUI applications or using the Command line Interface (CLI)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">As a professional Linux administrator, you’ll have to know how to administer the OS via the CLI</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Linux supports multi-tasking, several users using the OS simultaneously.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">By default 7 users can work simultaneously (without anyone logging out). 6 Commandline users and 1 GUI user. To switch use CTRL + ALT + F1 (F2,F3,F4,F5,F6,F7) . CTRL+ALT+F7 takes you to the GUI one</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">From the GUI, you can always access the command line via “Terminal”</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Below are very useful command line tips</span></div>
<a name='more'></a><br />
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + A </span>to mover the cursor to the beginning of command line</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + C </span>to end a running program and return the prompt</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + D </span>to log out of the current shell session, same as <span style="font-weight: bold;">exit</span> or <span style="font-weight: bold;">logout</span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + E </span>to move cursor to the end of the command line</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + H </span>to generate backspace character</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + L </span>to clear the terminal</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + R </span>to search command history</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Ctrl + Z </span>to suspend a program</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Shift + </span><span style="font-weight: bold;">PageUp</span><span style="font-weight: bold;"> </span>or <span style="font-weight: bold;">PageDown</span> to scroll (browse buffer)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">T<span style="font-weight: bold;">ab</span> to autocomplete command of filename</span></div>
<br />
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><span style="font-weight: bold;">Tab </span><span style="font-weight: bold;">Tab</span><span style="font-weight: bold;"> </span>to show command completion possibilities</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">If you can’t remember a command but remember the first 2 or more letters, type them and press <span style="font-weight: bold;">Tab</span> twice. This will list all the commands that start with those letters.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">If you can’t remember how to use a particular command, type man <span style="font-style: italic;">command</span> e.g. man mkdir to read a comprehensive help file on using the command, mkdir.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">If you need a quick help with using the options or syntax of a command, type <span style="font-style: italic;">command </span>--help (double hypen). e.g. mkdir --help to get a quick help guide.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">To get an easy to read manual (easier than man) on any command, type info <span style="font-style: italic;">command</span> e.g. info mkdir</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">To get a short description of what a command does, type whatis <span style="font-style: italic;">command</span> e.g. whatis mkdir</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">To get a list of commands for doing a particular task, type apropos <span style="font-style: italic;">task</span> e.g. apropos text to get text manipulation commands/applications</span></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-12957372789248238872013-07-11T02:56:00.000-07:002013-07-11T04:50:05.976-07:00Understanding the different file types in Linux<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">Ever wondered why you see different colors when you do <b>ls</b> in linux?</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">In this post I'll show you what each color stands for. </span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">In the screenshot below, I did <b>ls -l</b> which will show extra details - file type, file permission, file owner, owner's group, date of creation/modification and file name.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">'Cos I did this on my android phone which runs a stripped version of Bash shell, the colors aren't showing. If you do this on a Linux PC, the file names will be colored differently.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIum0KgxI75WQjGFuPDZIvQtTsFH1mUXoWr8NlGvjYmeMITExF3dLeRbDyLBLXxE0vWvt55tdVVmtAWrjHj3QwI_0BP4cKlEznFfZCGzFBjhXSecXsmd86LPSpoQzyFzARRNB-TnIYD9c/s1600/Screenshot_2013-07-11-10-45-57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIum0KgxI75WQjGFuPDZIvQtTsFH1mUXoWr8NlGvjYmeMITExF3dLeRbDyLBLXxE0vWvt55tdVVmtAWrjHj3QwI_0BP4cKlEznFfZCGzFBjhXSecXsmd86LPSpoQzyFzARRNB-TnIYD9c/s400/Screenshot_2013-07-11-10-45-57.png" width="240" /></span></a></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8hxNrkuaFxzzR3Z_f5WDvbTw_bchikuih8K5GC9UrJzS-RAfTye_35uZmRGRuUrsaLTrQy3ZU_Uvs1byCPe1Ru5Gwam0zUjpqWXIFRpMqEhcQafhT8oBsaWSGhUmCNL7nOpo_z_OLe3Y/s1600/Screenshot_2013-07-11-10-45-34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8hxNrkuaFxzzR3Z_f5WDvbTw_bchikuih8K5GC9UrJzS-RAfTye_35uZmRGRuUrsaLTrQy3ZU_Uvs1byCPe1Ru5Gwam0zUjpqWXIFRpMqEhcQafhT8oBsaWSGhUmCNL7nOpo_z_OLe3Y/s400/Screenshot_2013-07-11-10-45-34.png" width="240" /></span></a></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;"></span><br />
<a name='more'></a></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">Linux has 6 file types, and everything in Linux is referred to as a file - directories/folders, devices, even system processes.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Ordinary
files: These are regular files. (white/black)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Directories:
These are files that contains other files and directories, and provide pointers
to them. (blue)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Symbolic
links: These special files link to another file, in a different location.
(Cyan)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Block
and character device files: All physical devices in Linux are represented by
device files. e.g. /dev/sda
(yellow)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Socket
file: Provides protected inter-process networking. (Purple)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•Named
Pipe file: Like socket files but doesn’t use network socket semantics. (Red)</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0.38in; margin-top: 4.32pt; text-indent: -0.38in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">•$
ls –l
indicates all these types</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–
-rw-r--r--
ordinary file</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–brw-rw---- block device file</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–crw-rw-rw- character device file</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–drwxr-xr-x directory file</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–lrwxrwxrwx symbolic file</span></div>
<div class="O1" style="direction: ltr; margin-bottom: 0pt; margin-left: 0.81in; margin-top: 3.6pt; text-indent: -0.31in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Georgia, Times New Roman, serif;">–srw-rw-rw- socket file</span></div>
<span style="font-family: Georgia, 'Times New Roman', serif;">–prw-rw-rw- named pipe file</span>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-83832776111337187072013-07-10T00:27:00.001-07:002013-07-10T00:27:33.292-07:00Learn Unix/Linux Want to put your Unix/Linux skills on steroid?<br />
Checkout the presentation below<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/24086319" style="border: 1px solid rgb(204, 204, 204); margin-bottom: 5px;" webkitallowfullscreen="" width="427"></iframe><br />
<div style="margin-bottom: 5px;">
<strong><a href="http://www.slideshare.net/olafusimichael/linux-training-24086319" target="_blank" title="UNIX/Linux training">UNIX/Linux training</a> </strong>from <strong><a href="http://www.slideshare.net/olafusimichael" target="_blank">Michael Olafusi</a></strong></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-79578947332301197622013-06-22T08:11:00.001-07:002013-06-22T08:11:30.353-07:00Making programs and commands run on user login<p>This week while installing Oracle 11g on Oracle Linux Server, I needed to automatically start some programs when the user logins in.</p>
<p>Here is why. Oracle Linux boots, by default, into a command line terminal or console. But to use the Oracle 11g Database Control application, you'll need to start the GUI X window. The command to do that is $ startx <br>
The other issue is, the GUI launches into a blank desktop, no applications center or start menu bar. To start any program you'll have to right click, launch the Terminal and start you program via the command line. <br>
For me this is no issue, but the intended end user of this Oracle 11g aren't that Linux savvy. I wanted them to just start the system and the X window would start automatically once they login and the dbconsole would be started too and finally Firefox would launch and open http://localhost:1158/em automatically.</p>
<p>Well, it was easy to accomplish. All I did was to edit the ~/.bash_profile file. I added the following lines -<br>
startx<br>
emctl start dbconsole<br>
firefox http://localhost:1158/em</p>
<p>And voila, that did it.</p>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-51078919757064608532013-06-22T08:08:00.001-07:002013-06-22T08:08:27.380-07:00How to set system environments permanently for a user<p>I finally got Oracle 11g installed on Oracle Linux Server, it was no easy task. I had to edit so many kernel or system settings files.</p>
<p>To run Oracle, I had to set $ORACLE_UNQNAME to orcl each time I login to the Linux. And the command to start up the dbconsole, aarghh, it was a pain to type out - /u01/app/oracle/product/11.2.0/dbhome_1/bin/emctl start dbconsole <br>
I'm yet to forget it. </p>
<p>Well, I decided to fix this once and for all. And all I did was to edit the ~/.bash_profile, added the following lines -<br>
export ORACLE_UNQNAME=orcl<br>
export PATH=$PATH:/u01/app/oracle/product/11.2.0/dbhome_1/bin</p>
<p>So now I no longer need to set the ORACLE_UNQNAME=orcl anymore as it is been done for me. And the long path to emctl command has been added permanently to the system PATH. All I now do is type<br>
emctl start dbconsole <br>
and voila, I'm done. </p>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-39745325332923884102013-06-12T04:23:00.002-07:002013-06-12T12:04:26.315-07:00How to install the wireless driver for D-link RaLink 5360 dwa 525 on Ubuntu 12.10Recently, my boss has been having issues with his Windows 7 OS and decided to change to Linux. So as a pilot test, he installed Ubuntu 12.10 on his work PC and plans to install it on his laptop too.<br />
<br />
Well, his PC has a D-link wireless card dwa 525 with RaLink chipset 5360 and to my surprise Ubuntu 12.10 doesn't have its driver preloaded. But Ubuntu 13.04 has. So in this post I will show you how I fixed the issue with special help from <a href="http://ubuntuforums.org/member.php?u=35909" target="_blank">chili555</a> on this <a href="http://ubuntuforums.org/showthread.php?t=2008849" target="_blank">Ubuntu Forum Thread</a><br />
<br />
I couldn't access the internet from the PC, so I had to download the driver from another PC connected to the internet.<br />
<a name='more'></a><br />
STEP 1<br />
To verify the network card type you have type in the terminal<br />
lspci -v<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU8P5kLxIlv2BmuZi399fiIVcq4OfVnZMEaKbVzW9rM2J-NoFSGWDDR1BN-RLfP9i3HWPJYSSGC13i9LlMvRcJMlEFVtw9w4A9nOBiDIRU28AqZXUsAIvNybLlJR9CsChJPV8vzFCvf00/s1600/lspci.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU8P5kLxIlv2BmuZi399fiIVcq4OfVnZMEaKbVzW9rM2J-NoFSGWDDR1BN-RLfP9i3HWPJYSSGC13i9LlMvRcJMlEFVtw9w4A9nOBiDIRU28AqZXUsAIvNybLlJR9CsChJPV8vzFCvf00/s400/lspci.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
As you can see above, my network controller is Ralink RT5360 by D-Link System Inc DWA-525 Wireless N 150 Desktop Adapter<br />
<br />
Download the RaLink chipset driver via this link<span style="color: blue;"> <span style="background-color: #cccccc;"><a href="http://www.mediatek.com/_en/07_downloads/01-1_windowsDetail.php?sn=5001" style="font-family: Ubuntubeta, Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; font-size: 13px; font-style: italic; text-decoration: none;" target="_blank">http://www.mediatek.com/_en/07_downl...il.php?</a><a href="http://www.mediatek.com/_en/07_downloads/01-1_windowsDetail.php?sn=5001" style="font-family: Ubuntubeta, Ubuntu, 'Bitstream Vera Sans', 'DejaVu Sans', Tahoma, sans-serif; font-size: 13px; font-style: italic; text-decoration: none;" target="_blank">sn=5001</a></span></span><br />
<div class="separator" style="clear: both;">
Below is a snapshot of the download page, just provide a name and email, and voila, download begins.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0lvMINvqGL7LKbAKgq0qz2SUDgVsazHpio2BsDV74lVcYSL2ptdD5rH3R8MfN01IhRzwelHlq1o8pSvCdzVc4NrOSiIirpNnqvVlibBcwrV4p4eCIi5EQmzMxMILM3gcKhNW6pIVr0zLS/s1600/download+Ralink.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="381" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0lvMINvqGL7LKbAKgq0qz2SUDgVsazHpio2BsDV74lVcYSL2ptdD5rH3R8MfN01IhRzwelHlq1o8pSvCdzVc4NrOSiIirpNnqvVlibBcwrV4p4eCIi5EQmzMxMILM3gcKhNW6pIVr0zLS/s400/download+Ralink.PNG" width="400" /></a></div>
<br />
Extract the .bz2.bz2 file you just downloaded, you'll have to extract it multiple times. And if you get stuck, like I did after the second extraction, with a file that is not recognized and won't extract, don't worry. Right click on the last extract and open with <b>Archive Mounter</b>, and it will be mounted, copy the folder in it to your Downloads folder.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi3xJURDtMznijxXrW_sGm6JGcFmIOKqARuotLPY9913XnvgeRm-IRK26bJ_m1n98Q6vfOHdLj7uchHmPVZRVZrG-KfkELrDpmhDz025ZOxjvPujodQoSyQ9p26ai5m0YadOnaF_3cTHg/s1600/ralink_driver.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi3xJURDtMznijxXrW_sGm6JGcFmIOKqARuotLPY9913XnvgeRm-IRK26bJ_m1n98Q6vfOHdLj7uchHmPVZRVZrG-KfkELrDpmhDz025ZOxjvPujodQoSyQ9p26ai5m0YadOnaF_3cTHg/s400/ralink_driver.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAUna_gC9DgYB9R0yUE94tEqDsd0qFYuuTQLA8kEcoCQan1b4vD_4W172qpbGDvxJb70BY55Q1wFWntG1sb0opO_mzzh88aIDFRsb1you0QcUY47Fw-msIVekcDlvRs6mmpb6pwlDOgO0/s1600/archivemounter.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAUna_gC9DgYB9R0yUE94tEqDsd0qFYuuTQLA8kEcoCQan1b4vD_4W172qpbGDvxJb70BY55Q1wFWntG1sb0opO_mzzh88aIDFRsb1you0QcUY47Fw-msIVekcDlvRs6mmpb6pwlDOgO0/s400/archivemounter.png" width="400" /></a></div>
Now open the folder (now in your Downloads folder) and drill down to OS/linux/config.mk file.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVf0cmGQPgGuuoDYDMEotysCXdL8K9GV5WmCnEKyt1Mxg0N02IfuD44s5iSzq3RtXcfYFV1Izr3zow5PjgFR1Ak92Ha1LhkbSCLnY-aoBVdYG9Kcp3vqzuwtoaJLKkbH1QrlqxsnvZs8/s1600/2011dir.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipVf0cmGQPgGuuoDYDMEotysCXdL8K9GV5WmCnEKyt1Mxg0N02IfuD44s5iSzq3RtXcfYFV1Izr3zow5PjgFR1Ak92Ha1LhkbSCLnY-aoBVdYG9Kcp3vqzuwtoaJLKkbH1QrlqxsnvZs8/s400/2011dir.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAMDEDU6H5zs0hpP6rF_gZVOD9A_aCZZPATOm2b-k02a9W4qIZp-n8H3Q3QD_FKWaIkAFjBo6VQwdRgJBQOjmfflG-XppOmy7G4l4JIFzysmkVZgX_CTrC3TGlMxKOd1Op65L0-t4z1k/s1600/configmk.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxAMDEDU6H5zs0hpP6rF_gZVOD9A_aCZZPATOm2b-k02a9W4qIZp-n8H3Q3QD_FKWaIkAFjBo6VQwdRgJBQOjmfflG-XppOmy7G4l4JIFzysmkVZgX_CTrC3TGlMxKOd1Op65L0-t4z1k/s400/configmk.png" width="400" /></a></div>
<br />
Open it with a text editor and look for the following line<br />
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMN63si0od4QCHrREKLy0opeeTwYKutVifjJ1y_ObOsYpsyu24p-_UoTNIg9fWI-4A5Lipy63k0sdqg7hxuuaAxvw6AsmD4k85UjT7CU-aCmI8xSq0CsKUE9oKUyHnrZ5CV6Ta53m1G5I/s1600/native_n.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMN63si0od4QCHrREKLy0opeeTwYKutVifjJ1y_ObOsYpsyu24p-_UoTNIg9fWI-4A5Lipy63k0sdqg7hxuuaAxvw6AsmD4k85UjT7CU-aCmI8xSq0CsKUE9oKUyHnrZ5CV6Ta53m1G5I/s400/native_n.png" width="400" /></a></div>
<br />
and change it to<br />
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibPBHLs4UXStsrYkzE3o4E1FyDXS8Ixbu1LfxJW6MJk-qVY9_j_68EKD8RDCa1kR152RH6IKHGLMIEhI3Lf8i3Ek5ps1NUHKMN2E17c0vxe1UvwUxkXccPtbDjBpoPZfC3M82kjdKle1s/s1600/native_y.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="321" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibPBHLs4UXStsrYkzE3o4E1FyDXS8Ixbu1LfxJW6MJk-qVY9_j_68EKD8RDCa1kR152RH6IKHGLMIEhI3Lf8i3Ek5ps1NUHKMN2E17c0vxe1UvwUxkXccPtbDjBpoPZfC3M82kjdKle1s/s400/native_y.png" width="400" /></a></div>
<br />
Save and close.<br />
<br />
In the same OS/linux folder, look for pci_main_dev.c and open it with a text editor<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmZU4ionoeBONZaNrD5_wFqMGxt3umqKKshDfDMbZmvXEIp_jqdH7dPQpr5CKnyCROYayHY-Msqp5JhFy-A0M0zHvcT9Yr6pSR_TwuQLGsYw8QuLkP6EU4isrm40_qV64MUjm2sA8ldSg/s1600/pci_main.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="287" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmZU4ionoeBONZaNrD5_wFqMGxt3umqKKshDfDMbZmvXEIp_jqdH7dPQpr5CKnyCROYayHY-Msqp5JhFy-A0M0zHvcT9Yr6pSR_TwuQLGsYw8QuLkP6EU4isrm40_qV64MUjm2sA8ldSg/s400/pci_main.png" width="400" /></a></div>
<br />
Look for -<br />
#ifdef RT5390<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5390_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC539F_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5392_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5362_PCI_DEVICE_ID)},<br />
#endif /* RT5390 */<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKpTy-_ziSM38dfRlvJPP99cVVCxyIh_X7VkU1zvfoBnEfIBxgL8dRJYNJjR6K7_hFbjhBzgnbp1ubzhp_kyA_8KOQMmY7ONXTheLszl8ZuTASOJdD-vd9UfZLAJYt7qogIOrse98UtNI/s1600/pci_notyet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="321" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKpTy-_ziSM38dfRlvJPP99cVVCxyIh_X7VkU1zvfoBnEfIBxgL8dRJYNJjR6K7_hFbjhBzgnbp1ubzhp_kyA_8KOQMmY7ONXTheLszl8ZuTASOJdD-vd9UfZLAJYt7qogIOrse98UtNI/s400/pci_notyet.png" width="400" /></a></div>
<br />
add an extra line as shown below<br />
<br />
#ifdef RT5390<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5390_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC539F_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5392_PCIe_DEVICE_ID)},<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5362_PCI_DEVICE_ID)},<br />
{PCI_DEVICE(NIC_PCI_VENDOR_ID, NIC5360_PCI_DEVICE_ID)},<br />
#endif /* RT5390 */<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNUaoULitlEASkx_yEV9ZYsfghGaMF8fe4oeOkr55x76ExyrpBeb2hSEcjz1UP-IgeVQnCBCRS36qLJDsWXcc_mlQhsn7UUL4wjeVmCYonJCZFYuYKqBINeuJaZpEO0q8s6MDkJqSe2bM/s1600/pci_added.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="321" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNUaoULitlEASkx_yEV9ZYsfghGaMF8fe4oeOkr55x76ExyrpBeb2hSEcjz1UP-IgeVQnCBCRS36qLJDsWXcc_mlQhsn7UUL4wjeVmCYonJCZFYuYKqBINeuJaZpEO0q8s6MDkJqSe2bM/s400/pci_added.png" width="400" /></a></div>
<br />
STEP 2<br />
The Ubuntu 12.10 had build-essential package suite installed. So, I'll suggest you skip this step and continue to STEP 3, especially if you don't have your Ubuntu Live CD with you.<br />
<br />
Some people complained online that they couldn't do the STEP 3 as their Ubuntu didn't have the build-essential package installed. The build-essential package has the make tools needed to complete the STEP 3.<br />
So I'll show you how to install the build-essential.<br />
If you've got internet service (perhaps via Ethernet cable connection), just type the following in the Terminal<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
sudo apt-get install linux-headers-generic build-essential<br />
Voila! You're done and can move to STEP 3<br />
But if you don't have internet access on the concerned PC, insert your Ubuntu 12.10 Live CD in to the DVD drive and do the following<br />
sudo apt-cdrom add<br />
sudo apt-get update<br />
sudo apt-get install build-essential<br />
Voila! You're good to go to STEP 3<br />
<br />
STEP 3<br />
From the Terminal, do the following<br />
<br />
cd ~/Downloads/<i>the_folder_name</i><br />
sudo su<br />
make<br />
make install<br />
modprobe rt5390sta >> /etc/modules<br />
exit<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2knGtfgK9iMw6rDS2y3HrmXxfx_SK6ePKvJ_rfsWa0wmIg6JinA2Yx5qL6x2xf3GqaEuV5nN-TEFYQSXBlpzeU9Ky5gwjP0iLXdiBlBQuHuyE7AO1b7j_nTHmPQMzsiOZttbl1-zkIVI/s1600/Terminal.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2knGtfgK9iMw6rDS2y3HrmXxfx_SK6ePKvJ_rfsWa0wmIg6JinA2Yx5qL6x2xf3GqaEuV5nN-TEFYQSXBlpzeU9Ky5gwjP0iLXdiBlBQuHuyE7AO1b7j_nTHmPQMzsiOZttbl1-zkIVI/s400/Terminal.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTjdtZqZU9-uCswpdctPEZ5bq2NxA3Hy_TVrTALVSsqBZxDoazI5SXCKYb-NTXn0QQhjVqeVby_UGRV7NBMIjzOw8EhSR4WhTbjvIQYbNzXL0tQl8y3SbPrBwPkvj5Z3mUoAHqHG834QQ/s1600/cd_to2011.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTjdtZqZU9-uCswpdctPEZ5bq2NxA3Hy_TVrTALVSsqBZxDoazI5SXCKYb-NTXn0QQhjVqeVby_UGRV7NBMIjzOw8EhSR4WhTbjvIQYbNzXL0tQl8y3SbPrBwPkvj5Z3mUoAHqHG834QQ/s400/cd_to2011.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyI39zneQWxIkVlfgKzSmE0WxFpB3Dh00cCiAenIcHY-IpNg1tMchC7UBLQbxRchs7kUGaKInksCMA96JZnUh2jbwEVMmvQ63yqzcxvOBd0hOOqMmVrelLrD4ut6cbqD_m6s0gPUNHois/s1600/make+install.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyI39zneQWxIkVlfgKzSmE0WxFpB3Dh00cCiAenIcHY-IpNg1tMchC7UBLQbxRchs7kUGaKInksCMA96JZnUh2jbwEVMmvQ63yqzcxvOBd0hOOqMmVrelLrD4ut6cbqD_m6s0gPUNHois/s400/make+install.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
By now, the wireless icon in the taskbar will be trying to connect to any open WiFi available.<br />
Or goto Settings and click on Network<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyXp35GpxNGQGAWdEQUvm2G5NIUrTFeVCbkdvNl1dMhTEnh9sCL0ybJSbJ5VUCJGVrJTjB1E25uL_49BAPF-ieDid2B4Zko3kHXidM5LHqVJl-762cHsF-zmZ9qUTsjiKaFIiHKf4VmUQ/s1600/settings.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="278" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyXp35GpxNGQGAWdEQUvm2G5NIUrTFeVCbkdvNl1dMhTEnh9sCL0ybJSbJ5VUCJGVrJTjB1E25uL_49BAPF-ieDid2B4Zko3kHXidM5LHqVJl-762cHsF-zmZ9qUTsjiKaFIiHKf4VmUQ/s400/settings.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvMVNc0Evm3xJLsJhVd7XdAkX_q784VkJ-SseDiL0UYoJrAbPS90ZaoFdxLEZVjw2NUeHZcgZhHAzGiny_3Y5zurXWAtcLbTCNerCeeZzJ4XAhwQapeDjdvXKeWd4gzXyOkrK5iq9D2mo/s1600/connectwifi.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvMVNc0Evm3xJLsJhVd7XdAkX_q784VkJ-SseDiL0UYoJrAbPS90ZaoFdxLEZVjw2NUeHZcgZhHAzGiny_3Y5zurXWAtcLbTCNerCeeZzJ4XAhwQapeDjdvXKeWd4gzXyOkrK5iq9D2mo/s400/connectwifi.png" width="400" /></a></div>
<br />
Congrats! You can start enjoying your Ubuntu 12.10 without any (internet) limitations.<br />
<div>
<br /></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-11261313583879334362013-05-27T05:30:00.001-07:002013-05-27T05:30:13.396-07:00Very useful Linux administration commands<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Trebuchet MS, sans-serif; margin-left: 1em; margin-right: 1em;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBTXkXrVrknrnyHBCvZdHRA71w2Up52qVvLQHgh_kvPyNxKYsaZWs4OIwY051Rxt_AHj5JdUeJ0dSFc0Nqarii2DDxnskJgPe2RKOFQzbHB4wOgegblJ3sm9mZMeLQBJS1gPwY9Fc67U-u/s1600/LoveLinuxLiveLinux.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="Love Linux Live Linux (c) www.sahipasand.com" border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBTXkXrVrknrnyHBCvZdHRA71w2Up52qVvLQHgh_kvPyNxKYsaZWs4OIwY051Rxt_AHj5JdUeJ0dSFc0Nqarii2DDxnskJgPe2RKOFQzbHB4wOgegblJ3sm9mZMeLQBJS1gPwY9Fc67U-u/s320/LoveLinuxLiveLinux.jpg" title="" width="320" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">I primarily use Linux on my laptop, I have both Ubuntu 12.10 and OpenSUSE 12.2 running on the laptop. And been having at least 2 linux distros on the laptop since 2009.</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">In this post I will share with you, some very useful linux commands -</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;"><br /></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">man <span style="font-style: italic;">any_command</span> <span style="color: #4f81bd;"><to nbsp="" span="" view=""><span style="color: #4f81bd;">the manual for target </span><span style="color: #4f81bd;">command></span></to></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">pwd <span style="color: #4f81bd;"><print current="" directory="" working=""></print></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ls <span style="color: #4f81bd;"><show nbsp="" span=""><span style="color: #4f81bd;">files in current </span><span style="color: #4f81bd;">directory></span></show></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ls –a <span style="color: #4f81bd;"><show nbsp="" span=""><span style="color: #4f81bd;">maximum information about all files, including </span><span style="color: #4f81bd;">hidden></span></show></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">mv source destination <span style="color: #4f81bd;"><move nbsp="" rename="" span=""><span style="color: #4f81bd;">a file or </span><span style="color: #4f81bd;">directory></span></move></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">rm target <span style="color: #4f81bd;"><delete be="" could="" directory="" file="" or="" target=""></delete></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">cp source destination <span style="color: #4f81bd;"><copy nbsp="" span=""><span style="color: #4f81bd;">file or </span><span style="color: #4f81bd;">directory></span></copy></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">mount /dev/device_name /media/device_name <span style="color: #4f81bd;"><mount nbsp="" span=""><span style="color: #4f81bd;">filesytem</span><span style="color: #4f81bd;">></span></mount></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">umount /media/device_name <span style="color: #4f81bd;"><</span><span style="color: #4f81bd;">Unmount</span><span style="color: #4f81bd;">></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">df –h <span style="color: #4f81bd;"><display all="" mounted="" nbsp="" span=""><span style="color: #4f81bd;">filesystem</span><span style="color: #4f81bd;"> and available disk space in KB, MB, GB></span></display></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">du <span style="color: #4f81bd;"><display disk="" for="" maintenance="" routine="" usage="" useful="" very=""></display></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ps – ef <span style="color: #4f81bd;"><list nbsp="" span=""><span style="color: #4f81bd;">all running </span><span style="color: #4f81bd;">processes, with full details></span></list></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">top <span style="color: #4f81bd;"><standard nbsp="" span=""><span style="color: #4f81bd;">system monitor showing a more extensive view of all processes and system </span><span style="color: #4f81bd;">resources></span></standard></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">nohup command & <span style="color: #4f81bd;"><start nbsp="" span=""><span style="color: #4f81bd;">a process in the background and have it keep running after you log </span><span style="color: #4f81bd;">off></span></start></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">~/ <span style="color: #4f81bd;"><current nbsp="" span=""><span style="color: #4f81bd;">user's home </span><span style="color: #4f81bd;">directory></span></current></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ifconfig <span style="color: #4f81bd;"><configure nbsp="" span=""><span style="color: #4f81bd;">network </span><span style="color: #4f81bd;">interfaces></span></configure></span></span></div>
<br />
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">iwconfig <span style="color: #4f81bd;"><configure nbsp="" span=""><span style="color: #4f81bd;">wireless network </span><span style="color: #4f81bd;">interfaces></span></configure></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ssh username@ip_address <span style="color: #4f81bd;"><connect nbsp="" span=""><span style="color: #4f81bd;">to a remote </span><span style="color: #4f81bd;">server></span></connect></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">ping ip_address <span style="color: #4f81bd;"><check nbsp="" span=""><span style="color: #4f81bd;">to see if target is online and </span><span style="color: #4f81bd;">responding></span></check></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">traceroute6 ip_address <span style="color: #4f81bd;"><view nbsp="" span=""><span style="color: #4f81bd;">network route to </span><span style="color: #4f81bd;">target></span></view></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">netstat <span style="color: #4f81bd;"><network monitor=""></network></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">iptables –L <span style="color: #4f81bd;"><view nbsp="" span=""><span style="color: #4f81bd;">firewall </span><span style="color: #4f81bd;">rules></span></view></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">adduser <span style="color: #4f81bd;"><create nbsp="" span=""><span style="color: #4f81bd;">a new </span><span style="color: #4f81bd;">user></span></create></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">usermod <span style="color: #4f81bd;"><change nbsp="" span=""><span style="color: #4f81bd;">user privileges (be very careful with this one</span><span style="color: #4f81bd;">)></span></change></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">deluser <span style="color: #4f81bd;"><delete user=""></delete></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">chmod <span style="color: #4f81bd;"><</span><span style="color: #4f81bd;"># Change privileges over file or directory </span><span style="color: #4f81bd;">></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">chown user_name:group_name directory_name <span style="color: #4f81bd;"><change nbsp="" span=""><span style="color: #4f81bd;">owner of a file or </span><span style="color: #4f81bd;">directory></span></change></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">su username <span style="color: #4f81bd;"><temporarily nbsp="" span=""><span style="color: #4f81bd;">become a different </span><span style="color: #4f81bd;">user></span></temporarily></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">users <span style="color: #4f81bd;"><print nbsp="" span=""><span style="color: #4f81bd;">usernames of logged in </span><span style="color: #4f81bd;">users></span></print></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Infact, you can administer your mysql database directly from the CLI</span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">CREATE DATABASE databasename; <span style="color: #4f81bd;"><new database=""></new></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">CREATE USER username@localhost IDENTIFIED BY 'password'; <span style="color: #4f81bd;"><create nbsp="" span=""><span style="color: #4f81bd;">a new </span><span style="color: #4f81bd;">user></span></create></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
</div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">show tables; <span style="color: #4f81bd;"><show nbsp="" span=""><span style="color: #4f81bd;">database </span><span style="color: #4f81bd;">schema></span></show></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="color: #4f81bd;"><span style="font-family: Trebuchet MS, sans-serif;"><br /></span></span></div>
<div style="direction: ltr; margin-bottom: 0pt; margin-left: 0in; margin-top: 0pt; unicode-bidi: embed; word-break: normal;">
<span style="font-family: Trebuchet MS, sans-serif;">Know other useful Linux commands? Please share via the comment box.</span></div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-55483530767607006032013-05-18T13:46:00.001-07:002013-05-18T13:46:06.118-07:00Learning Linux? Free online books and practical help tips<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRa6GLIG7vk63ky07AgMsG8HWu8ZUF_2nAL7K4TJvkBn24-pCCKgOho7iXt_BlGTo7WwcGmtKT8rmKun1fq6m3iReGcRNVoCM0WIqZ5kWieI9eJzZUbcHiNWPV9aQVvbgBPscBBhimol9n/s1600/LearningLinux.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRa6GLIG7vk63ky07AgMsG8HWu8ZUF_2nAL7K4TJvkBn24-pCCKgOho7iXt_BlGTo7WwcGmtKT8rmKun1fq6m3iReGcRNVoCM0WIqZ5kWieI9eJzZUbcHiNWPV9aQVvbgBPscBBhimol9n/s400/LearningLinux.png" width="400" /></a></span></span></div>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Well just in case you still do not realize that I am typing this post on a Linux OS. Checkout the following screenshot.</span></span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSsrhINQarIcrlYuq8ZwF0JPJYP9QltqDC1UIH-f_BJLQicCc2n3KrD9OrzMAN0snljkxLxE0LMhuEBeaRciNHktLj6zEICVSmsWL9zIQ8JXDdq-WkIKD2nQuR_y5rz8BXnqOxvK7acV12/s1600/Screenshot+from+2013-05-18+20:58:28.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSsrhINQarIcrlYuq8ZwF0JPJYP9QltqDC1UIH-f_BJLQicCc2n3KrD9OrzMAN0snljkxLxE0LMhuEBeaRciNHktLj6zEICVSmsWL9zIQ8JXDdq-WkIKD2nQuR_y5rz8BXnqOxvK7acV12/s400/Screenshot+from+2013-05-18+20:58:28.png" width="400" /></a></span></span></div>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Yes,
I am typing out this post from my Ubuntu Linux OS, and I also have
OpenSUSE, Windows 7 RC & Windows 8 RC(no $ to buy commercial
version) all running on the same laptop, my venerable SONY VAIO.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">So how did I learn to use Linux?</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">It
all started in 2008. I started from ground zero. I was at the peak of
my IT certification frenzy and I heard of this Linux + certification, so
I decided to attempt the certification. I had done Oracle 10g Certified
Administration Associate (OCA 10g) and Cisco Certified Network
Associate (CCNA). </span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br />I
spoke with a senior colleague, and he was too busy to even hear me out.
I proceeded to help myself, I downloaded Ubuntu 8.04 alternate CD (my
greatest mistake in IT, so far) and ended up irreparably crashing my
Windows. The problem was that I downloaded an alternate CD, fortunately
Ubuntu no longer makes alternate CDs (I think). Alternate CD is purely a
commandline based installation CD, and I knew nothing about Linux file
structure - root folder, home folder, ext2 file system, swap space... I
got stuck for what seemed like an eternity at specifying root file and
choosing file system, it won't let me choose NTFS and I knew jack about
the other options. Finally, after trying out so many combinations, it
finally accepted one. I had installed my first Linux OS all by myself,
without any help. I was extremely happy, even though my Windows was
gone.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Ever
since, I have grown in my understanding and use of Linux. I have
installed Linux for over 20 people, installed nearly all the free
distros and have been quadri/penta-booting OSs on my laptop since 2009.
And I now train people on how to use Linux.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">How did I achieve my expertise?</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">I
read all I could on Linux. I kept practicing, sharing my knowledge and
helping people solve their computer problems with my Linux knowledge. It
got me the fix-it guy status among my friends.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Reading and practicing is the only way to learn Linux.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Where can you get good Linux books for free?</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Linux
prides itself as being free. And so many people have put up their Linux
how-to books for free online. And a good starting point will be -</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="http://www.linux.org/tutorial/view/beginners-level-course">http://www.linux.org/tutorial/view/beginners-level-course</a> </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii6MozBCo062b67VvNADgO7e6GaqnKRAqIookdHsJ4SHTX6KznpQ_ec_b4II1SFrqeMTukKv_F6txMTnGp6ajquchuUts_mYKf5CoglWjKjs_aqChyphenhyphen9KubOI0wRzWuwjI71nWg9UlvO06M/s1600/LinuxTraining.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEii6MozBCo062b67VvNADgO7e6GaqnKRAqIookdHsJ4SHTX6KznpQ_ec_b4II1SFrqeMTukKv_F6txMTnGp6ajquchuUts_mYKf5CoglWjKjs_aqChyphenhyphen9KubOI0wRzWuwjI71nWg9UlvO06M/s400/LinuxTraining.png" width="400" /></a></span></span></div>
<br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">Introduction to Linux </span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="http://tille.garrels.be/training/tldp/index.html">http://tille.garrels.be/training/tldp/index.html</a></span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br />Linux Newbie Administration Guide </span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="http://lnag.sourceforge.net/downloads/LinuxNewbieAdministratorGuide.pdf">http://lnag.sourceforge.net/downloads/LinuxNewbieAdministratorGuide.pdf</a></span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br />Bash Guide for Beginners </span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><a href="http://tille.garrels.be/training/bash/">http://tille.garrels.be/training/bash/</a></span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br />Ubuntu Pocket Guide & Reference</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"> <a href="http://ubuntupocketguide.com/download_main.html">http://ubuntupocketguide.com/download_main.html</a></span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">I assure you that reading this book and practicing on a real Linux system, you'll become a Linux guru too.</span></span><br />
<span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;"><br /></span></span>
<br />Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-82682337624024788602012-11-20T03:50:00.001-08:002012-11-20T03:50:06.449-08:00How I rooted and installed Cyanogenmod on my Samsung Galaxy S2<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpcvIBEynQrnugxVPOOr3jvuHE-XIDsEGX4KGRNLk8OIlMdHzSFpsx7tonNWQ3_2SBnqFyxKQR4J0PgvxBtuA5Gxa_cyHUNvMFNpBkVom9XYbujnBjipdNz33roNtQ17cpih89_CbWpM_N/s1600/s2-explore-black.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpcvIBEynQrnugxVPOOr3jvuHE-XIDsEGX4KGRNLk8OIlMdHzSFpsx7tonNWQ3_2SBnqFyxKQR4J0PgvxBtuA5Gxa_cyHUNvMFNpBkVom9XYbujnBjipdNz33roNtQ17cpih89_CbWpM_N/s400/s2-explore-black.png" width="391" /></a></div>
<div>
<br /></div>
This is going to be a very long how-to post, so I'll ditch my usual long intro.<br />
<div>
To install the Cyanogenmod custom ROM on the Samsung Galaxy S2, you'll go through three easy steps. Unfortunately, most blogs have managed to make it extremely hard to do - it's either they didn't put up any step-wise screenshot supported post or they write it out like an help/documentation file. So, I have decided to make the ultimate how-to guide and you can be sure you won't brick your phone.<br />
<a name='more'></a>The three steps are -</div>
<div>
1. Root your Galaxy S2</div>
<div>
2. Install Clockworkmod recovery </div>
<div>
3. Finally install the Cyanogenmod (latest stable version 9.1.0 is recommended)</div>
<div>
<br /></div>
<div>
<b>1. Rooting your Galaxy S2</b><br />
Make sure your Galaxy S2 is fully charged.</div>
<div>
Backup both the Phone's internal storage drive and the external storage (SD) card on your laptop, more importantly because this is a great opportunity to have them backed up. You'll most likely not have any need to use them during the course of the installation.<br />
<br />
To do the actual rooting, there are numerous methods but the method I believe to be most safe and easiest is the ODIN way. To use this method, you'll need to download just 3 files -<br />
a. <a href="http://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1814801&v=1&libid=1353392462982&out=http%3A%2F%2Fwww.mediafire.com%2F%3Fwa5ue3slmoq1ytd&ref=http%3A%2F%2Fwww.google.com.ng%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D1%26cad%3Drja%26ved%3D0CCEQFjAA%26url%3Dhttp%253A%252F%252Fforum.xda-developers.com%252Fshowthread.php%253Ft%253D1814801%26ei%3DQyGrUNelKMGr0QWE94CgBQ%26usg%3DAFQjCNEIekvsJRVp1gxKBldcTPj8gxtUxA%26sig2%3DMSxyRi7gxzeA52AcqFHWMg&title=%5BHOW-TO%5D%20Root%20%3E%20Install%20CWM%20Recovery%20%3E%20Flash%20via%20ODIN%20%5BGalaxy%20S2%20I9100G%5D%20-%20xda-developers&txt=Odin3-v1.85.zip&jsonp=vglnk_jsonp_13533926819574" target="_blank">ODIN3_v1.85 zip</a> file,<br />
<br />
b. The custom kernel. Go to <a href="http://www.jayceooi.com/2011/08/03/download-cf-root-for-samsung-galaxy-s2/" target="_blank">Jayce Ooi</a> to download the CF-Root-SGS2_XX_xxx_XXX-vx.x-CWMx.zip file that is for your kernel version. The trick to knowing which, is to goto Settings -> About Phone -> Kernel Version and note the name there.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcm5h_BcvHAGdqdklNf7sIUxlOxT_45QIjRevWC4ww_O7yAOp8xQDTM22hmnnWgLgLwhtj-cp2YvJnvu0axM3-PyZhoeJ3Fn6791Ntvf1qwg-ZegxFxTGLKCvMa3uddZd3M_Mr-XJc_6f/s1600/SGS2-Kernel.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcm5h_BcvHAGdqdklNf7sIUxlOxT_45QIjRevWC4ww_O7yAOp8xQDTM22hmnnWgLgLwhtj-cp2YvJnvu0axM3-PyZhoeJ3Fn6791Ntvf1qwg-ZegxFxTGLKCvMa3uddZd3M_Mr-XJc_6f/s400/SGS2-Kernel.jpg" width="240" /></a></div>
<br />
Note the 5 characters in front of the I9100. Mine was XWKJ1. So I had to download CF-Root-SGS2_XW_LUX_KJ1-v5.0-CWM5.zip (by selecting XW_LUX_KJ1 on <a href="http://www.jayceooi.com/2011/08/03/download-cf-root-for-samsung-galaxy-s2/" target="_blank">Jayce Ooi's page</a>)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMaA6OxmwCBpQfqhgP-PKJlUNrvoZ_WlXQcCN5uDE1XxcZTNHJ6uz1wgeyJ3gy5JRQ36Xd9sfU-yjLzEwXJBoMaOQVmS__EJq_LtEqboILJma_t3yeqR7R4C7c4oLpP3lbkp61t297JksW/s1600/how-to-root-sgs2-kernel-version.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMaA6OxmwCBpQfqhgP-PKJlUNrvoZ_WlXQcCN5uDE1XxcZTNHJ6uz1wgeyJ3gy5JRQ36Xd9sfU-yjLzEwXJBoMaOQVmS__EJq_LtEqboILJma_t3yeqR7R4C7c4oLpP3lbkp61t297JksW/s400/how-to-root-sgs2-kernel-version.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
c. And finally, the <a href="http://shortfuse.org/?p=193" target="_blank">SuperOneClick zip</a> file. This is the program that will run the actual rooting command on the custom kernel you'll install.</div>
<br />
Download all these files and put them in the same folder. Unzip the ODIN zip file and run the ODIN program. Unzip the CF-Root-SGS2_XX_xxx_XXX-vx.x-CWMx.zip file to reveal the actual .tar file. Finally, unzip the SuperOneClick.zip file and run the SuperOneClick program.<br />
<br />
Before we move to the next stage, I'll suggest you download all these other files you'll need for the entire process.<br />
i. The <a href="http://www.mediafire.com/?17czft296vdpe6v" target="_blank">Clockworkmod Recovery</a> zip file<br />
ii. The <a href="http://mirror.i3d.net/pub/cyanogenmod/jenkins/7078/cm-9.1.0-galaxys2.zip" target="_blank">Cyanogenmod 9.1.0</a> zip file<br />
iii. <a href="http://goo.im/gapps/gapps-ics-20120422-signed.zip" target="_blank">Google apps</a> zip file<br />
<br />
Copy Cyanogen 9.1.0 zip and the Google apps zip files into the phone memory (not the SDCARD memory).<br />
<br />
Disconnect the USB.<br />
<br />
Make sure USB debugging is on.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSkf-EO-Uu0JI3WEVJ7rXkSwfMZw5Lzcb1ayNjkJd0w1kmb5Vsdvp_c0z_-eLj_IkXCxBEa4Ji4ke0nK38suiqASybjYlVotpPeym-YAQgqw5hRhHDogdd9EXqeJjt2LFceI0bp-bO_-Wh/s1600/root-samsung-i9100-setting-2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSkf-EO-Uu0JI3WEVJ7rXkSwfMZw5Lzcb1ayNjkJd0w1kmb5Vsdvp_c0z_-eLj_IkXCxBEa4Ji4ke0nK38suiqASybjYlVotpPeym-YAQgqw5hRhHDogdd9EXqeJjt2LFceI0bp-bO_-Wh/s400/root-samsung-i9100-setting-2.png" width="240" /></a></div>
<div>
<br /></div>
<br />
Now power off the phone and boot into the download mode by pressing these buttons at once till the phone powers on - the <b>power button</b>, <b>home button</b> and <b>volume down button</b>. You'll get a screen like the one below (press volume up to continue when prompted) -<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHBSnnyjjK9lP8qJt6vfL6S4sFPnnwZQflRZgTKQ2t6Wh7ZZcwJ-OxU9-QEeHnjsbzVrTp3hryt0JBMvktyJW2pLPjYL5hTW70vIXCI9cxYTT_nm5bU8Sirsu_f7tJ2gGVF_sKMTnaIqtW/s1600/SGS2-Odin-Download-Mode_01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHBSnnyjjK9lP8qJt6vfL6S4sFPnnwZQflRZgTKQ2t6Wh7ZZcwJ-OxU9-QEeHnjsbzVrTp3hryt0JBMvktyJW2pLPjYL5hTW70vIXCI9cxYTT_nm5bU8Sirsu_f7tJ2gGVF_sKMTnaIqtW/s400/SGS2-Odin-Download-Mode_01.jpg" width="266" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8COEnZZWABjuKTTdG2gN9KPNZOZ7KkJZEg9dmJyW2Oup3m50vPozVX0Q0ukJkbCIiGkxa97FS4HE47ufqpIryot52zHQngHQSQtpMq5rqkh95f68PWyMQVye2VRsT3bwycRQRzVsaQEp3/s1600/SGS2-Odin-Download-Mode_02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8COEnZZWABjuKTTdG2gN9KPNZOZ7KkJZEg9dmJyW2Oup3m50vPozVX0Q0ukJkbCIiGkxa97FS4HE47ufqpIryot52zHQngHQSQtpMq5rqkh95f68PWyMQVye2VRsT3bwycRQRzVsaQEp3/s400/SGS2-Odin-Download-Mode_02.jpg" width="266" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Now connect the phone via USB to the computer (on which you are the ODIN program). Wait till you see a message (<id:0 added="added" been="been" by="by" detected="detected" has="has" indicating="indicating" odin.="odin." p="p" phone="phone" that="that" the="the"></id:0><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhww5_C-rWmYWIR81k_Qka72XCmC02Q05qqXe_upcw13_6tDchP-N8MbVqnKvuBoCkS_qn6xcfEK8DKAyGZyIXpaUYlt3HOn4z7m7ik2pN33f_FGwvMgM44LsHQpJOrI0ZyDIMKsSRVY_T2/s1600/odin.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhww5_C-rWmYWIR81k_Qka72XCmC02Q05qqXe_upcw13_6tDchP-N8MbVqnKvuBoCkS_qn6xcfEK8DKAyGZyIXpaUYlt3HOn4z7m7ik2pN33f_FGwvMgM44LsHQpJOrI0ZyDIMKsSRVY_T2/s400/odin.PNG" width="400" /></a></div>
<br />Click on <b>PDA</b> to select the custom kernel you earlier downloaded. Click on <b>Start</b> to install the custom kernel.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijdB_MnTqPirAhesw_EVxsD2QRn46NxAdjjijY4ZXo1VGVANHC4PHMhkQXEHpE9iX2mnH5kgV_HvQ4N0oVTZHnGv3zLAnlxoAH7L2YJUHf1kHVgjJncY1EPsL0eTaYymVGw4Rg_H64QEqf/s1600/odin2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijdB_MnTqPirAhesw_EVxsD2QRn46NxAdjjijY4ZXo1VGVANHC4PHMhkQXEHpE9iX2mnH5kgV_HvQ4N0oVTZHnGv3zLAnlxoAH7L2YJUHf1kHVgjJncY1EPsL0eTaYymVGw4Rg_H64QEqf/s400/odin2.PNG" width="400" /></a></div>
<br />The phone will reboot when done.<br />Once the phone is done booting (make sure the USB is still connected), go to the SuperOneClick program (earlier opened) and click on <b>Root</b>.<br /><br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5-Db586snt1hItz18ttv6JeO9QYpyzHewoqr_nn477S9HQcHkNF5ICCHjgoiCWhqr1FTiQAadw1w1yYFZMSXv_jrLcnWkR31IarSosmCiqLTjYa20hpjHIdRoo6cqe6iRx9mj-5Z9mVGK/s1600/SuperOneClick.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="281" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5-Db586snt1hItz18ttv6JeO9QYpyzHewoqr_nn477S9HQcHkNF5ICCHjgoiCWhqr1FTiQAadw1w1yYFZMSXv_jrLcnWkR31IarSosmCiqLTjYa20hpjHIdRoo6cqe6iRx9mj-5Z9mVGK/s400/SuperOneClick.PNG" width="400" /></a></div>
<br /><br />Voila! Your Galaxy S2 is now rooted.<br />And as a plus, you should go to the Google Play store and install Titanium Backup. Use it to backup all your phone applications and data to the external memory card. Also install SMS backup + to backup all your phone call history and SMS to your gmail account. It will come in handy when you're done with the installation of CM 9.1.0.<br /><br /><b>2. Install Clockworkmod Recovery</b><br />Now disconnect the phone and reboot into the download mode again. And this time, when you click on PDA, select the clockworkmod recovery file you downloaded and click Start.<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9JwSrFt89Y-3vGcNRFP1Fw4su0S5ZbNOdk7ph1WT3xQyTY6285RfNB3-RojfHSYcYo_Vu68zJF6YwJlLraJZmctq56MRRnA4HkezeFVyudjMbw9POHpy9TwD2cCC99D3mBZS7niGXgKb_/s1600/clockworkmod.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9JwSrFt89Y-3vGcNRFP1Fw4su0S5ZbNOdk7ph1WT3xQyTY6285RfNB3-RojfHSYcYo_Vu68zJF6YwJlLraJZmctq56MRRnA4HkezeFVyudjMbw9POHpy9TwD2cCC99D3mBZS7niGXgKb_/s400/clockworkmod.PNG" width="400" /></a></div>
<br />Once again the phone will reboot.<br />Now you can move to the last stage.<br /><br /><b>3. Install the Cyanogenmod 9.1.0</b><br />Turn off the USB debugging mode.<br />Power off the phone. Boot into the Recovery mode by pressing Power button + Home button + Volume <b>Up</b> button (note that it's volume UP button).<br />You'll get a screen like the one below -<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3GbKkJTHf_98gkW57AUXPlzjs8MQZnPpy9Pmc-QQ4HNEZFizS11PgBCPpAzN_1NBQis8Gn_wZOilsPNTybxHDSPuVKhM9C_Cb6b0QAOrp0loxW4BEpZ2R31Msy4Lx0dOBUrJPfXgo0ZJS/s1600/9217834_cwme15i01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3GbKkJTHf_98gkW57AUXPlzjs8MQZnPpy9Pmc-QQ4HNEZFizS11PgBCPpAzN_1NBQis8Gn_wZOilsPNTybxHDSPuVKhM9C_Cb6b0QAOrp0loxW4BEpZ2R31Msy4Lx0dOBUrJPfXgo0ZJS/s400/9217834_cwme15i01.png" width="266" /></a></div>
<br />Navigate with the volume keys to Backup and Restore, made a backup of the phone. Always select yes in the prompt with numerous "no" and 1 "yes".<br />Then press the Power button lightly to move to the previous menu, and select install zip from sdcard. If you do not see the CM 9 and gapps zip files, do not panic! Just keep scrolling down via the volume down key till and you'll soon see them. Install the CM 9 zip first and then install the gapps zip.<br />Finally, press the power button till you are back at the parent/home menu, and select wipe cache partition. Wipe all the caches.<br />Then go back and select Reboot.<br />You will now get a new boot screen and your phone is now running on the ICS4.04 customized by Cyanogen!<br /><br />The best part is that you can simply head to Google play store and install Titanium Backup, run and restore all your applications and data. Then run the SMS Backup + to restore your SMS and call history. Also don't forget that google always sync (except you disabled it) your phone contacts with your google account, so your phone contacts are automatically restored.<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwcR8JKARja0l5HF2dky-HXLSgdsGtRB0_0Sz33vvP69kGgZNZHHtDGQGKjA082JfZKTFKLiLQ7WDhGvYUU5f9wsc5ifRvWBnLu4a5XW2NG3352_5xAsP5ezEpC_kf_qXn9Gy_OrIctjxT/s1600/Screenshot_2012-11-07-15-44-56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwcR8JKARja0l5HF2dky-HXLSgdsGtRB0_0Sz33vvP69kGgZNZHHtDGQGKjA082JfZKTFKLiLQ7WDhGvYUU5f9wsc5ifRvWBnLu4a5XW2NG3352_5xAsP5ezEpC_kf_qXn9Gy_OrIctjxT/s400/Screenshot_2012-11-07-15-44-56.png" width="240" /></a></div>
<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjENnBmPHAAVBzlMCgmsF_mpmy5GvOxR0IrkugsU3XNGxSXIRmweBhJgvCohYxjskeNXS62aKRc9GUkvPMDfuQ4ClMtZB_Nx9MgU4Fb1WzOwOfUEQj5WskbWyTH5ZJ4hev0GsVlxqyhBOi4/s1600/Screenshot_2012-11-20-09-26-51.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjENnBmPHAAVBzlMCgmsF_mpmy5GvOxR0IrkugsU3XNGxSXIRmweBhJgvCohYxjskeNXS62aKRc9GUkvPMDfuQ4ClMtZB_Nx9MgU4Fb1WzOwOfUEQj5WskbWyTH5ZJ4hev0GsVlxqyhBOi4/s400/Screenshot_2012-11-20-09-26-51.png" width="240" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
So congratulations, you now have the lastest and best stable ROM running on your Samsung Galaxy S2.</div>
Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-30123724806914682792012-07-24T02:17:00.000-07:002012-12-12T09:15:24.257-08:00Choice android applications on my Samsung Galaxy S2<br />
<span style="font-family: 'Trebuchet MS', sans-serif;">I recently got a Samsung Galaxy S2, costing me more than my two months free cash, and though there is now a Samung Galaxy S3 yet S2 is still a very highly rated android smartphone. In fact, it was named the best smartphone at the <a href="http://www.huffingtonpost.com/2012/03/02/galaxy-s-ii-best-smartphone-mobile-world-congress-2012_n_1316479.html" target="_blank">Mobile World Congress this year</a> </span><br />
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;">I won't bore you with the details of all the great timeless features of the phone that makes it a kill. But I will be stunning you with the crisp screenshots that shows you all my choice applications on the phone and my widget filled homescreens.</span></div>
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;"> HomeScreen 1</span></b></div>
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWKC_mn2-K6yKwrYi7G0MDb-O2WmLQm8SLbHTdU0AS-4aL7q6utGTz2wqKfAYyQ4rCfniFiBs2NHdD3V661vmIpJOCj03SaHvyDVB2CQTNXztNsAaOKA9Tr1zwYM2KtWrfdCXWXPO7scBy/s1600/SC20120724-085611%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWKC_mn2-K6yKwrYi7G0MDb-O2WmLQm8SLbHTdU0AS-4aL7q6utGTz2wqKfAYyQ4rCfniFiBs2NHdD3V661vmIpJOCj03SaHvyDVB2CQTNXztNsAaOKA9Tr1zwYM2KtWrfdCXWXPO7scBy/s640/SC20120724-085611%5B1%5D.png" width="380" /></span></a></div>
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"></span><br />
<a name='more'></a></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 2</span></b></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcu9G0GIXNvSjcOfKcw2F09JkwVDkXU2wNzcJOmw2WuiuQ3m4fujA6eFdXIfYcYc79hkOT4UoXQg3M9DmrO95RN3qXJ5RxnsKpB-ao1xEEFFj9pDzubZzqMkAThqd4C1HUvP-ciYVIxYfU/s1600/SC20120724-085618%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcu9G0GIXNvSjcOfKcw2F09JkwVDkXU2wNzcJOmw2WuiuQ3m4fujA6eFdXIfYcYc79hkOT4UoXQg3M9DmrO95RN3qXJ5RxnsKpB-ao1xEEFFj9pDzubZzqMkAThqd4C1HUvP-ciYVIxYfU/s640/SC20120724-085618%5B1%5D.png" width="380" /></span></a></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 3</span></b></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKCTkKMcZw5t1AyMK_Inz6XIOB0dT2_Hmng_vp4K7CjVhb_bKaqhJmw2MqJ65VlaEffueRKPw-wkdrxw64f13253RwAJbtz5dKiZLb3yrXpzHH0PvyYf2CDuuSa8kEJO8G22fi5qrL0G96/s1600/SC20120724-085649%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKCTkKMcZw5t1AyMK_Inz6XIOB0dT2_Hmng_vp4K7CjVhb_bKaqhJmw2MqJ65VlaEffueRKPw-wkdrxw64f13253RwAJbtz5dKiZLb3yrXpzHH0PvyYf2CDuuSa8kEJO8G22fi5qrL0G96/s640/SC20120724-085649%5B1%5D.png" width="380" /></span></a></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 4</span></b></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPDJ6R0ySu9kfBHoBHBcwqKyoOr2Z-agdhjRORFGQ7PPnn94VGWQm0P6ejkMjpxfBzRQcNdzEFK3t1ukbWW2-w49WyhKKJdV1QaDxgHEgRl8ewfeHXBI34CNuVRgBOfmNTyUPf1RhUQIiT/s1600/SC20120724-085707%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPDJ6R0ySu9kfBHoBHBcwqKyoOr2Z-agdhjRORFGQ7PPnn94VGWQm0P6ejkMjpxfBzRQcNdzEFK3t1ukbWW2-w49WyhKKJdV1QaDxgHEgRl8ewfeHXBI34CNuVRgBOfmNTyUPf1RhUQIiT/s640/SC20120724-085707%5B1%5D.png" width="380" /></span></a></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div>
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div style="text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 5</span></b></div>
<div>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHFGoavsr-61p3VvKKo6Gd9ES-qQPszAMaZt5mS0JAGLK-3YKsJqNw-S7mCL2kaGQ3hVgYdEG6geSWOHez-AWvx-1bj7Tdpy5Dsb9CvKOQb7yE00wAfBPUYx0T5aaf_pjW6YUr0CKtKGy-/s1600/SC20120724-085712%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHFGoavsr-61p3VvKKo6Gd9ES-qQPszAMaZt5mS0JAGLK-3YKsJqNw-S7mCL2kaGQ3hVgYdEG6geSWOHez-AWvx-1bj7Tdpy5Dsb9CvKOQb7yE00wAfBPUYx0T5aaf_pjW6YUr0CKtKGy-/s640/SC20120724-085712%5B1%5D.png" width="383" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 6</span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaayGLHnwbmJ2EwflXri-yW-KySA6jOImdmfTaI_yVqI5QTrAmfLzLpdEJlO2LVRTyahyphenhyphenc2wveeDu3eUgD3k7Zl7l0Tg2mDu8Zs1u9dbGa9caeqQ8jJWga-jcXPxoooWeMbR0zdrdvZU3q/s1600/SC20120724-085716%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaayGLHnwbmJ2EwflXri-yW-KySA6jOImdmfTaI_yVqI5QTrAmfLzLpdEJlO2LVRTyahyphenhyphenc2wveeDu3eUgD3k7Zl7l0Tg2mDu8Zs1u9dbGa9caeqQ8jJWga-jcXPxoooWeMbR0zdrdvZU3q/s640/SC20120724-085716%5B1%5D.png" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;">HomeScreen 7</span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<b><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihVLM6KvmBy4reacopUTgXWscCthjLYLR4YbUeukJnGGBiLAskZEa_O2UH-07r_dgN89Mf2oHxaD5igQ6uifmcRKM6zYqBDg8LbvO-P589HDgmcv_1w1SZKzlbWSLOcC3HPWkqGq0lbGjp/s1600/SC20120724-094511%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihVLM6KvmBy4reacopUTgXWscCthjLYLR4YbUeukJnGGBiLAskZEa_O2UH-07r_dgN89Mf2oHxaD5igQ6uifmcRKM6zYqBDg8LbvO-P589HDgmcv_1w1SZKzlbWSLOcC3HPWkqGq0lbGjp/s640/SC20120724-094511%5B1%5D.png" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><b style="background-color: white;">Applications</b><span style="background-color: white;"> </span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiajebGKq7Nf-6NU_OxfeEAr3xkLXWvVhcIyQuF1w2RBZobLk7u1loLVfgCk0uvbEsdKwbUAOGMvcX81NIs5uUPtemGLHTUE74tV518u3fLiGd4XJLCV5GWZOMQD4ub5PpKjGllqUJP9BPz/s1600/SC20120724-085727%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiajebGKq7Nf-6NU_OxfeEAr3xkLXWvVhcIyQuF1w2RBZobLk7u1loLVfgCk0uvbEsdKwbUAOGMvcX81NIs5uUPtemGLHTUE74tV518u3fLiGd4XJLCV5GWZOMQD4ub5PpKjGllqUJP9BPz/s640/SC20120724-085727%5B1%5D.png" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_MzWDLEtHJuA3Qmc1FO6P1JY_YcK_oe6fbvf_L5PLzzd1xPD4y_FXAPAB2yuWGzQtb6xK9bfej0Fn-B8SWpHZVbl7BHmM_L29SNwybADN_qzwO0CRkJI1BDHRo9IAQi6zwdB0wak5EAQ5/s1600/SC20120724-094612%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_MzWDLEtHJuA3Qmc1FO6P1JY_YcK_oe6fbvf_L5PLzzd1xPD4y_FXAPAB2yuWGzQtb6xK9bfej0Fn-B8SWpHZVbl7BHmM_L29SNwybADN_qzwO0CRkJI1BDHRo9IAQi6zwdB0wak5EAQ5/s640/SC20120724-094612%5B1%5D.png" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhboc_saubYS3KZgQsrrBzeNBSn95etKUcZVqhu2mtkhEQbqYfzfh-VGsWfI6RZh1xt6jWL6SWPgajGg6B-KL2ly_Uuw8aA_AXv7MB8tbKJuzSMlPIIAZHqQc-hK7RelURc7XbfWwjqEuXm/s1600/SC20120724-094618%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhboc_saubYS3KZgQsrrBzeNBSn95etKUcZVqhu2mtkhEQbqYfzfh-VGsWfI6RZh1xt6jWL6SWPgajGg6B-KL2ly_Uuw8aA_AXv7MB8tbKJuzSMlPIIAZHqQc-hK7RelURc7XbfWwjqEuXm/s640/SC20120724-094618%5B1%5D.png" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFp6PLq-KOR_1zTMtFV9mEWpPx6kgPUeP25gWeUK3jtMmg8d81OFJeNS2TfJVrBlZTrNNpfzCAVHfO-jHXhvrmRgDc56h_-SpbFlUL2YwSfiLZ3Jc2GqRMfF2N9Syj52ZHXCFMuNB4QlVV/s1600/SC20120724-094630%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img alt="Foursquare, Opera Mini, Opera Mobile, Voice Recorder, IP Webcam, Brightest Flashlight, Algeo, ColorNote, Compass, Adobe Reader, CamScanner, LinkedIn, Goggles" border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFp6PLq-KOR_1zTMtFV9mEWpPx6kgPUeP25gWeUK3jtMmg8d81OFJeNS2TfJVrBlZTrNNpfzCAVHfO-jHXhvrmRgDc56h_-SpbFlUL2YwSfiLZ3Jc2GqRMfF2N9Syj52ZHXCFMuNB4QlVV/s640/SC20120724-094630%5B1%5D.png" title="" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnlUESgkuRA3ivQSZGHVm600HUJJcdenuhsxYVMV5ZOjRGzMJ_yAUkyEnU23FPSh_AYHEIU5ql2G0ffmuJle2FC7ammkT7G_Iyb4_b54e2AuBrvFnh5y8n21HkGed_XvNJYbdYGtaxOu3f/s1600/SC20120724-094635%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img alt="metal sniffer, AVG Antivirus, ES file Explorer, Evernote, WhatsApp, Bible, EasyMoney, Expense Manager, Dropbox, SKype, Bloomberg" border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnlUESgkuRA3ivQSZGHVm600HUJJcdenuhsxYVMV5ZOjRGzMJ_yAUkyEnU23FPSh_AYHEIU5ql2G0ffmuJle2FC7ammkT7G_Iyb4_b54e2AuBrvFnh5y8n21HkGed_XvNJYbdYGtaxOu3f/s640/SC20120724-094635%5B1%5D.png" title="" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd5hPuMxy-iqblciZrb4SSHm_rnrhYMkN-kzbr6-mXFFnZIR5IdrKx8mf22hCfRwFaMEMf2mDAD29H6ZwvSmdzW6lVIuJGFN4GaWaYZgZfM4t3A3yUKTOefYEUZH_VPtPdtjmf_MBsNnvV/s1600/SC20120724-094642%5B1%5D.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img alt="Economist, Time Mobile, Kobo, SMS Backup+, BBC News, Barcode Scanner, SoundHound, TuneIn Radio, RealPlayer" border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd5hPuMxy-iqblciZrb4SSHm_rnrhYMkN-kzbr6-mXFFnZIR5IdrKx8mf22hCfRwFaMEMf2mDAD29H6ZwvSmdzW6lVIuJGFN4GaWaYZgZfM4t3A3yUKTOefYEUZH_VPtPdtjmf_MBsNnvV/s640/SC20120724-094642%5B1%5D.png" title="" width="380" /></span></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13.333333969116211px;"><span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></td></tr>
</tbody></table>
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEjQ1Y12n5Jz0GbfPeD62drfzDxOVBRxHKz_e_P0VSFHlfRsduDEtUb8kCoJgPCcZ0VfFJJBZNucwR9HhIy5JwULP8kmYBrNyYNCaBcb6A_1DYidm2WsT6HBdPKZKsIF6ENOJLz_A15KKe/s1600/SC20120724-094650%5B1%5D.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: 'Trebuchet MS', sans-serif;"><img alt="twitter" border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEjQ1Y12n5Jz0GbfPeD62drfzDxOVBRxHKz_e_P0VSFHlfRsduDEtUb8kCoJgPCcZ0VfFJJBZNucwR9HhIy5JwULP8kmYBrNyYNCaBcb6A_1DYidm2WsT6HBdPKZKsIF6ENOJLz_A15KKe/s640/SC20120724-094650%5B1%5D.png" title="" width="380" /></span></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: 'Trebuchet MS', sans-serif;">Those are my choice applications, if you are interested in any specific one and would like to know more about that app, just ask me via the comment box below.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: 'Trebuchet MS', sans-serif;"><br /></span></div>
<br class="Apple-interchange-newline" />Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-37422551768680541552011-11-08T23:06:00.000-08:002011-11-10T08:33:13.069-08:00You too can write Unix/Linux scripts<br />
Are you new to the world of Unix/Linux and hitherto have been impressed by the flexibility of the operating system?<br />
Have you been considering scripting as a very cryptic task reserved for those that earn a living making them?<br />
Well, it's time you hear the truth! Linux scripting is extremely easy and you too can start exploiting the benefits they offer.<br />
Without much ado, let's see an example of a script.<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">echo "Hello World"</span><br />
<a name='more'></a><br />
Well that is a full fledged script containing all that is needed in a script, yet it has just two lines.<br />
The first line <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span> is compulsory in every script and the same across all bash scripts. You might ask what is bash? Bash (Bourne again shell) is the default shell (more like windows command prompt) used in almost all Linux distributions. There are other shells like korn, ash, tcsh and zsh, but lets start with the more common bash shell. So what <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span> does is to call up the particular shell you want to use (in our case, bash).<br />
<br />
The second line echo "Hello World" supplies the called up shell with the command echo. echo is a command that works like print in C or C++, printing specified characters on the terminal's display. In our case, it prints the statement Hello World.<br />
<br />
Now to create this script, you can use any text manipulating program you like, but it will be highly advantageous to know how to use vi due to its availability on all Linux distribution.<br />
To create the script using vi, you simply goto the terminal (konsole or command prompt) and after deciding what name to give the script (in this example, I'll use <b>hello.sh</b>), do the following --<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">~$vi hello.sh</span><br />
(You will be taken to the vi program screen, press the Insert button on your keyboard to enter the following)<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">echo "Hello World"</span><br />
(Now press the <b>Esc</b> button, and type <b>wq </b>to save and exit, press <b>Enter</b>)<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGolRe3-8PQiOmgzGE3_-jB77AK4fAvkp0ZhPByIVSl9dIBN94zSXaZVCMbTQLNxhJF1EG_Fo1yAOsw_6diIO7BWYOh1m2qrVEQJKcgZ7Z9CtNKQJ-KLM_52LndA68O_ifK2LbTrwbGg0/s1600/blogshell.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGolRe3-8PQiOmgzGE3_-jB77AK4fAvkp0ZhPByIVSl9dIBN94zSXaZVCMbTQLNxhJF1EG_Fo1yAOsw_6diIO7BWYOh1m2qrVEQJKcgZ7Z9CtNKQJ-KLM_52LndA68O_ifK2LbTrwbGg0/s400/blogshell.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjyHDJ5pOPSih5et73R4P7WDN9EK2SyGRXkjY748n0fVdp_-I9GJNPrZ56vUCY0_7-Dq8j4O4U_IMahdUofdfqMbBziZ3guok6QEEy0s0p7_W-7GOL7YeAkCN4Ig26uU4iGgY8IsBmJs/s1600/blogshell1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQjyHDJ5pOPSih5et73R4P7WDN9EK2SyGRXkjY748n0fVdp_-I9GJNPrZ56vUCY0_7-Dq8j4O4U_IMahdUofdfqMbBziZ3guok6QEEy0s0p7_W-7GOL7YeAkCN4Ig26uU4iGgY8IsBmJs/s400/blogshell1.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
Congratulations! You've just created your first script. Now lets run it.<br />
To run the script, you will need to make the <b>hello.sh</b> file you just created executable, by doing the following<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">~$chmod +x hello.sh</span><br />
Then to run it just do<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">~$./hello.sh</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh9CqsA4BFjDL0UtguxjCCdUoZiMRN2m354JLViV_-PhjQrhSl41AGDhtz0EYxtOrUCQKeemnr1tr7hZyrSLjw3k3f5tCQ4pPycqU0MOWOHPO5um3jjMq_y6S8fgDKyjCfeW7Y7hZ5YZI/s1600/blogshell2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh9CqsA4BFjDL0UtguxjCCdUoZiMRN2m354JLViV_-PhjQrhSl41AGDhtz0EYxtOrUCQKeemnr1tr7hZyrSLjw3k3f5tCQ4pPycqU0MOWOHPO5um3jjMq_y6S8fgDKyjCfeW7Y7hZ5YZI/s400/blogshell2.png" width="400" /></a></div>
<br />
Below are samples of scripts you can try<br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"># This is a comment and and won't be passed as a command to the shell</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"># This script displays the date</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">date</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br /></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"># This script displays who's logged on and his home directory</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">who </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">echo HOME</span><br />
<br />
The following two examples will require an input data (called parameter)<br />
<br />
The scripts will be run like this<br />
<br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">$./welcome Michael</span><br />
<span class="Apple-style-span" style="font-family: Georgia, 'Times New Roman', serif;">$./factorial 10</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br /></span><br />
<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"># This script outputs your name among several other words</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">echo "Hello $1, you are welcome to my website"</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><br /></span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">#!/bin/bash</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"># This script calculate the factorial of any supplied number</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">factorial=1</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">for (( number = 1 ; number <= $1 ; number++ ))</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">do </span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"> factorial=$[ $factorial * $number ]</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">done</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">echo "The factorial of $1 is $factorial"</span><br />
<br />
<br />
<br />
<div>
Feel free to ask any question via the comment box.</div>
<div>
Thanks!</div>
<div>
<br /></div>
<br />Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-75773172351107066612011-07-20T07:34:00.000-07:002011-07-20T07:56:27.075-07:00Google+ on a computer and on android phone, apple's iOS to followFinally, apple approves Google+ app! The <strike>only</strike> issue is, iPod (regardless of the generation) and iPad are not supported, infact I couldn't search out the app on my iPod 4G.<br />
<br />
That aside, in this post I am going to share with you what the Google+ looks like on web via a computer and on android via the android app.<br />
<br />
The snapshots below are of the web (computer).<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCRYo7J-6WgPL1K63oC_PvoUAIGCPE2eGBXAoVWfw5xAbafO06Fsq4JBey48CoA5hFSsecnyhczjSjCG51TrcoBNvifo6PhZPm2aAsSNlrRqvdL3drP01KFM2y9ptu26j9WIko-hi3mXY/s1600/Fullscreen+capture+7202011+21145+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCRYo7J-6WgPL1K63oC_PvoUAIGCPE2eGBXAoVWfw5xAbafO06Fsq4JBey48CoA5hFSsecnyhczjSjCG51TrcoBNvifo6PhZPm2aAsSNlrRqvdL3drP01KFM2y9ptu26j9WIko-hi3mXY/s400/Fullscreen+capture+7202011+21145+PM.bmp" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP_6LRkF1aptKOJXxqcfv6VIpgvNsFFsbMu_z_7-p64tcJ4gfVSMEdZYzKRW6K81DXBeK-j4UGZUuuawFrObScj4w0b9HUf1nFL_BRRrb69Fga-TuH42Tm8HRJMlYil4Vd6xeC7v9Vw8U/s1600/Fullscreen+capture+7202011+21433+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP_6LRkF1aptKOJXxqcfv6VIpgvNsFFsbMu_z_7-p64tcJ4gfVSMEdZYzKRW6K81DXBeK-j4UGZUuuawFrObScj4w0b9HUf1nFL_BRRrb69Fga-TuH42Tm8HRJMlYil4Vd6xeC7v9Vw8U/s400/Fullscreen+capture+7202011+21433+PM.bmp" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYfieO_Nv0ddrclio_LIm4R_zPE01n5Wco5_vt-WGmvEjOO7Q6xs7Ux1S0NvVf4FUUf7C-ApgIHs8Bvp1ypJUY0JrC9YrH1xk5en46VphbP5f9ow8JglibcsXTXHVbXWzb1FzRCHTQ0JE/s1600/Fullscreen+capture+7202011+21515+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYfieO_Nv0ddrclio_LIm4R_zPE01n5Wco5_vt-WGmvEjOO7Q6xs7Ux1S0NvVf4FUUf7C-ApgIHs8Bvp1ypJUY0JrC9YrH1xk5en46VphbP5f9ow8JglibcsXTXHVbXWzb1FzRCHTQ0JE/s400/Fullscreen+capture+7202011+21515+PM.bmp" width="400" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh544py_i5elpgWLqAtbvGePdIdQGJXC7mISM3dDS5CvCveCwFRYjUKfZyF_rH8Qp3kMT8rPn2GQMaX53xN6cbsTLwgleIAF2B6NNZJg2IBGyAqGgLkKymY7e3kT4mP1DoM_URDQ2sv4tM/s1600/Fullscreen+capture+7202011+21603+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh544py_i5elpgWLqAtbvGePdIdQGJXC7mISM3dDS5CvCveCwFRYjUKfZyF_rH8Qp3kMT8rPn2GQMaX53xN6cbsTLwgleIAF2B6NNZJg2IBGyAqGgLkKymY7e3kT4mP1DoM_URDQ2sv4tM/s400/Fullscreen+capture+7202011+21603+PM.bmp" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WgNCPnIhzAp-XUU4XBAKOlMh4OQ127-17zBD3-cWbO7dSGp9mj42zwzayjussJkz8kbNca8POIwNIsof79UyVCQswsOZtDMnKexhrCq1xj6B1LoWEh5rYT3jNwMikFz6pII-G00LvRc/s1600/Fullscreen+capture+7202011+21536+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6WgNCPnIhzAp-XUU4XBAKOlMh4OQ127-17zBD3-cWbO7dSGp9mj42zwzayjussJkz8kbNca8POIwNIsof79UyVCQswsOZtDMnKexhrCq1xj6B1LoWEh5rYT3jNwMikFz6pII-G00LvRc/s400/Fullscreen+capture+7202011+21536+PM.bmp" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">While below are the screenshots from the Google+ android app</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzeCl86MY96fS9DiZLk5Ht98OOddq4DDIy3fs22mASzYJS0nehGANCjiozmoyUZ27qiK6B_RzJndL3sy8ubZefVUjRhw5jVHvF5LO76P7wPF86TRjuAfCLAostZlQnB9a0X1wd_fpdDl0/s1600/screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzeCl86MY96fS9DiZLk5Ht98OOddq4DDIy3fs22mASzYJS0nehGANCjiozmoyUZ27qiK6B_RzJndL3sy8ubZefVUjRhw5jVHvF5LO76P7wPF86TRjuAfCLAostZlQnB9a0X1wd_fpdDl0/s400/screenshot.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0mNjOT74yYAoJ1jfszZ1m4ni1gayAubZOoyPWq7m88hMOGigHL4m_RddWomo-gBD3lgbUZaAq8F5EIYLRllSyVWb6pdhHHKqMAjLnIkgNDks9vphaO_XvundZLrxyQbMYKCon6TiY0EQ/s1600/screenshot+%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0mNjOT74yYAoJ1jfszZ1m4ni1gayAubZOoyPWq7m88hMOGigHL4m_RddWomo-gBD3lgbUZaAq8F5EIYLRllSyVWb6pdhHHKqMAjLnIkgNDks9vphaO_XvundZLrxyQbMYKCon6TiY0EQ/s400/screenshot+%25281%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAy6yfiu33Ws5jXTRqQo8_pFCw66U8_4ms8Gk3Z7krsIm0YHGqbYYdyDCqH8zNSv3u2fuVRcZtlzjFF1Kqm4yFJgQemsVGmOSlbjyKW7rinpd64Qvn6W60LJWlOX41Gfkuz4XIJ24oJkI/s1600/screenshot+%25282%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAy6yfiu33Ws5jXTRqQo8_pFCw66U8_4ms8Gk3Z7krsIm0YHGqbYYdyDCqH8zNSv3u2fuVRcZtlzjFF1Kqm4yFJgQemsVGmOSlbjyKW7rinpd64Qvn6W60LJWlOX41Gfkuz4XIJ24oJkI/s400/screenshot+%25282%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWtvtsX0h2c_Oj2wN2WMbhHQHhZiJihr0kViLCcqjDE2h4hlwk6PFOW-8627CBzLXzr7LipeGAzcgC3-B5plsI61Of4LFO-7NOnFCn5c4U0OUJIM0MnR2mOLSEnXNHplQ05F7m0szl6c/s1600/screenshot+%25283%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLWtvtsX0h2c_Oj2wN2WMbhHQHhZiJihr0kViLCcqjDE2h4hlwk6PFOW-8627CBzLXzr7LipeGAzcgC3-B5plsI61Of4LFO-7NOnFCn5c4U0OUJIM0MnR2mOLSEnXNHplQ05F7m0szl6c/s400/screenshot+%25283%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGkYcEdIL7GUiiitA0jRBWZ50vyeoQO8E9433MljCZmbTh3_p-82cIYjtWze-eWPpQVbYA3ZReepeR6MMSKZ1g1dthwvzBbDXd1au_igHi0wlkPiIyIwyoMeSbmKdTigYtJJYVFKa-Ojw/s1600/screenshot+%25284%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGkYcEdIL7GUiiitA0jRBWZ50vyeoQO8E9433MljCZmbTh3_p-82cIYjtWze-eWPpQVbYA3ZReepeR6MMSKZ1g1dthwvzBbDXd1au_igHi0wlkPiIyIwyoMeSbmKdTigYtJJYVFKa-Ojw/s400/screenshot+%25284%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNxLmZvyf_-kdvcocHCkZRopCNQSK0z5KA3SfLL-OHUMUQLhRuoDbhmUD7GtYhXhgNVuwcSkAeB-rxr6QfgjtQn2CS1nLPp5FpGA4jEFcM5yiLxuJjuDtKpXH0O7_DEm9Zz0QBpyHBmNY/s1600/screenshot+%25285%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNxLmZvyf_-kdvcocHCkZRopCNQSK0z5KA3SfLL-OHUMUQLhRuoDbhmUD7GtYhXhgNVuwcSkAeB-rxr6QfgjtQn2CS1nLPp5FpGA4jEFcM5yiLxuJjuDtKpXH0O7_DEm9Zz0QBpyHBmNY/s400/screenshot+%25285%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj1YkBjbkLvtLY2ECwLhQTpnGt4QjM08XOH0R22huCPiiG1mRYeLkj-xv5aJAQiyP9tjH8jkX4ZaNdbWYAX36v7C2KqMXmZlUxoTtA9mQiQD8THwbBZyTj_QmIRw78l3Cpy2117FFuWf4/s1600/screenshot+%25286%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj1YkBjbkLvtLY2ECwLhQTpnGt4QjM08XOH0R22huCPiiG1mRYeLkj-xv5aJAQiyP9tjH8jkX4ZaNdbWYAX36v7C2KqMXmZlUxoTtA9mQiQD8THwbBZyTj_QmIRw78l3Cpy2117FFuWf4/s400/screenshot+%25286%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">I would have loved to provide you the iOS screenshots, but no problem, you can get some here <a href="http://itunes.apple.com/us/app/google/id447119634?ls=1&mt=8">http://itunes.apple.com/us/app/google/id447119634?ls=1&mt=8</a> </div><div class="separator" style="clear: both; text-align: left;">And to install it on a jailbroken iPod, just check here <a href="https://www.facebook.com/G00GLEPLUS?sk=wall">https://www.facebook.com/G00GLEPLUS</a> </div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">One last thing, if you live outside US, you won't be able to download the Google+ app from the android market (just like that). There is a workaround thanks to <span class="Apple-style-span" style="color: #444444; font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 12px; font-weight: bold; line-height: 22px;"> </span><span class="Apple-style-span" style="color: #444444; font-family: Arial, Helvetica, Tahoma, sans-serif; font-size: 12px; line-height: 22px;"><span class="author vcard"><span class="fn"><a href="http://starblogger.net/install-google-plus-for-android-outside-us.html" rel="author" style="color: #215a6f; font-weight: bold; text-decoration: underline;" title="Posts by Daniel Kopetski">Daniel Kopetski</a><b> </b></span></span></span>and an app called MarketEnabler. Install the app (note that it requires your<a href="http://linuxforpro.blogspot.com/2010/09/how-i-flashed-my-htc-dream-t-mobile-g1.html"> phone to be rooted</a>).</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiShIsbKnqkW6ElSm6dWMIOMlS_UwIwFSkI5VuoGpagFtSBEjcdVgGjY6A_lKRyrT9W1Wzhx5IqbvzzHO8kj_MWc1BdEYWG8gfz6eXxg-53iyW4p8ibnPRW6NfZWnzk7zXDeRhcEipDEM/s1600/screenshot+%25287%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiShIsbKnqkW6ElSm6dWMIOMlS_UwIwFSkI5VuoGpagFtSBEjcdVgGjY6A_lKRyrT9W1Wzhx5IqbvzzHO8kj_MWc1BdEYWG8gfz6eXxg-53iyW4p8ibnPRW6NfZWnzk7zXDeRhcEipDEM/s400/screenshot+%25287%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: left;">Launch it.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Utk1GCkswlsU-ryN2BIHa6fbBxjkXpdhwPjXXc-Jq3YuSqK1VhdSDgf4DLxybKRc0ji46SdIrf3HTjHWqs1rhvVscLSASqED_aFGwex8u2x8EHp2SnB0kE7sQZTpVPTRRK5S0VYWHoI/s1600/screenshot+%25288%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5Utk1GCkswlsU-ryN2BIHa6fbBxjkXpdhwPjXXc-Jq3YuSqK1VhdSDgf4DLxybKRc0ji46SdIrf3HTjHWqs1rhvVscLSASqED_aFGwex8u2x8EHp2SnB0kE7sQZTpVPTRRK5S0VYWHoI/s400/screenshot+%25288%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div>Select <b>Settings list </b><br />
<b><br />
</b><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5PBGJ4rqk73blPJ9m416aTSPL1SZY7t0HuGVjWpDcNJ8EC-sks-Yg7Ta1ryca0eJpScIybuvg5MIAD6SckPYKotPp82WlVgwdCT0h9anhD6UA-_c-UR-YL3q_dbVI64JS4XwHB7rFyt0/s1600/screenshot+%25289%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5PBGJ4rqk73blPJ9m416aTSPL1SZY7t0HuGVjWpDcNJ8EC-sks-Yg7Ta1ryca0eJpScIybuvg5MIAD6SckPYKotPp82WlVgwdCT0h9anhD6UA-_c-UR-YL3q_dbVI64JS4XwHB7rFyt0/s400/screenshot+%25289%2529.png" width="400" /></a></div><b><br />
</b><br />
Select the T-mobile option for 2 to 3 seconds till a prompt shows up. And <b>fake this provider now</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNrhYGXPgIGkkPInT9_0sO-xTNq16gvLC4hTmaq3iR6GOx0r7BZ6OQkIFe6xpB9vYcRMMcnVNMVktOzmjbjCHQaV2sjCSFRgbKHqV82jKJ67Hiq4KS2PRlj5wvUJCocozYN32twBKeB90/s1600/screenshot+%252810%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNrhYGXPgIGkkPInT9_0sO-xTNq16gvLC4hTmaq3iR6GOx0r7BZ6OQkIFe6xpB9vYcRMMcnVNMVktOzmjbjCHQaV2sjCSFRgbKHqV82jKJ67Hiq4KS2PRlj5wvUJCocozYN32twBKeB90/s400/screenshot+%252810%2529.png" width="400" /></a></div><br />
Launch the Market app and search for<b> google+</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipuKl2miBGfWZEMFHMH6uJgao9BJHbMoxqv9PUjGwJny2BOcCVRxhSSG_qmmWiAMIexdToxYvs0JHdwE1JANtEeHntsXxmBRsnQUFf2Nnc2GROe1dJZax0W8gtLxqEx4vr9-pJ6tlmHGo/s1600/screenshot+%252811%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipuKl2miBGfWZEMFHMH6uJgao9BJHbMoxqv9PUjGwJny2BOcCVRxhSSG_qmmWiAMIexdToxYvs0JHdwE1JANtEeHntsXxmBRsnQUFf2Nnc2GROe1dJZax0W8gtLxqEx4vr9-pJ6tlmHGo/s400/screenshot+%252811%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div>The Market will now show you a result like the one below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEVAEDszLT2PxupDxnVbtgvkV2XkbC4s2pjBJdDCvSds8jdX6n1FkI9zChY-p0Z0haMd5dRlPDiCIhU6iXrc98MiYJ7W4diXMCKSj4QzFIXcCvOcqcTeBVJHqveOp3xsV1YlfC8DLkzQw/s1600/screenshot+%252812%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEVAEDszLT2PxupDxnVbtgvkV2XkbC4s2pjBJdDCvSds8jdX6n1FkI9zChY-p0Z0haMd5dRlPDiCIhU6iXrc98MiYJ7W4diXMCKSj4QzFIXcCvOcqcTeBVJHqveOp3xsV1YlfC8DLkzQw/s400/screenshot+%252812%2529.png" width="400" /></a></div><b><br />
</b><br />
<b><br />
</b><br />
Install and start circling!Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-78350789934985695772011-06-15T03:29:00.000-07:002011-06-30T04:16:53.991-07:00Getting the best of a new ROM for your rooted android phoneLast year I made a post on making your <a href="http://linuxforpro.blogspot.com/2010/10/how-to-make-your-cyanogen-modded-g1.html">newly rooted phone speedier</a>. Well, I have just discovered an equally novel way of getting the best out of a new ROM, be it you are upgrading or installing the ROM for the first time.<br />
<br />
Since this post will have loads of images, I will go straight to the crust. The whole idea behind this post is hinged on the fact that preserving data and system settings across ROMs makes the phone oftentimes perform less speedy than on the former ROM, even though you just did an upgrade. And that is what I discovered when I upgraded from CyanogenMod 6.0 to CyanogenMod 6.1, when I preserved the system settings the phone was annoyingly sluggish, but when I wiped the system settings (a factory reset) the phone was amazingly speedy. In (near) fact, the homescreen scrolls before I actually swipe! But in this post I will teach you how to factory reset your phone to get the best out of the new ROM and yet not lose a single system/user data, not even a last call record!<br />
<br />
As is my usual (self-inconvenienting) habit, I will start from the basics.<br />
<br />
<b>STEP 1</b><br />
You are going to install two free softwares from the android market, they are <b>Titanium Backup root</b> an<b>d MyBackup Root</b>.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxFiWEfIQl-VZBKSYtu5apMAI_cdTJLe3adg1LJn33RL-MdlU19WUQAo39FmkCToSr7tQejZSjQL2JlRq3NHJmjkHXsPqJ1uBrduXWAyeonIuFPQfqnrDDDrfZftxDvnyoe8gMdIo4MZA/s1600/screenshot+%252815%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxFiWEfIQl-VZBKSYtu5apMAI_cdTJLe3adg1LJn33RL-MdlU19WUQAo39FmkCToSr7tQejZSjQL2JlRq3NHJmjkHXsPqJ1uBrduXWAyeonIuFPQfqnrDDDrfZftxDvnyoe8gMdIo4MZA/s400/screenshot+%252815%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit0R6dmj7lfTKp9rGZ_WPluFadZ4ii8mNdFTYoTzi-pulTPSdFwoyVyJ9zPw1BrUJ1p4dRkTgcoq9aiK4snxvbPvCNdFdsouJIey3uXqzVqyr-jIRSlDKg5qDdazBAcqBTvvN_PluKY8g/s1600/screenshot+%25287%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit0R6dmj7lfTKp9rGZ_WPluFadZ4ii8mNdFTYoTzi-pulTPSdFwoyVyJ9zPw1BrUJ1p4dRkTgcoq9aiK4snxvbPvCNdFdsouJIey3uXqzVqyr-jIRSlDKg5qDdazBAcqBTvvN_PluKY8g/s400/screenshot+%25287%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><b>STEP 2</b></div><div class="separator" style="clear: both; text-align: left;">Run the MyBackup Root, follow the screenshots below. Don't bother backing up Applications and Media. Titanium will do the applications backup and as for your media, they are as safe as your SD card. Note that your phone must be rooted (if you don't know, then it isn't)</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9fVtYMsCnk-TklHCcKWq17PBr24RD71EWArUiSX87ZvmDWzpRoGLWaWuq21B4RPXXvVjWSgt4Xt3UMLAeD8K7bnApjz0HCofWvunXpHdUjZCwtum1i39pZpDaybMhwwih8BJtGe_Sx4E/s1600/screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9fVtYMsCnk-TklHCcKWq17PBr24RD71EWArUiSX87ZvmDWzpRoGLWaWuq21B4RPXXvVjWSgt4Xt3UMLAeD8K7bnApjz0HCofWvunXpHdUjZCwtum1i39pZpDaybMhwwih8BJtGe_Sx4E/s400/screenshot.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiexwJo9fINPjBN82WNt9-106KyZNd2PYgCTMLWEwzyudY7pTLlknWUsm4oh9Jd0MSxLJrfRJxQcreyrj_Q4Ngn8sde86LLqF7QNK9xunNmIVWBjBhfrz2H94DMATzMFLWLA5xRJH1xFIQ/s1600/screenshot+%25281%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiexwJo9fINPjBN82WNt9-106KyZNd2PYgCTMLWEwzyudY7pTLlknWUsm4oh9Jd0MSxLJrfRJxQcreyrj_Q4Ngn8sde86LLqF7QNK9xunNmIVWBjBhfrz2H94DMATzMFLWLA5xRJH1xFIQ/s400/screenshot+%25281%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRHyjW-1ifCVP2L5Oc8qLPz2sM_hRMWBtIRE6g7KmPnj8YoPdKvZ5dOTapXHMFrjFksVfq78wO6C3sQfkYC05pbbmqy513HfmsO4CmRgK-p2rfO-CaAIwFUvT2BsKuDw34-CT9L9a_EyQ/s1600/screenshot+%25283%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRHyjW-1ifCVP2L5Oc8qLPz2sM_hRMWBtIRE6g7KmPnj8YoPdKvZ5dOTapXHMFrjFksVfq78wO6C3sQfkYC05pbbmqy513HfmsO4CmRgK-p2rfO-CaAIwFUvT2BsKuDw34-CT9L9a_EyQ/s400/screenshot+%25283%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaC95GDh3LTDmDowQfa_aoWMIwbnLAesz9dFnqSJMISvQm2EBPfyapTzpTNcEjcWxqr9qTDf3PeUHLi87csmZG2PhYggF29RQNYAbaL2Gm9L43GYTvyeXugqA_1cRxxmzNSBnj9Akxwu0/s1600/screenshot+%25284%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaC95GDh3LTDmDowQfa_aoWMIwbnLAesz9dFnqSJMISvQm2EBPfyapTzpTNcEjcWxqr9qTDf3PeUHLi87csmZG2PhYggF29RQNYAbaL2Gm9L43GYTvyeXugqA_1cRxxmzNSBnj9Akxwu0/s400/screenshot+%25284%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Tick as many as all)</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0KpOY548MquJfKta5Zyw8NtM_o4gKOIRNT6hcUeZfbZukPygdZa1_56aVeUJI58U-mjLJPF5Q7aLtyDiZ681WeVX-ixpnsWi51NGLMXzRG2zK6nu2Mfg8g40qQLtgnUuj8R61Kp2KTQ/s1600/screenshot+%25285%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0KpOY548MquJfKta5Zyw8NtM_o4gKOIRNT6hcUeZfbZukPygdZa1_56aVeUJI58U-mjLJPF5Q7aLtyDiZ681WeVX-ixpnsWi51NGLMXzRG2zK6nu2Mfg8g40qQLtgnUuj8R61Kp2KTQ/s400/screenshot+%25285%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3AhzhO7u-P9WOOrEaZ50oDp3dMZS7XVPldQYlgZIfLH8f53IxYs2j8UAycNoEdrv_Cz0WXnt9cQyaunHX14_bESrFBo5WI2c_Pvk-Wm-BZ8lkW5zbR-V6427r9JH9Vb6ZdrmKKWPbh4M/s1600/screenshot+%25286%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3AhzhO7u-P9WOOrEaZ50oDp3dMZS7XVPldQYlgZIfLH8f53IxYs2j8UAycNoEdrv_Cz0WXnt9cQyaunHX14_bESrFBo5WI2c_Pvk-Wm-BZ8lkW5zbR-V6427r9JH9Vb6ZdrmKKWPbh4M/s400/screenshot+%25286%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><b>STEP 3</b></div><div class="separator" style="clear: both; text-align: left;">Run the Titanium Backup Root, again follow the screen shots below to backup all system and user apps including their data/settings.</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBhfrddMTLgJjGZNkCrC2GVciFKHokMCZ5yijjJmc-BgZcBwhegeVNRK74z208aLK9-Oyl-dRNYuPp1o0UPDgSLkx1IZb66MBSTlVuPAaWG-6-cHiYvBl1a1UPzVMaV3eeiinPx9FV7l0/s1600/screenshot+%252816%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBhfrddMTLgJjGZNkCrC2GVciFKHokMCZ5yijjJmc-BgZcBwhegeVNRK74z208aLK9-Oyl-dRNYuPp1o0UPDgSLkx1IZb66MBSTlVuPAaWG-6-cHiYvBl1a1UPzVMaV3eeiinPx9FV7l0/s400/screenshot+%252816%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikaILZD8eYmMINpPbGHWbmOy4Vu2Q2IBczSHck3KtoyjV5s4CUkET87JGRosuTdVQfiI_xgeh60o9PSdVuZznHS5XMSR63UNKrXDT7CGwAoBMvydDN_nsAn49UYeEOzEAAGlDYQNEtVDs/s1600/screenshot+%252817%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikaILZD8eYmMINpPbGHWbmOy4Vu2Q2IBczSHck3KtoyjV5s4CUkET87JGRosuTdVQfiI_xgeh60o9PSdVuZznHS5XMSR63UNKrXDT7CGwAoBMvydDN_nsAn49UYeEOzEAAGlDYQNEtVDs/s400/screenshot+%252817%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Press the <b>Menu</b> button to see the options above)</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqzEdgB4_5-Jo7BN5TG2z0hIjebXwdt3S8Z_OL8PtU-DsILF7B8PmMi2jhsoBmxp05UkknY1oih9C-yvEPBuQfeKujasld7FukU_7MvOhWiKnZ9gFph6Os06XLZZ1hFDNvLFy-OG0imA0/s1600/screenshot+%252818%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqzEdgB4_5-Jo7BN5TG2z0hIjebXwdt3S8Z_OL8PtU-DsILF7B8PmMi2jhsoBmxp05UkknY1oih9C-yvEPBuQfeKujasld7FukU_7MvOhWiKnZ9gFph6Os06XLZZ1hFDNvLFy-OG0imA0/s400/screenshot+%252818%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJBLc1t12yOsmZAcI7ZCexIsUf_C7Gl3pcmCGk4Q-cjY-v9kdzwr6lAn6CAi6KLHTnrUnbbub88dilk8CzDIcJEpMf3ri9t9VOTfwlulXvBrSYkPOiegqR0Ng4n3F1EHkPZ1lzzBu2ECM/s1600/screenshot+%252819%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJBLc1t12yOsmZAcI7ZCexIsUf_C7Gl3pcmCGk4Q-cjY-v9kdzwr6lAn6CAi6KLHTnrUnbbub88dilk8CzDIcJEpMf3ri9t9VOTfwlulXvBrSYkPOiegqR0Ng4n3F1EHkPZ1lzzBu2ECM/s400/screenshot+%252819%2529.png" width="400" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><b>STEP 4</b></div><div class="separator" style="clear: both; text-align: left;">I'll assume that you already have the new ROM copied unto your SD card. So reboot into recovery (if you don't know how, just shutdown and when the phone is off, press the power button + home button). </div><div class="separator" style="clear: both; text-align: left;"><b>Do a Nandroid backup! </b>(You will see the option on the first screen)</div><div class="separator" style="clear: both; text-align: left;">Follow the following screen shots to wipe the<b> system and data settings</b>, <b>wipe cache</b> and <b>wipe dalvik cache</b>. Wiping the caches do not have any possible adverse effect on the phone, in fact it is recommended to wipe them often as it releases more system memory for better phone performance (removes junk data from system memory).</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsd4KSyG8go78oAg6DCTyGdNFRJZMwHlQytFcb_ioE7PSN7Oew959dIMfGFUV-RNiK7-L6CmxvZJfsm4glWshjPMxXcQSgh8Z2_Lsr9BrCmh2lDulI7wt3ydlBHKtqFKgt7xQnJicAq54/s1600/_IGP0492.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsd4KSyG8go78oAg6DCTyGdNFRJZMwHlQytFcb_ioE7PSN7Oew959dIMfGFUV-RNiK7-L6CmxvZJfsm4glWshjPMxXcQSgh8Z2_Lsr9BrCmh2lDulI7wt3ydlBHKtqFKgt7xQnJicAq54/s400/_IGP0492.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Scroll to <b>Wipe</b>, which is the sixth option)</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvoAhyyrkCtTCFk7iB9vXIaGMQTEaShCW0tIyw0RbLJBxu7dSO4Os9Nucwvw_ze8qnaQf96GvNKBKolg2hk108tkMEUjy4XkA_w-AryWHJKMqK9idgEK3kZGgJIVou8s6LHdM3MUI3izo/s1600/_IGP0493.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvoAhyyrkCtTCFk7iB9vXIaGMQTEaShCW0tIyw0RbLJBxu7dSO4Os9Nucwvw_ze8qnaQf96GvNKBKolg2hk108tkMEUjy4XkA_w-AryWHJKMqK9idgEK3kZGgJIVou8s6LHdM3MUI3izo/s400/_IGP0493.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Wipe data/system, reset)</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPspYifHHXc27RG65QElukx2ZxApw_HhF2Vm3OWPVR-OOp3i02vvFT1KDllkXxVOj4b3j15hug8lo0bGJ8wO3ydRkc10NZl0EprOQW0lbb-C1QD30jn35m6JJyzamk2fJiV1RPgU3iMuQ/s1600/_IGP0494.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPspYifHHXc27RG65QElukx2ZxApw_HhF2Vm3OWPVR-OOp3i02vvFT1KDllkXxVOj4b3j15hug8lo0bGJ8wO3ydRkc10NZl0EprOQW0lbb-C1QD30jn35m6JJyzamk2fJiV1RPgU3iMuQ/s400/_IGP0494.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Wipe Cache)</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIS-ctkQRv4TxmJprLDNTDiBuR0jCDT_wL6TMqnfZnWCW3EPAeGi8Gy0DdEKHwZSeVs6H8IsvPWESeILrN304l6ivjZ7yUw3j64EuEHCH8JL3e4pDZFrOZ4d4I2jaMiI80gd3LwqfQfZo/s1600/_IGP0495.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIS-ctkQRv4TxmJprLDNTDiBuR0jCDT_wL6TMqnfZnWCW3EPAeGi8Gy0DdEKHwZSeVs6H8IsvPWESeILrN304l6ivjZ7yUw3j64EuEHCH8JL3e4pDZFrOZ4d4I2jaMiI80gd3LwqfQfZo/s400/_IGP0495.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Wipe Dalvik cache)</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBnKI0btG-hVQyQAoniEtWiTPeHIERvEnpi3LVeYjAL-zEN9h5X6NH2mXGN5rjK7y3BKMsgYSVp4ZeUOZv0al2QXIYD4QOlB9eG_arHp4opJ-VZo2g1zPF-1HrlckSB7xh5wTexri_0Y/s1600/_IGP0498.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUBnKI0btG-hVQyQAoniEtWiTPeHIERvEnpi3LVeYjAL-zEN9h5X6NH2mXGN5rjK7y3BKMsgYSVp4ZeUOZv0al2QXIYD4QOlB9eG_arHp4opJ-VZo2g1zPF-1HrlckSB7xh5wTexri_0Y/s400/_IGP0498.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bty_viodt7eN-BwMWk2ov-Eos_wZj9TwY5gwkYgLRQOlxixvcJs2b76IQB-phkA6lDcTga_I8l71702z3SB7yTz5knzoij5KHwKPnJEJksA8aUO8NS4uW7R4b3J23Hphq8C1SKAiqv0/s1600/_IGP0499.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bty_viodt7eN-BwMWk2ov-Eos_wZj9TwY5gwkYgLRQOlxixvcJs2b76IQB-phkA6lDcTga_I8l71702z3SB7yTz5knzoij5KHwKPnJEJksA8aUO8NS4uW7R4b3J23Hphq8C1SKAiqv0/s400/_IGP0499.JPG" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Flash the new ROM onto the phone)</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><b>STEP 5</b><br />
Again, you will go through the android market to install <b>Titanium Backup root</b>. Then run it to install all your user apps that you had on the previous ROM (which are already backed up unto your SD card). As soon as you run the Titanium Backup Root, it automatically detects all the apps you backed up in the previous ROM. Just select those you want to install on the new ROM and restore the <b>app + data</b> (though one at a time). If you want to restore all, just go through the batch tool and <b>Restore all apps with data</b>.<br />
Below are the screenshots, scroll down to see that for complete apps restore.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh34bFanVZwgWP9TEw9AXhYIsStTLpF52PcRdCCvwco_2bgPmkeOaMjO7vbuNtw0fKq74h1wxoP2lwKH3LX5gONed_-TgllzVRs5nQ9un-ndPuoeb4FEKkEf7Xi4MkQLrUYw2kJyFgOs3w/s1600/screenshot+%252821%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh34bFanVZwgWP9TEw9AXhYIsStTLpF52PcRdCCvwco_2bgPmkeOaMjO7vbuNtw0fKq74h1wxoP2lwKH3LX5gONed_-TgllzVRs5nQ9un-ndPuoeb4FEKkEf7Xi4MkQLrUYw2kJyFgOs3w/s400/screenshot+%252821%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLd-NYDiTxPi_rwfYKhrP5QMKvFP5RFJFc53QNU_49QyKkIrZ-umWL48AISSBRbTApOiDiLJUP4jONF3iiaQBNbwtS0iI0P3jfeiI5kTu0PxPHpW1OPWjoF5oCqopKj_SaKFsXDP0nxH8/s1600/screenshot+%252828%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLd-NYDiTxPi_rwfYKhrP5QMKvFP5RFJFc53QNU_49QyKkIrZ-umWL48AISSBRbTApOiDiLJUP4jONF3iiaQBNbwtS0iI0P3jfeiI5kTu0PxPHpW1OPWjoF5oCqopKj_SaKFsXDP0nxH8/s400/screenshot+%252828%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKbqe2V1PCYSwuFQ_nUsNhdi2Z0oPS0ZBeNMRb9cKipyg58BxrRLMbKZ77xhYPw1z3-osKc2gBHdHIqSnZjaGSWFK7bdkuAD6diZuMHayIL86Fnt4gPZ_97cQdUUyHjzag6GxmxlxUPF8/s1600/screenshot+%252829%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKbqe2V1PCYSwuFQ_nUsNhdi2Z0oPS0ZBeNMRb9cKipyg58BxrRLMbKZ77xhYPw1z3-osKc2gBHdHIqSnZjaGSWFK7bdkuAD6diZuMHayIL86Fnt4gPZ_97cQdUUyHjzag6GxmxlxUPF8/s400/screenshot+%252829%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;">(Scroll to the app you wish to restore and touch it)</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAhIhJRNEYTlrjy1dYhp84sp6ogroclr3TAs2mntFLhaia6gqbAdvU7i4Yoe5PuTJaXrwFwnLbJEhs5sVGe8-W3Qzxurcab4C9prqss7RWbpUB_ur_yj2461OwXJq1HMqgDMN4ZR57x30/s1600/screenshot+%252822%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAhIhJRNEYTlrjy1dYhp84sp6ogroclr3TAs2mntFLhaia6gqbAdvU7i4Yoe5PuTJaXrwFwnLbJEhs5sVGe8-W3Qzxurcab4C9prqss7RWbpUB_ur_yj2461OwXJq1HMqgDMN4ZR57x30/s400/screenshot+%252822%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRZvTMrpm60VHewkdT3HupGpFTKIEG8nSDDVM7Yu_wA2syPvDo1PluRM-FMXLH2SG9ByacstkZ4F5PHmKs7TupVEMl-m_uimjRGeuHDGS38B-YD48KUq_Swih5aRbqtz5zBFeKqWq2l_w/s1600/screenshot+%252823%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRZvTMrpm60VHewkdT3HupGpFTKIEG8nSDDVM7Yu_wA2syPvDo1PluRM-FMXLH2SG9ByacstkZ4F5PHmKs7TupVEMl-m_uimjRGeuHDGS38B-YD48KUq_Swih5aRbqtz5zBFeKqWq2l_w/s400/screenshot+%252823%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX06be-wKjncxnEb_7um5cpdathrRaoe4Lig5FZcvTs8AIDqag4oXPtc7UZWiHhyp02KN6DB9Ffbs4IE7ATE72OrsKqcPCz68jpfjb1otPkI96HrQhvjhd_RL6qGKyIGXjNeMwr4khhoM/s1600/screenshot+%252825%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX06be-wKjncxnEb_7um5cpdathrRaoe4Lig5FZcvTs8AIDqag4oXPtc7UZWiHhyp02KN6DB9Ffbs4IE7ATE72OrsKqcPCz68jpfjb1otPkI96HrQhvjhd_RL6qGKyIGXjNeMwr4khhoM/s400/screenshot+%252825%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjggKicbV8WjmAPb4qChbFny1EhA8VtyFKfqVYZcbNaO83CGWwpIct8QNzDqi7RJ-YvYnuY_dK1blJGDddYoGkuDUBX1FjP9rCMDd6opyEr24zchS9Z3G_SRB5APZcR9Kdc151bc1C6N0A/s1600/screenshot+%252827%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjggKicbV8WjmAPb4qChbFny1EhA8VtyFKfqVYZcbNaO83CGWwpIct8QNzDqi7RJ-YvYnuY_dK1blJGDddYoGkuDUBX1FjP9rCMDd6opyEr24zchS9Z3G_SRB5APZcR9Kdc151bc1C6N0A/s400/screenshot+%252827%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5peUVPYi2rEofuWJBmSgSTbhk8osNMELjdPdCOx6arjKSE71wHod3o1hioJ_0BXyE_YY9SLob7jeFPvtxPQcX7s_8Avbg4b4gVPtUUOKOQ55GyK-5neX1Z_MD8OyMq2qxbBYCGa6juDM/s1600/screenshot+%252817%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5peUVPYi2rEofuWJBmSgSTbhk8osNMELjdPdCOx6arjKSE71wHod3o1hioJ_0BXyE_YY9SLob7jeFPvtxPQcX7s_8Avbg4b4gVPtUUOKOQ55GyK-5neX1Z_MD8OyMq2qxbBYCGa6juDM/s400/screenshot+%252817%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqQ0xen_eJcWBnsikk0GzH1hEMv_1tvwZ2_TqQXTe0P_y1_Ew1KW_icDPiWI3T8uOUwEqZxHsuAr4ndP4MDdKZMBftPcH53PBwJZUM2RBFHFg0pMWsw8vhFW-VuNTW59R6wQC1BO81LFc/s1600/screenshot+%252820%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqQ0xen_eJcWBnsikk0GzH1hEMv_1tvwZ2_TqQXTe0P_y1_Ew1KW_icDPiWI3T8uOUwEqZxHsuAr4ndP4MDdKZMBftPcH53PBwJZUM2RBFHFg0pMWsw8vhFW-VuNTW59R6wQC1BO81LFc/s400/screenshot+%252820%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><b><br />
</b><br />
<b>STEP 6</b><br />
You must have (re)installed My Backup Root app, so run it and restore your phone data (contacts, call records, SMS, MMS etc).<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqzp7WTHetNckQYyAGYHfTes5xCrrD1RvHOthSLaIbvayORZd65h-edW_hybMkC3aHmeVEDrMdug3j_bauKKAOxFyDubcinbqwKIyaT_V10RgtrVxJ6rKJt8JHKLOxxkbjQM0R3tGcVMk/s1600/screenshot+%25288%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqzp7WTHetNckQYyAGYHfTes5xCrrD1RvHOthSLaIbvayORZd65h-edW_hybMkC3aHmeVEDrMdug3j_bauKKAOxFyDubcinbqwKIyaT_V10RgtrVxJ6rKJt8JHKLOxxkbjQM0R3tGcVMk/s400/screenshot+%25288%2529.png" width="400" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA7yHTTvJ2h1PjZt5A7_2qEMz-7YduS9u4gV33OIesxYpAfaIqBDLbJVoHKX8eMMfMEtI0GhyphenhyphenLzmw232eA5zCPbnHLjjD2J_iwp3Jhtg3dVmTAu6-Y3ZX74-SiOZIX7ySkOkmwngz74yY/s1600/screenshot+%25289%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA7yHTTvJ2h1PjZt5A7_2qEMz-7YduS9u4gV33OIesxYpAfaIqBDLbJVoHKX8eMMfMEtI0GhyphenhyphenLzmw232eA5zCPbnHLjjD2J_iwp3Jhtg3dVmTAu6-Y3ZX74-SiOZIX7ySkOkmwngz74yY/s400/screenshot+%25289%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVRt95l4Gm9GSNxKsCm21KjuD1b1fcCCRJhvUfo0lb-zaAWRgJ7Dd_G-OEOeqm3edg8AwOrmdvs-fCmUgb4a6mpJHJVF7nW7dkpNjcamYwwS8zGB1GXbOScA9qw9Y3ODW6yHGGWGyXkyk/s1600/screenshot+%252811%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVRt95l4Gm9GSNxKsCm21KjuD1b1fcCCRJhvUfo0lb-zaAWRgJ7Dd_G-OEOeqm3edg8AwOrmdvs-fCmUgb4a6mpJHJVF7nW7dkpNjcamYwwS8zGB1GXbOScA9qw9Y3ODW6yHGGWGyXkyk/s400/screenshot+%252811%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3vICqmO5wkZhEdZ4dinHxPzLB0H4uLNLFudFxiYOq_1ZGgwQR2ahJlrITkl3DYc4MGGFQboa9_XfOisqTnjYAi9ox0Es_AHOMI-1CpRUJb-7ncq_Jma6k_oMeLcdrUobHuPatHNEouwo/s1600/screenshot+%252812%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3vICqmO5wkZhEdZ4dinHxPzLB0H4uLNLFudFxiYOq_1ZGgwQR2ahJlrITkl3DYc4MGGFQboa9_XfOisqTnjYAi9ox0Es_AHOMI-1CpRUJb-7ncq_Jma6k_oMeLcdrUobHuPatHNEouwo/s400/screenshot+%252812%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_rNBzVdBJ6uEUhECro1qC6OVUznIgNlhJeuvr5RLe0N_1qwZpG1FfBIUGv9VoiSMuHQLczg46D9F33rAze5waqjRltH38Jyr6yNNznyjA3eGhnDeX7cRYYCuKc5yMZdb0zBaiaYZHIJM/s1600/screenshot+%252814%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_rNBzVdBJ6uEUhECro1qC6OVUznIgNlhJeuvr5RLe0N_1qwZpG1FfBIUGv9VoiSMuHQLczg46D9F33rAze5waqjRltH38Jyr6yNNznyjA3eGhnDeX7cRYYCuKc5yMZdb0zBaiaYZHIJM/s400/screenshot+%252814%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;"><b>STEP 7</b></div><div class="separator" style="clear: both; text-align: left;">Voila! Get yourself your favorite drink and explore your New ROM without carrying over any legacy settings. Enjoy what those developers spent hundreds of hours tweaking to tickle your fantasy!</div><div class="separator" style="clear: both; text-align: left;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQE4_sI9lcPJ5NX_CyzLoL5AvjsvKE-LSljJYuXytAo84CavDczJJ7keOZDXxkkhoz13YZ8Ii0XFf-FGiZyf2CfS3KFOpO8cn05zV7S3dQlOHo4lMbjuZduIYHibbVMhuV5W34MqiKVvM/s1600/screenshot+%252830%2529.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQE4_sI9lcPJ5NX_CyzLoL5AvjsvKE-LSljJYuXytAo84CavDczJJ7keOZDXxkkhoz13YZ8Ii0XFf-FGiZyf2CfS3KFOpO8cn05zV7S3dQlOHo4lMbjuZduIYHibbVMhuV5W34MqiKVvM/s400/screenshot+%252830%2529.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: left;"><br />
</div><br />
<b>Cliche</b>: If you have any trouble getting by any of the steps, just hit me with a comment.Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-10237228546026599802011-03-24T00:40:00.000-07:002011-03-24T00:44:45.000-07:00Vital Linux tipsI remember the first time I installed Linux, I had never seen Linux on a system before, didn't want to use a virtual machine and I was going to install it on my new laptop. On top of all these, I downloaded Ubuntu 8.04 Alternate CD image, which has no live-booting feature or even a graphic user interface for the installation, everything was console configuration. I spent hours doing the installation, there were over 10 steps (I strongly think) and I knew less than nothing about ext, ext2, ext3, swap space, grub and root. I got terribly stuck at the mount point, swap file and home partition configuration, I wasn't allowed to get to the next step until I had tried nearly all the options. I was sweating inside and couldn't wait to finish and see if the laptop will recognize its power button. Fortunately, God answered my Jonah modelled prayer, the laptop responded when I pressed the power button. It spent so much time on the VAIO logo display, my heart did a short sprint. Finally, it moved on and into the Ubuntu and my feelings were so mixed I couldn't breathe steady. I was extremely happy I had installed a Linux OS and also miserable that I had wiped off my Windows Vista before making a recovery disc.<br />
<br />
That was about 3 years ago, though it's not a long time but in computer world it's like half a century. I, definately, have moved ahead and even installed Linux (several distros) over 30 times on over 10 laptops (most probably). So in this post I will share with your two vital Linux tips, or should I say keyboard shortcuts that I have been overusing.<br />
<br />
<br />
<b>TIP 1</b><br />
Arguably the best feature of Linux (for enthusiasts) is that you can can install tens of full feature softwares on a disk space size Windows will use to install just one of those softwares. Take me for instance, my Fedora is installed on a 4GB partition (inclusive of swap space and Home) and yet I run out of space on my 50GB Windows XP partition nearly every month without ever running out of space on my Fedora (please, don't take this literally). In the end I get to have all the applications I want on my Linux, so it is often a task (medium size one) to search out the the application I want to run. This is where the Tip 1 comes to the rescue.<br />
I just press the ALT and F2 key (on the keyboard) at the same time, then a small box come on screen and I type the name of the application I want to run. The best part of this is that it guesses the application as I provide the characters of the name, making it more than easy when I'm not sure of the application's name.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFNRP0CD4eF7cn5sqaXNu4gwF14tEfK83R1sAqFm2e-73Im2aDjGng9Z-petIDiwqSUENQzYt7Y1FpCW141tWn8fPbNo5jm82PbKFdWwsJ5LLvnVs5FA1ggFijNdzVUj8kgVpUCJiJHUJf/s1600/_IGP0351.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFNRP0CD4eF7cn5sqaXNu4gwF14tEfK83R1sAqFm2e-73Im2aDjGng9Z-petIDiwqSUENQzYt7Y1FpCW141tWn8fPbNo5jm82PbKFdWwsJ5LLvnVs5FA1ggFijNdzVUj8kgVpUCJiJHUJf/s400/_IGP0351.JPG" width="400" /></a></div><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid-uvCAnU72eINA0btvXOnLso-Db1rFm2hA5__Jnm2zGfiOB9RQrRU9aA5UIT7fohCfQOqeKXm62n-eGz6YBRgrFcNI83WKwR0lUVYNv1Ue_MzeSHJv8j3ELKIhfEEmUG__UdF24VRVJNy/s1600/tips.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEid-uvCAnU72eINA0btvXOnLso-Db1rFm2hA5__Jnm2zGfiOB9RQrRU9aA5UIT7fohCfQOqeKXm62n-eGz6YBRgrFcNI83WKwR0lUVYNv1Ue_MzeSHJv8j3ELKIhfEEmUG__UdF24VRVJNy/s400/tips.png" width="400" /></a></div><br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqjkT6rzFOoU2T_4oHSOdgAU0P72wp9p-7fYbCwYLgl4Ap2BD1xF19kNVsFDlhCpzywLR5q6f_H_UbMOozc7jvhxUmtop-AUXaXbLxThYQRg65Y82GwGNKkhYQdHaCjWHVrOVzFJU3-mZW/s1600/tips1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqjkT6rzFOoU2T_4oHSOdgAU0P72wp9p-7fYbCwYLgl4Ap2BD1xF19kNVsFDlhCpzywLR5q6f_H_UbMOozc7jvhxUmtop-AUXaXbLxThYQRg65Y82GwGNKkhYQdHaCjWHVrOVzFJU3-mZW/s400/tips1.png" width="400" /></a></div><br />
<br />
<b>TIP 2</b><br />
When we first get to know about Linux, we strongly believe it is all keyboard and blackscreen, no mouse pointer or GUI. Actually it used to be, and can still be (if you make it be). So the easiest (or cheapest) way to make it be is by installing a fancy GUI linux distro and booting into the dummy's galaxy of no more, then go further by using the key combination --<br />
<br />
<br />
CTRL + ALT + F1<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO1QXPLnd6Xa84dviQHaaLxxtkVGehjlHPXe9RLEBeaHMWcSrI9iKwwANEEeC5V3JxtreXIWJmY7r5ekueTHEKaspb8t3DIiYfmPC0Tax-yPCfXaKMMrjRTnWZ81mas1PMJS_gMeEwks0y/s1600/_IGP0354.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO1QXPLnd6Xa84dviQHaaLxxtkVGehjlHPXe9RLEBeaHMWcSrI9iKwwANEEeC5V3JxtreXIWJmY7r5ekueTHEKaspb8t3DIiYfmPC0Tax-yPCfXaKMMrjRTnWZ81mas1PMJS_gMeEwks0y/s400/_IGP0354.JPG" width="400" /></a></div><br />
<br />
<br />
<br />
CTRL + ALT + F2<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJUNzJu9I8HzMyu5OyowMSXIJt6qsDVjID7VO_9bzm0uqUoGKc8KdaLlNvRDxH5LlEFSYv2eyWwrJ3o9f6PRKj9n6kbO1ybh-msFD4VmOv5TTY7siyQHeeFbSaddTzjeTIMIQOolf0cRcj/s1600/_IGP0355.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJUNzJu9I8HzMyu5OyowMSXIJt6qsDVjID7VO_9bzm0uqUoGKc8KdaLlNvRDxH5LlEFSYv2eyWwrJ3o9f6PRKj9n6kbO1ybh-msFD4VmOv5TTY7siyQHeeFbSaddTzjeTIMIQOolf0cRcj/s400/_IGP0355.JPG" width="400" /></a></div><br />
<br />
CTRL + ALT + F3<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigfymh1nxFExUm8mJnDNNdGN4CNWDVuf8KmAka1MHl8JJSGVO_dG95OHUYIPDAJQ8lhW5ORnbBeDOzK_KU8eirJ_lVf8xTU1ET-P7sWopXKXBPGtqNDfByjwWBR31S6sF2Rg3pTG-T3TL8/s1600/_IGP0357.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigfymh1nxFExUm8mJnDNNdGN4CNWDVuf8KmAka1MHl8JJSGVO_dG95OHUYIPDAJQ8lhW5ORnbBeDOzK_KU8eirJ_lVf8xTU1ET-P7sWopXKXBPGtqNDfByjwWBR31S6sF2Rg3pTG-T3TL8/s400/_IGP0357.JPG" width="400" /></a></div><br />
<br />
<br />
<br />
CTRL + ALT + F4<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrB4n9CJ4zi7ZnL3dUKsDl0VJBmQEe1AcFWVsf6RWGMZOqZyuDCW011dMo2HiCBrZHXPUkAXJcwyu9GJ0Q5MoglmGXtjpwXOA1TXstXdaFwl7zlloUxSqiPD92GzQc-gzsWAzB-urheNVb/s1600/_IGP0364.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrB4n9CJ4zi7ZnL3dUKsDl0VJBmQEe1AcFWVsf6RWGMZOqZyuDCW011dMo2HiCBrZHXPUkAXJcwyu9GJ0Q5MoglmGXtjpwXOA1TXstXdaFwl7zlloUxSqiPD92GzQc-gzsWAzB-urheNVb/s400/_IGP0364.JPG" width="400" /></a></div><br />
<br />
CTRL + ALT + F5<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXcBhL7mQPfDgIjlAOQWC9JjiQPwsPgUqYt-Nt-oUjuxzcpgzxBRz_5TVKa8ZvqsSWDW6h3iSJ1EljPkNCigPokQPp7E1EvxdFhZQ1HfdBFRW8ui3g0b4gMVP3s6_ZP-HIF_GnFBpeViyI/s1600/_IGP0365.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXcBhL7mQPfDgIjlAOQWC9JjiQPwsPgUqYt-Nt-oUjuxzcpgzxBRz_5TVKa8ZvqsSWDW6h3iSJ1EljPkNCigPokQPp7E1EvxdFhZQ1HfdBFRW8ui3g0b4gMVP3s6_ZP-HIF_GnFBpeViyI/s400/_IGP0365.JPG" width="400" /></a></div><br />
<br />
CTRL + ALT + F6<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSacWfyxkWLgbDi6iNgZFi4880fPfg6SYIynuDj_i6Wp0rj10zu1bJjLKNxCRrKVSm4rgqChCAis4vMlY7ojX4Wu3xyRkicmBjmTWZn0J-5Eg_GKinBH0nGWZgm1XdorRhy6to-X3IweAv/s1600/_IGP0366.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSacWfyxkWLgbDi6iNgZFi4880fPfg6SYIynuDj_i6Wp0rj10zu1bJjLKNxCRrKVSm4rgqChCAis4vMlY7ojX4Wu3xyRkicmBjmTWZn0J-5Eg_GKinBH0nGWZgm1XdorRhy6to-X3IweAv/s400/_IGP0366.JPG" width="400" /></a></div><br />
<br />
CTRL + ALT + F7<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLUmr2BYv2UsHBUf23F-UR6HqMwKimW4tPmyJQTZh_tmTmZ6X4Jtkt-U3wZAYvG22OhE1JSjxmSyALB1n37CcBV_trKn0RnEfpVKtZ2G6Qz2U1Ql1PPMFiU749Qxh-DGxeavQr0iVLNtWJ/s1600/tips2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLUmr2BYv2UsHBUf23F-UR6HqMwKimW4tPmyJQTZh_tmTmZ6X4Jtkt-U3wZAYvG22OhE1JSjxmSyALB1n37CcBV_trKn0RnEfpVKtZ2G6Qz2U1Ql1PPMFiU749Qxh-DGxeavQr0iVLNtWJ/s400/tips2.png" width="400" /></a></div><br />
<br />
On some distros (like Fedora), the GUI is on F1 not F7. <br />
<br />
<br />
<br />
Thanks for reading my blog, if you have any comment feel free to use the comment box. Have a great day.Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-87589618986676667772011-03-02T12:55:00.000-08:002011-03-05T13:03:38.346-08:00Android's best kept secret codeJust recently I noticed there was a flaky 3G service (MTN of course) in my room, but my phone seems too comfortable restricting me to the near useless EDGE service. I decided I was going to force my phone to use the 3G service, so armed with my computer, internet access and google, I searched for a way to do this and I was so resolute I won't mind porting a code meant for a USB modem. But to my utmost surprise, I ended up discovering a code (like those IMEI checking code *#06# or Nokia warranty code *#92702689#). This code is definetely android's best kept secret, the code takes you to a sort of troubleshooting settings screen. It is <b>*#*#4636#*#*</b> enter it on the dail screen and as you enter the last character * the phone will switch to a new screen, the Testing screen. The image below is a screen shot of what you'll see.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg46W6BkSSukz-LdYNjM3a2a6AbqAF5Wc5do2W6k_5EgHyZ230NwtioHL9RrcJVjwFvD_pLLTa1UHaIyhbpAuoZWmip2nsJrAkVTpGLFLtwWfJM_RE5oNuUBjRuy8ZMXPrVhU07X23hrzs/s1600/_IGP0286.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg46W6BkSSukz-LdYNjM3a2a6AbqAF5Wc5do2W6k_5EgHyZ230NwtioHL9RrcJVjwFvD_pLLTa1UHaIyhbpAuoZWmip2nsJrAkVTpGLFLtwWfJM_RE5oNuUBjRuy8ZMXPrVhU07X23hrzs/s400/_IGP0286.JPG" width="400" /></a></div><br />
<br />
The Phone information section shows the IMEI number, phone number, service provider network, signal strength, roaming status and even button to run ping test amongst loads of other info. The best part of this section is that you can force the phone to use 3G service, 2G service or any available one with preference on either 3G or 2G! Just sroll down to the Set preferred network type and set the one you want, but it's advisable to set it to one that is compatible with your service provider. Don't set it to <b>CDMA only</b> when your service provider is GSM and don't set it too <b>WCDMA</b> (3G) only if you use your phone for heavy phone calls and not data like I do. So for me, anytime I want to do heavy data access activity, I just set it to <b>WCDMA only</b>, otherwise I leave it at the default of <b>WCDMA preferred</b>.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhayuYuZ1RKXhgrVv_B5Ewci9h72iPS-foXQdgTSzNhTJaxbcchG78kgzEfydY5gY3FOARYwP7lgPA_vtWTkT0Rzr_TasIJ4A53DzysN_JsUuZdA6Cjld2Q2NFxeYqaKEitYr9ZAkPOL_c/s1600/_IGP0287.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="191" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhayuYuZ1RKXhgrVv_B5Ewci9h72iPS-foXQdgTSzNhTJaxbcchG78kgzEfydY5gY3FOARYwP7lgPA_vtWTkT0Rzr_TasIJ4A53DzysN_JsUuZdA6Cjld2Q2NFxeYqaKEitYr9ZAkPOL_c/s400/_IGP0287.JPG" width="400" /></a></div><br />
<br />
The other sections are <b>Baterry Information</b>, <b>Battery history</b>, <b>Usage history</b> and <b>Wifi information</b>. But apart from the battery information section that provides you information about the health of the phone battery, the other sections are of little interest in day to day use.Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-62485933882353706202010-10-23T03:40:00.000-07:002010-10-23T03:40:02.931-07:00How to make your cyanogen-modded G1 work real fast<div style="margin-bottom: 0in;">Remember that <a href="http://linuxforpro.blogspot.com/2010/09/how-i-flashed-my-htc-dream-t-mobile-g1.html">post I made on modding your G1</a> and how I mentioned that I just recently modded mine. Well after flashing cyanogenmod 6.0.0-DS on my G1 and was stunned by the exquisite (Windows 7 – like) graphics, I was greatly disappointed to find my G1 so slow that navigating to the homescreen became a touch and travel activity. The camera app was greatly frustrating, after taking seconds to open it is only good for snapping still scenes because the pictures are taken seconds after the shutter button has been pressed. Not forgetting the gallery, that one became so useless I started searching the android market for any alternative app. When I try to view the pictures I took with the phone's camera, it takes forever to scroll to the next picture. The phone app wasn't left out, typing phone number has never been this hard, and after all the frustration and the tendency of you forgetting why you wanted to make the call, it takes about 5 seconds for the call to be terminated after you end it.</div><div style="margin-bottom: 0in;"><br />
</div><div style="margin-bottom: 0in;">Though I must confess that I still preferred my modded G1 state to the unmodded (running android 1.6) state because I now run the latest android version, I can install apps on SD, I can install root (requiring) apps, and I can install apps meant for android 2.1 and above. So I convinced myself that all I have been reading about cyanogenmod, that it is way faster than the stock OS, is true and I am going to make that true fact a reality on my G1. Armed with google, I searched the internet using various words combination to locate any article that might address a similar issue. But I was disappointed to discover that as far as the internet is concerned I am the only one with such issue. After giving up on finding any online assistance, I decided to fiddle with the settings on my modded G1 and one day I struck luck, after changing a couple of things mostly disabling a lot of cpu sucking tweaks, and now my modded G1 is working really fast. So in the following paragraphs I am going to share with you the changes I made on my G1 that made it work real fast.</div><div style="margin-bottom: 0in;"><br />
</div><div style="margin-bottom: 0in;">From the <b>homescreen</b>, press the <b>menu</b> button, tap on <b>Settings</b>, tap on <b>CyanogenMod settings</b> and tap on <b>Performance settings</b>. You will receive a “WARNING: Dragons Ahead!” prompt, don't worry (you won't do anything that will change the performance of your system, potentially for the worse), tap on <b>OK</b>. Now make sure <b>Use Compcache</b> is enabled, <b>Use JIT</b> is enabled and <b>Surface Dithering</b> is disabled. You can also change the <b>VM heap size</b> to 24m. </div><div style="margin-bottom: 0in;"><br />
</div><div style="margin-bottom: 0in;">Now go back to <b>Settings</b>, tap on <b>ADWLauncher</b>, tap on <b>Drawer Settings</b>, disable<b> Animated Drawer</b> and disable <b>Fade app labels</b>. Go back to <b>ADWLauncher</b> settings, tap on <b>Preview settings</b>, disable <b>Sense previews</b> and <b>Clean Screen Mode</b>. Go back to ADWLauncher, tap on <b>System Preferences</b>, set <b>Scrolling cache </b>to Low quality.</div><div style="margin-bottom: 0in;"><br />
</div><div style="margin-bottom: 0in;">With these settings on your G1 it should work really fast.</div>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-2683638458271947472010-09-27T15:49:00.000-07:002010-09-27T15:49:39.118-07:00How to share internet access on your android phone with other phones and computers via wireless connection (wifi)<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">I have been hearing about a “Wireless Tether” app for months now and even tried installing it, but to my disappointment it requires me to have <a href="http://linuxforpro.blogspot.com/2010/09/how-i-flashed-my-htc-dream-t-mobile-g1.html">rooted my phone</a> so I couldn't use it. Then last week I finally rooted my phone and was amazed by the quality of connectivity I got between my phone and my laptop. And another amazing thing about this wireless tethering than makes it far desirable than the USB tethering (that comes along with the android OS 2.2) is that it allows multiple computers to connect and even phones that have wifi. And you can also create an access list to allow internet access for only selected devices (computers, phones and maybe, printers).</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">So in this post, I am going to explain extensively to you how to use the wireless tether app to share internet access on your android phone with other phones and computers.</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>PREREQUISITE:</b> A rooted android phone (if you are not sure yours is, then it most probably isn't, but for more info search google)</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>STEP 1</b></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">The first thing you'll do is to install the Wireless Tether app, go to the android market and search for “Wireless Tether” it has this unique logo of a green wifi signal. Download and install it.</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>STEP 2</b></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">Open the Wireless Tether app, tap the screen close to the middle (where there is the prompt – Press to start tethering) to start the wireless tethering. </div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjuk0i3zBbV8TTOqloOzdmRU6TJhyqtP23s_h5lepY2VPBRE1JZgkySC83nWztGOcLCsIwLk7EkC29DU5rVdtEUKk_zHO_nR6OqkC6nycEjB4W3vzBA1LJbL4lIYhLNuvbVJiuEeI2Z8Gu/s1600/wifi2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjuk0i3zBbV8TTOqloOzdmRU6TJhyqtP23s_h5lepY2VPBRE1JZgkySC83nWztGOcLCsIwLk7EkC29DU5rVdtEUKk_zHO_nR6OqkC6nycEjB4W3vzBA1LJbL4lIYhLNuvbVJiuEeI2Z8Gu/s320/wifi2.JPG" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">It will ask for Superuser permissions which you will need to grant and if you prefer, tick the remember this selection. Now don't bother if you do not notice your wifi turning on, as long as the wireless tether notification is showing on your notification bar, you are good to go.</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>STEP 3</b></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">On your computer (or phone) turn on the wireless adapter and search for wireless networks and you will notice an open network named AndroidTether. Connect to it, you should see “Acquiring network address” and then “Connected”.</div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxmctUxthq4svMBQ_PvKljUeXyzG0UlgOFr6opI-Eon-638A8L8HibjYzqQSkcDuDH5gUnP_HUwf0Ii0nBJ1zjfcPBmgmQvj6KBeMBf-d42UGTeTP3MYkGVV6Ww_epnFXrKrV21IFcEs0G/s1600/Fullscreen+capture+9242010+65012+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxmctUxthq4svMBQ_PvKljUeXyzG0UlgOFr6opI-Eon-638A8L8HibjYzqQSkcDuDH5gUnP_HUwf0Ii0nBJ1zjfcPBmgmQvj6KBeMBf-d42UGTeTP3MYkGVV6Ww_epnFXrKrV21IFcEs0G/s320/Fullscreen+capture+9242010+65012+PM.bmp" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"> Now check the notification bar of your phone, and you should see a notice about a device trying to access your internet. But if this notification doesn't popup on yours, do not worry just follow on. On the the wireless tether app screen, press the menu button to reveal hidden options, tap on Setup, under Security make sure the Enable Access-Control is ticked. Now go back to the app's homescreen and press the menu button again, then tap on Access Control and Tick only the devices you want to grant access.</div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM84chWYMG19ULpGNm8MNo85Pm5LPYYCEzkbiPD7TvDV6QQOtUVcY3KCeq4_47WFK6vjD0P987IF3r4LMex0xy0Hku7vKCaJDe9Wkccl84SO-fbONqCqdDlNyFsqYP6QhfrvQyU8DhSyc4/s1600/wifi3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM84chWYMG19ULpGNm8MNo85Pm5LPYYCEzkbiPD7TvDV6QQOtUVcY3KCeq4_47WFK6vjD0P987IF3r4LMex0xy0Hku7vKCaJDe9Wkccl84SO-fbONqCqdDlNyFsqYP6QhfrvQyU8DhSyc4/s320/wifi3.JPG" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAw_pVsYqSA4hNuOSu8niJjSzwwNvpfkit3csbqR8x2wHISb6wWtL0DC7rfaVzSpuGbQfUIBFZIX1IrciegaaN1k7fu6GMBy_ftBOkQPRSXiejO-tZAil265GuzH5EJoSwkOd0tVMudyMu/s1600/wifi4.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAw_pVsYqSA4hNuOSu8niJjSzwwNvpfkit3csbqR8x2wHISb6wWtL0DC7rfaVzSpuGbQfUIBFZIX1IrciegaaN1k7fu6GMBy_ftBOkQPRSXiejO-tZAil265GuzH5EJoSwkOd0tVMudyMu/s320/wifi4.JPG" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwW58HQTtyNCBXDcnUnNw-XFWabB2FZKo9OLlb9BsY7qsbCX0qVijfukzYmWD1ChW3U9OfoDYZ7J9W6eBdJOoRlQt1qUnY_sxOmjjLqu95UYI6gi62h61xkrQoLnFGKTCoAF2pPv9Zb0VU/s1600/wifi5.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwW58HQTtyNCBXDcnUnNw-XFWabB2FZKo9OLlb9BsY7qsbCX0qVijfukzYmWD1ChW3U9OfoDYZ7J9W6eBdJOoRlQt1qUnY_sxOmjjLqu95UYI6gi62h61xkrQoLnFGKTCoAF2pPv9Zb0VU/s320/wifi5.JPG" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>STEP 4</b></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">Go to your internet browser and start surfing the internet, it's as easy as that!</div><div class="separator" style="clear: both; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6nj63_wDENC5HYEHg-ncViric6Ck3tsZA2-RRSWBZs0tHY7ocyLJ4csETHA-cJVkXuHebGfXSoJK00QLsB5CnyTPpfD3q6eWaT3r50dq4DyUSvETEh0_HtGrmCSZQLJODTfz9-87FrtbR/s1600/Fullscreen+capture+9242010+65358+PM.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6nj63_wDENC5HYEHg-ncViric6Ck3tsZA2-RRSWBZs0tHY7ocyLJ4csETHA-cJVkXuHebGfXSoJK00QLsB5CnyTPpfD3q6eWaT3r50dq4DyUSvETEh0_HtGrmCSZQLJODTfz9-87FrtbR/s320/Fullscreen+capture+9242010+65358+PM.bmp" style="cursor: move;" width="320" /></a></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><br />
</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><b>TROUBLESHOOTING</b></div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">If you are unable to access the internet on your computer but can on your phone, it's most probably because your wireless adapter has been manually configured. Make sure the wireless adapter IPv4 address is set to automatic and not manual, you can check my <a href="http://www.olafusimichael.com/2009/06/are-unable-to-connect-to-internet-while.html">former post</a> on doing this. If you are still experiencing this problem, them go to the internet/netweork settings of your internet browser and make sure you are not connecting via any proxy.</div><div style="margin-bottom: 0in; margin-left: 0px; margin-right: 0px; margin-top: 0px;">If you need any further help or clarification, feel free to ask via comment.</div>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-65388769669746549512010-09-22T14:26:00.000-07:002011-02-21T14:25:49.559-08:00How I flashed my HTC Dream (T-mobile G1) with CyanogenMod 6.0.0-DSRemember that post I made on changing the google account of HTC Dream? Then you will remember me saying “I bought a fairly new G1...”<br />
<div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;">Well, there was this day I posted a tweet on twitter saying I had issues with data usage of my G1, and a friend (<a href="http://twitter.com/kenniy">@kenniy</a>) responded and told me to mod my G1 for optimum performance and recommended Cyanogen Mod. Since that day (which should be 6 months ago), after reading about the benefits, I decided in my mind that I was definitely gonna mod my G1. Then after reading about doing it on several websites and discovered that most of them had very different ways of doing it with a common recurrent warning that my phone might get bricked, I finally gave it a trial 5 months ago. I choose a website that explained very well with detailed snapshots of the process, then I discovered that I couldn't go past the first stage because my G1 has android 1.6 (donut) and the steps will only work for 1.5 (cupcake). I searched for ways of modding my G1 running donut, and the <a href="http://wiki.cyanogenmod.com/index.php?title=Dream:Rooting">only site</a> I found that seems to explain it well didn't have a single snapshot and had too much warnings. So I suspended my desire to mod the G1 till when I have used the phone for a considerable time, when I won't be too bothered if the phone bricks.</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;">Well that time came yesterday, I just couldn't put up any longer with the restrictions of the small internal memory and the fact that some applications are now being built for OS 2.1 (eclair) and above. So I braced up and faced my fear, and believe me I'm glad I did. I now have the latest android OS (froyo) running on my G1,can now send files via bluetooth and even operate a swap partition on my phone.</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;">So in case someone might need a more recent post by a more current user, I decided to share my experience, step by step and with snapshots. So let's go!</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 1</b></div><div style="margin: 0px 0px 0in;">NOTE: I'll assume you are also using the android 1.6 on a G1.</div><div style="margin: 0px 0px 0in;">First you will need to boot into the bootloader of the G1 to record the radio type and ROM type of your G1. </div><div style="margin: 0px 0px 0in;">There are two ROM types,</div><div style="margin: 0px 0px 0in;">PVT, and</div><div style="margin: 0px 0px 0in;">DVT.</div><div style="margin: 0px 0px 0in;">There are two radio types also,</div><div style="margin: 0px 0px 0in;">2.22.23.02</div><div style="margin: 0px 0px 0in;">2.22.19.26I</div><div style="margin: 0px 0px 0in;">To boot into this mode you will need to switch off the phone first. Then press the camera button and almost immediately, without leaving the camera button, press the power button. Below is a snapshot of how I did it with my phone. Now note the multicolor screen that comes up and record the ROM type and the radio type of your phone (it will show at the upper part of the phone screen).</div><div class="separator" style="clear: both; margin: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk-73zfChyphenhyphenGe6s2_AnuYvcKorbuqDLNxEF1FHnoDVyruTWnxiBsqCbJncL-YVfKzRBqoxOQJ_k1RuReHKPaD7csG1DudKyoBpZPlubXhgzLFo-cmceMCSgFlMHgGV3ltXiW176b_7CVRAp/s1600/S6302657.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk-73zfChyphenhyphenGe6s2_AnuYvcKorbuqDLNxEF1FHnoDVyruTWnxiBsqCbJncL-YVfKzRBqoxOQJ_k1RuReHKPaD7csG1DudKyoBpZPlubXhgzLFo-cmceMCSgFlMHgGV3ltXiW176b_7CVRAp/s320/S6302657.JPG" style="cursor: move;" width="320" /></a></div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 2</b></div><div style="margin: 0px 0px 0in;">Now you are going to download all the necessary files you will need for the whole modding process.</div><div style="margin: 0px 0px 0in;">First, you will download the <a href="http://www.tap3w0rm.com/hosted/android/magic-dream/nbh/RC29/DREAIMG.nbh">DREAMING.nbh</a> RC29(US) or <a href="http://www.tap3w0rm.com/hosted/android/magic-dream/nbh/RC7/DREAIMG.nbh">DREAIMG.nbh</a> RC7(Europe) file that will downgrade the android 1.6 to 1.0 which is necessary for the whole modding process (actually you won't be able to root the phone without this downgrade, that is why it is necessary).</div><div style="margin: 0px 0px 0in;"><span class="Apple-style-span" style="font-family: inherit;">Secondly, you will </span>download <a href="http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=recovery-RA-dream-v1.7.0-cyan.img">Amon_Ra's Recovery</a> which is the actual rooting image file.<span class="Apple-style-span" style="font-family: Times,'Times New Roman',serif;"> </span></div><div style="margin: 0px 0px 0in;">Thirdly, you will download the appropriate radio for your G1, <a href="http://www.mediafire.com/?59idg6zo0if">2.22.23.02</a> or<a href="http://sapphire-port-dream.googlecode.com/files/ota-radio-2_22_19_26I.zip"> 2.22.19.26I</a></div><div style="margin: 0px 0px 0in;">Fourthly, you will download the appropriate SPL file, depending on the ROM type of your G1. If your ROM is PVT, <a href="http://sapphire-port-dream.googlecode.com/files/spl-signed.zip">Haytou's SPL</a> is recommended. But if your ROM is DVT, you have to make do with <a href="http://android-roms.googlecode.com/files/splhard1_update_signed.zip">HardSPL</a> to avoid bricking your G1.</div><div style="margin: 0px 0px 0in;">Finally, you will now download the <a href="http://mirror.kanged.net/cm/stable/update-cm-6.0.0-DS-signed.zip">Cyanogen Mod 6.0.0-DS</a> and the <a href="http://mirror.kanged.net/gapps/gapps-mdpi-tiny-20100926-signed.zip">tiny gapps</a> files (you need this google apps zip file to pre-install the market app during the installation the Cyanogen Mod, this will be very useful)</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 3</b></div><div style="margin: 0px 0px 0in;">Get a MicroSD card (the small external memory card the phone uses), format it with FAT32. Copy only the DREAMING.nbh file into it.</div><div style="margin: 0px 0px 0in;">Power off the G1 and like you did earlier on in step 1, boot into the bootloader. Follow the instructions to apply the DREAMING.ngh which will downgrade the phone to android 1.0. Now press MENU, HOME and POWER buttons all at once to power off.</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 4</b></div><div style="margin: 0px 0px 0in;">Put a SIM that has active data plan or GPRS/EDGE/3G enabled (with enough money in it to access the internet). Power on the G1, it will show you a screen with the Emergency call dial button. Press the MENU button to reveal APNs, touchclick it and create a new APN entering the correct APN setting for your SIM Network provider. If your Provider is already listed in the APN list, do not bother creating a new APN. Now return back to the initial screen, touch the middle of the screen and configure your google account to gain access to other functionalities.</div><div style="margin: 0px 0px 0in;">Press the home button and slide the phone to reveal the keyboard. Press ENTER twice, type <i>telnetd</i> and press ENTER (do not bother about the contact screen that comes up and the apparent nothing that happens after pressing ENTER). Go to the market app and install<b> telnet by clockworld</b>, launch the telnet app you just installed and make sure <b>localhost</b> is in the first textbox and <b>23</b> in the small textbox to the right. Press ENTER.</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 5</b></div><div style="margin: 0px 0px 0in;">Remember the Amon_Ra's Recovery file you downloaded? Rename it to <b>recovery.img</b> and copy it to the MicroSD card and disconnect the phone from the computer. Now open the telnet application you installed earlier on and type the following <i>flash_image recovery /sdcard/recovery.img</i> and once this is successful you will notice # # on the screen showing below the command you typed. If you got a "permission denied" prompt, type <i>su flash_image recovery /sdcard/recovery.img</i> </div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 6</b></div><div style="margin: 0px 0px 0in;">Power off the phone and remove the MicroSD card, copy the radio file you downloaded (2.22.23.02 or 2.22.1.26I), the SPL file (a .zip file), the Cyanogen Mod 6.0.0-DS (mostly likely named as update-cm-6.0.0-DS-signed.zip)and the gapps file into the card. Replace the memory card.</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>STEP 7</b></div><div class="separator" style="clear: both; margin: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8hG7x4YggKTNMDWlECq_LwpyWvWUN-A8MCWXtoHbFX_D9gLxmY7PkcSGBMJkD4hIY9frjehwiV59FTGszjs_w_4ADbE_0EtQ8MuXHpSRtNF7OIDQidXknJ_flO4dXhsbNt8d4PIT2za1k/s1600/S6302662.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8hG7x4YggKTNMDWlECq_LwpyWvWUN-A8MCWXtoHbFX_D9gLxmY7PkcSGBMJkD4hIY9frjehwiV59FTGszjs_w_4ADbE_0EtQ8MuXHpSRtNF7OIDQidXknJ_flO4dXhsbNt8d4PIT2za1k/s320/S6302662.JPG" style="cursor: move;" width="320" /></a></div><div style="margin: 0px 0px 0in;"><b><br />
</b></div><div style="margin: 0px 0px 0in;">You will now boot into the recovery mode by pressing the home and power buttons at the same time.</div><div class="separator" style="clear: both; margin: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBjIggyGXRg7KrgJakUJ0G9nJVkiTaj2xlxN76nKpbvFiRebLCjA3DUy3-rOL6yM-BPKtvyWoRw9klPXO05gfcfnHbZHXgd1MVkgBYC5NA2qnzt3tj2wRJ5CAkbsbjaYEKMc4tn8l6qLkG/s1600/S6302664.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBjIggyGXRg7KrgJakUJ0G9nJVkiTaj2xlxN76nKpbvFiRebLCjA3DUy3-rOL6yM-BPKtvyWoRw9klPXO05gfcfnHbZHXgd1MVkgBYC5NA2qnzt3tj2wRJ5CAkbsbjaYEKMc4tn8l6qLkG/s320/S6302664.JPG" style="cursor: move;" width="320" /></a></div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;">Once the phone has boot into the recovery mode, scroll to "apply zip from sdcard" and select the radio file, press the home button to confirm. The phone will reboot during the installation, once the installation is complete select the reboot option (first on the list).<br />
Now boot into the recovery mode again by pressing the home and power buttons at the same time, scroll to "apply zip from sdcard" and select the SPL zip file, press the home button to confirm. Again you will be requested to reboot, select the reboot option to complete the installation. </div><div style="margin: 0px 0px 0in;">Again boot the phone into the recovery mode, select the "apply zip from sdcard" and select the Cyanogen Mod 6.0.0-DS zip file, press the home button to confirm and the phone will say update successful. Now scroll again to the "apply zip from sdcard" and select the gapps zip file, press the home button to confirm. Then reboot the phone and power off, if it boots back to the recovery mode (power off is the last option on the recovery mode list).</div><div style="margin: 0px 0px 0in;">Now you are through installing the Cyanogen Mod 6.0.0-DS which is built on the android 2.2 (code named froyo). Just power on your phone and it will now boot into the new OS that makes your phone operate like a linux computer with the much needed root permission (or superuser capability).</div><div class="separator" style="clear: both; margin: 0px; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeAvmzK5wxVoCOzsCfWBhJROmN9uEC9XI7LjCeBxyd8d_iMp87aT_mYhNMDEUDv1Kwmn6V0jXeXBoiXgTYdNI94VpCm-l0jYhPLF5nnx1jHnGqpfucx2OZIz7-9f8rMr4Z20oIE4s7PJEr/s1600/S6302665.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeAvmzK5wxVoCOzsCfWBhJROmN9uEC9XI7LjCeBxyd8d_iMp87aT_mYhNMDEUDv1Kwmn6V0jXeXBoiXgTYdNI94VpCm-l0jYhPLF5nnx1jHnGqpfucx2OZIz7-9f8rMr4Z20oIE4s7PJEr/s320/S6302665.JPG" style="cursor: move;" width="320" /></a></div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><br />
</div><div style="margin: 0px 0px 0in;"><b>TROUBLESHOOTING</b></div><div style="margin: 0px 0px 0in;">Just like it happened to me, if you notice that the phone after booting to the new OS only shows the lock screen and a black screen with notification bar, and does not detect network or show home screen. Just reboot into the recovery mode and select wipe, apply all the wipe options (wipe data/factory rest, wipe cache and wipe Dalvik-cache) and reboot. That should solve the problem, I don't know why it happened to me but I suspect it's that my cache is full and the /system is also full. But whatever the reason is, wiping did resolve it.</div><div style="margin: 0px 0px 0in;">If you need any further clarification or help, feel free to use the comment. I will try to monitor this post's comment as often as possible.</div>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-38487636760445563882010-05-03T10:55:00.000-07:002010-09-27T18:55:38.852-07:00How to change the gmail account on HTC android phoneI recently bought a fairly new HTC G1 after a long tiring search for android phones at Computer village, Ikeja (Lagos, Nigeria). Most of the phone dealers have only windows mobile phones, iPhone and Blackberry, but no android phone. Just when I was about giving up, I came across a dealer that had a fairly new HTC G1 (he called it London-used but it's obviously from USA). Anyway, I bought the phone and believe me if not for the Motorola charger that came with it I would have easily believed it's new.<br />
Since the phone isn't new and the former owner did not do a factory reset and had the phone registered with his gmail account. I had to change the gmail account to mine to be able to access the android market (the phone requires me to enter his account password to access the market). I didn't want to do a factory reset so as not lose any application installed by the former owner. Actually, I have an aversion for factory resets because of the painful data loss they often cause.<br />
After searching the internet for another way of changing the gmail account that will not involve any multiple system settings change. I came across a method that worked fine and is porobably the only alternative method.<br />
So outlined in a detailed manner below is this method of changing the gmail account --<br />
Goto <b>Settings</b>, <b>Applications</b>, <b>Manage applications</b>, and browse to <b>Gmail storage</b>, select <b>Clear Data</b>. Also goto <b>Gmail</b> and select <b>Clear Data</b>. Finally goto <b>Google Apps</b> and select <b>Clear Data</b>.<br />
Now go back to<b> Settings</b>, and select <b>Data Synchronization</b>. You will be prompted to setup a new account. Enter your gmail account and password. So now, you will be able to synch your gmail on your phone and also access the android market. You will also receive a mail from the android team welcoming you.Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com0tag:blogger.com,1999:blog-4961332562999353624.post-84097105001687404382010-01-26T00:53:00.000-08:002010-02-08T13:30:02.660-08:00How to automatically change to directories with very long full path using easy to remember aliasesMy laptop's 160GB hard disk is partitioned into more than six logical partitions and I multi-boot Windows 7, Windows XP, Kubuntu, Mandriva and Fedora. So you can imagine how I must have butchered the 160GB. I have managed to logically organize my files on the system, I put my iso image files in Kubuntu and Mandriva, my documents are in Windows XP and Windows 7. This makes it inevitable for me to frequently access documents on the Windows partitions and also copy documents to them while working in Linux. Occasionally, while working in commandline I need to mount images on the Kubuntu partition or read a file I saved in the Windows partition. Unfortunately, Fedora has a terrible way of naming my partitions that are not part of its filesystem, for example the full path to my Windows XP partition is /media/8E9C64209C640555 and the one for my Windows 7 partition is /media/925C181C5C17F9A5. After getting sick of having to copy and paste the path, I decided to do something permanent that will help me get round the problem.<br />
Well what I eventually did was to add a four aliases to automatically change to any partition without bothering about its full path. All I did was to edit the /home/freeman/.bashrc file, I appended the following --<br />
<span style="font-family: 'Courier New', Courier, monospace;"># User specific aliases and functions</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">alias kubuntu='cd /media/0f83fb7e-7810-489d-ad1d-1cfeb50e1ff2'</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">alias mandriva='cd /media/d06a0246-9501-4e55-8162-146e500cd2a0'</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">alias windowsxp='cd /media/8E9C64209C640555'</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">alias windows7='cd /media/925C181C5C17F9A5'</span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivY23wZAJ3XFO0adprGjIrxq8Af0mhpqi_XITuerMXgNfPrhejwbuXCTCvAojh8dTp37V0Z0f3LtlJA1InxOXk90n73tLh0tfwMJid5T5qMGwhJDrosLqh18pVYcvpc10uITOYSPDFL0c/s1600-h/cd2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivY23wZAJ3XFO0adprGjIrxq8Af0mhpqi_XITuerMXgNfPrhejwbuXCTCvAojh8dTp37V0Z0f3LtlJA1InxOXk90n73tLh0tfwMJid5T5qMGwhJDrosLqh18pVYcvpc10uITOYSPDFL0c/s320/cd2.png" width="320" /></a></div><br />
Voila! Now everytime I enter windowsxp on my command prompt, I am automatically switched to the Windows XP partition.<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPZcsTtiY2qFEwY5M301jnU8lt0wXyPhrJboS78R-kuGQVf6mrZ21PbmArzcdOJ4wFU77NYgWnSAZaRAVCi40rmH8BSav-4AUVjqgtoCB-31-WQPZ33rjPdtr_6PWautpBHpMsk3y2CwY/s1600-h/cd1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPZcsTtiY2qFEwY5M301jnU8lt0wXyPhrJboS78R-kuGQVf6mrZ21PbmArzcdOJ4wFU77NYgWnSAZaRAVCi40rmH8BSav-4AUVjqgtoCB-31-WQPZ33rjPdtr_6PWautpBHpMsk3y2CwY/s320/cd1.png" width="320" /></a></div>Michael Olafusihttp://www.blogger.com/profile/14257193654134528961noreply@blogger.com2