[Android Software Development] denseye:
hello Lens_flare

I took back my original ported services and framework.jar files.

And I had a look to usb part (stage 4)

I already had the "config_legacyUmsLunFile" in my ported res/values

also, my usb folder in services.jar are already the same.

I just modified the storage_list.xml and repacked framework-res.apk ... but now here is what I am :p

10-22 08:17:25.598: E/Trace(85): error opening trace file: No such file or directory (2)
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 0
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 2
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 5
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 7
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 8
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 10
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 51
10-22 08:17:25.678: E/HTC Acoustic(88): Update ADIE table ID 53
10-22 08:17:26.008: E/Trace(167): error opening trace file: No such file or directory (2)
10-22 08:17:50.848: E/PhonePolicy(86): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
10-22 08:17:54.778: E/PackageParser(288): Package android has no certificates at entry AndroidManifest.xml; ignoring!
10-22 08:18:04.188: E/System(288): ******************************************
10-22 08:18:04.188: E/System(288): ************ Failure starting core service
10-22 08:18:04.188: E/System(288): java.lang.NullPointerException
10-22 08:18:04.188: E/System(288):	at com.android.server.pm.PackageManagerService.grantPermissionsLPw(PackageManagerService.java:4629)
10-22 08:18:04.188: E/System(288):	at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:4575)
10-22 08:18:04.188: E/System(288):	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1217)
10-22 08:18:04.188: E/System(288):	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:851)
10-22 08:18:04.188: E/System(288):	at com.android.server.ServerThread.run(SystemServer.java:195)
10-22 08:18:04.198: A/SystemServer(288): BOOT FAILURE starting Input Manager Service
10-22 08:18:04.198: A/SystemServer(288): java.lang.NullPointerException
10-22 08:18:04.198: A/SystemServer(288):	at android.app.PendingIntent.getBroadcast(PendingIntent.java:369)
10-22 08:18:04.198: A/SystemServer(288):	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:603)
10-22 08:18:04.198: A/SystemServer(288):	at com.android.server.ServerThread.run(SystemServer.java:309)
10-22 08:18:04.198: E/AndroidRuntime(288): Error reporting WTF
10-22 08:18:04.198: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.198: E/AndroidRuntime(288):	at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:329)
10-22 08:18:04.198: E/AndroidRuntime(288):	at android.util.Log$1.onTerribleFailure(Log.java:103)
10-22 08:18:04.198: E/AndroidRuntime(288):	at android.util.Log.wtf(Log.java:278)
10-22 08:18:04.198: E/AndroidRuntime(288):	at com.android.server.ServerThread.reportWtf(SystemServer.java:82)
10-22 08:18:04.198: E/AndroidRuntime(288):	at com.android.server.ServerThread.run(SystemServer.java:312)
10-22 08:18:04.208: A/SystemServer(288): BOOT FAILURE starting Accessibility Manager
10-22 08:18:04.208: A/SystemServer(288): java.lang.NullPointerException
10-22 08:18:04.208: A/SystemServer(288):	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1155)
10-22 08:18:04.208: A/SystemServer(288):	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1130)
10-22 08:18:04.208: A/SystemServer(288):	at com.android.internal.content.PackageMonitor.register(PackageMonitor.java:86)
10-22 08:18:04.208: A/SystemServer(288):	at com.android.server.accessibility.AccessibilityManagerService.registerPackageChangeAndBootCompletedBroadcastReceiver(AccessibilityManagerService.java:283)
10-22 08:18:04.208: A/SystemServer(288):	at com.android.server.accessibility.AccessibilityManagerService.<init>(AccessibilityManagerService.java:188)
10-22 08:18:04.208: A/SystemServer(288):	at com.android.server.ServerThread.run(SystemServer.java:317)
10-22 08:18:04.208: A/SystemServer(288): BOOT FAILURE making display ready
10-22 08:18:04.208: A/SystemServer(288): java.lang.NullPointerException
10-22 08:18:04.208: A/SystemServer(288):	at com.android.server.ServerThread.run(SystemServer.java:325)
10-22 08:18:04.208: A/SystemServer(288): BOOT FAILURE performing boot dexopt
10-22 08:18:04.208: A/SystemServer(288): java.lang.NullPointerException
10-22 08:18:04.208: A/SystemServer(288):	at com.android.server.ServerThread.run(SystemServer.java:331)
10-22 08:18:04.208: E/AndroidRuntime(288): Error reporting WTF
10-22 08:18:04.208: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:329)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log$1.onTerribleFailure(Log.java:103)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log.wtf(Log.java:278)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.reportWtf(SystemServer.java:82)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.run(SystemServer.java:320)
10-22 08:18:04.208: E/AndroidRuntime(288): Error reporting WTF
10-22 08:18:04.208: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:329)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log$1.onTerribleFailure(Log.java:103)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log.wtf(Log.java:278)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.reportWtf(SystemServer.java:82)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.run(SystemServer.java:327)
10-22 08:18:04.208: E/AndroidRuntime(288): Error reporting WTF
10-22 08:18:04.208: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:329)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log$1.onTerribleFailure(Log.java:103)
10-22 08:18:04.208: E/AndroidRuntime(288):	at android.util.Log.wtf(Log.java:278)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.reportWtf(SystemServer.java:82)
10-22 08:18:04.208: E/AndroidRuntime(288):	at com.android.server.ServerThread.run(SystemServer.java:333)
10-22 08:18:04.218: E/AndroidRuntime(288): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
10-22 08:18:04.218: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.218: E/AndroidRuntime(288):	at com.android.server.ServerThread.run(SystemServer.java:337)
10-22 08:18:04.218: E/AndroidRuntime(288): Error reporting crash
10-22 08:18:04.218: E/AndroidRuntime(288): java.lang.NullPointerException
10-22 08:18:04.218: E/AndroidRuntime(288):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
10-22 08:18:04.218: E/AndroidRuntime(288):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
10-22 08:18:04.218: E/AndroidRuntime(288):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
10-22 08:18:04.228: E/installd(90): eof
10-22 08:18:04.228: E/installd(90): failed to read size
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 0
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 2
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 5
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 7
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 8
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 10
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 51
10-22 08:18:05.008: E/HTC Acoustic(339): Update ADIE table ID 53
10-22 08:18:05.078: E/BandwidthController(338): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
10-22 08:18:05.078: E/BandwidthController(338): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
10-22 08:18:06.518: E/PhonePolicy(337): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
: E/(): Device disconnected

EDIT : I think the problem is with recompiled framework-res.apk ...

do I have to resign it ?...