[Verizon Galaxy S 5 Android Development] blair.sadewitz:
I was running MOAR and tried to flash that AllianceMOD thing. Encouraging that it dies where it does. Maybe there is hope.

As I posted:

UPDATE:

Not like I really know what I'm doing, but I just flashed that thing and it seems to boot fine until it throws an exception here:

I/DEBUG ( 774): Abort message: 'art/runtime/jni_internal.cc:771] JNI FatalError called: RegisterNatives failed for 'com/android/server/location/GpsLocationProvider_samsung'; aborting...'

I/art (17730): option[15]=--runtime-arg

I/art (17730): option[19]=--runtime-arg

I/art (17730): option[27]=--runtime-arg

I/art (17730): option[31]=--runtime-arg

F/art (17838): art/runtime/jni_internal.cc:771] JNI FatalError called: RegisterNatives failed for 'com/android/server/location/GpsLocationProvider_samsung'; aborting...

I/DEBUG ( 774): Abort message: 'art/runtime/jni_internal.cc:771] JNI FatalError called: RegisterNatives failed for 'com/android/server/location/GpsLocationProvider_samsung'; aborting...'

I/art (18182): option[15]=--runtime-arg

I/art (18182): option[19]=--runtime-arg

I/art (18182): option[27]=--runtime-arg

I/art (18182): option[31]=--runtime-arg

F/art (18265): art/runtime/jni_internal.cc:771] JNI FatalError called: RegisterNatives failed for 'com/android/server/location/GpsLocationProvider_samsung'; aborting...

F/art (18265): art/runtime/runtime.cc:286] Runtime aborting...

F/art (18265): art/runtime/runtime.cc:286] Aborting thread:

F/art (18265): art/runtime/runtime.cc:286] "main" prio=10 tid=1 Native

F/art (18265): art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x87e1aef0 self=0xb4e07800

F/art (18265): art/runtime/runtime.cc:286] | sysTid=18265 nice=-19 cgrp=apps sched=0/0 handle=0xb6f68ec8

F/art (18265): art/runtime/runtime.cc:286] | state=R schedstat=( 135885943 54512654 153 ) utm=7 stm=6 core=1 HZ=100

F/art (18265): art/runtime/runtime.cc:286] | stack=0xbe50d000-0xbe50f000 stackSize=8MB

F/art (18265): art/runtime/runtime.cc:286] | held mutexes= "abort lock" "mutator lock"(shared held)

F/art (18265): art/runtime/runtime.cc:286] native: #00 pc 00004640 /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+23)

F/art (18265): art/runtime/runtime.cc:286] native: #01 pc 00002e8d /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+8)

F/art (18265): art/runtime/runtime.cc:286] native: #02 pc 002454a9 /system/lib/libart.so (art:umpNativeStack(std::__1::basic_ostream<char , std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+68)

F/art (18265): art/runtime/runtime.cc:286] native: #03 pc 0022a02f /system/lib/libart.so (art::Thread:ump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+146)

F/art (18265): art/runtime/runtime.cc:286] native: #04 pc 0021a36b /system/lib/libart.so (art::AbortState:umpThread(std::__1::basic_ostre am<char, std::__1::char_traits<char> >&, art::Thread*)+22)

F/art (18265): art/runtime/runtime.cc:286] native: #05 pc 0021a5d1 /system/lib/libart.so (art::AbortState:ump(std::__1::basic_ostream<cha r, std::__1::char_traits<char> >&)+364)

F/art (18265): art/runtime/runtime.cc:286] native: #06 pc 0021a79d /system/lib/libart.so (art::Runtime::Abort()+72)

F/art (18265): art/runtime/runtime.cc:286] native: #07 pc 000a76c3 /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)

F/art (18265): art/runtime/runtime.cc:286] native: #08 pc 001b201f /system/lib/libart.so (art::JNI::FatalError(_JNIEnv*, char const*)+58)

F/art (18265): art/runtime/runtime.cc:286] native: #09 pc 00001f77 /system/lib/libnativehelper.so (jniRegisterNativeMethods+98)

F/art (18265): art/runtime/runtime.cc:286] native: #10 pc 0001c8cf /system/lib/libandroid_servers.so (JNI_OnLoad+118)

F/art (18265): art/runtime/runtime.cc:286] native: #11 pc 001d1fa7 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic _string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1478)

F/art (18265): art/runtime/runtime.cc:286] native: #12 pc 001f9b89 /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+548)

F/art (18265): art/runtime/runtime.cc:286] native: #13 pc 000199b1 /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Runtime_nativeLoad__Ljava_lang_Str ing_2Ljava_lang_ClassLoader_2Ljava_lang_String_2+1 52)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.Runtime.nativeLoad(Native method)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.Runtime.doLoad(Runtime.java:428)

F/art (18265): art/runtime/runtime.cc:286] - locked <0x337bedfa> (a java.lang.Runtime)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.Runtime.loadLibrary(Runtime.java:369)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.System.loadLibrary(System.java:989)

F/art (18265): art/runtime/runtime.cc:286] at com.android.server.SystemServer.run(SystemServer.j ava:390)

F/art (18265): art/runtime/runtime.cc:286] at com.android.server.SystemServer.main(SystemServer. java:307)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.reflect.Method.invoke!(Native method)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.reflect.Method.invoke(Method.java:372)

F/art (18265): art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:1399)

F/art (18265): art/runtime/runtime.cc:286] at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:1194)

F/art (18265): art/runtime/runtime.cc:286] Pending exception java.lang.NoSuchMethodError thrown by 'java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String):-2'

F/art (18265): art/runtime/runtime.cc:286] java.lang.NoSuchMethodError: no static or non-static method "Lcom/android/server/location/GpsLocationProvider_samsung;.native_cleanup()V"

F/art (18265): art/runtime/runtime.cc:286] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.String) (Runtime.java:-2)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.String java.lang.Runtime.doLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:428)

F/art (18265): art/runtime/runtime.cc:286] at void java.lang.Runtime.loadLibrary(java.lang.String, java.lang.ClassLoader) (Runtime.java:369)

F/art (18265): art/runtime/runtime.cc:286] at void java.lang.System.loadLibrary(java.lang.String) (System.java:989)

F/art (18265): art/runtime/runtime.cc:286] at void com.android.server.SystemServer.run() (SystemServer.java:390)

F/art (18265): art/runtime/runtime.cc:286] at void com.android.server.SystemServer.main(java.lang.Str ing[]) (SystemServer.java:307)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[], boolean) (Method.java:-2)

F/art (18265): art/runtime/runtime.cc:286] at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:372)

F/art (18265): art/runtime/runtime.cc:286] at void com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run() (ZygoteInit.java:1399)

F/art (18265): art/runtime/runtime.cc:286] at void com.android.internal.os.ZygoteInit.main(java.lang. String[]) (ZygoteInit.java:1194)

F/art (18265): art/runtime/runtime.cc:286] Dumping all threads without appropriate locks held: thread list lock mutator lock

F/art (18265): art/runtime/runtime.cc:286] All threads:

F/art (18265): art/runtime/runtime.cc:286] DALVIK THREADS (12):

F/art (18265): art/runtime/runtime.cc:286] "main" prio=10 tid=1 Native

F/art (18265): art/runtime/runtime.cc:286] | group="" sCount=0 dsCount=0 obj=0x87e1aef0 self=0xb4e07800

F/art (18265): art/runtime/runtime.cc:286] | sysTid=18265 nice=-19 cgrp=apps sched=0/0 handle=0xb6f68ec8

F/art (18265): art/runtime/runtime.cc:286] | state=R schedstat=( 151019067 59425206 163 ) utm=8 stm=7 core=1 HZ=100

F/art (18265): art/runtime/runtime.cc:286] | stack=0xbe50d000-0xbe50f000 stackSize=8MB

F/art (18265): art/runtime/runtime.cc:286] | held mutexes= "abort lock"

[...]

And then there are pages and pages of death like that as it unwinds and does garbage collection (I think). Well, that was fun. I think I'll try this with a more vanilla port of another ROM, haha. Encouraging that it got as far as choking there at that point, i.e. VerizonBlahBlahProprietaryGPSBlahBlahBlah ...