yashsingh1/xdaforums huggingface dataset:
[Magisk] armeliiito:
Smali patcher + Play services 19.8.26 + indirect mocking + Android 10, no rubberbanding here and spoofing work fine.
[Magisk] Johnny Eng:
I tested Mock location patch with latest Google play services.

So far working flawlessly.
[Magisk] Hirs_E_Fruit:
Xiaomi RedMi Note 4 (Mido)

Android 10

Google Play Services 19.4.55/19.6.29

smali patcher v0.0.6.5

I only get error 11 in Pokemon Go

Tried the normal spoofing way and indirect mocking
[Magisk] armeliiito:
6.3 work with the latest Play services without indirect mock location ?
[Magisk] rling:
Newer phones, eg my Xiaomi K20 Pro, are very quick to pick up satellites. Within 2-3 secs, it would see over two dozen (uses both US and Russian satellites) and get a fix on position with over 10 satellites. Tin foil does not work. Had to downgrade to Android 9 to keep Smali patcher working.
[Magisk] People11:
could add patch to allow system to install an older version app？
[Magisk] amg314:
You do not need Smali Patcher to downgrade your app in Android.

There are common methods to go back to an older version of an app, e.g.: https://www.androidpolice.com/2019/11/20/go-back-older-version-app-android/
[Magisk] Johnny Eng:
Yess without!!
[Magisk] Hirs_E_Fruit:
Delete Post please
[Magisk] armeliiito:
WOAW!! Can you give me a link for 6.3 zip. Cant find older one please.
[Magisk] Hirs_E_Fruit:
which phone do you use?

Can you please just type your whole setup here cause i cant get it to work !
[Magisk] FloFloFlow:
Too bad we can't access to old versions...
[Magisk] Johnny Eng:
I will upload tomorrow ok?
[Magisk] Hirs_E_Fruit:
https://drive.google.com/drive/folders/16dMejb2knHRo-DHq6OFXWuCaofPgi1G6
[Magisk] bymisi:
great work

thank you.

magisc module is working fine on redmi note7

drm protection screenshot

(9 Mi)
[Magisk] ajolly:
[MENTION=1620550]fOmey[/MENTION] Are you open to adding new patches to your tool?

I've wrote a small one that patches out the MAX_PACKAGE_NOTIFICATIONS limit.

(Also, would love if the tool would pause after patches were applied, but before rebuilding the packages. It'd make it easier to make your own patches to the smali code. )

Thanks for your tool1
[Magisk] fOmey:
Mock location patch works perfectly fine on android versions 9.0 and below on the latest Google play services.

The mock location patch is the exact same between 6.3 & 6.5.. nothing has changed.

Using a outdated version of the patcher isn't going to magically solve your issues.. sorry (I wish it were that simple).

Absolutely, if the patch is consistent across devices.. I'll be happy to add it.

MAX_PACKAGE_NOTIFICATIONS? The default is 50 notifications! Seems excessive for most people, why would you possibly require more than that? :p

Pretty sure that's a safe measure to prevent apps spamming notifications like mad..
[Magisk] starbucks2010:
[MENTION=1620550]fOmey[/MENTION],

I have tested the secure screenshot on android Q (G975f - S10+) but seems to not work. Any files/logs I could help you with to test?

Thanks.
[Magisk] ammmze:
Looks like you have the 100400 variant which is for Android 9+. Are you running Android 9? Did you manually install that variant? I haven't actually tried switching to a different variant. Mine has the 120400 variant.

https://www.apkmirror.com/apk/google-inc/google-play-services/google-play-services-19-6-29-release/
[Magisk] FloFloFlow:
For me, the best version was 5.1 (no jump).

Need to check if it's still the case btw.
[Magisk] Skreelink:
I'm on a pixel 3, and using 6.5 has the issues reported. Even with indirect mocking, I had rubberbanding, no matter the settings. I decided why not and built the module with 6.3, it works as it did before. Something is different between 6.5 and 6.3, or google recently updated SOMETHING. I also tested on a Moto X4 on oreo and Pixel XL on 10.

Results:

6.5 resulted in GPS not found/indirect working with rubberbanding.

6.3 works as intended on all 3, indirect mocking UNCHECKED.

All three are on the latest available android/play services for the respective devices. I know it was stated that nothing changed, but on my end, there is a difference. I'll try the 6.5 patch again and see if it continues working and update this post with results.

EDIT: Installed 6.5 over 6.3 on my Pixel 3 and rebooted. Continues to work as intended, so apparently the problem was maybe a Google bug. Thus, they might have recently fixed it. Pixel 3 on November 2019 update, with 19.6.29... Status: Working as intended again, possible fix was on Google's end?
[Magisk] armeliiito:
So 6.3 work on Android 10 with latest play services with indirect mocking unchecked?
[Magisk] Skreelink:
It has for me, yes. Even after updating back to 6.5 from 6.3 it continues to work. I even did a fresh reinstall of GPS Joystick to ensure mocking was off and it worked as intended.
[Magisk] ammmze:
What variant do you have installed? I'm running the 120400 variant and requires indirect mocking which is subject to rubberbanding. Though I have not tried running a variant intended for Android 9+ on Android 10 see if it works in general and allows it to work with regular mocking.

[IMG="Some play service variants with 120400-278422107 highlighted"]https://monosnap.com/image/YqNAwSma6aEF8r3FnrpuYhnyvXQb7C[/IMG]
[Magisk] Skreelink:
120400 apparently, uploaded screenshot. I do, however, have to turn gps on. When I tap start on GPS Joystick, it turns my location off, I have to pull down the notification shade and tap the location button to gps only.

EDIT: Checked my Pixel XL, it's using 6.5 on the same play services version and it's working as it should as well, indirect unchecked.
[Magisk] ammmze:
Interesting... just tried with indirect unchecked again and still not working here.

Do you have location accuracy turned on or off?

Are you current on the OS patches? I'm currently running the Oct Security Patch, maybe they changed something in the Nov or Dec patches?

Edit: I've got a Pixel XL and Pixel 3 XL both running Android 10. Neither work with 19.6.x. I've rolled back the Pixel XL to 19.5 play services to work and on my main Pixel 3 XL i'm running indirect mocking at 25ms and doing a lot of charging :\
[Magisk] Uzephi:
Sadly on the Pixel 3a, it still doesn't work.

Edit: tried patching with 6.3 and 6.5 installing over other module and fresh installing. Fresh install works sometimes with WiFi and BT off. Can't move though and it's 1/20 tries turning mock location on in the mock app I use. Downgrading GPlay services works without a reboot. Nov 2019 security patch.
[Magisk] Skreelink:
Location accuracy off on the Pixel XL (since it uses WiFi), Location accuracy ON for the Pixel 3 since it's got unlimited data, it doesn't get to use wifi for location. As far as OS goes, Pixel 3 is on November, Pixel XL is on October (last official, RIP OG Pixel updates).

EDIT: I don't think it matters, but I'm using ElementalX kernel. Just tossing that out as a data point.

Edit2: Try this, build a 6.3 and install it ontop of the 6.5, then install 6.5 back over 6.3. This is what I did instead of delete > reboot > install > reboot.
[Magisk] fenixfyre:
The way the location accuracy feature uses Wi-Fi is by collecting supplementary location data from nearby networks. There's also a toggle (that is on by default) that allows this to happen even when Wi-Fi is set to "off"
[Magisk] Skreelink:
Wi-Fi/Bluetooth scanning is off on all my phones. Even as such, when I have it "network only" and connected to Wi-Fi, it locates the Pixel XL. Likely google's own internal database of "where" the Wi-Fi was found, as you said supplementary location data.
[Magisk] cyberedward:
Tried this on my pixel 4 XL, still not working.
[Magisk] mysubcult:
Hello everyone, what is the best application for changing coordinates so that there are no jumps?
[Magisk] rling:
I'm happy with Fake GPS Joystick on my Android 9 Xiaomi K20 Pro. No rubber banding with Smali Patcher in place.
[Magisk] mysubcult:
Can you tell me what settings you use in this application?
[Magisk] mysubcult:
Hello, now there are such settings, but there are jumps to a real location. What needs to be reduced, either increased, or changed? thanks in advance.
[Magisk] armeliiito:
Okay, on 6.3 even with the latest play services, mock location don't work on Androod 10 on One Plus 6t like [MENTION=1620550]fOmey[/MENTION] pointed out. But the good part is with indirect mocking on, there is no rubberband (played a good 3hrs) with the latest play services compared to 6.5.
[Magisk] mysubcult:
Do I need to enable this setting? Please tell me the rest of the joystick settings to avoid jumping to real coordinates.
[Magisk] mysubcult:
And one more question. Smali patcher do something when this function is on?
[Magisk] Skreelink:
Turn WiFi scanning off, it's a location aid and will cause jumping if you're using WiFi.
[Magisk] mysubcult:
my working application does not allow me to do this, how can I solve this situation? Perhaps there is a way to somehow disable the wi-fi module itself so that it does not perform a search?
[Magisk] maliciousd12:
I can confirm that 19.6.68 fixes the glitch introduced by 19.6.29 and the patch should work like before.
[Magisk] MendyG5:
Can i know how can i upgrade?
[Magisk] mysubcult:
and what were the problems? How were they fixed?
[Magisk] mysubcult:
[YOUTUBE]https://youtu.be/6hGhsGb-2rk[/YOUTUBE]

Has anyone had such a bug? moving along the route with jerks.
[Magisk] maliciousd12:
What exactly are you showing in this video? We don't see your play services version nor do we see if gps joystick is running or not. And if you have indirect mocking enabled.
[Magisk] ErriK89:
I don't confirm what you say. I tried 6.29 and fake gps doesn't work, only indirect mocking works. Play services are still filtering mock locations
[Magisk] Suryo75:
rubber banding issue, some as my device has
[Magisk] mysubcult:
Ideas how to fix it?
[Magisk] konks:
I also tried 19.6.68 on my Pixel XL on 10 (Dec 2019 Update) and Play Services is still filtering mock locations.
[Magisk] rling:
On Fake GPS Joystick, on K20 Pro on Android 9,

1) Fix 1, Fix 2 and Fix 4 ticked.

2) Enable A-GPS reset ticked. Rest all off, including Enable indirect Mocking.
[Magisk] mysubcult:
Ty, and what intervals do you use?
[Magisk] rling:
With Fix 1, 2 and 4 ticked, process interval is at default 100ms, and both update and idle interval at 1000ms.

I had all sort of issues with Android 10. Downgrading to Android 9 fixed all of it.
[Magisk] mysubcult:
I have problems with android 8 on Huawei.
[Magisk] 4tress:
You don't need any of these options turned on if you use patch on Android 9, it works perfectly fine.
[Magisk] mysubcult:
Signature spoofing - Enable signature spoofing app permission.

please tell me what exactly does this patch do?
[Magisk] githyanki:
If you use microg, this allows it to pretend to be the actual play store.
[Magisk] rling:
Was getting rubber banding without Fix 1 and Fix 2. Anyway, it works, and that's all that matters.
[Magisk] Skreelink:
Bit of an update, I flashed the latest factory image (December security patch) to my Pixel 3, made up a new smali patch 6.5... Works as intended, indirect mocking UNCHECKED. Play services still at 19.6.29-120400, no rubberbanding.
[Magisk] mysubcult:
[MENTION=1620550]fOmey[/MENTION]

I don't know if it's meant to be or not, but I'm stating a fact.

Applied the patch "Mock locations" on the phone huawei honor 8 (8 Android) and the application that I use to work constantly gave this message as soon as I turn off the screen for just a couple of minutes:

As soon as applied 2 patches - "Mock locations" and "Signature spoofing", this window ceased to appear constantly.

P.S. Can't win jumping on real location, phone Huawei honor 8, services 19.6.29. When I use a small interval, for example 100, when I start the route, the point moves intermittently on the maps and is noticeably slower than the real speed in the settings.

P.S.S. Can you in the new patch make apps think that Wi-Fi/Bluetooth scanning is on, although in fact they will be turned off?
[Magisk] mysubcult:
No ideas how to fix it?
[Magisk] ralph.bethke1:
Hi, small heads-up: just received a new beta version of play services (19.8.29) which fixed the issue with mock location. Seems like Google indeed somehow unintentionally messed up mock locations in Android Q with previous play services (19.6.29).

Gesendet von meinem Mi 9T Pro mit Tapatalk
[Magisk] fOmey:
Pretty sure wifi/bluetooth scanning is in google play services, if it is.. that will be very difficult to patch.
[Magisk] pogo-airsupport:
Any idea whether this is exclusive to 19.8.29, or other 19.8 builds as well?

I will test later tonight.

Just to clarify, you're saying that we no longer have to use indirect mocking?
[Magisk] ralph.bethke1:
No idea whether this works on other play services versions as well. The only version that caused trouble for me has been 19.6.29, the new beta works fine and I confirm that indirect mocking is NOT required with version 19.8.29. Whether that remains true for future play services versions remains to be seen.

Gesendet von meinem Mi 9T Pro mit Tapatalk
[Magisk] pogo-airsupport:
I can second these findings on Pixel and newest beta play service
[Magisk] Gustave17:
I have to use indirect mocking otherwise I get error 11...

With last Google services....

What settings do you use?
[Magisk] pogo-airsupport:
Are you on 19.8.29? I forgot to try on 19.8.26. But you have to be on the beta stream for this to work.

Google location accuracy turned off.

I have indirect mocking switched off, all processes set to 1000ms.

This did not work on 19.6.xx, but it does work on the current beta of 19.8.29
[Magisk] tom.etc:
damn, i signed up for the play services beta, but i cannot install the update for some reason, play store errors out when trying to install update. anyone have the apk? xt1806 on android 10, 64bit arm 8
[Magisk] pogo-airsupport:
Try apkmirror.

For those who did upgrade and doesn't work, clear the data and cache of google play services.
[Magisk] tom.etc:
i ended up trying that to no avail. i think i shot myself in the foot with some changes i made; when i reflash /system with rom, and add clean gapps it's no longer a problem. thanks for the reply :)
[Magisk] Gustave17:
I'm not on beta stream but I have the 19.8.29....
[Magisk] ultimatepichu:
I'm on beta play services and on 19.8.29 but for me I still need to have indirect mocking to be ON to spoof.

Without indirect mocking, I could mock my location if I turn off Location Accuracy, but I can't move joystick around. Kinda bummer.
[Magisk] armeliiito:
Can confirm, play services 19.8.29 work without indirect mocking (OnePlus 6t Android 10). And i notice also for those who use Island Pokemon GO, you need to enable indirect mocking, only if you use a sandbox Island Pokemon GO.
[Magisk] mysubcult:
Google Play services 19.8.29 from 03/12/2019 - everything works fine

Google Play services 19.6.68 from 21/11/2019 - did not have time to test

Google Play services 19.6.29 from 06/11/2019 - there was a problem on Huawei's phone (8 android, emui 8). constant jumps to the real location + when starting the route, it moved with jerks.
[MENTION=1620550]fOmey[/MENTION], if you have the time and opportunity try to figure out what it is, it is very interesting how these events are connected.
[Magisk] tom.etc:
So, just to confirm, clean install of Havoc 3.0 (Q) with openGapps nano + apk mirror copy of play services 19.8.29 has cleared up my rubberbanding; I don't need Indirect Mocking with PoGo. All is solid here.

Grateful that this thread exists! ;)
[Magisk] dantonio.marte:
I got this error in my Samsung A30s "!!! ERROR: Mock location class not found." could someone help me?
[Magisk] Spo0cky ^^:
When I want to create the module for Magisk, Smali Patcher says "ADB Device not found".

And the whole says Smali Patcher with 2 different PC's.

USB debugging is enabled, Java and Net_Framework are installed.

I have a Pocophone F1, someone can help me and tell me what's going on.
[Magisk] DBDPCG:
Enabling any of the options results in "can't take screenshot due to security policy" toast while trying to take screenshots in any app using an s10 on oneui 2.0. Not sure if this is a known bug.
[Magisk] 4tress:
Redmi K20, MIUI 11, Android Q:

1) Installed Play Services 19.8.29 from APK Mirror

2) Cleared data (cache and data) for both Play Market and Play Services

3) Rebooted

Actual result: GPS Joystick works without the "Indirect mocking" option enabled.

Notes:

just upgrading Play Services without clearing its data don't let spoofing work;

wiping data for just Play Services without Play Market results in infinite "Downloading" stage for new apps installation, app update works.
[Magisk] Suryo75:
have you tried, Disable service app ? go to app - acces root grant - system - google play service - untick fused location service and

fused provider service
[Magisk] Lebrun213:
Thank you for making such a great and easy to use tool, i'm not in any way a android expert but thanks to your software i was able to make signature spoofing enabled in like 5 minutes.

I have no idea how much time you spent coding it, but you surely made many other people save a lot of time.

can't thanks enough :good:
[Magisk] mysubcult:
guys, such a question. there are rare jumps to a real location - it's ok. but, for a very long time my fake location has been restored. For example, I was thrown at real coordinates, I need to wait 30 seconds to throw me back to fake coordinates, the interval in the joystick has already set 25ms - it does not help. Your help is really needed, such a problem on the phone Huawei, on Xiaomi everything is fine.
[Magisk] ErriK89:
K20 pro miui11, doesn't work your tips.

Fake gps still cannot update fused location with play service version newer than 19.5.30 even if data is cleared.

I think you have indirect mocking enabled. You can easy check with gps fix app

---------- Post added at 08:02 PM ---------- Previous post was at 07:56 PM ----------

Sorry, could you please explain the difference between island and sandbox island pogo?
[Magisk] 4tress:
Orly...
[Magisk] mysubcult:
after applying the patch it makes sense to edit gps.conf?
[Magisk] ErriK89:
Really strange!

I have basically same phone, same config, same fw and doesn't work. Fused location are not provided.

Can it also due to something related to system region?

Which kind of play 19.8.29 you installed? 12400 or 10400 or below?
[Magisk] 4tress:
You can see what version I use from screenshots. 12400 is the only suitable one for our device.

Do you have Google location off in GPS settings?
[Magisk] Roman_RO:
Deleted
[Magisk] ErriK89:
Yes. It's off
[Magisk] armeliiito:
Damn i messed up. Island is an app that sandbox apps that you don't want them to access your private files. It work as android "work profile". Its like how Samsung implement Secure folder on their devices.
[Magisk] pogo-airsupport:
At first this is true, but there is a fix.

You can go into apps --> work apps --> show system apps

Then find google play service.

Under storage option, clear everything (cache, storage, etc)

Restart your phone, and now it will work without indirect mocking
[Magisk] A30NI_Y:
Sorry for late reply, I was on vacation. Please re-upload your file.

---------- Post added at 11:45 AM ---------- Previous post was at 11:25 AM ----------

Did you authorise the USB connection? Or try with a different USB cable.

---------- Post added at 11:48 AM ---------- Previous post was at 11:45 AM ----------

Have you try booting your phone in TWRP, mount "system", connect to the PC and run the patcher again?
[Magisk] dantonio.marte:
Samsung A30s doesn't have twrp ... Twrp isn't ready for that model...
[Magisk] A30NI_Y:
It looks like a permission issue. Are you able to upload your framework folder?
[Magisk] dantonio.marte:
Are you sure? I read it's about some deodex issue... But I can't get it
[Magisk] A30NI_Y:
The patcher should be able to deodex it without issue. Upload your framework folder, I can try over here.
[Magisk] dantonio.marte:
So, what should I do?
[Magisk] erwanPutra:
i want to try it but can anyone here make video tutorial from scratch? btw im using xiaoi redmi 4/4x stock rom miui 9 if anyone have has deodexed jar would it be great but i prefer to learn thanks
[Magisk] shanto jack:
fOmey @ XDA

Patcher Version: 0.0.1.1

I: Using Apktool 2.3.0 on services.jar

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

!!! ERROR: Mock location path not found.

how to fix it
[Magisk] sutanindra:
i reallyyyyyyy need this app. pleasee make a video for tutorial in youtub*.

pleaseeeee
[Magisk] Eng.Raman:
This error means that your services.jar still odexed. You should deodex it first, follow the OP guide in the first post.
[Magisk] kacaksevgilim:
I applied patch successfully. But not shadow ban effect

The patch is not working
[Magisk] stbt:
waiting for next update, Thank you mr fomey
[Magisk] shanto jack:
I doedex it by using

Fulmics Deodexer 1.6 where is the deodex service.jar file
[Magisk] @ayahfachri:
I couldn't find services.jar from SuperMan-Rom_SM-G93XF_V1.19.1 Rom in /system/framework, it only can be found in /superman/services/modded. Does this mean the services.jar in modded folder has been deodexed? If so, I still unable to patch it using SmaliPatcher-1.1-fOmey_XDA. Below screenshot of the error and I attached services.jar pulled from /superman/services/modded if there is anyone kind to patch it into Magisk Zip module.

Looks like I can't post image showing error on Smali Patcher and upload my services.jar before 10 posts :crying:
[Magisk] ZedAz:
Hey can anyone here help deodex my 6P's stock ROM service.jar?
[Magisk] ZedAz:
Also do I need my whole ROM to be deodexed or just services.jar?
[Magisk] DodoGTA:
The uploaded services.jar is too small (It should be much bigger)
[Magisk] ZedAz:
That's the only services.jar file in system/framework/

There's a services.odex file in system/framework/oat/arm64
[Magisk] Eng.Raman:
You didn't deodex it correctly.

---------- Post added at 11:38 PM ---------- Previous post was at 11:24 PM ----------

Upload your services.jar to any free file hosting sites such as ( Google Drive, DropBox, ZippyShare ...etc ).
[Magisk] @ayahfachri:
I'll send u PM as I still couldn't post outside link or upload anything from here.
[Magisk] Eng.Raman:
Just services.jar.
[Magisk] Eng.Raman:
Your patched module zip, flash it via magisk manager or twrp recovery.
[Magisk] ZedAz:
Still can't get the 6P's services.jar to deodex :/

Any good person willing to do it for me :(
[Magisk] DeniTx:
Any updates for signature spoofing?
[Magisk] @ayahfachri:
Flashed thru recovery and working flawlessly, thanks man. Only thing is if I flash my Galaxy S7 Edge with another ROMS, I'm still unable to patch it using Smali Patcher on my side. First world problem. :eek:
[Magisk] Eng.Raman:
When you flash your phone with another rom, you need again to deodex the services.jar and patching it using the smalipatcher tool.

---------- Post added at 01:19 PM ---------- Previous post was at 12:40 PM ----------

That's not an easy step bro because you should upload the whole contents of your framework folder. :cool:
[Magisk] lividhen99:
Use a root explorer to copy /system/framework to somewhere where you can upload it via Google drive or Dropbox or something. Then share the link here, and someone will attempt to create a module for you.
[Magisk] dantonio.marte:
Ok, but I tried to do manually with small patcher copying framework folder ... And the same issue happened... But I'm gonna upload it
[Magisk] dantonio.marte:
Here is the link...

https://mega.nz/#F!wdVH2Qwa!xjKLqQE3BVDC_quMbNnOwA

I have a Samsung A30s (A307G)
[Magisk] AkAshaper:
Hello, I have a problem Have a galaxy s6 with twrp3.3.1.0 In addition magisk newest version Smalipatcher 6.5 Various custom roms Immoment I have nothing installed but a working version of lineageos 16 is on the PC magisk works great open gapps Pico works great too. Only the smali makes problems I get a zip which can be installed via magisk as well as twrp only after the installation I am not hanging in the boot exactly in the bootloop but in the start