yashsingh1/xdaforums huggingface dataset:
[Magisk] zgfg:
I'm coming back to the point that your potential cause of problems is not Magisk v24.1 vs Magisk v23, but:

- Android version, plus more precisely ROMs on different devices

- Which of the patches in Smali Patcher you want to use

When you went through the previous posts you could have realized that some users claimed that it 'didn't work' for them on A12, but for some worked.

Then one realized by 'surprise' that Secure patching still works for him, on A12

I can confirm you the following:

- My two Xiaomi phones (Mi 9T and 11 Lite 5G NE)

- Both on A11, MIUI 12.5+

- Both rooted by Magisk Canary 24.1 (latest)

And on both Smali Patcher does work for me for Secure Screenshots (and I had no problem whatsoever with Smali patching and installing the patch)

Would it work for spoofing GPS - I don't know, didn't try and I'm not interested in

I have received A12, MIUI 13 OTA for that second phone, but since there are known problems with (like Dark mode, etc), I'm not going to upgrade now, and I don't know would it work or not for my phone (for secure screenshots only) on A12

How about your phone, with your Android/ROM (also, some people generally equate Smali patching exclusively with spoofing the location), no idea and cannot answer

But the potential problem is not in Magisk version. You should either:

-find in the posts somebody who did the same as you want, on the same platform

- provide all that info and ask others to confirm (if somebody had the same/similar case)

- or try yourself (you should not be worried about, supposidely every Magisk user sometime visited the official Magisk guides on Github, particularly the Wiky and its section how to resolve potential problems with certain modules - even how to resolve the worst case of bootloops)
[Magisk] iamelton:
thx again for your reply and info..

again, i do not have any problem with smali patcher v7.4 with magisk v23 on my oneplus nord A10 phone.. i just wanted to know after upgrading to A11, and magisk v24, the module generated by smail patcher v7.4 still works (since previously there were times when smali patcher itself has to be updated in order to generate a compatible magisk module upon new magisk versions, let alone this time its a major magisk update in terms of changes)

anyway i got what i needed from you two guys reply.. thats all thats needed.. thx..
[Magisk] 神秘人:
I am not using Smali Patcher

Only with Magisk v24.1+LSPosed Zygisk

So you can fly.. no problem playing Pokémon GO
[Magisk] zgfg:
Just one more note/clarification:

On that Mi 9T I'm stuck with the same A11, MIUI 12.5.2 Xiaomi.eu Stable ROM for several months (EOL, no upgrades)

Hence I did Smali patching on that phone when I was still way back on Magisk v23

Later on, over the months, I just updgraded Magisk through various v24 pre-releases (Canary and Alpha 2301x versions, until settled down when v24 was officially released)

And I didn't mind to go again over Smali patching because Magisk is backwards compatible with modules from v20.4 - and I similarly didn't have any problem with my 5-6 other modules (incl. the more critical Viper4Android)

Magisk v24 only affects Riru vs Zygisk (it comes with the new Zygisk and Riru iis not compatible with Zygisk since both Zygisk and Riru initialize as early as from Android/Linux Zygote process)

Hence I had to uninstall three Riru modules I previously used and install Shamiko (optional), USNF 2.2.1 (for passing SN with Zygisk) and Zygisk-LSPosed (instead of my previous Riru-LSPosed)

Since Smali patcher is neither Zygisk no Riru related, it's not affected with Magisk v24
[Magisk] Frank Willian:
Do you need to use which LSPOSED module?

I'm going to install Android 12 on a cell phone and I needed to know about a module that would work with the Pokemon Go fly.
[Magisk] 神秘人:
LSPosed-v1.7.2-6379-zygisk-release (module)

Go to download an APK (undercover.hide.mock_v1_b1eb74.apk)

Install and check the pokemongo program to hide

You can fly steadily...
[Magisk] m.omdaa:
any news about updating the module to support A12??
[Magisk] Fre$h:
On your device maybe :) but nor this trick or mockmock apk or smalipatch did work for my, unsing Oneplus9 Pro + stable O+ A12.

Now back on A11+magisk 23, and back to basic with smalipatch 7.4 working like a charm for pogo spoofing
[Magisk] MASTER ANDROID CHANNEL:
Hhahaha it doesn't support android 12 bro, it works but it's not patched, I've tried it
[Magisk] foudremars:
Anyone help me. I play PoGo and got error "unable to detect location (12)" (Poco X3 Pro, Android 12, Miui 13; Magisk 24.2, Smali 0.7.4)
[Magisk] Frank Willian:
It worked, thanks for the help.
[Magisk] 神秘人:
Mobile : poco x3 pro

Firmware: V13.0.3.0.SJUMIXM

ROM: crDroid 8.2 Android 12

Magisk v24.1. with LSPosed Zygisk(module)

undercover.hide.mock_v1_b1eb74.apk

No problem to play pokemongo ^^
[Magisk] redking974:
Hi @fOmey does it support officially Android 12 ?

I've tried the patcher for Magisk 24.1 on both devices (one on Android 11, other on Android 12), and it bootloop on Android 12
[Magisk] shoey63:
Did you make any further progress on this? With working methods to hide zygisk lsposed from safety net, I feel the time is right for it.
[Magisk] doreaamon:
there is still no tool to support services.jar file of android 12 note10 plus bit 2?

N976NKSU2ZUL5 ?
[Magisk] snjyk21:
Can u Give me Link of Both Apps test in my case.
[Magisk] t-mobile_mda:
hey..

like what..? disabled av but still same.. any idea..?
[Magisk] t-mobile_mda:
worked on win 10.. stuck at win7 at %99..

i m getting this error this means not compatible android version..?

fOmey @ XDA

Patcher version: 0.0.7.4

WARNING: Could not detect administrator privileges.

==> Detected java: 1.8.0_321

==> Dumped framework

==> Processing framework

I: Using Apktool 2.6.1 on services.jar

I: Baksmaling classes.dex...

I: Baksmaling classes2.dex...

I: Baksmaling classes3.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

==> Patched mock location boolean

==> Patched mock providers function

==> Patched gnss updates function

==> Patched secure flag function

==> Patched screenshot controller

==> Patched set secure function

==> Patched capture function

==> Patched get capture function

==> Patched is capture function

==> Patched signature verification function

==> Patched signature verification util function

==> Patched recovery reboot function

==> Patched recovery reboot function

!!! ERROR: Knox patch class not found.
[Magisk] m.omdaa:
anyone tried secure screenshot patch with derpfest 12.0??
[Magisk] booratinoid:
nexus 5, android 7.1.2 (lineage-14.1-20190820-UNOFFICIAL-hammerhead)

==> Detected java: 1.7.0_76

==> Dumped framework

==> Processing framework

==> Detected API: 25

Error: Invalid or corrupt jarfile bin\apktool.jar

How to fix it? Please help!
[Magisk] Phantom Thief:
Close smalipatcher, delete the BIN folder and re-open smalipatcher. It'll redownload the necessary stuff
[Magisk] 1234wtrs1:
Totally a noob when it comes to this so can someone help me? I copied the system folder from my phone to PC, ran fulmics deodexer and that's where I am right now... What do I do next? :3
[Magisk] zgfg:
Please read the OP post (post #1)

There are instructions how to use...
[Magisk] 1234wtrs1:
I actually tried using this method because my phone isn't detected by any computer(it's been a year with this problem but never bothered me because I use bluetooth if I need to transfer between phone and pc) I use therefore the adb method doesn't work for me.
[Magisk] zgfg:
Hmm, interesting, sorry, didn't know about that method - maybe the 'author' of that method (you just quoted) can help :)
[Magisk] 1234wtrs1:
I'll try :) in the meantime, I've seen people getting their magisk module by uploading their services.jar on here. If anyone wants to help me out, I appreciate it. I only need the first two options :3
[Magisk] booratinoid:
nexus 5, android 7.1.2 (lineage-14.1-20190820-UNOFFICIAL-hammerhead)

==> Detected java: 1.7.0_76

==> Dumped framework

==> Processing framework

==> Detected API: 25

Error: Invalid or corrupt jarfile bin\apktool.jar

How to fix it? Please help!

Thank you very much! I did so and now I have another error message:

==> Detected java: 1.7.0_76

==> Dumped framework

==> Processing framework

==> Detected API: 25

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

What does it mean and how to solve it?
[Magisk] zgfg:
API 25 means Nougat 7.1 (should be in line with LOS 14.1)

By googling for:

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

I found that it should be about Java 8.- and hence a conflict with previously detected (per your log):

Detected java: 1.7.0_76 (to be JDK 7)

But sorry, I don't know how could you fix
[Magisk] booratinoid:
after update java to latest version it looks like work fine. :) thank you!
[Magisk] kingozilla:
Retracted (by me)
[Magisk] joluke:
Unquote the first post moron
[Magisk] M0yc3z:
Hello, I am in the same ROM (Crdroid 8.2 of March 9), same Firmware (V13.0.3.0.SJUMIXM), same version of magisk (24.1) but it does not allow me to enter Pokemon Go, it does not start my session, with magisk 20.3 it does allow me to enter but not with magisk 24.1, 24.2 or 24.3 does it allow me to log in to PoGo, how did you do it to be able to start?
[Magisk] 神秘人:
Did you tick pokemongo to hide it?

There is use of LSPosed Zygisk(module)

Have download undercover.hide.mock_v1_b1eb74.apk?

跟著我的步驟玩精靈寶可夢沒問題^^

ps (my magisk24.3) has no problem playing pokemongo ^^
[Magisk] M0yc3z:
Where should I tick pokemongo to hide It?

Hello, yes I am using LSPosed Zygisk

yes i installed undercover.hide.mock_v1_b1eb74.apk but when I open it it doesn't give me the option to select pokemongo in the application, only in the module
[Magisk] 神秘人:
undercover.hide.mock_v1_b1eb74.apk is installed (don't care about this APK)

The settings in the LSPosed program will see pokemongo and then hide the tick

Note that don't check pokemongo in Magisk or it will conflict with LSPosed, Magisk only needs to check google play service

So you can take off ^^
[Magisk] M0yc3z:
It already allows me to start pokemongo, but now after 5 minutes it returns me to my real location
[Magisk] 神秘人:
It may be that your phone is not well hidden to return to the real location

Otherwise, you can install 2 more modules to see

1 MagiskHide Props Config

2 Busybox for Android NDK
[Magisk] booratinoid:
fOmey @ XDA

Patcher version: 0.0.7.4

==> Detected java: 1.8.0_321

==> Dumped framework

==> Processing framework

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

I: Using Apktool 2.6.1 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

32 bit support is deprecated. Apktool will not support 32bit on v3.0.0.

!!! ERROR: High volume warning class not found.

Please help! How to fix it?
[Magisk] maxdimaz:
Hi anybody can help me didn't have a windows machine and didn't work on virtual, just need

- mock location

- secure flag

- apk signature

thanks

framework (1).zip

drive.google.com
[Magisk] aregvadfbg:
Does anyone know if Smali Patcher is able to provide signature spoofing in Android 12 and if so, how?

I have a Samsung Galaxy S20 with fresh installed BeyondROM 4.2 (Android 12), unlocked bootloader, twrp, Magisk 24.3, Zygisk, LSposed 1.7.2 and am trying to install microg to get rid of the google services etc.

I successfully generated the SmaliPatcherModule with only Signature spoofing ticked. I tried installing as magisk module, but after reboot microg reports that the system does not support signature spoofing. Tried installing from recovery (uninstalled magisk module before) but same result.

Any ideas?

That said, a huge thanks to @fOmey for this easy to use software and the clear instructions!
[Magisk] aNGERY:
i'm afraid to use it on Android 12 so far lol
[Magisk] Alsa3eqa4K:
you are my hero

the secure folder finally work in S8+ android 9

but I have some problems after the patch

1- after patch, My phone is heavy and slow to respond, like I use very very old phone

2- can't download apps from play store, the download stuck

thanks again
[Magisk] zabhi:
am facing bootlop after apply recovery reboot

A12 S10 plus ui 4.1

any solution ? after restart phone lost root
[Magisk] supervirus5:
I only came here to patch the "secure flag" option and the process was very smooth all I did was uncheck everything except the "secure flag" option and connect my Redmi Note 10 Pro On Latest MIUI ROM 13.0.4 Global and then install the zip file the smali patcher generator through magisk and it worked!
[Magisk] Steps Parku:
can smali patcher help me bypass and take screen shot over banking apps? and if yes please how? i have magisk v24 installed, zygisk enabled and the banking app in denylist but after downloading lsposed module 'DisableFlagSecure' it can't bypass screenshot restriction because it says the app is in zygist denylist.

i need help.
[Magisk] zgfg:
Before asking how to use, did you read OP post #1 - it displays in very details how to use Smali Patcher

Btw, there is ni such thing " how can I do something for (all) banking apps"

Different banks/groups of banks will have different banking apps developed by different vendors, hencw they can use totally different protection methods

Nobody can give you an answer for (general) banking apps.

Only somebody who uses exactly the same app

Btw, with Smali Patcher, Secure screenshots I know that screenshots from Netflix, and only when Netflix is playing do not work

I tried in only one banking app (but again, that should not be taken as for any other banking app) and it works there (although, frankly, I never tried without Smali patcher, ie I don't know does that app otherwise block screenshots or not)

Anyway, nobody can give you a generic answer that would apply to all banking apps (exactly the same as when people ask "how to hide Magisk from 'banking apps'"
[Magisk] Steps Parku:
i use about 3 banking apps, barclays, ecobank, standchart. in the previous module that I use 'DisableFlagSecure' together with magisk hide, it just works for all of them and any other app that won't allow screen shot originally. with the introduction of Zygisk, the module that enables the screen shot 'DisableFlagSecure' does not operate for the banking apps because it says they are enabled in zygisk deny list. therefore I am asking if smali patcher can equally enable screenshot or by pass the disable screen shot restriction on any app that originally won't allow it. ?
[Magisk] zabhi:
Is there any recovery reboot module for s10 A12 UI 4.1

After restart phone lost root permanently.
[Magisk] VDVWesley:
These apps can simply be found in the Play Store, just search for "Mock Detector" & you will find 2 apps from Go Developer ID. Another app can be found on several locations Googling for "Mock Location & Root Detector" from Cherda Dwi Sukma.
[Magisk] marquelito:
@fOmey are you planning to update the patcher to android 12?

Thank you
[Magisk] milsabords:
Please help.

Java is installed but not detected, Windows 11 64 Pro, Samsung SM-T510.

I would appreciate if some member could do it for me, Mock Locations + Mock Providers only.

Solved: Java installer had not updated the PATH variable and the jar files association.
[Magisk] aregvadfbg:
If somebody is looking for this, too, the solution is not Smali Patcher, but this version of FakeGApps, version 3 apparently does not work on Android 12.
[Magisk] RobbieL811:
Is this the preferred method to enable screenshots in secure apps on Android 11? Op9 Pro running Lineage 18.1 and I'm trying to enable screenshots in secure apps.
[Magisk] RobbieL811:
Any prerequisites to flashing this? I'm assuming this is a Magisk Modules, or is it something that I flash in TWRP?
[Magisk] zgfg:
Magisk module
[Magisk] Diazz72:
Android 12 (OneUI 4.1) is a NO-GO

==> Patched secure flag function

==> Patched set secure function

==> Patched capture function

==> Patched get capture function

==> Patched is capture function

!!! ERROR: Knox patch class not found.
[Magisk] korinus123:
i can't run smali on my pc, it always stoped working on first step (fetching latest binary). i have latest java and net. framework, what should i do ?
[Magisk] hryd99:
Please help.

Moc location only

services.jar
[Magisk] elbart88:
Is anyone having issue with spoofing on last magisk releases? smali patcher seems not to work as before with latest zygisk, worked fine with riru and magisk 23

Edit: maybe is just my phone, I have to test it longer
[Magisk] nnnbbbsss:
Hello, ive already make smali patch for my phone & installed it using all method (magisk, recovery, & manualy copy with root browser) but its still didnt work. My phone is RN8pro running MIUI12 A11. Any suggestion?
[Magisk] jimger:
I have problem on oneplus 8 pro with latest oxygen OS 12. Volume message works po I think but secure flag for screenshots doesn't :-(
[Magisk] Bintang_redup:
Very good module 👍
[Magisk] ihavenolifee:
Curious to know what other protection methods apps use and if there are other options to disable those methods. Any chance you can share?

Currently have an app that prevents screen casting or screenshotting. Wanted to see what else is possible besides the disable secure flag.
[Magisk] DineshValor:
I have tried to create smali-patcher.zip for Oneplus Nord device but failed. I have service.jar (also full folder if needs /system/framework).

But service.jar not appear inside Smali Patcher browse.

Any solution or someone can create smali-patch zip module for me!

Smali - Google Drive

drive.google.com
[Magisk] DineshValor:
Can you make zip file, please

services.jar

drive.google.com
[Magisk] kacaksevgilim:
I am using miui version 13.0.4 android 12 redmi k40 gaming device.

patch is successful, when I flash it with magisk it crashes to bootlop.

It happens after I open it for the second time. The system becomes unstable. i went back to android 11
[Magisk] MartK87:
For those of you who use W*Ch*t to spoof locations I would just like to say that is is so far the only working method to avoid the ban they give you for gps spoofing simulation software. Its a problem I have been facing for many years where whenever you register, within 8 hours they ban your account for good. I have tried countless methods to evade it and Smali Patcher is the only one which has worked.

I would also recommend disabling Riru and EdXposed from the Magisk modules and make sure W*Ch*t is marked as hidden.

3 days registered so far and not been banned. I won't say the name of the app just in case the devs come snooping here.

Just thought i'd add my 2 cents worth anyway! :D
[Magisk] SebaS-DG:
Im trying Smali Patcher and Android 12 ArrowsOS 12.1

But it doesnt work for me, and after a second restart, I got a bootloop.

And I cant uninstall Smali Patcher from the twrp, because android 12 and my twrp or pitch black or orange fox, doesnt support:

Disable_Dm-Verity_ForceEncrypt​

So I have all my system encrypted, and I cant get rid from the bootloop until I flash again the rom, gapps and everything again.

Im asking to the big group of my poco x3 nfc, but they dont know what to do.

And now Im asking arrowOS xda trhead

Edit: Im using magisk 23.

Not sure whats going on with the new magisk that I cant hide apps from root.
[Magisk] zabhi:
Seems like developer left this project .
[Magisk] SebaS-DG:
ouh...

I hope he is okay.
[Magisk] Mr Hassan:
getting this error

error knox patch class not found
[Magisk] voilsb:
I just want to say that it works quite fine to disable the secure flag and enable screen shots on my Pixel 5 on Android 12 on the April system and security update
[Magisk] BillGiovanni:
I can't get my location to stop jumping to the real location. I'm using GPS joystick and LSPosed with fake mock locations. I'm on pixel 6 pro, Android 12, rooted on magisk. Can someone please help?
[Magisk] edici:
Did you solve it?

If not, try disable "Google Location Accuracy" from Settings -> Location -> Location services (actual path may be different for you, try searching for it in settings if you are unable to find it)

This works for me, and I had same problem as you, using android 12 also.
[Magisk] BillGiovanni:
I tired that, it didn't work. I don't know what is triggering it to go to my real location, it will bounce back, and forth, even sometimes just sit in my real location. Even the virtual gotcha is working on and off. These are my settings.
[Magisk] lolvatveo:
can't boot with 2 method and I choose 2 options: secure flag & signature verification, stuck on samsung animation! android 7 nougat SM-J510FN. & how to know if my service.jar odexed?
[Magisk] R4Mxda:
does this work with android 12? 😅
[Magisk] zabhi:
Nope
[Magisk] Vanta-Chan:
Will the secure flag not ever work with Android 12? I'm currently using LineageOS 19 + ScrCpy and some apps just have a black screen on my computer if I try to use something secure like password inputs.

Installing the generated module from Smali Patcher causes a bootloop for me.

Does someone have a solution to this?
[Magisk] puturaya20:
wait update for a12
[Magisk] Ohiosencini:
I have tried to patch my samsung galaxy A30 android 11 but my pc is showing(Smalipatcher has stopped working),Please I need help
[Magisk] cimon666:
any working method for knox on oneui 2 (A20/anroid 10/rooted/unlocked bootloader)
[Magisk] Ohiosencini:
Solution for this message: !!! Error: Knox patch class not found? I'm using samsung A30 android 11.
[Magisk] napw:
I found the way to do it manually, but cant do same same with framework.jar(many dex in a jar), Is there a SmaliPatcher that can patch framework ?
[Magisk] kadi1234:
if you can help me to make SmaliPatche module for pokemon go spoofing

this is my framework:

framework - Google Drive

drive.google.com
[Magisk] MartK87:
Hi there. Help needed please. The operation seemed to complete ok using Smali Patcher on the PC. I had one message saying 'Resource not found' I think (from memory) cant rememebr where it said it though whether it was on command prompt or the actual Smali Patcher Application itself.

Anyway, I have installed it and enabled it on Magisk ok. However when I run Smali Detector it informs me that "Smali Patcher not Installed"

Help would be appreciated.

Device: Galaxy A70 - A705YN

Running Android 11 Stock ROM

Thanks.
[Magisk] Dornbuscher:
Hello!

have the same Hardware with MIUI EU 12.5.9.0.

Impossible to generate smaliPatcher Module - UnsupportedFile: Dex version 039 is not supported. No Sig Spoofing availabe for patching.

What´s your solution in details?

Thank´s for Hints, Tipps or Help!
[Magisk] RootedLee:
From what I see, the answer is still NO?
[Magisk] jimger:
I have secure flag working with lsposed (over zygisk) and a module from there
[Magisk] dir05dp:
same problem. Xiaomo 11T Pro, on android 12 MUI 13.0.4, log error when it was created, but the module is finished. after installed in magisk, mock location detected (mock location not working). anyone can solve this problem?
[Magisk] dir05dp:
Please help. Xiaomo 11T Pro 5G, on android 12, MUI 13.0.4, log error when it was created, but the module is finished. after installed in magisk, mock location detected (mock location not working). I'm using the latest smali patcher 0.7.4.

anyone can solve this problem???. Thank you in advance🙏
[Magisk] jettlocak:
smalipatcher 7.4 not working for android 12

just waiting update
[Magisk] Dornbuscher:
I solved the smali problem with LSPosed-v1.8.3-6552-zygisk-release.zip @ magisk 24.3 and the HideMockLocation-2.0.9.apk from LSPosed Repro. It´s not realy a smali problem but your android framework has no mock location available for patching.

LSPosed works for me on Android 11 (Poco X3 Pro@miui 12.5.90).

No probs spoofing with pokemongo using fakegps.
[Magisk] dir05dp:
yes, I have tried LSPosed and installed the HideMockLocation-2.0.9 module, it also doesn't work on android 12, the mock location is still detected by the system.
[Magisk] Dornbuscher:
Did you set "location only" in gps settings?

You can also try shamiko module on top for LSPosed for hiding.