rovo89 / Xposed

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

Both v88.2 & v89 work on MIUI 9.1 (sdk25) but not on MIUI 9.2 (sdk25) #303

Open dreamscaperia opened 6 years ago

dreamscaperia commented 6 years ago

Mainly tested on Xiaomi Mi Note 3, with MIUI 9.1.4.0 & MIUI 9.2.1.0. When tested on MIUI 9.2, the phone got stuck on bootlogo. Seems like the new security patch level of 2017-11-01 interfered with xposed?

rovo89 commented 6 years ago

Please post logs: https://github.com/rovo89/XposedBridge/wiki/Bugs#how-can-i-get-logs

dreamscaperia commented 6 years ago

Hi, It took me some time to get the logs. After restarting my phone, it took nearly half an hour to be detected via USB. Amazingly, though stuck on the bootlogo, the adb interface can still be detected after a century. Here is the log file: https://drive.google.com/file/d/1kULkx2NkzapBh63z5l4grHGrYmW_EKDN

GreatApo commented 6 years ago

On Xiaomi Redmi Note 3 (MIUI 9 dev 7.12.24) all latest xposed versions (for Marshmallow) didn't work too, through Magisk. Maybe its a similar problem... Sorry for not providing a log.

dreamscaperia commented 6 years ago

I noticed big changes in audio framework and servicemanager in latest MIUI Stable. And lots of output of servicemanager about media services' exception were discovered, which were like below:

01-04 00:45:14.761 I/ServiceManager( 697): service 'user.xposed.system' died 01-04 00:45:14.763 I/ServiceManager( 697): service 'netd' died 01-04 00:45:14.764 I/ServiceManager( 697): service 'media.player' died 01-04 00:45:14.764 I/ServiceManager( 697): service 'media.resource_manager' died 01-04 00:45:14.764 I/ServiceManager( 697): service 'user.xposed.app' died 01-04 00:45:14.769 I/ServiceManager( 697): service 'android.hardware.fingerprint.IFingerprintDaemon' died 01-04 00:45:14.771 I/ServiceManager( 697): service 'DisplayFeatureControl' died 01-04 00:45:14.779 I/ServiceManager( 697): service 'media.sound_trigger_hw' died 01-04 00:45:14.779 I/ServiceManager( 697): service 'media.radio' died 01-04 00:45:14.779 I/ServiceManager( 697): service 'media.audio_flinger' died 01-04 00:45:14.779 I/ServiceManager( 697): service 'media.audio_policy' died 01-04 00:45:14.783 I/ServiceManager( 697): service 'media.camera' died

And I also noticed a very funny feature introduced in the Latest MIUI 9.2 stable: when headset was unplugged and speaker is used for playback, it's not only the speaker but also the receiver (the speaker on top of the phone) that will make sound. They work synchronously to produce stereo sound. I don't know if these are linked to the compatibility of Xposed?

xianzhi001 commented 6 years ago

you can close 资源钩子

dreamscaperia commented 6 years ago

@xianzhi001 wow you're 棒棒哒. Now it works. But I'm still looking forward to the adaptation because the resource hook is important for MIUI.