Dead touchscreen? This Android tool lets you extract files from an unresponsive phone


Android ADB

Jack Wallen/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET’s key takeaways

  • As long as your Android phone can power on, you can extract files from it.
  • Using the command-line ADB tool gives you plenty of power.
  • ADB is free and can be used on Linux, MacOS, and Windows.

Have you ever dropped your phone and realized, as it fell in slow motion to the concrete below, that something bad was about to happen?

You pick up the device to see a spiderweb of cracks running across the display. No matter how you touch the screen, the phone simply won’t react.

Gasp! What do you do? 

You’ll do one of three things: take it to a repair shop, attempt to fix it yourself, or get a new phone. If your screen is shattered, you probably can’t even turn on Repair Mode.

Also: I’ve used Android Auto with Gemini for 2 months now – it’s transformed my drives in 4 ways

But what if you need to get some files off that device immediately? Maybe your resume was on that phone, and a recruiter has requested a copy tout de suite. How do you pull off that little feat?

You have options. First, if you have access to a MacBook, iMac, or Mac Studio, you could use MacDroid to retrieve that file. If you don’t have access to an Apple device, you may have to turn to ADB, which stands for Android Debug Bridge, a command-line tool that enables you to communicate with and control your device from a computer.

Sounds a bit daunting? I’ll show you how to use this tool.

ADB can be installed on Linux, MacOS, and Windows, and it works the same across all three platforms. I’m going to install it on Pop!_OS Linux, then walk you through the commands to grab that file from your phone.

Are you ready for this?

How to install ADB

I’m going to demonstrate this on a Ubuntu-based Linux distribution. If you use MacOS or Windows, you can download and install the Android SDK. You can also download the source file for the SDK from that same site, but I want to show you an easier way.

First, open your terminal window app on Linux.


Show more

From the terminal window, issue the following command to install the necessary software:


Show more

sudo apt-get install adb android-tools-adb android-tools-fastboot -y

You then have to enable Developer Options on your Android device. This is done by opening Settings, going to “About phone,” scrolling to the bottom of the page, and tapping “Build number” seven times, at which point you should see a notification indicating that you are now a developer.

Fun times.


Show more

Go to Settings > “Developer options” and look for USB Debugging. Tap the On/Off slider for USB Debugging until it’s in the On position.


Show more

Android ADB

You have to enable USB debugging; otherwise, ADB won’t be able to see your phone.

Screenshot by Jack Wallen/ZDNET

Plug your phone into your computer.


Show more

Back at the terminal window, issue the command:


Show more

adb devices

You should see something like this in the output:

List of devices attached

47081FDAP003XV device

Also: How to enter Safe Mode on your Android phone – and when’s the right time to do it

Congratulations, ADB can see your device. Now, let me show you how to download that file onto your PC.

Downloading a file with ADB

It’s actually quite simple. The only caveat is that you have to know where your file is stored on your device. 

Let’s say the file is named resume.pdf and is stored in the Documents folder, which should be something like this:

/storage/emulated/0/Documents

To download that file to the Documents folder on your PC, the command would be:

adb pull /storage/emulated/0/Documents/resume.pdf ~/Documents

And that’s it!

But what do you do if you don’t know the file’s location? ADB has you covered. Issue the command:

adb shell ls

This will print out a list of all the directories on your phone. You could then issue:

adb shell ls storage

You should see:

emulated

self

Issue the command:

adb shell ls storage/emulated

You should see something like:

0

11

obb

You see where this goes. Keep searching with the adb shell ls command until you find the exact location of your file, and then pull it to your PC. 

Also: How to turn on Private DNS Mode on Android – and why it’s a must for security

You can view the entire list of ADB commands on Linux with the command:

man adb

Congratulations, you now know how to grab files from an Android phone, so long as that device can power on.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


I consider myself part of many fandoms. Some are from my childhood, others from college, and now, as a young adult, but they all mean something to me on some level. One of those just happens to be Star Wars.

For years, I have adored the Star Wars franchise, mainly because I grew up on those movies. But I must admit, the best Star Wars film isn’t one of the classics from the 1970s and 1980s. No, it’s actually a rather new one—and it’s time you gave it the praise it deserves.

Rogue One is the best Star Wars movie by far

It simply can’t be beaten

Jyn Erso in Rogue One: A Star Wars Story speaking to someone. Credit: Lucasfilm

So hear me out.

What are my credentials to say this? Really, none except for the fact that I grew up watching the entire franchise, as I’m sure most people reading this article did. I am a fan whose brother was obsessed with Luke Skywalker and Han Solo and whose father would meticulously quote Yoda as if he were real. I was raised on Star Wars, both the Star Wars movies and TV shows.

So I must admit that I’ve watched the first movies a few times, the prequel films many times, and, of course, the sequel movies. And they’re all great. Trust me. They are. But to me, Rogue One, otherwise known as Rogue One: A Star Wars Story, is the best film in the series.


Star Wars logo.


8 Classic Star Wars Games Every Fan Should Play At Least Once

Enjoy these games, you will.

You can’t really surpass some of the iconic moments that have cemented themselves into movie history from the originals, such as the legendary reveal of Darth Vader being Luke’s father, Han and Leia’s love exchange, and, of course, the epic lightsaber fights that happen in both the original films and the prequels.

But I think what makes Rogue One the best Star Wars film is that it’s the perfect movie set in the Star Wars universe, with a plot that matters without trying to be anything else. It doesn’t aim to become bigger than it originally was—a story about a group of rebels who begin the entire story of A New Hope thanks to what they did.

The characters make it so much more enthralling

My favorite ones come from here!

I think what really stands out in Rogue One is the memorable characters. One was so memorable and beloved that Disney created a critically acclaimed TV show about the character. That’s how you know they were good.

But they weren’t just well-written characters with complex backstories and interesting comedic bits. They were likable. I feel like a lot of Star Wars characters fall into an unlikable trap.

There are plenty of characters who are likable and memorable, but I’m not entirely sure their stories are as fleshed out, so we see their flaws much more easily. I honestly think a big reason fans didn’t like Rey as much was that her story didn’t feel as well-told. They tried to make her bigger than she needed to be—her original story, of just being a random girl with the Force who had no connection to anything else, felt a lot more original than her being a granddaughter of Palpatine.

That’s what makes Jyn Erso (played by Felicity Jones), the main protagonist of Rogue One, so good. Yes, she is the daughter of an Imperial scientist, but she doesn’t have any powers, secret abilities, or anything like that. She’s a rebel who aims to help and is very human and flawed but does her best. Those traits are carried out throughout every character we meet in Rogue One, including Cassian Andor (Diego Luna).​​​​​​​

The action and special effects are top-tier

The BEST blaster fights

A ship explodes from bombs in Rogue One: A Star Wars Story. Credit: Lucasfilm

I know for a fact that the sequel films fell into a bad rhythm with their action. It didn’t feel as well-choreographed or as well-executed as the special effects in previous films. But with Rogue One? It never feels like that.

I honestly believe it’s because the movie is more grounded in war than in epic space battles and moving things with the force all the time. It’s about a group of humans and droids who are trying to work together to bring an end to the Empire. Most of them don’t really have powers, and that leads to some really well-done sequences that feel real in ways where even we could relate to them.

Of course, there’s that epic final scene of Darth Vader basically destroying and killing everyone with his skills and the force, but that doesn’t feel pushed into the story. That feels authentically woven into the storyline and done in a way that shows his power and how it connects to the overall story. That’s an effective way to use that kind of power.

War-focused action with a little hint of those special effects made this so much better.

The original films are still great, but just not my favorite

Jyn and Cassian have my heart

I’m not saying I don’t love the original Star Wars movies because that is not the case. I love the originals and the sequels with a heavy passion. There’s a reason why most Star Wars board and card games are centered around those characters—we love them because we grew up with them.

From a theatrical perspective, with its compelling story, well-developed characters, and impressive effects, Rogue One stands out as the supreme leader of the series. I genuinely cannot find a fault in this film within the grand timeline of the Star Wars universe, and honestly, I wish we got more of movies like this.

Grounded Star Wars feels so much more relatable, and I think that’s a big reason why Rogue One is successful. As much as we love the powers and the Force and epic lightsaber fights, we would all most likely be like Jyn or Cassian, rebels trying to fight for the greater good. And I think that’s beautiful.

Either way, we’ll still be getting plenty of new Star Wars content soon, including a Darth Maul show, apparently. Maybe something new will surpass Rogue One. But for now, I doubt it. And if you haven’t seen Rogue One, you should check it out on Disney+.

Subscription with ads

Yes, the Disney Basic plan

Simultaneous streams

Up to 4




Source link