WindySha / Xpatch

This is a tool to repackage apk file, then the apk can load any xposed modules installed in the device. It is another way to hook an app without root device.
Apache License 2.0
2.54k stars 388 forks source link

闪退 #64

Closed igit-cn closed 3 years ago

igit-cn commented 3 years ago

手机:红米5 系统版本:Android 8 微信版本:7.0.3 谷歌商店版 Hook框架:Whale 异常信息: 2020-09-18 17:45:51.721 1561-1588/system_process I/Timeline: Timeline: App_transition_ready time:116472485 2020-09-18 17:45:51.727 1561-1588/system_process I/ActivityManager: Displayed com.tencent.mm/.plugin.webview.ui.tools.WebViewUI: +743ms 2020-09-18 17:45:51.728 3597-3735/com.miui.powerkeeper D/PowerKeeper.Event: notifyActivityLaunchTime: com.tencent.mm/.plugin.webview.ui.tools.WebViewUI totalTime: 743 2020-09-18 17:45:51.750 1561-2875/system_process I/SplashScreenServiceDelegate: None for com.tencent.mm 2020-09-18 17:45:51.837 754-9859/? I/NuPlayerDecoder: [audio] saw output EOS 2020-09-18 17:45:51.838 745-745/? E/AudioFlinger: open /proc/754/cmdline error 2020-09-18 17:45:51.838 745-745/? I/AudioFlinger: setAppName(), name=[], active=[0] 2020-09-18 17:45:51.932 1561-1588/system_process I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{e371cb6 u0 com.tencent.mm/.plugin.webview.ui.tools.WebViewUI t147} time:116472696 2020-09-18 17:45:51.934 1561-1582/system_process D/ActivityTrigger: ActivityTrigger activityStopTrigger 2020-09-18 17:45:51.935 1770-1770/com.android.systemui D/EventBus: [1770, u0] send(AppTransitionFinishedEvent) 2020-09-18 17:45:51.936 1770-1770/com.android.systemui D/EventBus: [1770, u0] -> ForcedResizableInfoActivityController [0x50194d5, P1] onBusEvent(AppTransitionFinishedEvent) 2020-09-18 17:45:51.937 1770-1770/com.android.systemui D/EventBus: [1770, u0] onBusEvent(AppTransitionFinishedEvent) duration: 247 microseconds, avg: 447 2020-09-18 17:45:51.944 1770-1770/com.android.systemui D/EventBus: [1770, u0] send(AppTransitionFinishedEvent) 2020-09-18 17:45:51.944 1561-1588/system_process I/Timeline: Timeline: App_transition_stopped time:116472708 2020-09-18 17:45:51.945 1770-1770/com.android.systemui D/EventBus: [1770, u0] -> ForcedResizableInfoActivityController [0x50194d5, P1] onBusEvent(AppTransitionFinishedEvent) 2020-09-18 17:45:51.945 1770-1770/com.android.systemui D/EventBus: [1770, u0] onBusEvent(AppTransitionFinishedEvent) duration: 55 microseconds, avg: 447 2020-09-18 17:45:51.947 26883-26883/com.tencent.mm I/MMKV: loading [INIT_SP_TAG_WV_KIND_CWLOAD_CORE] with 0 size in total, file size is 4096 2020-09-18 17:45:51.948 26883-26883/com.tencent.mm I/MMKV: loaded [INIT_SP_TAG_WV_KIND_CWLOAD_CORE] with 0 values 2020-09-18 17:45:51.962 26883-26883/com.tencent.mm I/MMKV: loading [INIT_SP_TAG_WV_KIND_CWCREATE_WEBVIEW] with 0 size in total, file size is 4096 2020-09-18 17:45:51.962 26883-26883/com.tencent.mm I/MMKV: loaded [INIT_SP_TAG_WV_KIND_CWCREATE_WEBVIEW] with 0 values 2020-09-18 17:45:51.982 26883-26883/com.tencent.mm I/MMKV: extending [UPDATELOG] file size from 65536 to 131072, incoming size:4253, futrue usage:68096 2020-09-18 17:45:51.999 22807-22807/com.tencent.mm D/AndroidRuntime: Shutting down VM

--------- beginning of crash

2020-09-18 17:45:52.001 22807-22807/com.tencent.mm E/AndroidRuntime: FATAL EXCEPTION: main Process: com.tencent.mm, PID: 22807 java.lang.RuntimeException: Unable to stop activity {com.tencent.mm/com.tencent.mm.ui.LauncherUI}: java.lang.RuntimeException: MicroMsg.ThreadWatchDog ThreadOver[546]: {mmt_fWepkgDownloaderPool?-WepkgDownloaderThread?=1, mmt_fcom.tencent.mm_ANRWatchDog=1, [GT]worker=1, [GT]TopStoryReportExposeTask=1, mmt_hWorkerThread#?=1, ListDataLoader$Thread=1, TuringMMCore=1, mmt_hkv_report=1, PreMeasuredThread=1, [GT]MMHandlerThread=2, TalkRoomService_HelloTimer=1, TalkRoomService_talkDurationTimer=1, mmt_hwifi_device_heart_beat=2, IPCBridgeThread#?=1, mmt_hDynamicPage#WorkerThread=1, mmt_hFreeWifiHandlerThread_handlerThread=1, [GT]SubCoreAppBrand#WorkerThread=1, mmt_hDynamicPage#IPCThread=1, Binder:interceptor=1, ThreadPool#InnerWorkerThread?=1, [GT]ExdeviceHandlerThread=1, [GT]Priority.PriorityTaskRunner=1, [GT]CDNDownloader#WorkThread=1, ThreadPool#WorkerThread?=1, MicroMsg.GLThread?=1, matrix_time_update_thread=1, mmt_hplaySoundThread=1, [GT]RecommendLogic_worker=1, parallels?=6, PowerTest=1, ThreadCaller#Worker?=1, [GT]calc-wx=1, pool?-thread?=393, i=1, [GT]ResDownloader-WorkerThread=1, [GT]WebviewCache#WorkerThread=1, [GT]ResDownloader-EventThread=1, VFS.Maintenance=1, Okio Watchdog=2, Vending-LogicThread=1, mmt_hSIRWorker=1, mmt_fHCPerfManager=1, OkHttp szsupport.weixin.qq.com=1, mmt_hClickFlow=1, mmt_fSearchImageLoader_saveImage_handler=1, ConfigStorage=1, [GT]AppBrandSimpleImageLoaderDiskIOHandlerThread=1, oss-android-log-thread=1, [GT]pending-stage=1, OkHttp TaskRunner=3, [GT]WxaPkgDownloadPerformerEventDispatchThread=1, BitmapBriefTracer=1, MQTT Rec: wxid_fbwyyl?omv?=1, FileObserver=1, MQTT Ping: wxid_fbwyyl?omv?=1, DefaultDispatcher-worker?=3, InflateThread=1, MQTT Call: wxid_fbwyyl?omv?=1, audio_mix_controller=1, [GT]HandlerThreadPool#?=42, [GT]pre load mainui avatar=1, [GT]ThreadPoolProfile=1, ConnectivityThread=1, Timer?=5, [GT]RWCache_timeoutChecker=1, [GT]NormsgWorker=1, mmt_hWearWorker_worker_thread=1, MQTT Snd: wxid_fbwyyl?omv?=1, mmt_hProcessChecker=1, TalkRoomService=1, Vending-HeavyWorkThread=1, SearchDaemon=1, [GT]Short-Video-Decoder-Thread?=1, OkHttp ConnectionPool=1, SoterGenKeyHandlerThreadName=1, TbsHandlerThread=1, [GT]MemoryWatchDog=1, mmt_fSearchImageLoader_loadImage_handler=2, mmt_hMediaCodecTransEncoder_encodeThread=1, mmt_hWidgetPkgPreDownloadMgr=1, oss-android-api-thread=1, ThreadPool#Thread?=3, Thread?=7, [GT]OrderWorker=1, [GT]Startup-SideWork=1, mmt_fSnsCore_task_handler=2, mmt_hVideoService_runThread=1} at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3944) at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3999) at android.app.ActivityThread.-wrap25(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1559) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:163) at android.app.ActivityThread.main(ActivityThread.java:6238) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823) Caused by: java.lang.RuntimeException: MicroMsg.ThreadWatchDog 2020-09-18 17:45:52.002 22807-22807/com.tencent.mm E/AndroidRuntime: ThreadOver[546]: {mmt_fWepkgDownloaderPool?-WepkgDownloaderThread?=1, mmt_fcom.tencent.mm_ANRWatchDog=1, [GT]worker=1, [GT]TopStoryReportExposeTask=1, mmt_hWorkerThread#?=1, ListDataLoader$Thread=1, TuringMMCore=1, mmt_hkv_report=1, PreMeasuredThread=1, [GT]MMHandlerThread=2, TalkRoomService_HelloTimer=1, TalkRoomService_talkDurationTimer=1, mmt_hwifi_device_heart_beat=2, IPCBridgeThread#?=1, mmt_hDynamicPage#WorkerThread=1, mmt_hFreeWifiHandlerThread_handlerThread=1, [GT]SubCoreAppBrand#WorkerThread=1, mmt_hDynamicPage#IPCThread=1, Binder:interceptor=1, ThreadPool#InnerWorkerThread?=1, [GT]ExdeviceHandlerThread=1, [GT]Priority.PriorityTaskRunner=1, [GT]CDNDownloader#WorkThread=1, ThreadPool#WorkerThread?=1, MicroMsg.GLThread?=1, matrix_time_update_thread=1, mmt_hplaySoundThread=1, [GT]RecommendLogic_worker=1, parallels?=6, PowerTest=1, ThreadCaller#Worker?=1, [GT]calc-wx=1, pool?-thread?=393, i=1, [GT]ResDownloader-WorkerThread=1, [GT]WebviewCache#WorkerThread=1, [GT]ResDownloader-EventThread=1, VFS.Maintenance=1, Okio Watchdog=2, Vending-LogicThread=1, mmt_hSIRWorker=1, mmt_fHCPerfManager=1, OkHttp szsupport.weixin.qq.com=1, mmt_hClickFlow=1, mmt_fSearchImageLoader_saveImage_handler=1, ConfigStorage=1, [GT]AppBrandSimpleImageLoaderDiskIOHandlerThread=1, oss-android-log-thread=1, [GT]pending-stage=1, OkHttp TaskRunner=3, [GT]WxaPkgDownloadPerformerEventDispatchThread=1, BitmapBriefTracer=1, MQTT Rec: wxid_fbwyyl?omv?=1, FileObserver=1, MQTT Ping: wxid_fbwyyl?omv?=1, DefaultDispatcher-worker?=3, InflateThread=1, MQTT Call: wxid_fbwyyl?omv?=1, audio_mix_controller=1, [GT]HandlerThreadPool#?=42, [GT]pre load mainui avatar=1, [GT]ThreadPoolProfile=1, ConnectivityThread=1, Timer?=5, [GT]RWCache_timeoutChecker=1, [GT]NormsgWorker=1, mmt_hWearWorker_worker_thread=1, MQTT Snd: wxid_fbwyyl?omv?=1, mmt_hProcessChecker=1, TalkRoomService=1, Vending-HeavyWorkThread=1, SearchDaemon=1, [GT]Short-Video-Decoder-Thread?=1, OkHttp ConnectionPool=1, SoterGenKeyHandlerThreadName=1, TbsHandlerThread=1, [GT]MemoryWatchDog=1, mmt_fSearchImageLoader_loadImage_handler=2, mmt_hMediaCodecTransEncoder_encodeThread=1, mmt_hWidgetPkgPreDownloadMgr=1, oss-android-api-thread=1, ThreadPool#Thread?=3, Thread?=7, [GT]OrderWorker=1, [GT]Startup-SideWork=1, mmt_fSnsCore_task_handler=2, mmt_hVideoService_runThread=1} at com.tencent.mm.plugin.performance.b.b.onActivityStopped(SourceFile:1071) at android.app.Application.dispatchActivityStopped(Application.java:236) at android.app.Activity.onStop(Activity.java:1843) at android.support.v4.app.FragmentActivity.onStop(SourceFile:613) at android.support.v7.app.AppCompatActivity.onStop(SourceFile:183) at com.tencent.mm.ui.MMFragmentActivity.onStop(SourceFile:174) at com.tencent.mm.ui.LauncherUI.onStop(SourceFile:1339) at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1290) at android.app.Activity.performStop(Activity.java:7052) at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3941) ... 9 more 2020-09-18 17:45:52.144 1561-1596/system_process D/Boost: hostingType=service, hostingName=com.android.defcontainer/.DefaultContainerService, callerPackage=android, isSystem=true, isBoostNeeded=false. 2020-09-18 17:45:52.144 1561-1596/system_process I/ActivityManager: Start proc 9892:com.android.defcontainer/u0a6 for service com.android.defcontainer/.DefaultContainerService caller=android 2020-09-18 17:45:52.144 3597-3735/com.miui.powerkeeper D/PowerKeeper.Event: notifyAMProcStart processName: 10006 reason: com.android.defcontainer, pid:0 2020-09-18 17:45:52.163 9892-9892/? D/TidaProvider: TidaProvider() 2020-09-18 17:45:52.172 9892-9892/com.android.defcontainer W/ReflectionUtils: java.lang.NoSuchMethodException: android.os.MessageQueue#enableMonitor()#bestmatch at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:338) at miui.util.ReflectionUtils.findMethodBestMatch(ReflectionUtils.java:375) at miui.util.ReflectionUtils.callMethod(ReflectionUtils.java:800) at miui.util.ReflectionUtils.tryCallMethod(ReflectionUtils.java:818) at android.os.BaseLooper.enableMonitor(BaseLooper.java:47) at android.os.Looper.prepareMainLooper(Looper.java:112) at android.app.ActivityThread.main(ActivityThread.java:6221) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:933) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823) 2020-09-18 17:45:52.174 9892-9892/com.android.defcontainer V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@d798fe6 2020-09-18 17:45:52.187 1561-1583/system_process V/UidProcStateHelper: process state changed:[9892,10006,6] 2020-09-18 17:45:52.209 9892-9892/com.android.defcontainer W/ResourceType: No package identifier when getting name for resource number 0x00000000 2020-09-18 17:45:52.217 9892-9892/com.android.defcontainer I/LoadedApk: No resource references to update in package com.android.defcontainer 2020-09-18 17:45:52.260 754-9854/? D/NuPlayerDriver: notifyListener_l(0xee0a0ae0), (2, 0, 0), loop setting(0, 0) 2020-09-18 17:45:52.265 754-754/? D/NuPlayerDriver: reset(0xee0a0ae0) at state 6 2020-09-18 17:45:52.265 754-754/? D/NuPlayerDriver: notifyListener_l(0xee0a0ae0), (8, 0, 0), loop setting(0, 0) 2020-09-18 17:45:52.265 3597-3735/com.miui.powerkeeper D/PowerKeeper.Active: remove active uid = 10169, type = 1, new=0 2020-09-18 17:45:52.265 3597-3735/com.miui.powerkeeper I/PowerCheckerService: uid:10169change to inactive 2020-09-18 17:45:52.266 3597-3735/com.miui.powerkeeper D/PowerChecker.BaStats: notifyAudioStatusChangedLocked, uid = 10169, audioOn = false 2020-09-18 17:45:52.267 3597-3694/com.miui.powerkeeper I/AppActiveChecker: uid:10169change to inactive 2020-09-18 17:45:52.267 3597-3694/com.miui.powerkeeper D/AppActiveChecker: updateDownloadStateForUidResetPolicyLocked, uid = 10169 2020-09-18 17:45:52.270 754-9854/? W/AMessage: failed to post message as target looper for handler 0 is gone. 2020-09-18 17:45:52.271 754-9854/? D/NuPlayerDriver: notifyResetComplete(0xee0a0ae0) 2020-09-18 17:45:52.339 1596-1596/? W/PackageManager: type=1400 audit(0.0:70615): avc: denied { getattr } for path="/data/media" dev="dm-1" ino=270337 scontext=u:r:system_server:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0 2020-09-18 17:45:52.339 1596-1596/? W/PackageManager: type=1400 audit(0.0:70616): avc: denied { getattr } for path="/data/media" dev="dm-1" ino=270337 scontext=u:r:system_server:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0 2020-09-18 17:45:52.339 1596-1596/? W/PackageManager: type=1400 audit(0.0:70617): avc: denied { getattr } for path="/data/media" dev="dm-1" ino=270337 scontext=u:r:system_server:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0 2020-09-18 17:45:52.339 1596-1596/? W/PackageManager: type=1400 audit(0.0:70618): avc: denied { getattr } for path="/data/media" dev="dm-1" ino=270337 scontext=u:r:system_server:s0 tcontext=u:object_r:media_rw_data_file:s0 tclass=dir permissive=0 2020-09-18 17:45:52.699 22807-22859/com.tencent.mm W/XChat: OkHttpUtils Unexpected code: 302, msg: 2020-09-18 17:45:52.721 22807-24151/com.tencent.mm I/XChat: PUBLISH SUCCEED, MSG: {"apiCode":"0015","content":"{\"clientId\":\"wxid_fbwyyl7omv9022\",\"code\":0,\"inviteUrl\":\"https://support.weixin.qq.com/cgi-bin/mmsupport-bin/addchatroombyinvite?ticket=ASUo2SsnXCQHeMuhTRE8PQ%3D%3D\"}"} 2020-09-18 17:45:52.772 9916-9916/? I/subsystem_ramdump: Usage:./system/bin/subsystem_ramdump [arg1] [arg2] [arg3] 2020-09-18 17:45:52.773 9916-9916/? I/subsystem_ramdump: [arg1]: (1/2) Ramdump location: 1: eMMC: /data/ramdump or 2: SD card: /sdcard/ramdump 2020-09-18 17:45:52.773 9916-9916/? I/subsystem_ramdump: [arg2]: (1/0) 1: Enable RPM log / 0: Disable RPM log 2020-09-18 17:45:52.773 9916-9916/? I/subsystem_ramdump: [arg3]: (1/0) 1: Enable qdss ramdump / 0: Disable qdss ramdump 2020-09-18 17:45:52.774 9916-9916/? E/subsystem_ramdump: Directory /sdcard/ramdump does not exist 2020-09-18 17:45:52.774 9916-9916/? I/subsystem_ramdump: Attemping to create /sdcard/ramdump 2020-09-18 17:45:52.759 9916-9916/? W/subsystem_ramdu: type=1400 audit(0.0:70619): avc: denied { search } for name="/" dev="sdcardfs" ino=270337 scontext=u:r:subsystem_ramdump:s0 tcontext=u:object_r:sdcardfs:s0 tclass=dir permissive=0 2020-09-18 17:45:52.759 9916-9916/? W/subsystem_ramdu: type=1400 audit(0.0:70620): avc: denied { search } for name="/" dev="sdcardfs" ino=270337 scontext=u:r:subsystem_ramdump:s0 tcontext=u:object_r:sdcardfs:s0 tclass=dir permissive=0 2020-09-18 17:45:52.774 9916-9916/? E/subsystem_ramdump: Unable to create /sdcard/ramdump 2020-09-18 17:45:52.774 9916-9916/? E/subsystem_ramdump: Unable to create /sdcard/ramdump 2020-09-18 17:45:52.774 9916-9916/? E/subsystem_ramdump: Failed to initialize ramdump 2020-09-18 17:45:53.708 22807-22807/com.tencent.mm I/Process: Sending signal. PID: 22807 SIG: 9 2020-09-18 17:45:53.708 1561-2875/system_process D/ActivityManager: report kill process: killerPid is:22807, killedPid is:22807 2020-09-18 17:45:53.837 1561-1898/system_process I/WindowManager: WIN DEATH: Window{4d5a9c2 u0 com.tencent.mm/com.tencent.mm.ui.LauncherUI} 2020-09-18 17:45:53.838 1561-6366/system_process D/GraphicsStats: Buffer count: 9 2020-09-18 17:45:53.839 1561-2036/system_process I/ActivityManager: Process com.tencent.mm (pid 22807) has died: fore T 2020-09-18 17:45:53.840 1561-2036/system_process D/ActivityManager: cleanUpApplicationRecord -- 22807 2020-09-18 17:45:53.840 1561-2036/system_process D/ProcessRecordInjector: Begin to report kill process events... 2020-09-18 17:45:53.844 1561-2036/system_process W/ActivityManager: Scheduling restart of crashed service com.tencent.mm/.plugin.webview.stub.WebViewStubService in 1000ms 2020-09-18 17:45:53.845 1561-2036/system_process W/ActivityManager: Scheduling restart of crashed service com.tencent.mm/.ipcinvoker.wx_extension.service.MainProcessIPCService in 10999ms 2020-09-18 17:45:53.845 1561-2036/system_process W/ActivityManager: Scheduling restart of crashed service com.tencent.mm/.plugin.wepkg.ipc.WepkgMainProcessService in 20999ms 2020-09-18 17:45:53.846 1561-2036/system_process W/ActivityManager: Scheduling restart of crashed service com.tencent.mm/.plugin.appbrand.ipc.AppBrandMainProcessService in 30999ms 2020-09-18 17:45:53.848 3597-3735/com.miui.powerkeeper D/PowerKeeper.Event: notifyAMProcDied pacakageName: com.tencent.mm, pid:22807 2020-09-18 17:45:53.849 1561-2036/system_process W/ActivityManager: Force removing ActivityRecord{882e423 u0 com.tencent.mm/.ui.LauncherUI t147}: app died, no saved state 2020-09-18 17:45:53.859 1561-1583/system_process V/UidProcStateHelper: process state changed:[27873,10169,10] 2020-09-18 17:45:53.865 1561-1583/system_process V/UidProcStateHelper: process died:[22807,10169] 2020-09-18 17:45:53.866 3597-3787/com.miui.powerkeeper D/PowerChecker.Notify: removeNotification, type = 0, uid = 10169, pkg = null 2020-09-18 17:45:53.867 3597-3694/com.miui.powerkeeper D/AppActiveChecker: onProcessDiedListener ignore for other process alive uid=10169 2020-09-18 17:45:53.897 3597-3735/com.miui.powerkeeper D/PowerKeeper.Event: notifyCpuStatsUpdate 2020-09-18 17:45:53.897 3597-3735/com.miui.powerkeeper W/PowerCheckerService: Time interval is too short since last check 2020-09-18 17:45:53.926 25500-25500/com.miui.weather2 D/Wth2:WeatherApplicationDelegate: onTrimMemory() level=60 2020-09-18 17:45:53.926 1561-9320/system_process D/ProcessPolicyManager: promote com.tencent.mm maxAdj to hvy , maxProcState to + HW 2020-09-18 17:45:53.927 1561-9320/system_process D/Boost: hostingType=service, hostingName=com.tencent.mm/.plugin.wepkg.ipc.WepkgMainProcessService, callerPackage=com.tencent.mm, isSystem=false, isBoostNeeded=false. 2020-09-18 17:45:53.927 1561-9320/system_process I/ActivityManager: Start proc 9924:com.tencent.mm/u0a169 for service com.tencent.mm/.plugin.wepkg.ipc.WepkgMainProcessService caller=com.tencent.mm 2020-09-18 17:45:53.928 3597-3735/com.miui.powerkeeper D/PowerKeeper.Event: notifyAMProcStart processName: 10169 reason: com.tencent.mm, pid:0