symbuzzer / systemless-hosts-KernelSU-module

Required module to use applications such as AdAway on KernelSU and APatch
GNU General Public License v3.0
346 stars 10 forks source link

The module breaks zygisk #7

Closed DJLeleX closed 9 months ago

DJLeleX commented 10 months ago

Hi, This module breaks in same way zygisk (from ZygiskNext module, that allows zygisk modules to work, eg shamiko, lsposed) See this issue: https://github.com/Dr-TSNG/ZygiskNext/issues/60

Can you please update/fix your useful module to not break zygisk?

Thanks

edit: typo correction

skvalex commented 10 months ago

@DJLeleX Can you try version v4-0.7.1 of ZygiskNext? It works for me on Pixel 8 with Shamiko/LSPosed and systemless hosts module. The latest version (0.8.1) of ZygiskNext doesn't work if this systemless hosts module is installed.

DJLeleX commented 10 months ago

Hi. I tried v4-0.7.1 and 4-0.8.0 of ZygiskNext and if your module is active sadly it doesn't work. My phone is Samsung G975F (aka Galaxy S10+) on A12 (One UI 4.1). I'm willing to test your module new updates if you want me to. Maybe you can ask @Dr-TSNG why the modules are incompatible as of now.. Thanks

skvalex commented 10 months ago

@DJLeleX I'm not the dev of this module. Just an user as you are.

symbuzzer commented 10 months ago

@DJLeleX The problem is caused by the ZygiskNext module. Because in previous updates, both modules worked together without any problems. I think you should also report this situation to the developer of the module...

DJLeleX commented 10 months ago

I tried v4-0.7.1, v4-0.8.0 and latest, they didn't work. You mentioned that in previous updates both modules worked together, do you know since which version they became incompatible?

Shamiko seems to be working fine, but lsposed doesn't work at all, unless I disable your module.

The issue I mentioned above (https://github.com/Dr-TSNG/ZygiskNext/issues/60) has already been closed, if I open a new one, it will be closed as duplicate, hence I asked here if you know how to "fix it" or if you can work out a solution, maybe with @Dr-TSNG help (?)

symbuzzer commented 10 months ago

@DJLeleX I can't find what's causing this problem. For this reason, it is not possible for me to do anything at this stage without more detailed feedback.

5ec1cff commented 10 months ago

@symbuzzer This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

symbuzzer commented 10 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

5ec1cff commented 10 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts
symbuzzer commented 10 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

DJLeleX commented 10 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

Does installing https://github.com/kdrag0n/safetynet-fix, https://github.com/Displax/safetynet-fix or https://github.com/chiteroman/PlayIntegrityFix fixes it? (All of them require zygisk working)

symbuzzer commented 10 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

Does installing https://github.com/kdrag0n/safetynet-fix, https://github.com/Displax/safetynet-fix or https://github.com/chiteroman/PlayIntegrityFix fixes it? (All of them require zygisk working)

Maybe I can release a beta package with a general solution in 1-2 days and ask it to be tested.

DJLeleX commented 9 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

Does installing https://github.com/kdrag0n/safetynet-fix, https://github.com/Displax/safetynet-fix or https://github.com/chiteroman/PlayIntegrityFix fixes it? (All of them require zygisk working)

Maybe I can release a beta package with a general solution in 1-2 days and ask it to be tested.

Sorry to bother, any news regarding the beta update to test?

symbuzzer commented 9 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

Does installing https://github.com/kdrag0n/safetynet-fix, https://github.com/Displax/safetynet-fix or https://github.com/chiteroman/PlayIntegrityFix fixes it? (All of them require zygisk working)

Maybe I can release a beta package with a general solution in 1-2 days and ask it to be tested.

Sorry to bother, any news regarding the beta update to test?

Not yet

SachinKarinki commented 9 months ago

This module has an overlayfs mounted on /system/etc which covers ZygiskNext's mount point and breaks it. Consider bind-mounting a writable file.

Thanks for your feedback. What do you suggest for it?

mount --bind /SOME_WRITABLE_AND_PERSISTENT_PLACE/hosts /system/etc/hosts

Yes, this is the standard solution. However, this solution triggers safetynet.

Does installing https://github.com/kdrag0n/safetynet-fix, https://github.com/Displax/safetynet-fix or https://github.com/chiteroman/PlayIntegrityFix fixes it? (All of them require zygisk working)

Maybe I can release a beta package with a general solution in 1-2 days and ask it to be tested.

Sorry to bother, any news regarding the beta update to test?

Not yet

I request you to please fix this module and make it work with latest zygisk, Without this module adaway is not working. This is the only thing making me to not use KernelSU

symbuzzer commented 9 months ago

@SachinKarinki I'm thinking of releasing a beta version soon. Those who want to test it can write here.

DJLeleX commented 9 months ago

I can test it.

On Wed, 29 Nov 2023, 18:35 Ali Beyaz, @.***> wrote:

@SachinKarinki https://github.com/SachinKarinki I'm thinking of releasing a beta version soon. Those who want to test it can write here.

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1832399326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ67NM6LOC4AACMXPXDYG5W73AVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSGM4TSMZSGY . You are receiving this because you were mentioned.Message ID: @.*** com>

xfwdrev commented 9 months ago

I can test it too.

symbuzzer commented 9 months ago

DOWNLOAD @DJLeleX @xfwdrev

DJLeleX commented 9 months ago

LSPosed is still not working for me with latest zygisknext stable release

On Thu, 30 Nov 2023, 11:11 Ali Beyaz, @.***> wrote:

DOWNLOAD https://github.com/symbuzzer/systemless-hosts-KernelSU-module/releases/download/v2.0.0/systemless-hosts-KernelSU-module.zip @DJLeleX https://github.com/DJLeleX @xfwdrev https://github.com/xfwdrev

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833461618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ32ANMJET6KFX4TVPDYHBLWVAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGQ3DCNRRHA . You are receiving this because you were mentioned.Message ID: @.*** com>

symbuzzer commented 9 months ago

LSPosed is still not working for me with latest zygisknext stable release On Thu, 30 Nov 2023, 11:11 Ali Beyaz, @.> wrote: DOWNLOAD https://github.com/symbuzzer/systemless-hosts-KernelSU-module/releases/download/v2.0.0/systemless-hosts-KernelSU-module.zip @DJLeleX https://github.com/DJLeleX @xfwdrev https://github.com/xfwdrev — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ32ANMJET6KFX4TVPDYHBLWVAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGQ3DCNRRHA . You are receiving this because you were mentioned.Message ID: @. com>

Is AdAway working without any problem?

DJLeleX commented 9 months ago

Adaway works fine, but zygisk doesn’t. (Like in v1.1.1 of your module)

On Thu, 30 Nov 2023 at 14:19 Ali Beyaz @.***> wrote:

LSPosed is still not working for me with latest zygisknext stable release … <#m8900680379055849125> On Thu, 30 Nov 2023, 11:11 Ali Beyaz, @.> wrote: DOWNLOAD https://github.com/symbuzzer/systemless-hosts-KernelSU-module/releases/download/v2.0.0/systemless-hosts-KernelSU-module.zip https://github.com/symbuzzer/systemless-hosts-KernelSU-module/releases/download/v2.0.0/systemless-hosts-KernelSU-module.zip @DJLeleX https://github.com/DJLeleX https://github.com/DJLeleX https://github.com/DJLeleX @xfwdrev https://github.com/xfwdrev https://github.com/xfwdrev https://github.com/xfwdrev — Reply to this email directly, view it on GitHub <#7 (comment) https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833461618>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ32ANMJET6KFX4TVPDYHBLWVAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGQ3DCNRRHA https://github.com/notifications/unsubscribe-auth/AHBIDJ32ANMJET6KFX4TVPDYHBLWVAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGQ3DCNRRHA . You are receiving this because you were mentioned.Message ID: @. com>

Is AdAway working without any problem?

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833772127, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ67L3DEQRS65VISC7LYHCBUPAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTG43TEMJSG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

xfwdrev commented 9 months ago

Works fine. Zygisk works too but will monitor if something happens with zygisk processes.

DJLeleX commented 9 months ago

@xfwdrev Did you try using LSPosed?

On Thu, 30 Nov 2023, 14:41 xfwdrev, @.***> wrote:

Works fine. Zygisk works too.

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833806016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ2FQJH5B2BXANVOE2LYHCEHVAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHAYDMMBRGY . You are receiving this because you were mentioned.Message ID: @.*** com>

symbuzzer commented 9 months ago

Can anyone give more feedback please?

xfwdrev commented 9 months ago

@DJLeleX yes I do use LSposed since my cash apps needs to be developer options hidden.

@symbuzzer the module works flawless now. Doesn't break zygisk right now for me.

DJLeleX commented 9 months ago

I found this: https://github.com/Dr-TSNG/ZygiskNext/issues/65#issuecomment-1807175930 by @5ec1cff With this version of zygisknext, both adaway and zygisk work for me. With other versions of zygisknext and your systemless host module, only adaway works.

On Thu, 30 Nov 2023 at 14:42, Ali Beyaz @.***> wrote:

Can anyone give more feedback please?

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833808708, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ75MEUKG4LTJVI3WJTYHCEOFAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHAYDQNZQHA . You are receiving this because you were mentioned.Message ID: @.*** com>

xfwdrev commented 9 months ago

@DJLeleX what ZygiskNext version do you use? I use the latest version v4-0.8.1 and it works fine

DJLeleX commented 9 months ago

I'm using Zygisk-Next-v4-0.8.1-126-3e541ec-release that you can find at the link on my previous message (github ci build from actions tab of 5ec1cff fork's of zygisknext). With this version of zygisknext both the systemless host module (even v1.1.1) and zygisk (LSPosed) works fine. Any systemless host module version (also latest 2.0.0) and all versions of zygisknext, but this build I previously linked (for example v4-0.8.1-111, which is the latest stable) make zygisk (or at least LSPosed) not work on my device (SM-G975F, Galaxy S10+).

On Thu, 30 Nov 2023 at 15:12, xfwdrev @.***> wrote:

@DJLeleX https://github.com/DJLeleX what ZygiskNext version do you use? I use the latest version v4-0.8.1 and it works fine

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833856233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ6W3NUMZKF6L7NNOP3YHCH3PAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHA2TMMRTGM . You are receiving this because you were mentioned.Message ID: @.*** com>

symbuzzer commented 9 months ago

@DJLeleX what ZygiskNext version do you use? I use the latest version v4-0.8.1 and it works fine

Thanks for your feedback. Can u test safetynet please?

xfwdrev commented 9 months ago

I am using the same version. Works fine for me.

xfwdrev commented 9 months ago

@DJLeleX what ZygiskNext version do you use? I use the latest version v4-0.8.1 and it works fine

Thanks for your feedback. Can u test safetynet please?

Safetynet works fine too. Been using Play Integrity Fix.

DJLeleX commented 9 months ago

@xfwdrev Which numbers are after v4-.0.8.1? Are you using the latest stable version?

I'm using Play Integrity Fix too, and I pass safetynet too.

On Thu, 30 Nov 2023 at 15:31, xfwdrev @.***> wrote:

I am using the same version. Works fine for me.

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833890003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ2U2E5DFR6PNIZIDRDYHCKFXAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHA4TAMBQGM . You are receiving this because you were mentioned.Message ID: @.*** com>

xfwdrev commented 9 months ago

@DJLeleX Screenshot_20231130_223640_KernelSU.jpg

DJLeleX commented 9 months ago

Welp strange. I tried this morning with that version of zygisk and it didn't work at all. I tried installing and rebooting like seven times and it didn't work out. I will try again when I get home later tonight and report back here.

On Thu, 30 Nov 2023 at 15:37, xfwdrev @.***> wrote:

@DJLeleX https://github.com/DJLeleX Screenshot_20231130_223640_KernelSU.jpg (view on web) https://github.com/symbuzzer/systemless-hosts-KernelSU-module/assets/74693315/5ce0a342-adae-4047-b83f-7afd76f8de87

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1833899924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJZCFCX2O4IEGHL4CI3YHCK2TAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTHA4TSOJSGQ . You are receiving this because you were mentioned.Message ID: @.*** com>

LordMagnos1 commented 9 months ago

"On my phone, to function properly, it's necessary to have the following modules: Zygisk-on-KernelSU-v4-0.7.1-89-release (higher versions break Safetynet CTS), Systemless-hosts-KernelSU-module v1.1.1, Safetynet-fix 13.9. While using these modules, the safetynet shows as 'passed,' but I can't open banking apps. To solve this issue, I use Shamiko-v0.7.3-174-release. However, it's incompatible with Systemless-hosts when used together, causing Adaway to stop blocking ads.Therefore, when I don't need banking apps, I deactivate Shamiko, and Adaway starts blocking ads. As for the Systemless-hosts-KernelSU-module v2.0.0, after installing it, Adaway doesn't recognize the module installation, or sometimes recognizes the installed module but doesn't block ads. I've tested versions from Zygisk-on-KernelSU-v4-0.7.1-89 up to the most recent one available.

symbuzzer commented 9 months ago

"On my phone, to function properly, it's necessary to have the following modules: Zygisk-on-KernelSU-v4-0.7.1-89-release (higher versions break Safetynet CTS), Systemless-hosts-KernelSU-module v1.1.1, Safetynet-fix 13.9. While using these modules, the safetynet shows as 'passed,' but I can't open banking apps. To solve this issue, I use Shamiko-v0.7.3-174-release. However, it's incompatible with Systemless-hosts when used together, causing Adaway to stop blocking ads.Therefore, when I don't need banking apps, I deactivate Shamiko, and Adaway starts blocking ads. As for the Systemless-hosts-KernelSU-module v2.0.0, after installing it, Adaway doesn't recognize the module installation, or sometimes recognizes the installed module but doesn't block ads. I've tested versions from Zygisk-on-KernelSU-v4-0.7.1-89 up to the most recent one available.

can you test latest 2.0.0 please?

LordMagnos1 commented 9 months ago

Screenshot_2023-12-01-16-04-41-058_me weishu kernelsu Screenshot_2023-12-01-16-05-23-340_org adaway Failed to install the new hosts file. The hosts file couldn't be copied to the system partition. Please verify if the systemless module of Magisk is enabled and restart.

EmcetPL commented 9 months ago

I have the same problem on 2.0.0, Adaway says that i dont have systemless module, on 1.1.1 works fine.

erfirya commented 9 months ago

Even when using v1.1.1, never had any problems using zygisk/lsposed. It even passes safetynet/play integrity. AdAway works fine too Screenshot_20231202-114337_AdAway Screenshot_20231202-114359_Shell Screenshot_20231202-114421_Shizuku

These are the modules I have Screenshot_20231202-114349_KernelSU Plus busybox

LordMagnos1 commented 9 months ago

@erfirya I deleted all modules to start from scratch and installed them again with the updated versions. Adaway recognized the enabled Systemless Hosts module and is blocking ads. However, the Safetynet app resulted in 'status: passed', but banking apps like PagBank, PicPay, SingPass showed root detection in a test I performed, as it doesn't require an account. Interestingly, after activating Shamiko, banking apps work normally, but Adaway, despite appearing to be activated, is unable to block ads.

EmcetPL commented 9 months ago

For me, even i delete all modules, and only install 2.0.0, dosnt work, only 1.1.1 works fine.

LordMagnos1 commented 9 months ago

@EmcetPL To work, I need to use both versions, 2.0.0 and 1.1.1, but I've encountered the issues I mentioned earlier.

erfirya commented 9 months ago

@LordMagnos1 I thought you don't need any module to hide root using kernelSU, because you only grant root to selected apps. Technically you're not rooted so I don't know why those apps detect root. I have no problem with my banking apps though

LordMagnos1 commented 9 months ago

@erfirya The problems started after installing the Systemless Hosts.

symbuzzer commented 9 months ago

Please read latest README.md

scarlettekk commented 9 months ago

Please read latest README.md

Where did you get Zygisk-Next build 126 from? The latest CI build seems to be 116

symbuzzer commented 9 months ago

Please read latest README.md

Where did you get Zygisk-Next build 126 from? The latest CI build seems to be 116

There is link on there, please look carefully

BigBrosMo commented 8 months ago

My bank app refuses to work. Above you have links to v2 of systemlesshosts beta and zygisknext -126 but both don't exist and give 404 error. Please release or enable so I can try. Thank you.

DJLeleX commented 8 months ago

just use v1.1.2 and latest zygisknext from here: https://t.me/zygisk_next_ci

On Wed, 3 Jan 2024, 06:29 BigBrosMo, @.***> wrote:

My bank app refuses to work. Above you have links to v2 of systemlesshosts beta and zygisknext -126 but both don't exist and give 404 error. Please release or enable so I can try. Thank you.

— Reply to this email directly, view it on GitHub https://github.com/symbuzzer/systemless-hosts-KernelSU-module/issues/7#issuecomment-1874868586, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJ7TID36MNVQBMBQA6DYMTUCZAVCNFSM6AAAAAA6RIJIF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUHA3DQNJYGY . You are receiving this because you were mentioned.Message ID: @.*** com>