[Q] Android 4.1 porting logcat questions - Android Q&A, Help & Troubleshooting

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....

Related

[Q] TTS force close in Navigation

I am using sonofskywalker3 Rom 4.4 and ec10_voodoo kernel and kept having force close problem with TTS service (Process.android.tts) when trying to use Navigation. Does anyone have similar problems?
This is the dump from the logcat:
I/ActivityManager( 2681): Start proc android.tts for service android.tts/.TtsService: pid=18962 uid=10049 gids={3003, 1015}
V/TtsService(18962): TtsService.onCreate()
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setConfig (ILjava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setup (Ljava/lang/Object;Ljava/lang/Strin
g;Ljava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setLowShelf (ZFFFF)I
E/JNIHelp (18962): RegisterNatives failed for 'android/tts/SynthProxy'
W/dalvikvm(18962): JNI_OnLoad returned bad version (-1) in /system/lib/libttssynthproxy.so 0x483c3420
W/dalvikvm(18962): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/tts/SynthProxy;.<clinit>
D/AndroidRuntime(18962): Shutting down VM
W/dalvikvm(18962): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime(18962): FATAL EXCEPTION: main
E/AndroidRuntime(18962): java.lang.ExceptionInInitializerError
E/AndroidRuntime(18962): at android.tts.TtsService.onCreate(TtsService.java:158)
E/AndroidRuntime(18962): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime(18962): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime(18962): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime(18962): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18962): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(18962): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(18962): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18962): Caused by: java.lang.UnsatisfiedLinkError: Library ttssynthproxy not found
E/AndroidRuntime(18962): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime(18962): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime(18962): at android.tts.SynthProxy.<clinit>(SynthProxy.java:154)
E/AndroidRuntime(18962): ... 12 more
I/ ( 2681): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate(18971): begin
Yes i got the same problem, cant get voice navigation, TTS force close.

Try to build CM 10 for Allwinner A13

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 ?

[Q] How to fix this error in logcat? Need fast

12-20 06:25:09.129 2362 2362 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional: /system/bin/mediaserver
12-20 06:25:09.129 2361 2361 E dalvikvm: ERROR: couldn't find native method
12-20 06:25:09.129 2361 2361 E dalvikvm: Requested: Landroid/content/res/AssetManager;.addOverlayPathLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringI
12-20 06:25:09.129 2361 2361 E dalvikvm: JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
I have added this missing lines to framework.jar. But still getting errors...

LewaOS porting problem

Hi guys, have a problem porting Lewa OS on my phone (Samsung Galaxy Ace Plus). In short words the rom does not boot and it remains on bootanimation, i tried to copy files (libandroid_runtime, libandroid_servers and libmedia_jni) from port to my rom but the rom does not boot the same. Does anyone know how i can fix? (I port rom from LG Optimus L5)
I followed this guide -> http://forum.xda-developers.com/showthread.php?t=1623464
Anyone? These are the errors on logcat
E/dalvikvm( 631): ERROR: couldn't find native method
E/dalvikvm( 631): Requested: Landroid/net/wifi/WifiNative;.loadDriver)Z
E/dalvikvm( 631): Candidate: Landroid/net/wifi/WifiNative;.loadDriverI)Z
E/JNIHelp ( 631): RegisterNatives failed for 'android/net/wifi/WifiNative', aborting
F/libc ( 631): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 631 (zygote)
Click to expand...
Click to collapse

Building Android 4.3_r1 with TaintDroid for x86 emulators

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

Categories

Resources