I will try to describer the problem in more details.
I got this product:
http://www.beyonwiz.com.au/products.php?id=12
which runs android 2.1, all of it's inputs/outputs are an IR remote and two USB host , wifi and ethernet port.
android is designed for a UI interaction so unless the device is rooted and has a shell emulator on it, there is almost nothing can be done without the UI. I installed a custom app on this device so when it boots up the app opens and nothing else can be accessed ( the app can't be closed and I can't navigate away form the app).
if the device had a client USB ports I can connect it to my PC and use ADB to access it. but it doesn't.
I think the only way is to write to the device internal storage(nand memory) a new version of the os img file to get back to it's original state.
hope that explains it