yashsingh1/xdaforums huggingface dataset:
[Magisk] jackong93:
after unzip file via twrp and keep stuck in samsung

fOmey @ XDA

Patcher Version: 0.0.2.7

system/build.prop: 1 file pulled.

adb server version (39) doesn't match this client (40); killing...

* daemon started successfully

pull: building file list...

/system/framework/: 252 files pulled. 12.2 MB/s (255200313 bytes in 20.013s)

==> Dumped framework

==> Detected API: 25

==> Deodexed services.jar

==> Patched mock location boolean

==> Patched mock location boolean

==> Patched secure flag function

==> Patched secure flag boolean

==> Patched signature verification function

==> Generated classes

I: Using Apktool 2.3.4 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

I: Using Apktool 2.3.4

I: Copying tmp classes.dex file...

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 ***

this is the result log from smali patcher builded
[Magisk] shouk_1987:
working flawlessly for secure flag on Xiaomi pocophone on rooted global Miui 10

keep up the tremendous work

---------- Post added at 11:20 AM ---------- Previous post was at 11:20 AM ----------

working flawlessly for secure flag on Xiaomi pocophone on rooted global Miui 10

keep up the tremendous work
[Magisk] Nilay7712:
Secure flag

I have installed the module but then i am not able to take screenshots in netflix app. Anybody can help?
[Magisk] Telep021:
Is this still working for Pokemon Go Spoofing ?
[Magisk] pgain2004:
So, do we have a solution, allowing install/overwrite apps with different signatures through the package manager on Pie? The "another patcher" seems to fail.
[Magisk] fOmey:
Not at this stage.. no.

Just create a simple magisk module to overwrite apps.
[Magisk] pacetu:
ask

Hy everyone

I have issue with my android 5.1 devices

My rom is odex and i deodexing with lbd2 tool or joeldroid but when i turn on mock location in developer option, apps like pokemon go detected my mock location is enabled with message "failed to detect location (12) " if i disable my mock location setting, app pokemon go no issue message but i cant use mock location app for spoofng

-Magisk v17.1

-Safetynet all green

-smali patcher 2.7

------------------------------------------------------------------------log--------------------------------------------------------------

fOmey @ XDA

Patcher Version: 0.0.2.7

==> Binary download complete

==> Unpacked binarys.

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 secure flag boolean

==> Patched signature verification function

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_4.1-6.0.dex'

info: type 'com.android.server.pm.PackageManagerService': method '<init>():void': (PackageManagerService.java:27): implicit ignore of trivial default constructor

info: write 'classes'

0 error(s), 0 warning(s)

==> Merged patch: sigspoof_4.1-6.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 ***

What should i do?

But i have other device with android 6.0 with deodex rom its working fine for mocking pokemon go with same method for instaling smali patcher with patch service.jar

thx:o
[Magisk] pekeltje:
Im getting this error with the default options (Mock locations, signature spoofing) on my Oneplus 6

fOmey @ XDA

Patcher Version: 0.0.2.7

==> Binary download complete

==> Unpacked binarys.

adb: error: failed to copy 'system/build.prop' to 'adb\build.prop': remote open failed: Permission denied

* daemon not running; starting now at tcp:5037

* daemon started successfully

pull: building file list...

/system/framework/: 572 files pulled. 19.6 MB/s (290684418 bytes in 14.141s)

==> 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'

adb: error: failed to get feature set: more than one device/emulator

error: more than one device/emulator

adb: error: failed to get feature set: more than one device/emulator

error: more than one device/emulator

adb: error: failed to get feature set: more than one device/emulator

error: more than one device/emulator

error: more than one device/emulator

error: more than one device/emulator

I: Using Apktool 2.3.4 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

!!! ERROR: Target JAR must be deodexed.
[Magisk] fOmey:
adb: error: failed to get feature set: more than one device/emulator

Make sure you only have one device connected to the PC at a time.
[Magisk] pekeltje:
I only got 1 device connected.

What else can it be, i did restart both my phone and laptop multiple times.
[Magisk] Telep021:
WOW man tested and it's working for pokemon go ! THANK YOU ! RN3 (KENZO) AEX 7.1

Only one question how to reset mock location ? With the back button is not working.

(UPDATE) After force closing the GPS spoofing app the location reset's after 5-10min.
[Magisk] Bogonto:
Smali Has stopped working

So, I got windows 7 SP 1 64-bit, i already installed framework 4.7.1 and java SE Development kit 11.0.1, and when i hit the patch button, smali patcher is stopped working after

==> Dumped framework

==> Detected API: 25

and the problem message is this :

Problem Event Name:	CLR20r3

Problem Signature 01:	SmaliPatcher.exe

Problem Signature 02:	0.0.2.7

Problem Signature 03:	5b964cdc

Problem Signature 04:	System

Problem Signature 05:	4.7.2558.0

Problem Signature 06:	59d41488

Problem Signature 07:	2f8f

Problem Signature 08:	3f0

Problem Signature 09:	System.ComponentModel.Win32

OS Version:	6.1.7601.2.1.0.256.48

Locale ID:	1057

Additional Information 1:	0a9e

Additional Information 2:	0a9e372d3b4ad19135b953a78882e789

Additional Information 3:	0a9e

Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

by the way, i already try to patch the service.jar that i got from my phone, but the patcher stopped working right after i hit the patch button.

Can you help me?
[Magisk] doldel:
What kind ur rom phone,,deodex or not,,
[Magisk] Spartacus500:
Please upload you file services.jar deodex.
[Magisk] Bogonto:
Im Using RR-N-v5.8.5 for samsung S4 i9500. Looks like its not a deodex one, does smali only works on deodex ROM? i believe the instruction on the first page says its works with odex and deodex? did i misunderstand that?

Looks like my ROM is not deodex one
[Magisk] Spartacus500:
And everything is clear, your services.jar must be deodex so that you can patch it Smali, you will not do anything on the version of odex.
[Magisk] Bogonto:
OK. I'll try make deodex or search for deodex ROM. Thanks for your explanation.

Correction, My service.jar got classes.dex in phone or ROM zip file. its made my ROM deodex right?, ill try upload from zipfile or phone

New folder.rar << This is both from zipfile and phone
[Magisk] Spartacus500:
[MENTION=9561678]Bogonto[/MENTION]

I made for you . The first version with 3 patches without signature spoofing. The second version with all 4 patches. Just copy the services.jar file itself to /system/framework/services.jar
[Magisk] Bogonto:
Thank You very much:fingers-crossed::fingers-crossed:, why its work on your computer but not mine :crying:
[Magisk] Spartacus500:
I have no idea it is difficult to determine the cause at a distance.
[Magisk] rizkihannaf:
hi can help me

this case lilke me

always stop working

device pocophone f1 rom 8.11.15 beta "deodex" rom [IMG="smali error"]https://drive.google.com/open?id=1HiMcXT3gxe3GW65wWck0s1Bnty48DUJ-[/IMG]
[Magisk] Bogonto:
Hahahah. You' right, anyway, your smali module work like a magic, once again thank you very much :fingers-crossed::fingers-crossed:
[Magisk] Shobhit_Jain:
How to use

I'm new here.I'm unable to understand how to use Smali Patcher. I'm currently on Oreo custom rom on Lenovo ZUK Z2.

Could some provide noob freindly steps.
[Magisk] matshah6548:
Smali Patcher stop working

Hi.. someone pls help me.

Smali patcher had stop working every time after I push patch jar button.

ROM already deodex.

Im using samsung SM-J250F running on android 7.1.1.

Or maybe someone can provide me the patched module for my phone model. Thanks guys.
[Magisk] domhall012N8:
Won't have access to my pc until next week... Does anyone have a patched module for the N960F they are willing to share??? Im on

RomAur_v2.3_ARJ4, deodexed...
[Magisk] Spartacus500:
Please upload you file services.jar deodex

Please upload you file services.jar deodex
[Magisk] domhall012N8:
Thanks too much friend... Had to zip it... Hope it works... SM-N960F, RomAur_v2.3_ARJ4...
[Magisk] Spartacus500:
Here you are ;) services.jar 4 patches :)
[Magisk] domhall012N8:
SPARTACUS500... THANKS BRO! WORKING PERFECTLY ? ? ?
[Magisk] zxc6415366:
excuse me, how to put an attachment :crying:
[Magisk] ghavonk:
why always force stop every patch jar? win7 sp1 netframework newest, jdk 11

can help me to make module smali

i upload service jar

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

why always force stop every patch jar? win7 sp1 netframework newest, jdk 11

can help me to make module smali

i upload service.jar drive.g00gle.com/open?id=1ZmXzC7BWML7EMSdgs_W8wuI9yk-V2GGX

change 00 to oo
[Magisk] matshah6548:
thanks bro. Its already solved.

i have the deodex process again the use smali patcher.

its work perfectly now.
[Magisk] iamdexter:
works for miui?
[Magisk] Wilson12181711:
Hi, I'm having a little trouble. I'm using the first set of instructions, and can generate the .zip file, but what do I do from there? It doesn't show up in Magisk, nor in TWRP.

Can anyone help?

Thanks!

Edit: Solved!
[Magisk] Urie1910:
Help me sir
[Magisk] burrdock:
Country code

Thank you for a great tool! Would it be possible to add country code/regulatory domain to the patcher? i.e. fake "US" to be able to use some wifi 5ghz channels, "EU", or "JP" to use wifi 2.4ghz channel 14, using a dropdown menu in SmaliPatcher. Found howto https://xdaforums.com/pixel/themes/mod-wifi-country-code-fix-root-required-t3558044 where wifi-service.jar (method public setCountryCode) is modified.
[Magisk] Wilson12181711:
When I install the module it says that it was a successful install, but it simply doesn't work (just hide mock locations). Any help?

Thanks!

Wilson MH
[Magisk] Spartacus500:
[MENTION=9588463]ghavonk[/MENTION]

Hello, your file is called "activation.jar" it is not a services.jar file. What type of phone do you have? The services.jar file must be deodex.

[MENTION=9589399]Urie1910[/MENTION]

Here you are :) Your services.jar 4 patch :)
[Magisk] Spartacus500:
[MENTION=9588463]ghavonk[/MENTION]

Hello, your file is called "activation.jar" it is not a services.jar file. What type of phone do you have? The services.jar file must be deodex.

[MENTION=9589399]Urie1910[/MENTION]

Here you are :) Your services.jar 4 patch :)

Please delete my duplicate post :)
[Magisk] Spartacus500:
[MENTION=5081883]sismalaysia[/MENTION]

Here you are :) Your services.jar 4 patch :)
[Magisk] santhosh502:
I'm having the same problem. The 1st set of instructions say "COMPLETE' but I'm not able to find the module zip file anywhere. Please tell me how did you solve it?

Edit - I have Oneplus 3T, on Oxygen OS Stock 8.0. If someone has the zip file for that, please gimme a link?
[Magisk] Urie1910:
This work, ty sir :good::good::good:
[Magisk] Wilson12181711:
I just found the zip file in the directory with the .exe, but that wasn't my problem, my problem was not realising how to install a magisk module in a .zip file, which I had a second look at and which was obvious (a '+' in Magisk manager in modules.

Now I need to know why this didn't work for me.
[Magisk] santhosh502:
I reset my phone and tried again, it worked. I got the zip file and flashed it in magisk. I checked for the rubberand effect in google maps and there's none. Thanks fOmey!
[Magisk] Wilson12181711:
Rubber band effect? I never had that problem. I just wanted to hide the fact that 'mock locations' was on from my apps. That is what the top option in the tool is for, correct? If anyone knows how to fix this or knows of any other Magisk module to do this, please tell me! (I can't use xposed as the apps detect that and immediately shut down, and I can't find a way to hide xposed either)

Thanks!
[Magisk] Wilson12181711:
Fixed it! It just started working, for no obvious reason.
[Magisk] Spartacus500:
If your phone has the services.jar file in the system, it should work on your phone ;)
[Magisk] TheMadScientist:
Im only finding a few mentions of it like this Im on a samsung tab A T550 and even with no patches When installing in magisk or TWRP I get a bootloop, No errors,About the same log as this guys you where responding to here...

Im just trying to get screen record on PS4 remote play on non sony devices:D:D:D

Sorry this things a stock rom rooted on 7.0 or 7.1 but nougat
[Magisk] johnchua:
I managed to get the module, guess its fake as mine is stock rom most likely odexed.

Do we still need to toggle gps on/off to use spoofing app?
[Magisk] Ariel_PR:
Can someone make the module for a rooted stock Google Pixel 3 XL on 9.0? I've been trying for days but it keeps giving me an error saying that it's not deodexed. I can upload my services.jar if you need me to.
[Magisk] bosadels:
I have Le Max 2 and with with Nitrogen (android 9) rom and when I try to run this program it starts but at some point it just closes. I have tried like 5 times but the same outcome. What could be the problem?
[Magisk] fOmey:
Follow the instructions in the first post.
[Magisk] Ariel_PR:
With all due respect, I have tried everything on the first post. It either tells me to deodex my rom or the program closes itself without giving me the module. My PC already has all of the requirements. I never ask for help because I can usually figure out how to solve my own problems. But believe me, I have already followed the instructions on the first post and I still can't get it working.

I'll continue trying though. Thanks anyway.
[Magisk] fOmey:
Can you copy & paste all the debug output when using the adb method.

EDIT:

I just updated some of the binary's, delete the "bin" folder before opening the patcher.. give that a try and see if it solves your problem.
[Magisk] bosadels:
It allays shuts down after this line. Program just closes down.

[IMG="image"]https://i.imgur.com/TnM0bOx.jpg[/IMG]

https://i.imgur.com/TnM0bOx.jpg
[Magisk] johnchua:
please take a look some error when creating the module, is it useable?

﻿fOmey @ XDA

Patcher Version: 0.0.2.7

==> Binary download complete

==> Unpacked binarys.

adb: error: failed to copy 'system/build.prop' to 'adb\build.prop': remote open failed: Permission denied

adb server version (39) doesn't match this client (40); killing...

* daemon started successfully

pull: building file list...

/system/framework/: 378 files pulled. 20.3 MB/s (342445102 bytes in 16.054s)

==> 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'

==> 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

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***
[Magisk] Spartacus500:
servicejarX00T

Your services.jar 4 patch file ;)
[Magisk] Xan Loh:
Hello, I am sorry but I needed some help/advice on this.

fOmey @ XDA

Patcher Version: 0.0.2.7

system/build.prop: 1 file pulled. 0.7 MB/s (11793 bytes in 0.016s)

pull: building file list...

adb: error: failed to copy '/system/framework/miuisdk.jar' to 'adb\framework\miuisdk.jar': remote open failed: No such file or directory

==> Dumped framework

==> Detected API: 24

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

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***

Does it mean the process is completed? However, when I went to Magisk module to install, it says its not a magisk module. Any advice/help?

Using Xiaomi Mi5
[Magisk] Ariel_PR:
Thanks for updating the binaries. I deleted every folder (including the bin folder,) and started fresh. It downloaded the binaries and then it said "Idle." I plugged in my phone with USB debugging enabled and clicked "Patch Jar" and gave it permission to download. It started dumping everything to the computer and then it just closed itself.

It does that every time. I'm not even able to paste the log because it closes itself without letting me copy the log. I have also checked that the .NET framework and JRE are up to date. I think I'm out of options right now. Can I send you (or anybody else) my services.jar? I only want the "secure flag" disabled.
[Magisk] fOmey:
Can you both upload the following file "adb\framework\services.jar", you'll find the "adb" directory in the same directory as the patcher .EXE.
[Magisk] Ariel_PR:
Thank you! I attached my services.jar and services.jar.prof
[Magisk] fOmey:
Is this the the services.jar from the adb directory?
[Magisk] Ariel_PR:
My apologies. I pulled those directly from the root of my phone. But I attached the services.jar that was pulled from Smali Patcher. Let me know if this works!
[Magisk] bosadels:
I can find there only services.jar.prof I hope that is the right one. I uploaded on google drive for some reason APP upload is not working. And the first point is back up device, does this will reset my phone?

https://drive.google.com/file/d/12NycuwOHEflGjjP91mwdTiYMRHnNxEjS/view?usp=sharing
[Magisk] fOmey:
I can't reproduce this crash... I've sourced android pie files from lineage and the patcher works fine using them :confused: I can't seem to find pixel 3 XL firmware files anywhere either unfortunately.

I've uploaded a WIP patcher update, see if this solves your problem & report back.. if it doesn't and you still crash I'm going to need one of you guy's to upload your entire "adb/framework" directory's.

CHANGELOG ::

2.8 ::

Verify dexpatcher patches are found, otherwise re-download.

Change patch button text to indicate patching mode.

Error handling - verify classes.dex is found before recompiling.

Error handling - verify services.jar is found before recompiling.

Error handling - verify input files are not dummy's.

Conditional dead end bug fix while patching multi-class jar's.
[Magisk] firozpatel:
Hi all, just a little help

I pathed everythin and got a zip file, put it in my phone, installed via twrp, the module is now on magisk, but dont seem to work as i tried to screen shot on a banking app,

Have i dont something wrong?
[Magisk] Eng.Raman:
See the OP answer, post #160.
[Magisk] John-W:
I use gps joystick, I don't know any better app for android...
[Magisk] ckiddtilley:
I'm not sure what I've done wrong but I've deodexed my services.jar, then I ran the patcher, I got the zip file and loaded it as a module in magisk but I'm still getting rubberbanding. I've set my location services to gps only and set mock location app in developer options. Is there something I'm missing to get this patch to work? Im running a stock Samsung rom on an s7 edge.
[Magisk] fOmey:
When you say it doesnt work.. can you be a little more specific ? What exactly is happening ?

The patch is working, the rubberbanding your experiencing has nothing to do with the patch at all...
[Magisk] ckiddtilley:
Ah okay. I must've misinterpreted what this patch does then. I thought it would let me run my gps app without disabling fused locations, which if I do that then the rubberbanding goes away.
[Magisk] lahceneamine:
Sir, Would you mind answering my previous post please :)

?
[Magisk] John-W:
But disabling fused location makes the patch useless, because it is a trigger factor for the warning.

We need to find another way to stop the rubber banding.
[Magisk] fOmey:
I'm not sure, I don't use xposed.
[Magisk] lahceneamine:
Thank you, which file should I edit to remove wiping dalvik cache automatically from your mod?
[Magisk] ckiddtilley:
This is exactly what I was trying to do. I didn't want to disable my location services at all.
[Magisk] fOmey:
Give this a try.. see if it solves your rubberbanding.. this is a simplified test version of my personal GPS spoofer..

PLEASE DO NOT EXTERNALLY LINK THE SPOOFER, IF YOU WANT TO SHARE IT PLEASE REDIRECT USERS TO THIS THREAD.
[Magisk] fOmey:
I don't believe the module clears dalvik cache ? Perhaps somewhere in the magisk module ? I wouldn't have a clue...
[Magisk] ckiddtilley:
Thanks. This seems to sort the rubberbanding issue but does require me to turn on mock locations in developer options. I may be asking too much but is it possible to spoof location without both using mock locations in developer options and simultaneously not disabling location services?
[Magisk] fOmey:
The whole point of this module is to enable mock locations... it hides the "enabled mock location" status.
[Magisk] ckiddtilley:
Ah I see. Sorry, I came here from a reddit thread and obviously didn't quite understand what the patch was actually doing.
[Magisk] cityneversleepz:
Not a big deal. Liking what it does anyway.
[Magisk] fOmey:
Can you upload your deodexed service.jar, Might of found something interesting..