[Kindle Fire Android Development] tillum:
Been crook for the past day, recovered now. Right, so testing 1.9a, and still can't get it to work. Here's my first attempt, trying to use wine and your script to update my kindle in place, using a usb cable. Seems to be an issue with adb. I have started the server as root, then have been able to use non-root to run it in other instances. For whatever reason however, your script wants to kill it, then can't start the server again. Having renamed the filename in linux for 1.9a worked well as far as running it from the terminal. Below are the commands I ran, and their output:

mitchell@curious-mitchell:~/System/android/kindle fire/working-imei$ adb devicesList of devices attached
5934000600000001	device

mitchell@curious-mitchell:~/System/android/kindle fire/working-imei$ wine IMEIMe.exe
fixme:service:scmdatabase_autostart_services Auto-start service L"JavaQuickStarterService" failed to start: 2
Exception in thread "main" java.lang.NoClassDefFoundError: version
Caused by: java.lang.ClassNotFoundException: version
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: version. Program will exit.
adb server is out of date. killing...
ADB server didn't ACK
* failed to start daemon *
error:
fixme:win:LockWindowUpdate ((nil)), partial stub!
mitchell@curious-mitchell:~/System/android/kindle fire/working-imei$

The next thing I tried was disabling adb in the IMEIme.ini file. I was greeted with the message about generating a generic IMEI, and that this program won't allow it, etc. I got even less terminal output:

mitchell@curious-mitchell:~/System/android/kindle fire/working-imei$ wine IMEIMe.exe
fixme:service:scmdatabase_autostart_services Auto-start service L"JavaQuickStarterService" failed to start: 2
Exception in thread "main" java.lang.NoClassDefFoundError: version
Caused by: java.lang.ClassNotFoundException: version
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: version. Program will exit.
testfixme:win:LockWindowUpdate ((nil)), partial stub!
mitchell@curious-mitchell:~/System/android/kindle fire/working-imei$

Nothing I tried without adb worked, either attempting to patch the framework.jar file (my original one), or trying to patch the actual rom I've installed. In both cases I was met by the "This program won't allow you to use a generic IMEI etc. I have also tried manually inputting a serial number into the IMEI string in the IMEIme.ini file, to no avail.

Interstingly enough, I noticed that there is a built-in adb.exe file within your program, though it only appears briefly before it's 'cleaned-up' again. During that time I copied it, as well as the files which seemed relevant, to see if it would run in wine. Lo and behold, it will not. When I run

wine adb.exe devices

I get nothing. Nada. Zilch. Wonder if this coul be part of the culprit?

I'm going to have to install Windows XP in virtualbox, then try this again. If anyone has gotten this successfully working in wine, can you please post how you've dine it? DizzyDen, your idea of creating something to natively work within the android terminal is a good one. How difficult would this be? Otherwise, is it possible to port this over to Ubuntu, or some debian based desktop linux where I can use the adb I've already got in place? Still don't understand why it won't work, and why I can't patch files without using adb however.

Thanks for all your hard work to date, let me know if there's anything else you'd like me to test, preferably something native. Also, can someone please expain how I need to edit my build.prop file to get apps to show up in the market? Cheers.

edit: Just found this link about the build.prop file, and installing apps from the marketplace... not sure it's worked for me. Was able to revert to the old market, only to find most of the apps I need not actually listed in the old marketplace. Anyway, link is here: http://xdaforums.com/showthread.php?t=1423184