yashsingh1/xdaforums huggingface dataset:
[Magisk] Duden17:
[MENTION=1620550]fOmey[/MENTION], my rom Lillipop xiaomi.eu stable. Redmi Note 3 MTK.

Before i got error i could patch all service.jar I have but now i cannot patch any service.jar using your smalipatcher. I cannot use your patcher anymore i dont why. Thank you for your reply :good::D
[Magisk] nuv:
Hi Duden17, ok, like I said, just a quick guess. I remember reading in another forum that some user had a problem like that but I can't find it now. Leaving everything the same and just replacing service.jar would be the same thing I would do.. :confused: Sorry.

edit: found it. [MODULE] Mock Locations Patcher v0.6 by fOmey. But the bug report is from August and I would guess that this is no problem in SmaliPatcher. Just wanted to be sure and rule that out. Crazy things happen with spaces sometimes ^_^
[Magisk] tom.android:
[ For Test with Signature Spoofing Option Only (Smali Patcher 1.0) ]

How do i solved !!! ERROR: Mock location path not found.? Try this on your own risk. Cause i use Smali Patcher 1.0.

Requirements

- Smali 2.2 or later

- Baksmali 2.2 or later

- Java installed

Steps

- create working directory.

- copy (1 directory 4 files) into this folder.

+ "framework"

+ smali.jar, baksmali.jar --copy from your download.

+ services.jar, services.odex --copy from your framework.

- run cmd here

>java -jar baksmali.jar x services.odex -d framework\arm64 -o tmp

*** "framework\arm64" assuming your device is arm64 ***

*** otherwise try "framework\arm", if that also fails try just "framework" ***

output

-new directory name "tmp" created.

>java -jar smali.jar a tmp -o classes.dex

output

-file "classes.dex" created.

-open the odexed "services.jar" (from your framework dir) with a zip archiver program (7zip, WinZip etc.)

and add "classes.dex" to the JAR.

(delete META-INF folder inside jar file)

-open smali-patcher-program.exe patch new service.jar in a nomal way by use any patch options.

-open final smali magisk module, use only "services.jar" copy it to replace "/system /framework/servies.jar (original)".

Happy New Year.....
[Magisk] DodoGTA:
Try to use the latest version of Smali Patcher (1.2 at the time of writing this post)
[Magisk] hhwong:
Worked like a charm, awesome!

Any idea when will this be compatible with 8.0/8.1? I just finished patching this for my tablet which is running 7.1.2, but phones are still running 8.0

anyways, damn this is why i love XDA, so many badass devs! :D
[Magisk] TheBuduLord:
Hi mate! What mock location apps did you use? Im using this apps and it works like a charm :fingers-crossed:
[Magisk] fOmey:
I had issues with fulmics deodexer a few days ago myself actually. It wasn't until I deodexed my entire rom again that it generated a proper service.jar... I was trying to take a shortcut and deodex just the framework directory but for some reason it kept generating invalid service.jar's...

"!!! ERROR: Mock location path not found." or "!!! ERROR: Mock location class not found." these errors mean that the patcher cannot find core android classes... this usually means your service.jar is not deodexed properly..

I just tried it, patched fine.. try run the patcher as administrator or perhaps your virus scanner is over protective..

Here you go:
[Magisk] tom.android:
I had issues with fulmics deodexer a few days ago myself actually. It wasn't until I deodexed my entire rom again that it generated a proper service.jar... I was trying to take a shortcut and deodex just the framework directory but for some reason it kept generating invalid service.jar's...

"!!! ERROR: Mock location path not found." or "!!! ERROR: Mock location class not found." these errors mean that the patcher cannot find core android classes... this usually means your service.jar is not deodexed properly..

-----------------------------------------------------------

Try deodexed entire rom working. Thank you. Happy new year.
[Magisk] psychoela:
Please patch for me. Thanks:D
[Magisk] Opin:
Thanks very much this app works fine on my device :o:o:good:
[Magisk] kaurr:
Works well on oneplus2 with lineage15.1 (android 8.1 oreo).

Many thanks!
[Magisk] Duden17:
I just tried it, patched fine.. try run the patcher as administrator or perhaps your virus scanner is over protective..

Here you go:[/QUOTE]

Thank you bro for the file. My problem solved I use another notebook and It work perfectly. Thanks
[Magisk] peter7910162:
Excuse me

How to fix Android 5.0?

Is there teaching?
[Magisk] Revontheus:
The solution is already as I have mentioned, simply uninstall the magisk module via Magisk manager. Smali only pulls services.jar as reference for the patches. It does this to maximize compatibility instead of offering a "universal" magisk module to apply the patches.
[Magisk] eneg:
My device is a samsung galaxy A50 (sm-a505gn/ds) with android 10 and im looking for a way to get my secure folder restored but it seems that smali patcher is currently incompatible with android 10 and/or my device. Ive installed the app signature and knox patches but it doesnt seem to work.

Is there a fix or an update to smali patcher currently in the works that solves this ptoblem of mine?

Cuz i lookin forward to it. Dont want to downgrade to pie.
[Magisk] A30NI_Y:
For android 5, it is not supported and if you are looking for mock location, you don't need patching.
[Magisk] A30NI_Y:
Here it is
[Magisk] Abo Wael:
hi

the smalipatcher.exe is keep stoping

i have the lastest donetfarmwork and my internet connection is ok

i also tried to run as adminstater

i have windows 7 x86 with 2 GB Ram

any souloution ?

or can u guy give me another way to enable

signature verification and signature spoofing on my j500h , i have an official bootlegers with android 9.0 wich is in that thread bit.ly/2YwSfYc

thanks
[Magisk] cheewei:
you could upload your system\framework and let others help you to patch the services.jar
[Magisk] helcurt2ne1:
Sorry again

Sorry friend.. Someone have free time again..?? I done update my phone, then I use old smali module, and get bootloop.. Maybe that service.jar update to..?? This my new service.jar ZIP file.. Maybe someone can help me again, for mock location, secure flag, sign verification and sign spoofing.. Sorry, and thanks before
[Magisk] amg314:
SmaliPatcher deodexed and patch services.jar

After removing /data/adb/modules/fomey.smalipatcher:

1. How is the original services.jar restored?

2. How is the system/framework odexed?
[Magisk] shoey63:
Nothing to restore or odex as they were never touched in the first place.

Read and learn

https://topjohnwu.github.io/Magisk/guides.html
[Magisk] dertester1:
Please help me to patch my service.jar

Oneplus8 Pro 10.5.6IN11BA

*Mock Location, signature verification and signature spoofing,

Smali Error

1 error(s), 0 warning(s)

error: type 'com.android.server.pm.GeneratePackageInfoHook': (GeneratePackageInfoHook.java:0): target not found
[Magisk] Lacerator:
edit. nvm solved
[Magisk] oscaredu:
Its possible to work with Magisk 19.2? My J7 PRIME with other version of Magisk, POGO detect the ROOT.... Thanks in advance. Regards
[Magisk] A30NI_Y:
Here you go, all 4 patches
[Magisk] A30NI_Y:
Mock loc, sig ver, and sig spoof. Module generated but with warning as shown

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

warning: type 'com.android.server.pm.PackageManagerService': method 'generatePackageInfo(com.android.server.pm.PackageSetting, int, int):android.content.pm.PackageInfo': (PackageManagerService.java:35): 'protected' modifier changed to 'private' in replaced method

0 error(s), 1 warning(s)

==> Merged patch: sigspoof_7.0-9.0

0 error(s), 0 warning(s)

==> Merged patch: sigspoof_core

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***

Not sure how that will affect your device, so, be warned and take whatever necessary prevention in case of bootloop
[Magisk] A30NI_Y:
Root detected is a magisk issue, you might want to update magisk

---------- Post added at 09:48 AM ---------- Previous post was at 09:17 AM ----------

Root detected is a magisk issue, you might want to update magisk

Mis-read, the module should be compatible with the old version of magisk
[Magisk] Revontheus:
[MENTION=4675598]shoey63[/MENTION] has already provided an explanation. I suggest you read up on Magisk and learn how it works.
[Magisk] Alchndra:
Hai can anyone help me with smali? I cant connect my phone to pc bcos something wrong with my phone, here file jar, its rights file? Thankss

Just for mock location :)
[Magisk] Alchndra:
bro can you help me? Its service.jar i copy from twrp but im not sure if this right file? Coz just under 1mb
[Magisk] A30NI_Y:
Your services.jar is not deodexed, so it cannot be used for patching. Need the phone's system/framework folder instead
[Magisk] dertester1:
thank you

but not working bootloop

hmmm why doesn't that work?
[Magisk] Alchndra:
I confused what folder i must copy, its rights folder? Thanks for your help dude
[Magisk] trimi.77:
Just found a way to lock secure folder!!!

Just Install Firefds Kit from edxposed

Go to Security Hacks and enable Secure Folder reboot and done works without any problem!!

Thanks to firefds:D
[Magisk] cheewei:
what phone and android version are you using?

mine is Note 10 Android 10, will this work too?

about the EDXposed Magisk Module, you use YAHFA or SandHook?
[Magisk] A30NI_Y:
Yes, that's the one
[Magisk] hantulaut:
Hi Bro

Help me to patch my service.jar

ht*tps://drive.google.com/file/d/100Uf-PBx3fzEQ_W25SUbAxx-aLTlz-jE/view?usp=drivesdk

Patch Options

-Mock locations

-Signature verification

-Signature spoofing

Thx
[Magisk] firefds:
I'm glad it worked for you.

Just a clarification: This currently only works on Pie and not Q
[Magisk] A30NI_Y:
Here you go "sea ghost"
[Magisk] hantulaut:
+1

thx [MENTION=1620550]fOmey[/MENTION]

thx [MENTION=3859292]A30N[/MENTION]I
[Magisk] kasihtaksampai:
Help me pls, patch services jar.

Option:

- mock locations

- signature verification

- signature spoofing

Thank you. :)
[Magisk] cheewei:
i dont know how his works,

mine note 10 android Q cant work.
[Magisk] A30NI_Y:
Done
[Magisk] LockDownn:
Help me to bro

To patch my service jar

htt*ps://drive.google.com/file/d/14VQorUzHh_SmdBU4XsAZT5-Ftl0V4XdV/view?usp=drivesdk

-mock location

-signature spoofing

-disable verification
[Magisk] LockDownn:
Thanks :good:
[Magisk] djjohnnyblaze:
Does this work with Android 10? I installed the module and rebooted but still can't install apps with no certificate.

Using Google pixel 3a android 10 April patch.

Thanks
[Magisk] Mohamed677:
Help me to bro To*patch*my service jar My device galaxy tab a6 t585 htt*ps://drive.go

Help me to bro

To*patch*my service jar

My device galaxy tab a6 t585

htt*ps://drive.google.com/file/d/1-9B2woDzYV-eAP5oFt3zhX1fX58QKa3b/view?usp=drivesdk

-samsung knox

-secure flag

---------- Post added at 01:13 AM ---------- Previous post was at 12:55 AM ----------

I need that very much
[Magisk] A30NI_Y:
Secure flag and Samsung knox only
[Magisk] Mohamed677:
Thank

Thank you very much ?
[Magisk] kevo2406:
hi, i hope you can help me.

i am following all the steps but never says the message "complete"

here is my framework ht*tps://drive.google.com/file/d/1dwWww-WMKcA55MPqXuxlGfZttgEiZS5q/view?usp=sharing

i got a MI9 with MIUI 12 with xiaomi.eu

please: mock location, secure flag, signature verification and signature spoofing and recovery reboot.

really thnx.
[Magisk] newbie1012:
smali patcher 6.7 issue

Hi, need help. im trying to create a smali patcher module but the exe file doesn't load properly and it disappear from the folder after I running it as an administrator. Tried it several times, same thing. I checked the java and NET framework (above 4.7.1) and its all up to date.

I have a rooted LGv30 H932 with NOUGAT. Any suggestion how to go around the issue. Patch option is mock location, signature spoofing and high volume warning

Thanks in advance...

Roger
[Magisk] ghostbusted:
Smali Patcher 6.7 Help

Hi Guys I got this error while trying to patching Mi Mi9tPro

Can anyone please help me to patch below framework for mock location and signature spoofing :

https*://drive.google.com/file/d/1G-H6alGD6-dzkFxCYXMh_8tDFn7kaRo7/view

Error Messages:

fOmey @ XDA

Patcher version: 0.0.6.7

==> Binary download complete

==> Unpacked binarys

==> Detected java: 1.8.0_241

==> Dumped framework

==> Processing framework

Error: Invalid or corrupt jarfile bin\apktool.jar

!!! ERROR: Mock location class not found.

==> Detected java: 1.8.0_241

==> Dumped framework

==> Processing framework

Error: Invalid or corrupt jarfile bin\apktool.jar

!!! ERROR: Signature spoof class not found.
[Magisk] kasihtaksampai:
Help me pls, patch services jar.

Option:

- mock locations

- signature verification

- signature spoofing

Thank you. :highfive:
[Magisk] A30NI_Y:
I have removed the recovery reboot patch as it was the patch that is causing the problem, it just force closed. Anyway, the recovery reboot patch should be for samsung device only AFAIK. You should have no issue without that
[Magisk] A30NI_Y:
Mock loc and sig spoof
[Magisk] Jsulliv4n:
Please helpme :( my smali closes without generate the zip module :( Im trying whit a motorola g5

I need too

- mock locations

- signature verification

- signature spoofing

ht*tps://drive.google.com/file/d/1nOnyOqhiKz7X0MrsDakIDvDXrnSVwTWp/view?usp=sharing
[Magisk] kevo2406:
really thnx, i dunno i cannot download the item.

Can u help me pls?
[Magisk] A30NI_Y:
Patches as indicated
[Magisk] newbie1012:
Need help for a patch...

Patch: 1. mock location 2. signature spoofing 3. high volume warning. Thanks

https://drive.google.com/file/d/1b2IZ5ruRIOrl5pG4T-_uk9-b2cuPZvdA/view?usp=sharing
[Magisk] k3yn4:
plz help...

here my framework hxxps://drive.google.com/open?id=1Be66EkHONcLbKh6WehsH08iDtmhTQUoL

i need patch mock location, secure flag, signature verification and signature spoofing.

Thanks
[Magisk] A30NI_Y:
I have attached 2 version of the module, 1 with all 3 patches and another without signature spoofing.

The reason for this is the one with signature spoofing is spitting out a warning same with user [MENTION=2859396]dertester1[/MENTION] in the previous page as shown here

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

warning: type 'com.android.server.pm.PackageManagerService': method 'generatePackageInfo(com.android.server.pm.PackageSetting, int, int):android.content.pm.PackageInfo': (PackageManagerService.java:35): 'private' modifier added to replaced method

0 error(s), 1 warning(s)

==> Merged patch: sigspoof_7.0-9.0

0 error(s), 0 warning(s)

==> Merged patch: sigspoof_core

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***

[MENTION=2859396]dertester1[/MENTION] experienced a bootloop. So, be warned. If you just need to mock your location, you do not need the signature spoofing patch, flash the one which I have also included here (the one with the name xxx_Nosigspoof.zip)
[Magisk] A30NI_Y:
Need the whole framework folder
[Magisk] k3yn4:
here hxxps://drive.google.com/open?id=193wkgIVPkpssBMliE6_9surW1ftlkWn8
[Magisk] A30NI_Y:
Mock loc, Sec flag, Sig ver,& Sig spoof
[Magisk] ghostbusted:
Thank you so much
[Magisk] newbie1012:
Thank you so much...
[Magisk] War7ock:
need help

hxxps://drive.google.com/open?id=1Ua74yH5aR44DEpuEZX1DAuQiXwrQZRg4

heres my adb folder

for mock location and disable signature verification

android 10 lineage os 17.1 on realme xt

i didnt find miui jar files anywhere :(

will you please get me a patch pretty please
[Magisk] XiuDD:
Someone could help me please?

https://drive.google.com/file/d/1-Xpr_yvbLO9phEp334k2AzTP4K7yldTJ/view?usp=drivesdk
[Magisk] Mohamed677:
ْ

Now the secure folder is working fine, but why can't I lock it with a password or pattern?
[Magisk] dertester1:
hmmmm

bootloop is not a problem, I can fix it

Why does smali not work there!

I need signature spoofing
[Magisk] aitormix:
Hello, is someone spoofing with OnePlus 8?

It works for me but os very unstable and It stop working when he wants.

Can someone help to do It more stable in this smartphone?
[Magisk] Sjain11:
Hello

I successfully disabled secure flag and now i am able to take screenshots in app which previously had it disabled.

Just a question, does the app developer by any chance come to know if I take a screenshot in his app? Because i am worried he might ban my account if he gets to know.
[Magisk] A30NI_Y:
What patches you want?
[Magisk] A30NI_Y:
Mock location and Signature verification
[Magisk] Sjain11:
Anyone please? It's a bit important to me

[MENTION=1620550]fOmey[/MENTION]
[Magisk] otonieru:
I dont think so. I've been using it long enough with plenty of apps.
[Magisk] XiuDD:
Mock, verification, secure flag and spoof.. tq so much bro
[Magisk] A30NI_Y:
Mock loc, sec flag, and sig verification only

Again here some issue with signature spoofing patch which resulted an error so the attached module is without that patch.
[Magisk] XiuDD:
It's fine without spoofing. Thanks dude very appreciated to your help????
[Magisk] erlgrkm:
Helle Dears,

I have a problem ... I have ınstalled smali patcher on my samsung s8 device. I can create secure folder but ı cannot use secure folder effectively because it is not locked. I created a password but when ı close secure folder and when ı select lock ımmedıately my secure folder is not locked... Why ? How can ı solve this problem please help me ...
[Magisk] War7ock:
thankyou so much ,you are the best broo:)
[Magisk] frosthater:
Can sameone patches this for me.

drive.google.com/open?id=112WhZHEtC5NCTaMfmMbGQ-w3PZxJbCE5

I need mock location, sign spoof, sign verification, and secure flag.

Thank you, guys
[Magisk] A30NI_Y:
Your services.jar is not deodexed. Provide your framework folder instead.
[Magisk] Vinay425003:
Magisk template download stuck at 60%

UPDATE - never mind download completed on second try
[Magisk] m.syam:
Sir please patch ny service.jar

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

Mock location only

Thanks
[Magisk] Archon810:
[MENTION=1620550]fOmey[/MENTION] We recently covered this module here as the top solution https://www.androidpolice.com/2020/...ot-in-android-when-an-app-doesnt-want-you-to/, but I discovered that while it works well in Chrome Incognito and Netflix, the Prime Video app still somehow doesn't allow screenshots and I get the usual notification that I'm not allowed to take screenshots of it.

Any idea why?

Please [MENTION=2111323]MENTION[/MENTION] me back if you reply as I won't be monitoring replies to this thread.
[Magisk] Paulanta:
Request For Patches (Android 10, Asus X00TD)

Greetings!

I request for a help. Can I be generated a magisk patch for mock locations, secure flag (this one has top priority), signature verification and signature spoofing.

I have attached the necessary files and folders below:

Services.jar:

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

Framework Folder:

https://drive.google.com/folderview?id=1-QhEEzBETbJDqgmthcz4rQ-VyjFtlFnJ
[Magisk] Paulanta:
That was such a quick support! Very much thanks to you :)

Really really appreciate your work! :o
[Magisk] digitalsonic:
Mock Locations being detected by App

I have a LG V35 with Magisk Root (No TWRP due to lack of official TWRP support for LG V35 running 8.0 stock Oreo) and had tried using the Smali 6.7 Patcher to mask Mock Location boolean and turn off high volume warning. The patcher doesn't throw any errors other than "cannot find resources" which I've read is not necessarily an issue. The module installs with no errors via Magisk manager.

The problem is the app I'm using still detects the mock location being fed to it unless I use indirect mocking to hide it which leads me to believe that the mock location boolean is not being set to false.

I've used Smali Patcher before to make a module with no issues for a few different devices, so this one has me stumped. I've read that some people have had this problem before in the past, in LG devices in particular (perhaps as a result of the A/B partition splits?).

Is there a work around or fix for this issue? I can try pulling system/framework or other files if necessary.
[Magisk] Alchndra:
Bro here link the folder, https://drive.google.com/folderview?id=175dqDANKSMnkpVR-kxn1sSJ7y4jABR4c

-mock locations

- signature verification

- signature spoofing

thanks for your help my brother
[Magisk] A30NI_Y:
There are missing files in the framework. Compare the framework folders&files in the link with the one in your phone and copy those missing ones into the link again
[Magisk] Alchndra:
I think service.jar missing, when try share service jar before, here link bro.

https://drive.google.com/folderview?id=1Sxn1pzqXUBt-1W1stPwHammXGQJgn-o8

Or maybe when i upload to gdrive hve lost connection :(

Sorry bro many file missing because connection lost when i upload to gdrive, i will reapload bro sorry :(
[Magisk] Alchndra:
Here bro

https://drive.google.com/folderview?id=1Sxn1pzqXUBt-1W1stPwHammXGQJgn-o8

Already check, i reupload cos before file broken
[Magisk] A30NI_Y:
Mock loc, Sig verification, and Sig spoof
[Magisk] Alchndra:
Thaankss bro, you are my heroo
[Magisk] Huy2312:
sorry but i lost my backup rom and just redowload new rom. if you dont mind, can you make smali for me, i just need mock location, thanks for your help. sorry for my bad englisk

https://drive.google.com/file/d/1-3VBGwHDT0Z_z5FiRIKJKnZ-swubPMkd/view?usp=drivesdk
[Magisk] Bigmike74:
Hi guys,

Need a bit help please. I'm trying to Smali Patched my Galaxy Note 3 (Android 5).

Twrp and Magisk ok.

Smali Patch failed with error :

Exception in thead "main" org.jf.dexlib2.DexFileFactory$UnsupportedOatVersionException:Unsupported cat version: 39

==> Deodexed services.odex

!!! ERROR: Mock location class not found

Any suggestion please ? :D

Thanks
[Magisk] firefds:
Android 5 is too old for smali patcher.

The classes in Services.jar that smali patcher patches dont exist in Android 5
[Magisk] Bigmike74:
Thanks. And if i push a custom rom, like lineage with Android 7.1 ?
[Magisk] flaxx187:
anyone test signature verfication on android 10, with miui 11 ?

i tested it doesnt work.

so i delete the module, after a restart i pass safty net. ( do i have to do something to get the old stuff back before i broke everything xD?)

but sometimes i getting red,.is that from that ?

my backup is after that broken..

damn
[Magisk] Bigmike74:
Just to let people know.

I did it. TWRP + Magisk.

Installed a Lineage ROM on my Galaxy Note 3.

Installed Magisk + Smali Patcher.
[Magisk] ixfrost:
can anyone please patch for me?

http://www.mediafire.com/file/dvbdxyckv6d4dap/framework.zip/file

please patch the following:

1. mock locations.

2. secure flag.

3. signature verification.

4. signature spoofin'.

5. high volume warnin'.
[Magisk] OmrAmer:
Hello developers

I have a problem when I patch samsung knox patch I get ERROR: Knox patch class not found

I ran the programme as Administrator

My phone is Galaxy J7 Prime 2 (SM-G611F) Android 7.1.1

My phone is rooted

Help me please
[Magisk] malandrin11:
Hello!

I'm trying to make it work, i've updated windows, java, ADB, everything I can think of (had a lot of errors that I managed to resolves thanks to this thread) But now i'm stuck here:

fOmey @ XDA

Patcher version: 0.0.6.7

==> Detected java: 1.6.0_20

==> Dumped framework

==> Processing framework

==> Detected API: 24

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

==> Deodexed services.odex

!!! ERROR: Mock location class not found.

I'm with a Huawei P9 Lite, TWRP and Magisk, trying to use smali patcher for PoGo

Thanks for your time
[Magisk] firefds:
Read FAQ on post #2 for your error..
[Magisk] malandrin11:
Ok, I honestly don't know how I missed that, thanks for the quick reply!

All working now!!