PerformanC / ReZygisk

Standalone implementation of Zygisk but better.
GNU General Public License v3.0
76 stars 6 forks source link

[BUG]: Shamiko not work #5

Closed ammlr closed 5 days ago

ammlr commented 1 week ago

Version

ReZygisk-v1.0.0-205

Description

great work. I use magisk alpha, when installing rezygisk Shamiko it doesn't work. "unsupported environment"

please fix

Steps to reproduce

flash, install, reboot, shamiko not work

Confirmations

Code of Conduct

ThePedroo commented 1 week ago

It is known that Shamiko doesn't work with ReZygisk, however, due to the nature of Shamiko being closed source, this makes near impossible to make it compatible as we don't know what it is missing. I believe the same happens with the last FOSS release of Zygisk Next, as we didn't introduce (major) regressions into the code base, but I'll be looking into it.

EDIT: You may want to look at Zygisk Assistant, a FOSS Zygisk hider.

ammlr commented 1 week ago

zygisk assistant doesn't completely hide zygisk. and very easy to detect

ThePedroo commented 1 week ago

Sadly the first statement is true, but it is also true for Shamiko as well. I didn't find any app yet where Zygisk Assistant fails, but for the time being, you either can use 1.0.6 Zygisk Next + Shamiko or ReZygisk + Zygisk Assistant (if you're using LSPosed, it also is often detected)

ThePedroo commented 1 week ago

Shamiko seems to be verifying the signature hash of the Zygisk module, I don't think we can bypass that without being forced to reverse-engineer it.

Using builds from Zygisk Next, the last FOSS release, v4-0.9.1.1, works, but when building it locally, it displays the error message.

RinLin-NYA commented 1 week ago

The same issue is appeared on APatch. To this question, we often choose not to use shamiko, just like our documents said,

We can not support Shamiko due to its proprietary and no updates.

ThePedroo commented 1 week ago

Sad to hear that. However, there's a PR (Thanks Reveny for the original PR!) with maps hiding which highly improves the ability of ReZygisk to hide. Now you can inject anything on Momo without it detecting, however more sophisticated apps like Native Test and Native Detector still detect it, however most apps will pass.

You can still use Zygisk Assistant or 0.7.5 Shamiko (which you won't want to use as it would defeat the purpose of using ReZygisk which is using a FOSS module) if any app fails, but I recommend to use the least amount of modules possible.

QPLAYid commented 3 days ago

Sad to hear that. However, there's a PR (Thanks Reveny for the original PR!) with maps hiding which highly improves the ability of ReZygisk to hide. Now you can inject anything on Momo without it detecting, however more sophisticated apps like Native Test and Native Detector still detect it, however most apps will pass.

  • PRs for better hiding will be accepted :)

You can still use Zygisk Assistant or 0.7.5 Shamiko (which you won't want to use as it would defeat the purpose of using ReZygisk which is using a FOSS module) if any app fails, but I recommend to use the least amount of modules possible.

Shamiko on new version can hide xposed / module and better hiding root (example liapp ,bank app etc)

ThePedroo commented 2 days ago

There's nothing we can do from our side, the best try is to use better forks of LSPosed in that case. That limitation is purely intentional from their side.