Pokemon Master's system modification protection - Android Q&A, Help & Troubleshooting

Hey, I've been playing Pokemon Masters a lot lately, and it seems that this game has some very strong "root" protection.
Well, it's not exactly root protection, but it's more something in the likes of "system modification protection", which seems to force-close the game if it detects that the device has system modifications in any way or shape. Let me explain.
My current device is a Nubia Red Magic 5G. It runs the game perfectly fine as-is. I wanted to mod my device a little, so I proceeded to install TWRP on it along with Magisk.
The problem is when I run Pokemon Masters, it runs, but seems to crash after about 9 to 10 seconds on the main menu screen.
I know this game had some root protection, so I thought Magisk was detected, so I started experimenting a little :
I enabled Magisk Hide, and it did not solve the issue.
I tried uninstalling Magisk completely using the uninstall zip, and it did not solve the issue.
I completely reinstalled the stock rom from scratch, and reinstalled the game : it ran fine.
I installed TWRP with a custom kernel (no root) : the game stopped working.
I fiddled around the system a little like running a SafetyNet test (it passed all tests), reset my parameters.img using fastboot, and other things I don't remember, and the game suddenly started working.
I let it like that for a few days, then wanted to update my custom kernel. When I did that, the game stopped working again.
I tried resetting my parameters.img through fastboot again, running a SafetyNet test (it also passed all tests), but this time it did not fix the game.
I am currently re-downloading the stock ROM, and will try reinstalling it again, which should normally fix the issue.
Anyway, it seems like the game has very agressive protection embedded in it.
Has anyone seen other games like this? Is there a general fix for this kind of issue?
Any help would be appreciated.

I guess you can't get rid off of it. Also I'm thinking that devs of Pokémon will have good reason for this.

jwoegerbauer said:
I guess you can't get rid off of it. Also I'm thinking that devs of Pokémon will have good reason for this.
Click to expand...
Click to collapse
Most games that have root protection use it to avoid cheating. This kind of protection can easily be circumvented with magisk hide most of the time. IIRC there are some games out there that do have additional protection that detects magisk even with magisk hide enabled.
But Pokémon Masters seems to take an extra mile, and completely blocks any kind of system modification whatsoever. I'm not really sure why this would be used though.

@BSoD38
FYI: An app may have these so-called root-check functions included
Code:
isRootNative
isDetectedDevKeys
isDetectedTestKeys
isFoundBusyboxBinary
isFoundDangerousProps
isFoundHooks
isFoundResetprop
isFoundSuBinary
isFoundWrongPathPermission
isFoundXposed
isNotFoundReleaseKeys
isPermissiveSelinux
isSuExists
isFoundMagisk
isFoundRootCloakingApps
to detect whether a phone's Android is tampered or not.

jwoegerbauer said:
@BSoD38
FYI: An app may have these so-called root-check functions included
Code:
isRootNative
isDetectedDevKeys
isDetectedTestKeys
isFoundBusyboxBinary
isFoundDangerousProps
isFoundHooks
isFoundResetprop
isFoundSuBinary
isFoundWrongPathPermission
isFoundXposed
isNotFoundReleaseKeys
isPermissiveSelinux
isSuExists
isFoundMagisk
isFoundRootCloakingApps
to detect whether a phone's Android is tampered or not.
Click to expand...
Click to collapse
Do you know if there's an app that make these checks and returns which ones fail? It might point me in the right direction.

Related

[Q] Kindle Fire HDX 7 Unresponsive After Rooting

First of all. Thanks for all the efforts for getting root and gapps working. I have been able to do it and was pretty happy for awhile until one day, my Kindle became unresponsive, touch delayed, sometimes not working at all. I have to lock-unlock to get it working normal again, then, it starts to slow down again and delay touches. I was wondering if this is at all related to rooting? I wanted to see who else gets this.
OlympicBilly said:
First of all. Thanks for all the efforts for getting root and gapps working. I have been able to do it and was pretty happy for awhile until one day, my Kindle became unresponsive, touch delayed, sometimes not working at all. I have to lock-unlock to get it working normal again, then, it starts to slow down again and delay touches. I was wondering if this is at all related to rooting? I wanted to see who else gets this.
Click to expand...
Click to collapse
Unlikely consequence of rooting unless you installed something that burrowed deep into you system. First steps are a virus scan (unlikely to find anything but easy to do and may provide additional clues) followed by a cleaner app / task manager to look for crud and autostarts. Might want to disable gapps (especially play services) to rule out a conflict. After that a some type of reset/restore but how that is best accomplished depends on what firmware you are on.
I assume you have a root manager such as SuperSU installed. Might want to check logs to see what you have recently permitted. Rooting doesn't cause the systoms you describe but does give you the ability screw yourself.

Second Screen Not Working

I updated to Marshmallow using the kdz and tot method, got root no issues. Phone works great, installed su, Xposed V84, again no issues. Was able to restore most of my apps via TiBu, again no issues (except a few minor ones). I'm running Nova Prime for launcher.
I have G4 Tweaks installed and running no issues. BUT, I have no second screen! It happened last night out of the blue. Not sure what is going on or why it happened. It is simply not there either when screen is on or off. I did freeze some apps via TiBu but nothing other than the standard bloat stuff.
I went back to my original, 1st backup before I modded anything and the second screen was there.
Any ideas??
Xposed breaks 2nd screen. There's a fix but I dont know what thread or how to do it since I dont used Xposed.
Just pointing you in the right direction.
Thanks, latest version does not have the issue as I understand so I don't think that's the issue
Sent from my LG-H901 using XDA-Developers mobile app
TheFuzz said:
Thanks, latest version does not have the issue as I understand so I don't think that's the issue
Sent from my LG-H901 using XDA-Developers mobile app
Click to expand...
Click to collapse
Xposed 84+ should fix any of the issues with LG software... it's been the case for me, as I currently have a fully functional device with root, Xposed, and all the while being on MM. I haven't seen anyone come across anything like your issue, so you may have to do what I just did to narrow down my issue with WiFi calling and that was to install groups of things and doing a backup in between each group until you can narrow it down. luckily you have a backup where everything was functional that you can start off on. if you do find the culprit, I'd be curious to hear what it was. for my broken WiFi calling, it happened after installing busybox.
dimm0k said:
Xposed 84+ should fix any of the issues with LG software... it's been the case for me, as I currently have a fully functional device with root, Xposed, and all the while being on MM. I haven't seen anyone come across anything like your issue, so you may have to do what I just did to narrow down my issue with WiFi calling and that was to install groups of things and doing a backup in between each group until you can narrow it down. luckily you have a backup where everything was functional that you can start off on. if you do find the culprit, I'd be curious to hear what it was. for my broken WiFi calling, it happened after installing busybox.
Click to expand...
Click to collapse
This may be a case by case scenario. Xposed 84 almost with certainty, broke my second screen and I had to flash the second screen fix in order to remedy the situation. Been working like a dream ever since.
watdafux said:
This may be a case by case scenario. Xposed 84 almost with certainty, broke my second screen and I had to flash the second screen fix in order to remedy the situation. Been working like a dream ever since.
Click to expand...
Click to collapse
Thanks guys. Yes definitely a unique experience I'm thinking. I worked my way back from my 1st backup after installing MM. Installed a bit at a time, backed up and kept going. I'm now fully where I want to be and all is well. I did not restore anything from TiBu except some of my basic app data (messaging, phone logs etc). Everything else I did a clean install from Google Play.
If I had to guess, something that I restored the first time via TiBu likely borked the second screen somehow though I really do not what or how.
My best advice to all, be patient! Go slow, install backup, install backup etc.

Adblock?

Are there any dedicated ad-blocked apps for the shield? I have youtube and spotify modded on my android phone but I don't like the experience of android on the shield, I'd rather keep the stock android for the shield.
Please halp
I don't think so. The only decent Adblocker I know of would be AdAway. Alas you have to be root to use it though, and even then it doesn't really seem to do anything on Android TV. Well the few times I tried it anyway, and rooting has other disadvantages later on when it comes to being able to updating.
It may well be a better idea to try and sideload these modded Apps you spoke of onto your Shield. Granted it might not fully work assuming the TV version isn't symbiotic with the the Phablet version. But, it could work, and if it does, it might be a simpler work'round for you.
Adguard works really well on my end,it took a bit of fiddling but I managed to get it running smoothly.
The main thing needed to prevent it from being automatically closed is to make sure to get out of the app in an unconventional way like Alt-Tab'ing out to another app that was open.
After that one time,it has stayed true to always block the most ads compared to just using an adblocking DNS and can even have custom filters!
retroben said:
Adguard works really well on my end,it took a bit of fiddling but I managed to get it running smoothly.
The main thing needed to prevent it from being automatically closed is to make sure to get out of the app in an unconventional way like Alt-Tab'ing out to another app that was open.
After that one time,it has stayed true to always block the most ads compared to just using an adblocking DNS and can even have custom filters!
Click to expand...
Click to collapse
Can you share your settings/set-up process please?!
Without root, Adguard. With root, Adaway
Adhell didn't work...tried

zenfone infected? phone virus maybe??

Hi guys I wonder if you can help me. I have had an ASUS ZENFONE 6 for a couple of years now and it has become very glitchy and erratic.
Also I can no longer install apps like Showbox, Cartoon HD and Tubemate. They will download but when I come to install them the option at the bottom has 2 boxes to click either cancel or install but install will not do anything like it is not an option.
This phone used to be fine and I ran all the above mentioned programs on it previously no problem.
I have ticked the UNKOWN SOURCES option and I have also reset to factory settings a few times which seems to make the phone work fine and responsive again but it quickly becomes glitchy again over the course of a day or 2.
I have also run mobile antivirus such as AVAST and others but they never find an issue , however I am convinced this phone is infected or something like that.
Any ideas would be greatly appreciated such as what anti virus to use that actually work.
Lansander said:
Hi guys I wonder if you can help me. I have had an ASUS ZENFONE 6 for a couple of years now and it has become very glitchy and erratic.
Also I can no longer install apps like Showbox, Cartoon HD and Tubemate. They will download but when I come to install them the option at the bottom has 2 boxes to click either cancel or install but install will not do anything like it is not an option.
This phone used to be fine and I ran all the above mentioned programs on it previously no problem.
I have ticked the UNKOWN SOURCES option and I have also reset to factory settings a few times which seems to make the phone work fine and responsive again but it quickly becomes glitchy again over the course of a day or 2.
I have also run mobile antivirus such as AVAST and others but they never find an issue , however I am convinced this phone is infected or something like that.
Any ideas would be greatly appreciated such as what anti virus to use that actually work.
Click to expand...
Click to collapse
Try downloading a apk installer app and install it by flipping the screen in landscape mode.
Augustoandro said:
Try downloading a apk installer app and install it by flipping the screen in landscape mode.
Click to expand...
Click to collapse
Thank you for that advice Augustoandro however id already thought of that and as i suspected it did not work. There is clearly something infected on this phone because as i said these apps and many others i have installed previously on this phone some of them more than once and there was never this issue before. Something must be blocking the option to install these apps disabling the install buttons
it has root access? if it has maybe thats a problem if you have a virus.try to install the stock rom again to clear the system. in case that the phone is infected and you have root access a virus can hide inside the system and get used over and over again.i will explain to you what i mean and why i suggest you to install the stock rom again even if you aren't rooted.
when you reset the phone actually what you do is to delete the user data included the apps you have install. when you install the rom is like you do a CLEAR format at windows.
See here a guy who made a decoy phone to spy anyone who stole this phone in purpose of course. well you can see the entire video if you want but i suggest you to skip to 2:40 because there he explains that i am telling you https://www.youtube.com/watch?v=NpN9NzO4Mo8 . So please try to install the stock rom again and if the problem is still there, well then i can't think anything else right now... please feedback.

Possible hacky solution to apps being aggressively killed

I say possible because the possible solution is basically disabling a system app, but this was after disabling other system apps and mucking around with settings, so it might be a combination of apps being disabled, but i dont think so
By the way, i can confirm that twrp from the here https://forum.xda-developers.com/nokia-1/development/unlocking-rooting-nokia-1-stock-rom-t3832230 works, and so does the latest magisk 17.
Twrp
Ive succesfully used the backup/install feature but havent had the courage yet to test the wipe and restore (data,system) feature, although following that ^ guide ^, looks like restore recovery/boot image works, so thats hopefully a good sign
Magisk
Following that guide, use twrp to flash, no major issues with installation.
Note, if you follow that guide and you come to the bit where the stock recovery only shows "no commands", hold press power button + up volume for a sec or two, or at least thats what i read somewhere, read somewhere else to just press these buttons continually on and off, which i did randomly, and eventually the stock recovery options appeared, dont know why this is this way
Anyways, the culprit, assuming im right barring the above reasons was........a system app called EMM or emmupdate (literately the apps name changed on my phone, i remembered it was emmupdate and now, after checking, its changed to emm, thats weird)
I used a root based logcat app
https://f-droid.org/en/packages/com.dp.logcatapp/
to try and see if there was anything to see, using a particular app i could reliably duplicate the issue with (swiping away from recents app would turn off this apps service removing its notification a couple seconds after being cleared from recents, this app being https://play.google.com/store/apps/...ite&pcampaignid=APPU_1_LUahW_D4DonSgAajx4y4Aw
Paused the logcat searched for the app, and saw a reference with this app, showing the emm app and references to "killing"
Solution
My particular solution was this app,(requires root)
https://play.google.com/store/apps/details?id=com.kunkunsoft.rootservicedisabler
(i dont think you can disable this emm app normally like some system apps, check, i could be wrong)
-in my brief researching this area, i saw discussions that you may be able to do this with adb(i dont know for sure, but might be worth looking into it yourselves, if you dont want to root, no guarantees)
The service disabler app lets you disable, well, services, and this emm app had one service attached to it called "MemoryManagerService", so maybe thats what did it, and not the disabling of the app, so i suggest that if you use this app, also disable the service as i did, for the emm app if disabling the app only, did nothing
IMPORTANT- Reboot the phone after, as thats when the change took affect for me
Ive rebooted, slept, and cleared recents and so far, multiple background apps that were continually being killed before, have NOT been killed
Hope this helps, hope it works.........silly that we have to do this
Well i did the same thing by analyazing the logcat through adb. What i found was that any app was killed after this so called emmservice in emmapp was run. After this the activity manager simple killed that app.
To check i choose emm app and turned d switch off under background apps in developer options. Also fc emm.apk. but still problem was there.
Ill check your workaround. It sounds more promising.
coolboyforeva said:
Well i did the same thing by analyazing the logcat through adb. What i found was that any app was killed after this so called emmservice in emmapp was run. After this the activity manager simple killed that app.
To check i choose emm app and turned d switch off under background apps in developer options. Also fc emm.apk. but still problem was there.
Ill check your workaround. It sounds more promising.
Click to expand...
Click to collapse
If you get the time, let us know if it works, that way anyone else with the same issue who comes across this thread at least has a way to make the phone multitask
An open source alternative to the disable services app, is an app called oandbackup on the fdroid store(like titanium backup), has a feature that lets you disable apps(requires root), aswell as backup/restore apps and their data, its very good
I just tried looking for a non root solution, but it seems that adb solution i briefly saw earlier also needs root
Besides that, like i said in my first post, it could have been the disabling of emmupdate/s service in the disable service app, so if disabling alone doesnt do it, try disabling the service aswell...........i kinda wanna know the least amount of steps to get it fixed, so if disabling did it alone, that would be worth knowing
Gd luck
Spoke to soon, seems like there might be a way to use adb without root to disable system apps https://www.androidpit.com/uninstall-system-apps-without-root, whether it works on oreo i dont know.
The article solution implies the this will uninstall the apps, but apparently, according to a commenter in that article, it deletes a part of the app in a certain place in android that essentially just disables it, if you did a factory reset, the app would return
If it works, at least users wont have to go through the trouble or risk of mistake in flashing twrp/root or any other modifications to fix it, assuming just disabling emm....... works.
banderos101 said:
If you get the time, let us know if it works, that way anyone else with the same issue who comes across this thread at least has a way to make the phone multitask
An open source alternative to the disable services app, is an app called oandbackup on the fdroid store(like titanium backup), has a feature that lets you disable apps(requires root), aswell as backup/restore apps and their data, its very good
I just tried looking for a non root solution, but it seems that adb solution i briefly saw earlier also needs root
Besides that, like i said in my first post, it could have been the disabling of emmupdate/s service in the disable service app, so if disabling alone doesnt do it, try disabling the service aswell...........i kinda wanna know the least amount of steps to get it fixed, so if disabling did it alone, that would be worth knowing
Gd luck
Spoke to soon, seems like there might be a way to use adb without root to disable system apps https://www.androidpit.com/uninstall-system-apps-without-root, whether it works on oreo i dont know.
The article solution implies the this will uninstall the apps, but apparently, according to a commenter in that article, it deletes a part of the app in a certain place in android that essentially just disables it, if you did a factory reset, the app would return
If it works, at least users wont have to go through the trouble or risk of mistake in flashing twrp/root or any other modifications to fix it, assuming just disabling emm....... works.
Click to expand...
Click to collapse
I tried. I can confirm the root method works. However, i also did the adb method. The adb too works. Apps are not killed by android now. No need to unlock bootloader, root or twrp. It just executing 2 commands
Code:
adb shell pm clear com.evenwell.emm
adb shell pm uninstall -k --user 0 com.evenwell.emm
And then reboot.
This clears the app data and disables the app for current user.
And, moreover it survives ota updates too. !!
Only thing to keep in mind is that if you factory reset, you have to re execute above 2 adb commands.
So now all sorted. Just a matter of executing 2 commands.
coolboyforeva said:
I tried. I can confirm the root method works. However, i also did the adb method. The adb too works. Apps are not killed by android now. No need to unlock bootloader, root or twrp. It just executing 2 commands
Code:
adb shell pm clear com.evenwell.emm
adb shell pm uninstall -k --user 0 com.evenwell.emm
And then reboot.
This clears the app data and disables the app for current user.
And, moreover it survives ota updates too. !!
Only thing to keep in mind is that if you factory reset, you have to re execute above 2 adb commands.
So now all sorted. Just a matter of executing 2 commands.
Click to expand...
Click to collapse
Very nice, now we know a solution
There you go folks, thanks to coolboyforeva's info, work, testing, and confirmation, anyone who comes across this annoying issue now has a non root solution to fix it, two adb commands.............not to bad, not to bad at all
Cheers CBF, for finding the specific adb commands, and the helpful info, hope it was'nt to much of a bother...........doing gods work pal
can confirm that the adb method works and can easily multitask now... thanks guys... no force closures of app now.....
Any you guys noticing a delay after reboot for your user apps to start, or just me.
Edit: even during operation(comes and goes), example app = Tasker
Edit2: mmmm, i have a suspicion it might be something to do with gaining root from magisk. Magisk has a few settings that changes how this works, so i might mess around with that first and see what happens. Might also just be tasker/oreo incompatibilities, or perhaps conflicting tasks
Probably gonna look into it, ill post here if i find anything, unless someone beats me to the punch, suspect its one of the manufactor's sytem "optimizing" apps..........
Was hoping we'd be swimming in custom roms, seing as our device SEEMS to be treble compatible and so cheap, a nice bloat free working lineage as daily driver..........guess ill have to stream line stock as much as possible until that day hopefully comes
banderos101 said:
Any you guys noticing a delay after reboot for your user apps to start, or just me.
Edit: even during operation(comes and goes), example app = Tasker
Edit2: mmmm, i have a suspicion it might be something to do with gaining root from magisk. Magisk has a few settings that changes how this works, so i might mess around with that first and see what happens. Might also just be tasker/oreo incompatibilities, or perhaps conflicting tasks
Probably gonna look into it, ill post here if i find anything, unless someone beats me to the punch, suspect its one of the manufactor's sytem "optimizing" apps..........
Was hoping we'd be swimming in custom roms, seing as our device SEEMS to be treble compatible and so cheap, a nice bloat free working lineage as daily driver..........guess ill have to stream line stock as much as possible until that day hopefully comes
Click to expand...
Click to collapse
Yes there is delay. Bt i think it would be there. Initially when apps were killed u had enough ram to quickly process any app. But now since apps reside, android ram management has to manage. And that delay in app starting maybe coz be hardware. Its a low grade mediatek chipset. I dont expect it to be quick. (Atleast it auto start apps after delay). But yes if you could find some clue to optimize , that would be good.
Meanwhile i am looking for a pie rom. treble rom works on our nokia 1. I flashed phh treble pie gsi. It boots normal. Only thing is you dont get notified of incoming calls, no rings. Outgoing calls work normal though. So it cant be used.
Link for rom : https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
If this issue is resolved we could have a ready pie rom too.
coolboyforeva said:
Yes there is delay. Bt i think it would be there. Initially when apps were killed u had enough ram to quickly process any app. But now since apps reside, android ram management has to manage. And that delay in app starting maybe coz be hardware. Its a low grade mediatek chipset. I dont expect it to be quick. (Atleast it auto start apps after delay). But yes if you could find some clue to optimize , that would be good.
Meanwhile i am looking for a pie rom. treble rom works on our nokia 1. I flashed phh treble pie gsi. It boots normal. Only thing is you dont get notified of incoming calls, no rings. Outgoing calls work normal though. So it cant be used.
Link for rom : https://forum.xda-developers.com/pr...vice-development/aosp-9-0-phh-treble-t3831915
If this issue is resolved we could have a ready pie rom too.
Click to expand...
Click to collapse
Cheers buddy, nice to know these things, good to know that theres already an initial treble rom.
Gonna wait for incoming call ring support, might give it a couple of months actually, before trying out any rom that might come along, let the bugs get settled if any, assuming were lucky enough to get a maintainer
Edit
Commenting about the slow response time of user apps, normally i'd agree with you on the outdated hardware, but either the rom is very streamlined or the hardware is not so bad, as the phone is surprisingly snappy when its not stalling, which leads me to believe its a system app/service........ive had slow devices, and usually, everything is slow all the time, either because outdated hardware or heavy rom, so hopefully its a system app
Adb method works well here, tanks a lot. No UB, no root.
I'll be trying the ADB method when have enough charge as had to take Nokia 2.1 back and for that device having a Snapdragon I can confirm that this Nokia 1 is quicker by a mile
I done the adb method and it's worked!!!
thank you guys for this hack. multi-tasking is finally working and alot of overlays and apps are now working without closing.
I'll share with you something i found to make this phone really fast: in developer mode disable animations from x1 to OFF. Then turn ON gpu for 2d drawings. And reboot.
Now it will be buttery smooth!!

Categories

Resources