yashsingh1/xdaforums huggingface dataset:
[Magisk] TheBuduLord:
Hi devs, sorry for interrupt. I have some problems while patching it here. I choose all three patch and run the patcher, However it suddenly stops and saying jar is not deodexed. When im untick all 3 patch and run the patcher, it runs well until completed. The problems only happens when I choose all or either one of the patches.

Im using samsung note 4 with custom deodexed rom :crying:
[Magisk] Veid71:
Has anyone tried this on the Google pixel XL? Also when I download it and try to open it it tells me it can not be open ed
[Magisk] DodoGTA:
[MENTION=1620550]fOmey[/MENTION] Sir, when Smali Patcher on Linux and Android devices?
[Magisk] Dante Enoshima:
um, is this tool still not compatible with nougat's services.jar?
[Magisk] Lukyczk:
The patch button doesn't do anything at all.

Edit: nvm, restarting the program fixed it
[Magisk] AvisAile:
HI !

When I extract my zip rom, I don't see any "system" folder ... (It's pixel ROM for nexus 5)...

Any ideas ?

Thanks.
[Magisk] DodoGTA:
This thread will help you out: https://xdaforums.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952
[Magisk] flyfire04:
Copy the systems folder from your smartphone. (I copy it to the download folder, zip it, copy it and unzip it on the computer).

use Fulmics Deodexer (xda), download smali and baksmali from here https://bitbucket.org/JesusFreke/smali/downloads/ point fulmics deodexer to those files in the settings. Look for your systems folder with fulmics deodexer and only tick the frameworks box (the other ones are unneccesary for this task). then proceed with the smali patcher :)
[Magisk] Spartacus500:
[MENTION=1620550]fOmey[/MENTION]

I can not start your program. Can you make this pacher for me on my services.jar file so that I can put it into the framework system? My file with S7 edge nougat 7.0 Stock.

https://files.fm/u/j388jjj5
[Magisk] A_Random_Guy:
Tested on Oreo and it works great
[Magisk] adhd_1977:
The app crashes after i hit the start making path button on windows 10.. any help ??? Got the bins downloaded and my services.jar loaded in youre app/program.
[Magisk] matssa:
OP5 is on Nougat, so I don't think this will work.
[Magisk] ckiddtilley:
This works great. One question though, how do I switch between getting the app to teleport and making it run to the destination? I've somehow made the switch between the two, going from a blue dot on the map to a red one but no idea how i did it.

---------- Post added at 01:21 PM ---------- Previous post was at 01:12 PM ----------

Nevermind I think I've got it now. Just long press to walk to destination. I'm guessing you've built something into the app to not teleport long distances? One last question. What settings for step distance and step delay correspond to what speeds?
[Magisk] PokemonTotalWar:
Two questions.

First, I've seen two mentions of Snapchat on this thread, will disabling Secure Flag prevent Snapchat from detecting screenshots?

Second, is there any chance you can reach out to the Wakeblock team, OP? People have been asking about Wakeblock for Magisk for quite some time now and I think you might be able to help them out. I'm not sure if they use smali matching for what they do, but it's work a look.

Thank you!
[Magisk] John-W:
For everyone with rubber banding problems, I found a solution without deactivating fused location.

Clear google maps cache, remove the gps permission from it and restart your phone.
[Magisk] mildi2000:
This works for me :svetius:
[Magisk] firozpatel:
I have attached the services.jar file
[Magisk] fOmey:
That's right.. long press to walk.

Regarding speed I don't know.. There two seperate values depending what you set to your distance and delay will determine your speed.

Delay is the delay between each step, distance how large of a step..

Try this.. experimental so backup first.
[Magisk] ExpertMC:
Hi there, I am trying to use this tool on Window 10 but the application keeps not responding after I click patch. My device is Nexus 6 with LineageOS 14.1 with Magisk v14 and Xposed v87.3 systemless. My services.jar seems to be deodexed because it has classes.dex inside.
[Magisk] firozpatel:
Still on my banking app says " unable to screenshot, security policy"

Try this.. experimental so backup first.[/QUOTE]

---------- Post added at 10:19 PM ---------- Previous post was at 10:16 PM ----------

Still on my banking app says " unable to screenshot, security policy"
[Magisk] fOmey:
Refer to the requirements on the original post.
[Magisk] fOmey:
Are you in "secret mode" or "private mode" ?
[Magisk] ExpertMC:
I have double checked that I have the .NET framework 4.7 and the latest Java JRE. The same problem persists. It doesn't show anything in the console log in the tool, it just stops working.
[Magisk] fOmey:
Any errors codes or messages ?

Do you have a over protective antivirus running ? Firewall ? tried running as administrator ?
[Magisk] ExpertMC:
Here is a quick video of everything. I'm not sure what's happening

https://youtu.be/n_wwwrIxwSs
[Magisk] fOmey:
Open a cmd window and type "java" without the quotations.
[Magisk] ExpertMC:
Thank you, I was being an idiot and didn't have java in my path variable. Thank you!
[Magisk] warfab:
Could you do the same for mine? Can't get screenshot to work with Netflix
[Magisk] anndrenaline:
Has this helped so far for flags in Pokemon Go? Also since we have to modify the services.jar would it affect OTA updates?
[Magisk] firozpatel:
Privert mode is off
[Magisk] fOmey:
I can only speak for my own experience and I have not been flagged or banned.. however I don't teleport around anywhere, I move around naturally.

If you spoof and imitate normal movement, you won't be banned... it's that simple.

There you go, please backup first.. experimental patch.
[Magisk] firozpatel:
What would you like to try next, privert mode is switched off
[Magisk] aroblu94:
Hi all,

Yesterday I did this mod and created succesfully the magisk module using ADB method on my OP5 with Android Pie (stock Open Beta ROM).

The module works well, but my phone Is a bit laggy when this module is active.

Is anyone experiencing this to? Is there something I can do to solve?

Thanks
[Magisk] Phantom Thief:
What about when we try to use the adb and it says the target jar needs to be deodexed?

edit: Nvm avast was deleting some jar file
[Magisk] minos197:
How did you create this file? Used the adb method? Does it work on your device?

Op devices use the a/b partition scheme so it should not be straightforward.
[Magisk] fOmey:
That's fine.

The services.odex is now inside the APK.. so I don't think that's the cause of the bootloop.

More likely one of the patches causing it.. try generate a module with just mock locations patch active and report back.

A/B partition scheme doesn't effect the patcher.. it's irrelevant.

Clear cache & dalvik cache.. allow the cache to rebuild and your "lag" should be solved.
[Magisk] aroblu94:
I cleared both caches after I enabled the module, it didn't helped.. e.g. had to disable the long press on home button because it kept launching the Assistant even if I don't keep the button pressed.

Will wait two days and see if It helps.

Last question: if I update my rom I'll have to regenerate a new module, is it correct?

Thanks again for the great work :)
[Magisk] Flint2:
Before updating rom disable or delete module, or put Magisk in core only mode, or you may get a bootloop.

If you forgot to do it and got bootloop, you can flash CoreOnlyMode4Magisk that can do the trick

After update run SmaliPatcher and install new module.
[Magisk] BajaBlast4Life:
CoreOnlyMode4Magisk is a fix for the bootloop after flashing SmaliPatcher created zip file?
[Magisk] fOmey:
Any rom/upgrade that recommends a full wipe, you should consider generating a new module for it because that usually indicates major changes.

Major revisions.. 7.0 to 8.0 for example, new module.

This really shouldn't be necessary.

By upgrading/changing roms, your overwriting/removing magisk in the process... so you're going to have to reinstall everything anyway.

But hey if you want to be extra safe.. why not.

CoreOnlyMode4Magisk is what the name suggests, it disables everything but the core of magisk.. so if a module is creating a bootloop, using CoreOnlyMode4Magisk should fix it.
[Magisk] rawika:
This indeed prevents the bootloop (so sig spoof is the cause).

After testing with pokemon go I figured out that it shows error 12. So mock locations isn't hidden by Smali patcher.

And sometimes Pokemon go just forcescloses after it finishes loading. Logcat shows me that pokemon go tries to access something that is broken and crashes out.

Link: drive.google.com/file/d/1TXcTLZIMejR89h59rsdM-q35PNpVicAy/view?usp=sharing

So it looks like it needs a different patch?

Is there something I can provide you to solve this?
[Magisk] Flint2:
I've searched for you, Read:

https://xdaforums.com/apps/magisk/module-core-mode-bootloop-solver-modules-t3817366

I used it once when dirty flash (as [MENTION=1620550]fOmey[/MENTION] said, if you wipe data will not happen) new rom upgrade and forgot to remove SmaliPatcher before.
[Magisk] kittygotwet:
Hey,

Whenever I run the adb patch, smalipatcher doesn't create a magisk zip and it closes itself after "dumping..."

Edit: Java idk v8 worked and created the zip.
[Magisk] Syoenth:
I guess this doesn't work on custom roms, I tried to apply the patch and always get a bootloop
[Magisk] negroxxx:
This work perfect this galaxy project rom by s7/s7 edge
[Magisk] txp-phoenix:
I Have a Little Problem, Smali Patcher will close every Time i Try to Patch the Services.jar i i copy the file from twrp to pc ore try to Auto Patch it will not works
[Magisk] jacopoBergamo:
Hi to all

i have a mi a 2lite with stock rom and pie - magisk root ang GPS location faker for system location,

i have create the magisk module and after instllation it nothingh change don't work and pokemon go give me no segnal error

if i disable in the fake GPS "Disable Location Service" so with or without the module Smalipatcher pokemon go work

so this module not work for me someone have feedback please
[Magisk] jharneparg:
I'm trying to patch a Sony Xperia L1 running Android 7, but keep getting the same error. Can anyone help?

fOmey @ XDA

Patcher Version: 0.0.3.4

system/build.prop: 1 file pulled.

* daemon not running; starting now at tcp:5037

* daemon started successfully

pull: building file list...

/system/framework/: 325 files pulled. 14.0 MB/s (267186326 bytes in 18.174s)

==> Dumped framework

==> Detected API: 24

java.lang.UnsupportedClassVersionError: org/jf/baksmali/Main : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(Unknown Source)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: org.jf.baksmali.Main. Program will exit.

Exception in thread "main"

==> Deodexed services.jar

!!! ERROR: Mock location class not found.
[Magisk] Genetik57:
[MENTION=1620550]fOmey[/MENTION] does not work with my OP6

OnePlus 6 (OxygenOS)

Model: A6003

Version 9.0.3 (Android Pie)

odexed

Magisk v18

With this in systemapp -> https://play.google.com/store/apps/details?id=com.theappninjas.gpsjoystick

Java 8u201 (build 1.8.0_201-b09)

fOmey @ XDA
Patcher Version: 0.0.3.4
==> Binary download complete
==> Unpacked binarys.
* daemon not running; starting now at tcp:5037
* daemon started successfully
pull: building file list...
/system/framework/: 572 files pulled. 16.6 MB/s (291659324 bytes in 16.759s)
==> Dumped framework
[INFO] Processing 1 file(s) from bin\services.vdex
[INFO] 1 out of 1 Vdex files have been processed
[INFO] 1 Dex files have been extracted in total
[INFO] Extracted Dex files are available in 'bin'
bin\compact_dex_converter: 1 file pushed. 23.8 MB/s (5087392 bytes in 0.204s)
bin\classes.cdex: 1 file pushed. 34.6 MB/s (11371232 bytes in 0.313s)
Opened '/data/local/tmp/classes.cdex', DEX version '001'
/data/local/tmp/classes.cdex.new: 1 file pulled. 33.9 MB/s (11873464 bytes in 0.334s)
==> Extracted classes.dex
I: Using Apktool 2.3.4 on services.jar
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
==> Patched mock location boolean
==> Patched mock location boolean
I: Using Apktool 2.3.4
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
W: Could not find resources
info: read 'tmp\dist\services.jar'
info: read 'bin\sigspoof_7.0-9.0.dex'
info: type 'com.android.server.pm.PackageManagerService': method '<init>():void': (PackageManagerService.java:28): implicit ignore of trivial default constructor
info: write 'classes'
0 error(s), 0 warning(s)
==> Merged patch: sigspoof_7.0-9.0
info: read 'tmp\dist\services.jar'
info: read 'bin\sigspoof_core.dex'
info: type 'com.android.server.pm.GeneratePackageInfoHook': method '<init>():void': (GeneratePackageInfoHook.java:35): implicit ignore of trivial default constructor
info: write 'classes'
0 error(s), 0 warning(s)
==> Merged patch: sigspoof_core
==> Magisk template download complete
==> Generated magisk module zip file
*** Complete ***

Best regards
[Magisk] TataFionPatte:
[MENTION=1620550]fOmey[/MENTION]

Hi,

I tried to patch with ADB method on:

Xiaomi Redmi Note 5

Model: M1803E7SG

Stock rom: MIUI Global 10.0.6.0

Android 8.1.0

Magisk v18

But everytimes after dumping framework at 100% it closes itself.

- Windows 10, 32 bits. Java Version 8 Update 201 installed.

- I am running Smali Patcher with admins rights.

- USB debugging activated and authorized.

Logs:

fOmey @ XDA
Patcher Version: 0.0.3.4
pull: building file list...
adb: warning: stat failed for path /system/framework/miuisdk.jar: No such file or directory
adb: warning: stat failed for path /system/framework/miuisystem.jar: No such file or directory
==> Dumped framework

On the bottom corner it's says: "Excracting vdex" before closing.

Should I try the second method ?

Thanks for help.
[Magisk] Ikkegwn:
error time: normal adb: !!! ERROR: Framework directory not found.

with services.jar (deodox): I: Using Apktool 2.3.4 on services[2].jar

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

!!! ERROR: Mock location class not found.
[Magisk] teuf.premier:
Doesn't work on my Samsung S4 5.0.1

Hello,

i'm new with all this stuff and i can't make it work on my smartphone.

I put my device back on factory store.

Install TWRP recovery and magisk V18.

It worked fine.

Now i trying to use Smali Patcher 3.4 but i get the error:

==> Detected API: 21

Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException: Unsupported oat version: 39

at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:120)

at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:149)

at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:162)

at org.jf.baksmali.Main.main(Main.java:102)

==> Deodexed services.jar

!!! ERROR: Mock location class not found.

Someone can help me?

Thanks in advance
[Magisk] SebaS-DG:
Using this patch with pokemon go, seems to put my gps in search mode all the time I'm playing. So, what about the battery???
[Magisk] shu151:
same problem with oneplus 6t. With the active module the phone becomes slow, if the module is deactivated everything returns to normal. any suggestions?
[Magisk] ShadowVlican:
Thanks for the hard work, have a beer on me!
[Magisk] Ra7manoof:
I have a problem with xiaomi 5 plus , I run the patcher at the beginning it gave my errors then write done successfully, when I flash the out put file my mobile stuck at the boot screen, any help please
[Magisk] Destio:
Samsung A5 2017 won't generate file

My rooted Samsung A5 won't generate a zip after running the patcher
[Magisk] fOmey:
Make sure your running the latest java.. once you solved that issue, re-run while booted in recovery mode with /system mounted.

What doesn't work? That looks like it worked fine.. can't see any errors.

If your talking about that specific gps spoofer you linked, I'm sorry I don't provide any support for third party spoofers.

All I can suggest is to check the settings and make sure it's NOT a fusedlocation spoofer.. the spoofer doesn't need to be in system either, disable any options portraying "system mode".

Run while booted in recovery mode with /system mounted.

Rename "services[2].jar" to just "services.jar" and try again.

Uninstall magisk.. let this be a lesson to you tho: Don't try to force things to work when theirs clearly errors.

Errors? Files? Can't do anything without these.. Upload the entire "adb" folder in the patcher directory.
[Magisk] Destio:
How do I upload the adb directory files? Sorry, I'm new to the forums.
[Magisk] shu151:
[MENTION=1620550]fOmey[/MENTION]

hi, I read in the thread of many users with problems of slowdowns, i try to wipe cache/dalvik without improvements. I'm on oneplus 6t with OOS 9.0.11 and is slow only if smali module is active
[Magisk] DrSeussFreak:
Frrshly wiped Pixel 2 XL (Pie), got Smali Module installed into Magisk with no issues, installed GPSSpoofer and it crashes upon launched. Gave it permissions to location, still can't launch it.
[Magisk] aNGERY:
fOmey @ XDA

Patcher Version: 0.0.3.4

system/build.prop: 1 file pulled.

pull: building file list...

/system/framework/: 149 files pulled. 6.3 MB/s (192630881 bytes in 29.032s)

==> Dumped framework

==> Detected API: 22

Exception in thread "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException: Unsupported oat version: 45

at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:120)

at org.jf.baksmali.DexInputCommand.loadDexFile(DexInputCommand.java:149)

at org.jf.baksmali.DisassembleCommand.run(DisassembleCommand.java:162)

at org.jf.baksmali.Main.main(Main.java:102)

==> Deodexed services.jar

!!! ERROR: Mock location class not found.

Worked fine on 3 of my phones.

Falling on it's face with this one.
[Magisk] Destio:
[MENTION=1620550]fOmey[/MENTION]

So this is what shows on the patcher before it closes when I run it:

fOmey @ XDA

Patcher Version: 0.0.3.4

pull: building file list...

/system/framework/: 774 files pulled. 16.9MB/s (391473301 bytes in 22. 130s)

==> Dumped framework

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

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

[INFO] 2 Dex files have been extracted in total

[INFO] Extracted Dex files are available in 'bin'

==> Extracted classes.dex

==> Extracted classes2.dex
[Magisk] Bulbas:
I have this issue on 3 computers when dumbing framwork 100% and extraxting files the smalipatcher crashes and a pop screen force me to close the program what should i do
[Magisk] fOmey:
Upload them to google drive or something and provide a link.

I can only speak from my personal experience and I have not noticed any slow downs.

The only thing I can think of is the fact services.jar is deodexed it may be causing slow downs? Especially on phones that use vdex's.

The problem is the only way we can modify the JAR is by deodexing, so unfortunately I can't think of any ways to solve this.. sorry!

Spoofer has not been tested on pie, I'm still running 7.0 (yes I'm in need of a phone upgrade).. If you can provide a logcat I can look into it further.

Otherwise there is tons of spoofer on the playstore, give one of them a shot.. maybe some other users can recommend one they have had success with?

Can you please upload the "adb" directory, I'll look into it.

Can you please upload the "adb" directory, I'll look into it.
[Magisk] DrSeussFreak:
I got a joystick working without using yours, and it works great! Thanks for the Smali Patcher, it is fantastic!
[Magisk] Joker The:
I am receiving the magisk_merge.img mount failed error after attempting to install any modules. I created the Smali module and attempted to work around by installing with TWRP. The flash was successful but did not install into the magisk module tab. I downloaded the F2F kernel workaround as well with TWRP and it doesn't install into the magisk module section as well. I am using 18.0 and can't install any modules and the ones I can with TWRP don't appear. I am using a Moto G5 Plus. Any suggestions would be appreciated.
[Magisk] diabeticwhiteyaksha:
Im having trouble with the exe program force closing on my PC. Is there an older version i can try??
[Magisk] Ikkegwn:
the thing is, I never renamed anything
[Magisk] Bulbas:
Where i can find the adb directory and how to upload them here sorry i am new to this
[Magisk] Ra7manoof:
I do it again man, I boot with fast boot and run the application as administrator., Then flash zip file.

It works like charm

I don't know how to thank you man
[Magisk] Alucard1989pl:
Compile Issue on MIUI

Hello i have some issue when i trying to compile patch on my Pocophone F1 (latest MIUI.eu dev). I have already installed latest framenetwork and java jdk libs with google adb drivers. Can someone help with this issue?. After decompyling SmaliPatcher always crashes at the same moment :( .
[Magisk] rawika:
[MENTION=1620550]fOmey[/MENTION]

Maybe you missed my post: https://xdaforums.com/showpost.php?p=78806521&postcount=1984

Otherwise I guess you don't want to support Android KitKat.

If so, then I have to stick with the tinfoil patcher. :)
[Magisk] bibibian99:
smali stopped working

can someone help my problem, smali stopped working if i click run adb?

my pc installed winbdows 10 64 bit

my SmaliPatcher-0.0.3.4-fOmey_XDA

thanks b4
[Magisk] superhappyfun:
I'm on windows 10 and I'm having problems with this patch. I am able to see my device in ADB and I'm able to run the patcher program but it just fails after the Decompile step. The program just closes. An adb folder is created with a framework folder and a build.prop file, but that is it. I've attached a picture the moment before it crashes.

I have .NET installed as version 4.7

Using JDK 11.0.2

Copying the services.jar file to my computer and running the patch on that doesn't work.

Running the phone in recovery mode with /system mounted doesn't work.

Any guidance would be appreciated. Thanks.

Screenshot of smali output is below.

https://imgur.com/RzxehAq
[Magisk] Alucard1989pl:
All right fellas, i've patched services.jar for Pocophone F1 MIUI EU v9.1.24 (LATEST MIUI v10 dev on Android 9). Zip pack on attachment for guys which have problem to compile the patch.

short video
[Magisk] crazybum420:
Is there any way to enter coordinates to spoof to or any way to save a list of favorite spoofing locations in the GPS Spoofer app?
[Magisk] Destio:
https://drive.google.com/drive/folders/1aSbjVPpbOROJL0eI7P-5QQtSXL8MzLs9?usp=sharing

Thanks [MENTION=1620550]fOmey[/MENTION]
[Magisk] Joker The:
All modules I download are receiving the magisk_meege.img error when I download them within magisk. When I flash the module with TWRP the modules do not get installed into magisk modules tab. THe F2FS module cannot be flashed either for the same reason. Any suggestions?
[Magisk] jaewon223:
[MENTION=1620550]fOmey[/MENTION]

Mine does not generate a zip file either. Link below for the adb files. ADB Patch will run and shortly close, cannot pull log from the display because it closes.

https://drive.google.com/open?id=1-hjQ-gV2VP74xJQbsT3PoJBgTj_1nXA7
[Magisk] aNGERY:
You didn't install java
[Magisk] tenkensword:
Hi guys, I get stuck on the T-mobile splash screen on the reboot after installing smallipatchi on cellphone, I'm on a LG V20, ideas?