[LG Optimus 2x] mateorod:
No boot, but...

kobik, homie. glad you're here. Not sure what you mean by the above, but good to have another set of eyeballs...

Okay, we are missing some commits related to the framework split, looks like. The patched source compiled, but would not boot. I am attaching logcats, one of stock boot, and the other the failed pdroid boot cycle. I dumped it in a comparison program, and the pdroid build fails immediately upon preloading classes. It fails to find sqlite editor (c and d) and android.content.res.Resources$1, which is also in the standard stock build.

It then immediately dies after failing to find, most tellingly, 'android/media/videoeditor/VideoEditorProfile' before aborting. Which we of course moved to framework2.jar. The log goes back to preloading classes, and loops.

Here is the loop, with the difference in stock boot occuring begining in bold:

124): Preloading classes...
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 36K, 90% free 411K/4096K, paused 0ms+0ms, total 3ms
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 4K, 89% free 477K/4096K, paused 0ms+1ms, total 3ms
W/Zygote ( 124): Class not found for preloading: android.animation.ValueAnimator$2
W/Zygote ( 124): Class not found for preloading: android.animation.ValueAnimator$3
W/Zygote ( 124): Class not found for preloading: android.animation.ValueAnimator$4
W/Zygote ( 124): Class not found for preloading: android.animation.ValueAnimator$5
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 26K, 88% free 511K/4096K, paused 0ms+0ms, total 2ms
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 26K, 87% free 540K/4096K, paused 0ms+0ms, total 3ms
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 14K, 86% free 580K/4096K, paused 0ms+1ms, total 3ms
W/Zygote ( 124): Class not found for preloading: android.content.res.Resources$1
W/Zygote ( 124): Class not found for preloading: android.database.sqlite.SQLiteCompiledSql
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 28K, 86% free 607K/4096K, paused 0ms+0ms, total 4ms
W/Zygote ( 124): Class not found for preloading: android.database.sqlite.SQLiteDatabase$DatabaseReentrantLock
D/dalvikvm( 124): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 124): GC_EXPLICIT freed 31K, 85% free 631K/4096K, paused 1ms+1ms, total 7ms
D/TextLayoutCache( 124): Using debug level = 0 - Debug Enabled = 0
W/Zygote ( 124): Class not found for preloading: android.media.AudioManager$2
[B]E/JNIHelp ( 124): Native registration unable to find class 'android/media/videoeditor/VideoEditorProfile', aborting[/B]
F/libc ( 124): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 124 (zygote)
I/DEBUG ( 122): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 122): Build fingerprint: 'Android/full_grouper/grouper:4.1.1/JRO03C/eng.mateor.20120724.090351:userdebug/test-keys'
I/DEBUG ( 122): pid: 124, tid: 124, name: zygote >>> zygote <<<
I/DEBUG ( 122): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG ( 122): r0 00000027 r1 deadbaad r2 4014aaec r3 00000000
I/DEBUG ( 122): r4 00000000 r5 bec3973c r6 00000000 r7 00000004
I/DEBUG ( 122): r8 599625f4 r9 00000001 sl 00000000 fp 00000000
I/DEBUG ( 122): ip 400a2fe0 sp bec39738 lr 4011cc31 pc 401192ce cpsr 60000030
I/DEBUG ( 122): d0 0000000015d8be30 d1 00000003ee53e36a
I/DEBUG ( 122): d2 00000003ee53f30a d3 b684088000080000
I/DEBUG ( 122): d4 0000000040dc8000 d5 000000000006e400
I/DEBUG ( 122): d6 c475000000000963 d7 4400000000000200
I/DEBUG ( 122): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 122): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 122): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 122): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 122): d16 0000000015d8cdd0 d17 0000000015d8be30
I/DEBUG ( 122): d18 0000000000000000 d19 0000000000000000
I/DEBUG ( 122): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 122): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 122): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 122): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 122): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 122): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 122): scr 60000010
I/DEBUG ( 122):
I/DEBUG ( 122): backtrace:
I/DEBUG ( 122): #00 pc 000182ce /system/lib/libc.so
I/DEBUG ( 122): #01 pc 0000dbd4 /system/lib/libc.so (abort+4)
I/DEBUG ( 122): #02 pc 00000955 /system/lib/libnativehelper.so (jniRegisterNativeMethods+72)
I/DEBUG ( 122): #03 pc 00014579 /system/lib/libmedia_jni.so (register_android_media_MediaProfiles(_JNIEnv*)+92)
I/DEBUG ( 122): #04 pc 00010fef /system/lib/libmedia_jni.so (JNI_OnLoad+162)
I/DEBUG ( 122): #05 pc 0004f663 /system/lib/libdvm.so (dvmLoadNativeCode(char const*, Object*, char**)+450)
I/DEBUG ( 122): #06 pc 00065f9d /system/lib/libdvm.so
I/DEBUG ( 122): #07 pc 0004f19f /system/lib/libdvm.so (dvmResolveNativeMethod(unsigned int const*, JValue*, Method const*, Thread*)+174)
I/DEBUG ( 122): #08 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 122): #09 pc 0002bb68 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 122): #10 pc 0005f7f1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 122): #11 pc 0005f81b /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
I/DEBUG ( 122): #12 pc 0006a4a5 /system/lib/libdvm.so (dvmInitClass+1036)
I/DEBUG ( 122): #13 pc 0006a619 /system/lib/libdvm.so (dvmFindClass(char const*, Object*)+16)
I/DEBUG ( 122): #14 pc 0006415f /system/lib/libdvm.so (dvmFindClassByName(StringObject*, Object*, bool)+78)
I/DEBUG ( 122): #15 pc 00065d8d /system/lib/libdvm.so
I/DEBUG ( 122): #16 pc 00027260 /system/lib/libdvm.so
I/DEBUG ( 122): #17 pc 0002bb68 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+180)
I/DEBUG ( 122): #18 pc 0005f7f1 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+272)
I/DEBUG ( 122): #19 pc 00049673 /system/lib/libdvm.so
I/DEBUG ( 122): #20 pc 0004698d /system/lib/libandroid_runtime.so
I/DEBUG ( 122): #21 pc 0004746f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+390)
I/DEBUG ( 122): #22 pc 00000dcf /system/bin/app_process
I/DEBUG ( 122):
I/DEBUG ( 122): stack:
I/DEBUG ( 122): bec396f8 40b6b728
I/DEBUG ( 122): bec396fc 00000000
I/DEBUG ( 122): bec39700 00000004
I/DEBUG ( 122): bec39704 599625f4 /system/lib/libmedia_jni.so
I/DEBUG ( 122): bec39708 00000001
I/DEBUG ( 122): bec3970c 00000000
I/DEBUG ( 122): bec39710 40145754 /system/lib/libc.so
I/DEBUG ( 122): bec39714 4014acf0
I/DEBUG ( 122): bec39718 00000000
I/DEBUG ( 122): bec3971c 4011cc31 /system/lib/libc.so (_fwalk+32)
I/DEBUG ( 122): bec39720 00000001
I/DEBUG ( 122): bec39724 bec3973c [stack]
I/DEBUG ( 122): bec39728 00000000
I/DEBUG ( 122): bec3972c 00000004
I/DEBUG ( 122): bec39730 df0027ad
I/DEBUG ( 122): bec39734 00000000
I/DEBUG ( 122): #00 bec39738 bec39754 [stack]
I/DEBUG ( 122): bec3973c fffffbdf
I/DEBUG ( 122): bec39740 00000000
I/DEBUG ( 122): bec39744 4077bea9 /system/lib/libdvm.so
I/DEBUG ( 122): bec39748 00000000
I/DEBUG ( 122): bec3974c 04362eff
I/DEBUG ( 122): bec39750 40bee798
I/DEBUG ( 122): bec39754 40bee798
I/DEBUG ( 122): bec39758 5995c34b /system/lib/libmedia_jni.so
I/DEBUG ( 122): bec3975c 4010ebd8 /system/lib/libc.so (__pthread_clone)
I/DEBUG ( 122): #01 bec39760 04362eff
I/DEBUG ( 122): bec39764 400a0959 /system/lib/libnativehelper.so (jniRegisterNativeMethods+76)
I/DEBUG ( 122): #02 bec39768 40bee798
I/DEBUG ( 122): bec3976c 00000000
I/DEBUG ( 122): bec39770 40bee798
I/DEBUG ( 122): bec39774 00000000
I/DEBUG ( 122): bec39778 00000000
I/DEBUG ( 122): bec3977c 00000000
I/DEBUG ( 122): bec39780 00000000
I/DEBUG ( 122): bec39784 5994c57d /system/lib/libmedia_jni.so (register_android_media_MediaProfiles(_JNIEnv*)+96)
I/DEBUG ( 122):
I/DEBUG ( 122): memory near r2:
I/DEBUG ( 122): 4014aacc 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 122): 4014aadc 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 122): 4014aaec 00000001 00000000 00000000 00000000 ................
I/DEBUG ( 122): 4014aafc 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 122): 4014ab0c 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 122):
I/DEBUG ( 122): memory near r5:
I/DEBUG ( 122): bec3971c 4011cc31 00000001 bec3973c 00000000 1..@....<.......
I/DEBUG ( 122): bec3972c 00000004 df0027ad 00000000 bec39754 .....'......T...
I/DEBUG ( 122): bec3973c fffffbdf 00000000 4077bea9 00000000 ..........w@....
I/DEBUG ( 122): bec3974c 04362eff 40bee798 40bee798 5995c34b ..6....@...@K..Y
I/DEBUG ( 122): bec3975c 4010ebd8 04362eff 400a0959 40bee798 ...@..6.Y..@...@
I/DEBUG ( 122):
I/DEBUG ( 122): memory near r8:
I/DEBUG ( 122): 599625d4 59959b97 5994be2d 5995c84b 5995c685 ...Y-..YK..Y...Y
I/DEBUG ( 122): 599625e4 5994bbfd 5995c878 5995c8a0 5994bc21 ...Yx..Y...Y!..Y
I/DEBUG ( 122): 599625f4 59959b9b 59959b97 5994be2d 5995c8a6 ...Y...Y-..Y...Y
I/DEBUG ( 122): 59962604 5995c8c5 5994bf01 5995c8f6 5995c685 ...Y...Y...Y...Y
I/DEBUG ( 122): 59962614 5994bec5 5995c91c 5995c685 5994be89 ...Y...Y...Y...Y
I/DEBUG ( 122):
I/DEBUG ( 122): memory near ip:
I/DEBUG ( 122): 400a2fc0 00000000 40151a4c 00000000 00000000 ....L..@........
I/DEBUG ( 122): 400a2fd0 00000000 40123ae1 4011d5d5 400d42f5 .....:.@...@.B.@
I/DEBUG ( 122): 400a2fe0 4010ebd0 40123aa9 4011b9e9 400d4101 ...@.:.@...@.A.@
I/DEBUG ( 122): 400a2ff0 40117f59 4012b85d 4011fdf5 401201ad Y..@]..@...@...@
I/DEBUG ( 122): 400a3000 1d2000a6 61f9ad18 61f9acc8 00000000 .. ....a...a....
I/DEBUG ( 122):
I/DEBUG ( 122): memory near sp:
I/DEBUG ( 122): bec39718 00000000 4011cc31 00000001 bec3973c ....1..@....<...
I/DEBUG ( 122): bec39728 00000000 00000004 df0027ad 00000000 .........'......
I/DEBUG ( 122): bec39738 bec39754 fffffbdf 00000000 4077bea9 T.............w@
I/DEBUG ( 122): bec39748 00000000 04362eff 40bee798 40bee798 ......6....@...@
I/DEBUG ( 122): bec39758 5995c34b 4010ebd8 04362eff 400a0959 K..Y...@..6.Y..@
I/DEBUG ( 122):
I/DEBUG ( 122): code around pc:
I/DEBUG ( 122): 401192ac e000b164 6823461c d1fb2b00 68e3e026 d....F#h.+..&..h
I/DEBUG ( 122): 401192bc 4a17b123 447a2401 47986014 20274911 #..J.$zD.`.G.I'
I/DEBUG ( 122): 401192cc 70082400 ebb2f7f4 f7f52106 a902ecf2 .$.p.....!......
I/DEBUG ( 122): 401192dc f04f2006 460a5380 94029304 f7f59403 . O..S.F........
I/DEBUG ( 122): 401192ec 4629e8d0 20024622 e8d8f7f5 eb9ef7f4 ..)F"F. ........
I/DEBUG ( 122):
I/DEBUG ( 122): code around lr:
I/DEBUG ( 122): 4011cc10 41f0e92d 4c0b2600 447c4680 68a56824 -..A.&.L.F|D$h.h
I/DEBUG ( 122): 4011cc20 e0076867 300cf9b5 dd022b00 47c04628 gh.....0.+..(F.G
I/DEBUG ( 122): 4011cc30 35544306 d5f53f01 2c006824 4630d1ef .CT5.?..$h.,..0F
I/DEBUG ( 122): 4011cc40 81f0e8bd 000288c6 43f0e92d fb01461f ........-..C.F..
I/DEBUG ( 122): 4011cc50 f8dff602 b0878058 44f8460c 8000f8d8 ....X....F.D....
I/DEBUG ( 122):
I/DEBUG ( 122): memory map around fault addr deadbaad:
I/DEBUG ( 122): bec19000-bec3a000 [stack]
I/DEBUG ( 122): (no map for address)
I/DEBUG ( 122): ffff0000-ffff1000 [vectors]
I/ServiceManager( 118): service 'media.audio_flinger' died
I/ServiceManager( 118): service 'media.player' died
I/ServiceManager( 118): service 'media.camera' died
I/Netd ( 322): Netd 1.0 starting
D/AndroidRuntime( 323):
D/AndroidRuntime( 323): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 323): CheckJNI is OFF
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
I/mediaserver( 321): ServiceManager: 0x41f1bce0
I/AudioFlinger( 321): Using default 3000 mSec as standby time.
I/CameraService( 321): CameraService started (pid=321)
E/CameraService( 321): Could not load camera HAL module
I/AudioPolicyManagerBase( 321): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
I/AudioFlinger( 321): loadHwModule() Loaded primary audio interface from Grouper audio HW HAL (audio) handle 1
I/AudioFlinger( 321): HAL output buffer size 880 frames, normal mix buffer size 1056 frames
I/AudioMixer( 321): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
E/BandwidthController( 322): runIptablesCmd(): failed /system/bin/iptables -t raw -N bw_raw_PREROUTING res=256
E/BandwidthController( 322): runIptablesCmd(): failed /system/bin/ip6tables -t raw -N bw_raw_PREROUTING res=256
I/SamplingProfilerIntegration( 323): Profiling disabled.
I/Zygote ( 323): Preloading classes...
D/dalvikvm( 323): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 323): GC_EXPLICIT freed 36K, 90% free 411K/4096K, paused 0ms+1ms, total 3ms
D/dalvikvm( 323): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm( 323): GC_EXPLICIT freed 4K, 89% free 477K/4096K, paused 0ms+1ms, total 3ms
W/Zygote ( 323): Class not found for preloading: android.animation.ValueAnimator$2
W/Zygote ( 323): Class not found for preloading: android.animation.ValueAnimator$3
W/Zygote ( 323): Class not found for preloading: android.animation.ValueAnimator$4
W/Zygote ( 323): Class not found for preloading: android.animation.ValueAnimator$5
D/dalvikvm( 323): WAIT_FOR_CONCURRENT_GC blocked 0ms

The good news is that this seem directly related to the splitting of classes into two framework.jars, which Cyanogen obviously has done successfully. So I'll look through the commits some today and put a line out to the Nook maintainers, maybe.

See what you can find too guys.