yashsingh1/xdaforums huggingface dataset:
[Magisk] alfZKI:
Question,

if I disable GNSS will I still be able to use location service when I don't use gps spoofer?
[Magisk] AhmtOzdmr:
Hello there. Firstly, thank you. but i have a problem. Binary download is constantly stuck at 99%. I also tried older Smali versions. USB debugging is fine, the phone is active on ADB.
[Magisk] A30NI_Y:
Something in your pc is blocking it. Try disabling antivirus or antimalware.
[Magisk] Guttogq:
hello can you help me with my problem? in my case there is no error, it completes everything correctly, but a zip file is simply not created to install with magisk, the program simply closes and nothing happens. what can I do? already deletes everything and tried again from scratch but the same thing happened.
[Magisk] 94burns:
Does this work with MIUI 12?
[Magisk] nenesse:
Hi,

I also have the same problem: if I try to patch gnss, the patcher force close with no error or alert :/
[Magisk] Ryola:
Are you on Android 11 also? Maybe it's just and Android 11 thing?
[Magisk] nenesse:
Yes, with my SGS10+.

And if I try to apply Smali patch with gnss activated, I have a bootloop.

No problem if I apply patch without gnss.
[Magisk] prashetio:
I've made a small patcher. but why on android 11 still detected
[Magisk] paragnagda1:
How it getting detected? Which app?
[Magisk] xz499:
Hello @A30NI_Y . Sorry for bothering you again but i need 3 more modules working for some different devices and software, they are for the Xiaomi Mi Pad 4 (clover) with LOS 17.1, the Motorola One Vision also with LOS 17.1 and the Realme X2 with RR 8.6.9 (also based on LOS 17.1).

For the three of them i only need Mock Locations and Secure Flag.

Thanks for your time and effort to support Android scene and community around.

Greetings.
[Magisk] xz499:
Did i not already attached the files or what? I'm trying that again in this post...
[Magisk] Bagusherma:
detected using smali detector, what should i do sir?
[Magisk] Bagusherma:
EDIT: fixed, i unchecked 'Improve Location Accuracy' hehe
[Magisk] xz499:
I'm uploading there the files...: https://drive.google.com/drive/folders/1BJDFz3lft4IisdFOaMBjkSR6OV16mh5Q?usp=sharing

Do as your possibilities and time allows you, i'm not in a hurry, so many thanks about.

Regards.
[Magisk] Ps24u:
Hi all, I have an issue generating a proper module.

I'm on Sony Xperia Z5, Nougat 7.1.1 (stock)

Magisk fully updated, 23.0

Using Windows 10 with the correct adb drivers for my phone (sa0113adb.inf).

I just need the 2 patches:

-Secure flag

-High volume warning

I see smali patcher pulling the files from the phone without issues.

(Both when the phone is fully booted and from recovery, the same, so that part at least is working) but the generated module is 3,2 mb and doesn't work: instead of allowing to take pics everywhere, the screenshot feature has disappeared completely lol.

At around the

"==> Processing framework" mark, i see 2 DOS windows opening and closing instantly, which usually is something screwing up.

Also after the module is generated, adb.exe is still in the Windows process list, hanging there.. I don't think it's supposed to do that.

The log indicates nothing wrong, sadly :/

I believe maybe the tools smali patcher is currently using (adb.exe etc..) are too new for Nougat, as I found 3 users of Sony xperia z5 having success in this thread in the past...

Would anyone have a lead to solve the issue ?

I uploaded my framework here.

Thanks for any help.
[Magisk] A30NI_Y:
Here are the modules
[Magisk] A30NI_Y:
Secure flag and high volume. Sec flag may or may not work on your device as it has not been stable for all
[Magisk] Ps24u:
Thank you very much A30NI_Y, sadly it didn't change from my own generated module : the screenshot feature disappears completely from the Power menu (when holding the Power button for 3 seconds, shows a menu: power off, restart, screenshot, video capture)

But after installing the module, only power off and restart remains.

In extracting the module, I see only services.jar contains data, all the other files are 0 bytes, is this expected?

@fOmey: would you know what's wrong ?

I see Secure flag is not eol/legacy, is a fix a possibility ?
[Magisk] A30NI_Y:
Those 0 bytes files are normal, it is there for magisk as an instruction to delete those files if not mistaken.
[Magisk] Pandemic:
does Signature verification patch work on A11 or do we still get an update of this module ?
[Magisk] ercanziyanak:
fOmey​

flyfire04​

michel sedgh​

friends my phone is Samsung Note 10+ Smn975f android 11. I want the secure folder to work.Is it solved with this?
[Magisk] kpwzto:
Hello,

I have just installed this patch on my Samsung S20 Plus but i could not patch Samsung Knox with error: Knox class not found.

Can you help me fix it. Thank you so much!
[Magisk] Ps24u:
@fOmey, here are my original untouched services.jar and the one generated by smali patcher. I'm just trying to generate a module that disables screenshot restrictions on Xperia Z5 / Nougat 7.1.1.

Thanks for any help.
[Magisk] BurningUp98:
I figured it out that on Android 8 you have to make services.jar readable and writeable in TWRP before restarting system
[Magisk] chendaxian:
Hello, I can't use smalipatcher, can you help me get it, I uploaded the frame, thank you

1. mock location

2. mock provider

3. signature spoofing
[Magisk] @ayahfachri:
Here is your patch accordingly as above, cheers.
[Magisk] chendaxian:
thank you
[Magisk] T F A JRDUDE:
How do I install it
[Magisk] melvinJones:
I need Help.

In my new pc I installed adb drivers and smali patcher. when ever I try to patch it shows "ERROR". And the reason for this is "the system cannot find the file specified". Can some one help me on this.
[Magisk] hungtinglung:
download and install java

https://www.java.com/download/ie_manual.jsp
[Magisk] G0dZill4:
on the last firmware update (Samsung s9), the Smali Patcher stopped working (Samsung knox).
[Magisk] melvinJones:
It worked. Thank you
[Magisk] kingozilla:
Guys does Secure Folder work in a Magisked Android 10/11 versions with Smali Patcher..?

Because I have a stock untouched device and I'm thinking of rooting it!
[Magisk] Helloindia3:
Thanks for this 😍

Today i have tested it with Android 10 miui rom its working fine only 1min work 😍😍😍😍 i wanna know is it possible to do this without root
[Magisk] xtclumen:
Using a google pixel 2, getting this error everytime i try.

==> Detected java: 1.8.0_291

==> Dumped framework

==> Processing framework

Error occurred during initialization of VM

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

Only have mock locations, mock providers, and high volume warning checked. On android 10.
[Magisk] FenrirVII:
{Mod edit: Quoted post deleted}
[Magisk] ant24:
Please, anybody, help me to patch 🙏 my svc.jar (all- except for samsung knox). Many Thanks in Advance. 🙏.
[Magisk] sidkhan69:
Facing wifi connection issue having wright password then to its doesnt connect and syash saved password and not in range
[Magisk] A30NI_Y:
All except recovery reboot and knox. Not sure why recovery reboot caused patcher to force closed.
[Magisk] D3vilEye:
Hey thank you for the patcher! But im having a issue with amazon prime video, i cant use it after installing the smali patcher.
[Magisk] ant24:
Thank U very much Sir @A30NI_Y. May God reply ur kindness 🙏.
[Magisk] ant24:
Dear Sir@A3Only, 1st of all- I'm really sorry for bother you often, that's because I still can't afford to buy a pc/laptop&the unstable late rom, so, Please-please help me to patch for one last time ,🙏, (ps: except "Samsung Knoxx&Volume..")
[Magisk] Yumic:
Hey guys. I tried to get this module to work but ended up in a boot loop. I'm not too sure what I did to cause this I have an s21 ultra G9980. I was able to boot the phone in safe mode by turning off the phone and the holding the volume down button. After that I restarted the device and magisk, luckily, recognized that it was booted in safe mode and disabled all the modules. I am not looking to figure out how to use this mod but what I am extremely confused about is why did attempting to install this mod remove the safteynet check button in the magisk app. I would really like to be able to use this feature and I'm not sure how to get it back. Thank you for any help in advance and let me know if you need anymore information!
[Magisk] Yumic:
***UPDATE*** I was just reading through the form and I found out that this does not work on android 11. So that's why it didn't work for me. As for the safetynet button... my device was in air plane mode and not connected to wifi... lol. After I connected it to wifi the button reappeared.
[Magisk] ant24:
Edit: All have to patch, except for :

1. Recovery reboot

2. Samsung Knoxx
[Magisk] ant24:
🙏..Please, anybody ?? 🙏
[Magisk] @ayahfachri:
zip and upload your framework folder.
[Magisk] Wizard#5277:
Hey there! I'm so sorry for asking it but I'd like to know, please - if possible - how to patch and generate module based on framework users do send to me? I mean I thought I'd need only framework but when I put it in there then PATCH ADB so a message will show up saying that I must device connected.. so I'm not sure if I'm doing what I'd like to do that correcty cos I saw some comments about services.jar 'n stuff.

Please thank you so much in advice for your help and time.

@ page 332 I found out a reply but not sure if it'LL work..

Thanks on @A30NI_Y "With all the correct requirements setup on a computer as mentioned in the OP, all the patcher program need is the framework folder and a phone connected to it. Everything is done by the patcher not me. You need to thanks f0mey for it."

I thought that even though putting another user framework and connecting my device then I'd generate a module based on my device framework not based on framework I did select.
[Magisk] ant24:
I'm sorry 4 late reply, but here it is:
[Magisk] @ayahfachri:
this is only a services.jar, please upload your framework folder.
[Magisk] nbahari:
Hello, I can't use smalipatcher, can you help me get it, I uploaded the frame, thank you

1. Mock locations

2. Mock providers

3. Sig verif

4. Secure flag
[Magisk] @ayahfachri:
Your module as per your framework with all of the above 4 options of patch.
[Magisk] darlingsaitej:
Need mock location secure flag and signature verification please someone make it for me
[Magisk] i23u8:
Hi, can boeffla wakelock blocker be added to the patch?
[Magisk] @ayahfachri:
Your module with all 3 patches option as mentioned.
[Magisk] darlingsaitej:
Bro thank you bro but I can't take screenshots in some apps
[Magisk] FieRceNighT99:
Hey all, I have a rooted Google Pixel 4a (magisk is installed), and these two errors keep popping up, I don't know how to resolve these error messages. I tried restarting my phone, reinstalling java, and reinstalling bin files.
[Magisk] FieRceNighT99:
I am using android 11
[Magisk] daiwai:
Hi everyone, do I need to update smali every rom update or just when Magisk getting updated?
[Magisk] A30NI_Y:
When running the patcher, click the "BROWSE" button (not the ADB Patch) and select the folder where you've the framework downloaded. and then click "PATCH". You'll still need to connect a phone to it as this is how the patcher is designed to work.
[Magisk] A30NI_Y:
All except reboot and knox
[Magisk] A30NI_Y:
Advisable to update when rom updated. Magisk update not required to update smali.
[Magisk] daiwai:
Thanks!
[Magisk] shadow creature:
sorry @A30NI_Y or @@ayahfachri , i need help to patch this service.jar..

i patch 2 time with warning on mock provider class not found, and now when i trying to patch again patch never done..

i need mock location, mock provider, secure flag, sign verification and sign spoofing

thanks before 🙏

and here my framework folder with build.prop
[Magisk] SMcC2:
Just wanted to say this thing is awesome! Now I can screenshot whatever the hell I want. Thank you!
[Magisk] shadow creature:
thanks brother🙏, 1 question, are you facing warning on mock provider class not found?

and what causes that warning??
[Magisk] A30NI_Y:
Unfortunately or rather fortunately no. And not sure what is causing it for you.
[Magisk] shadow creature:
Sorry again @A30NI_Y , but smali from you make my device bootloop.. I see service.jar size, and it just 5mb.. from stock 13mb.. and I compare from my smali with mock provider issue have 11mb.. 🙏
[Magisk] A30NI_Y:
I've redone it again and the resulted file is the same. Just notice it's android 11 and that maybe the cause for the bootlooped as smali does not support android 11 yet especially for signature verification and signature spoofing. You may want to try without those pacthes.
[Magisk] shadow creature:
im patch with sign verif and spoof to with warning on mock provider, and i can booting to home.. but i need mock provider..

ok, can u help me one more time? just mock location and mock provider.. i will try and if my phone bootloop again i will back to a10

thanks again, and sorry for make u patch again 🙏 im done for re-installing smali and check everything, but always get warning on mock provider
[Magisk] A30NI_Y:
Mock loc and mock providers only
[Magisk] hal3sh:
I really don't know who you are dear fOmey, thank you very much for this piece of software. I was able to successfully take some wonderful screenshots. The only hurdle I faced was due to not having my antivirus (COMODO) disabled. Once again thank you so very much!!
[Magisk] Vgx:
Just did my patch with mock locations and secure flag enabled for screenshots. Running ArrowOS A11 ROM on Poco X3 NFC. Everything worked like a charm. Thanks a lot! 👏🥰
[Magisk] djrexishere:
my phone is bootloop poco x3 pro vayu help me
[Magisk] Jerry12798:
Any chance someone could make me a module with my framework? I'm getting no adb devices connected even after mounting system in recovery. It's strange because adb devices does detect my phone.

Fixed it by copying framework to downloads via root browser, then copying to PC, and finally browsing for the folder manually. I didn't see that part orignally.. my mistake
[Magisk] djrexishere:
not run the second method bootlop
[Magisk] farhan_ali790:
!!! ERROR: Knox patch class not found.

Note 10+ 5g

model Sm-n976b

please help me
[Magisk] noobSU:
Anyone can please send me module for these 4 according to my ROM?

Mock locations - Hide mock locations status, allowing apps like Pokemon GO to treat them as genuine location updates.

Mock Providers: Allow creation of mock providers without mock permissions.

GNSS updates: Disable all GNSS (GPS) location updates.

Secure flag - Allow screenshots/screensharing in secure apps.

I'll be v thankful. I'm not in reach with my PC/Latop for days. & For some corporate reasons. I need it badly. I'm using Fake GPS & I think the app can catch me using mock locations.

Exactly which files I should have to attach here from system/framework ?
[Magisk] A30NI_Y:
All the files in system/framework folder
[Magisk] noobSU:
Will you please do that for me if i attach? I'll be v Thankfull
[Magisk] A30NI_Y:
Sure
[Magisk] noobSU:
Thank you so much bro foh helping out. I really need that badly. I just need those 4 posted above. My phone is Redmi Note 7, Pixel Plus UI custom Rom Android 11.

All framework files are zipped by the root explorer & uploaded to Drive. Waiting..

Ppui Framework.zip

drive.google.com
[Magisk] A30NI_Y:
Mock loc, mock prov, GNSS, and Sec flag
[Magisk] noobSU:
I don't know how can i thank you bro foh this! But Thank you so much. Really!! Module worked great! ❤️❤️
[Magisk] ant24:
🙏..To all seniors&devs, Please...pkease help to patch...🙏... (All patches, except for Recovery Reboot & Samsung Knoxx).

Ps: "Many...many Thanks in advance" 🙏
[Magisk] A30NI_Y:
All except reboot & knox
[Magisk] ant24:
Thanks, Mr.kindman, aka Sir @A30NLY 🙏.
[Magisk] dogtagundergrounder:
Hello,

I've tried so many things, VM, remote, wine, windows iso, ... could you help me? I'd like the following options:

Mock locations - Hide mock locations status, allowing apps like Pokemon GO to treat them as genuine location updates.

Mock Providers: Allow creation of mock providers without mock permissions.

GNSS updates: Disable all GNSS (GPS) location updates.

High volume warning - Disable high volume popup dialog.

Thank you so much!
[Magisk] A30NI_Y:
Mock loc, mock prov, GNSS, and hi vol
[Magisk] dogtagundergrounder:
Amazing! Thank you so much for your time.
[Magisk] xipi123:
stop at 99%， why?
[Magisk] kfw12:
🙏To all seniors & devs, pkease help to patch🙏

1.[Mock locations] Treat mock locations as genuine location updates.

2.[Mock providers] Allow creation of mock providers without mock permissions.

3.[GNSS updates] Disable all GNSS (GPS) location updates.

4.[Signature spoofing] Allow app signature spoofing permission.

5.[High volume waming] Disable high volume popup dalog.

My phone is Mi 11 Lite 5G for Android 11

Ps: "Many many Thanks in advance" 🙏
[Magisk] Allevart:
Hi there,

Apologies if it is not the right section,

I have rooted my note 10+ time ago and would like to format and root it again,

The question is how?

Can i just go with reset factor or have to go through smali/?

Thank you
[Magisk] Viking84:
I had the same issue after updating to the latest OTA this morning. I don't know why, but when I close & restart smali patcher and deselect 'high volume warning' it runs smoothly to 100%. I could then enable it again and build a patch that works without a problem.
[Magisk] A30NI_Y:
All the patches mentioned above. However, a word of caution, signature spoofing in android 11 may not work, so make sure you will be able to bring your device out of bootloop if that happen.
[Magisk] kfw12:
thank you very much🙏
[Magisk] clarksterman:
This is the first time (new member here) I am trying this with my Samsung S7 Edge SM-G935FD, I would like to know, do you need to install MAGISK before trying this patcher? I read also that you need TWRP + MAGISK + Smali patcher? It was not written on the first page to install MAGISK or TWRP. I am just confused and I want to know each detail on where I could start to make GPS spoofing on my PoGo.
[Magisk] Jerry12798:
You need either TWRP or Magisk before proceeding with installing the Smali Module you generate by using Smali Patcher
[Magisk] clarksterman:
Should I just install MAGISK from the Play Store? or is there any other pre-requisite other than just installing it -like rooting with Magisk? When I search Magisk, I get confused which thread should I follow.
[Magisk] Lankoss:
You should install the correct version of TWRP for your phone/firmware then once its installed, download the Magisk APK from their github page, copy it across to your phone then go into TWRP recovery mode and install Magisk from there. After that you just need to make sure it passes safety net, then you are good to install the smali patcher.
[Magisk] Jerry12798:
TWRP isn't needed to achieve root.. only a Magisk patched boot image. I stopped responding here as this isn't the place to explain rooting.. you should only be here after you've achieved root.
[Magisk] MrQuestionMarks:
This might work for others, but if you extract Smali patch right at the top of your C:/ drive it might let the patcher download it's binaries. I don't know if you need to be as extreme as C:/Smali-patcher/ , but I hope this odd quark helps some of you out.

After trying multilabel things for a while, that's the thing that ended up working for me.

Spoiler content hidden.
[Magisk] JedidroidX:
Will this work with LineageOS 18.1?
[Magisk] kacaksevgilim:
smali patcher , Is Redmi K40 gaming on the phone?
[Magisk] elpeludoalvin:
!!! ERROR: Knox patch class not found. HELP!!!
[Magisk] Jerry12798:
That's a legacy feature which mean it is no longer being actively developed and is only included on Smali Patcher as is. This means if it doesn't work then your device won't support the patch
[Magisk] elpeludoalvin:
ohh, thanks <3
[Magisk] PurpleSukeroku:
Running Smali patcher, in admin mode and everything.

Error: Invalid or corrupt jarfile bin\apktool.jar

Error: Invalid or corrupt jarfile bin\apktool.jar

!!! ERROR: Compile failed - services.jar not found.

I get this, and it doesn't generate the module file that I need. Suggestions?
[Magisk] A30NI_Y:
Try deleting the bin folder (found in the same folder with the smali patcher) and let it redownload. It might be corrupted.
[Magisk] agungimd:
dear guys, i already patch mock providers but when i'm use fake GPS app with bypass mock permission. it's force close. It's say not allowed perform mock location. My device redmi 7a android 9 (MIUI 11). At smali patcher i only thick mock location & mock providers. Can you explain to me, what's the problem? Thx.
[Magisk] messypenguin:
So it wouldn't go past Magisk Template Download: 100% unless the bin folder and other contents of the directory are deleted on every other run, which brings me to download the binaries every single run. Any way to download once and use it more than once?

P.S: Using the latest version.

Cheers.
[Magisk] noobSU:
@A30NI_Y Bro, If i update my ROM to the latest version. (Dirty Flash) I have to patch smali again?
[Magisk] Honeycd:
@A30NI_Y @fOmey

Hello, to see if someone can help me. I've been using gps joystick and smali patcher for a long time. I have installed it on various devices without any problem and working perfectly. But several days ago I updated my Samsung Note 10+ to Android 11, and since then it has stopped working fine. When I start the gps I get a notification that tells me "false location activated", but as I open the application to set a gpx route or mark a point to teleport me, the false location is deactivated and it returns me to my real location and the smali patcher it doesn't work, I have tried all the options (checking and unchecking and none have worked for me).

I hope you can help me, I am willing to pay because I believe that your work deserves reward

Sorry my bad english
[Magisk] pancomido:
Hi. I am trying to use smali patcher but my phone USB is not working properly and it seems it only works for charging, so ADB is not recognizing it on Windows.

I have tried using ADB-Wifi app. It connects to the device (I can list it using "adb devices"), but when I run SmaliPatcher.exe it says

!!! ERROR: No ADB devices found.

I run "adb devices" again and it says

List of devices attached
adb server version (41) doesn't match this client (39); killing...
* daemon started successfully

I can reconnect but same thing happens. Any idea of whay I might do to fix it?

EDIT: OK, it's working now. I was lauching the command from the Minimal ADB exe. I just used the one in the bin folder created by smali and now its working.
[Magisk] Loercase:
+1

I would also like to know. Sounds like A11 doesn't work for some ROMs for some reason? No info on the main post, it's from 2017.
[Magisk] A30NI_Y:
Normally after magisk template download 100%, it will continue to clear all the temporary folders. Not sure why yours doesn't go to that but you don't need to delete the BIN folder, just delete the other folders so the next time you run it, it will not re-download the binary.
[Magisk] A30NI_Y:
Unless it's a major update eg from android 9 to 10, most likely you do not need to reinstall. I am not sure what you meant by latest version.
[Magisk] Paywaw:
Mock location not fix with the latest play service and if you use fake gps it often returns to the original location
[Magisk] Honeycd:
I have the same problem on android 11. Is there any way to fix it? @A30NI_Y
[Magisk] Tin_Man_0:
Anybody know if the "Secure Flag" patch still works on Android 11? I'm running Pixel Experience on a Redmi Note 8 Pro. OR, maybe someone knows of a different way to get screenshots working?
[Magisk] noobSU:
I meant to say normal upgrades of the source (Custom Roms weekly/monthly) Not Major upgrades like 9 to 10 or 10 to 11.

Also i wanted to ask. I gonna flash another custom ROM. I just need your confirmation. Will you patch again for me if i move to another custom ROM? As it is v important for me professionally.
[Magisk] noobSU:
Yea, It's working. I have PPui Android 11 in my Redmi Note 7. You can try any pom site. It works.
[Magisk] noobSU:
Updating PPui 3.7 to 3.8 caused a bootloop. Turning off the module fixed it. I have uploaded the new framework files on the Drive. The link is below.

Only these 3. 1) Mock loc 2) Mock Provider 3) Secure Flag.

Thanks in advance sir.

framework.zip

drive.google.com