Alternative way of setting the debug mode I'm having a problem with my android phone: whichever phone application (contacts, settings, messaging...) I try to run, I get the dialog "The process stopped unexpectedly" and I have to force it to close.

So I want to install a ROM. Problem: I have the debug mode off and there is no way of accessing the phone settings.

Is there any alternative way to set the debug mode on? A market application for example? If it is of any help I have a LG GT540 with Android 2.1.

Thanks.
You can try setprop persist.service.adb.enable 1 in a terminal. This works on the HTC Dream; can't say I've needed to do it on other phones, and I can't say if it needs root or not (the exploit on the Dream runs that command as root, so it's completely possible you need root first.)

See this question here for other ideas: Broken screen while debug mode was disabled. How can I re-enable adb?