Application security encompasses measures taken throughout the application's life-cycle to prevent exceptions in the security policy of an application or the underlying system (vulnerabilities) through flaws in the design, development, deployment, upgrade, or maintenance of the application.

Saturday, August 18, 2012

How and Why to Root your Android ...

You have heard from your friends and colleagues “rooting” their android phones/tabs. If you’ve ever wondered how to do that yourself then using this post, you can root your android in just a few minutes.

What is “Root,” Anyway?

Rooting your phone means giving yourself root, or superuser access, giving you access to system files and the ability to change things that normally are marked read only.Roooting allows you to change various aspects of the phone that are typically locked by the software or manufacturer. Additionally, you can install custom versions of the Android OS on a rooted phone.

Rooting Terms

Once you learn more about the rooting process, you'll find bunch of terms that can be confusing. Here are some of the most important ones and what they mean.

Root: Rooting means you have root access to your device that is, it can run the sudo command, and has enhanced privileges allowing it to run applications like wireless tether or setCPU. You can root either by installing the Superuser application by flashing a custom ROM that has root access included.

ROM: A ROM is a modified version of android. It may contain extra features, a different look, speed enhancements, or even a version of android that hasn't been released yet. Will discuss more on the coming posts.

Flash: Flashing essentially means installing something on your device, whether it be a ROM, a kernel, or something else that comes in the form of a ZIP file. Sometimes the rooting process requires flashing ZIP file, sometimes it doesn't.

Bootloader: Your bootloader is the lowest level of software on your phone, running all the code that's necessary to start up your operating system. Most bootloaders come locked, which keeps you from rooting your phone. Unlocking your bootloader doesn't root your phone directly, but it does allow you to root, then flash custom ROMs if you so desire.

Recovery: Your recovery is the software on your phone that lets you make backups, flash ROMs, and perform other system-level tasks. The default recoveries can't do much, but you can flash a custom recovery like ClockworkMod after you've unlocked your bootloader that will give you much more control over your device. This is often an integral part of the rooting process.

ADB: ADB stands for Android Debug Bridge, and it's a command line tool for your computer that can communicate with an android device you've connected to it. It's part of the android (SDK). Many of the root tools below use ADB, whether you're typing the commands yourself or not. Unless the instructions call for installing the SDK and running ADB commands, you won't need to mess with it—you'll just need to know that it's what most of the tools use to root your phone.

Warnings

Before you root your Android phone or tablet, there are a few things you should be aware of:

Warranty: Some manufacturers assert that rooting voids your device’s warranty. However, rooting will not actually damage your hardware. You can “unroot” your device and manufacturers won’t be able to tell if it’s been rooted.

Security: Google Wallet, in particular, has a vulnerability on rooted devices that could allow other apps to access your PIN and other wallet information.  Google Wallet displays a warning message if you run it on a rooted device. If you’re one of the few people using Google Wallet for NFC payments, you may want to reconsider rooting your device.

Bricking: Rooting a device is a very safe process. However, there’s always some danger of “bricking” a device when you go outside the normal parameters and hack around with it,  particularly if you’re trying to root a device or operating system version not supported by a tool. “Bricking” refers to breaking the device, making it about as useful as a brick. When you root, jailbreak, or install a custom ROM, or otherwise hack around, you do so at your own risk. It’s a good idea to do a little bit of research first and see if other people report success rooting your device.

Prerequisites

Download and install the Java JDK and Android SDK on your computer before continuing. Java must be installed before the Android SDK. Enable USB debugging on your Android. On the device, go into the Settings screen, tap Applications, tap Development, and enable the USB debugging check box.


Connect your Android to your computer using its included USB cable. Don’t mount the device’s SD card on your computer – just plug it in.

You’ll also need the USB drivers for your phone or tablet installed. SuperOneClick itself should be able to automatically install the appropriate drivers – however, if this fails, you’ll need to download and install the appropriate drivers from the device manufacturer’s website.

Rooting With SuperOneClick

Download SuperOneClick onto the Windows computer. If you’re already a registered user on the XDA site, you can download from the Attached Files posted at the end of the initial XDA post. Otherwise, search for the link of the latest version on the blog of the SuperOneClick developer.


Once downloaded, unzip the folder and run SuperOneClick.exe. Then plug your Android into the computer via the USB cable that came with the phone. Finally, click the Root button on SuperOneClick. If you’re using a phone with a NAND lock and you haven’t unlocked it yet with Unrevoked, click the Shell Root button instead of Root.



Then restart the android device after rooting.

No comments:

Post a Comment