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

Root Help: How do I backup Milstone Stock ROM prior to modification

rndinit0

Newbie
May 31, 2010
11
4
Kuwait
I've read the http://androidforums.com/motorola-milestone/75460-milestone-2-1-update-root-guide.html, and I think I'm pretty comfortable with the instructions.

Here is whats keeping me from doing it:


  • I have Android 2.1-update1, with arabic enabled (stock emea ROM)
  • What if I decide that in the future I want to unroot my device and restore the stock ROM, I have no idea how to do that.
  • Is there a version to take a reliable clone/backup of the Milestone?
  • How can I check the version of my Milestones Bootloader version before proceeding. (*Covered in Guide linked above*)
Details:
Firmware Version:
2.1-update1

Firmware configuration version:
GAS_EMEA_USASHLS00RTARAB_P006

Baseband version:
3GSMEPU91A_U_91.07.4EI

Basband configuration version:
UCAASHLSMR2EMEAB1B805C.0R

Kernel Version
2.6.29-omap1
wxnk36@ca25rhe75#1

Build Number:
SHOLS_U2_02.27.6
 
  • Like
Reactions: hosmia
Check the version of your bootloader:
1. turn off your phone
2. turn it on by holding the d-pad up on the physical keyboard and the power button until the screen flashes, then release
3. you'll be presented with the bootloader screen

Make a nandroid backup:
1. download ADB Recovery -> ADBrecovery v6-1.zip
2. copy the content of the ZIP to your SDCARD (there should be a "recovery" folder and an "update.zip" file, you need to copy both to the root of your SDCARD)
3. download the Android SDK -> Android SDK | Android Developers
4. extract the Android SDK to a folder of your choice
5. on your phone go to "Settings -> Applications -> Development" and select "USB debugging"
6. turn off your phone and start it by holding the camera and power button (a /!\ sign should appear - if it doesn't you're doing it wrong or you have the newest bootloader and should power up the phone using the "X" key on your physical keyboard together with the power button)
7. after you get the /!\ sign press the volume up and camera button
8. from the menu select "apply update.zip" (you can move around using the d-pad and confirm your selection with the d-pad)
9. after the update.zip loads you should be at a similar screen with a bit of extra info on it
10. connect your phone to your PC using the USB cable
11. open the console on your computer (Start -> Run -> cmd)
12. navigate to where you extracted your Android SDK and then navigate to the "tools" directory inside the Android SDK dir
13. write the following commands
Code:
adb shell
nandroid-mobile.sh --backup
It should then ask you for a name for your backup. You can leave it blank or write something of your choice
14. after the backup is done, you can "exit" the adb shell and restart your phone

NOTE: If you need to restore your nandroid backup, just replace the "backup" from step 13 with "restore" and select the name of your backup.
 
Upvote 0
Thanks for your help on this fejker, but I think Ill need some more advice.
Here is what happens when I follow your instructions:
*My bootloader version is 90.78

Any Ideas as to what might be the problem?
Do I need to root the phone prior to making a backup?


Code:
E:Can't open /cache/recovery/command

-- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:EOCD marker occurs after start of EOCD
E:Signature verification failed
Installation aborted.
 
Upvote 0
Ok got it =)

For reference here is what I did wrong:


  • I held X key and power key, instead of Power and Dpad UP.
Yes I know the guide instructs D-Pad up, but for some odd reason my brain reasoned those instructions are for older boot loader versions. Which is why I held X & Power instead.

So after printing and highlighting important lines I came to realize this.

Thank you all for your help =)
 
Upvote 0
Dear all members, I'm new here and I wanna ask about the same question here...

Is it works on my Milestone?
I mean the step that given by fejker works on my APAC ROM?

This is the details:

Model number:
Milestone

Firmware version:
2.1-update1

Firmware configuration version:
GAS_EMEA_USASHLS00STARSG_P016

Baseband version:
3GSMEPU91A_U_91.07.4EI

Baseband configuration version:
UCASHLSMR2EMEAB1B805C.0R

Kernel version:
2.6.29-omap1
a21146@ca25rhe74 #1

Build number:
SHOLS_U2_02.31.0
And, can I change the bootscreen?

Thx in advance guys...
 
Upvote 0
I'm quite new to this so hope you guys don't mind answering this simple question:

Do I need to root my phone first before I complete the steps below to do a backup?

Thanks



Check the version of your bootloader:
1. turn off your phone
2. turn it on by holding the d-pad up on the physical keyboard and the power button until the screen flashes, then release
3. you'll be presented with the bootloader screen

Make a nandroid backup:
1. download ADB Recovery -> ADBrecovery v6-1.zip
2. copy the content of the ZIP to your SDCARD (there should be a "recovery" folder and an "update.zip" file, you need to copy both to the root of your SDCARD)
3. download the Android SDK -> Android SDK | Android Developers
4. extract the Android SDK to a folder of your choice
5. on your phone go to "Settings -> Applications -> Development" and select "USB debugging"
6. turn off your phone and start it by holding the camera and power button (a /!\ sign should appear - if it doesn't you're doing it wrong or you have the newest bootloader and should power up the phone using the "X" key on your physical keyboard together with the power button)
7. after you get the /!\ sign press the volume up and camera button
8. from the menu select "apply update.zip" (you can move around using the d-pad and confirm your selection with the d-pad)
9. after the update.zip loads you should be at a similar screen with a bit of extra info on it
10. connect your phone to your PC using the USB cable
11. open the console on your computer (Start -> Run -> cmd)
12. navigate to where you extracted your Android SDK and then navigate to the "tools" directory inside the Android SDK dir
13. write the following commands
Code:
adb shell
nandroid-mobile.sh --backup
It should then ask you for a name for your backup. You can leave it blank or write something of your choice
14. after the backup is done, you can "exit" the adb shell and restart your phone

NOTE: If you need to restore your nandroid backup, just replace the "backup" from step 13 with "restore" and select the name of your backup.
 
Upvote 0
I was wondering, at step 10 it says connect to pc, but at what part do we disconnect? After step 5? Also, I got an error using X+power and then update:
Code:
E:Can't open /cache/recovery/command

-- Install from sdcard...
Finding update package...
Opening update package...
Verifying update package...
E:EOCD marker occurs after start of EOCD
E:Signature verification failed
Installation aborted.
rndinit0 fixed that by holding up+power, but when I do that, I get a screen with the bootloader version (90,78) and battery ok, ok to program, connect USB Data Cable, no /!\ :s

btw, I haven't rooted, I want this backup just in case I mess up the rooting process
 
Upvote 0
I recommend you flash the Open Recovery by GOT or just the OpenRecovery:

1) G.O.T.’s OpenRecovery G.O.T.'s Blog

2) [GUIDE] Root + Nandroid Backup/Restore with Open Recovery - xda-developers

I prefer #1. But whatever. They both work well. You can deal with command line and stuff and its not hard, but when you do it randomly like I am wasting my lunch break at work without a USB cable, you will want something easy like Open Recovery.

Just like a lot of people have memorized their shell commands and mounting R/W or R/O for the system partition, I'm a cheater and I do it all in root Explorer. I keep it dumb so I don't have to memorize too much or think too much. As long as it makes sense. It's easy enough I could do it while drunk.

Do the Nandroid backup through Open Recovery and you'll be done. Voila.
 
Upvote 0
Hello,

Sorry to revamp an old thread, but I've been trying to understand the backup and rooting process for a while not and I'm missing something that I can't find explained anywhere.

In order to execute the process described above, or to execute any of the other backup processes described out there (e.g., Nandroid), root is required. In order to gain root, you need to install a custom ROM. If you install a custom ROM, then isn't the concept of backing up the stock ROM a moot point since you just installed a custom?

In my case I'm using a HTC Desire Z, which means I need to use gfree to root (VISIONary does not work with ROM 1.82 - I tried), and gfree needs me to downgrade to ROM 1.32. If I do that, then my stock ROM is already gone, no?? Or am I misunderstanding something about the backup/rooting process?

Thanks very much.
 
Upvote 0
Hello,

Sorry to revamp an old thread, but I've been trying to understand the backup and rooting process for a while not and I'm missing something that I can't find explained anywhere.

In order to execute the process described above, or to execute any of the other backup processes described out there (e.g., Nandroid), root is required. In order to gain root, you need to install a custom ROM. If you install a custom ROM, then isn't the concept of backing up the stock ROM a moot point since you just installed a custom?

In my case I'm using a HTC Desire Z, which means I need to use gfree to root (VISIONary does not work with ROM 1.82 - I tried), and gfree needs me to downgrade to ROM 1.32. If I do that, then my stock ROM is already gone, no?? Or am I misunderstanding something about the backup/rooting process?

Thanks very much.

I guess you're in the wrong forum. This is a motorola Milestone forum.
You'd better ask your question in the HTC Desire Z section (if that exists).

But to answer your question: with the Miletstone you do not really need to install a custom rom. You can use your stock ROM and get root on that one and make a nandroid backup of that.
 
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