[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] mihahn:
Hey guys,

I have decompiled a 10 mb framework-res-apk, then I've added in the xml folder the line to enable mass storage. After recompiling the apk had only 6mb? :confused:

Now I've just installed it, but it's not working. Logcat shows the following:

D/AndroidRuntime( 2229):
D/AndroidRuntime( 2229): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 2229): CheckJNI is OFF
D/dalvikvm( 2229): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 2229): Added shared lib libjavacore.so 0x0
D/dalvikvm( 2229): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 2229): Added shared lib libnativehelper.so 0x0
I/mediaserver( 2230): ServiceManager: 0xfd78
I/AudioFlinger( 2230): Using default 3000 mSec as standby time.
I/CameraService( 2230): CameraService started (pid=2230)
E/BandwidthController( 2228): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController( 2228): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
E/SEMC Camera HAL( 2230): HAL_getNumberOfCameras: E
D/MDnsDS ( 2228): MDnsSdListener::Hander starting up
D/MDnsDS ( 2228): MDnsSdListener starting to monitor
D/MDnsDS ( 2228): Going to poll with pollCount 1
I/SamplingProfilerIntegration( 2229): Profiling disabled.
I/Zygote ( 2229): Preloading classes...
D/dalvikvm( 2229): GC_EXPLICIT freed 37K, 84% free 420K/2560K, paused 1ms+0ms, total 10ms
W/Zygote ( 2229): Class not found for preloading: android.animation.ValueAnimator$2
W/Zygote ( 2229): Class not found for preloading: android.animation.ValueAnimator$3
W/Zygote ( 2229): Class not found for preloading: android.animation.ValueAnimator$4
W/Zygote ( 2229): Class not found for preloading: android.animation.ValueAnimator$5
W/Zygote ( 2229): Class not found for preloading: android.content.res.Resources$1
D/zipro ( 2229): Zip: EOCD not found, /system/framework/framework-res.apk is not zip
D/asset ( 2229): failed to open Zip archive '/system/framework/framework-res.apk'
W/dalvikvm( 2229): Exception Landroid/content/res/Resources$NotFoundException; thrown while initializing Landroid/database/CursorWindow;
E/Zygote ( 2229): Error preloading android.database.CursorWindow.
E/Zygote ( 2229): java.lang.ExceptionInInitializerError
E/Zygote ( 2229):	at java.lang.Class.classForName(Native Method)
E/Zygote ( 2229):	at java.lang.Class.forName(Class.java:217)
E/Zygote ( 2229):	at java.lang.Class.forName(Class.java:172)
E/Zygote ( 2229):	at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:288)
E/Zygote ( 2229):	at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:235)
E/Zygote ( 2229):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:527)
E/Zygote ( 2229):	at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 2229): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x10e002f
E/Zygote ( 2229):	at android.content.res.Resources.getValue(Resources.java:1013)
E/Zygote ( 2229):	at android.content.res.Resources.getInteger(Resources.java:820)
E/Zygote ( 2229):	at android.database.CursorWindow.<clinit>(CursorWindow.java:47)
E/Zygote ( 2229):	... 7 more
D/AndroidRuntime( 2229): Shutting down VM
W/dalvikvm( 2229): threadid=1: thread exiting with uncaught exception (group=0x2b544300)
I/ServiceManager( 136): service 'media.audio_flinger' died
I/ServiceManager( 136): service 'media.player' died
I/Netd ( 2358): Netd 1.0 starting

Any ideas what to do? I really need mass storage ;)

Thank you!