Spiga

Showing posts with label tutorials. Show all posts
Showing posts with label tutorials. Show all posts

[ Tutorial ] Nandroid Backup and CWM (ClockWorkMod) Recovery for S2 i9100

This tutorial is for starters who are looking to dig deep into their android devices.
Well Nandroid is a safe bet, as if something goes wrong one can restore the state at which they created a backup (just like restore point in windows).

So the problem arrives when we reboot our system into recovery (because every where it is written that we can create our backup (nandroid backup) in recovery mod). Stock recovery does not provide the options of backup and restore.

Read more!

[ Tutorial ] Rooting S2 i9100 (int). Simple, Fast and shortest method.

It has been a little less than a year since I got my first android device and it is still in warranty, and I have started experimenting on it (did nandroid backup of stock incase anything goes wrong).

Well this post is about rooting the i9100 device without increasing Flash counter and showing Yellow Triangle and I did a lot of research before doing it (as 1st time is the scariest). But thanks to XDA community, it was made easier for me. It provided me many ways to root the Samsung's 1st famous android device.


Read more!

Sharing a folder between Windows host and linux guest

If you are a Linux user and have Linux installed in the Virtual Machine (Virtual Box) then you preferably want to share a folder between your windows host machine and the Linux guest machine. This tutorial will guide you how you can share a folder and your data between two systems.

First you need to have GuestAdditions installed on your guest machine.




1. Go to settings in VirtualBox.



2. Now select Shared Folders and click on the Add Shared Folder (or press Ins)



3. New window will open.



Select other and select the path for the folder to be shared with the linux guest machine. (let us say we have shared a folder named sharedhost and check the box auto mount in present.

All this has to be done in the host side.

4. Now start the Linux machine.

5. Open terminal, get root access and type:



#mkdir /mnt/sharedguest


sharedguest will be present in the mnt folder.

6. Now type:


#mount -t vboxsf sharedhost /mnt/sharedguest


This line you have to enter every time you login into the system. Else we can add this line to rc.local file so that it initializes on every restart.
For that type:


#gedit /etc/rc.local


now add

#mount -t vboxsf sharedhost /mnt/sharedguest


before

touch /var/lock/subsys/local


it should look like this



now restart the machine and check the mnt > sharedguest.

Read more!

Installing VBoxGuestAddition in Linux

These days i have been working on Linux and found some difficulties in installing VBoxGuestAdditions on the Linux guest machine. So this tutorial will help out the starters who has installed the linux on their virtual machines.


Few features i have noticed after installing the GuestAdditions are:


  • It enables the mouse pointer integeration in the virtual machine, ie, you do not have to click on the screen of the virtual machine to capture the mouse.

  • It enables the full-screen mode.

  • Using the following steps one can easily setup the GuestAdditions

    1.open the Linux VirtualMachine (Redhat Linux in my case)

    2.Go to devices and select Install Guest Additions.



    3. Now you will see a CD like folder on the desktop.



    4. Now open terminal from Applications > Accessories > Terminal ( Applications > System Tools > Terminal (in some linux ))



    5. Now type
    for Ubuntu type : sudo su - or sudo -i
    for Fedora and redhat type : su -


    6. Enter the root password.

    7. Type
    cd /media/VBOXADDITIONS_4.0.0_69151/


    VBOXADDITIONS_4.0.0_69151 is the name of folder in step 3

    8. Type for redhat : sh ./VBoxLinuxAdditions.run

    it will look like this :
    [root@localhost VBOXADDITIONS_4.0.0_69151]# sh ./VBoxLinuxAdditions.run


    Type for fedora : ./VBoxLinuxAdditions.run

    9. It will now install the GuestAdditions

    Verifying archive integrity... All good.
    Uncompressing VirtualBox 4.0.0 Guest Additions for Linux.........
    VirtualBox Guest Additions installer
    Your guest system does not seem to have sufficient OpenGL support to enable
    accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
    system). This Guest Additions feature will be disabled.


    Building the main Guest Additions module [ OK ]
    Building the shared folder support module [ OK ]
    Doing non-kernel setup of the Guest Additions [ OK ]
    You should restart your guest to make sure the new modules are actually used

    Installing the Window System drivers
    Installing X.Org 7.1 modules [ OK ]
    Setting up the Window System to use the Guest Additions [ OK ]
    You may need to restart the hal service and the Window System (or just restart
    the guest system) to enable the Guest Additions.

    Installing graphics libraries and desktop services componen[ OK ]
    [root@localhost VBOXADDITIONS_4.0.0_69151]#


    Exit the terminal and restart the system to see the changes.

    Read more!

    Block Websites without any software

    This method uses window's hosts file. HOSTS file to maintain a personal list of web addresses. Any time a request is made for a URL, the HOSTS file will be checked first. If a corresponding address is found you will be directed to that IP without first consulting a DNS Server. The original intent of this file was to define where sites exist; we will use it in this context to define where they don’t exist.

    Lets first look at a HOSTS file entry

    127.0.0.1 localhost

    This is the loopback address for your machine for those cases where an application needs to reference the local machine by IP address- the loopback address will always be valid. This entry should never be changed.

    Now lets add an entry to block

    127.0.0.1 www.yahoo.com

    We are telling our local machine that Yahoo actually exists on the local machine. Any request for www.yahoo.com will be directed to the local machine and therefore effectively blocked. You could also use the IP of another website if you wanted to be creative.

    Let’s take a closer look at a URL http://www.yahoo.com

    * http:// defines the transfer protocol in this case Hyper Text Transport Protocol; this is the standard for viewing websites. Another common protocol is ftp:// for file transfer.
    * www is the host
    * yahoo.com is the domain
    * .com is further classified as the TLD (Top Level Domain)


    A HOSTS file entry will disregard the transfer protocol so it isn’t needed. However, the host does play an important role. A webmaster may choose to define a host for his/her website. “WWW” has become the universal standard for the default host. It is just as common to define a site with no host as well. This means that as far as DNS goes www.yahoo.com & yahoo.com are two totally different sites, even though they resolve to the same place. Because of this to effectively block the site, you must also block all hosts. This would usually mean:

    127.0.0.1 yahoo.com

    127.0.0.1 www.yahoo.com

    Now if you want to redirect yahoo.com to any other website then in place of 127.0.0.1 you just have to put the ip address of the site to which you want to redirect. For example

    209.85.231.104 yahoo.com

    209.85.231.104 corresponds to google.com. Now whenever someone tries to go to yahoo.com he will be redirected to google.com.

    Now question arises how to get the ip address of the website. Thats simple - Open Command prompt and type ping "your site (google.com for me)" and hit enter and you will get the ip address.


    This method is simple and working for IE and Firefox. IE also has a feature called CONTENT ADVISOR.

    Read more!

    Lock any folder without any software

    Here is the trick from which you can lock any folder in your computer. And it works on all windows (even win7).

    NoTe- Its different from invisble as well hidden folder. Here you need to have a password with which you can open your folder






    Here is the code:

    cls
    @ECHO OFF
    title Folder Locker
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    if NOT EXIST Locker goto MDLOCKER
    :CONFIRM
    echo Are you sure you want to Lock the folder(Y/N)
    set/p "cho=>"
    if %cho%==Y goto LOCK
    if %cho%==y goto LOCK
    if %cho%==n goto END
    if %cho%==N goto END
    echo Invalid choice.
    goto CONFIRM
    :LOCK
    ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    echo Folder locked
    goto End
    :UNLOCK
    echo Enter password to Unlock folder
    set/p "pass=>"
    if NOT %pass%==type your password here goto FAIL
    attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
    echo Folder Unlocked successfully
    goto End
    :FAIL
    echo Invalid password
    goto end
    :MDLOCKER
    md Locker
    echo Locker created successfully
    goto End
    :End


    Instructions:

    1) Copy the given code in a notepad and save the notepad in your pc with the name name.bat (that is with the extension of .bat). You can replace the name portion with anything u want.

    NoTe- In place of password in the code given type your desired password.

    2) A batch file will be created where you have saved. Now double click on it , it will make a folder with the name locker at the same place where the batch file is saved.

    3) Now add the files you want to be locked in that folder.

    4) Double click on the batch file. It will ask you about locking the folder formed. Type y(yes)and press enter. The folder will be locked and hidden.

    5) To unlock,double click on batch file again and enter the password in the new window opened.

    Read more!

    Dproto - Protocol 47 and 48 HLDS

    Dproto is a plugin for metamod that allows protocol 47 and 48 no-steam clients to join the server. Dproto was made as replace for cbooster on double-protocoling solutions area. dproto designed to work for new p.48 HLDS, so all steam features can be used with it. Dproto has one primary goal - to allow old clients to join new servers, all another features are secondary and they were added by users requests.


    Features:
    - Server accepts all known clients based on 47 and 48 protocols;
    - Customizable SteamIDs for clients;
    - Works with latest version of hlds;
    - built-in server-side emulation support.




    Current version: 0.4.8 DOWNLOAD
    Installing instructions included

    Please visit HERE for the latest update and the FAQs

    Read more!

    Half-Life Server Watch (HLSW)

    HLSW is a powerful gaming and remote administration-tool, useful for ambitious gamers and also for professional server administrators. From easy connecting to gameservers to live-reporting of a match into an Internet Relay Chat everthing is possible with HLSW. Because HLSW was made by gamers for gamers, main focus was to develop an ergonomic design.


    With its modular structure and the design of sections it gives you all the necessary information on every part of your gameserver with a single click. Just toggle the rcon section and you are able to administrate your server in a comfortable way within seconds.



    But HLSW supports even more: Let your friends know where are you playing and show serverdata in messenger programms like ICQ and IRC, so they know where you are playing.

    HLSW supports about 40 games overall with all their mods, and every update covers the newest games and changes.



    Here is the video tutorial on how to operate HLSW





    Read more!

    Bypass Windows Genuine Advantage Validation Check

    Firstly, you have to terminate the process form running on your computer secondly you have to change the name of the files that are running the process. Then change your desktop back to what you where using before.






    Here are the steps to remove it:

    1.Lauch RegEdit.

    2.Browse to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
    Windows NT\CurrentVersion\Winlogon\Notify

    3.Delete the folder 'WgaLogon' and all its contents9.Delete the folder 'WgaLogon' and all its contents

    4.Restart Windows XP in Safe Mode & Log in as Administator

    5.Lauch Windows Task Manager.

    6.End 'wgatray.exe' process in Task Manager.

    7.Delete 'WgaTray.exe' from c:\Windows\System32.

    8.Reboot Windows XP.

    Read more!

    Create free forum using myBB with free hosting!

    Introduction:
    This tutorial lets you to create your own free forum in 45 minutes. This includes how to setup free bulletin board software in your web hosting server and configure it.

    Web Hosting?
    If you own a domain, that’s well and good. But make sure your hosting supports PHP. In case if u don’t have domain, you can purchase it for as low as 800 Rs / Year from different Web Hosting services.

    Free Web Hosting:
    If you are not ready or to wish to buy a domain and still want to create and run your own free forum, there are so many free web hosting services available in the internet. If you still want to go for a free web hosting service, I recommended


    http://www.x10hosting.com


    x10hosting offers free web hosting service with cPanel and PHP support.

    It has two different plans, Ad Enhanced and Ad Free.

    Ad Enhanced gives you disk space up to 2.5 GB but you need to display their ads in your site/forum with 293 x 85 px banner.

    So I Recommended you to go for “Ad Free” account which offers 300 MB of disk space with 10 GB / Month Bandwidth. This is more than enough to begin a new forum. Though you have a very little disk space, you can allocate attachment sizes and if possible you can encourage your members to upload files to public file hosting services and give the link back in the forum.

    Step-by-Step Procedure to sign-up “Ad Free” Account:

    1. Open x10hosting homepage and click on “Apply Now” under “Ad Free”
    2. If you get a few pages with T.O.S, Keep Clicking on “Continue” button and agree all the T.O.S
    3. Then finally you will end up with “x10Hosting Service Sign-up” Page
    4. In “Step 1”, click on “Ad Free Plan”.
    5. Now select your desired domain. For example, yourname.x10hosting.com. Click on confirm domain to see whether if the domain is available or not. If the domain is available, you will get this message “The domain you’ve chosen is currently available!”
    6. Click on “Continue Process”, “Step 2” will get highlighted.
    7. In “Step 2”, enter your “Account Details” & “Personal Details”. Click on “Continue Process”
    8. In “Step 3”, agree the “TOS” and you will need to create an x10Hosting forum account before continuing.
    ou can click on “Click here to register a forum account now.” to register a forum account.
    9. Then if everything is correct, you will get this message, “Hosting account signup confirmation e-mail sent. Please check your e-mail for further instructions.”
    10. You will then receive a confirmation message. Confirm it. Then if it requires you to wait for few minutes or if you are unlucky, few hours!
    11. After the activation process is complete, you will receive an email which says, “x10Hosting - Ad-Free Hosting Account Created!” and it contains your account detail and the link to your cPanel.

    Now you have completed the hosting part successfully. And now its time to install the “Bulletin Board Software”

    Bulletin Board Software:
    There are so many free Bulletin Board Software available, such as phpBB and myBB etc.

    This tutorial teaches you to install ”myBB” software. myBB is a free Bulletin Board software with decent features and has some good help and support, loads of Mods and Skins are available to configure your forum and its easy too.

    myBB Homepage: http://www.mybboard.net/
    myBB Features: http://www.mybboard.net/features


    Now you have to download and extract the latest version of myBB software to a folder.

    Download: http://www.mybboard.net/downloads
    Version: MyBB 1.4.4:
    Size: 1.8 MB


    After the download is complete, extract the file using a WinZip or WinRAR.

    Now in order to install myBB to your server, you need good FTP Client Software.

    FTP Client:

    I recommend you download and install “FileZilla”, which is free and easy to use.

    Download the latest version of “FileZilla” Client from here: http://filezilla-project.org/

    Remember: Download the “FileZilla Client”

    Step-by-Step Procedure to install “My BB” using “FileZilla” Client:

    1. Open “File Client”
    2. Now enter your x10Hosting domain address in “Host” textbox.
    For example: yourname.x10
    3. Enter your x10Hosting username in “Username” textbox.
    4. And finally your password.
    5. Don’t enter the port address, just click “Quick Connect”
    6. Now you must be logged in to your x10Hosting server. And you can see a message “Directory listing successful” at the end.
    7. Now you need to upload a folder called “Upload” from your extracted “myBB folder”
    8. Open the “public_html” folder of your server from “Remote Site” explorer and delete a file called “Index.html” which will be created by x10Hosting. And keep the “public_html” opened. And Create a new directory called “forum” and open the folder.
    9. Under “Local Site” Directory explorer, navigate to the myBB folder that u have extracted. And open the folder called “Upload” and select all the file in it and “Right Click” and click on “Upload Menu” menu item.
    10. Now the uploading of files will begin and will take few minutes depending on your internet connection speed. Sit back and relax but don’t get away from your desktop, because it prompts for few overwriting in the middle. And stop all your browsing activity for a moment.
    11. Then when the file transfer completes, you will get a message as “File Transfer Successful”

    Now the Uploading part is complete and now you have to CHMOD the file.

    CHMOD:
    CHMODing is done to assign certain permissions to files and folders in your server. Like: Read, Write and Execute in numbers.

    CHMODing Files:
    You can easily CHMOD the files from your “FileZilla Client”.

    List of files you need to CHMOD in your server:

    filename - CHMOD Permission
    ——————————————–
    inc/config.php - 666
    inc/settings.php - 666
    uploads/ - 777
    uploads/avatars/ - 777
    inc/languages/english/ - 777
    admin/backups/ - 777

    To CHMOD a file or a folder:
    Navigate to the above items in your “forum” folder in FileZilla Client’s Remote Site Explorer, right click on each item and click on “File Attribution” and change the CHMOD permission number.

    For example, here I CHMODed inc/config.php

    Follow the same procedure CHMOD to all the other files and folders.

    After you complete CHMODing files and folders, follow these steps to install myBB on your server:

    Step-by-Step Procedure to install myBB in your server:

    1. In your browser, visit the URL where you installed your forums, appending /install/ on to the end of it.

    For example: yourname.x10hosting.com/forum/install/

    2. Now you can see the “myBB Installation Screen”

    3. Follow the steps and when you come to “Requirements Check” make sure everything is “Writable”. This means you have successfully CHMODed the files. Now click next.

    4. In “Database Configuration”, you have to enter the database information. Now you have to create a “Database” in your server.

    5. Open a new tab and Login to your cPanel. (For x10Hosting, you will receive the cPanel address in the mail.)

    6. Under “Databases” in your cPanel, open “MySQL Databases”

    7. Enter a Database name and click on “Create Database”

    8. Go back, now you can see the database name.

    9. Come back to “My BB Installation” tab. In “Database Username and Database Password” you have to enter the username and password of your host. And Enter Database Name (In my case the database name is “bloghell_BlogHell” as you see above). Leave the remaining as it is.

    10. Then Click on Next.

    11. Now the table creation takes place. And will finally receive this message, “All tables have been created, click Next to populate them.”

    12. From now, read the messages and keep clicking next. Until you get “Board Configuration” page.

    13. In “Board Configuration” page, enter all the Board Name and Website Name and its URLs

    Cookie Settings:
    Cookie Domain: This is the domain or subdomain that contains your forum. Usually a period/dot (”.”) is placed in front of this domain/subdomain in order to include all of its subdomains
    Cookie Path: This is the path from the root of your domain to your forum directory. The starting slash and ending slash should be included.

    Examples:
    1. If you forum URL is: http://www.myforum.com/ then your cookie domain must be: .myforum.com and the cookie path must be /

    2. If your forum URL is: http://www.mysite.com/forum/ then your cookie domain must be .mysite.com and the cookie path must be /forum/

    3. If your forum URL is: http://yourforum.yoursite.com/forum/ then your cookie domain must be .yourforum.yoursite.com and the cookie path must be /forum/
    If you are on x10Hosting, then you should follow the third example.

    In my case, the Cookie Domain is .bloghell.x10hosting.com and the Cookie Path is /forum/

    After you enter all the details, click next and create the admin ID and click next to complete the setup. Then you will get the finish setup screen and you have completed the installation successfully. Now you can open your new forum and login to your admin account!

    When you follow this tutorial, your forum URL will be:


    http://yourname.x10hosting.com/forum



    But when you visit, http://yourname.x10hosting.com, you get a directory listing because you had deleted the index.html at the beginning. So u can create your own webpage and name it as index.html using any html editors and upload it to the public_html folder using your FTP Client. Or if not you can just login to your cPanel and setup a redirect.

    Thanks for reading the tutorial

    compiled by:santhosh

    Read more!