• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Rooting and backup

Yeah, I can see how that is confusing, @pwabrahams...

There are really several ways to think about how that is suggested and phrased--mainly because of the manner/method in which is root is achieved.

You typically need to root in order to get a custom recovery installed--but not always. For example, on a device with an unlocked bootloader (like a Nexus), if you have a custom recovery installed (or booted-up--you don't actually have to install it by overwriting the stock recovery), you can take a snapshot (by doing a Nandroid backup) of your current stock ROM/setup--all without having to root your device.

I'm guessing that most of the suggested, best practice of taking a Nandroid backup is to do so as early, soon as possible after rooting and certainly before you make any changes to your /system partition. This is/was encouraged mainly so that you have a means to recovery and reverting back to a known, good, working state should something go awry.

So, you can take a Nandroid backup on an unrooted device--but only for devices that have a custom recovery available and a means for flashing or soft-booting it. Otherwise, you do need to be rooted in order to get your custom recovery installed.

[it's also important to note that the Nexus devices have widely available factory images, so doing this for those devices is only useful if you want to save the current state of whatever ROM you have installed--stock or custom or stock/rooted, etc...]

Does that help / make any sense? :)

Cheers!
 
  • Like
Reactions: Jfalls63
Upvote 0
You typically need to root in order to get a custom recovery installed--but not always. For example, on a device with an unlocked bootloader (like a Nexus), if you have a custom recovery installed (or booted-up--you don't actually have to install it by overwriting the stock recovery), you can take a snapshot (by doing a Nandroid backup) of your current stock ROM/setup--all without having to root your device.

According to the Motorola webpage, it's possible to unlock the bootloader, and they give instructions on how to do it. The trouble, though, is that the instructions require you to be in recovery mode (the mode you get into by pressing the power and volume down buttons together). But in that mode, adb does not see the phone; its list of devices is empty. On the other hand, if I try to fastboot from the PC when not in recovery mode, fastboot just hangs waiting for the device. So I'm damned if I do and damned if I don't.

Are there any settings in the Developer area on the phone, perhaps, that might resolve this issue?
 
Upvote 0
Only fastboot can see your device while in fastboot / bootloader mode--it often requires fastboot-specific USB drivers--i.e., ones that differ from the adb drivers.

adb only works when an Android kernel is booted-up, i.e., either in normal Android with USB debugging enabled and the RSA fingerprint verified or in custom recovery (also, you often have to disable MTP to get adb to connect in custom recovery). The adb utility also often requires it own special USB drivers.

(note: USB drivers are not typically an issue when using a Mac or Linux, although you need to start the adb server from root)

So you'll use fastboot to unlock the bootloader and not adb.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones