I know how you feel about the writeups at xda....
I'll tell you how to backup/restore, but for compiling, you're on your
own.
* backup requires you to have an SDCARD installed with sufficient free
space to store your backup.
BACKUP:
1) First off, get your hands on JF's modified recovery.img. Best place
to find it is in JF1.31 from here:
http://forum.xda-developers.com/showthread.php?t=466174
2) Second, get the fastboot client binary. You can build this yourself
by building the android sources, but there is a compiled binary for
linux x86 or AMD64 available here:
http://android-dls.com/wiki/index.php?title=Fastboot
3) Add the location of the adb command to your path (I hope you
already know that adb is in the "tools" directory of the SDK)
At this point, you are worried that I'm going to tell you to write the
recovery.img onto your ADP1, overwriting the existing recovery
partition. This is NOT SO. Fastboot is much more elegant than that.
4) Start your ADP1 in fastboot mode: From power off, hold the camera
button while turning on, this will get you into a mode that says
"serial0". Plug in the USB and press the "back" button. It should now
be in fastboot mode.
5) From your computer, run the command "fastboot boot recovery.img".
This will send recovery.img to your ADP1 WITHOUT writing it and will
cause it to boot.
6) When the recovery.img has finished booting, it presents a menu, one
of which is to create a backup. The backup will be written to the
sdcard in the /nandroid/ directory.
7) "fastboot reboot" will reboot the ADP1.
Now that you have your backup, you're free to party.
Restore is similar. Boot the ADP1 into fastboot, use command i.e.
"fastboot flash system system.img" to restore system partition.
On Jan 18, 12:11 pm, Antonovich <
melser.an...@gmail.com> wrote:
> Hi all,
> I have been combing the web for instructions to do the following:
> 1. Do a complete backup.
> 2. Compile and Install from git.
> 3. Revert to my original state.
>
> This seems like a very reasonable thing for someone with a dev phone
> to do! I am very comfortable with linux and the command line but I
> have been frustrated by the fact that instructions you find on the web
> almost without exception are for the t-mobile G1, with a "works for
> ADP1 also" tacked on. The problem being that the best instructions
> seem to come from xda-developers, or at least pretty much every site
> that has a checklist will have at least one step which is a link to an
> xda post. Which then links to another xda page for item X in their
> list and so on. The perfect example is the nandroid pagehttp://
forum.xda-developers.com/showthread.php?t=459830which links to
> the modified RC30
http://forum.xda-developers.com/showthread.php?t=443713
> which links to modded recoveryhttp://
forum.xda-developers.com/showthread.php?t=443041.