Skip to Content
XDA Developers' Android Hacker's Toolkit
book

XDA Developers' Android Hacker's Toolkit

by Jason Tyler, Will Verduzco
May 2012
Beginner
192 pages
3h 40m
English
Wiley
Content preview from XDA Developers' Android Hacker's Toolkit

Chapter 3: The Right Tool for the Job

In this chapter:

• Hardware and prerequisites for hacking

• Android Debug Bridge basic commands

• Fastboot commands

• The ADB shell

Most root procedures rely on similar tools. The processes, exploits, and level of access may differ, but the toolkit you use to get a device to run with S-OFF or root file system access will always be fairly small. A solid understanding of the tools and how they are used will help you with your comfort level when rooting a new device.

Ready, Set, . . . Wait I Have to Have What?

Before starting most hacking jobs, or even an Android exploratory mission, you need to be able to connect your phone to your computer and you need access to hacking tools.

Connecting a Phone to a Computer

You need to make sure that you have an appropriate cable for the physical connection to a PC and drivers to enable your computer to make sense of the connection. Many devices ship without drivers—they depend on native drivers included with the operating system installed on your computer.

Depending on the modes your device has when connected to a computer, the computer may recognize it as a mass-storage device and connect to it as if it were an external hard drive or memory card.

You need to install some form of debug or developer driver on your computer and make sure that USB Debugging (debug mode) is enabled for any interactions between the computer and the phone. Debug mode opens the connection with your computer and allows signals ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

50 Android Hacks

50 Android Hacks

Carlos Sessa
Decompiling Android

Decompiling Android

Godfrey Nolan
Android Security

Android Security

Anmol Misra, Abhishek Dubey
Learning Embedded Android N Programming

Learning Embedded Android N Programming

Ivan Morgillo, Stefano Viola

Publisher Resources

ISBN: 9781119961550Purchase book