[ROOTED METHOD #1] Smali Patcher Guide for Android 6.0 to 10.0 devices

Before you begin, you must already have an Android device with one of the following setup: [-Device Setup #1-] = Android device with TWRP only

[-Device Setup #2-] = Android device with TWRP with Magisk root (OR) Android device with Magisk root only.

Youtube tutorial

With Android OS:

  • 6.0 to 9.0 will work without any issues using the latest Google Play Services.

  • 10.0 may require you to downgrade Google Play Services to an older version. A post mention from the previous guide that downgrading is not required with the latest Smali Patcher for Google Pixel and One Plus devices. Samsung Galaxy and other phones are just getting Android 10 for the first time. You might need to do the same thing.

What about Safestrap recovery?

  • I honestly do not know, but you can try it if you want. It may cause a bootloop/soft-brick.

** Guide is divided into 3 parts:**

  1. If you have Device Setup #1, you do instructions for [-Device Setup #1-], Part 2, set up your spoofing app, and then Part 3 (very important).

  2. If you have Device Setup #2, you do instructions for [-Device Setup #2-], Part 2, set up your spoofing app, and Part 3 (very important).

If you are not sure on how to meet the requirements on top, you can read: How to ROOT your Android device for Smali Patcher, Systemize, or Modified Spoofing Apps methods and BUYING guide: Click here to see link. and learn how to get started on that.

Android 10 Frequently Asked Questions:

Should I update to Android 10?

If you are a spoofing addict, you should stay on Android 9 Pie or below. If you need the latest and greatest Android 10, you should buy a 2nd device for spoofing only then update your main phone to Android 10, and then carry two phones with you. Can I downgrade from Android 10 to 9?

Maybe, but you have to look up that information to see if you can or cannot do it. Help, I am rubberbanding with Android 10! There are some additional settings you need to do in order to spoof without problems. Once I find out what they are, I will add them to this guide. You may need to use tin foil to block your GPS signal. At the time of posting this, my device just got the beta of Android 10, but I am using a Android 9 Custom Rom. I rather wait for the polished final version before I update my Custom Rom. This wait could take 6+ months.

Smali Patcher module Frequently Asked Questions:

  • Should I update Magisk root and Magisk Manager? No because updating them can break your spoof if you have no problems.

  • Do I need to create a new Smali Module after updating Magisk root, Android OS, or Custom Rom? Yes, you should use your computer to create a new Smali Module because if you use your old Smali Module, it could cause a bootloop. Always make a new TWRP backup before flashing your new Smali Module. This will save you a lot of time.

  • When do I update Magisk root and Magisk Manager? You only update them when you use other rooted required apps or modules. When PoGo apps detects them.

================================================ Always create a new backup in TWRP checking all boxes if you have not done so. If Smali Patcher fails to be flashed in TWRP or Magisk, you will get a bootloop. If you do not have TWRP, you should have your stock firmware ready.

[-Device Setup #1-] Android device with TWRP only (No Magisk root) If this one is difficult for you, I recommend you skip over to [-Device Setup #2-] flash Magisk root and will be a lot easier. Android 8.1 (and for 9.0 and 10.0, it may be the same or requires extra steps) Step 1: TWRP > Mount > System

Step 2: TWRP File Manager -> Copy /system/framework/services.jar to /sdcard/Download*

Step 3: Copy services.jar to Pc, browse on Smali for services.jar, click Patch Jar

Step 4: Extract zip module created by Smali

Step 5: Go to extracted folder, enter /system folder, copy the 'framework' folder inside to Phone Internal Storage, "/Download"

Step 6: Boot TWRP, Mount System, go to Advanced->File Manager and copy :

You can skip this step if you already flashed Dm_disabler or Dm_disabler ForceEncrypt according to Englishmansdentist, This method works on all phones, including android 9, except Google and OnePlus, because dm_disabler won't disable dm-verity correctly on dual sim slot phones; only magisk root can.

For Google Pixel series and OnePlus phones, you must flash Magisk root and use [-Device Setup #2-] instructions.

*/sdcard/Download/framework/*services.jar To /system/framework

*/sdcard/Download/framework/*arm/services.odex To /system/framework/arm

*/sdcard/Download/framework/*arm64/services.odex To /system/framework/arm64

*/sdcard/Download/framework/*oat/arm/services.odex To /system/framework/oat/arm

*/sdcard/Download/framework/*oat/arm64/services.odex To /system/framework/oat/arm64

Step 7: Still in TWRP, go to /system/framework/services.jar, click services.jar, BlueButton, CHMOD 755 (bootloop if not)

Step 8: See Spoofing app set up in [Part 2]

[-Device Setup #2-] Smali Patcher for Android 6.0 to 10.0 with Magisk root

Android device with TWRP with Magisk root.

Android device with Magisk root only.

A custom rom may not be needed if Smali Patcher can successfully create your Smali Module zip file.

If Smali Patcher fails to create a Smali Module zip file for your device, you will need to use a custom rom.

Step 1: Read the Smali Patcher thread because it has all the instructions: https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053

Step 2: Make a TWRP backup checking all boxes.

Step 3: Do the "INSTRUCTIONS (ADB METHOD/AUTOMATED - RECOMMENDED"

If it fails, do " INSTRUCTIONS (ALTERNATIVE METHOD - FOLLOW ONLY IF ADB METHOD FAILS)"

If it fails again, you need to download and install the latest Java and .net Framework (links in Smali thread)

If it fails again for the 3rd time, you try all of these:

Disable/Exit your anti-virus

Allow the Smali application into your firewall

Use a different USB port

Use a different computer

Step 4: Copy the "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip" to your phone.

Step 5: MAKE A TWRP BACKUP IF YOU HAVE NOT DONE IT EARLIER!!!

Step 6: Two ways to flash the SmaliPatcherModule:

Use Magisk Manager > Modules > + button > select your "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip" then wait 5 to 15 minutes for your device to reboot. Boot into TWRP > Flash > your "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip" then then wait 5 to 15 minutes for your device to reboot. If your phone keeps loading the brand logo, try to wait 30 minutes total. After 30 minutes, it means your phone is stuck a bootloop. Now you have to restore from your TWRP backup or flash stock firmware to start all over. There is a very small number of devices where flashing Smali Patcher in TWRP or Magisk will result in a bootloop. No matter what fix you try, it will always end up in a bootloop. This means you cannot use Smali Patcher, but you can use the alternative method: Systemized App (click here to see).

Step 7: Open Magisk Manager app > Settings > Modules > Smali Patcher should have a check mark > Reboot the phone.

Step 8: Open Magisk Manager app > Settings > click "Hide Magisk Manager" > Reboot the phone.

Step 9: Open Magisk Manager app > Magisk Hide > Tick PoGo box > Reboot the phone.

[PART 2] Set up Spoofing Apps (DO NOT SYSTEMIZE THESE APPS) Things you need to do for before you use a spoofing app. Depending on which OS you have, you may not have all the settings below you need to change.

Android 5.0 to 7.0: Set your Location to "GPS Only" or "Device Only" If you need to use Google Maps to drive around, you change this for "High accuracy" then open Google Maps and wait for the blue dot to return to your real location. Takes about 1-3 minutes. You can also restart your device. Android 8.0 to 10.0: Disable "Improve Location Accuracy" in "Google Location Accuracy" If you need to use Google Maps to drive around, you enable "Improve Location Accuracy" then open Google Maps and wait for the blue dot to return to your real location. Takes about 1-3 minutes. You can also restart your device. Turn on Location Disable Improve Accuracy for WiFi and Bluetooth checking Disable Google Location History for your email address for the game. Disable Google Location Sharing Disable Find My Device (location is off) Add your favorite spoofing app into Mock Locations in Developer options Google search "How to turn on developer options for (device name)" When prompted to enable draw on top of apps = enable it.

[Spoofing app] Fake GPS Joystick & Routes Go by IncorporateApps (one-time payment for no ads) (https://play.google.com/store/apps/details?id=com.incorporateapps.fakegps_route)

*** DO NOT SYSTEMIZE APP *** Go to 3 dots > App Settings:

Expert Mode should be greyed out.

Android 10+

Smali Patcher Mode enabled

FusedLocationApi (try enabled or disabled)

Android 9 and below

=========== No-Root Mode = unchecked

Wait Dialog No-root mode = unchecked.

Catch-A-Rex = unchecked

===========

Enable Joystick = tap to enable

Joystick Size = your choice

Joystick Transparency = your choice

Update interval = 500

GPS accuracy = 1

Move around fake location = must be disabled or you risk a Red Warning/strike

GPS Speed = 9.0 is the max I used

[PART 3] Incompatible Screen Fix Updated for March 28, 2020

Google is starting to make it much harder for Magisk to hide your root and unlocked bootloader for apps that check for system modifications. You must use the latest Magisk stable or beta. Niantic seems to be catching up pretty fast now. If the Magisk stable version does not work, you must use the beta version.

  • Always make a TWRP backup first before updating Magisk.

  • Open Magisk Manager app > Settings > Update Channel > Beta

  • You if you rubberband or get location errors, you must create a new Smali Patcher module. Always remember to do these again:

  • Open Magisk Manager app > Settings > click "Hide Magisk Manager" > Reboot the phone.

  • Open Magisk Manager app > Magisk Hide > Tick PoGo box > Reboot the phone.

  • Find the folder "Magisk Manager" inside your Internal Storage and delete it.

*Do not Delete "Magisk" folder = bootloop.

  • Find the TWRP folder inside your Internal Storage, transfer this to your PC, and delete the TWRP folder from your Android device.

*Starting from v167.1, the game detects your TWRP folder and you cannot play the game.

Posted May 18, 2020, 8:09 AM UTC · edited

5860
blablapew•

this post is kinda confusing, but thanks

24
[deleted]•

[deleted]

2
Redslayer230•

First of all. Thank you for this guide. I think im close to getting it to work.

My problem is that all starters (new alt) are on top of each other. No errors though. I think it means pogo doesnt detect my location at all (or knows im spoofing), but i cant find the step where i went wrong.

Im on a Galaxy a8 2018 (android 9) - rooted with TWRP and magisk + the smali patcher module. I checked the 'always remember' a few times and i' m on the beta channel of magisk. I also checked that all settings for 'google location services' and stuff are off.

I use the fake GPS routes and GO with the setting suggested (although no-root mode isnt available in the setting so i can't disable it). I presume thats done automaticly when root was detected.

Does anybody have the slightest idea where i went wrong?
1 thing of note: my smalipatcher was done in less than 10 seconds.. I didnt think much off it but maybe you guys do.

3
pokitomojoOPMODMain Moderator•

What exactly is the problem if there are no errors?

1
Redslayer230•

The problem is that the starters spawn under me and are not clickable. Also, the pogo map doesnt show my location, just a green field with nothing. When i use the joystick, nothing happens.

I looked for this problem and found a view threads suggesting 'location' was turned off as suggested here: https://gaming.stackexchange.com/questions/290449/why-are-pok%C3%A9mon-stacked-on-top-of-each-other-whenever-i-start. The image shown is as i see it in game.

Makes me think my spoofer isnt working correctly, but im not sure how to debug it.

1
pokitomojoOPMain Moderator•

I think it is more of a soft ban thing. You have to respect the cool downs. Try with the last position you played and interacted with the game and move from there respecting cool downs. Or your location is disabled like they suggested - enable location settings and set to only gps.

1
Redslayer230•

That cant be it, i spoofed the location less than 2 miles from my house (nearest pokestop). Left it overnight after i started the fresh account. The problems still persist. Also locations are turned on offcourse :)

I will leave it till i get of work though in 5hours and revisit this thread to give an update.

EDIT/UPDATE: I tried logging in to another alt. That showed me the real error: error 11. So, new accounts don't show that error which is nice to know.

1
Covidfefe-19•

So I have the Oneplus 8 (Android 10) without TWRP (since there's not an official version yet from this phone). I followed the device setup method 2 but I think I'm having an issue because Google Play Services is too recent, but being a new phone there's no valid version of a downgraded Play Services compatible with my phone.

When I launch the Fake GPS spoofing app I think my upgraded Play Services is responsible for these options not being available:

No-Root Mode

Wait Dialog No-root mode

Catch-A-Rex

When I ran app in game I could move around but got a location error and no pokestops or pokemon would spawn. I did try creating a new Smali Patcher module 3 times, so I don't believe that's the issue.

Anyone found an issue for this or a way to get spoofing to work on the OP8 in general?

2
pokitomojoOPMODMain Moderator•

Are you sure it wasn't a softban? Look at what I answered above.

Or else on Android 10 you don't have these settings, but you have two new settings that you have to enable smali patcher and fused location api. Try each one and see which one works best.

I updated the tutorial.

1
Covidfefe-19•

Yeah it wasn't a soft ban, I didn't spoof more than a block away, and everything worked again once I uninstalled Smali and stopped using the spoofing app.

I also tried it with Smali Patcher Mode and FusedLocationApi, but I didn't run both mods together as the app told me not to.

1
ZeykaFX•

hello, I have a device with magisk install and no twrp. I followed all the instructions carefully but I can't log in pogo "unable to authenticate". My device passes the magisk safety net check but not the safety net check from an app I downloaded to test it "Response payload validation failed". Do you guys have any idea on how to fix this? Thanks

2
pokitomojoOPMain Moderator•

Magisk manager needs to be hidden and the phone restarted, pogo needs to be hidden in Magisk manager, all the installation files have to be removed any any traces or file names related to supersu, magisk, magisk manager from the storage card removed.

2
SaxManDan01•

Did you ever solve this issue? Having the same problem

2
ZeykaFX•

Yes, but it's weird. So I tried to fix the safety test using Riru and edxposed manager, but pogo didn't work with edxposed so I deactivated the magisk module and it now works.

2
SaxManDan01•

Thank you so much! I had Riru and Edxposed activated as well, removed them and it's working perfectly now. Thanks again!

2
ZeykaFX•

Yeah no problem! Have fun!

2
OZ_Maverick•

The last comment confused me a bit. It says: "*Starting from v167.1, the game detects your TWRP folder and you cannot play the game."

So does this works anymore? Also the line below mentions following. Is that solution for this issue:

"Find the TWRP folder inside your Internal Storage, transfer this to your PC, and delete the TWRP folder from your Android device."

Thanks.

2
ISnaKerS•

Thank you for the guide. Installed everything so easily on my Mi 9T pro // Android 10

1
Fokos123•

Thank you for the thorough guide!

Just a quick question, before I get started with smali patcher. I have already installed TWRP and Magisk root, but I am not sure of which boxes I have to check in smali patcher options. Any insight on that?

1
Sinrion•

If you still need help / need to redo it someday, default should be fine, because you want the "Mock Location" Checked mainly (which is by default).

2
tetzki•

need help, redmi 5 rooted with magisk but no twrp and can't install twrp because bootloops
adb/auto method failed
and i can't do alternative method because /system/framework folder (actually even the whole root directory/folders) is not searchable through smali patcher app
what should i do?

1
realmadmartian•

Pixel 4 XL with latest stock ROM (QQ3A.200605.001)), rooted with latest stable Magisk (20.4 + 7.5.1), latest Smali patcher (0.6.7). Also using Fake GPS Joystick and Routes. Mock is set in dev options to the Fake GPS J&R app.

With FusedLocationAPI checked in the GPS app:

"Failed to detect location. (12)"

With FusedLocationAPI unchecked or with Smali Patcher Mode checked:

"GPS signal not found. (11)"

Note that while error 12 is being displayed, I can still see the map (with no stops or critters) and can still use the joystick to move on the map. With error 11 there is no movement.

Location is on. I tried wifi and bluetooth scanning both off and on. I tried Location Accuracy both off and on. All involved apps (PokemonGo, MagiskMgr, FakeGPSRoutes) have no denied permissions. Smali is enabled in Magisk. Magisk Hide enabled and Pokemon Go checked. No issues with PokemonGO detecting root. I have rebooted many times.

Any ideas how to get spoofing working on the Pixel 4 XL?

1
R-FEEN•

Hey I have not installed smali or any other spoofer yet. I have the latest magisk installed. I passed the safetynet test, used both the hide magisk options yet I get gps not found (11) error. How do I fix this?

2
realmadmartian•

Some good news - I did get this working with FGL Pro, thus the error 12 issue appears to be the fault of Fake GPS Joystick & Routes. FGL Pro is not great in this mode - it's laggy, rubberbandy, and frequently the screen freezes temporarily - but it does work. I still prefer to get Fake GPS Joystick & Routes working as it's a much smoother app, does not rubberband at all, and is ad-free since I paid for it.

1
Mxair2001•

I'm having the same problem on my OnePlus 7 Pro. It was just updated to the May 2020 Security patches. I ended up completely uninstalling Magisk and all the modules, reinstalling it, creating a new smali patch, applying it and no luck.

I also used Fake GPS Joystick, cus it worked great. I installed FGL Pro but it looks so bad lol...so i uninstalled it.

Hopefully someone way smarter than me will figure out a way around this.

1
_Ivy_•

I'm also getting this error 12 with my ancient Moto X2. The location works fine on google maps and the like and it will even render myself in-game, but the error persists and nothing in-game loads.

1
ks0n•

Thanks for the guide, I have a question about Device Setup 1 , no root.

In Step 3, do I only have to transfer the TWRP folder to my pc, then delete it? (Cause no Magisk Root) Because I still get the incompatible screen.

also just realized my Google Play Services updated itself, how can I stop that?
Got an SM-G800F, Pogo 0.173.2, the GPS spoof works in gMaps. Only need to get the game started.

1
[deleted]•

[removed]

1
HugoG7•

What is TWRP?

1
BurntTuxedo•

Team Win Recovery Project is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system which are functions often unsupported by stock recovery images.

Hope this helps

1
[deleted]•

[removed]

1
Kingtlaw•

I have some issues. I have a redmi note 7 with MiuiMix rom and Orange Fox as recovery.
When i install smali patcher the phone goes in bootloop.
How can i solve?

1
drallieiv•

I have some issues. I have a redmi note 7 with MiuiMix rom and Orange Fox as recovery.When i install smali patcher the phone goes in bootloop.How can i solve?

I got the exact same thing on my Redmi A7
Went with TWRP, smalli patcher, checked with ADB that service.jar was indeed in chmod 755. But did not fix the issue.

1
Mitorina123•

Hi, i have rooted my phone and successfully spoofed with this smali patch method. It works all fine for the spoofing. However, when i try to open pogo without spoofing with that phone, i encounter error ( GPS signal not found) .
Is this normal ?

1
coollad10•

Error: Mock location class not found.

Please help. Stuck on the Smali patcher step.

1
pokitomojoOPMain Moderator•
2
phantomweiss•

if i only do twrp+smali patcher, then on part 3 i only need to delete 'TWRP' folder from my internal storage?

1
pokitomojoOPMain Moderator•

And any other installation files you used for rooting or this process.

1
coollad10•

In device setup 1 , when I run smali to patch the jar file, I cannot select the jar file directly, I can just select the folder. Is this the right method?

Also, I get the following string of messages on smali:

"fOmey @ XDA

Patcher version: 0.0.6.7

==> Detected java: 1.7.0

==> Dumped framework

==> Processing framework

==> Detected API: 19

Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=brut/apktool/Main, offset=6

!!! ERROR: Mock location class not found."

1
coollad10•

Also I run on Android 4.4, and Magisk is available for 5+. So I cant use the magisk root method.

1
pokitomojoOPMODMain Moderator•
1
UnovaLova•

Did the setup #2 on an international Google Pixel and it worked!

THANK YOU!

1
[deleted]•

[deleted]

1