jail-monkey icon indicating copy to clipboard operation
jail-monkey copied to clipboard

False alarm on Samsung S8 and A7

Open unicornRainbows opened this issue 4 years ago • 9 comments

I get a false alarm that the device has been rooted when it has not been rooted..

I feel like this might be a Samsung related issue since the is another issue related to this that has not been solved. https://github.com/GantMan/jail-monkey/issues/58

Any help would be appreciated, I will give you an electronic 🍫 .. (Which you can copy paste to make as many as you would like.. hehe)

❤️

unicornRainbows avatar Oct 26 '20 14:10 unicornRainbows

It works as expected on a Samsung Galaxy A50..

unicornRainbows avatar Oct 26 '20 15:10 unicornRainbows

I think I found the solution to my problem..

I was using JailMonkey.trustFall() which checks for a rooted device as well as if location is being mocked.. Testing now just with JailMonkey.isJailBroken()

Will let you know. BTW Android devices without being rooted allow other apps to simulate the location of the device which can cause the JailMonkey checks to fail.. Why android why???

unicornRainbows avatar Oct 28 '20 14:10 unicornRainbows

any updates on this?

morelgarisi avatar Nov 18 '20 14:11 morelgarisi

This was due to Android having an app that allowed for location spoofing. The issue was on my side.. also maybe a note, make sure testers are not spooofing location and that you use the correct checks. We now only check for root detection.

Sent from my iPhone

On 18 Nov 2020, at 15:08, Morel [email protected] wrote:

 any updates on this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

unicornRainbows avatar Nov 18 '20 15:11 unicornRainbows

i only check root with JailMonkey.isJailBroken() , and there are still devices that i get true although they are not rooted (checked them with root checker - android) is there still an issue with not rooted android but simulate the location of the device? is this the cause for get JailMonkey.isJailBroken() true?

morelgarisi avatar Nov 22 '20 11:11 morelgarisi

@morelgarisi shouldn't be, no - it's only trustFall which checks both isJailBroken and canMockLocation.

There does seem to be some false positives with isJailBroken though. Any information you can provide on specific devices/cases would be helpful.

levibuzolic avatar Jan 15 '21 05:01 levibuzolic

Got Reported it on "Samsung Galaxy Note 20 Ultra 5G". Any clue or suggestion how to get around it. I might be happy to look around and contribute if you can guide around. As for device even i don't have that. Using isJailBroken only.

quantumarun avatar Jun 09 '21 18:06 quantumarun

@quantumarun If you run the sample app here: https://play.google.com/store/apps/details?id=com.scottyab.rootbeer.sample&hl=en_GB&gl=US

What does it flag as the reason for root on the Samsung Galaxy Note 20 Ultra 5g?

jordanjoecooper avatar Jun 13 '22 12:06 jordanjoecooper

@morelgarisi shouldn't be, no - it's only trustFall which checks both isJailBroken and canMockLocation.

There does seem to be some false positives with isJailBroken though. Any information you can provide on specific devices/cases would be helpful.

I am also getting this issue in one of my client device: Brand: Samsung OS: Lineageos-18 Android: 11

I have already tested that the device is not rooted(attached screenshot). Its a false alarm!!!

Please help me to get this issue resoled. Thanks in advance.

MicrosoftTeams-image (6)

RohitPatilAtShell avatar Nov 18 '22 11:11 RohitPatilAtShell