Hi,
I am currently trying to build TaintDroid 4.3 for x86 emulators. Since I am new to building Android, I thought this would be a good place to get help/information.
So, I built Android 4.3_r1 and Android 4.3_r1 with TaintDroid successfully for ARM. These are the steps I did to build it for x86:
- Download goldfish 2.6.29 and a patch from appanalysis to add xattr support for yaffs: appanalysis.org/files/yaffs_xattr.patch
- After patching the kernel I built it successfully
- I built the TaintDroid source as followed:
Code:
. build/envsetup.sh
lunch aosp_x86-eng
make clean
make -j4
- The build finishes without any errors
- I created an AVD like this: android create avd -n test -t 1 --abi default/x86
- Eventually I started the emulator like this: sudo emulator -kernel MYKERNEL -system MYSYSTEM.IMG -data MYUSERDATA.img -ramdisk MYRAMDISK.img -avd test -verbose
Unfortunately the emulator doesn't boot properly and only shows me the android animation, even after setting the execution mode to portable.
So I looked into logcat and got the following:
Code:
D/AndroidRuntime( 3081): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 3081): CheckJNI is ON
E/dalvikvm( 3081): Bad asm offset offThread_jitToInterpEntries (108), should be 104
E/dalvikvm( 3081): Bad asm offset offThread_inJitCodeCache (132), should be 128
E/dalvikvm( 3081): Bad asm offset offThread_pJitProfTable (136), should be 132
E/dalvikvm( 3081): Bad asm offset offThread_jitThreshold (140), should be 136
E/dalvikvm( 3081): Bad asm offset offThread_jitResumeNPC (144), should be 140
E/dalvikvm( 3081): Bad asm offset offThread_jitResumeNSP (148), should be 144
E/dalvikvm( 3081): Bad asm offset offThread_jitResumeDPC (152), should be 148
E/dalvikvm( 3081): Bad asm offset offThread_jitState (156), should be 152
E/dalvikvm( 3081): Bad asm offset offThread_icRechainCount (160), should be 156
E/dalvikvm( 3081): Bad asm offset offThread_pProfileCountdown (164), should be 160
E/dalvikvm( 3081): Bad asm offset offThread_callsiteClass (168), should be 164
E/dalvikvm( 3081): Bad asm offset offThread_methodToCall (172), should be 168
E/dalvikvm( 3081): Bad asm offset offThread_jniLocal_topCookie (176), should be 172
E/dalvikvm( 3081): Please correct the values in mterp/common/asm-constants.h
E/dalvikvm( 3081): VM aborting
After fixing the values and rebuilding the source code I still can't run the emulator and get the following messages through logcat:
Code:
D/AndroidRuntime( 3974): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 3974): CheckJNI is ON
D/dalvikvm( 3974): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 3974): Added shared lib libjavacore.so 0x0
D/dalvikvm( 3974): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 3974): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 3974): Exception Ljava/lang/NullPointerException; thrown while initializing Ljava/lang/ThreadGroup;
E/dalvikvm( 3974): thread classes failed to initialize
W/dalvikvm( 3974): CreateJavaVM failed: dvmPrepMainThread failed
E/AndroidRuntime( 3974): JNI_CreateJavaVM failed
I/ServiceManager( 787): service 'media.audio_flinger' died
I/ServiceManager( 787): service 'media.player' died
I/ServiceManager( 787): service 'media.camera' died
I/ServiceManager( 787): service 'media.audio_policy' died
I/mediaserver( 3975): ServiceManager: 0xb9c51b30
I/AudioFlinger( 3975): Using default 3000 mSec as standby time.
I/CameraService( 3975): CameraService started (pid=3975)
I/Netd ( 3976): Netd 1.0 starting
W/InterfaceController( 3976): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
I also tried to use goldfish 3.4, but the error message about libnetcmdiface.so and the NullPointerException while initializing Ljava/lang/ThreadGroup still remains and I don't really know what that lib does and why it's missing. I think the media services are dying because of that though.
I know this is not a TaintDroid board, but I don't think this issue is only related to TaintDroid and could happen to any Android source, which was modified or ported to x86.
To use TaintDroid properly I need a kernel with xattr support for yaffs. This is why I patched the kernel and why I also tried goldfish 3.4.
I appreciate any help you can give me.
xLyte
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!
I am porting Android 4.1 to Desire HD
This is my ERROR logcat.....
E/dalvikvm( (1247): : ERROR: couldn't find native method
E/dalvikvm( (1247): : Requested: Llibcore/net/RawSocket;.createLjava/io/FileDescriptor;Ljava/lang/StringV
E/dalvikvm( (1247): : Candidate: Llibcore/net/RawSocket;.createLjava/io/FileDescriptor;SLjava/lang/String]V
E/JNIHelp ( (1247): : RegisterNatives failed for 'libcore/net/RawSocket', aborting
D/AndroidRuntime( (1252): :
D/AndroidRuntime( (1252): : >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( (1252): : CheckJNI is ON
E/dalvikvm( (1252): : ERROR: couldn't find native method
E/dalvikvm( (1252): : Requested: Llibcore/net/RawSocket;.createLjava/io/FileDescriptor;Ljava/lang/StringV
E/dalvikvm( (1252): : Candidate: Llibcore/net/RawSocket;.createLjava/io/FileDescriptor;SLjava/lang/StringV
E/JNIHelp ( (1252): : RegisterNatives failed for 'libcore/net/RawSocket', abortin
Anybody who knows how to solve?
I want to try to solve this problem....
After deodexing my ROM (successfuly) with android kitchen and manually applying the changes I attempted to perform this modification
http://forum.xda-developers.com/showthread.php?t=1587136
That resulted in a bootloop even though I do have the arabic .so file in it's supposed place.
I've tried to ln -s libs to lib from what I saw in some search results but nothing.
My android version is 2.3.6 and bak/smali commands were issued with -a 10 to support proper API level
Here's my logcat:
Code:
D/dalvikvm( 261): creating instr width table
I/dalvikvm( 261): Could not find method android.graphics.Canvas.native_drawText, referenced from method android.graphic
s.Canvas.drawText
W/dalvikvm( 261): VFY: unable to resolve virtual method 9864: Landroid/graphics/Canvas;.native_drawText (Ljava/lang/Str
ing;FFLandroid/graphics/Paint;)V
D/dalvikvm( 261): VFY: replacing opcode 0x6e at 0x0004
D/dalvikvm( 261): VFY: dead code 0x0007-0007 in Landroid/graphics/Canvas;.drawText (Ljava/lang/String;FFLandroid/graphi
cs/Paint;)V
W/dalvikvm( 261): Unable to register: not native: Landroid/graphics/Canvas;.drawText:(Ljava/lang/String;FFLandroid/grap
hics/Paint;)V
E/JNIHelp ( 261): RegisterNatives failed for 'android/graphics/Canvas'
E/AndroidRuntime( 261): Unable to register all android natives
Thanks upfront for anybody who helps
got it to work, was a code error ;p
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 ?
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.