[Android Software Development] v1r0x:
Ok, I've started a new try and get another error.

This is what I get from ddms:

01-06 01:02:49.583: E/dalvikvm(1357): Could not find class 'com.android.server.wm.InputManager$3', referenced from method com.android.server.wm.InputManager.registerKeyLayoutSettingObserver
01-06 01:02:49.653: E/ExtendedExtractor(1218): Failed to open MM_PARSER_LIB, dlerror = Cannot load library: load_library[1120]: Library 'libmmparser.so' not found
01-06 01:02:49.653: E/ExtendedExtractor(1218): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot load library: load_library[1120]: Library 'libmmparser_lite.so' not found
01-06 01:02:49.653: E/filemap(1357): mmap(0,4096) failed: No such device
01-06 01:02:49.693: E/AndroidRuntime(1357): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManager
01-06 01:02:49.693: E/AndroidRuntime(1357): java.lang.NoClassDefFoundError: com.android.server.wm.InputManager$3
01-06 01:02:49.693: E/AndroidRuntime(1357):	at com.android.server.wm.InputManager.registerKeyLayoutSettingObserver(InputManager.java:523)
01-06 01:02:49.693: E/AndroidRuntime(1357):	at com.android.server.wm.InputManager.start(InputManager.java:153)
01-06 01:02:49.693: E/AndroidRuntime(1357):	at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java:796)
01-06 01:02:49.693: E/AndroidRuntime(1357):	at com.android.server.wm.WindowManagerService.<init>(WindowManagerService.java:145)
01-06 01:02:49.693: E/AndroidRuntime(1357):	at com.android.server.wm.WindowManagerService$WMThread.run(WindowManagerService.java:687)
01-06 01:02:49.703: E/OMXCodec(1218): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
01-06 01:02:49.703: E/OMXCodec(1218): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
01-06 01:02:49.733: E/installd(1220): eof
01-06 01:02:49.733: E/installd(1220): failed to read size
01-06 01:02:50.194: E/HTC Acoustic(1422): ioctl ACOUSTIC_UPDATE_ADIE failed -1
01-06 01:02:50.194: E/HTC Acoustic(1422): failed to open A2051 CSV files /system/etc/TPA2051_CFG.csv.
01-06 01:02:50.234: E/AudioHardwareMSM7X30(1422): updateDeviceInfo: E rx_device 6 and tx_device 11
01-06 01:02:50.234: E/AudioHardwareMSM7X30(1422): updateDeviceInfo: X cur_rx 6 cur_tx 11
01-06 01:02:50.234: E/AudioHardwareMSM7X30(1422): msm_set_voice_rx_vol(100) failed errno = 1
01-06 01:02:50.634: E/MediaProfilesJNI(1421): native_init
01-06 01:02:50.634: E/MediaProfilesJNI(1421): After native_init lock
01-06 01:02:50.634: E/MediaProfilesJNI(1421): Guru : native_init profiles
01-06 01:02:50.634: E/MediaProfiles(1421): getInstance
01-06 01:02:50.634: E/MediaProfiles(1421): Guru :Else 1
01-06 01:02:50.634: E/MediaProfiles(1421): Guru : quality = 0, index = -1
01-06 01:02:50.634: E/MediaProfiles(1421): Guru : quality = 1, index = -1
01-06 01:02:50.634: E/MediaProfiles(1421): Guru : quality = 0, index = -1
01-06 01:02:50.634: E/MediaProfiles(1421): Guru : quality = 1, index = -1
01-06 01:02:50.634: E/MediaProfiles(1421): getInstance ead60
01-06 01:02:50.644: E/MediaProfilesJNI(1421): retun sProfiles
01-06 01:02:50.644: E/MediaProfilesJNI(1421): native_init
01-06 01:02:50.644: E/MediaProfilesJNI(1421): After native_init lock
01-06 01:02:50.644: E/MediaProfilesJNI(1421): retun sProfiles
01-06 01:02:51.185: E/dalvikvm(1421): Could not find class 'android.webkit.WebViewCore$5', referenced from method android.webkit.WebViewCore.navigatorPermissionsShowPrompt
01-06 01:02:51.415: E/PhonePolicy(1421): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
01-06 01:02:57.341: E/PackageManager(1447): Package com.google.android.backup has no signatures that match those in shared user android.uid.system; ignoring!

This are the files I've replaced/diffed:

framework:
android.view.GLES20Canvas
android.os.Power
android.media.MediaRecorder
android.graphics.Paint
diff AssetManager (framework\android\content\res)
android.content.res.PackageRedirectionMap
android.content.res.PackageRedirectionMap$1
services:
com.android.server.PowerManagerService
com.android.server.PowerManagerService$1
com.android.server.PowerManagerService$3
com.android.server.PowerManagerService$11
com.android.server.PowerManagerService$15
com.android.server.PowerManagerService$SettingsObserver
com.android.server.PowerManagerService$LockList
com.android.server.PowerManagerService$BrightnessState
diff InputManager(com.android.server.wm)

If I include com.android.server.wm.InputManager$3 in the services.jar I'll loose the adb connection :(

Is this line the problem?

java.lang.NoClassDefFoundError: com.android.server.wm.InputManager$3

But where do I have to define this file?

Hope someone can help me