HELP porting armv7 to armv6 rom - Android Q&A, Help & Troubleshooting

Hello, i m trying to port pac rom to zte blade.I used an 4.3 cm rom as a base and 4.3 pac as port.I got it to install but its bootlooping.The logcat gives me this error :
11-12 15:42:32.790 1263 1263 D AndroidRuntime:
11-12 15:42:32.790 1263 1263 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
11-12 15:42:32.790 1263 1263 D AndroidRuntime: CheckJNI is OFF
11-12 15:42:32.870 1263 1263 D dalvikvm: Trying to load lib libjavacore.so 0x0
11-12 15:42:32.890 1263 1263 D dalvikvm: Added shared lib libjavacore.so 0x0
11-12 15:42:32.970 1263 1263 D dalvikvm: Trying to load lib libnativehelper.so 0x0
11-12 15:42:32.970 1263 1263 D dalvikvm: Added shared lib libnativehelper.so 0x0
11-12 15:42:33.090 1263 1263 W dalvikvm: PR_SET_NO_NEW_PRIVS failed. Is your kernel compiled correctly?: Invalid argument
11-12 15:42:33.100 1263 1263 E dalvikvm: ERROR: couldn't find native method
11-12 15:42:33.100 1263 1263 E dalvikvm: Requested: Landroid/content/res/AssetManager;.setConfigurationIILjava/lang/String;IIIIIIIIIIIIII)V
11-12 15:42:33.100 1263 1263 E dalvikvm: Candidate: Landroid/content/res/AssetManager;.setConfigurationIILjava/lang/String;IIIIIIIIIIIIIII)V
11-12 15:42:33.100 1263 1263 E dalvikvm: JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager', aborting
11-12 15:42:33.100 1263 1263 I dalvikvm: "main" prio=5 tid=1 NATIVE
11-12 15:42:33.100 1263 1263 I dalvikvm: | group="main" sCount=0 dsCount=0 obj=0x41528578 self=0x15428
11-12 15:42:33.100 1263 1263 I dalvikvm: | sysTid=1263 nice=0 sched=0/0 cgrp=default handle=1073815288
11-12 15:42:33.110 1263 1263 I dalvikvm: | state=R schedstat=( 0 0 0 ) utm=76 stm=14 core=0
11-12 15:42:33.150 1263 1263 I dalvikvm: #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+25)
11-12 15:42:33.150 1263 1263 I dalvikvm: #01 pc 00060d9c /ystem/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+31)
11-12 15:42:33.150 1263 1263 I dalvikvm: #02 pc 000546de /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+425)
11-12 15:42:33.150 1263 1263 I dalvikvm: #03 pc 0005474a /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
11-12 15:42:33.150 1263 1263 I dalvikvm: #04 pc 000491da /system/lib/libdvm.so
11-12 15:42:33.150 1263 1263 I dalvikvm: #05 pc 000491f6 /system/lib/libdvm.so
11-12 15:42:33.150 1263 1263 I dalvikvm: #06 pc 00000a38 /system/lib/libnativehelper.so (jniRegisterNativeMethods+87)
11-12 15:42:33.150 1263 1263 I dalvikvm: #07 pc 0004ceb6 /system/lib/libandroid_runtime.so (android::AndroidRuntime::registerNativeMethods(_JNIEnv*, char const*, JNINativeMethod const*, int)+1)
11-12 15:42:33.150 1263 1263 I dalvikvm: #08 pc 0007020e /system/lib/libandroid_runtime.so (android::register_android_content_AssetManager(_JNIEnv*)+281)
11-12 15:42:33.150 1263 1263 I dalvikvm: #09 pc 0004cd58 /system/lib/libandroid_runtime.so
11-12 15:42:33.150 1263 1263 I dalvikvm: #10 pc 0004d076 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+29)
11-12 15:42:33.150 1263 1263 I dalvikvm: #11 pc 0004da1a /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+209)
11-12 15:42:33.150 1263 1263 I dalvikvm: #12 pc 00001034 /system/bin/app_process
11-12 15:42:33.150 1263 1263 I dalvikvm: #13 pc 0000e0fa /system/lib/libc.so (__libc_init+49)
11-12 15:42:33.150 1263 1263 I dalvikvm: at dalvik.system.NativeStart.main(Native Method)
11-12 15:42:33.150 1263 1263 I dalvikvm: at dalvik.system.NativeStart.main(Native Method)
11-12 15:42:33.150 1263 1263 I dalvikvm:
11-12 15:42:33.150 1263 1263 E dalvikvm: VM aborting
11-12 15:42:33.150 1263 1263 F libc : Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 1263 (zygote)
So i decompiled framework.jar/clasees.dex of base and port and tried to diff at android/content/res/AssetManager but i didnt find any missing line only few diffrences.I found at assetmanager.smali base this line:
.method public final native setConfiguration(IILjava/lang/String;IIIIIIIIIIIIII)V
.end method
and at port this:
.method public final native setConfiguration(IILjava/lang/String;IIIIIIIIIIIIIII)V
.end method
I dont know what to do or where to look so any help would be useful.
thanks in advance

Related

Wlan error when install aosp rom to my phone.

All 2.1 rom I tried it produces this error. (Sense-ui does not do it)
When I activate the wireless LAN, the phone shuts down the system process, and after a while the phone restarts.
I also went through several forums and everywhere, it was considered that the nearby AccessPoint-s one of the causes. Probably not good characters with ssid.
So critical, because the only place where I can use wireless LAN (home), and also hangs in the firmware.
This is a log:
Here is relevant part of logcat:
D/HomeLoaders( 757): ----> items cloned, ready to refresh UI
I/wpa_supplicant( 445): CTRL-EVENT-SCAN-RESULTS Ready
W/dalvikvm( 689): JNI WARNING: illegal continuation byte 0xa
W/dalvikvm( 689): string: 'bssid / frequency / signal level / flags / ssid
W/dalvikvm( 689): 00:1d:0f:b2:7c:9e 2417 -53 [WPA2-PSK-CCMP] sHome
W/dalvikvm( 689): 00:60:b3:2a:5a:87 2437 -91 PRAHA9.NET-R14-1
W/dalvikvm( 689): 00:02:72:7e:20:e5 2462 -92 Moje sÝŁ
W/dalvikvm( 689): 00:1b:9e:ef:1f:e7 2412 -93 [WEP] VOIP'
W/dalvikvm( 689): in Landroid/net/wifi/WifiNative;.scanResultsCommand
()Ljava/lang/String; (NewStringUTF)
I/dalvikvm( 689): "android.server.ServerThread" prio=5 tid=15 NATIVE
I/dalvikvm( 689): | group="main" sCount=0 dsCount=0 s=N obj=0x43c9b7e0 self=0x11e6b0
I/dalvikvm( 689): | sysTid=697 nice=-2 sched=0/0 cgrp=unknown handle=1173448
I/dalvikvm( 689): at android.net.wifi.WifiNative.scanResultsCommand(Nat ive Method)
I/dalvikvm( 689): at com.android.server.WifiService.getScanResults(Wifi
Service.java:1113)
I/dalvikvm( 689): at android.net.wifi.WifiManager.getScanResults(WifiMa
nager.java:538)
I/dalvikvm( 689): at com.google.android.location.NetworkLocationProvide
r$2.onReceive(NetworkLocationProvider.java:393)
I/dalvikvm( 689): at android.app.ActivityThread$PackageInfo$ReceiverDis
patcher$Args.run(ActivityThread.java:754)
I/dalvikvm( 689): at android.os.Handler.handleCallback(Handler.java:587 )
I/dalvikvm( 689): at android.os.Handler.dispatchMessage(Handler.java:92 )
I/dalvikvm( 689): at android.os.Looper.loop(Looper.java:123)
I/dalvikvm( 689): at com.android.server.ServerThread.run(SystemServer.j ava:444)
I/dalvikvm( 689):
E/dalvikvm( 689): VM aborting
I/DEBUG ( 682): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 682): Build fingerprint: 'google/passion/passion/mahimahi:2.1-
update1/ERE27/24178:user/release-keys'
I/DEBUG ( 682): pid: 689, tid: 697 >>> system_server <<<
I/DEBUG ( 682): signal 11 (SIGSEGV), fault addr deadd00d
I/DEBUG ( 682): r0 00000358 r1 afe1339d r2 0000000c r3 deadd00d
I/DEBUG ( 682): r4 00000026 r5 4594ed6c r6 fffe59bc r7 fffe59bc
I/DEBUG ( 682): r8 4594fd88 r9 427f3db4 10 427f3da0 fp 0011e6b0
I/DEBUG ( 682): ip ad080160 sp 4594ed10 lr afe1435d pc ad03549a cpsr 20000030
I/MediaUploader( 739): No need to wake up
I/ActivityManager( 689): Start proc com.esmertec.android.jbed for broadcast
com.esmertec.android.jbed/.BootCompleteReceiver: pid=859 uid=10025 gids={
3003, 1006}
D/MediaScannerService( 747): start scanning volume internal
Please help me if you can, and many other users!

[Q] Logcat help

D/dalvikvm( 1863): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 1863): Added shared lib libjavacore.so 0x0
D/dalvikvm( 1863): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 1863): Added shared lib libnativehelper.so 0x0
W/dalvikvm( 1863): Unable to register: not native: Landroid/os/SystemClock;.setCurrentTimeMillisJ)Z
E/JNIHelp ( 1863): RegisterNatives failed for 'android/os/SystemClock', aborting
F/libc ( 1863): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1863 (zygote)

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] Help w/ Port | Allow USB Debugging? Is there a bypass available for Kitkat?

So with kitkat is this damn feature when you're booted up to allow USB Debugging for logcat and such. There is s popup window on the device that says Allow USB Debugging? and it provides the computer's RSA key fingerprint.
I am trying to get a logcat at boot for a ROM I ported and I cant because of the ROM does not fully boot.
Does anyone know a way to force logcat at boot? I "think" that I have tried all of the tricks in the book without success:
1. added logcat service to startup in init.rc
2. added the following to build.prop
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
Please help.
FYI, I am porting Miui v6 (yes KK 4.4 w/ new tablet interface from Nexus 7 2013) to the Nexus 7 2012. ROM is built, will not boot and I am not able to get a logcat.
I am looking for all the help that I can get. Once the kk MiCode is released to the patchrom repository this port should be a breeze but until then I am using drag and drop.
@timmytim I had this problem. Try booting into recovery whilst plugged in and running "adb devices" if it's connected then, and if so, start running your logcat and reboot. If this still doesn't work then do the same but this time run your logcat like this:
Code:
adb -d logcat > logcat.txt
Then reboot; the -d means it's waiting for the device.
HTCDreamOn said:
@timmytim I had this problem. Try booting into recovery whilst plugged in and running "adb devices" if it's connected then, and if so, start running your logcat and reboot. If this still doesn't work then do the same but this time run your logcat like this:
Code:
adb -d logcat > logcat.txt
Then reboot; the -d means it's waiting for the device.
Click to expand...
Click to collapse
Thanks for the reply. Didn't work.
I let the non-booting tablet sit on the Miui splash screen for some time in an attempt to collect some tombstone logs. Sometimes they are helpful.
I rebooted into recovery and was able to ADB Pull the tombstone logs. Here is what I received:
First error:
Code:
03-23 02:48:55.660 13666 13666 D AndroidRuntime:
>>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
03-23 02:48:55.660 13666 13666 D AndroidRuntime: CheckJNI is OFF
03-23 02:48:55.680 13666 13666 D dalvikvm: Trying to load lib libjavacore.so 0x0
03-23 02:48:55.680 13666 13666 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 02:48:55.690 13666 13666 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 02:48:55.710 13666 13666 E dalvikvm: ERROR: couldn't find native method
03-23 02:48:55.710 13666 13666 E dalvikvm: Requested: Landroid/content/res/AssetManager;.splitThemePackage:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
03-23 02:48:55.710 13666 13666 E dalvikvm: JNI posting fatal error: RegisterNatives failed for 'android/content/res/AssetManager'; aborting...
03-23 02:48:55.710 13666 13666 I dalvikvm: "main" prio=5 tid=1 NATIVE
03-23 02:48:55.710 13666 13666 I dalvikvm: | group="main" sCount=0 dsCount=0 obj=0x418d3d68 self=0x4002b480
03-23 02:48:55.710 13666 13666 I dalvikvm: | sysTid=13666 nice=0 sched=0/0 cgrp=default handle=1075016020
03-23 02:48:55.710 13666 13666 I dalvikvm: | state=R schedstat=( 356766000 3540000 39 ) utm=25 stm=10 core=1
03-23 02:48:55.720 13666 13666 I dalvikvm: #00 pc 0000132e /system/lib/libcorkscrew.so (unwind_backtrace_thread+29)
03-23 02:48:55.720 13666 13666 I dalvikvm: #01 pc 00061bb2 /system/lib/libdvm.so (dvmDumpNativeStack(DebugOutputTarget const*, int)+33)
03-23 02:48:55.720 13666 13666 I dalvikvm: #02 pc 00055ba8 /system/lib/libdvm.so (dvmDumpThreadEx(DebugOutputTarget const*, Thread*, bool)+395)
03-23 02:48:55.720 13666 13666 I dalvikvm: #03 pc 00055c16 /system/lib/libdvm.so (dvmDumpThread(Thread*, bool)+25)
03-23 02:48:55.720 13666 13666 I dalvikvm: #04 pc 0004a5fc /system/lib/libdvm.so
03-23 02:48:55.720 13666 13666 I dalvikvm: #05 pc 00001fd2 /system/lib/libnativehelper.so (jniRegisterNativeMethods+81)
03-23 02:48:55.720 13666 13666 I dalvikvm: #06 pc 000518ca /system/lib/libandroid_runtime.so
03-23 02:48:55.720 13666 13666 I dalvikvm: #07 pc 00051bb8 /system/lib/libandroid_runtime.so (android::AndroidRuntime::startReg(_JNIEnv*)+23)
03-23 02:48:55.720 13666 13666 I dalvikvm: #08 pc 00052608 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+183)
03-23 02:48:55.720 13666 13666 I dalvikvm: #09 pc 0000105a /system/bin/app_process
03-23 02:48:55.720 13666 13666 I dalvikvm: #10 pc 0000e418 /system/lib/libc.so (__libc_init+47)
03-23 02:48:55.720 13666 13666 I dalvikvm: at dalvik.system.NativeStart.main(Native Method)
03-23 02:48:55.720 13666 13666 I dalvikvm: at dalvik.system.NativeStart.main(Native Method)
03-23 02:48:55.720 13666 13666 I dalvikvm:
03-23 02:48:55.720 13666 13666 E dalvikvm: VM aborting
03-23 02:48:55.720 13666 13666 F libc : Fatal signal 6 (SIGABRT) at 0x00003562 (code=-6), thread 13666 (zygote)
I then replaced the AssetManager.smali from the base ROM to the Mikui ROM and that rror went away. I was able to pull the next Tombstones logs after a re-flash of the ROM and now I am seeing this and cannot get past it:
Code:
03-23 03:18:00.240 6704 6704 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 03:18:00.260 6704 6704 F libc : Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 6704 (zygote)
--------- log /dev/log/main
03-23 03:18:00.220 6704 6704 D AndroidRuntime:
>>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
03-23 03:18:00.220 6704 6704 D AndroidRuntime: CheckJNI is OFF
03-23 03:18:00.240 6704 6704 D dalvikvm: Trying to load lib libjavacore.so 0x0
03-23 03:18:00.240 6704 6704 D dalvikvm: Added shared lib libjavacore.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: Trying to load lib libnativehelper.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: Added shared lib libnativehelper.so 0x0
03-23 03:18:00.250 6704 6704 D dalvikvm: No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
03-23 03:18:00.260 6704 6704 F libc : Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 6704 (zygote)
I am still not able to get a logcat at boot. Is there something that I can do to get a logcat at boot on Kitkat?
I was FINALLY able to get a logcat at boot, WOOT!
If you have some time, please take a look and see if you can help me decipher it.
Thanks in advance!
timmytim said:
I was FINALLY able to get a logcat at boot, WOOT!
If you have some time, please take a look and see if you can help me decipher it.
Thanks in advance!
Click to expand...
Click to collapse
E/dalvikvm( 808): JNI posting fatal error: RegisterNatives failed for 'libcore/icu/ICU'; aborting...
Then this is FATAL
F/libc ( 128): Fatal signal 6 (SIGABRT) at 0x00000080 (code=-6), thread 128 (zygote)
Libc.so?
Not sure man..
I'm trying to follow these threads to learn more about logs..
Sent from my SCH-I605 using xda app-developers app
Update: I was finally able to get a logcat at boot. Now just trying to work out my bugs. Thanks to all those that replied, i really appreciate the help :good:
timmytim said:
Update: I was finally able to get a logcat at boot. Now just trying to work out my bugs. Thanks to all those that replied, i really appreciate the help :good:
Click to expand...
Click to collapse
How did you manage to get a logcat at boot? I am currently in the same situation you are in, except with CM11S. If you could explain the process you used to enable usb debugging and allow logcat on first boot of a KitKat Rom, that would be great.
TekGadgt said:
How did you manage to get a logcat at boot? I am currently in the same situation you are in, except with CM11S. If you could explain the process you used to enable usb debugging and allow logcat on first boot of a KitKat Rom, that would be great.
Click to expand...
Click to collapse
https://forum.xda-developers.com/android/help/solved-adb-unauthorized-rsa-prompt-t3693961

[SOLVED] CyanogenMod 10.X 0xdeadbaad MediaProfiles

Hello,
I'm trying to port CyanogenMod 10.1 to my unsupported device Samsung Galaxy Core Plus SM-G350 [cs02].
It has hawaii-board and there is pretty many CM ports out there for the same board.
I have managed to port source for my device and it is in github. (DEVICE, VENDOR, KERNEL)
Now to the problem..
I can get the boot animation but my device stays in bootloop. I believe the problem is here:
adb shell bugreport
Code:
.
.
11-22 08:44:49.420 18566 18566 D AndroidRuntime:
11-22 08:44:49.420 18566 18566 D AndroidRuntime: >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
11-22 08:44:49.420 18566 18566 D AndroidRuntime: CheckJNI is OFF
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/framework2.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/sec_edm.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/seccamera.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/scrollpause.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/stayrotation.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/smartfaceservice.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/sc.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Unable to stat classpath element '/system/framework/secocsp.jar'
11-22 08:44:49.430 18566 18566 D dalvikvm: Trying to load lib libjavacore.so 0x0
11-22 08:44:49.430 18566 18566 D dalvikvm: Added shared lib libjavacore.so 0x0
11-22 08:44:49.440 18566 18566 D dalvikvm: Trying to load lib libnativehelper.so 0x0
11-22 08:44:49.440 18566 18566 D dalvikvm: Added shared lib libnativehelper.so 0x0
11-22 08:44:49.460 18566 18566 W dalvikvm: Failed to mount /storage as MS_SLAVE: Invalid argument
11-22 08:44:49.530 18566 18566 I SamplingProfilerIntegration: Profiling disabled.
11-22 08:44:49.540 18566 18566 I Zygote : Preloading classes...
11-22 08:44:49.540 18566 18566 D dalvikvm: GC_EXPLICIT freed 36K, 9% free 427K/468K, paused 0ms+1ms, total 2ms
11-22 08:44:49.560 18566 18566 D dalvikvm: GC_EXPLICIT freed 4K, 5% free 497K/520K, paused 0ms+0ms, total 2ms
11-22 08:44:49.560 18566 18566 D dalvikvm: Note: class Landroid/app/ActivityManagerNative; has 158 unimplemented (abstract) methods
11-22 08:44:49.570 18566 18566 D dalvikvm: GC_EXPLICIT freed 21K, 5% free 537K/564K, paused 1ms+1ms, total 3ms
11-22 08:44:49.580 18566 18566 D dalvikvm: GC_EXPLICIT freed 26K, 6% free 565K/596K, paused 0ms+1ms, total 4ms
11-22 08:44:49.590 18566 18566 W Zygote : Class not found for preloading: android.bluetooth.BluetoothAudioGateway
11-22 08:44:49.590 18566 18566 W Zygote : Class not found for preloading: android.bluetooth.HeadsetBase
11-22 08:44:49.590 18566 18566 W Zygote : Class not found for preloading: undroid.content.AbstractThreadedSyncAdapter$SyncThread
11-22 08:44:49.590 18566 18566 D dalvikvm: GC_EXPLICIT freed 24K, 5% free 615K/644K, paused 0ms+0ms, total 3ms
11-22 08:44:49.611 18566 18566 D dalvikvm: GC_EXPLICIT freed 25K, 5% free 644K/672K, paused 1ms+1ms, total 6ms
11-22 08:44:49.641 18566 18566 D dalvikvm: GC_EXPLICIT freed 60K, 8% free 745K/808K, paused 1ms+1ms, total 4ms
11-22 08:44:49.671 18566 18566 D dalvikvm: GC_EXPLICIT freed 31K, 5% free 770K/808K, paused 1ms+0ms, total 4ms
11-22 08:44:49.681 18566 18566 D TextLayoutCache: Using debug level = 0 - Debug Enabled = 0
11-22 08:44:49.721 18566 18566 I dalvikvm: threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
11-22 08:44:49.721 18566 18566 D MtpDeviceJNI: register_android_mtp_MtpDevice
11-22 08:44:49.721 18566 18566 I dalvikvm: threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
11-22 08:44:49.721 18566 18566 I dalvikvm: threadid=1: recursive native library load attempt (/system/lib/libmedia_jni.so)
11-22 08:44:49.721 18566 18566 F MediaProfiles: frameworks/av/media/libmedia/MediaProfiles.cpp:332 CHECK(quality != -1) failed.
11-22 08:44:49.721 18566 18566 F libc : Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 18566 (zygote)
.
.
And here is my media_profiles.xml:
https://github.com/santeri3700/android_device_samsung_cs02/blob/master/configs/media_profiles.xml
I have tried multiple different versions of media_profiles.xml, but the error hasn't changed.
(I can give the full log if required. I didn't give it because it's 2MB~)
I'm not totally sure if this is the reason why my device is not booting, but "DEADBAD" look pretty serious.
Thank you for your help and if you are interested in this project, please join me.
-santeri3700
The fix for everyone who is searching the answer:
Remove all <EncoderProfile> for high quality codec/encoding/fileformat. Ex. 720p, mp4, m4v.
After removing those the device booted but watching mp4 videos isn't working.
Code:
<EncoderProfile [U]quality="high" fileFormat="mp4"[/U] duration="60">
<Video codec="h264"
bitRate="2560000"
width="640"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>

Categories

Resources