Giter VIP home page Giter VIP logo

Comments (9)

darvincisec avatar darvincisec commented on June 18, 2024

@charbelmkh , Is it tested with the latest code ? If there are logs, can you share?
Also lwhat exactly is the toast msg you get?

from detectmagiskhide.

charbelmkh avatar charbelmkh commented on June 18, 2024

Hello @darvincisec,
Yes I'm using the latest code,
it seems to be working when compile with api level 29 but when I changed to api level 30 with hide it does't seems to be working.
I have a pixel phone rooted with android 11
and the toast message that I'm getting is "Magisk Not Found" (again this is when I compile with api level 30 and hide root ).

magisk.log

from detectmagiskhide.

darvincisec avatar darvincisec commented on June 18, 2024

I compiled with api level 30, added more logs and generated an apk. Can you check with the apk pushed into the repo ? What version of Magisk are you using?

from detectmagiskhide.

charbelmkh avatar charbelmkh commented on June 18, 2024

The uploaded APK is release (can't find any logs),
I have updated the code and build it. same behaviour as before.
below are some logs (with and without hide).
WITH_HIDE.log
WIHTOUT_HIDE.log
image

from detectmagiskhide.

yogiou avatar yogiou commented on June 18, 2024

Seems only not working if set the targetSdkVersion to 30, not related to the compileSdkVersion.

from detectmagiskhide.

charbelmkh avatar charbelmkh commented on June 18, 2024

I just tried it, yes it seems when changing the targetSdkVersion to 30.
it's a bit weird thought.

from detectmagiskhide.

yogiou avatar yogiou commented on June 18, 2024

Maybe means that it is Android 11's behavior as it will run the compatibility mode in Android 11 if not specifying the targetSdkVersion to 30.

from detectmagiskhide.

barkatthemoon18 avatar barkatthemoon18 commented on June 18, 2024

It's a little bit late, but for Android 11 cases the Magisk Hide detection through mounts aren't present over /sbin folder. Maybe that's the reason why it can't be detected. Instead, by reading /proc/.../mounts, you should aim to look for any trace of magisk instead of looking specific paths.
When no Magisk Hide is enabled, the symlink su binary is present on /system/bin, but its default place is on /dev folder which host another folder inside with a random name and fully root access (it isn't allowed to access, neither adb shell can reach).

from detectmagiskhide.

darvincisec avatar darvincisec commented on June 18, 2024

Fixed it in the latest changeset

from detectmagiskhide.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.