yashsingh1/xdaforums huggingface dataset:
[Magisk] fab_ge:
Fixed it somehow...

Downloaded the framework folder to my computer. Had to put it in the same directory as smali patcher. And rebooted my computer. I got my zip file and no booting my phone with the module installed works as well.:good:
[Magisk] Estebanium:
Hi there, is there any chance to update a activated module in Magisk. If I flash a new ROM update and I used Smali for spoofing before, certainly MicroG and all installed Apps will fail when I boot to OS after flashing. So could I uninstall the module, boot to recovery, flash ROM and flash Smali Patch? Some modules can be flashed via TWRP, but I am not sure..
[Magisk] Duytan20:
Plz create smali for me. I need mock location. I cant put the link. Plz remove space

mediafire . com/file/jvbehsuq29lfv1q/framework.zip/file
[Magisk] fab_ge:
There you go

mediafire . com/file/u0qaxi61ond0bz6/SmaliPatcherModule-0.0.6.7-fOmey%2540XDA.zip/file
[Magisk] firefds:
Hi, I have a question for you and anyone that has Secure Folder working -

Does secure folder ask you for a password each time you enter, or is freely open?

What happens when you go to Secure Folder --> Settings --> Lock type and try to enter your password / pin / pattern?

Thank you!
[Magisk] waqas2660:
Asks for a password/fingerprint everytime. Works flawlessly
[Magisk] Haz3:
My windows laptop crapped out on me. Can someone patch my framework please????

https://drive.google.com/folderview?id=11HYKZx3K6IjUCymeUydAIdR2KJt47lJj
[Magisk] firefds:
Thanks.. Unfortunately, at least on Galaxy S8 Pie, Secure Folder never asks for a password
[Magisk] A30NI_Y:
What patch(es)?
[Magisk] A30NI_Y:
In twrp if you cannot recognize the name of all your folders, it means the phone is encrypted. This most likely is a twrp issue and you might need to format the phone data partition in order for it to work. You will loose everything in the phone so be warned. It is better for you to check in your device forum too

---------- Post added at 10:01 AM ---------- Previous post was at 09:45 AM ----------

If there is no changes of the services.jar in the new ROM update compare to the existing one, most likely the existing Smali module will work. However, unless you know for sure there is no changes to the services.jar that is
[Magisk] WololoadRaider:
Yes, it's an encryption password that it asks for everytime. I have formated the data partition many times in these attempts as it only works if I try to do anything with it instantly. If I boot to system, boom, encrypted again without any reasonable password to decrypt it.

Also tried to copy the framework folder right after a data format but got the same "ERROR: 1" as before.
[Magisk] Haz3:
Sorry forgot that location only
[Magisk] A30NI_Y:
If that is the case, you need to flash a file to disable dm-verity and force encryption before booting. Search in your device forum.
[Magisk] Estebanium:
It is very likely that the new ROM has changes to the services.jar and that's my problem. I like dirty flash, because I don't like to begin from scratch with all these settings and apps. However I have currently no idea how to update my service.jar
[Magisk] A30NI_Y:
I would disable the Smali module first before flashing a new ROM, and redo the patching after the phone booted with the new ROM. You can flash the module in twrp but you will still need to generate the module first on the new ROM though.
[Magisk] Damian93mad:
hello how are you, due to some bugs I'm thinking of going back to factory my pocof1, if I do I know that I don't lose root, but the smali partcher? I have to redo the procedure with pc?
[Magisk] Alchndra:
Hey its possible use smali from different phone but same tipe phone? My phone cant charge when turn on must be off so i can't patch smali from laptop bcos usb unable to pc

---------- Post added at 11:44 AM ---------- Previous post was at 11:41 AM ----------

bruh how to get file framework? My phone cant connect to laptop bcos ic battery broken
[Magisk] A30NI_Y:
Yes, everytime with a different firmware you need to redo the smali patch although you may get away with small updates

No, even same phone with different firmware will leads to bootloop. Boot into twrp --> mount system --> file manager --> copy system/framework folder to internal storage. Reboot your phone and share that folder
[Magisk] nattysinister:
Hello,

I badly need the screenshot capabilities back and thought this would help me. I can't take a single screenshot - system wide! (yes, not a particular app, the whole system). I tried making a module using the second option - "Secure Flag". Additionally, I selected "Mock Locations", "Samsung Knox" and "High Volume Warning" and pressed the "ADB Patch" button. It did its job and generated a module for me to flash. Which I did, successfully, using the TWRP recovery.

But the problem still exists - I can't screenshot anything, anywhere. Kindly advise.

Device Details -

Samsung Galaxy Note 9 N960F, Android 10.

Custom ROM installed - Alexis ROM for Note 9.

Custom Kernel - Beastmode Kernel for Note 9.

Thanks.
[Magisk] rcnitropowered:
Secure flag don't work on android 10, if you flash the module you won't be able to take screen shots no where, make another module without secure flag I have the same problem can't fix it
[Magisk] nattysinister:
That sucks. Funny that I actually rooted my phone thinking that I'll have more control and power over my phone. (Earlier, there were some apps that didn't allow me to screenshot). And now I ended up losing all the control. :D

I hope the smart brains find a solution to this soon.

Regards.
[Magisk] SENCON:
SMali patcher on s7 Edge

HI all,

Really strange situation with this one. I originally rooted my s7 Edge (UK, Voda) with Magisk, TWRP and SMali patcher. I had app ninjas gps joystick working flawlessly in privacy mode. After an update to Magisk and the joystick I couldn't see the map so decided to updated GPS joystick. After this I started to get rubberbanding. Noticing It required an update to smali I tried to do that. Phone would not connect to PC properly (patcher stuck at 99% ) so I turned USB debugging on and off and missed the OEM flag bricking the phone.

Recovered the phone and reflashed the stock rom. I'm now back at the same point with Magisk, TWRP, Josytick all installed and still getting rubberbanding. I can see my device when in adb mode so it is definitely connected in USB debugging mode. I deleted the Bin directory and restarted smali. I gets stuck at 99% binary download.

I';ve tried mounting the system in TWRP but when I copied to esdcard I can't see the file. Really stumped on this one because I did it and had been happily playing for months before this latest attempt. Any and all help appreciated! :fingers-crossed:
[Magisk] A30NI_Y:
You don't need to connect to the phone during the binary download, only when you want to patch it. Any antivirus software that is blocking it? I have just deleted the bin folder and let the patcher to redownload and have no issue doing that
[Magisk] SENCON:
Thanks for the "don't need to connect info". I must've been having issues with working from home on wifi. I'm in work today on LAN and the whole process has worked flawlessly. Many thanks.
[Magisk] helcurt2ne1:
Help Me brother

sorry my friend, can someone help me to patch this service.jar..?? my laptop broken, cannot boot OS.. :crying:

thanks before.. i need mock location, secure flag, signature verification, and signature spoofing..
[Magisk] cheewei:
Smali patcher got problem?

i select framework folder and click Patch,

it show [!!! ERROR: No ADB devices found.]

i am not using adb method, i want to generate the flashable zip

anyone got this issue?

i tried on both of my desktop PC & 1 laptop,

i already delete bin and it redownload, and disable all firewall & antivirus,

still getting [!!! ERROR: No ADB devices found.]

if anyone is free, please help me to generate the zip file with these modules enabled,

-MockLocation

-Signature spoofing

-Samsung Knox

Thank you so much

http://www.mediafire.com/file/plc8wh8ey8i9drj/framework.rar/file
[Magisk] armeliiito:
Does anyone get failed to détect location error 12 with Pokemon Go even with smali marcher on thé latest One Plus 6t update (10.3/3)?
[Magisk] soparalokos7:
I'm having trouble to adb on my xiaomi 9t pro (redmi k20 pro)

So can anyone generate the zip file for me? I will use only to play Pokemon go , so I think I will need the mock location and spoofing option only

TKS!
[Magisk] lapwat:
I don't think it is possible because one would have to run java on the smartphone to be able to execute (small.jar, baksmali.jar, apktool, zipalign, etc...). Java runtime is different from android runtime even if Android is based on Java.

---------- Post added at 03:06 AM ---------- Previous post was at 03:05 AM ----------

Please

Where can I find the source code of this app?
[Magisk] firefds:
That's what Xposed is for..
[Magisk] rodentkj:
Error 123

Just adding my 2 cents.

Created the .zip, placed it on external Micro SD Card.

Attempted to flash the .zip via TWRP recovery.

It would fail with Error 123 (did a search did not come up with anything)

Moved to the .zip to internal storage, started the flash again and it flashed correctly. No errors.
[Magisk] A30NI_Y:
Regardless of using the "patch" or "adb patch" method, you will still need to connect a phone to the pc. Anyway, here is the module
[Magisk] A30NI_Y:
I'm still on 10.3.2 without issue and haven't receive the ota yet

Without your framework folder, no one can generate the module for you.
[Magisk] cheewei:
oh i see,

thank you for your information & much appreciate for your help:good::good::good:

edited:

i flashed the module you help to generate,

but i still cant use secure folder,

do you have any idea to use the secure folder after rooted?
[Magisk] ToastyGhostie:
I disabled the verification check and it didn't work. I tried to test if the module was working at all, so I also enabled secure flag. Secure flag patch works, but signature verification patch does not work. On a Pixel 1 XL running Oreo. Tried installing Youtube Vanced and got

Rooted installer error:

Device: google Pixel XL | Not MIUI | Android 8.1.0 | Using ZipApkSource ApkSource implementation | SAI 3.12

Unknown error

Command: pm install-commit 1321001575

Exit code: 4

Out:

=============

Err:

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1321001575.tmp/69.apk: /data/app/vmdl1321001575.tmp/69.apk failed verification of META-INF/CERT.SF: Failed to verify signature: no verified SignerInfos]
[Magisk] A30NI_Y:
If you search in this thread, you will find that many faced the same issue especially with android 10. AFAIK there is no solution
[Magisk] cheewei:
what if i downgrade to android 9 and root?

by using smali patcher samsung knox module should be able to use the secure folder?

i am new to samsung, thanks for your info.
[Magisk] A30NI_Y:
I don't own a Samsung, so I am unable to give you an answer. Maybe someone else here may be of help or you can just try downgrading it
[Magisk] soparalokos7:
how can i find my framework folder?
[Magisk] amg314:
/system/framework

Search request in / "framew* in file manager like Total Commandrer

Or in Android terminal:

find / -type d -name framework
[Magisk] Kaiser8802:
Same problem here. Disable verification did not work for me

Android 9 umidigi F1

Have Vanced Ver 14xxx working if you need until they fix smali issue
[Magisk] rcnitropowered:
Was working perfect on S9+ SD with android pie, but not in android 10
[Magisk] soparalokos7:
i think this is it

http://www.mediafire.com/folder/bhva1cmkxujm4/framework_-_mi_9t_pro
[Magisk] cheewei:
no, it isn't

shoule be the whole framework folder
[Magisk] A30NI_Y:
Just boot into twrp, mount system, file manager, look for the framework folder under system and copy it to the internal storage. Then upload the whole folder again
[Magisk] sm00th4f3:
Worked for me on lavender android 10 custom rom, needed for yt vanced.

patched with smali module

installed sai, enabled root and apk signing

installed yt. Profit
[Magisk] rfburen:
I dont understand the manual from post 1. Down below i post the steps and behind that i post what i tried

Backup device.. safety first kids. --- I DID

Enable USB debugging in developer settings on your device and connect via USB to your PC. --- I DID, just as a running phone. I also tried phone in recovery mode because i read that also in the prerequisites.

Authorise USB debugging connection on your phone.. example of popup. --- I DID

Run "SmaliPatcher.exe", First startup will automatically download the latest necessary binary's. --- Here i'm confused. I downloaded the smali zip file, extracted it to the sdcard in my phone and then i go to the windows laptop, in the explorer i go to that smalipatcher.exe and i start it as administrator by clicking right mouse button and choose run as administrator. Is this the wrong way ?

Select your desired patches. --- Here i choose the disable apk signature verification

Hit "ADB PATCH" button (yes without browsing for a .jar file). --- When i do this it starts downloading some stuff and then it says can not find directory. When i search on laptop i can not find that folder in the picture (/system/framework)

And this three options, i did not get that far.

Once the process has completed, magisk module will be generated in the same directory as "SmaliPatcher.exe" named: "SmaliPatcherModule-X.X.X.X-fOmey@XDA.zip".

Install the generated magisk module either in recovery mode or from the magisk app.

Enable smali patcher module in magisk.

Who can explain me how to read this maniual and how to do it ?
[Magisk] trimi.77:
can't lock secure folder

Hi i just try this method(bypass knox) on my Samsung Galaxy S8 exynos stock rom 9.0 pie rooted it works but i can't lock secure folder!

is there a way to fix this problem?? Thank
[Magisk] aitormix:
Hi. I have a new OnePlus 8 Pro and I can't install TWRP yet. Is it possible to install Smali Patcher without TWRP? I have Magisk.
[Magisk] firefds:
You don't need to put anything on your sdcard until you have a patched zip file. You need to extract the smalipatcher-0.6.7.zip on your computer and use it from there.

I have the same issue, I couldn't find any workaround for that. Even tried a total fresh install, never managed to lock it.

You don't need TWRP for smalipatcher. You install the generated patched zip file using Magisk Manager.
[Magisk] aitormix:
Wow! When I tried to install Smali using Magisk Manager in my old device it doesn't works, but now I tried in the new one and It works, thank you!
[Magisk] AJ:
does it work in Android 11 (pixel 3a) ??
[Magisk] TheRealModder:
Sir, on my computer, Magisk template download stuck at 100% using Windows 10, NET and Java installed, Firewall is completely off and runned as administrator
[Magisk] amg314:
Tap icon in upper right corner to save Magisk module installation log.

Upload this error log and show error screenshot, please)
[Magisk] TheRealModder:
Paypal icon?

this is what is on screen :

fOmey @ XDA
Patcher version: 0.0.6.7
==> Detected java: 11.0.4
==> Processing framework
[INFO] Processing 1 file(s) from bin\services.vdex
[INFO] 1 out of 1 Vdex files have been processed
==> Extracting classes.cdex
==> Extracting classes2.cdex
==> Extracted classes.dex
==> Extracted classes2.dex
I: Using Apktool 2.4.1 on services.jar
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
==> Patched secure flag function
==> Patched secure controller function
==> Patched secure capture function
==> Patched get secure capture function
==> Patched secure capture function
==> Patched get secure capture function
==> Patched knox function
==> Patched knox function
==> Patched knox function
==> Patched high volume warning function
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
W: Could not find resources
0 error(s), 0 warning(s)
==> Merged patch: sigspoof_7.0-9.0
0 error(s), 0 warning(s)
==> Merged patch: sigspoof_core

I attached the error screenshot
[Magisk] amg314:
You have provided SmaliPatcher log. It follows from this log that patching was made without errors and warnings.

As a result of this patch, you should have received a zip archive containing the Magisk module. Something like SmaliPatcherModule-0.0.4.6-fOmey@XDA.zip

Tell me if you received this archive in the directory with SmalIPatcher.
[Magisk] grumpy783:
Hello, signature verification and signature spoof, does not work on a plus 6 lineage rom 16. A solution ?? I have tried everything . ? .Everything works well in the procedure no error. But impossible to install an unsigned apk
[Magisk] amg314:
Check Signature Spoofing with Signature Spoofing Checker

https://f-droid.org/en/packages/lanchon.sigspoof.checker/
[Magisk] grumpy783:
yes, enable signature spoofing. but why can't i install an unsigned apk? what is this mod for?
[Magisk] rfburen:
I managed to create the zip file, then I managed to install it in recovery mode. After reboot it was also activated in Magisk.

I ma

Managed to install sai, enable root in sai, enable apk.signing in sai but then I get this error by installing the latest apk.

Rooted installer error:

Device: samsung SM-G960F | Not MIUI | Android 10 | Using FilterApkSource ApkSource implementation | SAI 3.12

App signature doesn't match the signature of an already installed app with the same package name

Command: pm install-commit 117796993

Exit code: 5

Out:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.google.android.youtube signatures do not match previously installed version; ignoring!]

=============

Err:

Oh and I also uninstalled latest update of Google YouTube app and I disabled the Google YouTube app. But still the above error. What's going wrong ?
[Magisk] amg314:
Look at your screenshot of SmaliPatcher)

You can get mock location while playing PokemonGo (I don't know, what PokemonGo stands for)

You can for instance install modified PlayStore with your signature, and Android let this PlayStore to run.

I use signature spoofing during microG installation.
[Magisk] grumpy783:
Ok thank you . a quick question how to use microg authentication for applications? I only use it for YouTube vanced but not on others
[Magisk] otonieru:
Thanks, working on Pixel Experience Android 10
[Magisk] CpaoV:
Can someone help me generate a module for mock location?

For some reason my computer is not generating the module, even though I've used it before with no issues. I reinstalled my ROM and lost Smali in the process,

Here I attach my framework folder.

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

Any help is highly appreciated.
[Magisk] A30NI_Y:
[MENTION=10768789]dontplaywithme[/MENTION]

Mock loc, sec flag, sig ver, and sig spoof
[Magisk] CpaoV:
Thank you very, very much, that was a lifesaver
[Magisk] sconnyuk:
I'd like to report an issue if there is anyone to help me with.

I don't think it's been addressed and unsure of how many people it affects.

I have been unable to use my banking app (co op banking app) for quite a while (around 3 month or so) and have finally narrowed it down to the use of smali patcher.

I know this as I had to re install my phone (g965f) and did not install smali patcher straight away and my bank app worked fine.

I'm using android 8 and when creating the patch I selected the first 2 and the last 2 options, I'm not sure which if all or 1 of the patches are affecting the use of my banking app.

My other banking app seems to work fine (Barclays) and hasn't had an issue, only co op bank app.

Please forgive my limited knowledge but can assist anywhere needed.

I've disabled the patch in magisk and still have the issue so it seems although systemless there is a change somewhere and any ideas what to change back are welcome, save me 're installing the phone again.

Is there an uninstaller for smali?

Thanks.

I will atatch screenshot of the pop up I get when launching my bank app.

Can't find how to attach screenshot but will write it out.

CB App

This device does not meet the minimum security requirements for this application. Please contact the app publisher for more details. The application will exit when you press ok.
[Magisk] amg314:
SmaliPatcher makes changes to /system/framework. To return to original state, you should restore /system partition from Nandroid backup, or replace /system/framework folder in TWRP file manager.
[Magisk] Revontheus:
Wrong. It only pulls services.jar as basis for the patches and applies the said patches systemless-ly via Magisk.
[Magisk] sconnyuk:
Thanks for the reply, as i have not got an updated nandroid backup would it be ok to extract the /framework folder from the rom i use and copy that in ? Do you know of a good program to extract from stock Samsung rom the /framework folder?

Thanks alot.
[Magisk] cheewei:
please turn off all the antivirus, your downloaded antivirus & windows 10 antivirus,

and make sure firewall is off too, then you should be able to finish it.
[Magisk] amg314:
Use following URL:

https://androidmtk.com/extract-files-from-system-img

---------- Post added at 03:19 PM ---------- Previous post was at 02:27 PM ----------

User sconnyuk asked how to remove SmaliPatcher action and return system to the initial state.

I advised sconnyuk to replace patched /framework with the original one.

Unfortunately, you do not offer any solution to this question.
[Magisk] andheartman:
Xiaomi mi a1 (Android Pie) does not work on the device ..
[Magisk] m.syam:
Hy broo

Help me to patch my service.jar

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

-mock Location and siganture verification
[Magisk] fabinjacksparrow7:
I can screen shot almost all apps except prime video. Anybody know why?
[Magisk] yash221193:
Flag Secure Module not working in Android 10

i Tried Flag Secure Module but its not working Device realme 3 pro realme ui Android 10

Module successfully installed and activated buy not working.
[Magisk] aitormix:
I've installed correctly Smali Patcher, no problems detected and I can see the module en Magisk, but when I tried to use spoofing in Pokemon Go, It doesn't work.

I don't have any 11 or 12 error, It just appears in my true location and the fake GPS doesn't works.

I have been able to use it two days ago, but now, this is my situation, someone can help me with it, please?

I'm running in Android 10.
[Magisk] cheewei:
how is your magisk status? all green?

safety net pass?

magisk hide enabled?

you can try Ninja GPS joystick,
[Magisk] aitormix:
Safety Net passed, Magisk Hide enabled and I'm using Ninja...

As I say, it works for me two days ago, but I don't know what happens now, I didn't touched anything.
[Magisk] Duden17:
Actually I have deodex my service.jar but I have problem when I patch my service.jar using smali patcher. The error show up that service nya not deodex but 2 days ago i could patch my service.jar. i dont know what happen wheter the smalipatcher is wrong or my notebook. :(:(
[Magisk] nuv:
[MENTION=8799586]Duden17[/MENTION]: Just a quick guess, do you have any spaces in the paths of SmaliPatcher and/or the location of services.jar?
[Magisk] MeNoNoob:
Please patch mine too :( I was not able to do it. Thanks in advance
[Magisk] Eng.Raman:
Your patched module zip v1.2 for magisk 15.1.
[Magisk] silverwings2008:
Has anyone used this module to allow apps like Sky Go (UK) to allow casting to an external display? Think it's related to the screenshot blocking.
[Magisk] fOmey:
What android version are you on ? Upload your deodexed service.jar...
[Magisk] Opin:
Help me

Hi [MENTION=1620550]fOmey[/MENTION] can you help me to fix it
[Magisk] Duden17:
I dont know about any space in the path of smalipatcher or the location of service.jar. I dont change my folder name just add service.jar to folder smalipatcher like usual. Mabye you can tell me specific way to make it. Thanks