SlimBean port boots only once 0_o - Android Q&A, Help & Troubleshooting

Heylo!
I have strange problem with my slimbean port. I've taken SlimBean 3.1 from Xperia tipo and ported it to Xperia J (porting from tipo to J is kinda easy and fast)
My port boots and runs very fast but it boot only once. After I restart it it gets bootlooop with this logcat:
Code:
dock audio support
W/WiredAccessoryObserver( 2962): This kernel does not have HDMI audio support
I/SystemServer( 2962): USB Service
I/SystemServer( 2962): Serial Service
I/SystemServer( 2962): UI Mode Manager Service
D/dalvikvm( 2962): GC_CONCURRENT freed 1440K, 54% free 3868K/8259K, paused 3ms+4ms, total 124ms
I/SystemServer( 2962): Backup Service
V/BackupManagerService( 2962): Initializing package tracking
V/BackupManagerService( 2962): No ancestral data
V/BackupManagerService( 2962): addPackageParticipantsLocked: all
I/BackupManagerService( 2962): New app android never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of android
I/BackupManagerService( 2962): New app com.android.browser never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of com.android.browser
I/BackupManagerService( 2962): New app com.android.inputmethod.latin never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of com.android.inputmethod.latin
I/BackupManagerService( 2962): New app com.android.providers.settings never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of com.android.providers.settings
I/BackupManagerService( 2962): New app com.android.providers.userdictionary never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of com.android.providers.userdictionary
I/BackupManagerService( 2962): New app com.android.sharedstoragebackup never backed up; scheduling
D/BackupManagerService( 2962): Now staging backup of com.android.sharedstoragebackup
V/BackupManagerService( 2962): Registering transport android/com.android.internal.backup.LocalTransport = [email protected]
V/BackupManagerService( 2962): Starting with transport com.google.android.backup/.BackupTransportService
V/BackupManagerService( 2962): Google transport not present
I/BackupManagerService( 2962): Found stale backup journal, scheduling
I/BackupManagerService( 2962): android
I/BackupManagerService( 2962): com.android.browser
I/BackupManagerService( 2962): com.android.inputmethod.latin
I/BackupManagerService( 2962): com.android.providers.settings
I/BackupManagerService( 2962): com.android.providers.userdictionary
I/BackupManagerService( 2962): com.android.sharedstoragebackup
I/BackupManagerService( 2962): Backup enabled => false
I/BackupManagerService( 2962): Opting out of backup
I/SystemServer( 2962): AppWidget Service
I/SystemServer( 2962): Recognition Service
I/SystemServer( 2962): DiskStats Service
I/SystemServer( 2962): SamplingProfiler Service
I/SystemServer( 2962): NetworkTimeUpdateService
I/SystemServer( 2962): CommonTimeManagementService
I/SystemServer( 2962): CertBlacklister
I/WindowManager( 2962): SAFE MODE not enabled
I/SystemServer( 2962): AssetRedirectionManager Service
D/dalvikvm( 2962): JIT started for system_server
D/PowerManagerService( 2962): system ready!
V/LockPatternKeyguardView( 2962): Set visibility on [email protected]a78 to 0
I/ActivityManager( 2962): System now ready
I/SystemServer( 2962): Making services ready
D/SystemServer( 2962): Starting service: Intent { cmp=com.android.systemui/.SystemUIService }
I/Zygote ( 2962): Process: zygote socket opened
I/ActivityManager( 2962): Start proc com.android.systemui for service com.android.systemui/.SystemUIService: pid=3029 uid=10030 gids={1028, 1015, 3002, 3001, 1006}
D/NetworkManagementService( 2962): enabling bandwidth control
I/ActivityManager( 2962): Config changed: {1.0 0mcc0mnc en_US sw320dp w320dp h544dp nrml long port finger -keyb/v/h -nav/h s.3 themeResource=null}
W/RecognitionManagerService( 2962): no available voice recognition services found
W/dalvikvm( 2962): Exception Ljava/lang/RuntimeException; thrown while initializing Lcom/android/internal/widget/DigitalClockAlt;
W/dalvikvm( 2962): Class init failed in Constructor.constructNative (Lcom/android/internal/widget/DigitalClockAlt;)
W/dalvikvm( 2962): threadid=24: thread exiting with uncaught exception (group=0x40bee300)
E/AndroidRuntime( 2962): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 2962): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 2962): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2962): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 2962): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockScreen.<init>(LockScreen.java:774)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockPatternKeyguardView.createLockScreen(LockPatternKeyguardView.java:910)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockPatternKeyguardView.recreateLockScreen(LockPatternKeyguardView.java:659)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockPatternKeyguardView.updateScreen(LockPatternKeyguardView.java:863)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockPatternKeyguardView.<init>(LockPatternKeyguardView.java:470)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.LockPatternKeyguardViewProperties.createKeyguardView(LockPatternKeyguardViewProperties.java:49)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.KeyguardViewManager.show(KeyguardViewManager.java:186)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1192)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.KeyguardViewMediator.access$1200(KeyguardViewMediator.java:95)
E/AndroidRuntime( 2962): at com.android.internal.policy.impl.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1057)
E/AndroidRuntime( 2962): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2962): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2962): at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:882)
E/AndroidRuntime( 2962): Caused by: java.lang.RuntimeException: native typeface cannot be made
E/AndroidRuntime( 2962): at android.graphics.Typeface.<init>(Typeface.java:175)
E/AndroidRuntime( 2962): at android.graphics.Typeface.createFromFile(Typeface.java:169)
E/AndroidRuntime( 2962): at com.android.internal.widget.DigitalClockAlt.<clinit>(DigitalClockAlt.java:71)
E/AndroidRuntime( 2962): ... 22 more
I/ActivityManager( 2962): Start proc android.process.media for broadcast com.android.providers.media/.UsbReceiver: pid=3077 uid=10010 gids={1015, 1023, 1024, 1028, 2001, 3003, 3007}
W/InputMethodManagerService( 2962): Ignoring setImeWindowStatus of uid 1000 token: null
I/ActivityManager( 2962): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=3090 uid=10017 gids={1028}
I/LocationManagerService( 2962): Setting GPS Source to: 0
I/CommonTimeManagementService( 2962): No common time service detected on this platform. Common time services will be unavailable.
I/InputReader( 2962): Reconfiguring input devices. changes=0x00000020
I/InputReader( 2962): Reconfiguring input devices. changes=0x00000010
E/CM PowerHAL( 2962): Error opening boostpulse: No such file or directory
I/ActivityManager( 2962): Start proc com.android.phone for added application com.android.phone: pid=3103 uid=1001 gids={3002, 3001, 3003, 1015, 1028}
I/ActivityManager( 2962): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.mobint.hololauncher.hd/com.mobint.hololauncher.Launcher u=0} from pid 0
I/ActivityThread( 3077): Pub media: com.android.providers.media.MediaProvider
I/Process ( 2962): Sending signal. PID: 2962 SIG: 9
I/ActivityManager( 2962): Start proc com.mobint.hololauncher.hd for activity com.mobint.hololauncher.hd/com.mobint.hololauncher.Launcher: pid=3113 uid=10015 gids={3003, 1015, 1028}
I/ServiceManager( 176): service 'connectivity' died
I/ServiceManager( 176): service 'clipboard' died
I/ServiceManager( 176): service 'network_management' died
I/ServiceManager( 176): service 'assetredirection' died
I/ServiceManager( 176): service 'textservices' died
I/ServiceManager( 176): service 'servicediscovery' died
I/ServiceManager( 176): service 'throttle' died
I/ServiceManager( 176): service 'updatelock' died
I/ServiceManager( 176): service 'gfxinfo' died
I/ServiceManager( 176): service 'bluetooth' died
I/ServiceManager( 176): service 'sensorservice' died
I/ServiceManager( 176): service 'alarm' died
I/ServiceManager( 176): service 'profile' died
I/ServiceManager( 176): service 'wifi' died
I/ServiceManager( 176): service 'netpolicy' died
I/ServiceManager( 176): service 'mount' died
I/ServiceManager( 176): service 'lock_settings' died
I/ServiceManager( 176): service 'wifip2p' died
I/ServiceManager( 176): service 'appwidget' died
I/ServiceManager( 176): service 'commontime_management' died
I/ServiceManager( 176): service 'devicestoragemonitor' died
I/ServiceManager( 176): service 'location' died
I/ServiceManager( 176): service 'country_detector' died
I/ServiceManager( 176): service 'search' died
I/ServiceManager( 176): service 'dropbox' died
I/ServiceManager( 176): service 'wallpaper' died
I/ServiceManager( 176): service 'diskstats' died
I/ServiceManager( 176): service 'bluetooth_a2dp' died
I/ServiceManager( 176): service 'backup' died
I/ServiceManager( 176): service 'netstats' died
I/ServiceManager( 176): service 'device_policy' died
I/ServiceManager( 176): service 'input_method' died
I/ServiceManager( 176): service 'accessibility' died
I/ServiceManager( 176): service 'notification' died
I/ServiceManager( 176): service 'audio' died
I/ServiceManager( 176): service 'usb' died
I/ServiceManager( 176): service 'serial' died
I/ServiceManager( 176): service 'uimode' died
I/ServiceManager( 176): service 'content' died
I/ServiceManager( 176): service 'usagestats' died
I/ServiceManager( 176): service 'account' died
I/ServiceManager( 176): service 'batteryinfo' died
I/ServiceManager( 176): service 'telephony.registry' died
I/ServiceManager( 176): service 'scheduling_policy' died
I/ServiceManager( 176): service 'statusbar' died
I/ServiceManager( 176): service 'entropy' died
I/ServiceManager( 176): service 'input' died
I/ServiceManager( 176): service 'dbinfo' died
I/ServiceManager( 176): service 'hardware' died
I/ServiceManager( 176): service 'meminfo' died
I/ServiceManager( 176): service 'permission' died
I/ServiceManager( 176): service 'vibrator' died
I/ServiceManager( 176): service 'power' died
I/ServiceManager( 176): service 'activity' died
I/ServiceManager( 176): service 'cpuinfo' died
I/ServiceManager( 176): service 'window' died
I/ServiceManager( 176): service 'battery' died
I/ServiceManager( 176): service 'package' died
I/ServiceManager( 176): service 'samplingprofiler' died
W/AudioFlinger( 2835): power manager service died !!!
D/AndroidRuntime( 3077): Shutting down VM
D/AndroidRuntime( 3029): Shutting down VM
W/dalvikvm( 3029): threadid=1: thread exiting with uncaught exception (group=0x40bee300)
W/dalvikvm( 3077): threadid=1: thread exiting with uncaught exception (group=0x40bee300)
E/AndroidRuntime( 3029): FATAL EXCEPTION: main
E/AndroidRuntime( 3029): java.lang.AssertionError: android.os.DeadObjectException
E/AndroidRuntime( 3029): at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:363)
E/AndroidRuntime( 3029): at android.app.LoadedApk.getClassLoader(LoadedApk.java:320)
E/AndroidRuntime( 3029): at android.app.LoadedApk.makeApplication(LoadedApk.java:493)
E/AndroidRuntime( 3029): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4309)
E/AndroidRuntime( 3029): at android.app.ActivityThread.access$1300(ActivityThread.java:142)
E/AndroidRuntime( 3029): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1268)
E/AndroidRuntime( 3029): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3029): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3029): at android.app.ActivityThread.main(ActivityThread.java:4931)
E/AndroidRuntime( 3029): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3029): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3029): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 3029): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3029): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 3029): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 3029): at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1351)
E/AndroidRuntime( 3029): at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:361)
E/AndroidRuntime( 3029): ... 13 more
E/AndroidRuntime( 3077): FATAL EXCEPTION: main
E/AndroidRuntime( 3077): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 3077): at android.app.ActivityThread.installProvider(ActivityThread.java:4748)
E/AndroidRuntime( 3077): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4375)
E/AndroidRuntime( 3077): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4317)
E/AndroidRuntime( 3077): at android.app.ActivityThread.access$1300(ActivityThread.java:142)
E/AndroidRuntime( 3077): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1268)
E/AndroidRuntime( 3077): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3077): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3077): at android.app.ActivityThread.main(ActivityThread.java:4931)
E/AndroidRuntime( 3077): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3077): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3077): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 3077): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime( 3077): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3077): Caused by: java.lang.RuntimeException: Package manager has died
E/AndroidRuntime( 3077): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:77)
E/AndroidRuntime( 3077): at com.android.providers.media.MediaProvider.getDatabaseVersion(MediaProvider.java:547)
E/AndroidRuntime( 3077): at com.android.providers.media.MediaProvider$DatabaseHelper.<init>(MediaProvider.java:356)
E/AndroidRuntime( 3077): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:4922)
E/AndroidRuntime( 3077): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:578)
E/AndroidRuntime( 3077): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 3077): at android.app.ActivityThread.installProvider(ActivityThread.java:4745)
E/AndroidRuntime( 3077): ... 12 more
E/AndroidRuntime( 3077): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 3077): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 3077): at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1351)
E/AndroidRuntime( 3077): at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:72)
E/AndroidRuntime( 3077): ... 18 more
E/AndroidRuntime( 3029): Error reporting crash
E/AndroidRuntime( 3029): android.os.DeadObjectException
E/AndroidRuntime( 3029): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 3029): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3118)
E/AndroidRuntime( 3029): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 3029): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 3029): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 3029): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 3029): Sending signal. PID: 3029 SIG: 9
E/AndroidRuntime( 3077): Error reporting crash
E/AndroidRuntime( 3077): android.os.DeadObjectException
E/AndroidRuntime( 3077): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 3077): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:3118)
E/AndroidRuntime( 3077): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 3077): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 3077): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 3077): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 3077): Sending signal. PID: 3077 SIG: 9
E/installd( 186): eof
E/installd( 186): failed to read size
I/installd( 186): closing connection
I/Zygote ( 2832): Exit zygote because system server (2962) has terminated
I/Netd ( 3136): Netd 1.0 starting
I/ServiceManager( 176): service 'media.audio_flinger' died
I/ServiceManager( 176): service 'media.player' died
I/ServiceManager( 176): service 'media.camera' died
I/ServiceManager( 176): service 'media.audio_policy' died
D/AndroidRuntime( 3137):
D/AndroidRuntime( 3137): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 3137): CheckJNI is OFF
D/dalvikvm( 3137): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 3137): Added shared lib libjavacore.so 0x0
D/dalvikvm( 3137): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 3137): Added shared lib libnativehelper.so 0x0
I/mediaserver( 3139): ServiceManager: 0x40d8ee28
I/AudioFlinger( 3139): Using default 3000 mSec as standby time.
I/CameraService( 3139): CameraService started (pid=3139)
I/QualcommCamera( 3139): Qint android::get_number_of_cameras(): E
I/QualcommCameraHardware( 3139): getCameraInfo: IN
I/QualcommCameraHardware( 3139): getCameraInfo: loading libqcamera at 0x400f865c
I/QualcommCameraHardware( 3139): getCameraInfo: numOfCameras = 2
I/QualcommCameraHardware( 3139): Camera sensor 0 info:
I/QualcommCameraHardware( 3139): camera_id: 0
I/QualcommCameraHardware( 3139): modes_supported: 5
I/QualcommCameraHardware( 3139): position: 0
I/QualcommCameraHardware( 3139): sensor_mount_angle: 0
I/QualcommCameraHardware( 3139): Camera sensor 1 info:
I/QualcommCameraHardware( 3139): camera_id: 1
I/QualcommCameraHardware( 3139): modes_supported: 5
I/QualcommCameraHardware( 3139): position: 1
I/QualcommCameraHardware( 3139): sensor_mount_angle: 270
I/QualcommCameraHardware( 3139): getCameraInfo: OUT
I/AudioPolicyManagerBase( 3139): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioHardwareMSM76XXA( 3139): get_audpp_filter
I/AudioHardwareMSM76XXA( 3139): open /system/etc/AudioFilter.csv success.
I/AudioHardwareMSM76XXA( 3139): EQ flag = 00.
E/AudioHardwareMSM76XXA( 3139): audioeq library open failure
I/AudioHardwareMSM76XXA( 3139): failed to set audpp parameters, exiting.
E/AudioHardwareMSM76XXA( 3139): failed to open AUTO_VOLUME_CONTROL /system/etc/AutoVolumeControl.txt: No such file or directory (2)
D/AudioHardwareMSM76XXA( 3139): Auto Volume Enabled= 0
I/AudioFlinger( 3139): loadHwModule() Loaded primary audio interface from QCOM Audio HW HAL (audio) handle 1
I/AudioFlinger( 3139): HAL output buffer size 1200 frames, normal mix buffer size 1200 frames
I/AudioMixer( 3139): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
I/AudioFlinger( 3139): Using module 1 has the primary audio interface
D/AudioHardwareInterface( 3139): setMode(NORMAL)
I/AudioHardwareMSM76XXA( 3139): Set master volume to 7.
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(0, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(6, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(-1, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(12, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(3, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(16, 0, 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(25, 0, 7)
I/AudioFlinger( 3139): AudioFlinger's thread 0x40bd9008 ready to run
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(8, 0, 1)
W/AudioFlinger( 3139): Thread AudioOut_2 cannot connect to the power manager service
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(9, 0, 1)
W/AudioFlinger( 3139): Thread AudioOut_2 cannot connect to the power manager service
I/AudioHardwareMSM76XXA( 3139): Routing audio to Speakerphone
W/AudioHardwareMSM76XXA( 3139): rpc_snd_set_device(6, 1, 1)
D/AudioHardwareMSM76XXA( 3139): setVoiceVolume(0.400000)
I/AudioHardwareMSM76XXA( 3139): Setting in-call volume to 2 (available range is 2 to 7)
D/AudioHardwareMSM76XXA( 3139): rpc_snd_set_volume(2147483646, 0, 2)
I/AudioFlinger( 3139): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 3
I/AudioPolicyService( 3139): Loaded audio policy from QCOM Audio Policy HAL (audio_policy)
I/SamplingProfilerIntegration( 3137): Profiling disabled.
I/Zygote ( 3137): Preloading classes...
D/dalvikvm( 3137): GC_EXPLICIT freed 37K, 84% free 420K/2560K, paused 0ms+1ms, total 6ms
W/Zygote ( 3137): Class not found for preloading: android.animation.ValueAnimator$2
W/Zygote ( 3137): Class not found for preloading: android.animation.ValueAnimator$3
W/Zygote ( 3137): Class not found for preloading: android.animation.ValueAnimator$4
W/Zygote ( 3137): Class not found for preloading: android.animation.ValueAnimator$5
E/BandwidthController( 3136): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController( 3136): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
W/Zygote ( 3137): Class not found for preloading: android.content.res.Resources$1
W/Zygote ( 3137): Class not found for preloading: android.database.sqlite.SQLiteCompiledSql
W/Zygote ( 3137): Class not found for preloading: android.database.sqlite.SQLiteDatabase$DatabaseReentrantLock
D/TextLayoutCache( 3137): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 3137): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 3137): register_android_mtp_MtpDevice
I/dalvikvm( 3137): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 3137): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
W/Zygote ( 3137): Class not found for preloading: android.media.IRemoteControlClientDispatcher
W/Zygote ( 3137): Class not found for preloading: android.media.IRemoteControlClientDispatcher$Stub
D/MDnsDS ( 3136): MDnsSdListener::Hander starting up
D/MDnsDS ( 3136): MDnsSdListener starting to monitor
D/MDnsDS ( 3136): Going to poll with pollCount 1
W/Zygote ( 3137): Class not found for preloading: android.os.Power
W/Zygote ( 3137): Class not found for preloading: android.text.TextDirectionHeuristics$CharCount
W/Zygote ( 3137): Class not found for preloading: android.text.method.WordIterator$1
W/Zygote ( 3137): Class not found for preloading: android.view.InputHandler
W/Zygote ( 3137): Class not found for preloading: android.view.InputQueue$FinishedCallback
W/Zygote ( 3137): Class not found for preloading: android.view.ViewRootImpl$3
I/dalvikvm( 3137): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 3137): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
D/dalvikvm( 3137): GC_FOR_ALLOC freed 618K, 36% free 1644K/2560K, paused 25ms, total 25ms
W/Zygote ( 3137): Class not found for preloading: android.widget.EdgeGlow
W/Zygote ( 3137): Class not found for preloading: android.widget.TextView$Blink
W/Zygote ( 3137): Class not found for preloading: android.widget.TextView$EasyEditSpanController
W/Zygote ( 3137): Class not found for preloading: android.widget.TextView$InputContentType
W/Zygote ( 3137): Class not found for preloading: android.widget.TextView$InputMethodState
W/Zygote ( 3137): Class not found for preloading: android.widget.TextView$TextAlign
E/PhonePolicy( 3137): Could not preload class for phone policy: com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback
W/Zygote ( 3137): Class not found for preloading: java.text.DecimalFormat$1
I have no clue how to solve it, do you have any ideas?
I've tried replaceing runtime lib but it doesn't help.

Related

[Q] home screen crashing

any hint on how to restore it?
I can enter safe mode, (pressing MENU key at boot) but I can't figure out what to fix.
Here is the logcat of homescreen crashing
Code:
W/ActivityManager( 1159): Activity pause timeout for HistoryRecord{2ff36928 com.sonyericsson.homescreen/.HomeScreen}
I/WindowManager( 1159): onOrientationChanged, rotation changed to 0
W/KeyCharacterMap( 1159): Can't open keycharmap file
W/KeyCharacterMap( 1159): Error loading keycharmap file '/system/usr/keychars/robyn_keypad.kcm.bin'. hw.keyboards.0.devname='robyn_keypad'
W/KeyCharacterMap( 1159): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/KeyguardViewMediator( 1159): pokeWakelock(5000)
I/ActivityManager( 1159): Process com.sonyericsson.homescreen (pid 1768) has died.
I/ActivityManager( 1159): Start proc com.sonyericsson.homescreen for activity com.sonyericsson.homescreen/.HomeScreen: pid=1780 uid=10009 gids={1015, 3003}
W/UsageStats( 1159): Something wrong here, didn't expect com.sonyericsson.homescreen to be resumed
I/ActivityThread( 1780): Publishing provider com.sonyericsson.homescreen.widgetprovider: com.sonyericsson.homescreen.widgetprovider.WidgetProvider
I/ActivityThread( 1780): Publishing provider com.sonyericsson.homescreen.settingsprovider: com.sonyericsson.homescreen.settingsprovider.SettingsProvider
I/ActivityManager( 1159): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.sonyericsson.homescreen/.HomeScreen }
I/ActivityManager( 1159): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.sonyericsson.homescreen/.HomeScreen }
W/dalvikvm( 1780): threadid=3: thread exiting with uncaught exception (group=0x2aac9a28)
E/AndroidRuntime( 1780): Uncaught handler: thread main exiting due to uncaught exception
I/global ( 1780): Default buffer size used in BufferedWriter constructor. It would be better to be explicit if an 8k-char buffer is required.
E/AndroidRuntime( 1780): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sonyericsson.homescreen/com.sonyericsson.homescreen.HomeScreen}: java.lang.ClassCastException: android.graphics.drawable.NinePatchDrawable
E/AndroidRuntime( 1780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
E/AndroidRuntime( 1780): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
E/AndroidRuntime( 1780): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1780): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1780): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1780): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1780): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1780): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1780): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1780): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1780): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 1780): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1780): Caused by: java.lang.ClassCastException: android.graphics.drawable.NinePatchDrawable
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ItemFactory.internalCreateApplication(ItemFactory.java:90)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ItemFactory.createApplication(ItemFactory.java:49)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ApplicationLoader.loadApplicationInfoList(ApplicationLoader.java:84)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.loadApplications(LauncherModel.java:846)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.<init>(LauncherModel.java:223)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.getInstance(LauncherModel.java:327)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.HomeScreen.onCreate(HomeScreen.java:243)
E/AndroidRuntime( 1780): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 1780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
E/AndroidRuntime( 1780): ... 11 more
I/CrashSMS( 1412): FileObserver found new crash data. Send DO_CRASH_MSG_ACTION
I/CrashSMS( 1412): Received DO_CRASH_MSG_ACTION
I/global ( 1412): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/CrashSMS( 1412): Picking oldest crash data file 1281433209.txt
I/CrashSMS( 1412): Compiling the crash report
I/global ( 1412): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
W/TimeStamp( 1412): TimeStamp is different! Directory: /system/app
I/CrashSMS( 1412): Storing report: type=2 unit=1
I/CrashSMS( 1412): MiscTA index = 2:1 1:1 10:1 9:1 8:1 7:1 6:1 5:1 4:1 3:1
I/MTBFParamSet( 1412): Converting to MTBF Message
I/CrashSMS( 1412): update counters and delete crash data
I/DumpStateReceiver( 1159): Added state dump to 1 crashes
I found the problem, it was the latest update of AnySoftKeyboard.
I already told the developer about the issue.
Do anyone experience the same problem?
It's easy to restore the phone, just reboot it in safe mode (keep MENU pressed at boot) and uninstall AnySoftKeyboard.
Ditto
The same thing happened to my wife's X10 mini after updating AnySoftKeyboard, just like you.
Thanks for providing the solution.
Uninstalled.
Nasty bug.
Same happend to me, thanks for sollution.
But I really like the soft-keyboard, hope he/she will fix the bug
good news, latest version in the market fixes the issue!

[Q] SystemUI.apk from AOSP 4.2 FQ

Hello, EDIT: FQ = Force Close
I have a VM with Ubuntu 10.04, sun java6 jdk, everything configured like I read here: http://source.android.com/source/initializing.html
I try to mod the SystemUI-QuickSettings on my Nexus4 - Android 4.2
For that I downloaded the hole repo https://android.googlesource.com/platform/manifest
and i tryed the repo https://android.googlesource.com/platform/manifest -b android-4.2_r1
too.
A make -j8 finish's without any error.
------------
Problem:
Iam not able to compile the SystemUI from Source and get it working...
Question 1:
The emulator, which is built during the compilation process dont start (opengles problem). How can I export the "built emulator" into my android sdk avd? because when I create an emulator with android avd it works!
Question 2:
I try to modifiy the SystemUI (the onclick behavior in the QuickSettings for the Wifi toggle - but till now I just comment the override out) and compile it (.build/env... with mako built). When I push the SystemUI.apk from(.../out/target/product/mako/system/app/) to the system folder on my Nexus 4 and change the rights (chmod 644) and reboot, I still get a force close. To get it on my phone I added in the manifest.xml
<uses-sdk android:minSdkVersion="17"
android:targetSdkVersion="17">
</uses-sdk>
Logcat:
I/Process ( 2181): Sending signal. PID: 2181 SIG: 9
I/ActivityManager( 595): Process com.android.systemui (pid 2181) has died.
W/ActivityManager( 595): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
I/ActivityManager( 595): Start proc com.android.systemui for restart com.android.systemui: pid=3403 uid=10057 gids={50057, 1028, 1015, 3002, 3001}
W/InputMethodManagerService( 595): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/AndroidRuntime( 3403): Shutting down VM
W/dalvikvm( 3403): threadid=1: thread exiting with uncaught exception (group=0x40c01930)
E/AndroidRuntime( 3403): FATAL EXCEPTION: main
E/AndroidRuntime( 3403): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 3403): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2539)
E/AndroidRuntime( 3403): at android.app.ActivityThread.access$1600(ActivityThread.java:141)
E/AndroidRuntime( 3403): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime( 3403): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3403): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3403): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 3403): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3403): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3403): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 3403): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 3403): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3403): Caused by: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 3403): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 3403): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 3403): at android.view.accessibility.IAccessibilityManager$Stub$Proxy.addClient(IAccessibilityManager.java:203)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:200)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.createSingletonInstance(AccessibilityManager.java:182)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.createAsSharedAcrossUsers(AccessibilityManager.java:153)
E/AndroidRuntime( 3403): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:73)
E/AndroidRuntime( 3403): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529)
E/AndroidRuntime( 3403): ... 10 more
W/ActivityManager( 595): Process com.android.systemui has crashed too many times: killing!
D/overlay ( 163): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_3_LAYER
D/overlay ( 163): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
D/dalvikvm( 1303): GC_CONCURRENT freed 909K, 7% free 14176K/15228K, paused 3ms+4ms, total 29ms
D/dalvikvm( 1303): GC_CONCURRENT freed 935K, 7% free 15013K/15976K, paused 5ms+6ms, total 78ms
D/dalvikvm( 1303): WAIT_FOR_CONCURRENT_GC blocked 62ms
D/dalvikvm( 1303): GC_CONCURRENT freed 1485K, 9% free 15557K/17080K, paused 3ms+4ms, total 37ms
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=com.imdb.mobile
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=de.tzwebdesign.TUCMensa
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=eu.chainfire.supersu
W/ActivityManager( 595): Timeout executing service: ServiceRecord{41ae4608 u0 com.android.systemui/.SystemUIService}
I/ActivityManager( 595): Crashing app skipping ANR: ProcessRecord{41808a68 3403:com.android.systemui/u0a10057} Executing service com.android.systemui/.SystemUIService
D/Finsky ( 1303): [1] 5.onFinished: Installation state replication succeeded.
W/ThrottleService( 595): unable to find stats for iface rmnet_usb0
I/dalvikvm( 2521): Total arena pages for JIT: 18
D/dalvikvm( 2521): GC_CONCURRENT freed 409K, 5% free 9933K/10372K, paused 3ms+3ms, total 25ms
D/dalvikvm( 2521): GC_CONCURRENT freed 332K, 4% free 10033K/10396K, paused 3ms+3ms, total 26ms
I/Process ( 3403): Sending signal. PID: 3403 SIG: 9
I/ActivityManager( 595): Process com.android.systemui (pid 3403) has died.
W/ActivityManager( 595): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
I/ActivityManager( 595): Start proc com.android.systemui for restart com.android.systemui: pid=3462 uid=10057 gids={50057, 1028, 1015, 3002, 3001}
W/InputMethodManagerService( 595): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/dalvikvm( 164): GC_EXPLICIT freed 39K, 1% free 8871K/8940K, paused 2ms+3ms, total 30ms
D/dalvikvm( 164): GC_EXPLICIT freed <1K, 1% free 8871K/8940K, paused 2ms+2ms, total 23ms
D/dalvikvm( 164): GC_EXPLICIT freed <1K, 1% free 8871K/8940K, paused 1ms+2ms, total 18ms
Click to expand...
Click to collapse
E/AndroidRuntime( 3403): FATAL EXCEPTION: main
E/AndroidRuntime( 3403): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
So I looked into the source code and found in the SystemUI manifest.xml
<!-- ActivityManager -->
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.REMOVE_TASKS" />
<uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
<uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
<uses-permission android:name="android.permission.START_ANY_ACTIVITY" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
So the app still have the permission! Can anyone help me to figure out what is wrong with my built?
I am getting a similar error, and cannot figure it out either. If you figured it our please let me know.
I think the problem is making a call as user -2 since it starts at 0 and goes up. This leads me to believe -2 does not exist but I can't figure out why it is calling it as -2.
W/dalvikvm( 2668): threadid=1: thread exiting with uncaught exception (group=0x40bee930)
E/AndroidRuntime( 2668): FATAL EXCEPTION: main
E/AndroidRuntime( 2668): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 2668): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2539)
E/AndroidRuntime( 2668): at android.app.ActivityThread.access$1600(ActivityThread.java:141)
E/AndroidRuntime( 2668): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime( 2668): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2668): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2668): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 2668): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2668): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2668): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2668): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2668): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2668): Caused by: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 2668): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 2668): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 2668): at android.view.accessibility.IAccessibilityManager$Stub$Proxy.addClient(IAccessibilityManager.java:203)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:200)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.createSingletonInstance(AccessibilityManager.java:182)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.createAsSharedAcrossUsers(AccessibilityManager.java:153)
E/AndroidRuntime( 2668): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:73)
E/AndroidRuntime( 2668): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529)
E/AndroidRuntime( 2668): ... 10 more
W/ActivityManager( 509): Process com.android.systemui has crashed too many times: killing!
Click to expand...
Click to collapse
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.

[WIP] Fatal exception

Hey all,
I'm working at this moment on a MIUI ICS port for the Galaxy Player 5. Lot of changes have been made so far, I've made it to MIUI's bootscreen. Right there, it goes wrong. Here a part of the logcat:
Code:
E/AndroidRuntime( 206): *** FATAL EXCEPTION IN SYSTEM PROCESS: WindowManagerPolicy
E/AndroidRuntime( 206): android.content.res.Resources$NotFoundException: Resource ID #0x6060008
E/AndroidRuntime( 206): at android.content.res.Resources.getValue(Resources.java:1022)
E/AndroidRuntime( 206): at android.content.res.MiuiResources.getValue(MiuiResources.java:62)
E/AndroidRuntime( 206): at miui.util.ResourceMapper.resolveReference(ResourceMapper.java:9)
E/AndroidRuntime( 206): at miui.util.HapticFeedbackUtil.updateSettings(HapticFeedbackUtil.java:109)
E/AndroidRuntime( 206): at miui.util.HapticFeedbackUtil$SettingsObserver.observe(HapticFeedbackUtil.java:92)
E/AndroidRuntime( 206): at miui.util.HapticFeedbackUtil.<init>(HapticFeedbackUtil.java:75)
E/AndroidRuntime( 206): at com.android.internal.policy.impl.MiuiPhoneWindowManager.init(MiuiPhoneWindowManager.java:129)
E/AndroidRuntime( 206): at com.android.server.wm.WindowManagerService$PolicyThread.run(WindowManagerService.java:733)
E/OMXCodec( 132): Attempting to allocate OMX node 'OMX.google.vorbis.decoder'
E/OMXCodec( 132): Successfully allocated OMX node 'OMX.google.vorbis.decoder'
I/ServiceManager( 126): service 'entropy' died
I/ServiceManager( 126): service 'usagestats' died
I/ServiceManager( 126): service 'package' died
I/ServiceManager( 126): service 'SurfaceFlinger' died
I/ServiceManager( 126): service 'telephony.registry' died
I/ServiceManager( 126): service 'power' died
I/ServiceManager( 126): service 'sensorservice' died
I/ServiceManager( 126): service 'permission' died
I/ServiceManager( 126): service 'batteryinfo' died
I/ServiceManager( 126): service 'gfxinfo' died
I/ServiceManager( 126): service 'cpuinfo' died
I/ServiceManager( 126): service 'activity' died
I/ServiceManager( 126): service 'account' died
I/ServiceManager( 126): service 'meminfo' died
I/ServiceManager( 126): service 'content' died
I/ServiceManager( 126): service 'hardware' died
I/ServiceManager( 126): service 'alarm' died
I/ServiceManager( 126): service 'battery' died
I/ServiceManager( 126): service 'vibrator' died
D/BootAnimation( 221): SurfaceFlinger died, exiting...
E/installd( 134): eof
E/installd( 134): failed to read size
I/installd( 134): closing connection
I/Zygote ( 131): Exit zygote because system server (206) has terminated
For the full logcat, follow this link.
Extra information: I've used Supermaster34's CyanogenMod 9 as base ROM, and Maguro's MIUI (2.8.10) as MIUI base. Furthermore I've solved all incompatibilities in framework.jar and services.jar to get further than the Samsung logo.
Can anyone help me to solve this problem? I'm looking forward to publish my first MIUI ROM for our community
If you need any more information, or the ROM itself, you can always ask or PM.
Thanks in advance!

Using internal memory by default?

I am rooting and flashing a nook for my friend and I've been using my own sd in the process. When I give the nook back I'll take my ad out of it so is there a way of making the nook's internal memory partition as its default memory for storage and whatnot? I think I saw a rom that did this but I might be mistaken
This probably belongs in q&a. Search the forums specifically look into posts under the various ROM posts as I believe it has been covered numerous times. Vold.fstab. In addition an SD card costs $5-10 and comes in handy when updating or troubleshooting problems. Its a wise investment for the minimal expense.
Sent from my CM 10 nook. Thanks devs.
Yes, it's all about the recovery you install and then you can flash a rom using emmc by default. So, the answer is YES.
http://forum.xda-developers.com/showthread.php?t=2056626
katu2006 said:
Yes, it's all about the recovery you install and then you can flash a rom using emmc by default. So, the answer is YES.
http://forum.xda-developers.com/showthread.php?t=2056626
Click to expand...
Click to collapse
Uhh he was asking if STORAGE could be set to default to emmc not about installing ROMs from emmc.
Sent from my CM 10 nook. Thanks devs.
7heBoss said:
I am rooting and flashing a nook for my friend and I've been using my own sd in the process. When I give the nook back I'll take my ad out of it so is there a way of making the nook's internal memory partition as its default memory for storage and whatnot? I think I saw a rom that did this but I might be mistaken
Click to expand...
Click to collapse
See the thread http://forum.xda-developers.com/showthread.php?t=2068595.
SlowCobra96 said:
Uhh he was asking if STORAGE could be set to default to emmc not about installing ROMs from emmc.
Sent from my CM 10 nook. Thanks devs.
Click to expand...
Click to collapse
Misread the post, i thought he was running the rooted version of the SD card...
So I have figured out what I need to do, I just have yet to figure out exactly what text I need to change in that file in order to work for me. I want it to work without an sd in the slot.
7heBoss said:
So I have figured out what I need to do, I just have yet to figure out exactly what text I need to change in that file in order to work for me. I want it to work without an sd in the slot.
Click to expand...
Click to collapse
adb shell setprop persist.sys.vold.switchexternal 1
Click to expand...
Click to collapse
OR directly in Terminal emulator:
su
setprop persist.sys.vold.switchexternal 1
Click to expand...
Click to collapse
This feature was inroduced in CM9 but unfortunelly it missing GUI control in Settings in CM10.
mik_os said:
OR directly in Terminal emulator:
This feature was inroduced in CM9 but unfortunelly it missing GUI control in Settings in CM10.
Click to expand...
Click to collapse
Words can't even express how Thankful I am right now. This is exactly what I was looking for. I was going crazy and getting super frustrated but I finally have this all worked out. Thanks again
7heBoss said:
Words can't even express how Thankful I am right now. This is exactly what I was looking for. I was going crazy and getting super frustrated but I finally have this all worked out. Thanks again
Click to expand...
Click to collapse
Can you post whether you encounter any negative side-effect with this fix (such as reported in this thread http://forum.xda-developers.com/showpost.php?p=35945579&postcount=1)?
digixmax said:
Can you post whether you encounter any negative side-effect with this fix (such as reported in this thread http://forum.xda-developers.com/showpost.php?p=35945579&postcount=1)?
Click to expand...
Click to collapse
Nope, it appears after swapping storage using this way I still get the process android.process.media force closing. (CM10.1)
noobernz said:
Nope, it appears after swapping storage using this way I still get the process android.process.media force closing. (CM10.1)
Click to expand...
Click to collapse
Here is excerpt from Logcat when trying to get to the play store and receiving the error:
Code:
I/ActivityThread( 3813): Pub drm: com.android.providers.drm.DrmProvider
I/DownloadManager( 3813): in removeSpuriousFiles
I/ActivityThread( 3813): Pub media: com.android.providers.media.MediaProvider
E/MediaProvider( 3813): Can't obtain external volume ID even though it's mounted.
D/AndroidRuntime( 3813): Shutting down VM
W/dalvikvm( 3813): threadid=1: thread exiting with uncaught exception (group=0x40e7a930)
E/AndroidRuntime( 3813): FATAL EXCEPTION: main
E/AndroidRuntime( 3813): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3813): at android.app.ActivityThread.installProvider(ActivityThread.java:4972)
E/AndroidRuntime( 3813): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4582)
E/AndroidRuntime( 3813): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4524)
E/AndroidRuntime( 3813): at android.app.ActivityThread.access$1300(ActivityThread.java:150)
E/AndroidRuntime( 3813): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
E/AndroidRuntime( 3813): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3813): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3813): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 3813): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3813): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3813): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 3813): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 3813): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3813): Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3813): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:4986)
E/AndroidRuntime( 3813): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:598)
E/AndroidRuntime( 3813): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 3813): at android.app.ActivityThread.installProvider(ActivityThread.java:4969)
E/AndroidRuntime( 3813): ... 12 more
D/OpenGLRenderer( 3780): Enabling debug mode 0
W/IInputConnectionWrapper( 614): showStatusIcon on inactive InputConnection
D/Finsky ( 3780): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping DFE self-update. Local Version [8016010] >= Server Version [-1]
D/dalvikvm( 3780): GC_CONCURRENT freed 196K, 10% free 3440K/3816K, paused 11ms+11ms, total 44ms
I/Choreographer( 493): Skipped 44 frames! The application may be doing too much work on its main thread.
D/Finsky ( 3780): [1] 2.run: Loaded library for account: [CeCzEOBU3MuyC-Ig393z6fIL5Hs]
D/Finsky ( 3780): [1] 2.run: Finished loading 1 libraries.
I/ActivityManager( 381): Displayed com.android.vending/.AssetBrowserActivity: +1s57ms
D/Finsky ( 3780): [1] InstallerImpl.kick: Installer kick null - no action, not running yet
D/Finsky ( 3780): [1] MainActivity.initializeBilling: Optimistically initializing billing parameters.
I/QuickSettingsController( 493): Default tiles being loaded
I/QuickSettingsController( 493): Tiles list: toggleUser|toggleBrightness|toggleSettings|toggleWifi|toggleMobileData|toggleBattery|toggleAirplane|toggleBluetooth
D/dalvikvm( 3780): GC_FOR_ALLOC freed 210K, 11% free 3513K/3908K, paused 29ms, total 29ms
D/dalvikvm( 3780): GC_FOR_ALLOC freed 10K, 10% free 3788K/4184K, paused 25ms, total 25ms
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/dalvikvm( 3780): GC_FOR_ALLOC freed 138K, 8% free 4000K/4328K, paused 33ms, total 33ms
D/dalvikvm( 3780): GC_FOR_ALLOC freed 8K, 8% free 4226K/4564K, paused 31ms, total 32ms
I/dalvikvm-heap( 3780): Grow heap (frag case) to 5.265MB for 1013776-byte allocation
D/dalvikvm( 3780): GC_FOR_ALLOC freed <1K, 7% free 5216K/5556K, paused 32ms, total 32ms
D/dalvikvm( 3780): GC_CONCURRENT freed 2K, 6% free 5291K/5612K, paused 3ms+4ms, total 47ms
D/dalvikvm( 3780): GC_FOR_ALLOC freed 52K, 4% free 6009K/6244K, paused 23ms, total 23ms
D/dalvikvm( 3780): GC_CONCURRENT freed 56K, 4% free 7158K/7392K, paused 3ms+3ms, total 32ms
D/dalvikvm( 3780): GC_FOR_ALLOC freed 44K, 3% free 8266K/8504K, paused 27ms, total 27ms
D/dalvikvm( 3780): GC_FOR_ALLOC freed 24K, 3% free 9366K/9584K, paused 26ms, total 26ms
D/Finsky ( 3780): [1] BitmapLoader.onGetImageSuccess: #W720#H0http://lh3.ggpht.com/meAsKuRNusGOGdu0-GQZU_1ttJIahYiv7n2UAQeOmX-LuMaS2fUtjSV-J68haJ6qw8Y=w720 is too large to cache
D/Finsky ( 3780): [1] BitmapLoader.onGetImageSuccess: #W720#H0http://lh3.ggpht.com/_xTM0NIKM_JKPrO0c-H9Wvlru765wwiK5sfYNrMXfWxjF_fwlXMyBQtxt1F8E203zw5h=w720 is too large to cache
D/Finsky ( 3780): [1] BitmapLoader.onGetImageSuccess: #W720#H0http://lh4.ggpht.com/i9_A4pBMd275x6VtvBrYUgw151O5i8lFqGq1AQ-Y5wX4iM77PKIAEwR9VuFhso9yzJc=w720 is too large to cache
D/Finsky ( 3780): [1] BitmapLoader.onGetImageSuccess: #W720#H0http://lh6.ggpht.com/scuFNy24WOBaRdAhDq6CPRq4t5z11iv4KLDp1xoB527epHLAVuJLqb_tECQQs36ytQSO=w720 is too large to cache
D/dalvikvm( 3780): GC_EXPLICIT freed 328K, 5% free 10183K/10688K, paused 9ms+10ms, total 114ms
D/dalvikvm( 381): GC_EXPLICIT freed 1394K, 32% free 9874K/14348K, paused 10ms+10ms, total 123ms
I/Process ( 3813): Sending signal. PID: 3813 SIG: 9
I/ActivityManager( 381): Process android.process.media (pid 3813) has died.
W/ActivityManager( 381): Scheduling restart of crashed service com.android.providers.downloads/.DownloadService in 13032ms
I/ActivityManager( 381): Start proc android.process.media for restart android.process.media: pid=3840 uid=10017 gids={50017, 1015, 1023, 1024, 1028, 2001, 3003, 3007}
W/InputMethodManagerService( 381): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
I/ActivityThread( 3840): Pub downloads: com.android.providers.downloads.DownloadProvider
I/DownloadManager( 3840): in removeSpuriousFiles
I/ActivityThread( 3840): Pub drm: com.android.providers.drm.DrmProvider
I/ActivityThread( 3840): Pub media: com.android.providers.media.MediaProvider
E/MediaProvider( 3840): Can't obtain external volume ID even though it's mounted.
D/AndroidRuntime( 3840): Shutting down VM
W/dalvikvm( 3840): threadid=1: thread exiting with uncaught exception (group=0x40e7a930)
E/AndroidRuntime( 3840): FATAL EXCEPTION: main
E/AndroidRuntime( 3840): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3840): at android.app.ActivityThread.installProvider(ActivityThread.java:4972)
E/AndroidRuntime( 3840): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4582)
E/AndroidRuntime( 3840): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4524)
E/AndroidRuntime( 3840): at android.app.ActivityThread.access$1300(ActivityThread.java:150)
E/AndroidRuntime( 3840): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
E/AndroidRuntime( 3840): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3840): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3840): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 3840): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3840): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3840): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 3840): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 3840): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3840): Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3840): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:4986)
E/AndroidRuntime( 3840): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:598)
E/AndroidRuntime( 3840): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 3840): at android.app.ActivityThread.installProvider(ActivityThread.java:4969)
E/AndroidRuntime( 3840): ... 12 more
W/ActivityManager( 381): Process android.process.media has crashed too many times: killing!
I/ActivityManager( 381): Killing proc 3840:android.process.media/u0a10017: crash
W/Finsky ( 3780): [336] DownloadManagerImpl.queryAllDownloads: Download progress cursor null when attempting to fetch all Downloads.
D/Finsky ( 3780): [1] InstallerImpl.kick: Installer kick null - starting com.eamobile.nfsshift_na_wf
W/ActivityManager( 381): Unable to launch app com.android.providers.downloads/10017 for provider downloads: launching app became null
E/ActivityThread( 3780): Failed to find provider info for downloads
D/Finsky ( 3780): [1] DownloadImpl.setState: com.eamobile.nfsshift_na_wf from null to UNQUEUED.
D/Finsky ( 3780): [1] DownloadQueueImpl.add: Download com.eamobile.nfsshift_na_wf added to DownloadQueue
D/Finsky ( 3780): [1] DownloadImpl.setState: com.eamobile.nfsshift_na_wf from UNQUEUED to QUEUED.
I/installd( 99): free_cache(1225593) avail 3262046208
I/ActivityManager( 381): Start proc android.process.media for content provider com.android.providers.downloads/.DownloadProvider: pid=3857 uid=10017 gids={50017, 1015, 1023, 1024, 1028, 2001, 3003, 3007}
D/Finsky ( 3780): [1] DownloadQueueImpl.startDownload: Download com.eamobile.nfsshift_na_wf starting
I/ActivityThread( 3857): Pub downloads: com.android.providers.downloads.DownloadProvider
I/DownloadManager( 3857): in removeSpuriousFiles
I/ActivityThread( 3857): Pub drm: com.android.providers.drm.DrmProvider
I/ActivityThread( 3857): Pub media: com.android.providers.media.MediaProvider
E/MediaProvider( 3857): Can't obtain external volume ID even though it's mounted.
D/AndroidRuntime( 3857): Shutting down VM
W/dalvikvm( 3857): threadid=1: thread exiting with uncaught exception (group=0x40e7a930)
E/AndroidRuntime( 3857): FATAL EXCEPTION: main
E/AndroidRuntime( 3857): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3857): at android.app.ActivityThread.installProvider(ActivityThread.java:4972)
E/AndroidRuntime( 3857): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4582)
E/AndroidRuntime( 3857): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4524)
E/AndroidRuntime( 3857): at android.app.ActivityThread.access$1300(ActivityThread.java:150)
E/AndroidRuntime( 3857): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
E/AndroidRuntime( 3857): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3857): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3857): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 3857): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3857): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3857): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 3857): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 3857): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3857): Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3857): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:4986)
E/AndroidRuntime( 3857): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:598)
E/AndroidRuntime( 3857): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 3857): at android.app.ActivityThread.installProvider(ActivityThread.java:4969)
E/AndroidRuntime( 3857): ... 12 more
I/Process ( 3857): Sending signal. PID: 3857 SIG: 9
I/ActivityManager( 381): Process android.process.media (pid 3857) has died.
W/ActivityManager( 381): Scheduling restart of crashed service com.android.providers.downloads/.DownloadService in 5000ms
I/ActivityManager( 381): Start proc android.process.media for restart android.process.media: pid=3873 uid=10017 gids={50017, 1015, 1023, 1024, 1028, 2001, 3003, 3007}
W/InputMethodManagerService( 381): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
I/ActivityThread( 3873): Pub downloads: com.android.providers.downloads.DownloadProvider
I/ActivityThread( 3873): Pub drm: com.android.providers.drm.DrmProvider
I/DownloadManager( 3873): in removeSpuriousFiles
I/ActivityThread( 3873): Pub media: com.android.providers.media.MediaProvider
E/MediaProvider( 3873): Can't obtain external volume ID even though it's mounted.
D/AndroidRuntime( 3873): Shutting down VM
W/dalvikvm( 3873): threadid=1: thread exiting with uncaught exception (group=0x40e7a930)
E/AndroidRuntime( 3873): FATAL EXCEPTION: main
E/AndroidRuntime( 3873): java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3873): at android.app.ActivityThread.installProvider(ActivityThread.java:4972)
E/AndroidRuntime( 3873): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4582)
E/AndroidRuntime( 3873): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4524)
E/AndroidRuntime( 3873): at android.app.ActivityThread.access$1300(ActivityThread.java:150)
E/AndroidRuntime( 3873): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
E/AndroidRuntime( 3873): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3873): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3873): at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 3873): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3873): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3873): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 3873): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 3873): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3873): Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
E/AndroidRuntime( 3873): at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:4986)
E/AndroidRuntime( 3873): at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:598)
E/AndroidRuntime( 3873): at android.content.ContentProvider.attachInfo(ContentProvider.java:1058)
E/AndroidRuntime( 3873): at android.app.ActivityThread.installProvider(ActivityThread.java:4969)
E/AndroidRuntime( 3873): ... 12 more
W/ActivityManager( 381): Process android.process.media has crashed too many times: killing!
I/ActivityManager( 381): Killing proc 3873:android.process.media/u0a10017: crash
I/ActivityManager( 381): Kill com.android.vending (pid 3780): provider com.android.providers.downloads.DownloadProvider in dying process android.process.media
W/ActivityManager( 381): Unable to launch app com.android.providers.downloads/10017 for provider downloads: launching app became null
W/ActivityManager( 381): Unable to launch app com.android.providers.downloads/10017 for provider downloads: launching app became null
I/WindowState( 381): WIN DEATH: Window{41882c90 u0 com.android.vending/com.android.vending.AssetBrowserActivity}
I/ActivityManager( 381): Process com.android.vending (pid 3780) has died.
W/ActivityManager( 381): Force removing ActivityRecord{416c6b58 u0 com.android.vending/.AssetBrowserActivity}: app died, no saved state
I/InputReader( 381): Reconfiguring input devices. changes=0x00000004
I/InputReader( 381): Device reconfigured: id=5, name='ft5x06-i2c', size 1024x600, orientation 3, mode 1, display id 0
I/ActivityManager( 381): Config changed: {1.0 ?mcc?mnc en_US ldltr sw600dp w600dp h951dp 160dpi lrg port finger -keyb/v/h -nav/h s.20 themeResource=null}
W/InputMethodManagerService( 381): Got RemoteException sending setActive(false) notification to pid 3780 uid 10058
I/QuickSettingsController( 493): Default tiles being loaded
I/QuickSettingsController( 493): Tiles list: toggleUser|toggleBrightness|toggleSettings|toggleWifi|toggleMobileData|toggleBattery|toggleAirplane|toggleBluetooth
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/BluetoothAdapter( 493): 1092469392: getState() : mService = null. Returning STATE_OFF
D/dalvikvm( 381): GC_EXPLICIT freed 446K, 32% free 9792K/14348K, paused 8ms+7ms, total 139ms

[Q] Google Play services and Android modifications

I have problems with Google Play services after I made couple of small
logging source code changes to Android frameworks files. I have tried
with various GApps packages from BasketBuild.
I have rebuilt CyanogenMod12 20150318 build for hammerhead (Nexus5)
and installed also Google Apps. Everything works fine with unmodified
code. Next I tried to study and debug control flow of Android activities and
process creation by adding log output messages to a couple of class
methods in frameworks/base and recompiled again. Basically everything
still works fine but there is a nasty side effect as Google Play
services start to fail. There is a popup message:
"Unfortunately, Google Play services has stopped"
Obviously my changes are causing these problems but I do not
understand what is happening and why only Google Play services
seem to fail. Seems like modifications to final Java classes like
ActivityRecord, ActivityManagerService, ActivityStackSupervisor are
triggering these problems. I did not add or modify class function
APIs or data members. I just added couple of log prints and tests for
intents. These problems are already present during system setup.
I have to delay network configuration as otherwise this Google Play
error is causing the whole configuration phase to stuck.
Attached logcat log contains many suspicous messages:
1. Two jar files do not exist or contain no resources
The jar files actually are in /system/framework directory but for some
reason the files cannot be used.
2. Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
Google search found couple of postings with this message and there
were hints that this could be a signing key problem. However, I did
not detect any Cyanogenmod instructions and my initial unmodified
build worked with GApps and Google services.
3. Parcel errors when unmarshalling
Class com.google.android.gms.auth.firstparty.shared.AppDescription
not found. This is causing android.os.BadParcelableException
exception.
Any ideas what could cause these problems. Here is extract from log output:
I/ActivityManager( 772): Start proc com.google.android.gms.ui for activity com.google.android.gms/.games.ui.signin.SignInActivity: pid=7978 uid=10022 gids={50022, 9997, 2001, 3003, 1007, 3006, 3007, 3002, 3001, 1028, 1015, 1005} abi=armeabi-v7a
E/Zygote ( 7978): ForkAndSpecializeCommon - name=com.google.android.gms.ui info=release
I/Timeline( 7945): Timeline: Activity_idle id: [email protected] time:7502907
W/ResourcesManager( 7978): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 7978): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
I/MultiDex( 7978): VM with version 2.1.0 has multidex support
I/MultiDex( 7978): install
I/MultiDex( 7978): VM has multidex support, MultiDex support library is disabled.
I/ProviderInstaller( 7978): Insert disabled by gate 'gms:security:enable_conscrypt_in_gms_application'
D/GCM ( 2484): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
D/AuthorizationBluetoothService( 2484): Received GmsCore event: Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.auth.be.proximity.authorization.bt.AuthorizationBluetoothService$AutoStarter }.
D/c ( 2484): Getting all permits...
D/a ( 2484): Opening database...
D/LocationInitializer( 2680): Restart initialization of location
D/a ( 2484): Opening database auth.proximity.permit_store...
D/a ( 2484): Closing database...
D/OpenGLRenderer( 7978): Render dirty regions requested: true
D/Atlas ( 7978): Validating map...
I/Adreno-EGL( 7978): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/24/14, 167c270, I68fa98814b
I/OpenGLRenderer( 7978): Initialized EGL, version 1.4
D/OpenGLRenderer( 7978): Enabling debug mode 0
I/ActivityManager( 772): START u0 {act=com.google.android.gms.common.account.CHOOSE_ACCOUNT flg=0x20000000 pkg=com.google.android.gms cmp=com.google.android.gms/.common.account.AccountPickerActivity (has extras)} from uid 10022 on display 0
I/Timeline( 772): Timeline: Activity_windows_visible id: ActivityRecord{3cfb3e37 u0 com.google.android.gms/.games.ui.signin.SignInActivity t13} time:7503232
W/GLSActivity( 2484): [LegacyAuthenticator] The app AppDescription<com.google.android.gms, 10022> is invoking addAccount
W/GLSActivity( 2484): [LegacyAuthenticator] Returning intent launch AccountIntroActivity.
I/Timeline( 7978): Timeline: Activity_launch_request id:com.google.android.gms time:7503308
I/ActivityManager( 772): START u0 {flg=0x80000 cmp=com.google.android.gms/.auth.gsf.AccountIntroActivity (has extras)} from uid 10022 on display 0
I/GLSActivity( 7978): [AccountIntroActivity] Provisioning with name/email. Edu: false
I/GLSActivity( 7978): [AccountIntroActivity] Setup a Google account using GmsCore managed workflow.
I/Timeline( 7978): Timeline: Activity_launch_request id:com.google.android.gms time:7503474
E/Parcel ( 772): Class not found when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): java.lang.ClassNotFoundException: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): at java.lang.Class.classForName(Native Method)
E/Parcel ( 772): at java.lang.Class.forName(Class.java:308)
E/Parcel ( 772): at java.lang.Class.forName(Class.java:272)
E/Parcel ( 772): at android.os.Parcel.readParcelableCreator(Parcel.java:2275)
E/Parcel ( 772): at android.os.Parcel.readParcelable(Parcel.java:2239)
E/Parcel ( 772): at android.os.Parcel.readValue(Parcel.java:2146)
E/Parcel ( 772): at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
E/Parcel ( 772): at android.os.BaseBundle.unparcel(BaseBundle.java:221)
E/Parcel ( 772): at android.os.BaseBundle.containsKey(BaseBundle.java:269)
E/Parcel ( 772): at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1314)
E/Parcel ( 772): at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:950)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3654)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3641)
E/Parcel ( 772): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:141)
E/Parcel ( 772): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2476)
E/Parcel ( 772): at android.os.Binder.execTransact(Binder.java:446)
E/Parcel ( 772): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.auth.firstparty.shared.AppDescription" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/Parcel ( 772): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/Parcel ( 772): ... 16 more
E/Parcel ( 772): Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.auth.firstparty.shared.AppDescription
E/Parcel ( 772): at java.lang.Class.classForName(Native Method)
E/Parcel ( 772): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/Parcel ( 772): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/Parcel ( 772): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/Parcel ( 772): ... 17 more
E/Parcel ( 772): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
F/ActivityManager( 772): Activity Manager Crash
F/ActivityManager( 772): android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
F/ActivityManager( 772): at android.os.Parcel.readParcelableCreator(Parcel.java:2289)
F/ActivityManager( 772): at android.os.Parcel.readParcelable(Parcel.java:2239)
F/ActivityManager( 772): at android.os.Parcel.readValue(Parcel.java:2146)
F/ActivityManager( 772): at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
F/ActivityManager( 772): at android.os.BaseBundle.unparcel(BaseBundle.java:221)
F/ActivityManager( 772): at android.os.BaseBundle.containsKey(BaseBundle.java:269)
F/ActivityManager( 772): at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1314)
F/ActivityManager( 772): at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:950)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3654)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:3641)
F/ActivityManager( 772): at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:141)
F/ActivityManager( 772): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2476)
F/ActivityManager( 772): at android.os.Binder.execTransact(Binder.java:446)
D/AndroidRuntime( 7978): Shutting down VM
--------- beginning of crash
E/AndroidRuntime( 7978): FATAL EXCEPTION: main
E/AndroidRuntime( 7978): Process: com.google.android.gms.ui, PID: 7978
E/AndroidRuntime( 7978): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.gms/com.google.android.gms.auth.gsf.AccountIntroActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/AndroidRuntime( 7978): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2329)
E/AndroidRuntime( 7978): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391)
E/AndroidRuntime( 7978): at android.app.ActivityThread.access$900(ActivityThread.java:147)
E/AndroidRuntime( 7978): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296)
E/AndroidRuntime( 7978): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 7978): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 7978): at android.app.ActivityThread.main(ActivityThread.java:5256)
E/AndroidRuntime( 7978): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 7978): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 7978): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime( 7978): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
E/AndroidRuntime( 7978): Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.google.android.gms.auth.firstparty.shared.AppDescription
E/AndroidRuntime( 7978): at android.os.Parcel.readException(Parcel.java:1542)
E/AndroidRuntime( 7978): at android.os.Parcel.readException(Parcel.java:1493)
E/AndroidRuntime( 7978): at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:2414)
E/AndroidRuntime( 7978): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1480)
E/AndroidRuntime( 7978): at android.app.Activity.startActivityForResult(Activity.java:3736)
E/AndroidRuntime( 7978): at android.app.Activity.startActivityForResult(Activity.java:3697)
E/AndroidRuntime( 7978): at android.support.v4.app.q.startActivityForResult(SourceFile:817)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.b.startActivityForResult(SourceFile:660)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.b.a(SourceFile:513)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.i(SourceFile:358)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.d(SourceFile:213)
E/AndroidRuntime( 7978): at com.google.android.gms.auth.gsf.AccountIntroActivity.onCreate(SourceFile:188)
E/AndroidRuntime( 7978): at android.app.Activity.performCreate(Activity.java:5933)
E/AndroidRuntime( 7978): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
E/AndroidRuntime( 7978): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2282)
E/AndroidRuntime( 7978): ... 10 more
W/ActivityManager( 772): Force finishing activity com.google.android.gms/.auth.gsf.AccountIntroActivity
W/ActivityManager( 772): Force finishing activity com.google.android.gms/.common.account.AccountPickerActivity
W/DropBoxManagerService( 772): Dropping: system_server_wtf (1497 > 0 bytes)
W/DropBoxManagerService( 772): Dropping: system_app_crash (2410 > 0 bytes)

Categories

Resources