[Guide] How to setup and execute ADB and FASTBOOT on your Windows PC very easily

So, first of all you might be asking what is ADB ?

It’s  basically a tool through which you can issue shell commands via your computer to your phone. ADB stands for Android Debug Bridge. It comes as a part of the standard Android SDK, which you can grab here. Basically, it provides a terminal-based interface for interacting with your phone’s operating system. Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access often required to perform certain advanced operations on your device using root access.

You can also directly issue commands by installing a terminal applications like terminal emulator, but it’s not handy to execute complex commands on such a small screen.
So, want to get into the android era?

  1. So, first step is to get the android SDK on your computer from here. Just download the installer and install it to any drive, in this guide I am installing to a folder called android in C drive i.e (C:\android).

    This slideshow requires JavaScript.

  2. after installation has completed just click finish and it will automatically launch the SDK Manager. Now select both the option i.e platform tools and SDK tools and accept it and click Install. Once the process is done, you will have a ‘platform-tools’ folder inside your (C:\android) folder. That folder will have your ADB and all its dependencies.
  3. Now, set the path variable. So, that you can easily issue commands via any location in cmd.To make ADB along with other Android SDK tools and platform tools easily accessible from anywhere at the command line, we shall add their paths to the PATH environment variable.
  4. Right-click on the ‘Computer’ icon and click ‘Properties’. Now click ‘Advanced System Settings’ from the options in the left pane to bring up the ‘System Properties window. In the ‘System Properties’ window, click the Environment Variables button on the ‘Advanced’ tab. 
  5. Go-to the ‘Path’ in the ‘System variables’ section and double-click it to edit it and click on the text box and bring the cursor to the last.
  6. Just add the below lines at the end of it, including both the semi-colons:
  7. ;c:\android\tools;c:\android\platform-tools

    Note:If you have installed the SDK’s contents to another directory, make sure to use that one for your PATH variable.
    Notice that the semi-colons are necessary to separate each path variable entry from the next and previous ones.

  8. Reboot your machine.

USB Driver installation (Optional if you already have your driver software pre-installed).

  • The first step will be to download the USB drivers. To do this, launch SDK Manager from the SDK(android) folder and click on ‘Available packages’ in the left pane.
  • Expand ‘Third party Add-ons’ followed by ‘Google Inc. add-ons’ and check ‘Google Usb Driver package’,
  • Click ‘Install Selected’ and in the window that pops up, click the ‘Accept all’ radio button followed by the ‘Install’ button. After the installations completed. The drivers for both 32 bit and 64 bit systems will now be present in the SDK(C:\android) folder under ‘usb_driver\x86′ and ‘usb_driver\x64′ sub-folders respectively.
  • Now, on the device(your mobile) go to Menu, select Settings > Applications > Development and enable USB Debugging.
  • Manually browse to the location of the driver and select whether it’s x64 or x86 depending on your OS version and click OK then Next. Now open Device manager and manually install the driver.
  • Once drivers have installed, you can verify successful installation by going to Device Manager. Your phone should be showing under ‘ADB Interface’, like the below screenshot.

Now, all the settings has been done. So, now it’s time to verify your ADB is working properly.

Open Command prompt by pressing  WinKey+R > type cmd” > type ” adb devices “.

Now, it should list your android devices with the serial ID as shown.

Now, for a list of commands of adb go here.

How to install any version(including modified versions) of windows7 via CMD to USB drive

Image representing Windows as depicted in Crun...

After lots of request from our reader and followers now I am going post the best and very simple method to install Windows7 via USB drive.

So, today I am going to post a article about installing windows 7 via USB drive, this because in-case if you got a net-book which doesn’t have the DVD drive or your DVD drive is faulty then you came to the right place. You can also use these step to create boot-able USB Disk for Windows repair disks/any windows Vista also. Ok, enough talks, lets get started.

So, at very firstly what you’ll need is as follows:
  • A Windows 7 DVD/Physical Disk or an ISO file of your copy of windows or the ISO or an IMAGE-file of what you want to make it boot-able..
  • USB Drive (4GB or higher depending on your Windows version.(You can even use external HDD also)(If you are creating repair disk than you can use 1GB is enough).
  • A working system(recommended Windows-7) to prepare the USB drive.

STEPS:

PART-1

1.) Plug in your USB drive to your computer.
2.) Open Command Prompt under administrator right. Start>All Programs>Accessories>Command Promt.
Run as administrator

open an elevated command prompt

Right Click On Command Prompt and choose Run as Administrator(In case of windows 7). ( other users just run it under a administrator type account)

3.) In the command prompt, type ” diskpart ” and press Enter.
diskpart command

diskpart command line utility in windows 7

4) Then type “LIST DISK” press ENTER(It will list all the HardDisk drives and removable drives).
5) Now type  “SELECT DISK 3”  (In my case I have selected 3 as my selection but it depends upon you, what you want to select
(e.g.Check for the size that is similar to your USB drive, in my case it is a 8GB pen drive)
6) After you have selected the disk, then type  ” CLEAN ” press ENTER. ( It basically clean your previous partition table for the USB drive)
7)Now type ” CREATE PARTITION PRIMARY ” and press ENTER. (It will create a primary partition on the USB drive).
8)Now type ” SELECT PARTITION 1 ” (It will select the partition that you have just created).
9)Now type ” ACTIVE ” . (It will mark the partition as Active).
10)Now type ” FORMAT FS=NTFS QUICK “.(It will format your USB drive with ntfs file system).
11.) Now type ” ASSIGN “.
12. Now type ” EXIT “.

PART-2:

1.) Now, insert your WIN-7  DVD to your drive or Mount your ISO to the Virtual drive and remember the letter.(In my case it is H).
and also remember the USB drives drive letter also.(In my case it is J)
2.) Now, again start (an elevated command prompt) cmd as you did in previous step.
3.) Now, type “ h: “.(It will change your drive to H:).
4.) Now type “ cd boot “. (It will change your drive to boot folder).
5.) Now type ” BOOTSECT.EXE /NT60 J: “.(It will update your USB drives MBR to bootable).(Here J: is my USB drive).

So, Now copy all the contents(or all files of the Win7 iso) from the DVD drive to your USB.

whoaa!!!. That’s it your USB drive is now bootable.

Now, Start your computer and change the boot order of the first boot drive as USB drive or
also you can temporarily select the boot device by using the start-up key of your BIOS.

e.g:  F2, F11, F12, Esc, F8, Del etc.(Press any one of this on the BIOS screen)

 

Any droughts please don’t hesitate to ask in comments below…

Turning your Wi-Fi card into a Virtual Wireless Router

Share Your any Internet Connection very easily and quick!!!!wifi logo

All thanks to Manash for giving me this liberty to rampage his blog.

Okay, so my last month was quite frustrating…I could not find a way to share my broadband connection with my new Android Phone-Motorola MB511(AT&T),  for my initial MotoBlur account setup process and staidly there was no freaking way to bypass it :((. If only I had a wireless router :(( !!!. Nevertheless a few researches on Google revealed the fact that we can actually use a Wi-Fi card as a virtual wireless router under Windows 7!! :)).  Literally, there are many softwares available on the net that makes this simple task even simpler but then we all love the command prompt(the geek’s way).. don’t we ???.

Here’s how we do it using the command prompt….

  1. *Turn on your Wi-Fi
  2. *Start your command prompt as Administrator and punch the commands below
  3. =>netsh wlan set hostednetwork ssid=TechDiarywifi key=1234567890
    *where “TechDiarywifi” is the name of the wi-fi Access Point and “1234567890” is the passkey of the wifi AP.
  4. *Now open Control Panel>Network and Internet> Network Connections and you will find a new Microsoft Virtual WiFi Miniport Adapter (Wireless Network Connection”X”) where “X” is a number that will depend on the number of network connections that you have. In my case it is “2” & hence Wireless Network Connection 2.
  5. *For sharing your broadband connection over this hosted network click on your Broadband LAN Connection properties > Click on “Sharing” tab at the top. Under Internet Connection sharing, check the option “Allow other users to connect through this computer’s internet connection”.
  6. *Now we can start our hosted network. On command prompt type
  7. =>netsh wlan start hostednetwork
  8. **Sharing your internet connection is now easy. Just turn on the Wi-Fi  on your android phone/tablet/lappy/netbook (generally the client device from where you want to connect to the “TechDiarywifi” network that you have created). Give it a few minutes before it detects your Wi-Fi network and then enter your password to login. 
  9. *To stop the hosted network at any point type in=>netsh wlan stop hostednetwork
  10. Using this process you can share any internet connection over Wi-Fi !!( even you’r USB dongle’s internet connection via your Laptop Wi-Fi !!).

Make almost any ISO USB bootable in a minutes…

USB Flash Drive SuperTalent Pico-C 8 GB. Stain...

Now a days all the computers have a native support for USB booting i.e. you can install or run Operating system from a USB drive.

There are many ways to do so, but what my personal choice is UNetbootin, it’s a very powerfull utility through which you can convert any ISO files or image files to make it boot or start from the USB drive instantly without burning to a physical media(saving time and cost).The best part is it support almost all the latest Linux Ditribution as well as rescue CD’s…

What you will need :
Download the latest version from here .

STEPS:

1. Run UNetbootin as Administrator or if you are on windows XP just start it like any other application.

2.Now, select the second option Diskimage and choose ISO from the dropdown list and select the browse(…) button just next to it and select your ISO that you want to create.


 

3.Now select the type USB and then select your drive letter carefully for the USB drive and Click OK.

Now, grab some fresh air and your drive is ready!!!!!!!!!