ElderDrivers / EdXposed

Elder driver Xposed Framework.
https://edxp.meowcat.org/
GNU General Public License v3.0
5.4k stars 624 forks source link

[BUG] Installation Failure. Boot to Fastboot(ALP-AL00/8.1) #506

Closed Syphurith closed 3 years ago

Syphurith commented 4 years ago

Edit: I tried alpha release and canary one again today, and rewrote this issue to English-Only. I've read the log and searched the net for some tips and the most related result is telling me to install the customized version of Magisk from Riru, which is said to be already fixed in 20.2+ Magisk.

HUAWEI Mate 10(ALP-AL00), EMUI 8.1.0.351(Android 8.1), Mostly the stock ROM(Only installed Magisk). TWRP using 3.2.1-0 Build for Huawei from xda.

What happened?

Actual Type: Installation Failure. After installed Edxposed Zip from Edxposed Manager using Magisk or TWRP, it boot to fastboot. And reboot it would still enter fastboot until you uninstall Edxposed from TWRP.

Fastboot screen shows

Android Reboot Reason
BFM_S_NATIVE_DATA_FAIL 195
no
NA
reboot_panic_and_wdt_process_func

Xposed Module List

NO Xposed MODULE EVER INSTALLED

Magisk Module List

Module Version
Riru-Core 19.8
DnsCrypt-Proxy2 2.9.5
BusyBox for Android NDK 1.31.1
AD Hosts 4.2.2

BTW the time I opened this issue, that is

Module Version
Riru-Core 19.8

Versions of EdXposed and Riru

I've already tried alpha release 4510/4529, and also canary release 4543/4545, Both YAHFA and SandHook doesn't work

Riru: 19.8

Magisk: 20400/20401(Currently I'm using 20401)

Logcat

The log below is from Edxposed Manager, Verbose Version.

I've uploaded the logcat from LiveBoot, picked it out when uninstall Edxposed to reboot successfully in TWRP. The link is on the comment below.

--------- beginning of head
EdXposed Log
Powered by Log Catcher
QQ support group: 855219808
Telegram support group: @Code_Of_MeowCat
Telegram channel: @EdXposed
--------- beginning of information
Manufacturer: HUAWEI
Brand: HUAWEI
Device: HWALP
Product: ALP
Model: ALP-AL00
Fingerprint: HUAWEI/ALP-AL00/HWALP:8.1.0/HUAWEIALP-AL00/351(C00):user/release-keys
ROM description: ALP-AL00-user 8.1.0 HUAWEIALP-AL00 351(C00) release-keys
Architecture: arm64-v8a
Android build: HUAWEIALP-AL00
Android version: 8.1.0
Android sdk: 27
EdXposed version: v0.4.6.3 (4545) (YAHFA)
EdXposed api: 91.0
Riru version: v19.8 (30)
Riru api: 4
Magisk: ef9d077c (20401)
--------- beginning of main
--------- beginning of system
04-11 12:41:25.440   653   653 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:25.440   653   653 I EdXposed: Start to install inline hooks
04-11 12:41:25.440   653   653 I EdXposed: Using api level 27
04-11 12:41:25.440   653   653 I EdXposed: Start to install Riru hook
04-11 12:41:25.449   653   653 I EdXposed: Riru hooks installed
04-11 12:41:25.454   653   653 I EdXposed: using installer org.meowcat.edxposed.manager
04-11 12:41:25.454   653   653 I EdXposed: data path prefix: /data/user_de/0/
04-11 12:41:25.454   653   653 I EdXposed:   application list mode: false
04-11 12:41:25.454   653   653 I EdXposed:     using whitelist: false
04-11 12:41:25.454   653   653 I EdXposed:   dynamic modules mode: false
04-11 12:41:25.454   653   653 I EdXposed:   resources hook: true
04-11 12:41:25.454   653   653 I EdXposed:   deopt boot image: false
04-11 12:41:25.454   653   653 I EdXposed:   no module log: false
04-11 12:41:25.454   653   653 I EdXposed:   hidden api bypass: true
04-11 12:41:25.455   653   653 I EdXposed: ART hooks installed
04-11 12:41:25.456   653   653 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:25.462   653   653 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:25.462   653   653 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
04-11 12:41:25.599   654   654 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:25.599   654   654 I EdXposed: Start to install inline hooks
04-11 12:41:25.599   654   654 I EdXposed: Using api level 27
04-11 12:41:25.599   654   654 I EdXposed: Start to install Riru hook
04-11 12:41:25.609   654   654 I EdXposed: Riru hooks installed
04-11 12:41:25.616   654   654 I EdXposed: using installer org.meowcat.edxposed.manager
04-11 12:41:25.616   654   654 I EdXposed: data path prefix: /data/user_de/0/
04-11 12:41:25.616   654   654 I EdXposed:   application list mode: false
04-11 12:41:25.616   654   654 I EdXposed:     using whitelist: false
04-11 12:41:25.616   654   654 I EdXposed:   dynamic modules mode: false
04-11 12:41:25.616   654   654 I EdXposed:   resources hook: true
04-11 12:41:25.616   654   654 I EdXposed:   deopt boot image: false
04-11 12:41:25.616   654   654 I EdXposed:   no module log: false
04-11 12:41:25.616   654   654 I EdXposed:   hidden api bypass: true
04-11 12:41:25.618   654   654 I EdXposed: ART hooks installed
04-11 12:41:25.618   654   654 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:25.634   654   654 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:25.634   654   654 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
--------- beginning of crash
04-11 12:41:30.476  2193  2193 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:30.476  2193  2193 I EdXposed: Start to install inline hooks
04-11 12:41:30.476  2193  2193 I EdXposed: Using api level 27
04-11 12:41:30.476  2193  2193 I EdXposed: Start to install Riru hook
04-11 12:41:30.487  2193  2193 I EdXposed: Riru hooks installed
04-11 12:41:30.493  2193  2193 I EdXposed: using installer org.meowcat.edxposed.manager
04-11 12:41:30.493  2193  2193 I EdXposed: data path prefix: /data/user_de/0/
04-11 12:41:30.493  2193  2193 I EdXposed:   application list mode: false
04-11 12:41:30.493  2193  2193 I EdXposed:     using whitelist: false
04-11 12:41:30.493  2193  2193 I EdXposed:   dynamic modules mode: false
04-11 12:41:30.493  2193  2193 I EdXposed:   resources hook: true
04-11 12:41:30.493  2193  2193 I EdXposed:   deopt boot image: false
04-11 12:41:30.493  2193  2193 I EdXposed:   no module log: false
04-11 12:41:30.493  2193  2193 I EdXposed:   hidden api bypass: true
04-11 12:41:30.493  2193  2193 I EdXposed: ART hooks installed
04-11 12:41:30.494  2193  2193 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:30.501  2193  2193 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:30.501  2193  2193 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
04-11 12:41:35.430  3805  3805 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:35.430  3805  3805 I EdXposed: Start to install inline hooks
04-11 12:41:35.430  3805  3805 I EdXposed: Using api level 27
04-11 12:41:35.430  3805  3805 I EdXposed: Start to install Riru hook
04-11 12:41:35.439  3805  3805 I EdXposed: Riru hooks installed
04-11 12:41:35.442  3805  3805 I EdXposed: data path prefix: /data/user_de/0/
04-11 12:41:35.442  3805  3805 I EdXposed:   application list mode: false
04-11 12:41:35.443  3805  3805 I EdXposed:     using whitelist: false
04-11 12:41:35.443  3805  3805 I EdXposed:   dynamic modules mode: false
04-11 12:41:35.443  3805  3805 I EdXposed:   resources hook: true
04-11 12:41:35.443  3805  3805 I EdXposed:   deopt boot image: false
04-11 12:41:35.443  3805  3805 I EdXposed:   no module log: false
04-11 12:41:35.443  3805  3805 I EdXposed:   hidden api bypass: true
04-11 12:41:35.443  3805  3805 I EdXposed: ART hooks installed
04-11 12:41:35.443  3805  3805 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:35.450  3805  3805 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:35.450  3805  3805 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
04-11 12:41:40.429  5637  5637 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:40.429  5637  5637 I EdXposed: Start to install inline hooks
04-11 12:41:40.429  5637  5637 I EdXposed: Using api level 27
04-11 12:41:40.429  5637  5637 I EdXposed: Start to install Riru hook
04-11 12:41:40.439  5637  5637 I EdXposed: Riru hooks installed
04-11 12:41:40.444  5637  5637 I EdXposed: ART hooks installed
04-11 12:41:40.445  5637  5637 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:40.452  5637  5637 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:40.452  5637  5637 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
04-11 12:41:45.463  7483  7483 I EdXposed: onModuleLoaded: welcome to EdXposed!
04-11 12:41:45.463  7483  7483 I EdXposed: Start to install inline hooks
04-11 12:41:45.463  7483  7483 I EdXposed: Using api level 27
04-11 12:41:45.463  7483  7483 I EdXposed: Start to install Riru hook
04-11 12:41:45.471  7483  7483 I EdXposed: Riru hooks installed
04-11 12:41:45.474  7483  7483 I EdXposed: using installer org.meowcat.edxposed.manager
04-11 12:41:45.474  7483  7483 I EdXposed: data path prefix: /data/user_de/0/
04-11 12:41:45.474  7483  7483 I EdXposed:   application list mode: false
04-11 12:41:45.474  7483  7483 I EdXposed:     using whitelist: false
04-11 12:41:45.474  7483  7483 I EdXposed:   dynamic modules mode: false
04-11 12:41:45.474  7483  7483 I EdXposed:   resources hook: true
04-11 12:41:45.474  7483  7483 I EdXposed:   deopt boot image: false
04-11 12:41:45.474  7483  7483 I EdXposed:   no module log: false
04-11 12:41:45.474  7483  7483 I EdXposed:   hidden api bypass: true
04-11 12:41:45.475  7483  7483 I EdXposed: ART hooks installed
04-11 12:41:45.475  7483  7483 W EdXposed: _ZNK23FileDescriptorWhitelist9IsAllowedERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE not found
04-11 12:41:45.482  7483  7483 I EdXposed: system_property_get: dalvik.vm.dex2oat-filter -> quicken
04-11 12:41:45.482  7483  7483 I EdXposed: system_property_get: dalvik.vm.dex2oat-flags -> --inline-max-code-units=0
Syphurith commented 4 years ago

As mentioned above, I uploaded logs recorded using LiveBoot, to pan.baidu.com. Successful one named "NormalBoot", and the one about this issue named "BootToFastBoot". You could easily find out. The logs goes here. Password is: live

kotori2 commented 3 years ago

If this bug persist now, please re-open the issue and try with debug build and catch logs again.

I/crash_dump64( 7753): performing dump of process 7483 (target tid = 7483)
F/DEBUG   ( 7753): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG   ( 7753): Build fingerprint: 'HUAWEI/ALP-AL00/HWALP:8.1.0/HUAWEIALP-AL00/351(C00):user/release-keys'
F/DEBUG   ( 7753): Revision: '0'
F/DEBUG   ( 7753): ABI: 'arm64'
F/DEBUG   ( 7753): pid: 7483, tid: 7483, name: main  >>> zygote64 <<<
F/DEBUG   ( 7753): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
F/DEBUG   ( 7753): Cause: null pointer dereference
F/DEBUG   ( 7753):     x0   00000000702c14a8  x1   0000007fcf4f5a08  x2   0000007fcf4f5a08  x3   000000731f8bfa00
F/DEBUG   ( 7753):     x4   0000007fcf4f5e30  x5   00000073a1094a0b  x6   0000000080000000  x7   624b23ff3a71646a
F/DEBUG   ( 7753):     x8   0000000000000000  x9   0000000000000000  x10  0000000000430000  x11  0000000000000000
F/DEBUG   ( 7753):     x12  000000731f504f30  x13  000000731f504f84  x14  000000731f504fe4  x15  0000000000000000
F/DEBUG   ( 7753):     x16  0000007fcf4f5a08  x17  0000000000000000  x18  0000000012c00098  x19  00000000702c14a8
F/DEBUG   ( 7753):     x20  00000073a4cb3a40  x21  000000731fd21000  x22  0000007fcf4f5c9c  x23  00000073a1094a0b
F/DEBUG   ( 7753):     x24  0000000000000004  x25  00000073a4cb3a40  x26  000000731f8bfaa0  x27  0000000000000001
F/DEBUG   ( 7753):     x28  0000000000000001  x29  0000007fcf4f59e0  x30  000000731fc8df5c
F/DEBUG   ( 7753):     sp   0000007fcf4f59b0  pc   000000731fc8dfc0  pstate 0000000060000000
F/DEBUG   ( 7753): 
F/DEBUG   ( 7753): backtrace:
F/DEBUG   ( 7753):     #00 pc 0000000000045fc0  /system/lib64/libriru_be1e.so
F/DEBUG   ( 7753):     #01 pc 0000000000003cec  /data/dalvik-cache/arm64/system@framework@854d4f78.jar@classes.dex (offset 0x3000)