I have tried cleaning the ball and no dice. It simply won't scroll in recovery mode. It works fine when the phone is on. And I can press it in to choose "reboot now" in recovery mode but it will not scroll, so frustrating. Is there a way for me to just re root the phone or something?
iheotp:
You are not the first person to experience this - a trackball which will not work in Amon_RA (for up/down motion), but is otherwise fine in the regular OS.
Apparently there is something about the kernel in the Amon_RA recovery which is different enough that it doesn't work on
some trackballs. It doesn't happen very often - you are one of the unlucky ones.
There is a way to force a ROM onto a phone like this - by using the adb command line from the PC with Amon_RA running.
It's a little complicated, and requires that you get your PC drivers set up so that you can use ADB on the PC to communicate with the phone over USB.
Charge the phone, connect USB cable to PC, boot to Amon_RA, and then start up an adb shell on the phone:
C:\android-sdk\tools> adb shell
Code:
nandroid-mobile.sh -b --norecovery --nocache --nomisc --nosplash1 --nosplash2 --defaultinput 1>&2
[COLOR=orange][B]/sbin/recovery[/B][/COLOR] --wipe_data
[COLOR=orange][B]/sbin/recovery[/B][/COLOR] --update_package=SDCARD:[B][COLOR=green]romname.zip[/COLOR][/B]
Where "
romname.zip" is the actual name of your ROM file in the top-level folder of the SD card (No spaces or weird characters in the name of the file, please).
Note that that both
/sbin/recovery commands will "hang" when they finish, rather than return to the command prompt. You can kill them safely by hitting Ctrl-C. Note that this will kick you out of your adb session, so you will need to start another adb session from the PC. (That is, "adb shell"). No need to repeat anything, just continue to the next command in the sequence.
But there is a small problem here - how do you know when they are finished running so you can safely hit the Ctrl-C key combination?
The easiest way to do this is to first wait until you see no further changes to the display on the Eris, then wait 2 minutes more, and then open up another command window on the PC, and run the command:
Code:
adb shell tail /cache/recovery/log
If (each instance of) the /sbin/recovery program has completed you will see that the last line in the log file (above) will say:
I:Installation complete.
That's one way. I'll admit that it probably very intimidating to someone that is new to this - but it
is possible to use Amon_RA without a working trackball to:
- Do a Nandroid backup
- Wipe data/factory reset
- Flash a ROM from a zip file on the SD card.