I have already search this on google & baidu, but I cant find any solution. My zygote can't start. I stop almost every services now. I use tegra2-android2.2kernel and ics's randisk(init.c is compiled in android 2.2) & system.img.
ERROR is like this:
[ 9.932634] enabling adb
[ 9.935819] init: processing action 0x6bb78 (bootchart_init)
[ 9.935924] adb_open(adbd)
[ 9.944285] init: bootcharting ignored
[ 9.948060] init: command 'bootchart_init' r=0
[ 9.953016] init: processing action 0x6a7f0 (nonencrypted)
[ 9.958542] init: command 'class_start' r=0
[ 9.963039] init: processing action 0x6ab50 (propertyersist.sys.usb.config=*)
[ 9.970645] init: command 'setprop' r=0
[ 9.974533] init: processing action 0x6ad18 (property:ro.debuggable=1)
[ 9.981620] init: command 'start' r=0
[ 9.985309] init: processing action 0x6b7e0 (propertyersist.service.adb.enable=1)
[ 10.007951] init: command 'insmod' r=-1
[ 10.011828] init: command 'start' r=0
[ 10.016004] init: processing action 0x6ab00 (property:sys.usb.config=adb)
[ 10.023153] init: command 'start' r=0
bash-3.2# [ 10.064904] init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0'
[ 10.087391] init: Created socket '/dev/socket/dbus' with mode '660', user '1002', group '1002'
[ 10.117389] init: Created socket '/dev/socket/dumpstate' with mode '660', user '2000', group '1007'
[ 13.177710] init: waitpid returned pid 1974, status = 00000000
[ 13.183542] init: process 'zygote', pid 1974 exited
[ 13.188434] init: process 'zygote' killing any children in process group
[ 13.195229] request_suspend_state: wakeup (3->0) at 8990531782 (2012-02-26 11:03:31.619458477 UTC)
[ 15.204796] init: starting 'zygote'
[ 15.227411] init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0'
[ 17.729693] init: waitpid returned pid 1990, status = 00000000
[ 17.735542] init: process 'zygote', pid 1990 exited
[ 17.740431] init: process 'zygote' killing any children in process group
[ 17.747230] request_suspend_state: wakeup (0->0) at 13542533140 (2012-02-26 11:03:36.171459835 UTC)
[ 20.759434] init: starting 'zygote'
.......
and logcat is :
I/DEBUG ( 1974): debuggerd: Feb 20 2012 13:38:05
I/dumpstate( 1977): begin
D/AndroidRuntime( 1984):
D/AndroidRuntime( 1984): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1984): CheckJNI is OFF
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
F/libc ( 1986): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'core.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/core.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/core.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---
F/libc ( 1987): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'core-junit.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/core-junit.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/core-junit.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1) ---
F/libc ( 1988): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'bouncycastle.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/bouncycastle.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/bouncycastle.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
F/libc ( 1989): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'ext.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/ext.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/ext.jar'
D/dalvikvm( 1984): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
F/libc ( 1990): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'framework.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/framework.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'android.policy.jar' (bootstrap=1) ---
F/libc ( 1991): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'android.policy.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/android.policy.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/android.policy.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
F/libc ( 1992): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'services.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/services.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/services.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'apache-xml.jar' (bootstrap=1) ---
F/libc ( 1993): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'apache-xml.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/apache-xml.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/apache-xml.jar'
D/dalvikvm( 1984): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1984): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1984): DexOpt: --- BEGIN 'filterfw.jar' (bootstrap=1) ---
F/libc ( 1994): Fatal signal 11 (SIGSEGV) at 0x004014b4 (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
W/dalvikvm( 1984): DexOpt: --- END 'filterfw.jar' --- status=0x000b, process failed
E/dalvikvm( 1984): Unable to extract+optimize DEX from '/system/framework/filterfw.jar'
D/dalvikvm( 1984): Unable to process classpath element '/system/framework/filterfw.jar'
E/dalvikvm( 1984): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar'
E/dalvikvm( 1984): VM aborting
F/libc ( 1984): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
I/DEBUG ( 1974): ptrace attach failed: Operation not permitted
D/AndroidRuntime( 1996):
D/AndroidRuntime( 1996): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1996): CheckJNI is OFF
......
can anyone help me please?
I'm stuck on the same thing. Please, someone help!
Related
hi people ! I need your help !
I am accidentally deleted /system/framework/framework-res.apk
and now, the phone start, boot to the boot screen "Sony Erricson" - thats all.
I can connect to him with adb shell, but i can install framework-res.apk or use "su"
mode.
$ mount -o remount,rw /dev/block/mtdblock0 /system
mount -o remount,rw /dev/block/mtdblock0 /system
mount: Operation not permitted
$ su
su
[1] + Stopped (signal) su
$ su
su
[2] + Stopped (signal) su
[1] Segmentation fault su
some of logg
Code:
D/dalvikvm( 2051): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 2051): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 2051): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 2051): Trying to load lib /system/lib/libmedia_jni.so 0x0
D/dalvikvm( 2051): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0
D/dalvikvm( 2051): GC freed 3790 objects / 196984 bytes in 16ms
D/dalvikvm( 2051): GC freed 463 objects / 26360 bytes in 15ms
D/dalvikvm( 2051): GC freed 294 objects / 17048 bytes in 16ms
D/dalvikvm( 2051): GC freed 204 objects / 11480 bytes in 17ms
D/dalvikvm( 2051): GC freed 172 objects / 9256 bytes in 18ms
D/dalvikvm( 2051): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 2051): Added shared lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 2051): Trying to load lib /system/lib/libsrec_jni.so 0x0
D/dalvikvm( 2051): Shared lib '/system/lib/libsrec_jni.so' already loaded in same CL 0x0
W/asset ( 2051): Asset path /system/framework/framework-res.apk is neither a directory nor file (type=1).
W/asset ( 2051): Unable to find resources file resources.arsc
W/dalvikvm( 2051): Exception Landroid/content/res/Resources$NotFoundException; thrown during Landroid/text/AutoText;.<clinit>
E/Zygote ( 2051): Error preloading android.text.AutoText.
E/Zygote ( 2051): java.lang.ExceptionInInitializerError
E/Zygote ( 2051): at java.lang.Class.classForName(Native Method)
E/Zygote ( 2051): at java.lang.Class.forName(Class.java:237)
E/Zygote ( 2051): at java.lang.Class.forName(Class.java:183)
E/Zygote ( 2051): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:295)
E/Zygote ( 2051): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
E/Zygote ( 2051): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 2051): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x10b0001
E/Zygote ( 2051): at android.content.res.Resources.getValue(Resources.java:891)
E/Zygote ( 2051): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1865)
E/Zygote ( 2051): at android.content.res.Resources.getXml(Resources.java:779)
E/Zygote ( 2051): at android.text.AutoText.init(AutoText.java:160)
E/Zygote ( 2051): at android.text.AutoText.<init>(AutoText.java:76)
E/Zygote ( 2051): at android.text.AutoText.<clinit>(AutoText.java:56)
E/Zygote ( 2051): ... 6 more
D/AndroidRuntime( 2051): Shutting down VM
W/dalvikvm( 2051): threadid=3: thread exiting with uncaught exception (group=0x40026160)
D/dalvikvm( 2051): DestroyJavaVM waiting for non-daemon threads to exit
D/dalvikvm( 2051): DestroyJavaVM shutting VM down
D/dalvikvm( 2051): VM cleaning up
D/dalvikvm( 2051): LinearAlloc 0x0 used 1416396 of 5242880 (27%)
D/skia ( 2051): purging 6K from font cache [1 entries]
I/ServiceManager( 1092): service 'media.audio_flinger' died
I/ServiceManager( 1092): service 'media.player' died
I/ServiceManager( 1092): service 'media.camera' died
I/ServiceManager( 1092): service 'media.audio_policy' died
D/AudioHardwareInterface( 2052): setMode(NORMAL)
I/CameraService( 2052): CameraService started: pid=2052
I/AudioFlinger( 2052): AudioFlinger's thread 0xbec0 ready to run
D/AudioHardwareMSM72XX( 2052): setVoiceVolume(1.000000)
I am fixed my trouble !
I connect my phone with USB, then start SuperOneClick, push ShellRoot - get rooted shel in my session.Next i remount my system folder "mount -o remount,rw /dev/block/mtdblock0 /system" and put the file
adb push framework-res.apk /system/framework/framework-res.apk
Now all works good !
Thank you kobzarcheg
You saved me a lot of agony.
you wellcome
tried porting miui to my phone i think im almost done please sum one help !!!!
ODEX file is stale or bad...
below is my logcat !!!
D/dalvikvm( 1668): threadid=1: interp stack at 0x4bba8000
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
E/dalvikvm( 1669): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'core.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/core.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/core.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---
E/dalvikvm( 1670): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'core-junit.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/core-junit.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/core-junit.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1) ---
E/dalvikvm( 1671): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'bouncycastle.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/bouncycastle.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/bouncycastle.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
E/dalvikvm( 1672): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'ext.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/ext.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/ext.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
E/dalvikvm( 1673): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'framework.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/framework.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'android.policy.jar' (bootstrap=1) ---
E/dalvikvm( 1674): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'android.policy.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/android.policy.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/android.policy.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
E/dalvikvm( 1675): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'services.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/services.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/services.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'apache-xml.jar' (bootstrap=1) ---
E/dalvikvm( 1677): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'apache-xml.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/apache-xml.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/apache-xml.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 1668): DexOpt: --- BEGIN 'filterfw.jar' (bootstrap=1) ---
E/dalvikvm( 1678): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'filterfw.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/filterfw.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/filterfw.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected] classes.dex)
D/dalvikvm( 1668): DexOpt: --- BEGIN 'com.qrd.plugin.feature_query.jar' (bootstrap=1) ---
E/dalvikvm( 1679): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'com.qrd.plugin.feature_query.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/com.qrd.plugin.feature_query.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/com.qrd.plugin.feature_query.jar'
D/dalvikvm( 1668): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1668): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/[email protected]@[email protected] x)
D/dalvikvm( 1668): DexOpt: --- BEGIN 'com.qrdinside.impl.jar' (bootstrap=1) ---
E/dalvikvm( 1680): DexOpt: build rev does not match VM: 27 vs 28
W/dalvikvm( 1668): DexOpt: --- END 'com.qrdinside.impl.jar' --- status=0xff00, process failed
E/dalvikvm( 1668): Unable to extract+optimize DEX from '/system/framework/com.qrdinside.impl.jar'
D/dalvikvm( 1668): Unable to process classpath element '/system/framework/com.qrdinside.impl.jar'
E/dalvikvm( 1668): No valid entries found in bootclasspath '/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/com.qrd.plugin.feature_query.jar:/system/framework/com.qrdinside.impl.jar'
E/dalvikvm( 1668): VM aborting
Miui is not supported by xda no miui threads please
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Hi all,
I want to build my own cyanogenmod port for my device (tablet). It's an Allwinner 13 tablet (inet 86vz)
I started following Doc:_porting_intro on cyanogenmod wiki (cannot post url) and everything seems good and now the step for testing recovery image is a problem.
I successfully build the recovery.img. I installed it on my device and reboot it in recovery mode. I can see the beautiful hat ! But nands partitions have not been found and cache partition had not been mounted. I watch /tmp/recovery.log and it's confirm that.
I'm not sure it is the fix, but inserting (with insmod) the nand.ko module solve the problem. My question : how can I automate that ? In which file ?
I didn't find another similary device.
Thanks in advance for any help.
I continue my story. I successfully build recovery image and build cm10.2 for my device but it does not work: I've got a bootloop.
Between loop I can access (for a very short time) my device with adb.
I've got logcat for it.
Code:
--------- beginning of /dev/log/main
I/e2fsck ( 65): e2fsck 1.41.14 (22-Dec-2010)
I/e2fsck ( 65): /system/bin/e2fsck: Device or resource busy while trying to open /dev/block/nande
I/e2fsck ( 65): Filesystem mounted or opened exclusively by another program?
I/e2fsck ( 65): e2fsck terminated by exit(8)
I/e2fsck ( 70): e2fsck 1.41.14 (22-Dec-2010)
I/e2fsck ( 70): /system/bin/e2fsck: Device or resource busy while trying to open /dev/block/nandh
I/e2fsck ( 70): Filesystem mounted or opened exclusively by another program?
I/e2fsck ( 70): e2fsck terminated by exit(8)
I/installd( 84): installd firing up
I/DEBUG ( 78): debuggerd: Jan 27 2014 06:50:33
--------- beginning of /dev/log/system
I/Vold ( 76): Vold 2.1 (the revenge) firing up
E/Vold ( 76): failed to open /fstab.sun5i
E/Vold ( 76): Error reading configuration (No such file or directory)... continuing anyways
I/Netd ( 77): Netd 1.0 starting
W/InterfaceController( 77): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/AndroidRuntime( 91):
D/AndroidRuntime( 91): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 91): CheckJNI is ON
D/dalvikvm( 91): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 91): Added shared lib libjavacore.so 0x0
D/dalvikvm( 91): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 91): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 91): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 91): Profiling disabled.
I/Zygote ( 91): Preloading classes...
E/cutils-trace( 91): Error opening trace file: No such file or directory (2)
D/dalvikvm( 91): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 91): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 91): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 91): register_android_mtp_MtpDevice
I/dalvikvm( 91): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 91): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 91): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MDnsDS ( 77): MDnsSdListener::Hander starting up
D/MDnsDS ( 77): MDnsSdListener starting to monitor
D/MDnsDS ( 77): Going to poll with pollCount 1
I/dalvikvm( 91): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 91): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
D/AndroidRuntime( 315):
D/AndroidRuntime( 315): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 315): CheckJNI is ON
D/dalvikvm( 315): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 315): Added shared lib libjavacore.so 0x0
D/dalvikvm( 315): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 315): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 315): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 315): Profiling disabled.
I/Zygote ( 315): Preloading classes...
E/cutils-trace( 315): Error opening trace file: No such file or directory (2)
D/dalvikvm( 315): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 315): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 315): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 315): register_android_mtp_MtpDevice
I/dalvikvm( 315): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 315): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 315): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 315): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 315): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
D/AndroidRuntime( 323):
D/AndroidRuntime( 323): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 323): CheckJNI is ON
D/dalvikvm( 323): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 323): Added shared lib libjavacore.so 0x0
D/dalvikvm( 323): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 323): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 323): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 323): Profiling disabled.
I/Zygote ( 323): Preloading classes...
E/cutils-trace( 323): Error opening trace file: No such file or directory (2)
D/dalvikvm( 323): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 323): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 323): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 323): register_android_mtp_MtpDevice
I/dalvikvm( 323): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 323): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 323): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 323): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 323): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
W/dalvikvm( 323): Exception Ljava/lang/RuntimeException; thrown while initializing Lorg/apache/harmony/security/provider/crypto/RandomBitsSupplier;
W/dalvikvm( 323): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lorg/apache/harmony/security/fortress/Services;
W/dalvikvm( 323): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/security/KeyPairGenerator;
E/Zygote ( 323): Error preloading java.security.KeyPairGenerator.
E/Zygote ( 323): java.lang.ExceptionInInitializerError
E/Zygote ( 323): at org.apache.harmony.security.provider.crypto.CryptoProvider.<init>(CryptoProvider.java:58)
E/Zygote ( 323): at java.lang.Class.newInstanceImpl(Native Method)
E/Zygote ( 323): at java.lang.Class.newInstance(Class.java:1130)
E/Zygote ( 323): at org.apache.harmony.security.fortress.Services.<clinit>(Services.java:79)
E/Zygote ( 323): at java.security.SecureRandom.<init>(SecureRandom.java:89)
E/Zygote ( 323): at java.security.KeyPairGenerator.<clinit>(KeyPairGenerator.java:40)
E/Zygote ( 323): at java.lang.Class.classForName(Native Method)
E/Zygote ( 323): at java.lang.Class.forName(Class.java:204)
E/Zygote ( 323): at java.lang.Class.forName(Class.java:169)
E/Zygote ( 323): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:280)
E/Zygote ( 323): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:227)
E/Zygote ( 323): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:524)
E/Zygote ( 323): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 323): Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 323): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:36)
E/Zygote ( 323): ... 13 more
E/Zygote ( 323): Caused by: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 323): at libcore.io.IoBridge.open(IoBridge.java:409)
E/Zygote ( 323): at java.io.FileInputStream.<init>(FileInputStream.java:78)
E/Zygote ( 323): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:34)
E/Zygote ( 323): ... 13 more
E/Zygote ( 323): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/Zygote ( 323): at libcore.io.Posix.open(Native Method)
E/Zygote ( 323): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/Zygote ( 323): at libcore.io.IoBridge.open(IoBridge.java:393)
E/Zygote ( 323): ... 15 more
D/AndroidRuntime( 323): Shutting down VM
W/dalvikvm( 323): threadid=1: thread exiting with uncaught exception (group=0x41b887c0)
I/Netd ( 333): Netd 1.0 starting
W/InterfaceController( 333): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/AndroidRuntime( 338):
D/AndroidRuntime( 338): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 338): CheckJNI is ON
D/dalvikvm( 338): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 338): Added shared lib libjavacore.so 0x0
D/dalvikvm( 338): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 338): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 338): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 338): Profiling disabled.
I/Zygote ( 338): Preloading classes...
E/cutils-trace( 338): Error opening trace file: No such file or directory (2)
D/dalvikvm( 338): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 338): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 338): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 338): register_android_mtp_MtpDevice
I/dalvikvm( 338): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 338): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 338): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 338): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 338): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
W/dalvikvm( 338): Exception Ljava/lang/RuntimeException; thrown while initializing Lorg/apache/harmony/security/provider/crypto/RandomBitsSupplier;
W/dalvikvm( 338): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lorg/apache/harmony/security/fortress/Services;
W/dalvikvm( 338): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/security/KeyPairGenerator;
E/Zygote ( 338): Error preloading java.security.KeyPairGenerator.
E/Zygote ( 338): java.lang.ExceptionInInitializerError
E/Zygote ( 338): at org.apache.harmony.security.provider.crypto.CryptoProvider.<init>(CryptoProvider.java:58)
E/Zygote ( 338): at java.lang.Class.newInstanceImpl(Native Method)
E/Zygote ( 338): at java.lang.Class.newInstance(Class.java:1130)
E/Zygote ( 338): at org.apache.harmony.security.fortress.Services.<clinit>(Services.java:79)
E/Zygote ( 338): at java.security.SecureRandom.<init>(SecureRandom.java:89)
E/Zygote ( 338): at java.security.KeyPairGenerator.<clinit>(KeyPairGenerator.java:40)
E/Zygote ( 338): at java.lang.Class.classForName(Native Method)
E/Zygote ( 338): at java.lang.Class.forName(Class.java:204)
E/Zygote ( 338): at java.lang.Class.forName(Class.java:169)
E/Zygote ( 338): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:280)
E/Zygote ( 338): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:227)
E/Zygote ( 338): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:524)
E/Zygote ( 338): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 338): Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 338): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:36)
E/Zygote ( 338): ... 13 more
E/Zygote ( 338): Caused by: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 338): at libcore.io.IoBridge.open(IoBridge.java:409)
E/Zygote ( 338): at java.io.FileInputStream.<init>(FileInputStream.java:78)
E/Zygote ( 338): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:34)
E/Zygote ( 338): ... 13 more
E/Zygote ( 338): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/Zygote ( 338): at libcore.io.Posix.open(Native Method)
E/Zygote ( 338): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/Zygote ( 338): at libcore.io.IoBridge.open(IoBridge.java:393)
E/Zygote ( 338): ... 15 more
D/AndroidRuntime( 338): Shutting down VM
W/dalvikvm( 338): threadid=1: thread exiting with uncaught exception (group=0x40dc27c0)
I/Netd ( 544): Netd 1.0 starting
W/InterfaceController( 544): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
D/AndroidRuntime( 546):
D/AndroidRuntime( 546): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 546): CheckJNI is ON
D/AndroidRuntime( 551):
D/AndroidRuntime( 551): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 551): CheckJNI is ON
D/dalvikvm( 551): DexOpt: sleeping on flock(/cache/dalvik-cache/[email protected]@[email protected])
D/dalvikvm( 546): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 546): Added shared lib libjavacore.so 0x0
D/dalvikvm( 551): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 551): Added shared lib libjavacore.so 0x0
D/dalvikvm( 546): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 546): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 551): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 551): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 546): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
W/dalvikvm( 551): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 546): Profiling disabled.
I/SamplingProfilerIntegration( 551): Profiling disabled.
I/Zygote ( 546): Preloading classes...
E/cutils-trace( 546): Error opening trace file: No such file or directory (2)
I/Zygote ( 551): Preloading classes...
E/cutils-trace( 551): Error opening trace file: No such file or directory (2)
D/dalvikvm( 546): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/dalvikvm( 551): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
D/TextLayoutCache( 546): Using debug level = 0 - Debug Enabled = 0
D/TextLayoutCache( 551): Using debug level = 0 - Debug Enabled = 0
I/dalvikvm( 546): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 551): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 546): register_android_mtp_MtpDevice
I/dalvikvm( 546): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 546): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
D/MtpDeviceJNI( 551): register_android_mtp_MtpDevice
I/dalvikvm( 551): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 546): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 551): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 551): threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
I/dalvikvm( 546): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
I/dalvikvm( 551): threadid=1: recursive native library load attempt (/system/lib/libwebcore.so)
D/dalvikvm( 551): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
D/dalvikvm( 546): No JNI_OnLoad found in /system/lib/libchromium_net.so 0x0, skipping init
W/dalvikvm( 546): Exception Ljava/lang/RuntimeException; thrown while initializing Lorg/apache/harmony/security/provider/crypto/RandomBitsSupplier;
W/dalvikvm( 546): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lorg/apache/harmony/security/fortress/Services;
W/dalvikvm( 546): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Ljava/security/KeyPairGenerator;
D/AndroidRuntime( 700):
D/AndroidRuntime( 700): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 700): CheckJNI is ON
E/Zygote ( 546): Error preloading java.security.KeyPairGenerator.
E/Zygote ( 546): java.lang.ExceptionInInitializerError
E/Zygote ( 546): at org.apache.harmony.security.provider.crypto.CryptoProvider.<init>(CryptoProvider.java:58)
E/Zygote ( 546): at java.lang.Class.newInstanceImpl(Native Method)
E/Zygote ( 546): at java.lang.Class.newInstance(Class.java:1130)
E/Zygote ( 546): at org.apache.harmony.security.fortress.Services.<clinit>(Services.java:79)
E/Zygote ( 546): at java.security.SecureRandom.<init>(SecureRandom.java:89)
E/Zygote ( 546): at java.security.KeyPairGenerator.<clinit>(KeyPairGenerator.java:40)
E/Zygote ( 546): at java.lang.Class.classForName(Native Method)
E/Zygote ( 546): at java.lang.Class.forName(Class.java:204)
E/Zygote ( 546): at java.lang.Class.forName(Class.java:169)
E/Zygote ( 546): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:280)
E/Zygote ( 546): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:227)
E/Zygote ( 546): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:524)
E/Zygote ( 546): at dalvik.system.NativeStart.main(Native Method)
E/Zygote ( 546): Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 546): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:36)
E/Zygote ( 546): ... 13 more
E/Zygote ( 546): Caused by: java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied)
E/Zygote ( 546): at libcore.io.IoBridge.open(IoBridge.java:409)
E/Zygote ( 546): at java.io.FileInputStream.<init>(FileInputStream.java:78)
E/Zygote ( 546): at org.apache.harmony.security.provider.crypto.RandomBitsSupplier.<clinit>(RandomBitsSupplier.java:34)
E/Zygote ( 546): ... 13 more
E/Zygote ( 546): Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
E/Zygote ( 546): at libcore.io.Posix.open(Native Method)
E/Zygote ( 546): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
E/Zygote ( 546): at libcore.io.IoBridge.open(IoBridge.java:393)
E/Zygote ( 546): ... 15 more
D/AndroidRuntime( 546): Shutting down VM
W/dalvikvm( 546): threadid=1: thread exiting with uncaught exception (group=0x40f1e7c0)
D/dalvikvm( 700): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 700): Added shared lib libjavacore.so 0x0
D/dalvikvm( 700): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 700): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 700): PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
I/SamplingProfilerIntegration( 700): Profiling disabled.
D/MDnsDS ( 544): MDnsSdListener::Hander starting up
D/MDnsDS ( 544): MDnsSdListener starting to monitor
D/MDnsDS ( 544): Going to poll with pollCount 1
I/Zygote ( 700): Preloading classes...
E/cutils-trace( 700): Error opening trace file: No such file or directory (2)
D/dalvikvm( 700): Note: class Landroid/app/ActivityManagerNative; has 164 unimplemented (abstract) methods
Any idea to help me ? Thanks in advance.
If you want more information just tell me.
My device continue to go in bootloop. Don't know what to do or what information can be useful to find a solution.
Is there another way to try to port cyanogenmod to my device by small patch beginning with my stock rom ?
Question:
Does Dex Optimization happens each time we reboot the device ? Or the dex files are stored into the system itself, and used for second time ?
Directory : system/framework
Files : core.jar, core-junit.jar , framework.jar , etc...
Source Code Analysis:
It looks like, the system check if there is already dex file in the cache, if exist, it just ignores, if not it creates a dex file.
http://androidxref.com/4.1.2/xref/dalvik/vm/RawDexFile.cpp :
optFd = dvmOpenCachedDexFile(fileName, cachedName, modTime,
adler32, isBootstrap, &newFile, /*createIfMissing=*/true);
This 'newFile' flag tells if dex file exists in the cache,
Below is the code which actually invokes dex optimization over the file.
if (newFile) {
......
result = dvmOptimizeDexFile(optFd, dexOffset, fileSize,
fileName, modTime, adler32, isBootstrap);
Logcat Output:
03-29 12:16:59.617 D/dalvikvm( 1071): DexOpt: --- END 'core.jar' (success) ---
03-29 12:16:59.617 D/dalvikvm( 1071): DEX prep '/system/framework/core.jar': unzip in 239ms, rewrite 3943ms
03-29 12:16:59.617 D/dalvikvm( 1071): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---
03-29 12:16:59.664 D/dalvikvm( 1372): DexOpt: load 4ms, verify+opt 10ms, 137044 bytes
03-29 12:17:00.250 D/dalvikvm( 1071): DexOpt: --- END 'core-junit.jar' (success) ---
03-29 12:17:00.250 D/dalvikvm( 1071): DEX prep '/system/framework/core-junit.jar': unzip in
0ms, rewrite 627ms
03-29 12:17:00.304 D/dalvikvm( 1071): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1) ---
03-29 12:17:00.882 D/dalvikvm( 1373): DexOpt: load 25ms, verify+opt 463ms, 598508 bytes
03-29 12:17:01.507 D/dalvikvm( 1071): DexOpt: --- END 'bouncycastle.jar' (success) ---
03-29 12:17:01.507 D/dalvikvm( 1071): DEX prep '/system/framework/bouncycastle.jar': unzip
in 49ms, rewrite 1204ms
03-29 12:17:01.632 D/dalvikvm( 1071): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
Hi,
I have Maxtron MG-251.
ro.build.description=maxtron-eng 2.2.1 MASTER eng.root.20111231.164503 test-keys
ro.mediatek.platform=MT6516
After wipe data n cache. my phone is stuck in a boot loop.
and this is my logcat:
W/dalvikvm( 206): Size mismatch on inflated file (7343806 vs 7327272)
E/dalvikvm( 206): Unable to extract+optimize DEX from '/system/framework/framework.jar'
D/dalvikvm( 206): Unable to process classpath element '/system/framework/framework.jar'
D/dalvikvm( 206): --- Pre-verify the deps data ---
D/dalvikvm( 206): --- Pre-verify the deps data ---
D/AndroidRuntime( 206): --- registering native functions ---
D/bwcs ( 55): [BWCS][setBWCSEvent] event code 0x00000030 WiFi found 0 BT found 0 Single Ant 1
E/JNIHelp ( 206): Native registration unable to find class 'android/debug/JNITest'
E/AndroidRuntime( 206): Unable to register all android natives
D/AndroidRuntime( 207):
D/AndroidRuntime( 207): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime( 207): CheckJNI is OFF
D/dalvikvm( 207): --- Pre-verify the deps data ---
D/dalvikvm( 207): --- Pre-verify the deps data ---
D/dalvikvm( 207): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 207): Stale deps in cache file; removing and retrying
V/MUXD ( 80): 4014:watchdog(): Enter
V/MUXD ( 80): 4017:watchdog(): Serial state is 4
D/MUXD ( 80): 4472:main(): GSM0710 buffer. Stored 0
D/MUXD ( 80): 4473:main(): Frames received/dropped: 61/0
Click to expand...
Click to collapse
Please, help. i don't have this firmware.
help me please...
my friends
---------- Post added at 12:50 PM ---------- Previous post was at 12:46 PM ----------
i can't help u
no problem bro..
maybe some1 will help soon.