rovo89 / android_art

Android ART with modifications for the Xposed framework.
Other
377 stars 212 forks source link

bootloop on sony c3 d2502 after flash xposed v79 #22

Closed shen0 closed 8 years ago

shen0 commented 8 years ago

hello rovo89, Thans for your great work on this great project ! i have seen a thread about sony t2 has the similar problem.and seems you need to deodx some files in the rom.is it ethernetserver.odex ? if it is,i will have a try. the log file in my sony c3 seems didn't mentioned any file.is it the same issue with sony T 2? here is my log.

12-19 08:42:16.155 I/Xposed  (  730): -----------------
12-19 08:42:16.155 I/Xposed  (  730): Starting Xposed version 79, compiled for SDK 22
12-19 08:42:16.155 I/Xposed  (  730): Device: D2502 (Sony), Android version 5.1.1 (SDK 22)
12-19 08:42:16.155 I/Xposed  (  730): ROM: 19.4.A.0.182
12-19 08:42:16.155 I/Xposed  (  730): Build fingerprint: Sony/D2502/D2502:5.1.1/19.4.A.0.182/26220503:user/release-keys
12-19 08:42:16.155 I/Xposed  (  730): Platform: armeabi-v7a, 32-bit binary, system server: yes
12-19 08:42:16.155 I/Xposed  (  730): SELinux enabled: yes, enforcing: yes
12-19 08:42:16.171 I/Xposed  (  730): -----------------
12-19 08:42:16.173 I/Xposed  (  730): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
12-19 08:42:16.752 I/Xposed  (  730): Detected ART runtime
12-19 08:42:16.803 I/Xposed  (  730): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
12-19 08:42:17.250 E/Xposed  (  730): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
12-19 08:42:19.854 F/libc    ( 1448): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xcd02eb18 in tid 1449 (Compiler driver)
12-19 08:42:19.854 F/libc    ( 1448): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8d59fee8 in tid 1448 (main)
12-19 08:42:19.855 F/libc    ( 1448): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xca9a49a8 in tid 1451 (Compiler driver)
12-19 08:42:19.855 F/libc    ( 1448): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xe3de35d0 in tid 1450 (Compiler driver)
12-19 08:42:19.978 I/DEBUG   (  704): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-19 08:42:19.978 I/DEBUG   (  704): UUID: c88c4c97-363b-4a60-b221-53aa4b8cdd7d
12-19 08:42:19.978 I/DEBUG   (  704): Build fingerprint: 'Sony/D2502/D2502:5.1.1/19.4.A.0.182/26220503:user/release-keys'
12-19 08:42:19.978 I/DEBUG   (  704): Revision: '0'
12-19 08:42:19.978 I/DEBUG   (  704): ABI: 'arm'
12-19 08:42:19.978 I/DEBUG   (  704): pid: 1448, tid: 1448, name: main  >>> /system/bin/dex2oat <<<
12-19 08:42:19.978 I/DEBUG   (  704): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8d59fee8
12-19 08:42:19.997 I/DEBUG   (  704):     r0 b22caee0  r1 b6f9fe30  r2 b22cae70  r3 b6cb5402
12-19 08:42:19.997 I/DEBUG   (  704):     r4 b6cb5403  r5 0000dde9  r6 b6f7ea5c  r7 000377a4
12-19 08:42:19.997 I/DEBUG   (  704):     r8 be96ee8c  r9 b79bc908  sl b79b2998  fp b79bc158
12-19 08:42:19.997 I/DEBUG   (  704):     ip b6f7ea74  sp be96edc0  lr b6d63de1  pc b6d63d36  cpsr 800f0030
12-19 08:42:19.997 I/DEBUG   (  704): 
12-19 08:42:19.997 I/DEBUG   (  704): backtrace:
12-19 08:42:19.997 I/DEBUG   (  704):     #00 pc 000d8d36  /system/lib/libart.so (art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+89)
12-19 08:42:19.997 I/DEBUG   (  704):     #01 pc 00147c8b  /system/lib/libart-compiler.so
12-19 08:42:19.997 I/DEBUG   (  704):     #02 pc 0013d889  /system/lib/libart-compiler.so
12-19 08:42:19.997 I/DEBUG   (  704):     #03 pc 00235951  /system/lib/libart.so (art::ThreadPool::Wait(art::Thread*, bool, bool)+172)
12-19 08:42:19.997 I/DEBUG   (  704):     #04 pc 0014053b  /system/lib/libart-compiler.so
12-19 08:42:19.997 I/DEBUG   (  704):     #05 pc 00140a4d  /system/lib/libart-compiler.so (art::CompilerDriver::Resolve(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+200)
12-19 08:42:19.997 I/DEBUG   (  704):     #06 pc 0014a501  /system/lib/libart-compiler.so (art::CompilerDriver::PreCompile(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+60)
12-19 08:42:19.997 I/DEBUG   (  704):     #07 pc 0014b42d  /system/lib/libart-compiler.so (art::CompilerDriver::CompileAll(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)+68)
12-19 08:42:19.997 I/DEBUG   (  704):     #08 pc 0000b4f5  /system/bin/dex2oat
12-19 08:42:19.997 I/DEBUG   (  704):     #09 pc 0000d9f5  /system/bin/dex2oat
12-19 08:42:19.997 I/DEBUG   (  704):     #10 pc 0000f4b9  /system/lib/libc.so (__libc_init+44)
12-19 08:42:19.998 I/DEBUG   (  704):     #11 pc 00004cd0  /system/bin/dex2oat
12-19 08:42:20.257 I/DEBUG   (  704): 
12-19 08:42:20.257 I/DEBUG   (  704): Tombstone written to: /data/tombstones/tombstone_04
12-19 08:42:20.308 E/DEBUG   (  704): unexpected waitpid response: n=1449, status=0000000b
12-19 08:42:20.308 E/DEBUG   (  704): tid exited before attach completed: tid 1449
12-19 08:42:20.419 F/libc    ( 1473): Fatal signal 6 (SIGABRT), code -6 in tid 1473 (main)
12-19 08:42:20.470 I/DEBUG   (  704): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-19 08:42:20.470 I/DEBUG   (  704): UUID: b281c638-e107-4699-83f4-48f81f796ff8
12-19 08:42:20.470 I/DEBUG   (  704): Build fingerprint: 'Sony/D2502/D2502:5.1.1/19.4.A.0.182/26220503:user/release-keys'
12-19 08:42:20.470 I/DEBUG   (  704): Revision: '0'
12-19 08:42:20.471 I/DEBUG   (  704): ABI: 'arm'
12-19 08:42:20.471 I/DEBUG   (  704): pid: 1473, tid: 1473, name: main  >>> /system/bin/dex2oat <<<
12-19 08:42:20.471 I/DEBUG   (  704): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-19 08:42:20.499 I/DEBUG   (  704): Abort message: 'art/runtime/thread.cc:1143] No pending exception expected: java.lang.ArrayIndexOutOfBoundsException: length=75; index=27206'
12-19 08:42:20.499 I/DEBUG   (  704):     r0 00000000  r1 000005c1  r2 00000006  r3 00000000
12-19 08:42:20.499 I/DEBUG   (  704):     r4 b6fade38  r5 00000006  r6 00000002  r7 0000010c
12-19 08:42:20.499 I/DEBUG   (  704):     r8 00000000  r9 b7b4cd78  sl b7b571a0  fp 00000083
12-19 08:42:20.499 I/DEBUG   (  704):     ip 000005c1  sp be8c5c18  lr b6a3cf11  pc b6a62f28  cpsr 600f0010
12-19 08:42:20.499 I/DEBUG   (  704): 
12-19 08:42:20.499 I/DEBUG   (  704): backtrace:
12-19 08:42:20.500 I/DEBUG   (  704):     #00 pc 00039f28  /system/lib/libc.so (tgkill+12)
12-19 08:42:20.500 I/DEBUG   (  704):     #01 pc 00013f0d  /system/lib/libc.so (pthread_kill+52)
12-19 08:42:20.500 I/DEBUG   (  704):     #02 pc 00014b2b  /system/lib/libc.so (raise+10)
12-19 08:42:20.500 I/DEBUG   (  704):     #03 pc 00011255  /system/lib/libc.so (__libc_android_abort+36)
12-19 08:42:20.500 I/DEBUG   (  704):     #04 pc 0000f5fc  /system/lib/libc.so (abort+4)
12-19 08:42:20.500 I/DEBUG   (  704):     #05 pc 0021bb15  /system/lib/libart.so (art::Runtime::Abort()+160)
12-19 08:42:20.500 I/DEBUG   (  704):     #06 pc 000a8327  /system/lib/libart.so (art::LogMessage::~LogMessage()+1066)
12-19 08:42:20.500 I/DEBUG   (  704):     #07 pc 0022a6dd  /system/lib/libart.so (art::Thread::AssertNoPendingException() const+368)
12-19 08:42:20.500 I/DEBUG   (  704):     #08 pc 000d81bf  /system/lib/libart.so (art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)+14)
12-19 08:42:20.500 I/DEBUG   (  704):     #09 pc 000d8d63  /system/lib/libart.so (art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+134)
12-19 08:42:20.500 I/DEBUG   (  704):     #10 pc 00147c8b  /system/lib/libart-compiler.so
12-19 08:42:20.500 I/DEBUG   (  704):     #11 pc 0013d889  /system/lib/libart-compiler.so
12-19 08:42:20.500 I/DEBUG   (  704):     #12 pc 00235951  /system/lib/libart.so (art::ThreadPool::Wait(art::Thread*, bool, bool)+172)
12-19 08:42:20.500 I/DEBUG   (  704):     #13 pc 0014053b  /system/lib/libart-compiler.so
12-19 08:42:20.500 I/DEBUG   (  704):     #14 pc 00140a4d  /system/lib/libart-compiler.so (art::CompilerDriver::Resolve(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+200)
12-19 08:42:20.500 I/DEBUG   (  704):     #15 pc 0014a501  /system/lib/libart-compiler.so (art::CompilerDriver::PreCompile(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+60)
12-19 08:42:20.500 I/DEBUG   (  704):     #16 pc 0014b42d  /system/lib/libart-compiler.so (art::CompilerDriver::CompileAll(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)+68)
12-19 08:42:20.500 I/DEBUG   (  704):     #17 pc 0000b4f5  /system/bin/dex2oat
12-19 08:42:20.500 I/DEBUG   (  704):     #18 pc 0000d9f5  /system/bin/dex2oat
12-19 08:42:20.500 I/DEBUG   (  704):     #19 pc 0000f4b9  /system/lib/libc.so (__libc_init+44)
12-19 08:42:20.500 I/DEBUG   (  704):     #20 pc 00004cd0  /system/bin/dex2oat
12-19 08:42:20.669 I/DEBUG   (  704): 
12-19 08:42:20.669 I/DEBUG   (  704): Tombstone written to: /data/tombstones/tombstone_05
12-19 08:42:20.722 F/libc    ( 1519): Fatal signal 11 (SIGSEGV), code 2, fault addr 0x2ea44114 in tid 1519 (main)
12-19 08:42:20.722 F/libc    ( 1519): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x60491cf8 in tid 1526 (Compiler driver)
12-19 08:42:20.723 F/libc    ( 1519): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x64d9f358 in tid 1523 (Compiler driver)
12-19 08:42:20.724 F/libc    ( 1519): Fatal signal 11 (SIGSEGV), code 2, fault addr 0x45cf1cdc in tid 1525 (Compiler driver)
12-19 08:42:20.824 I/DEBUG   (  704): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-19 08:42:20.824 I/DEBUG   (  704): UUID: 1967a5a5-3cb9-4356-946e-e283f610d2a9
12-19 08:42:20.824 I/DEBUG   (  704): Build fingerprint: 'Sony/D2502/D2502:5.1.1/19.4.A.0.182/26220503:user/release-keys'
12-19 08:42:20.824 I/DEBUG   (  704): Revision: '0'
12-19 08:42:20.824 I/DEBUG   (  704): ABI: 'arm'
12-19 08:42:20.824 I/DEBUG   (  704): pid: 1519, tid: 1519, name: main  >>> /system/bin/dex2oat <<<
12-19 08:42:20.824 I/DEBUG   (  704): signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x2ea44114
12-19 08:42:20.835 I/DEBUG   (  704):     r0 b2617770  r1 b6f5ae30  r2 b2617700  r3 1f10b269
12-19 08:42:20.835 I/DEBUG   (  704):     r4 1f10b26a  r5 0000ae02  r6 b6f39a5c  r7 0002b808
12-19 08:42:20.835 I/DEBUG   (  704):     r8 be9cae7c  r9 b868e950  sl b8684a20  fp b868e1a0
12-19 08:42:20.835 I/DEBUG   (  704):     ip b6f39a74  sp be9cadb0  lr b6d1ede1  pc b6d1ed36  cpsr 00070030
12-19 08:42:20.835 I/DEBUG   (  704): 
12-19 08:42:20.835 I/DEBUG   (  704): backtrace:
12-19 08:42:20.835 I/DEBUG   (  704):     #00 pc 000d8d36  /system/lib/libart.so (art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)+89)
12-19 08:42:20.835 I/DEBUG   (  704):     #01 pc 00147c8b  /system/lib/libart-compiler.so
12-19 08:42:20.835 I/DEBUG   (  704):     #02 pc 0013d889  /system/lib/libart-compiler.so
12-19 08:42:20.835 I/DEBUG   (  704):     #03 pc 00235951  /system/lib/libart.so (art::ThreadPool::Wait(art::Thread*, bool, bool)+172)
12-19 08:42:20.835 I/DEBUG   (  704):     #04 pc 0014053b  /system/lib/libart-compiler.so
12-19 08:42:20.835 I/DEBUG   (  704):     #05 pc 00140a4d  /system/lib/libart-compiler.so (art::CompilerDriver::Resolve(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+200)
12-19 08:42:20.835 I/DEBUG   (  704):     #06 pc 0014a501  /system/lib/libart-compiler.so (art::CompilerDriver::PreCompile(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, art::TimingLogger*)+60)
12-19 08:42:20.835 I/DEBUG   (  704):     #07 pc 0014b42d  /system/lib/libart-compiler.so (art::CompilerDriver::CompileAll(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)+68)
12-19 08:42:20.836 I/DEBUG   (  704):     #08 pc 0000b4f5  /system/bin/dex2oat
12-19 08:42:20.836 I/DEBUG   (  704):     #09 pc 0000d9f5  /system/bin/dex2oat
12-19 08:42:20.836 I/DEBUG   (  704):     #10 pc 0000f4b9  /system/lib/libc.so (__libc_init+44)
12-19 08:42:20.836 I/DEBUG   (  704):     #11 pc 00004cd0  /system/bin/dex2oat
12-19 08:42:21.089 I/DEBUG   (  704): 
12-19 08:42:21.089 I/DEBUG   (  704): Tombstone written to: /data/tombstones/tombstone_06
12-19 08:42:21.140 E/DEBUG   (  704): unexpected waitpid response: n=1526, status=0000000b
12-19 08:42:21.140 E/DEBUG   (  704): tid exited before attach completed: tid 1526
rovo89 commented 8 years ago

`No pending exception expected: java.lang.ArrayIndexOutOfBoundsException: length=75; index=27206'

Same as https://github.com/rovo89/Xposed/issues/64 If you manage to deodex this ROM completely, let me know. I believe the files are too corrupted for this.

shen0 commented 8 years ago

thans for quik response. could u tell me which files is related to this issue ,or the whole system/framework dir need to be deodex , /system/bin/dex2oat seems more importent ?

shen0 commented 8 years ago

@rovo89 I tried to deodex the framework dir, but only got a few dex files successfully. they are: android.policy.dex apache-xml.dex bouncycastle.dex com.sonyericsson.uxp.dex conscrypt.dex core-junit.dex core-libart.dex ext.dex framework.dex framework-classes2.dex ims-common.dex mms-common.dex oem-services.dex okhttp.dex org.codeaurora.Performance.dex qcmediaplayer.dex tcmiface.dex telephony-common.dex vcard.dex voip-common.dex WfdCommon.dex

i don't know wheather they're helpful or not. as i can see, the ArrayIndexOutOfBoundsException occurs while the system tried to execute dex2oat to odex some system file. for example , transfer ethernet-services.odex from ethernet-services.jar. as there's already a odex file exist there, could this transfer been skipped ?