yashsingh1/xdaforums huggingface dataset:
[Magisk] UltimaniumX:
!!! ERROR: Failed extracting classes.cdex

Hi there, I was able to successfully Smali Patch on my Pixel XL, but on my second phone (HTC one M8) I'm running into an error

fOmey @ XDA

Patcher version: 0.0.6.6

==> Detected java: 1.8.0_231

==> Dumped framework

==> Processing framework

[INFO] Processing 1 file(s) from bin\services.vdex

[INFO] 1 out of 1 Vdex files have been processed

==> Extracting classes.cdex

!!! ERROR: Failed extracting classes.cdex

If someone is willing, can you help me patch my framework? I only have two patches.

- Mock Locations

- High Volume Warning

Please let me know, thank you!

https://drive.google.com/open?id=1xqGrZCJXbGw3bR01YzAWb7nOmkvXEPQx
[Magisk] A30NI_Y:
Try this, but if you are using this for pogo, it is too laggy. Mock loc & High vol patches.
[Magisk] dorjan1976:
Knox problem

I ticlkle all knox options ,same thing impossible have pass samsung and secure folder :confused:
[Magisk] TheRealModder:
U need some KNOX core parts installed on your system, but i didn't remember what it is...
[Magisk] dorjan1976:
Thank you anyway, I hope somebody have this information for me . Regards
[Magisk] UltimaniumX:
That is exactly what I am using it for :(

Would there be any alternatives then?
[Magisk] Civilizen:
Hey :)

Maybe I'm missing something, haven't been here for a long

No more Reboot to Magisk S10 only reboot to recovery?
[Magisk] JhonataKFZ:
What files do I need to pass? to make SmaliPatch, in my data ERROR: Failed extracting classes.cdex, Sony Xperia Z1, Rom: CarbonROM Opal 9.0
[Magisk] A30NI_Y:
You may try another ROM which is "lighter" compared to HTC's own but the hardware itself is the limiting factor. With another ROM, you need to redo Smali.
[Magisk] trent083:
I keep getting the mock location class not found error, no matter what options ive got ticked, even run as administrator. Im running an S10+ on android 9 at the moment, and ive got no idea what im doing wrong (phone is rooted)
[Magisk] A30NI_Y:
Have you try booting in TWRP --> mount system --> run patcher again?
[Magisk] trent083:
Not currently running twrp, i patched the ap file via magisk and flashed it, that was about it

Im currently redoing that, so hopefully ill try it once the root process is finished
[Magisk] aNGERY:
Is anyone else having their phone restart at 3:00 am every day? Like you can set your watch to it. I changed the time on my phone and recorded it.

I wouldn't worry too much about it, but it's doing it on both my op7 and op7 pro.

[youtube]C-HNVFcS0BY[/youtube] - enabled, restarts

[youtube]yTde_Lu5Ffw[/youtube] disabled, and doesn't restart
[Magisk] Uzephi:
What did you patch? I am having no issues on a Pixel 3a running the December update.
[Magisk] aNGERY:
Secure flag and mock locations.
[Magisk] IanSaputra:
Help Me...

Can you help me	:confused:

fOmey @ XDA

Patcher version: 0.0.6.6

==> Detected java: 1.8.0_231

==> Dumped framework

==> Processing framework

==> Detected API: 24

!!! ERROR: Incomplete framework dump, required files missing.

You can try running the patcher while booted into recovery mode with /system mounted, it may fix this.
[Magisk] A30NI_Y:
Upload your framework folder.
[Magisk] IanSaputra:
How to upload the framework folder?
[Magisk] A30NI_Y:
Use a file manager that have root access, copy system/framework folder (all the files inside), zip it and upload to a google drive or any cloud drive and post the link here.
[Magisk] IanSaputra:
Its more than 299mb file size
[Magisk] A30NI_Y:
That is why you need to zip it. If that is the size after zipping, it is fine.
[Magisk] jimbo77:
Looking forward to it. The mock location (the only one I activated in my Note10+ running Android 10) does not seem to work either. The mock location is not being picked up
[Magisk] IanSaputra:
https://drive.google.com/file/d/18QWp40bAobXUbPPp-HsJubZAdPtcA2D9/view?usp=drivesdk
[Magisk] A30NI_Y:
What patch you need?
[Magisk] IanSaputra:
Service.jar

For

Mock Locations

Secure Flag

Signature verification

Signature spoofing
[Magisk] A30NI_Y:
Done.
[Magisk] IanSaputra:
Can you tell me how its work? But on my pc error?
[Magisk] A30NI_Y:
Have you try after connecting your phone, instead of clicking the ADB PATCH button, click the BROWSE button and point to the "framework" folder you have copied to your PC to do the patching?
[Magisk] IanSaputra:
Yes, i try that way but still error
[Magisk] A30NI_Y:
"!!! ERROR: Incomplete framework dump, required files missing."

Same error as above?
[Magisk] IanSaputra:
Yes. Its same...
[Magisk] ade.sultan:
Can anyone help me? Heres my framework folder, I just want to spoof pokemon go. I just cant seem to get past the location error. Please make me the flashable to spoof pokemon go?

https://drive.google.com/file/d/1w7skGkWHjL-ZLxF5Nw_bj9yCJPCEOzWi/view?usp=sharing
[Magisk] A30NI_Y:
I'm not sure what is causing it, maybe other can shed some light here
[Magisk] A30NI_Y:
Mock loc only
[Magisk] IanSaputra:
Ok thanks for helping me, i hope so :victory:
[Magisk] saddy101:
https://drive.google.com/file/d/1FwdzVUrmRasjuW6VfrQ7mkMgVQjVobXC/view?usp=drivesdk

Heres my framework folder. Please help!
[Magisk] kryosan:
[MENTION=1620550]fOmey[/MENTION], can you clarify please, does your tool fetch files via adb from /sbin/.magisk/mirror or from /system/framework? Would previously installed patch (also made by your tool) interfere with another try? Thanks!
[Magisk] emyaqin:
Could someone please help me here, I already tried everything but it still stuck at the "Executing prepatch check" for about 2 hours. I need to patch:

- Mock location

- Secure flag

- Signature spoofing

- Samsung Knox

Here's my framework folder, please help me..

https://drive.google.com/open?id=1kzpNPTqJdUJU_PQErTpmPUIz1bFt30x8
[Magisk] fOmey:
Technically yes, it would interfere.. but I have coded in so much error checking so if the patched files were created by the patcher it will recognise and know how to deal with them.

I wasn't aware "/sbin/.magisk/mirror" was a thing, so I might consider swapping over.. I think certain users use the patcher without magisk tho, so this might be a problem. I could always step over this by even more error checking, so will see.
[Magisk] kryosan:
[MENTION=1620550]fOmey[/MENTION], I think of next download [framework/services.jar/etc] logic:

1. check if magisk mirror path exist, and pull files from there (it would be 100% intact/mint/OEM/virgin),

2. if else, use old logic

Magisk itself acts like a file system overlay, mounting "mask" over original paths. When Magisk kicks in, it mounts unattended original system files to /sbin/.magisk/mirror. So when you remove or deactivate Magisk module, if there's no active modification of particular file left (or "remove that file" rule), original files kicks back.
[Magisk] Uzephi:
It might be something with secure flag. I don't have that one checked.
[Magisk] A30NI_Y:
What patch you need?

---------- Post added at 10:06 AM ---------- Previous post was at 10:05 AM ----------

The zip file give error when unzipping. Please redo.
[Magisk] emyaqin:
Here you go, sorry for the error,

https://drive.google.com/open?id=113ILBvUPsWvjps8DLfOujhWY7YMOrj7W
[Magisk] A30NI_Y:
Here you go.
[Magisk] emyaqin:
Thanks bro :good:
[Magisk] saddy101:
I need the smali patch!
[Magisk] A30NI_Y:
refer to OP :

PATCHES ::

Mock locations - Hide mock locations status, allowing apps like Pokemon GO to treat them as genuine location updates.

Secure flag - Allow screenshots/screensharing in secure apps.

Signature verification - Disable signature verification allowing modification/execution of signed system apps.

Signature spoofing - Enable signature spoofing app permission.

Recovery reboot - Reboot directly back into recovery from powermenu.

Samsung Knox - Bypass Samsung Knox trip protection, only confirmed working for secure folder.

High volume warning - Disable high volume popup dialog.

You want all above patches?
[Magisk] saddy101:
I need Mock Locations only i guess,need the patch for pog thats all!
[Magisk] A30NI_Y:
what android version your phone is running? There are missing folders/files in your framework.
[Magisk] saddy101:
Im using Android Pie!
[Magisk] emyaqin:
Yeah dude, we know it. We all came here for this, but please read and try everything first before you start screaming, :rolleyes:
[Magisk] A30NI_Y:
As mentioned, there are missing folders and files from your framework, you need to copy all (folders & files) from system/framework and upload it again for me to help you.
[Magisk] noidtrue:
I am encountering a issue with the fellow information :

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 52.0

!!! ERROR: Mock location class not found.

My android is 8.0

Magisk 20.1

HTC U11 Plus

PC side:

Windows 7 x64

JRE : 1.8.0

any help ? Thanks :)
[Magisk] A30NI_Y:
Refer to post #2, you may need to fully uninstall java and reinstall it.
[Magisk] Rikupan:
Have a problem, abd and second metod doesnt work for me, the second doesnt wok because when i select the folder for the framework in my PC the part of the selected patches disappears :/ (img link ht tps :// ibb.co/ zsmFf5k ) need help
[Magisk] redmx1:
Can someone please help me deodex and make a module with the mock locations patch, it's for a Galaxy s8 android 9, thank you in advance.

im getting this error...

!!! ERROR: El ejecutable especificado no es una aplicación válida para esta plataforma de sistema operativo.

!!! ERROR: The specified executable is not a valid application for this operating system platform.

!!! ERROR: Mock location class not found.

here is the framework file

drive.google.com/

open?id=1tL1NPmoleKcljC7TEsoyvZkfpyvMHqOw
[Magisk] wewenk:
does the signature spoofing and mock locations patch works for MIUI rom?

as my device updated Google Play Service to 19.8.31 it start rubberbanding. Tried to downgrade it though but still rubberbanding.

btw, is it success?
[Magisk] rling:
I have MIUI 10.3.17 by xioemi.eu

Smali patched and running Fake Joystick and no rubber banding whatsoever.

:D
[Magisk] JMARBEC:
Hi bro, could you help me with the module please. I need ... Mock locations, Secure flag, Signature verification and Signature spoofing...

I sent a message to the private since I cannot share a link because I'm a new user.
[Magisk] DotNetDeveloper:
Crash at Magisk Template Downloaded

Anyone experience the crash on "Magisk Template Downloaded"?

Mine was running fine last week, then I tried today, and it just crashed every time it get to that step
[Magisk] Mr.HiddenBug:
I got same issue, as it ran well yesterday night
[Magisk] DotNetDeveloper:
Glad I'm not the only one with this issue.

I should've backed up my patch before wipe out my phone :crying:
[Magisk] Richards Robin R:
magisk module is not created but every step is completed without error ?
[Magisk] keatliang2005:
6.5 download template just fine, where 6.6 stuck in 75% in admin mode, crashed when user mode.
[Magisk] engineer_james:
Same crash as others

Just saying, I'm getting the same issue as others, I was able to use the patch yesterday. Something's probably just a little broken, not trying to rush it, but very hopefully waiting for the patch. :)
[Magisk] Amithpaik:
Older versions

We're can i find older version of smali patcher.
[Magisk] UnnA^:
Has anyone figured out how to spoof in pokemon go flawlessly on android 10? Smali patcher sort of works but get a fair bit of rubber banding.
[Magisk] PriSoner6:
Same issue here. Crashes at "Magisk Template Downloaded 100%" and zip file isn't created.

Are there any download links to previous versions?
[Magisk] arjuna061:
hallo sir smaly patcher can't wrap to .zip right at 100% whether it's an error
[Magisk] Voltalia:
Same problem here, smalipatcher crash just after this step :

I: Copying unknown files/dir...

I: Built apk...

W: Could not find resources

And it didn't create the magisk file ..

Any help plz ?
[Magisk] Deses:
Hi [MENTION=1620550]fOmey[/MENTION]! I just wanted to know if there have been any further updates about location spoofing with updated Google Servcices on Android 10. I've been on 17.x.x.x for some weeks but things are starting to break down lmao.

I haven't tried myself or Smali Patcher 6.6 because the changelog did not mention anything about location spoofing (I'm using 6.5), so excuse me if this is already working and I wasn't aware of.
[Magisk] howdeedodat:
is there any update ?
[Magisk] Deenis666:
@f0mey error while generate magisk template?

i try every hour to patch my framework but still error
[Magisk] srg84:
Zip file doesnt create
[Magisk] narutog7:
I've tried numerous ROM's and other ways but it never creates the .zip module. It was working like a charm a week ago. Is it a server issue maybe? Please help!
[Magisk] howdeedodat:
minat smali bisa japri saya bang di tele :laugh::laugh::laugh:
[Magisk] SebaS-DG:
You can do it f0mey!, waiting for the android 10 fix.
[Magisk] Andry.MPD:
Need solution

Are you have solution for this issue??
[Magisk] Voltalia:
Same pb,

I try with 2 old version ( 5.8 and 4.9 ) but i get the same problem, file doesn't create after smalipatcher finished
[Magisk] Didgeridoohan:
You all are seeing this issue since [MENTION=4470081]topjohnwu[/MENTION] is tweaking how module installation works and is no longer hosting a module installer template.

[MENTION=1620550]fOmey[/MENTION] is going to have to update the tool to use the new installer layout before things start working again. Until then it's just to lay low and wait...
[Magisk] srg84:
[YOUTUBE]https://www.youtube.com/watch?v=5GTLvWtcjyE[/YOUTUBE]
[Magisk] ModifiedGamer:
Any EST on when it will be done by?
[Magisk] Uzephi:
f0mey is really good at updates. It is suggested to not ask for ETAs. We all have lives and when OP has time, he'll get to it.
[Magisk] derKoder:
smali not making magisk zip file

after hit the adb patch and smali work , but i didnt get the zip file for magisk
[Magisk] DevinN:
I just got a new phone for spoofing and your patcher no longer works. I'll toss into your beer fund if you get it fixed. :D LOL!!!
[Magisk] Andry.MPD:
Help me,...

Berapa nomor tele nya om??

Butuh banget nih...

---------- Post added at 01:07 AM ---------- Previous post was at 01:01 AM ----------

Can you help me to bro,...

Please, I need it,...
[Magisk] cristianodk:
Hi, can you help me, plz

i need Mock Locations and Signature spoofing and High volume warnings

in device xiaomi mi a3 android 9

https://drive.google.com/open?id=1h3fvmXPFlQpkTtXMbP62dY1WA-ictcXK
[Magisk] zamserv:
not working

hello, im using galaxy s7 edge custom rom android 7.0, i deodexed services.jar, used tool to make a patch for magisk, flashed via TWRP and didnt have any errors, but it seems like its not doing anything, still cant take screenshots from in secured apps like telegram, samsung browser private more etc..

edit:

my odexed services.jar

dropbox.com/s/99p8ycsxtn2yzzk/services.jar?dl=0

edit2:

Fixed! the problem was when i flashed via TWRP, after making magisk module i flashed via magisk and everything works now ^^ thanks!
[Magisk] Eng.Raman:
[MENTION=8774809]eyazrawk[/MENTION], below your patched module zip.
[Magisk] ZedAz:
https://drive.google.com/file/d/1Uk3vyrfYoJT4aTaxnMrKD8toGxj0BWzF/view?usp=drivesdk

Here's my 6P's framework folder. Could you please see if you can deodex the services.jar?
[Magisk] Beetle84:
Disabled signature verification works perfectly on Xperia XZ Premium, Oreo firmware (.51), thanks fOmey, greatly appreciated.
[Magisk] Eng.Raman:
[MENTION=8770846]shanto jack[/MENTION], your patched module zip.

Flash it via magisk manager or twrp recovery.
[Magisk] GroovinChip:
Does anyone have a Pixel XL (marlin) Oreo 8.1 zip they can share?
[Magisk] DeniTx:
I recommend that we keep this thread private password protected because people will find what we use and they will patch a new detection
[Magisk] rifkirich84:
smali patcher has stopped

dear fomey

i've got stuck in my computer running win7 pro 64 bit, smali patcher has stopped working !! do you have any idea with this kind of issue . (sorry if i ask a stupid question)

thanks

rifkirich
[Magisk] @ayahfachri:
I'm trying to deodex my self a Renovate NOTE 2.0 ROM using Fulmics Deodexer but error showing "bootclasspath not found". Am I missing something here?
[Magisk] Eng.Raman:
Yes, "bootclasspath not found" message refer to missing boot.oat in its normal path ( X:\FulmicsDeodexer_1.6\system\framework\arm64\boot.oat )

for "arm64 CPU arch. phones" OR ( X:\FulmicsDeodexer_1.6\system\framework\arm\boot.oat ) for "arm CPU arch. phones".
[Magisk] @ayahfachri:
There is no arm64 nor arm folder inside the ROM it self either, or am I missing something with FulmicsDeodexer installation?
[Magisk] Eng.Raman:
What is the cpu arch. of your phone ?
[Magisk] @ayahfachri:
I believe it is arm64, Samsung Galaxy 7 Edge Exynos.
[Magisk] Eng.Raman:
Okay, you will find boot.oat file in your phone ( /system/framework/arm64/ ) copy it to your PC ( X:\FulmicsDeodexer_1.6\system\framework\arm64\boot.oat ) and run fulmics tool.
[Magisk] GroovinChip:
[MENTION=5818781]Eng.Raman[/MENTION] any idea what I need to do for Pixel XL on 8.1 stock ROM? Deodexing fails for me
[Magisk] @ayahfachri:
Apparently there is no arm64 folder in /system/framework/ but there is in /system/framework/oat/arm64 and from there, only one file appear which is services.odex instead of boot.oat
[Magisk] Eng.Raman:
What is the error message?

Are you failing with both methods ( Fulmics / Backsmali )?

---------- Post added at 03:28 AM ---------- Previous post was at 03:20 AM ----------

Use any file manager app ( e.g root explorer ) and search for boot.oat in ( /system/ ).
[Magisk] @ayahfachri:
I'm using MT Manager and searched for boot.oat in /system/ but can't find any.
[Magisk] Eng.Raman:
Are you sure, that's abnormal. Anyway, create an empty new folder named system in your PC ( X:\FulmicsDeodexer_1.6\system ) then copy the framework folder from your phone to your PC ( X:\FulmicsDeodexer_1.6\system\framework ) and run the fulmics tool, this is the correct method for using FulmicsDeodexer.
[Magisk] roxdragon:
there isn't a flashable zip directly?i can not decompile and recompile

I want capture screenshot of coinbase app or banking app. But android say: it blocked by organization. Help pls
[Magisk] cristianodk:
Alguien mas tiene el error de que se cierra el smali patchert?

*

Anyone else have the error that the smali patchert closes?
[Magisk] cristianodk:
Me podrian compartir la version anterior 0.0.6.5, personas en youtube si les funciona esa version, y no se crashea la aplicacion al intentar finalizar

*

Could you share with me the previous version 0.0.6.5, people on youtube if that version works for them, and the application will not be crashed when trying to finish
[Magisk] shawgluz:
Why?

Firma con problemas:

Nombre del evento de problema:	APPCRASH

Nombre de la aplicación:	SmaliPatcher.exe

Versión de la aplicación:	0.0.6.6

Marca de tiempo de la aplicación:	5df3e7a1

Nombre del módulo con errores:	KERNELBASE.dll

Versión del módulo con errores:	6.1.7601.18015

Marca de tiempo del módulo con errores:	50b83c8a

Código de excepción:	e0434352

Desplazamiento de excepción:	0000c41f

Versión del sistema operativo:	6.1.7601.2.1.0.256.1

Id. de configuración regional:	2058

Información adicional 1:	0a9e

Información adicional 2:	0a9e372d3b4ad19135b953a78882e789

Información adicional 3:	0a9e

Información adicional 4:	0a9e372d3b4ad19135b953a78882e789

---------- Post added at 06:04 AM ---------- Previous post was at 05:58 AM ----------

No funcion, yo la tengo y se crashea cuando hace lo de magisk
[Magisk] A30NI_Y:
As mentioned by [MENTION=4667597]Didgeridoohan[/MENTION] a few post above, the Smali patcher is currently not able to generate a module. Will have to wait for [MENTION=1620550]fOmey[/MENTION] to update the pacther first. It's holiday season, be patience and Happy New Year to All!
[Magisk] howdeedodat:
already fix

u can send ur service jar
[Magisk] Chesaone:
So, right now smali patcher dont generate a zip file? Because I have the same problem that I user say recently. Smali patcher closed when download magisk template reach 100%. I check all, firewall, net version, privileges and I dont see the problem.

I cherish if someone can confirm if it is a problem smalipatcher itself or mine.

Thanks
[Magisk] r3n4ld:
My smalipatcher is complete, but no generated in the same directory as "SmaliPatcher.exe" named: "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip in my PC.??
[Magisk] howdeedodat:
thats great, cuz we all facing force close exe file

---------- Post added at 10:41 PM ---------- Previous post was at 10:39 PM ----------

u not the one who facing that problem i guess
[Magisk] StormDoc18:
help guys

i have a problem with smali patcher. No errors showing during the process, but when arrives to ''magisk template download complete'' smali patcher turn off and i have just the folder of smali patcher with adb,apk,bin and tmp folder, and smali patcher app. Always worked on this pc in past. Same with different devices. Solutions? thanks
[Magisk] JeanCrane:
I don't get the zip file at the end, help me plase

Hey guys, I don't know what to do, the process says it was completed but I don't get the zip file generate :(
[Magisk] kitty035:
The directions I followed are the ones found in the first post.

INSTRUCTIONS (ADB METHOD/AUTOMATED - RECOMMENDED):

COMPATIBLE WITH BOTH ODEX & DEODEXED ROMS! WILL AUTOMATICALLY DEODEX REQUIRED FILES IF NECESSARY.

Backup device.. safety first kids.

Enable USB debugging in developer settings on your device and connect via USB to your PC.

Authorise USB debugging connection on your phone.. example of popup.

Run "SmaliPatcher.exe", First startup will automatically download the latest necessary binary's.

Select your desired patches.

Hit "ADB PATCH" button (yes without browsing for a .jar file).

Once the process has completed, magisk module will be generated in the same directory as "SmaliPatcher.exe" named: "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip".

Install the generated magisk module either in recovery mode or from the magisk app.

Enable smali patcher module in magisk.
[Magisk] Didgeridoohan:
Since nobody cares to read what's previously been posted, I'll go ahead and post this again...
[Magisk] fOmey:
CHANGELOG ::

6.7

Removed "magisk-module-template" dependency.

Merry Christmas & happy new year.. hope you all have been enjoying the holidays!
[Magisk] simiganoschi:
Thank You for the update and for all the work done by you and others to create Smali Patcher :) Merry Christmas and Happy New Year!
[Magisk] headhunter18:
the zip file is not being generated ,what to do
[Magisk] rling:
Please have a read of the last few post. It explains why, and F0mey has just updated it to fix it.

Cheers
[Magisk] MuerdePergolas:
Yeeeeeeeees, fOmey updated the tool and now is working well! THANKS! It was driving me crazy
[Magisk] A30NI_Y:
Mock loc, Secure flag, Sig ver, Sig spoof
[Magisk] A30NI_Y:
Mock loc, Sig spoof, High vol
[Magisk] amit_aks_007:
Error on Mi A2 Android 9 TWRP Rooted, please help

Hi,

I have tried everything but have received the below error every time.

Need patch for Mock Location for PoGo Spoofing.

Framework folder is here: https://drive.google.com/open?id=1iGdHTqCxdWlyYwLlbi8504xEjwGTh-QW

Some one please help...

fOmey @ XDA

Patcher version: 0.0.6.7

==> Binary download complete

==> Unpacked binarys

==> Detected java: 1.8.0_231

==> Dumped framework

==> Processing framework

!!! ERROR: The specified executable is not a valid application for this OS platform.

I: Using Apktool 2.4.1 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

!!! ERROR: Mock location class not found.

Thanks...
[Magisk] amit_aks_007:
Can this be used on Mi A2 Android 9?

Hi,

Can I use this one on my Xiaomi Mi A2 Android 9?

Thanks...
[Magisk] A30NI_Y:
It's for a different model, so, not advisable.
[Magisk] A30NI_Y:
Mock loc
[Magisk] keatliang2005:
i am using MIUI 11 EU on Mi 8, using 6.7 version,

- mock location and secure flag.

tested secure flag worked, but the apps i tried to spoof still able to detect mock location...

the attachment is my patch module. can have a look is it properly patched ?
[Magisk] A30NI_Y:
Should not be the module's fault. It's your phone settings most likely. Which spoofing app are you using?