yuanwofei / resources

0 stars 0 forks source link

No root detected using #1

Open HpNoTiQ56 opened 3 weeks ago

HpNoTiQ56 commented 3 weeks ago

Hi, I'm using your app in KSU (using susfs ) and your app can't detect root and thus can't emulate card. Other root apps works fine : could you change the root status check?

https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-5.15?ref_type=heads

yuanwofei commented 2 weeks ago

Can you record a video and send it to me to see the effect? Also, do you mean KernelSU when you say KSU? KernelSU itself requires manual granting of root permissions in the KernelSU app.

HpNoTiQ @.***> 于2024年11月7日周四 04:40写道:

Hi, I'm using your app in KSU (using susfs https://gitlab.com/simonpunk/susfs4ksu/-/tree/gki-android14-5.15?ref_type=heads ) and your app can't detect root and thus can't emulate card. Other root apps works fine : could you change the root status check?

— Reply to this email directly, view it on GitHub https://github.com/yuanwofei/resources/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZRTEEG3SM56K7BGDQ7FNLZ7J5EFAVCNFSM6AAAAABRJVVTMKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTSMJYGEYTKNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HpNoTiQ56 commented 2 weeks ago

Root permission is already added. Nothing more in logs. https://github.com/user-attachments/assets/f69c07f4-5986-4a78-9e93-22c4c44b4d14

HpNoTiQ56 commented 2 weeks ago

As a hint, I've got confirmation than root is granted to process when it asks for it : image

yuanwofei commented 2 weeks ago

Try restarting your phone or reinstalling KernalSU (should solve the problem)

HpNoTiQ @.***> 于2024年11月11日周一 06:58写道:

As a hint, I've got confirmation than root is granted to process when it asks for it : image.png (view on web) https://github.com/user-attachments/assets/a59d0039-7327-48b5-9a67-1dc8333752e2

— Reply to this email directly, view it on GitHub https://github.com/yuanwofei/resources/issues/1#issuecomment-2466975495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZRTEFWP6DZ63XHXGCFDX3Z77QJPAVCNFSM6AAAAABRJVVTMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWHE3TKNBZGU . You are receiving this because you commented.Message ID: @.***>

HpNoTiQ56 commented 2 weeks ago

Still not working I'm using sus_su enable to hide su ! image

HpNoTiQ56 commented 1 week ago

Hi, could you tell me which path do you use to check root and which path your module needs to access? I've added /vendor, /etc, /odm but no success so far. Can't even build KSU module. image

yuanwofei commented 1 week ago

Using SuperSu.rootAccess() to check root. You can check the code in the SuperSU.java file.

HpNoTiQ @.***> 于2024年11月15日周五 05:38写道:

Hi, could you tell me which path do you use to check root and which path your module needs to access? I've added /vendor, /etc, /odm but no success so far. Can't even build KSU module. image.png (view on web) https://github.com/user-attachments/assets/2668b673-4b43-4bb0-852e-5c467d626dda

— Reply to this email directly, view it on GitHub https://github.com/yuanwofei/resources/issues/1#issuecomment-2477459912, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZRTEFEEBLE4RCQWDI6SVD2AUJ4BAVCNFSM6AAAAABRJVVTMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXGQ2TSOJRGI . You are receiving this because you commented.Message ID: @.***>

HpNoTiQ56 commented 1 week ago

Hi, Where do I find this SuperSU.java? Do i need to extract your apk or find an example on GH? I've looked at superSU but it's kind of old. You don't use this libs https://github.com/topjohnwu/libsu/tree/master/core/src/main to get root? Moreover, some apps have a forceroot switch maybe it can be a way to overide susfs use?

yuanwofei commented 1 week ago

Please see the attached file

HpNoTiQ56 commented 1 week ago

You forgot the file I think