rovo89 / Xposed

The native part of the Xposed framework (mainly the modified app_process binary).
Other
7.4k stars 1.47k forks source link

Xposed Breaks Play Store on Oreo #361

Open MephistoPheles666 opened 6 years ago

MephistoPheles666 commented 6 years ago

Device Details: Xposed Version: 90.2 beta 3 Device OS version: Android Oreo 8.1 Device build number and security patch: Mon May 28. 20:12:35 CEST 2018 Device Manufacturer: Xiaomi Device Name: Redmi Note 4X (Snapdragon) Device Rom: Lineage OS 15.1 Xposed Installer version: 3.1.5

Issue: When Xposed enabled, doesn't matter what version that is compatible with Oreo or what ROM I use as long as it's Android 8.1 Google Play Store crashes at the moment I try to search for an app or click on an already installed app for details. Clearing all data from the app temporarily solves the issue for 5 minutes. The issue persists even if I have no modules installed. As soon as I deactivate or uninstall xposed framework the issue is gone. Tried the same with several trustable and stable custom Oreo roms such as Lineage, Pixel Experience, AOSP Extended etc and overall 15 different custom roms the issue persists after a clean install of OS.

Here is log: https://drive.google.com/file/d/1m-L9eWq3jWxIPwEmg_1GQksxVVGsfDZd/view?usp=drivesdk

kiranzip commented 6 years ago

What root method are you using? Magisk or?

MephistoPheles666 commented 6 years ago

Magisk of course.

immiteshk commented 6 years ago

Same problem here on oneplus 2 running aosip 8.1. playstore crashes while searching for apps and also while clicking on apps displayed on playstore homescreen.

kiranzip commented 6 years ago

Make sure your using the right version of Xposed for your device. It's a start at least

immiteshk commented 6 years ago

Using xposed 90.2 beta 3. Although we shouldn't be complaining considering it's beta. Hope to see everything working smoothly in future.

itandy commented 6 years ago

Previously I reported (#339) that latest security patches for Xperia cause Xposed to bootloop. So I had to stay in an old Oreo version. Everything seems to be stable until recently Play Store occasionally freezes the device during app update. The touchscreen is totally unresponsive. Then after about a few minutes the phone reboots itself. The failure rate is pretty high, I guess about 50%.

Later I found that if I disable Xposed (via Magisk), Play Store works fine. Unfortunately I'm unable to locate anything directly responsible for the reboot in the logcat this time. I saw errors from the process Finsky for the app update but that doesn't seem to be enough for a total system crashdown.

Anyway, I've attached the logcat here if anyone is interested to take a look.

https://pastebin.com/qH7jfXHs

Antigaprime commented 6 years ago

I can confirm the issue mentioned above (Google play crashes when searching) with the following settings:

The only difference with the reports above is that I was able to stop the crashes (for now). I am using Lucky Patcher, and it turns out that after flashing I had not installed busybox (required for LP), and right before posting the logs here, I went through them and saw some errors with LP.

I installed the busybox module found in Magisk, so that LP works properly, and all good.

By removing Lucky Patcher alltogether the crashes stopped as well.

Even though I've never seen this behavior before on Android >= 7.1 (using the exact same setup and environment (LP installed but not functional)), I'm not entirely sure this is directly an Xposed issue.

Edit: Spoke too soon, after a while it started crashing again. Log attached:

2018-09-12-16-15-33.txt

MephistoPheles666 commented 6 years ago

It IS an xposed issue. With Lucky Patcher removed the issue still persist.

nathantaal commented 6 years ago

Can you'll list the Xposed modules you are using?

Antigaprime commented 6 years ago

If you must know:

But as mentioned above, the problem has nothing to do with modules, enabled, installed, or not, bare xposed, with no modules, still makes Play Store crash.

IPutOnMyRobeAndWizardHatIRL commented 6 years ago

I can confirm the issue, I am on:

Android 8.1 Lenovo Zuk Z2 AICP 13.1 Magisk 17.1 Xposed 90.2-beta3 (Systemless or regular version, both cause the crash)

clearing data on play store temporarily helps.

YourNewuser commented 5 years ago

I am using systemless Xposed Framework 90.2-beta3 with Magisk v17.1 in a OnePlus 6 running Android 8.1. I had all modules disabled but the crash persisted. It goes away only after disabling the Xposed Framework.

Surprisingly, Play Store doesn't crash when booted into safe mode for some reason even the Xposed framework and modules remained enabled. If somebody needs logs, click here: https://pastebin.com/WVbDy9cU

C3C0 commented 5 years ago

I had various app crashes using systemless version of Xposed (Magisk module) in the past. Crashes are gone after I switched back to official Xposed framework and default method of installation. So I would suggest to anyone having such symptoms to try the same. (Device: OnePlus 3T running Oxygen OS 5.0.6 (Android 8.0))

YourNewuser commented 5 years ago

As an interim solution to this problem, the affected user can try Yalp Store (recommended by Izzy of Android Stack Exchange) which fetch new apps and installed apps' updates directly from Play Store using a disposable Google account. It may not be intuitive and flashy as Play Store, but it is solid and provides sufficient information and usability for the apps.

MephistoPheles666 commented 5 years ago

I tried Xposed anew with official (non-magisk) version after clean flash of a rom. Issue still persist.

HankAviator commented 5 years ago

Same issue, happens often, not always. Xiaomi mi 6 (sagit) LineageOS 15.1 Official Xposed Official v90 sdk27 arm64 beta3 root by addon-su (official lineageOS provided)

Cavaler commented 5 years ago

Issue still persists. Xiaomi MI6 (sagit), Official LineageOS 15.1 (many different builds). Magisk 18.1, Xposed 90-beta3.

Here is a probably interesting line from logcat: quick_exception_handler.cc:326] Check failed: callee_method_ != nullptr android.view.LayoutInflater.parseInclude [XposedOriginal]

HankAviator commented 5 years ago

By whitelisting xposed with a module for play store now it works smoothly for me.

eebssk1 commented 5 years ago

Null ptr in quick exception handle is already a known annoying issue.Pls try ArtDeoptimizer.

Biongiovi commented 5 years ago

@Mephistopheles666, I've got a simple solution to your complex problem. Just install Chrome (Dev) latest version. Head to developer options in your phone settings. Navigate to Webview Implementation and switch to Chrome (Dev). It's that simple. Happy playing with Google 😁

Cavaler commented 5 years ago

By whitelisting xposed with a module for play store now it works smoothly for me.

Sorry, but I must have missed something. Whitelisting where? Which module, for what?

HankAviator commented 5 years ago

By whitelisting xposed with a module for play store now it works smoothly for me.

Sorry, but I must have missed something. Whitelisting where? Which module, for what?

@Cavaler I was not mentioned so I missed this. I whitelisted Google Play store with this module. Play store simply works smoothly since I did this.