yashsingh1/xdaforums huggingface dataset:
[Magisk] Hui531:
Hi, need some help in the patcher

I follow the instruction given adb access to my computer and run the patcher as administrator. But it just stuck at "fetching latest binary releases" and the program close automatically after a few minutes with nothing downlaoded. I tried open the program again and hit adb patch it shows

==> Detected java: 1.8.0_271

!!! ERROR: The system cannot find the file specified

!!! ERROR: No ADB devices found.

*I've given adb access to computer and able to do adb command on command prompt but the program give this error

OnePlus 5T - LineageOS 17.1
[Magisk] Disc717:
STILL PRU

THANKS A LOT SIR
[Magisk] A30NI_Y:
For pogo, all you need is just mock location patch. Don't select signature spoofing as it doesn't work from android 10 and above.
[Magisk] hechy:
hi..

can someone help me?

my device Xiaomi redmi note 7 use miui rom A9. when i push the service.jar via twrp it's work but after booting home screen and i check the service.jar on folder system/framework via MTmanager it back to normal service.jar. what should i do?
[Magisk] @ayahfachri:
Thank you fOmey for the fast updates. One thing always happens when I want to generate second module for my other phone, it always stuck on "Magisk Template Download 100%" so I have to restart my PC in order to delete the module folder and redownload binaries everytime.
[Magisk] fOmey:
I've had this happen to me also while testing, just kill the smali patcher task in task manager and try again.

I will look into why this is happening eventually..
[Magisk] @ayahfachri:
I was waiting until the patcher done cleaning up and close the patcher but there is no process running in the backgroud in my task manager.

Edit: adb is the one I have to end task, all good without restarting the computer.
[Magisk] prashetio:
wooow new update...thanks sir.....#ojol #tuyul
[Magisk] Draketech:
On Redmi Note 4 with Lineage OS 18.1, modules created even with only the option: 'Signature Spoofing' go to bootloop.
[Magisk] gsmxcell:
Finally update too, thank you for your hard work.

My work is greatly helped by the tools you create. Thank you again.
[Magisk] Xyphoseos:
Hi, I have a galaxy s10 and I want to update smali and add recovery reboot

I have magisk updated

So I removed the old smali module

Create the new one with reboor option and when I want to install it in magisk, it tell me failed, please install magisk v20.4+!

What should I do ?

Ps:

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

This option was checked directly, what does it do ? I dont understand ^^'
[Magisk] wik²:
kalo di smali Disable GNSS Location update di ceklis ngaruh ga ya buat ojol bang?
[Magisk] LilSasa:
Here you go. From Pixel 3 XL December update. Hope it helps.
[Magisk] emanresu2:
Having an old smartphone, using Android 7.0, kernel version 3.18.35, rooted with Magisk 20.4, should be okay if I tick all the patches this latest version of Smali Patcher provides?

Thanks fOmey for a great work!!
[Magisk] Annson:
Everytime I run Smali patcher on a OnePlus 7T with the signature spoofing option enabled, I get the following error:

==> Merged patch:

1 error(s), 0 warning(s)

error: type 'com.android.server.pm.GeneratePackageInfoHook': (GeneratePackageInfoHook.java:0): target not found

I even tried using the system/framework folder from the stock OxygenOS rom that's installed. Looked all over for a way to fix this, but coming up empty.

@fOmey Any ideas on how to fix this? Any help would be greatly appreciated and appreciate all the work you've done!
[Magisk] fOmey:
Its not finding the classes required to patch, that patch is probably outdated.. what android version are you trying to patch?
[Magisk] z1rqdym:
the latest smalipatcher isn't downloading all the binary. it waits at %99. I checked the bin file but there is no change or downloaded content to see. what's the solution for that?
[Magisk] zuhri001:
Happy new year to fomey

I am a smali patcher user .. I tried everything from android 7 to android 10 without setting the fake location to work perfectly. And I tried it on Android 11 .. It doesn't work without fake location settings. I play Fake GPS requires a fake location setting in the developer options ... Thank you fomey, I hope there is a way. New year greetings
[Magisk] ErriK89:
Hi all, I'm relieved to see Fomey again online :)

Is there any news about Android 11 support? I've read in previous page and on reddit that almost 50% of the phone still have issues with smali patcher on android 11. Is there any relevant change from android 10 to 11 that prevent smali patcher to properly work?
[Magisk] nadeemakhtar1994:
Secure flag is still not working on my device. Running Android 10 havoc os.
[Magisk] hungtinglung:
Android 10 lineage os 17.1 secure flag works ok.

Android 11 lineage os 18.1 secure flag makes all screenshots malfunctioning,

either the secure app or not.
[Magisk] 神秘人:
Java >:1.8.0-271 has been detected

The > the dump frame

The > processing framework

THE > detected API: 24

!!! Error: The frame dump is incomplete and the required files are missing.

You may try to run the patch when you start in installed/system recovery mode, which may resolve this issue.

Distress......
[Magisk] 神秘人:
Java >:1.8.0-271 has been detected

The > the dump frame

The > processing framework

THE > detected API: 24

!!! Error: The frame dump is incomplete and the required files are missing.

You may try to run the patch when you start in installed/system recovery mode, which may resolve this issue.

Help friend
[Magisk] z1rqdym:
On my PC i tried 0.0.6.9 and 0.0.7.2 versions of the smalipatcher but it won't downlad the binaries. How could I overcome with this situation?
[Magisk] Huy2312:
My custom rom just update last year, an old file smali doesnt work, if you get freetime here the new link framework, plz patch for me, just need mock location. Thank you and happy new year

framework.zip

drive.google.com
[Magisk] ToldYouSo:
secure flag not working POCO F2 pro android 11
[Magisk] Anatart:
I second secure flag not working on Android 11. Also option to reboot to recovery from power menu never showed up.
[Magisk] jimbo77:
That patch is mainly for Samsung devices from the S10 and N10 line which needed to be rooted via recovery and not boot.img. It will not add a new reboot option, it will just reboot to recovery when they press the regular 'restart' button. If you have any other phone i would suggest to revert that patch to avoid issues :)
[Magisk] ToldYouSo:
Forgot to mention that when I use the patch its not allowing me to make screenshots at all from anything. I get the toast message that says that the app doesn't allow screenshots.

I think (not sure tho) 6.9 patcher did work on Android 11.
[Magisk] adriandamianv:
I use Mi 9t pro (Raphael) with Android 11 (Evolution X) and still do not work secured flag, I can not take screenshot in any app
[Magisk] fOmey:
Android 11 isn't supported, none of the patches have been updated to android 11 yet.. if they work at the moment, great... but its at your own risk.

So yes.. secure flag doesn't work on android 11 and probably won't until android 11 is available for my device.
[Magisk] z1rqdym:
@fOmey smalipatcher won't download the binary. Only say "...downloading binary" but nothing happens. How could I solve this situation?
[Magisk] ErriK89:
On Oneplus devices (8 and 8pro) with android 11 it works :)
[Magisk] Anatart:
Might be good to say that in main post. Right now it sounds like it does because the requirement is "Android device running 6.0 or above." (y)
[Magisk] z1rqdym:
Okay, I understand no one can help me to solve the binary download issue. So could anybody send me the smalipatcher 0.0.7.2 with the downloaded bin folder in a zip file?
[Magisk] fOmey:
There was a existing warning on the main post about android 10 being alpha.. so you'd think that would carry over to android 11.

However I have taken your advice and updated the warning just in case it wasn't clear enough for some people. ;)
[Magisk] nansah:
I'm trying to create a Magisk module with the latest version and after 8 hours, it's still decompiling. It took a few minutes the last time I did it with Version 0.0.6.7 on the same OP6T with OOS 10.3.7. It is not frozen because I can see the folder files changing.

Has anyone experienced this before or know the reason it's taking so long to generate a Magisk module?

Any help/advice will be more than appreciated, thanks! 😊
[Magisk] cristianodk:
After installing the small patcher and restarting the phone it does not reboot this happens with my a3 android11, but yesterday it worked, I had to restore the mobile, but today I have tried it more than 5 times and after the restart it does not advance
[Magisk] cristianodk:
searching the internet I have bootloops caused by SmaliPatcher
[Magisk] stranger-mj:
Running LineageOS 18.1 on an HTC U11, running just fine (Mock locations, Mock providers & High volume warning)!!!
[Magisk] cristianodk:
@fOmey Hi.

I am trying to install SmaliPatcher, but I get an error stating that I need to install Magisk v20.4 +. . I have installed 21.2 (21200)
[Magisk] Man_utd_4Ever:
Hi.

I'm getting "Knox patch class not found " error on Samsung Galaxy Note 5 N920C stock ROM with android 7.1.1.

Can anyone help me to run "Secure Folder"? It's really important for me.
[Magisk] mottowolf:
Hello @f0mey, first of all thanks for create the module!

Now, my question is, how can I disable the reboot to recovery? I installed version 6.x with tbat option enabled, but I cant make the galaxy s8 to reboot normally now, it always goes to recovery even reinstalling module whitouth the option. Thanks!
[Magisk] KurtGodel90:
First of all, thanks for all the effort did and do for your amazing work!;

Second, at the moment I'm running a rooted Mi 9T Pro with a custom rom twrp-3.4.0-1-raphael.img, Android 10, Magisk version 21.2 and Manager 8.0.4;

Did the SmaliPatcher latest download, installed and runned it on C:/ and got error in "multiple adb devices";

Tried to "adb disconnect" from Powershell but doesn t work, and I really dont understand well the alternative method for browsing for system/framework;

I would ask for a help or a module if it's possible, thanks and take care!
[Magisk] A30NI_Y:
Try disabling your anti-virus or anti-malware and try again
[Magisk] z1rqdym:
I am useing norton I disabled it immediately with every single disable options, but no luck.
[Magisk] A30NI_Y:
Attached is the bin folder for 7.2
[Magisk] Cyberavater:
@fOmey Hi, it seems a very useful tool, thank you so much for this! BTW, can you make an android app to create the Magisk module on android itself, like LP does?
[Magisk] z1rqdym:
You are the best thank you hope it will work gonna try.

Edit: yes it works :D
[Magisk] nuv:
Hi, my download went to ~50-60% and got reeeeaaallly slow.

For me, it seems adblocker/dns related (using adblock on openwrt).

Temporarily switched from wired netword to WLAN hotspot via smartphone (dirty workaround but quick - usind a laptop here) it rushed to 100%..

Do you have pihole, adblock anything in your network?
[Magisk] endmjwknj:
are you planning to add support to android 11? Is there any ETA? If yes pls when you do it state clear in the change log. I'm looking foward to it since smali is so useful.
[Magisk] dani971989:
[HELP]

Somebody please help me patch mock location,, this is my framework+build.prop https://drive.google.com/file/d/1-1cggSoElyU1wP3XisTfrSU0iePs0iET/view?usp=drivesdk

thanks
[Magisk] dani971989:
[HELP]

Somebody please help me to patch mock location, this is my framework+build.prop https://drive.google.com/file/d/1-1cggSoElyU1wP3XisTfrSU0iePs0iET/view?usp=drivesdk

thanks
[Magisk] azteria2000:
Mock Location only
[Magisk] UlisesCNF:
I can't take screenshots on Crunchyrroll app, any solution?
[Magisk] hechy:
I got this problem every time for patching smali. someone have same problem with this?
[Magisk] Nikolaytu:
No native signature spoofing support​
[Magisk] Salih445:
Hello, sorry for my bad english. My phone is rooted and has TWRP installed. I am using Smali patcher. Masick and twrp installed the latest version. Secure folder version is 1.2.32.1. I cant update it. I couldn't delete it with root file managers. The updated apk file is not installed because I cannot delete it. After doing the patch, I open the secure folder and it does not open for a long time and gives an error. Es file manager root partition does not work because shortly after granting root it says "root permission could not be obtained, function temporarily unavailable." busybox and root browser work fine. Where did I go wrong, what should I do?
[Magisk] UlisesCNF:
Have you tried rebooting your PC. I have had problems using two instances of ADB at the same time.
[Magisk] FenrirVII:
u can try this https://xdaforums.com/t/module-smali-patcher-for-native-android-termux.4183061/ thanks to @CreepycCrafter24
[Magisk] Cyberavater:
Thanks! I've already seen that, but I was looking for a GUI version, CLI isn't my thing. I've PC too, so I already made a module using it. It'd be nice if anyone could make a GUI app for android tho.
[Magisk] Cyberavater:
@fOmey Currently there isn't an option to patch android to have "Disable signature verification in the package manager", which allows installing apk of mismatched signature. Can you add this option?
[Magisk] DrSeussFreak:
Windows 10, anti-virus disabled, every time I launch v7.2 (as administrator) it says it's trying to fetch the latest release, then crashes. I've rebooted, I've installed all the pre-reqs, but it won't run no matter what I do.

Edit: Internet was crapping out, apparently if no internet connection is present (I am using a VM for Windows) the app crashes.
[Magisk] l7777:
@fOmey Are the new round of safety net fixes something that could be done with smali patcher? https://github.com/kdrag0n/safetynet-fix

Thanks for the fantastic work thus far.
[Magisk] adoqawa:
Is pokemon go app need things like disable GNSS updates?or mock locations is enough?
[Magisk] ZeroCount:
Did anyone tried disable signature verification on android 11?
[Magisk] Dropsh0t:
I have crDroid ROM on Xiaomi Redmi Note 8 pro.

when I had 6.09 ver Smali patcher worked for me. After I've upgraded to 6.11 ver (both are android 10) I have errors when patch is generated/

fOmey @ XDA

Patcher version: 0.0.7.2

==> Detected java: 13.0.1-BellSoft

==> Dumped framework

==> Processing framework

Exception in thread "main" java.lang.NullPointerException: inStream parameter is null
[Magisk] Andema:
@A30NI_Y Sir, can you help me produce a module with Mock Locations and mock providers, thanks
[Magisk] A30NI_Y:
You need to provide the framework folder of your phone in order for me to try
[Magisk] prokiller1199:
Running A11 with only secure flag ticked not working after installing in magisk..
[Magisk] Andema:
this is my framework folder, thanks sir
[Magisk] CitizenSmith:
Wonder if anyone can help me!

I have Installed the patch on Oreo and thought it was going to work at creating a secure folder as it wouldn't even try before. but it starts creating the folder it takes a while then fails and say's "something went wrong and asks you to contact customer services for help if it persists."

I have read the following on reddit but I'm confused as I read secure folder replaces privacy app folder in later android versions!.

reddit:

"Actually smali patcher method still works. You need to have following 4 apps in priv app folder. For some reason, custom ROM I use doesn't have knoxcore in priv app folder. This was the reason why smali patcher was not working."

the 4 apps they mentioned are:

Knoxcore

Securefolder

Knoxvpnproxyhandler

KMLSAgent

but I don't have Priv app folder so that was no help what's so ever!.

any one know what I'm missing here to get secure folder working at least its starts to try and create a folder after installing the module.

I could not find any instructions on what should be ticked in the Smali PC app before creating the module so left it default at first then tried another with added samsung knox and secure flag ticked as well as default but nothing changed still hit with same outcome. and I have followed module uninstall instructions, run as admin and allowed connection to PC so their not the issue.

would be grateful for any guidance.
[Magisk] CitizenSmith:
was there any apps or services you had to enable to get it working!
[Magisk] H4X0R46:
@fOmey I just installed the first OxygenOS 11 beta for OnePlus 7 Pro and Smali doesn't seem to work with it. More specifically the secure flag option. I used ONLY that option, the module flashes and the phone boots, but secure apps still restrict screenshots for some reason.
[Magisk] A30NI_Y:
No attachment?
[Magisk] N1NO:
Thnx to fOmey , I cud make smali zip files for android 8,9,10 custom roms over the years. Usually I use the patches for mock location and/or secure flag.

Recently I started having issues with some new android 10,11 custom roms(i know it's still in beta).Some android 11 roms got the mock location part working , but taking screenshot was blocked after installing smali module.

When it comes to android 10 , I ve had bootloops after installing smali patcher on new roms based on Oxygen OS for OP7(android 10, OOS10 Beta19).Roms based on Oxygen OS for OP7t was working fine(the rom is quite old now).

I am attaching framework folders for OP7(rom bootloops after installation) and OP7T(patch works).

Hope it gets fixed in the future smali patcher updates, keep up the good work.
[Magisk] H4X0R46:
To add, my issue sounds the very same as his. Screenshots are now blocked when using Smali on Android 11 for me too.
[Magisk] Dropsh0t:
I have crDroid ROM on Xiaomi Redmi Note 8 pro.

when I had 6.09 ver Smali patcher worked for me. After I've upgraded to 6.11 ver (both are android 10) I have errors when patch is generated/

fOmey @ XDA

Patcher version: 0.0.7.2

==> Detected java: 13.0.1-BellSoft

==> Dumped framework

==> Processing framework

Exception in thread "main" java.lang.NullPointerException: inStream parameter is null

Can you try to make patch from my framework?
[Magisk] Dropsh0t:
First 2 about mocking location
[Magisk] Dropsh0t:
Thanks a lot for help

But this time no luck for me. Patch installed in magisk but app still recognize mocking location.
[Magisk] AnjayJr17:
Im using cusrom a11, and always bootloop. How to fix?
[Magisk] mx597turbo:
@fOmey Thank you for your incredible work on smali over the years. Would you be willing to share your source code so we can move development onto A11?
[Magisk] zeroktal:
I have the S20 Ultra(Snapdragon) Stock Rom, rooted. When I use the SmaliPatcher, there are no errors and everything goes smoothly. However the setup for the Secure folder doesn't work. It says an error has occured. Any ideas why?
[Magisk] Scorx-Sv1:
Everything Working Fine in A705FN Ver 9 but in Ver 10 the ( " Secure Flag " , " Samsung Knox " , " Signature verification " ) doesn't work
[Magisk] arik100:
i didn't understand what this does:

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

could you provide more information? or FAQ to read?
[Magisk] zeroktal:
Im confused, is that saying it is working for you, or isnt working for you?
[Magisk] yass:
Hey @A30NI_Y,

If possibly, could you please patch my framework? Include the following:

Mock locations

Mock Providers

GNSS updates

Signature spoofing

Recovery reboot

Thanks in advance,

yass
[Magisk] Enosonnengott:
My samsung s6 and s7 have Same Problem "magisk template download 100% "

My s9 have working nothing With Problems
[Magisk] evildog1:
Is it possible to make a patch which doesn't ignore user certificate without modify apk? like Android 6.0 and below? It's pain to mod apk every time I want to traffic sniffing and most apk are protected these days

Changes to Trusted Certificate Authorities in Android Nougat

News and insights on the Android platform, developer tools, and events.

android-developers.googleblog.com
[Magisk] WilliWonka1987:
Someone knows an Update is Out yet!? Support of Android 11?
[Magisk] Scorx-Sv1:
yes everything working very well in A705FN version 9 but i'm updated my phone to android 10 and reinstalled the patch but Secure Flag, Samsung Knox, Signature verification doesn't work anymore
[Magisk] Jbro129:
I'd like this too. It would make using Fiddler, Packet Capture, and HttpCanary work without needing to mod the apk.

Android 11 support would be great too.
[Magisk] hungtinglung:
DisableFlagSecure xposed module for old android works on android 11.

tested by me.

Smali patcher makes screenshots unable both in secure app and non secure app on android 11.
[Magisk] Marko97IT:
Smali Patcher version 7.2 not work. It will stay stucked in "Download Magisk Template 100".
[Magisk] ChaosTechNet:
Any idea when Android 11 support is coming? Only thing stopping me. I use it on Android 10 just fine but Android 11 is a no go. I did get it to work 1 time but couldn't again.
[Magisk] mx597turbo:
I don't think @fOmey plans to support A10/A11 any time soon, as he posted that his phone is still on A9. My main use for smali was to disable flag secure to be able to take screenshots in all apps. You can do this in A10 and A11 with EdXposed. It the the continuation of Xposed.

Follow the instructions on their XDA page here: https://xdaforums.com/t/official-edxposed-the-successor-of-xposed-oreo-pie-q-r-2020-07-19.4070199/

I installed the stable version on my Pixel 4a5G. Works perfectly. I'm sure there are modules for other smali features as well.
[Magisk] H4X0R46:
Is there any plan to update the secure flag patch for Android 11? It's really the only patch I like to use on my device, I'm missing it like crazy lol
[Magisk] mx597turbo:
@H4X0R46 You can disable flag secure using EdXposed as detailed in my post above yours. It's actually an easier process than Smali. If you need help with the process, PM me.

As @fOmey already said, no plan to update until he gets a phone on A10 or A11. I asked him to release his source so the community could continue his work, but he never replied to that request,
[Magisk] Nikolaytu:
Good day. please patch, thanks.

link to firmware:

https://xdaforums.com/attachments/lineage-17-1-20201020-unofficial-umi-zip.5211473/

link to patch:

docker-lineage-cicd/src/signature_spoofing_patches/android_frameworks_base-Q.patch at master · lineageos4microg/docker-lineage-cicd

Docker microservice for LineageOS Continuous Integration and Continous Deployment - lineageos4microg/docker-lineage-cicd

github.com
[Magisk] H4X0R46:
Oh, thanks for that info. I never knew he said that. Well shoot! Thanks for the update 👍
[Magisk] evildog1:
I found this module https://github.com/NVISO-BE/MagiskTrustUserCerts

Idk how well it works, it does seems to work on https traffic on some apps but still not work with browsers like Opera

I mostly use emulators running 5.1.1 to do capture traffic

But I think forcing trust via smali patcher should be possible to pretend that

<certificates src="system" /> and <certificates src="user" /> already has been added
[Magisk] H4X0R46:
Just got to playing around with edxposed and I got it! Passing safetynet as well! Thanks for the suggestion! 👍
[Magisk] KastenTop:
Someone, pls patch Only signature spoofing for me, cuz i got stuck in sygspoof_core
[Magisk] mx597turbo:
Glad to hear. For me, it does create an issue of the camera not working. So I leave flag secure turned off, but I can turn it on if I need a screenshot of a protected app. Not ideal, but better than nothing.

This is on a Pixel 4a5g with the January security patch.
[Magisk] H4X0R46:
That's weird! I did all this on a OnePlus 7 Pro and just now tested my camera. It works. Must be something specific to pixel 🤔
[Magisk] A30NI_Y:
Sig spoof only
[Magisk] Dropsh0t:
Can you generate patch please. I've updated ROM and old patch doesn't work.

I need mock locations and mock providers.
[Magisk] A30NI_Y:
Mock loc and mock provider
[Magisk] _carlitos_:
Hello, Is there any way to run the smalipatcher on an ADB device via TCP / IP? Thank you
[Magisk] Ivan2005:
Good job, bro. Can u update it for android 11 and one ui 3 support ??
[Magisk] Jaya Krishna kruthick:
The Disable apk Signature Verification patch never works but all the other patches works without any problem can someone help I have tried on miui 12 Android 10 device Redmi Note 7