yashsingh1/xdaforums huggingface dataset:
[Magisk] A30NI_Y:
All 3 patches
[Magisk] noobSU:
Thanks for helping again bro. You're awesome ❤️
[Magisk] Honeycd:
Hello @A30NI_Y , can you help me? Since i updated to android 11 smali patcher not working, mock location is disabled. I have installed everything from scratch and it doesn't work. Anyone who can tell me how to fix it? Thanks
[Magisk] A30NI_Y:
Unfortunately nothing I can do as currently android 11 is not supported eventhough it is working for some pixel users. Only f0mey can help.
[Magisk] Honeycd:
Thank you very much for answering. At least now I know that until there is a module update I have to wait. I hope it will be soon. I appreciate the great work of @fOmey
[Magisk] xipi123:
🙏To all seniors & devs, pkease help to patch🙏

1.[Mock locations] Treat mock locations as genuine location updates.

2.[Mock providers] Allow creation of mock providers without mock permissions.

3.[GNSS updates] Disable all GNSS (GPS) location updates.

4.Secure flag - Allow screenshots/screensharing in secure apps.

5.[High volume waming] Disable high volume popup dalog.

My phone is RedMi note 8 pro for Android 11
[Magisk] Jerry12798:
Have you tried using Disable GNSS updates? I'm on a Tab S7 with Android 11 and have it setup perfectly. Another thing is maybe it's your GPS Spoofer.. I have gotten the issue with App Ninjias Joystick where I get slingshot to my real location if I click the map on the overlay. There's also an option in App Ninjias Joystick called Enable A-GPS Updates which will prevent you from jumping to your real location by disabling GPS updates
[Magisk] Honeycd:
Yes, I have tried, if I check that option Smali patcher closes. Could it be a processor problem? I have exynos and you snapdragon

excuse my bad English. Does it return you to your actual location too?

I have tried the option you tell me but it still gives the same problem, if I press "teleport to location" the simulated location stops working and I can no longer move with the Joystick.

I just hope that @fOmey can solve it. I am willing to pay for the effort
[Magisk] Jerry12798:
Sounds like it's just the Disable GNSS Updates Module for your specific device. I'm not an expert with this so maybe upload your framework files and desired modules then someone can try it on their PC to see if it's an incompatibility issue as per your suggestion
[Magisk] Honeycd:
yes, I generate the smali patcher module without selecting the "GNSS UPDATES" option. I do not know what else I can do, if someone says I would appreciate it. I don't mind trying new options
[Magisk] A30NI_Y:
Upload the framework folders, i'll give it a try. What are the patches you need?
[Magisk] A30NI_Y:
Here you go, all 5 patches
[Magisk] xipi123:
after flash this module, my phone can not reboot !
[Magisk] Honeycd:
Thank you very much for your help. I have always used all modules except Recovery reboot and samsung knox.
[Magisk] noobSU:
Any1 tested on A12 beta 4? Is it working? @A30NI_Y I gonna try A12 as being a beta tester. Will you patch foh me so i can test?
[Magisk] A30NI_Y:
I have checked and redo the module and the output is the same module, so I guess no luck.
[Magisk] A30NI_Y:
Yup you are right, whenever GNSS option is chosen, the patcher force closed during location patching process. Maybe @fOmey can have a look.
[Magisk] noobSU:
Thanks foh the support bro. I'm testing it currently. Having some source side issues in A12. I'll think to keep it as a daily driver or should i move to Ppui back. Letz c. I'll knock you if i plan to keep A12. Thanks again.
[Magisk] Honeycd:
Thanks for the trouble. I have tried on my tab s6 and I have the same problem. So I think we have to wait for a new update of the patch. Waiting for @fOmey and appreciating his work
[Magisk] fOmey:
Can you upload the "adb" directory to Google drive and share a link. Please tag me in the post.. I'll take a look when I get a chance.

Edit: nevermind you already uploaded the framework folders, I'll take a look.
[Magisk] Honeycd:
Thank you very much, if you need the adb folder I will upload it without problem, you tell me
[Magisk] fOmey:
Give this a try:

CHANGELOG ::

7.4

Modified patch - GNSS updates: now correctly handles protected methods.
[Magisk] Honeycd:
Unfortunately it still doesn't work. I believe that the application should be updated. I use the module with app ninjas to mock the location, but when I mark a point to indicate a specific location and teleport, the simulation disappears and I stay where I am.

I have tried various combinations but none of them work for me

Edit: In case it helps. For me the problem is in Android 11 and its new way of simulating location. Yesterday I tested my Samsung Galaxy tab s6 with android 11 and it gave me the same problem as on my mobile phone, the location was lost when selecting a place to teleport to. Today I have downloaded my tab s6 to android 10 and now it no longer gives any problem.
[Magisk] htengara:
Hi, dev & all senior member

Need help for patch Xiaomi mi4i Oreo, LineageOS 15.1 for mocking location, always stuck at patching
[Magisk] fOmey:
Thats interesting, I'm running android 11 myself. I don't have these issues on my Samsung S10.

Might be some other functions wrapped up in the framework that need to be patched. I did notice some strange classes that were samsung specific while checking your framework files.

I'll take a look when I get a chance.
[Magisk] Honeycd:
I also think it is a samsung problem, although I think it is from Oneui 3.1. I appreciate your interest. If you need any files or proof, I am willing to help. Thank you very much for your effort
[Magisk] charlis88:
To Much tick man....
[Magisk] pogo-airsupport:
@fOmey

Could you add android 12 to the whitelist for patching?

Thanks!
[Magisk] charlis88:
You ninja not support h

I think you ninja doesn't work mate...mean not support high accurassi. Try use fake gps ROUTE...the work for me android 11
[Magisk] Honeycd:
I have the same problem. If I try to use an already created gpx path the fake location is disabled
[Magisk] N1NO:
Version 7.4 fixed lot of bootloop issue with many MIUI 12.5 and Oxygen OS 11 based Roms.

I waiting for a fix since version 7.2.I had to use pixel based roms till now.(patch was working in android 11 based pixel roms)

Thanx @fOmey
[Magisk] noobSU:
Means it's not working on A12?
[Magisk] charlis88:
Try selective box 1 & 2 only ...i try to use S21 that working aswell...not loop.
[Magisk] Morveuscrew:
can you help me please..

i switch back to miui 9

dropbox[.]com/s/y5v1o41fgelnz5x/services.zip?dl=0
[Magisk] Eng.Raman:
Welcome bro, i'm here to help others as much as i can.

zip and upload your framework folder to dropbox or google drive. ( found in /system/framework/ ).
[Magisk] dani971989:
Please help me, i've already root with magisk and deodex service.jar ,,,
[Magisk] Eng.Raman:
Are you patched your services.jar and after flash it you get a bootloop, if yes then just delete it from twrp recovery ( flash magisk_mount zip ) and you will

boot normally.
[Magisk] dani971989:
ask help

yes mr Eng.raman

now i flash my device lenovo vibe k5 plus with rom dot os nougat, is that service.jar doedexed?
[Magisk] Morveuscrew:
glad to hear and thanks so much bro

drive+google+com/file/d/1fMncEiTNEuAs1NvujnskikgtVL0sCODH/view?usp=drivesdk
[Magisk] Morveuscrew:
Allready success bro using apk tool to deodex..

Thanks for you help :)
[Magisk] benzshaddow:
using smali patcher but mock location still detected

please help me sir, i use phone ASUS ZENFONE Z00VD 5.1, i using smali patcher 1.2 and installed magisk 15.3, module is active but if a enabled mock location on developer option an run other apps to detect this mock, is detected,,, please help me sir
[Magisk] Eng.Raman:
Which mock location app you used ?

Try to download and use the OP app in the first post. If still detected then you need to systemize it systemlessly using terminal app systemizer module.

---------- Post added at 11:15 AM ---------- Previous post was at 10:33 AM ----------

Depending on its size. When it is less than 1 KB this means still odexed but when it is between 3-10 MB that certainly means it is deodexed.
[Magisk] dani971989:
ask help

https://drive.google.com/file/d/1sm1J6_mVdeCbOINKpTLDW3nmp07ec8It/view
[Magisk] benzshaddow:
I using Mock mock location from google playstore, and i test my mock location detected or not using Satpol App x3 from playstore, please help me sir

Sir,,, are you can to help me please, please help me to deodexing my services.jar and get smalipatcher.zip to flash with my twrp and hide mock location, i try very much but still failed or still detected my mock location,,,please siiiirr
[Magisk] dani971989:
flash using twrp or magisk ?

i flash in magisk or using twrp mr eng.raman?
[Magisk] Eng.Raman:
Fulmics deodexer / Smali code both methods didn't support lollipop and down, i tried before for two users and get failed ( error didn't support ota ....etc ).

If you are already running a deodexed rom then just copy services.jar to the pc and apply the patch directly.

---------- Post added at 04:38 PM ---------- Previous post was at 04:28 PM ----------

Flash with twrp and you should be magisk 15.x installed.
[Magisk] benzshaddow:
My rom is deodexed sir Eng.Raman by tool Assayyed_Kitchen_V1.82_Stable from OTA update rom Zip asus official Z00VD and i get services.jar is deodex, but after patch using smalipatcher my mock location still detected (can't hide my mock location) whats wrong sir, help me
[Magisk] Eng.Raman:
Upload your deodexed services.jar.
[Magisk] Eng.Raman:
Your patched module zip, flash it via twrp with magisk 15.x installed ( not compatible with magisk 14 ).
[Magisk] benzshaddow:
thanks sir, i try ....

---------- Post added at 03:44 PM ---------- Previous post was at 03:33 PM ----------

i flash this zip from twrp and success, but when i set Allow Mock Location on developers option an i open app Satpol X3 mock location is detected

[IMG="Satpol-X3"]https://i.imgur.com/kVG87ZX.png[/IMG]
[Magisk] Eng.Raman:
I didn't understand the language in your pic.

Which mock location app you use now ? ( it is recommended to use the OP app in the first post ).
[Magisk] noobSU:
You quoted me. What was relevant for me in the thing you wrote?
[Magisk] charlis88:
More relevan just wait @fOmey
[Magisk] Honeycd:
I have tried checking only the two Mock location boxes and it still doesn't work, the fake location is disabled if I mark a point on the map to teleport. Doesn't the same thing happen to you?
[Magisk] SigMelon:
Hi @fOmey

I'm trying to run Smali Patcher 7.4 but SmaliPatcher.exe crashed when I tried selected patches below.

Which then I tested one by one and found out it was the "Rocovery reboot" that caused the crash.

Machine info:

Windows 10

Run as administrator for SmaliPatcher.exe

.Net framework 4.8 installed

Java 1.8 detected when running adb patch

Device details:

Model: Poco x3 NFC

android version 11 RKQ1.200826.002

MIUI Global 12.5.1 Stable - 12.5.1.0(RJGMIXM)

Androird Security Level : 1 July 021

rooted with Magisk 23.0

patcher log: No log generated, but I can see crash from windows event viewer. https://drive.google.com/file/d/1wFFzdl5rJ4SH7GG1nMyE278yffkXXQln

the "adb" directory in the patcher folder : https://drive.google.com/file/d/15mGg2T7pE2kJgoTW4VSFfwUmOd4ZHsPg

Would you be able to look into the possible reason of the crash and workaround/fix?

Thank you!
[Magisk] noobSU:
@A30NI_Y I wanted to ask you something. After the patch you provided. Should i still have to Select the Fake GPS app on the mock locations? Or i can spoof location now without it? My corporate application can still detect that I'm spoofing the location in both conditions if i select the fake gps app on the mock location or not?
[Magisk] charlis88:
What you use it brother...cause for samsung S9 series...i have some problem like that...location its disable....you know i am daily driver😄😄😄😄
[Magisk] supermaus100:
Hello, where can I get the Magisk Patched.tar file
[Magisk] Honeycd:
I did not understand your question, excuse my bad English. Could you repeat it?
[Magisk] A30NI_Y:
Yes you do need to select the mock location app in developer options. If google maps or other location required apps cannot differentiate your real or mock loacation, then smali is working. My guess is your corporate apps is detecting other stuff.
[Magisk] BryanMacBeth:
I was trying to hide mock location. I have managed to follow all the steps and enable smali patcher module in magisk. All the steps are successful but hiding is not. I use 3 location spoofers: 1.Fake GPS 2.Fake GPS Route and 3.FakeGPS Free.

using #1 couldn't hide the system, Android system still notify me that "You're using a mock location from Fake GPS"

using #2 do not bring me to the fake location after I start the service. It is as good as I am not using any fake location service.

using #3 has 2 options. It allow me to choose in App settings to pick a."Android 10 FusedLocationApi" or b."Smali Patcher Mode". If I select a, I cannot hide my fake location, just like using #1. If I select b, it is same as using #2, my location is still reported correctly.

Kindly help me please...
[Magisk] noobSU:
How did you notified by Android?
[Magisk] noobSU:
How to know that mock location is completely hidden from apps? (How to know apps doesn't know I'm using mock location)
[Magisk] noobSU:
@fOmey @A30NI_Y

I don't know what is wrong! Secure flag feature is working that means patcher is installed. But the first app is still detecting my mock location. Means the mock location patcher is not working? Please reply. Because I'm using Fake locations from days. I was thinking that module should be working good. Any other way to test? Or should i try to patch framework again with the help of @A30NI_Y
[Magisk] noobSU:
Anyways, Fixed.
[Magisk] A30NI_Y:
That's great but you may want to share how you've managed to got it fixed so others may benefit here.
[Magisk] BryanMacBeth:
By standard notification. Can see when I pull down the notification bar from top of my screen. This is standard for normal phone without applying any hide.
[Magisk] noobSU:
Nothing much. I just turned off the Fused Location API inside the Fake GPS manager. Mock is not been detected anymore.

Btw, I'm going to flash or planning to change ROM. Perhaps tonight. I'll need your help once again mate.
[Magisk] Pandemic:
Does this have signature verification for A11 the 7.4 version ?
[Magisk] #INFECTED:
@fOmey hey dev what's this...i am little bit confused is this makes any changes by selecting that blue box plz help.
[Magisk] SigMelon:
I debug smalipatcher and found the problem. In the patchFiles method, the recovery reboot patching for "lambda$reboot$" somehow only search for "const-string/jumbo v2, " but the file from my device is actually having "const-string v2, ". This caused it to run into infinite loop then crash with OutOfArgument exception.

I updated the code similar to the "reboot(Z)V" section thus it is working now.
[Magisk] kekolas:
Hello, I have a problem I could not able to solve. I downloaded the patcher. Downloaded and installed both java and net framework. Disabled windows defender and firewall. (i don't use any other antivirus) Opened the exe as an administrator, not plugged the phone while binaries downloading, also deleted all folders before trying again... but it's always stuck when downloading binaries at 99 percent. I couldn't find what is blocking it. Can you help me to find the problem?
[Magisk] SigMelon:
grant full control permission of smalipatcher folder to all user?

also did you unblock SmaliPatcher-0.0.7.4-fOmey@XDA.zip file via file properties before extracting?
[Magisk] VenfefulRat:
Hello peeps. So got a quick question.

I've seen posts on how to remove smali patcher if it bootloops after installing, but my question is, how do I get it working? I had it running on my stock firmware perfectly fine. Now I'm running crdroid, latest, and whenever i run smali, it just goes right back to bootloop. Well, stuck in boot animation to be perfectly technical.

Anyone know how to make this work?
[Magisk] wowkazmir:
If you're running Android 11 it is most likely due to you having selected the "signature spoofing"option. This seems to result in bootloops on many roms.
[Magisk] detonate:
- deleted -

Using another computer solved my problem.
[Magisk] Jebo91:
This is a translated English message and I'm sorry if it sounds confusing, I still hope you can understand it.

Everything worked perfectly for me with the download, many thanks for the app and the work you did for this. Only now I have the problem that I don't know which GPS app I have to install so that it detects my location in Pokémon Go. I don't want to teleport myself to a completely different location, but just walk around here in my area if I don't feel like going outside. If you could recommend an app with a joystick that works great for you, I would be very grateful.
[Magisk] zgfg:
Sorry, I tried searching in this thread but found only some similar posts from 2020 and no 'fix'

Secure screenshots works fine for all other apps I tried so far but in Netflix, once started to play video (and even in the pip mode), screenshots are still blocked

It doesn't matter really, I'm just curious about - any way to enable screenshots also in Netflix while playing video?
[Magisk] noobSU:
Yes, you're right. Even after Patching. Screenshots are still restricted into the Netflix app while running a video. I need the same answer. Why it is happening so.
[Magisk] jamblank:
Iam using redmi note 9 pro Android 11 MIUI Global 12.5.1 not working to mock location
[Magisk] pancomido:
Sorry, but can someone explain to me what can I do with "mock providers"? Thanks!
[Magisk] Pandemic:
Anyone ?!
[Magisk] mrrehan66:
does this version support android 11 pixel experience rom?
[Magisk] Honeycd:
The best application is gps joystick from app ninjas, with it you can simulate the location and if you want to teleport. You can create routes and let the joystick walk alone

Fake GPS Location-GPS JoyStick - Apps on Google Play

Teleport your phone to any place in the world! GPS Simulator with JoyStick.

play.google.com
[Magisk] Jebo91:
Whenever I start the app and determine my location, the message Pseudo location is used appears on my S21. If I then switch to Pokemon Go, it says that my location is not recognized.
[Magisk] Honeycd:
you must select the application to simulate your location in developer options
[Magisk] noobSU:
@fOmey Any chance for A12 support? Soon?
[Magisk] dani971989:
someone please help me patch this for android 10

1.mock location

2.mock provider

3.signature verification

here is my framework & build.prop

superioros android 10 vince.zip

drive.google.com

thanks 🙏
[Magisk] pogo-airsupport:
I've been asking @fOmey the same thing too. The last time for A11, it seemed like all it required was whitelisting A11. What remains unclear is whether the same patch still works on A12.
[Magisk] noobSU:
No. It doesn't work on A12. Period.
[Magisk] pogo-airsupport:
What evidence do you have to support this.

Please see changelog for version 6.8, before which it was not functional on A11, but simply because it was not on whitelist.

6.8

Made patches "compatible" with the latest android 11 beta (pixel).. none of which have been tested on android 11.

BACKUP! BACKUP! BACKUP!
[Magisk] gionfred1:
I try to use this tool but it always give me this error.

Can someone help me? i have an asus Z00A (ze551ml) device with magisk root (v22) and android version 6.0.1

EDIT:1 the problem is the phone. i tryed to use another phone and it works. what can be the problem?

EDIT2 : the problem is the deodexer becouse i tryed to do it with fulmics deodexer and it gives me the error: bootclasspath not found
[Magisk] Jerry12798:
I have this weird issue that I'm assuming is Smali Module related rather than being my device or spoofing app. I'm using a Tab S7 (SM-T870) on Android 11 with App Ninja's GPS Joystick as my spoofing app. Everything seems to be working fine aside from this one thing which is when I close the map after selecting it from the overlay in GPS Joystick the entire app stops working. It's strange because the overlay is still there just the functionality is gone as I'm not able to teleport to a new location or use the joystick.. and then a few moments after closing the map I get sent back to my true location. I know when I made my module the Disable GNSS Updates was crashing Smali Patcher so I skipped using it but I did select Mock Locations, Mock Providors, Secure Flag, & Disable High Volume Warning. I've also tried using the Global Optimized GPS File Replacer module but I'm not seeing it show as installed in Magisk or any changes in my experience GPS spoofing so I'm assuming it doesn't work or otherwise is incompatible.

Any ideas or suggestions on what I could do or try?
[Magisk] See Yin Stars:
Hi, hoping someone might advise - it looked like it was going to work, then stalled at Recompiling phase:

fOmey @ XDA
Patcher version: 0.0.7.4
==> Detected java: 1.8.0_301
==> Dumped framework
==> Processing framework
I: Using Apktool 2.6.0 on services.jar
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
==> Patched mock location boolean
==> Patched mock providers function
==> Patched gnss updates function
I: Using Apktool 2.6.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...

Task manager shows no more activity by Smali as I waited, same result multiple times even after deleting 'bin' and other folders. I'm running a Galaxy Tab S6 Lite with latest Lineage 18.1 OS.

It did give me a services.jar file in the 'apk' folder, but I assume I need the completed .zip file.
[Magisk] Honeycd:
I have the same problem. I think it is a problem of incompatibility with android 11. In my other device with android 10 I do not have that problem. Waiting for @fOmey to fix it
[Magisk] Deguzavr:
Hey! I seem to be stuck to a 0,0 location, no mocking app is able to change that no matter what. My device is xiaomi redmi note 9,android 11 ,miui 12.5.1. Any ideas on what may cause that and how to fix it?
[Magisk] pogo-airsupport:
Not a problem with android 11. Have been running it on android 11 since beta last year on Pixel 4 XL on factory image, and pixel 2 XL with Lineage OS.
[Magisk] Honeycd:
Well then it is a samsung problem, thank you very much for reporting your experience. Hopefully @fOmey

can get the solution
[Magisk] noobSU:
@A30NI_Y Need yewr support again bruh!

Mock location, Mock Providers & Secure Flag.

Thanks in advance ❤️

framework_Legion.zip

drive.google.com
[Magisk] A30NI_Y:
Mock loc, mock prov, & sec flag

Attachment removed due to wrong file
[Magisk] noobSU:
Bootloop 😔

Attaching fresh framework copy again including build.prop.

Can yew please try again bruh? It's Android 11 LegionOS 3.13

Folder attached for framwork.zip & build.prop

Only Mock location & Mock providers this time. As this is v important foh me. Thanks in advance bruh! ❤️

Legion Framework - Google Drive

drive.google.com
[Magisk] A30NI_Y:
So sorry, I have attached the file meant for another person previously causing your bootloop (got mixed up, my bad). Here is the correct one and hopefully it's ok. This with all 3 patches.
[Magisk] noobSU:
Wewww, That's oki. No issue & Thanks alot foh helping out everytyme! Patch worked great! Thank yew so much bruh!
[Magisk] dextereczek:
Which options I must use ?

Xiaomi Mi 9

Andorid 11

MIUI 21.9.22
[Magisk] zgfg:
It depends what do you want to do. I'm not interested in mocking GPS and I only select Secure flag because I need it to allow me screenshots from some apps that block taking the screenshots - like Chrome in Incognito mode
[Magisk] Ephat:
can anyone help me to make smali

My smali binary stuck on 99%

Mock location√

Secure flag√

Signature verification√

Signature spoofing√

Thx
[Magisk] A30NI_Y:
Mock loc, sec flag, sig ver and sig spoof
[Magisk] Dobz92:
i've got this error, please help... @fOmey or someone facing this issue