rovo89 / XposedBridge

The Java part of the Xposed framework.
3.88k stars 1.1k forks source link

MIUI 9 Nougat #198

Open PsyMan47 opened 6 years ago

PsyMan47 commented 6 years ago

You are on the good way to fix the MIUI incompatibility. The log now shows just a few errors! Xposed installer shows "Installed but not active". Info: Xiaomi Mi Note 2 - scorpio MultiRom 7.9.21, 7.0 (deodexed) Xposed v88.1 Tried to disable resources from xposed installer, but the log shows exactly the same errors. Full log here:

xposed_error_20171011_014135.log

yujincheng08 commented 6 years ago

xposed_error_20171018_101452.log error_20171018095934.log MI6 bootloops. Here's the log. :)

fanmengloo commented 6 years ago

@rovo89 I found that mi 6 can work normally with 88.2 test 4 and the system version is miui 8.5-eu(deodex).

Reflex89 commented 6 years ago

xiaomi mix 2 liveboot xiaomi mix 2 miui 9 cn (deodex)10.12 88.2 test4

romanvik commented 6 years ago

88.2 Beta-4 "seems" to work on MIUIos.CZ 9 v 7.10.14, Redmi Note 4x, but modules are not loaded even application claims they are loaded.. Installation in recovery without error


taking back, using wrong version of app. Version 3.1.2 is OK!

fking22 commented 6 years ago

@rovo89 MI 6,stuck on booting, keep running more than 15 mins. ROM: official MIUI 9 Global 7.10.22 (Android 7.1.1), just root by SuperSU, no other modifications. Xposed: xposed-v88.2-sdk25-arm64-test4 Here's the log via adb: logcat-20171018.zip

rovo89 commented 6 years ago

@fking22 Thanks! Could you please upload your /system/framework/arm/boot-framework.oat (or even better, the whole folder)? This is the error:

10-18 16:28:24.645 F/DEBUG   ( 9130): Build fingerprint: 'Xiaomi/sagit/sagit:7.1.1/NMF26X/7.10.12:user/release-keys'
10-18 16:28:24.645 F/DEBUG   ( 9130): Revision: '0'
10-18 16:28:24.645 F/DEBUG   ( 9130): ABI: 'arm'
10-18 16:28:24.645 F/DEBUG   ( 9130): pid: 8520, tid: 8520, name: main  >>> zygote <<<
10-18 16:28:24.646 F/DEBUG   ( 9130): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x17
10-18 16:28:24.646 F/DEBUG   ( 9130):     r0 00000000  r1 12c1d400  r2 4b075000  r3 00000000
10-18 16:28:24.646 F/DEBUG   ( 9130):     r4 00000042  r5 00000003  r6 c22be000  r7 00000000
10-18 16:28:24.646 F/DEBUG   ( 9130):     r8 12c1d400  r9 eb805400  sl 4b075000  fp 12ccfbb0
10-18 16:28:24.646 F/DEBUG   ( 9130):     ip 00000000  sp ffe86740  lr 73cf1ed7  pc 73cf1efc  cpsr 600e0030
10-18 16:28:25.057 F/DEBUG   ( 9130): 
10-18 16:28:25.057 F/DEBUG   ( 9130): backtrace:
10-18 16:28:25.057 F/DEBUG   ( 9130):     #00 pc 01dbdefc  /system/framework/arm/boot-framework.oat (offset 0x1a94000) (android.content.res.MiuiTypedArray.getString+95)
10-18 16:28:25.057 F/DEBUG   ( 9130):     #01 pc 000aac65  /system/lib/libart.so (art_quick_check_cast+4)
10-18 16:28:25.057 F/DEBUG   ( 9130):     #02 pc 000aa843  /system/lib/libart.so (art_quick_invoke_super_trampoline_with_access_check+34)
10-18 16:28:25.057 F/DEBUG   ( 9130):     #03 pc 00064549  /data/dalvik-cache/arm/system@framework@XposedBridge.jar@classes.dex (offset 0x61000)
fking22 commented 6 years ago

@rovo89 Here you are: framework/arm Thanks for your concerns.

romanvik commented 6 years ago

MIUIos.CZ 9 v 7.10.14 Android 7.0, Redmi Note 4x, 88.2 beta-4 xposed: obtaining from time to time random FC of phone app or other apps (2 within 6 hours). Before installation of Xposed were none.. Additional launch of those FC apps performed OK

ZXXMMM commented 6 years ago

@romanvik you may replace another xposed installer app

gcjmail commented 6 years ago

Thanks you, it finally works. Mi4S official MIUI 9 chinese version 7.10.18 (Android 7.0),
Xposed v88.2-sdk24-test4

ghost commented 6 years ago

waiting for mi 6 ,v88.3 lol

lhc489773346 commented 6 years ago

beta-4 mi6 Disable resource hooks is ok

Hmmzzz commented 6 years ago

mix2 after disabling resource hook in xposed installer then install test4 wouldn't get into bootloop.

jusan1991 commented 6 years ago

beta-4 mi6 Disable resource hooks is ok

thp1997 commented 6 years ago

Working on Redmi Note 4 with MiUi 9 7.10.17 ( odexed )

screenshot_2017-10-19-00-02-44-295_de robv android xposed installer

till test3 build of xposed it was going to bootloop but as from test4 its working.

Thanks and Keep it up. @rovo89

fking22 commented 6 years ago

Like @Yuankaijun said, beta-4 with Disable resource hooks can bootup on official MIUI 9 Global 7.10.22 (Android 7.1.1). Modules compatibility needs to be tested.

thp1997 commented 6 years ago

@fking22 Modules are working fine on RN4 with 7.0 ( MiUi 9 - 7.10.17 Global ). ☺️

Theliel commented 6 years ago

confirm, test4 work fine on mi6, but with resource hooking disabled, bootloop if enabled, so some modules dont work after all

tvladan commented 6 years ago

Works on mi5 7.0 miui 9! Thank you! screenshot_2017-10-19-10-17-30-532_de robv android xposed installer screenshot_2017-10-19-10-18-20-379_com android settings

Also latest amplify works out of the box. No changes in selinux policy required, not installed as sys app

iChinxu commented 6 years ago

It seems that test4 works well on SDK24, but a little problem with SDK25. Thanks in all

chenhaiyang commented 6 years ago

First of all thank ROVO89 xposed for all of us, the current version of MIUI9 Chinese Qualcomm snapdragon 835 processor models are based on a little bit of BUG, such as MI6&MIX2, but the 88.2test4 version of the hook in installer disable resource to boot, some modules can be used, I hope ROVO89 can solve this problem as soon as possible, thank you again

Botreechan commented 6 years ago

Do not worry,please give rovo89 some time to fix these bugs.

jwchips commented 6 years ago

screenshot_2017-10-19-17-35-20-819_de robv android xposed installer Thanks rovo89! Working great on redmi 4x =)

zhongjun96 commented 6 years ago

Mi6 MIUI9 7.10.12 odexed tim 20171020104207

NannuSiddik commented 6 years ago

@zhongjun96 resource hook is disabled right?

zhongjun96 commented 6 years ago

@NannuSiddik yes ,resource hook is disabled right。

Crescendo-BLYAT commented 6 years ago

I think its better to test using OFFICIAL BETA / STABLE ROM, not some custom rom like xiaomi.eu, miuipro,globemiui, etc you name it as it'll speed up the fixing process...

Coz who knows what get changed in those custom roms.... Better to get it fixed for the base offical ROM first and the custom ROM makers can adapt it to their own...

ghost commented 6 years ago

MIUI9 development version update to 7.10.19

Ezalor commented 6 years ago

@CrescendoFang Couldn't agree more!

chenhaiyang commented 6 years ago

What I want to say is the XPosed framework, running the Chinese version of MIUI on the 6 meter of Qualcomm 835 processor. If you don't disable the resource hook, you can't start and can't boot.

wang111444 commented 6 years ago

xposed frame test4 in the mi6, the Chinese version of the MIUI disable the resource hook to start normally, disable the resource hook will lead to some modules can not work properly, hope rovo89 can take the time to solve

Botreechan commented 6 years ago

@chenhaiyang Yes,it is.Maybe it is the last bug at present.

chenhaiyang commented 6 years ago

@Botreechanyes it is

chenhaiyang commented 6 years ago

@botreechan yes it is If ROVO89 can be repaired as soon as possible, it will be perfect

fanmengloo commented 6 years ago

@rovo89 we want to know does the bug(Mi6 must Disable the resource hook )will be fixed? and if you are fixing it,could you tell me how to get the log for you? i mean that how to get the log when my Mi6 is stuck in the logo screen,thanks.

jusan1991 commented 6 years ago

Patiently waiting

wang111444 commented 6 years ago

@rovo89 When will repair the MI6 must disable the resource hook to start the BUG?

rovo89 commented 6 years ago

It's incredible how many irrelevant and repeating comments there are in this issue. I'm generally working in it, but was busy with non-technical things the past few days. I have an idea how to fix the crash that was posted here many times, however it could take a few more days until I have the time to try them out.

rovo89 commented 6 years ago

This might fix the bootloop on odexed ROMs: https://www.dropbox.com/s/krotaen0mx53swg/xposed-v88.2-sdk24-arm64-test5.zip?dl=0 https://www.dropbox.com/s/djnlycyjtk8hpnh/xposed-v88.2-sdk25-arm64-test5.zip?dl=0

It would still need a bit of polishing before I can release this (does too much currently), but I want to know whether it goes into the right direction. Please test, post a logcat if it still doesn't work. One or two confirmations/bug reports are enough.

mirfatif commented 6 years ago

@rovo89 sir I just signed up for github to say you thanks. Your services deserve salute

hankieee commented 6 years ago

I stuck in the booting page for over 5 mins and seems that it doesnt work without banning resource hook. MIUI Ver. 7.10.19 (develop) check this out & hope it help 10-24 07:24:11.259 I/Xposed ( 1962): -----------------10-24 07:24:11.259 I/Xposed ( 1962): Starting Xposed version 88.2-test5, compiled for SDK 2510-24 07:24:11.259 I/Xposed ( 1962): Device: MI 6 (Xiaomi), Android version 7.1.1 (SDK 25)10-24 07:24:11.259 I/Xposed ( 1962): ROM: NMF26X10-24 07:24:11.259 I/Xposed ( 1962): Build fingerprint: Xiaomi/sagit/sagit:7.1.1/NMF26X/7.10.19:user/release-keys10-24 07:24:11.259 I/Xposed ( 1962): Platform: arm64-v8a, 64-bit binary, system server: yes10-24 07:24:11.259 I/Xposed ( 1962): SELinux enabled: yes, enforcing: yes10-24 07:24:12.280 I/Xposed ( 1962): -----------------10-24 07:24:12.280 I/Xposed ( 1962): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH

wang111444 commented 6 years ago

@rovo89 Mi6 Chinese version of the miui still need to disable the resource hook can be normal start, is the separation of odex rom

Ezalor commented 6 years ago

My device (Xiaomi 6, with miui 9 alpha version) still bootloop. This time I wait for about 20 minutes, and liveboot log here: liveboot-20171024.zip

jusan1991 commented 6 years ago

MI6 bootloops. This time I wait for about 20 minutes. xposed_error_20171024_080124.log

Crescendo-BLYAT commented 6 years ago

@rovo89 bro, if you already fixed all the problem for N based ROM, could you please also include your fix to Xposed v88 for MIUI sdk23 (MM)?

Coz the current working one is still v87 modded by SolarWarez.

Thank you so much.

rovo89 commented 6 years ago

Thanks! You can stop commenting now, I need to analyze what's there first.

F/DEBUG   (21811): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
F/DEBUG   (21811): Build fingerprint: 'Xiaomi/sagit/sagit:7.1.1/NMF26X/7.10.23:user/release-keys'
F/DEBUG   (21811): Revision: '0'
F/DEBUG   (21811): ABI: 'arm'
F/DEBUG   (21811): pid: 21033, tid: 21033, name: main  >>> zygote <<<
F/DEBUG   (21811): signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x7559649c
F/DEBUG   (21811):     r0 12c24270  r1 12c1d400  r2 12c24270  r3 00000000
F/DEBUG   (21811):     r4 e43beae0  r5 12c20940  r6 00000003  r7 e43beae0
F/DEBUG   (21811):     r8 00000009  r9 ebb85400  sl 00000000  fp 12ddf8e0
F/DEBUG   (21811):     ip 00000000  sp ffb1ae20  lr eb72fc69  pc 754cacd0  cpsr 20070030
F/DEBUG   (21811): 
F/DEBUG   (21811): backtrace:
F/DEBUG   (21811):     #00 pc 01e59cd0  /system/framework/arm/boot-framework.oat (offset 0x1b30000)
F/DEBUG   (21811):     #01 pc 000aac65  /system/lib/libart.so (art_quick_check_cast+4)
F/DEBUG   (21811):     #02 pc 00000000  <unknown>

@Ezalor Could you please also upload your /system/framework/arm/boot-framework.oat?

wang111444 commented 6 years ago

boot-framework.zip @rovo89 Hello, I am also xiaomi 6 users, the Chinese version of miui, 7.10.19 development version, I hope this document can help you

Hmmzzz commented 6 years ago

boot-framework.oat.zip Mix2 ,same bootloop issue like mi6

rovo89 commented 6 years ago

Thanks, but I really need the exact same file from the crash above, i.e. from: Xiaomi/sagit/sagit:7.1.1/NMF26X/7.10.23:user/release-keys

Ezalor commented 6 years ago

boot-framework.zip Here is the file. Thanks!