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!
Related
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!
It looks like ics automatically runs the "Android is Upgrading" thing whenever it senses some "change" in boot.img? It happens everytime i flash a kernel, without wiping dalvik cache. It will continue to run regardless of whether the dalvik cache files are present or not. This is actually a good feature.
But i noticed that if i simply do a nandroid backup of /boot, and restore it without doing anything else, or flash the same kernel again, it will boot up with the "Android is Upgrading" thing again from the start.
is there a way to disable this, or at least prevent dalvik cache generation if they are already present?
im using amon Ra recovery
it starts like this:
D/dalvikvm( 129): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm( 216): Ignoring duplicate verify attempt on Ljava/lang/Object;
D/dalvikvm( 216): Ignoring duplicate verify attempt on Ljava/lang/Class;
D/dalvikvm( 216): Ignoring duplicate verify attempt on Ljava/lang/ref/Reference
;
D/dalvikvm( 216): Ignoring duplicate verify attempt on Ljava/lang/ref/Reference
Queue;
D/dalvikvm( 216): Ignoring duplicate verify attempt on Ljava/lang/ref/Finalizer
Reference;
D/dalvikvm( 216): DexOpt: load 400ms, verify+opt 4961ms
D/dalvikvm( 129): DexOpt: --- END 'core.jar' (success) ---
D/dalvikvm( 129): DEX prep '/system/framework/core.jar': unzip in 2264ms, rewri
te 7031ms
D/dalvikvm( 129): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---
at times it says
D/dalvikvm(221): DexOpt: incorrect opt magic number (0xff ff ff ff)
and it optimizes each app from the beginning
I have a problem. Every time i call someone, and i end the call i get a message saying
"WarrantyTimeService has stopped working."
I do not understand the cause of this error message and for what this particular service is used.
Kindly help.
I searched many forums, but all i found on Xperia Sola forums was if it was safe to remove this service. But, this is not a solution.
what firmware? provide logcat
I did not know how to logcat.
By the app called alogcat, I got this following thing.
--------- beginning of /dev/log/main
D/dalvikvm( 8085): DexOpt: 'Landroid/annotation/SuppressLint;' has an earlier definition; blocking out
D/dalvikvm( 8085): DexOpt: 'Landroid/annotation/TargetApi;' has an earlier definition; blocking out
D/dalvikvm( 8085): DexOpt: not verifying/optimizing 'Landroid/annotation/SuppressLint;': multiple definitions
D/dalvikvm( 8085): DexOpt: not verifying/optimizing 'Landroid/annotation/TargetApi;': multiple definitions
D/dalvikvm( 8085): DexOpt: load 37ms, verify+opt 142ms, 772708 bytes
I/dalvikvm( 8272): Turning on JNI app bug workarounds for target SDK version 11...
E/Trace ( 8272): error opening trace file: No such file or directory (2)
D/AbsListView( 8272): Get MotionRecognitionManager
D/dalvikvm( 8272): GC_CONCURRENT freed 168K, 6% free 12401K/13191K, paused 2ms+2ms, total 34ms
And, I use XperiAnze ROM 0.9.3 which IS XXEMR2.
Sent from my GT-I9300 using xda premium
supreethms said:
I did not know how to logcat.
By the app called alogcat, I got this following thing.
--------- beginning of /dev/log/main
D/dalvikvm( 8085): DexOpt: 'Landroid/annotation/SuppressLint;' has an earlier definition; blocking out
D/dalvikvm( 8085): DexOpt: 'Landroid/annotation/TargetApi;' has an earlier definition; blocking out
D/dalvikvm( 8085): DexOpt: not verifying/optimizing 'Landroid/annotation/SuppressLint;': multiple definitions
D/dalvikvm( 8085): DexOpt: not verifying/optimizing 'Landroid/annotation/TargetApi;': multiple definitions
D/dalvikvm( 8085): DexOpt: load 37ms, verify+opt 142ms, 772708 bytes
I/dalvikvm( 8272): Turning on JNI app bug workarounds for target SDK version 11...
E/Trace ( 8272): error opening trace file: No such file or directory (2)
D/AbsListView( 8272): Get MotionRecognitionManager
D/dalvikvm( 8272): GC_CONCURRENT freed 168K, 6% free 12401K/13191K, paused 2ms+2ms, total 34ms
And, I use XperiAnze ROM 0.9.3 which IS XXEMR2.
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
I opened logcat, it was running, i made a call, i ended it, and then i saved this logcat.
I'm getting the same error with my Nexus 4, running mako kernel v10 and ELE ROM. I believe I can trace this error back to installing an Xperia app pack (walkman, gallery, movie player, and launcher) on my device. Also, it seems to be more of an annoying extra than anything else. Doesn't mean I won't be reflashing without the Xperia package. :laugh: I'll post here a confirmation if this is truly gone after removing that mod.
Edit
Yeah. I figured out that problem too.
It is an app that comes in the xperia mods and apps package..
Sent from my GT-I9300 using xda premium
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.