There are six ways to recover your phone, from various stages of damage. Of course, for most of these processes, you still need to get your hands on a stock rom image, or have your own ready from a previous backup.( I explained earlier the recommended steps to begin using your phone)
The simpler once are the hard reset and data wipe, which just remove normal user info/modifications as the registered accounts, settings and user installed apps.
Both can be accessed through the recovery boot, powering up the device with POWER+X and the pressing ALT+L on the exclamation mark screen. Then select the desired option with the volume keys and press enter when satisfied(or not) with your choice.
This is the most recommended recovery for simple problems that were probably not caused by inadvertent hacking.
Through the recovery boot it is also possible to flash a update.zip from the root of your sdcard. This package can do a multitude of things, basically change every aspect of the phone. BUT, and thats a BIG but, the update.zip apparently needs to be signed to be used with the stock recovery boot and thus, cannot be used to recover your phone(unless someone hacks on up or leaks an original one).
The most recommended and probably useful to recovery your phone from problems/hacks/whatsoever is the flashboot process. This allows direct flashing of the images at the bootloader stage, which AFAIK is not easily broken. To enter the fastboot mode, power your device pressing POWER+VOLUME KEYS. This will present a blue image. Connect your usb cable and get a copy of the fastboot binary for your computer(google it).
WARN: DO NOT ERASE THE BOOT PARTITION. FASTBOOT APPARENTLY RESIDED THERE.
(Yeah.. I erased it… no fastboot anymore.. erase recovery too, don’t know if recovery would be booted. Wouldn’t help probably.)
With fastboot you can flash the partitions back to the stock ones(boot, system, recovery). Have tested to recovery my recovery in this mode. Will not boot modded partitions because of the certificate verification mentioned in an earlier post.
Note: I haven’t been able to recovery from a corrupted system partition. When repacking the extracted system.tar.gz(acquired via romdump) the phone apparently installs the data partition but enters bootloop afterwards…
Fastboot flashing update.zips, although these appear to be different from the ones used by the recovery mode.
They must have one of the following files:
android-product seems to be older, and is transformed to
which should be similar to the content of android-info.txt…
This update.zip must also contain at least boot.img and system.img.
Can have recovery.img.
Can use boot.sig, system.sig, recovery.sig(whatever those really are)
Note: using android-product.txt does not seem to work, apparently because of the fact that by default the requirement for baseband is ‘0.66.04.19’, whereas the device has an empty baseband(?)
My android-product.txt ended up being just:
It appears that this update.zip does not need to be signed, ignores any other files(? at least system/ and META-INF) present in the zip.
You can also recover your phone with the flash_image binary for android. The problem is that to use it, your system must be running and you must have rooted it. So you can in theory only restore the recovery partition this way.
RSD mode… Apparently motorola has developed a proprietary protocol similar to fastboot to flash stuff onto your phone. This would require sbf images or signed update.zips(AFAIK) to be used with RSD-Lite. The problem is, AFAIK, the rsd mode in xt300/spice’s boot has not been discovered yet. Sorry.(UPDATED! boot pressing space to enter the RSD mode!)
So, the SBF images can be gotten when updating the phone using the Software Updater available from motorola. It will download the SBF files when you update, just make sure you save them. They are downloaded to the softwares program files.
Apparently it IS possible to flash an SBF image onto the XT300, but it hasn’t really a RSD mode. When rebooting into bootloader, the RSD mode can be accessed for a time, then the bootloader passes on. Using rsd-lite to reboot the phone into rsd-mode/bootloader should work.
I will make an sbf image available here in the future, when I have time again.
Sorry, I’ve been busy with my new Nexus One I bought in eBay for $260 and is having that weird touchscreen problem where touches register in the wrong height…
Apparently the RSD/BOOTLOADER mode has been found for the XT300. YAY!
Just power on the phone while space is pressed! Should be usable with RSD Lite to flash an SBF image. Have not tested the flashing.
(via Mariano, mipcomp[AT gmail])
As always, when installing another/new/whatever Android OS, clear cache and userdata(factory reset)… this normally prevents bootloops and other bugs… the downside is that you have to configure everything again and download the apps once more.