yashsingh1/xdaforums huggingface dataset:
[Magisk] Opin:
[MENTION=1620550]fOmey[/MENTION] Smali patcher v1.2 succesfully installed on magisk manager 552 & Magisk v15.1 but mock location still detected on my pokemon go please help me to fix it, thanks
[Magisk] nuv:
Hi again,

not sure if it does't work or if I'm doing something wrong; how to use the GPSSpoofer-0.2-fOmey_XDA app?

i tried:

- started app

- switched to dev options, enabled/chose GPSSpoofer as mock locations app

- switched back to app, set a red dot on the map

- switched to google maps (blue dot still on real position)

- multiple switches between GPSSpoofer GMaps

- in GPSSpoofer, the fake position got a blue dot instead of the red one

- in GMaps and Here, the position was still on the real position

edit: Android 7.1.1, Magisk 15.1

edit2: seems that I've found my mistake: changed location mode from 'High accuracy' (GPS, Wifi,BT, mob. net.) to 'Device only' (GPS) in settings.
[Magisk] tom.android:
How to patch Signature spoofing manually?

How to patch Signature spoofing manually? Cause Smali patcher 1.0 ERROR: Mock location path not found.
[Magisk] Duden17:
Hello All, I try to patch my service.jar but show error that it should be deodex file. I have deodex my odex service.jar. please help if you know how to fix it. Thanks
[Magisk] Flint2:
I know, you need to deodex it using the tools described in OP.

After extracting system files from ROM using https://github.com/matriex/System_Extractor-WIN

I was using Fulmic but now is quicker to use script to do it manually, something like:

cd system

cd framework

java -jar ..\..\baksmali-2.2.1.jar x oat\arm64\services.odex -d arm64 -o tmp

java -jar ..\..\smali-2.2.1.jar a tmp -o classes.dex

java -jar ..\..\apktool_2.3.0.jar -f d services.jar

move classes.dex services.jar.out

java -jar ..\..\apktool_2.3.0.jar b services.jar.out

dir services.jar.out\dist\services.jar
[Magisk] ixfrost:
which android verison are you using?
[Magisk] A30NI_Y:
Download the correct module with your corresponding username, don't flash the wrong one as it may cause bootloop. Patches are done according to what you have requested
[Magisk] A30NI_Y:
Yes and no, working fine on some devices. You should give it a try to know for sure

Which Magisk version you are using? Try using a previous version of Magisk

It's basically safetynet failure in Magisk, try an older version
[Magisk] aitormix:
8.1, my ROM is Oxygen 5.1.1, stock on OP5

But my Magisk pass the safetynet check.
[Magisk] A30NI_Y:
AFAIK the latest Magisk version 20.4 will have intermittent safetynet failure. Try checking the safetynet test for continuous 5-6 times
[Magisk] aitormix:
I tried and it pass always.
[Magisk] A30NI_Y:
Have you rename Magisk manager and TWRP folder? Anyway this really the game detecting root I think. Try removing the Smali module and run the game, if you are still facing the error, then it's not the module
[Magisk] sekk:
I want only mock locations. If I'm teleported to the right place, so the module os working? Or I must see anything else?
[Magisk] A30NI_Y:
Some devices may have experience rubberbanding with mock location, if you don't see this in your device, then it's working, nothing more to see
[Magisk] sekk:
the rubberbanding thing is on every device i think, even on my moto z2 play running oreo
[Magisk] A30NI_Y:
Not true. You should not have rubberbanding issue with the correct setups. Mine and many others don't have this issue.
[Magisk] sekk:
lol, it's said on OP that I may face rubberbanding, and I do face it even on android 8

edit. as rubberbanding I consider like: I want to teleport to another coordinate, it starts to teleport randomly until it gets there.
[Magisk] A30NI_Y:
That's not rubberbanding. Rubberbanding is when it jumps from real location and mock location continuously. The one you are facing is fine, it just trying to get to the mock location, if I'm not mistaken, this happened with older android version. From 9 onwards, it jump straight to the mock location.
[Magisk] qood:
20.4. I am trying 19.4 and no luck, same message. No errors on the desktop.
[Magisk] sekk:
gonna try it rn, I'll be back for feedback

edit. lol ur right, ot doesn't happen on a10

thanks dude
[Magisk] A30NI_Y:
When you mentioned dual boot slots, are you referring to A/B boot partition? If yes, I'm using a oneplus device with A/B boot slot without any issue on magisk 20.3, I might be wrong but is the zip file corrupted? Have you try flashing the module in twrp?
[Magisk] qood:
Yes, the system seems to be using slot A. I did eventually figure it out and get it working. Here's what I think went wrong: I bought the phone for spoofing, and set it up a few days ago, but my spoofed location kept switching to my real whenever I stopped moving the joystick. So, I tried systemizing the joystick app, but got an error, and after rebooting, it got stuck in bootloop. I had to find a special tool to get it out. Then, I re-formatted, re-flashed stock, TWRP/Magisk. Tried that a few times, no dice. Until I tried one last time, but this time I did not restore the phone from backup saved to my google account when going through the setup screens. I then set it up as I had originally intended, and it is finally working. There must have been something in the google backups that caused the issue.
[Magisk] melvinJones:
It's because Pokemon go is accessing your storage. You have to install storage isolation. (Riru core, riru core (storage enhanced) ) from magisk modules
[Magisk] Chuytl:
hello can someone help me with my patch?, to generate it

when ever can be done, I don't like to ask for this but im sitll without pc

thanks in advance

heres the link its zipped framework and build.prop

https://drive.google.com/file/d/18TSXlTw9NJybJAD8X7cBTgp14sqbBKUI/view?usp=drivesdk

i only need mock location and if it can be done the signature spoofing but if can't be done only mock locations please
[Magisk] fjason@iprimus.com.au:
so I reset my phone and went to use the smali patcher tool everything went fine but when I check if signature spoofing is enabled it's not and im not sure why anyone got any ideas what can make it not work
[Magisk] A30NI_Y:
The link is dead
[Magisk] Johnse7en:
Hello. Could you make smali for me. I only need mock location

Here the link. Sorry i am new here so i cant type a link

drive.google . com/file/d/1-0HAdgca8sEEl4jutRweym0BCqyJi4Bl/view?usp=drivesdk
[Magisk] A30NI_Y:
What android version on the phone? Smali patcher only support android 6 and above.
[Magisk] Johnse7en:
Thank you. Soory for waste your time. Have a nice day
[Magisk] dani971989:
anybody help me to patch mock location. i used cusrom havoc os running android pie. thanks

This is my build.prop and framework.zip file https://drive.google.com/folderview?id=1-9BwhYMi-w2NsOH5s-A3WlNQwBIaaVc6
[Magisk] ihavenolifee:
issues with mi 9

Using a Xiaomi Mi9 on EU Rom.

Wondering if the disable secure flag works on the MIUI versions. Seems like it does not.
[Magisk] A30NI_Y:
No problem, if it's android 5, you don't need to patch. Just use the spoofing app and point "select mock location app" in developer option to the actual spoofing app.
[Magisk] Anigill:
Problem with Redmi 4x

Hello! My Redmi 4x refuses to patch miui with a patch and crashes with an error Incomplete framework dump, required files missing.

System is mounted, tried from under recovery, does not find the phone.

I am throwing you a link to the framework and build.prop, please make a module with checkmarks 1-4, please.

Thank you very much!

https://drive.google.com/open?id=1urqIjZ3JYRtK9yfKhUDivnPrUTQyhJ8h
[Magisk] akb2us:
signature verification

To be honest, this tool is very good and eazy to use. AND It's the best way to patch Android Pie i'v discovered.

So i patched my device follow the guide, everything goes well, the APP Lucky Patcher also confirmed signature verification has been disabled.

However, it doesn't seem to work. My device just cant install the Old version or Modified version of the application without removing the original app first.

NEED HELP

And its Flyme 8 based on Android Pie(9)
[Magisk] A30NI_Y:
Required files are definitely missing. Boot into twrp-->mount system-->file manager-->look for system/framework. Copy the framework folder to phone's internal (eg. download folder). Now reboot the phone and transfer the copied framework on the phone to the pc. While your phone is still connected, run the smaili patcher again and click the browse button to point to the framework folder (the one you've copied to the pc) and click patch. This will solve the missing files issue. Not sure why but this is a common issue with miui. If you still face problem just link the framework folder here again.
[Magisk] helcurt2ne1:
Please Help Me

Hallo, i need help bro..:) can someone help me to patch this service.jar..??

i dont have PC right now.. i need, mock location, secure flag, signature verification and spoffing.. thanks before, hope GBU

​
[Magisk] m.syam:
Hello ..

Some one can patch my service.jar please

Mock location only

This my service jar

https://drive.google.com/file/d/1-KnB2KP06oI7NrsCi-u_BmihIMR98i5-/view?usp=drivesdk

Thnx
[Magisk] ocansiomen:
Mantap

Mantap sekali sangat berguna bagi ojol kayak aink suwon
[Magisk] MiNotSmart:
Samlipatcher does not work

The phone is Xiaomi Note3. Android 9. I need to mock location. I followed the instruction. I run Smalipatcher as admin. No errors in logs. USB debugging is allowed. I installed the generated module in magisk app. Smali patcher is enabled in magisk. But rubberbanding occurs. The patch is here https:// drive.google.com/file/d/1i8r4Vnq9PTzouigcWg3aLc2nV5xI_sCm/view?usp=sharing

What can I do to troubleshoot?
[Magisk] A30NI_Y:
Would love to help but you need to understand that your services.jar is not deodexed unlike the one the person posted above your post. If you are not sure how to deodex your services.jar, send the whole system/framework folder instead.

It is working when you are able to mock your location, rubberbanding is an issue with phone settings. Read post #2 on the first page, fOmey has written down the instructions or do a search on this thread
[Magisk] m.syam:
oh my mistake soryy..

this my framework folder

https://drive.google.com/file/d/1-6E6cPxKLXPV4RFYE9UcGpFVFC_oG7-9/view?usp=drivesdk
[Magisk] A30NI_Y:
OK mock location only
[Magisk] m.syam:
thanks mate

:good:
[Magisk] Jens956:
My friend wants to install smali for his device but he's running into issues

1. His work pc doesnt give him admin rights for the module patching

2. Non admin will not work

3. His home pc is only a Mac, app seems to not work either
[Magisk] zefyx:
Working great on OnePlus 6T with Android 10!
[Magisk] A30NI_Y:
The patcher spit out an error but still successfully generated the module

"I: Built apk...

W: Could not find resources

0 error(s), 0 warning(s)

==> Merged patch:

1 error(s), 0 warning(s)

error: type 'com.android.server.pm.GeneratePackageInfoHook': (GeneratePackageInfoHook.java:0): target not found

==> Merged patch: sigspoof_core

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***"

I have tried to patch again without the signature spoofing option and it went through without any error, so I have attached both modules in here. Maybe [MENTION=1620550]fOmey[/MENTION] can take a look on it?

Ooops! It seems like you have already solved the issue, so just ignore this.
[Magisk] A30NI_Y:
You don't really need admin rights, I don't need to anyway. You can send the link to his system/framework folder here and I will help create a module for him. Just don't forget to mention what patch(es) he wants.
[Magisk] zefyx:
Thanks for your reply! I also received the error. If nothing else, your post may help someone else and/or get us more info on that.
[Magisk] sekk:
including apk signature verification?
[Magisk] InfernoCR:
Is there any predownloaded bin/adb/tmp ,downloading on smali is so long
[Magisk] Anigill:
Thanks!

The issue was resolved in the way you said, except that to copy the entire framework folder, you had to use Root Explorer, since TWRP refused to copy to external media.
[Magisk] TraderJack:
Update after security patch?

Am I supposed to be regenerating a new module after every monthly security update? Or should a patch I generated last month continue you work when I update to the April patch?

I don't want to try to enable old patch and get into a boot loop or anything.
[Magisk] jimbo77:
You should create a new one witch each update otherwise you'll end running an outdated Services.jar on your phone and if might break stuff along the way
[Magisk] Jens956:
System/framework? As in copying this entire folder?
[Magisk] A30NI_Y:
Yes, either with a root explorer or boot into twrp-->mount system-->file manager to copy the framework folder to the internal storage in the phone before sharing it. Must be the entire folder
[Magisk] Jens956:
Okay i found out to do it myself, i can use my phone instead of his for manual patching?
[Magisk] JocaOUnicorno:
When i am putting the module in magisk, it says "this zip is not a magisk module!" so it doesnt install.

What do i need to do?
[Magisk] A30NI_Y:
Yes you can
[Magisk] Johnse7en:
Well i bought an old phone j7, use cook rom linegae os. If you get freetime could you make smali for me. Link update here. Thanks for your help

drive.google . com/file/d/1-LO7-OLd3dX5IomdLzTnaH3s_CnBK75n/view?usp=drivesdk
[Magisk] A30NI_Y:
Mock location and secure flag
[Magisk] InfernoCR:
Would you like to make me a patch?

https://mega.nz/file/iHh3wQSK#b5J3SRr2xq0JGt8ajfTKqb0dC7B9OriVaLfxzq9Jmuc

All patch except the device-specific one
[Magisk] A30NI_Y:
All pacthes except for samsung devices
[Magisk] Shem93:
help

someone please help

patch my service jar

https://drive.google.com/file/d/1--iURWOZb9tde2ZI44VVj-dbg9Os0icj/view?usp=drivesdk[/url]

i need mock location parch

i dont have a pc

thx
[Magisk] Shem93:
tanks
[Magisk] Astranzen:
Please! Help me somebody

Patch my service jar

https://drive.google.com/open?id=1l01ggeIxny7jIt-9ZIq9VPKh9KuIatb9

I need mock location, secure flag, signature verification, spoofing and high volume warming

I have a broken usb port in the phone and the computer does not see it. I tried to do it myself via WiFi ADB, but Smali Patcher does not respond
[Magisk] JocaOUnicorno:
help

When i am putting the module in magisk, it says "this zip is not a magisk module!" so it doesnt install.

What do i need to do?
[Magisk] Qwertyxcvbnm:
Smali patcher doesn't work for me (location spoofing)

I used .exe to make .zip (everything ok). Then added to magisk - ok. Rebooted. Everything seems to be ok, but I can't use the location: at first, it was rubber banding back. I rebooted again. Now it doesn't even work.. Tried different spoofers (as a non-system app, then as a system app - didn't work neither)

Xiaomi Mi A2 Lite - Android 9 (Pie)
[Magisk] Aqua XD:
Thanks dev for sharing!

Knoxbypass is not working for me. Secure folder shows "can't create secure folder" message?

anyone has any idea how to bypass it (Android10)
[Magisk] rcnitropowered:
Patch only work on S9 and below not S10
[Magisk] A30NI_Y:
All 5 patches you requested
[Magisk] A30NI_Y:
Attached the module here, i'll take a look

---------- Post added at 10:14 AM ---------- Previous post was at 10:10 AM ----------

Which spoofer app you were using? And if you systemized the app, you don't need smali module
[Magisk] shenflume:
stuck at bootloop

Redmi note 4 SD , Android 7 , MIUI 11

---------- Post added at 09:33 AM ---------- Previous post was at 09:26 AM ----------

Stuck in bootloop after installing the module

Redmi note 4 SD, Android 7 , MIUI 11 , Magisk 20.4

Maybe the module is no longer compatible with the new firmware?
[Magisk] Didgeridoohan:
Did you create a module by patching the service.jar from your device, or did you just pick one at random from the thread? If the file doesn't match your device, you'll end up with a non-functioning device...

Edit: There are pretty clear instructions in the OP on how to create a module for your device.
[Magisk] shenflume:
I did pick one randomly from the thread. I am so sorry for being complete tech idiot as I have no knowledge about root and module thingy. I fixed the error: failed to copy '/system/framework/miuisdk.jar' to 'framework\framework\miuisdk.jar' while copying my framework and patched the service.jar from my device. I am really thankful for this community.
[Magisk] Stillhard:
Sir, this one made my day, honest man of the day :o
[Magisk] Aqua XD:
Actually, I am using galaxy a50. The knox bypass patch doesn't support the a series??
[Magisk] nikkali25:
Good day sir..kindly a free person can patch me for mock location and flag secure..thank you in advance

Samsung a50s

Android 10

Here is may framework

https://drive.google.com/file/d/1gliUSiNR0l4-xRTQqQJu4tLfJ94EdLm8/view?usp=drivesdk
[Magisk] WololoadRaider:
Hi, I'm on a Redmi Note 5 Pro with MIUI 11.0.3.0 after updating the system and now can't do the Smali part of the process. I get

"fOmey @ XDA

Patcher version: 0.0.6.7

==> Detected java: 1.8.0_251

!!! ERROR: No ADB devices found."

Yes, I have debugging enabled and yes I selected TRANSFER FILES before rebooting the phone when connected it to the PC before entering Fastboot

Any help, please?
[Magisk] A30NI_Y:
Refer to post #5428
[Magisk] A30NI_Y:
Mock loc and sec flag

WRONGLY QUOTED. MY BAD
[Magisk] WololoadRaider:
Thanks! Will check that post later and see if I can solve it. I see that you've attached a file though, is that the SMALI patch ready to be transfered to my phone without having to do the workaround from that post?
[Magisk] nikkali25:
Good day sir kindly help me again for my patch.please
[Magisk] A30NI_Y:
Sorry, the patched module is meant for someone else. I have quoted wrongly. DO NOT USE THE MODULE!

You check out the post I mentioned to help solve your issue.

Without your framework folder, I'm unable to make a module, so it meant that the module was not for you. Sorry for the confusion!
[Magisk] A30NI_Y:
Post #5450 module is meant for you. Anyway here it is again
[Magisk] masdon:
Hi, please help me build smali module. I using realme 2 pro, os color 6, android 9, c28

here my framewrok:

drive.google.com/drive/folders/1JWb6-FcpVaFBMoUy-7hDflZ4L1GFnzra?usp=sharing

Thanks in advance

*this my first post :D
[Magisk] nikkali25:
Thank you again
[Magisk] A30NI_Y:
There are 7 patches available for the module, which patch you want?
[Magisk] masdon:
best fit for pokemon go?

ummm.. mock location and high volume warning is enough?
[Magisk] A30NI_Y:
Why is there a framework folder within the framework folder? I haven't seen this before. I presume you have accidentally copy the framework folder into itself, so I have deleted it in order to patch. Mock location, Secure flag and High volume.
[Magisk] masdon:
woopp bootloop. maybe it's not compatible with rom for magisk?
[Magisk] A30NI_Y:
You might want to try a different rom then
[Magisk] masdon:
ok let i try another rom
[Magisk] nikkali25:
Good day sir the modules does not work on mock location.is it not compatible in adndroid 10?
[Magisk] masdon:
okay my smali success build module mock location with rom stock realme v c26. android 9. and latest magisk 20.4

but any problem,

-sometimes deep sleep and no response power button, only wall charger

-LCD freeze and I press hold vol + & power.

Its for pokemon go thank you :D
[Magisk] A30NI_Y:
It is compatible to android 10 as I have updated my phone android 10 a week ago and it is working fine. What do you mean by not working?

---------- Post added at 06:43 PM ---------- Previous post was at 06:39 PM ----------

I have no idea what causes those problems, you might have better luck asking in forum specifically for your device
[Magisk] WololoadRaider:
Alright, no problem!

I wanted to try the solution provided on the post you mentioned but can't even get through the first step as I get no device attached when checking with "adb devices" so "adb shell" gives me "error: no devices/emulators found" either at fastboot or at TWRP mount with Cache and System mounted (a detail is that I see no "data" to mount, I don't know if that's relevant).

Also, don't know if it's normal, but as soon as I boot into TWRP, i get asked for a password, I just ignore it and go to the main screen with the back button, but could that be indicating some issue?

If I couldn't do this by myself, how could I provide you my framework folder? How do I get it?

Thanks in advance!
[Magisk] Duncii:
Sm-j610fn\ds

smalipatcher doesnt seem to like the SM-J610FN\DS (J6+)

i get stuck by prepatch tried other USB ports and diffrent cables.

I rooted it via this guide: https://xdaforums.com/galaxy-j6+/development/recovery-twrp-3-2-3-1-galaxy-j6-j610f-t3875150

im running android 9 with security patch 1-nov-2019.

and im using "ADB PATCH" method.

any tips are welcome
[Magisk] A30NI_Y:
The problem is your pc do not recognize your phone. Did you install the phone's adb drivers? And for twrp asking for password, it shoud be your phone screen unlock pin, have you try that? In twrp, once you mount system, do you see the system/framework folder using the twrp file manager? If you can see the framework folder in twrp, copy that folder to the internal storage.

What was the error you see when stuck in prepatch?
[Magisk] lapwat:
Where is the source code for this app?
[Magisk] WololoadRaider:
Yes, I had installed the adb drivers and I had tried my phone screen unlock pin, and also disabling the screen lock without luck. Also tried already wiping and formating data, that allows me to mount data but still no luck with Smali.

When I check "adb devices" I get "adb version (41) doesn't match this client (39); killing". I exhausted all my possibilities as a noob, don't know what else to do.

Tried to copy the framework folder but I can't find the internal storage to copy it to, is it because the data encryption doesn't allow me?
[Magisk] amg314:
All you need to copy

/system/framework

to your PC is Android ADB 8.7

https://totalcmd.net/plugring/android_adb.html
[Magisk] Duncii:
Im stuck on "pull: building file list"

And then get the error "Failed extracting classes.cdex"

Ive a video onit. If that may help?

Greetings, duncii
[Magisk] ToonBeamZ:
I am getting mock location class error

Can anybody body help me??

I have realme 3 Android 9 color os 6

Rooted with magisk
[Magisk] WololoadRaider:
Tried that but in the requirements it asks for Wifi ADB, which needs a rooted phone and superuser access for permissions, and mine isn't it seems.

Also just tried using an external SD card to transfer the framework folder from TWRP, and I got this response..

"""Failed to decrypt data.

Unable to decrypt with default password. You may need to perform a Format Data.

Updating partition details...

...done

Unable to mount storage

Failed to decrypt data.

Full SELinux support is present

Unabe to mount /data/media/TWRP/.twrps cd "/system/framework" && cp -R "/system/framework" "/external_sd" process ended with ERROR: 1"""
[Magisk] m.syam:
Help

Someone

Please help me I don't have a pc

To patch my framework folder

https://drive.google.com/file/d/1--gqNVsCqJACkjyz4Ngp9sPyUFr8BIyB/view?usp=drivesdk

I need mock location patch

Thx
[Magisk] waqas2660:
I can confirm s9+ exynos variant running Android 10 using somali patcher secure folder version 1.4.01.66 working.

Not working for S20 ultra exynos version with secure folder version 1.4.01.66
[Magisk] Kris Chen:
Does this app have capability of stripping an app root detection ?
[Magisk] ErriK89:
Hi all, I noticed that the issues we faced at the end of last year with google play service above 19.5.30, android 10 and smali patched is no more present. With latest play service fake gps is properly stream in fusedlocation even using android 10 and latest play services (20.x.y...).

Anyone knows what happened?
[Magisk] amg314:
Just copied system/framework to an external_sd in TWRP.

1. Mount -->/system

2. Advanced --> File Manager --> select folder, copy, select external_sd as destination.
[Magisk] fab_ge:
I'm stuck on

I: Built apk...

And

Magisk Template Download: 94%

Are there any workarounds to get Smali Patcher finish the job or any other solutions:confused:

Thanks
[Magisk] WololoadRaider:
That's exactly what I tried to do but I got the error I mentioned. Don't know what else to do