topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
46.94k stars 11.85k forks source link

sepolicy wrong status on latest canary #4098

Closed NarwanyZiomus closed 3 years ago

NarwanyZiomus commented 3 years ago

On latest version its starts showing On LSPosed that message. Screenshot_20210325-143723_LSPosed

API version 93

Framework version v1.3.4 (5501)

Manager version v1.3.4 (5501)

System version 11 (API 30)

Device Samsung SM-G996B

System ABI arm64-v8a<!--

Then i try edXposed and it show me that sepolicy is enforcing and manager start properly (edXposed start normally but after launching firefds and rebooting still say there is problem with sepolicy) Screenshot_20210325-144200_Firefds Kit  R

I reinstall riru etc and its not help. When i revert to 22005 and install again riru with LSPosed its working perfectly So i suppose is some bug on latest version Screenshot_20210325-144405

Device: SM-G996B Android version: 11 Magisk version name: 66e30a77 Magisk version code: 22006

alroy214 commented 3 years ago

API version 93

Framework version v1.3.4 (5501)

Manager version v1.3.4 (5501)

System version 11 (API 30)

Device Samsung SM-N986B

System ABI arm64-v8a

NarwanyZiomus commented 3 years ago

UPDATE!!!

SO edxposed with firefds works after swap LSPosed to edxposed then patch 22006 via magisk reboot and voila Screenshot_20210325-151736_EdXposed Manager Screenshot_20210325-151813_Firefds Kit  R

So for sure its 22006,ive restore twrp backup which was made yesterday on 22005. I swap LSPosed to edxposed to be sure. Screenshot_20210325-151340 Screenshot_20210325-151523_EdXposed Manager

Now i goin to update to 22006 via magisk app and lets see what happened with edxposed and firefds for example

alroy214 commented 3 years ago

UPDATE!!!

SO edxposed with firefds works after swap LSPosed to edxposed then patch 22006 via magisk reboot and voila Screenshot_20210325-151736_EdXposed Manager Screenshot_20210325-151813_Firefds Kit R

So for sure its 22006,ive restore twrp backup which was made yesterday on 22005. I swap LSPosed to edxposed to be sure. Screenshot_20210325-151340 Screenshot_20210325-151523_EdXposed Manager

Now i goin to update to 22006 via magisk app and lets see what happened with edxposed and firefds for example

Can you check if Xposed-Edge works? Cause the policy is not working and causes it to crash in boot

NarwanyZiomus commented 3 years ago

Nope it doesn't work ![Uploading Screenshot_20210325-161044_Xposed edge.jpg…]()

osm0sis commented 3 years ago

A Magisk Install log after 22006 is already installed shows part of the issue as well:

- Flashing new boot image
mkdir: can't create directory '/dev/T99XCO5/.magisk/mirror/sepolicy.rules/': No such file or directory
cp: can't create '/dev/T99XCO5/.magisk/mirror/sepolicy.rules/quickstepswitcher/sepolicy.rule': Path does not exist
- All done!
simplerick-simplefun commented 3 years ago

I got 22005 working fine with LSPosed, but 22006 breaks it. Same problem reported as OP, LSPosed says SEPolicy is not loaded properly. Oneplus 7Pro running android 11. Let me know if anyone needs log(and what log do you need). I have already reverted back to 22005.

Edit: After I installed 22000, My 4G on China Unicom is broken, and it stays at 3G or H+(HSPA+). My phone is dual sim and the second sim on China Telecom is fine at 4G. And I have to go to 22005, which is most stable for me. The only problem on 22005 is that when I open Douyu(斗鱼) or Huya(虎牙) app, the second sim on China Telecom drops to 2G.

Howard20181 commented 3 years ago

Same here log 20210328.zip

No-WaY-SA commented 3 years ago

Sorry I have same problem Screenshot_20210404-015034_Firefds Kit  R Screenshot_20210402-184343_LSPosed

How to solve it?

osm0sis commented 3 years ago

It's fixed in the next canary release.

No-WaY-SA commented 3 years ago

how i can get it please? I'm on 22 stable and canary channel shows only 22003

osm0sis commented 3 years ago

Update to 22003, then you'll see 22006 and can update to that, then wait for the next canary. Keyword being next.

No-WaY-SA commented 3 years ago

Thanks it fixed now

CodeWithShreyans commented 3 years ago

How do I get Canary? I am currently on 23000

osm0sis commented 3 years ago

Check the README. It's fixed in 23000 as well, however; this issue is from a year ago.