yashsingh1/xdaforums huggingface dataset:
[Magisk] konks:
I'm also unable to take any screenshots; getting the error message "Taking screenshots isn't allowed by the app or your organisation".

Using Smali Patcher 0.0.6.9 with only the mock lockation flag.

I've checked to ensure the ".nomedia" file doesn't exist in the screenshots folder.

After disabling Smali Patcher in Magisk and rebooting I am able to take screenshots. But re-enabling Smali Patcher stops screenshots working again.

Pixel 2 XL, Android 11, October Update.
[Magisk] beerhuntor:
hello, im new to his whole rooting smali patcher thing so forgive me. Im trying to get smali patcher working on pie with magisk and twrp. However whenever i follow this guide, im getting the error message "ERROR: Failed extracting classes.cdex"

Everything is up to date and latest versions. Using patcher 6.9. How would I link my phones framework folder, as i cant seem to access it outside of TWRP, so wouldnt know how to link/copy it
[Magisk] A30NI_Y:
In twrp, select mount and check "system" then go back to the main menu. Select advance --> select file manager, from here search for system/framework or system/system/framework folder. Click the blue "tick" button on the lower right hand corner and select copy folder. Search for sdcard-->download (or any folder you want to copy the framework folder to) and click the "tick" button again. This will copy the framework folder to the internal storage of the phone where upon rebooting your phone, you can upload it to googledrive or any cloud storage where you can share a link here so I can download it to help patch it for you.
[Magisk] beerhuntor:
That would be fantastic thank you. Looking for mock loc really.. here is the drive link : https : //drive dot google dot com/drive/folders/1sN4JuoHlTgyGMUofsFw0DJSTqoikqcsC?usp=sharing (10 post limit on links)
[Magisk] A30NI_Y:
Unfortunately some of the folders required for the patching are missing, compare the framework folder you've uploaded to the one in your phone to figure out what are missing and re-upload
[Magisk] beerhuntor:
Appologies, link should have the correct files now.
[Magisk] A30NI_Y:
ok, mock loc only
[Magisk] beerhuntor:
Thank you kindly .

EDIT: works a treat.. you sir deserve a medal. very much appreciated.
[Magisk] Msilgg:
Secure flag is not working

The (Secure flag - Allow screenshots/screensharing in secure apps.) is not working :(

After applying the secure flag patch the phone does not let me do a screenshot at all

Android 10 OneUI 2.0 A920F A920FXXU4CTI3 Offical OS with the boot.img patched this magisk
[Magisk] PoochyX:
I'm on Android 10 also and it works for me could be your rom.... Especially Samsung

([emoji880]Omni Rom[emoji880])
[Magisk] DanHo01:
I already reinstalled Java but still get the following Exception:

fOmey @ XDA

Patcher version: 0.0.6.9

==> Detected java: 1.8.0_271

==> Dumped framework

==> Processing framework

Exception in thread "main" java.lang.NullPointerException

Patcher is launched as administrator.

Has anybody an idea what I can do?

Although I don't see the problem with the phone, here the data about it:

Galaxy S9+ Exynos, One UI 2.5
[Magisk] DanHo01:
Would anybody be so kind patching it for me if I post a link to a drive directory with my framework files?

Drive-Link: https://drive.google.com/folderview?id=1hwh5-Bas-wNwMMJ8dLauvp0CTMcWxWxb

I only need Location Mocking.

Thanks in advance.
[Magisk] CpaoV:
I trying to generate a module for Mock locations only, but it keeps failing after loading framework folder, I tried redownloading Smali and reinstalling the other requirements, with same issue.

If anyone can help me create the module with Mock Location, would be greatly appreciated.

Here is my framework:

https://drive.google.com/file/d/1-0oa-cORFpk1xKIRjfc-TaHNWY6WzSTQ/view?usp=drivesdk
[Magisk] mx597turbo:
Same issue here. OnePlus 8 OOS 11 (Android 11).
[Magisk] anndrenaline:
After installing 6.9 with the secure flag on i cant take screenshots anywhere unless i disable smali. even after reverting back to 6.7 it still cant take screenshots :( Something broke the permissions when smali is ON.
[Magisk] Frasp:
Hello!

I got my cheat phone working with smali and appninjas gps app.

Every now and then (once every 20 mins perhaps) the gps jumps to my real position for a second or so and then jumps back to my spoofed location.

Anyone know which setting in the spoof app I need to change?
[Magisk] Dinesh15:
Smali patcher zip file error

404 not found
[Magisk] hurlube:
Just to confirm disabling Secure flag doesn't work on my Android 11 (Oneplus OOS 11 on OP8 Pro). Impossible to take screenshots in secure apps. Tested with 0.0.6.9.

Mock location seems okay.

Volume Warning seems okay.
[Magisk] Splat152:
what happened to the download link? is it availible for androis 10 or 11?
[Magisk] Viking84:
Flag Secure **working** on OnePlus 7 Pro following the latest OTA (10.0.9 GM21BA).

However, before the OTA I forgot to remove the prior patch in Magisk (10.0.7, I somehow never got the .8 OTA if there ever was one) and got a nasty boot loop. Since I'm using Stock OOS and don't have a permanent TWRP installation (only fastbootet during the initial installation of Magisk) I couldn't to sh*t about it, trying to sideload/fastboot it again failed with a bunch of errors I've never seen before, and had to do a wipe & restore from scratch.

To confirm it was indeed the smali module I tried to activate it again immediately after and got into the same bootloop. Once recreated matching my binaries it works without a hitch.
[Magisk] aboorocks:
Help for Son

Hi all,

Apologies in advance- I'm not the most tech savvy, I am trying to help my son install this.

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

Enable smali patcher module in magisk."

What I did was put the generated zip file in my phones "downloads" folder. Then I opened magisk, and tried to install it. Installation was successful, and it asked me to reboot the phone afterwards. The popup reboot button didn't work, so I rebooted manually. Now when we open magisk it says attestation failed when trying to check the safetynet. It also says Magisk installed version is N/A (though the manager has 8.0.2 installed). I am not sure what went wrong and how the safetynet stopped working. How can I fix this and proceed? If I click install magisk, (I don't check preserve dm-verity yes? we are using this for his Pokemon Go), then "next", then "download zip only" it just takes me to a blank screen that says download complete. I am not sure if I am doing the right thing.

Any help would be terrific!
[Magisk] bartleby999:
Take a look at this.

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228
[Magisk] armando3049:
help

when I want to do the patch I get ERROR: Java not detected.

but I already have it installed and also I have already reinstalled it several times
[Magisk] aboorocks:
I don't think I can do this, because our Magisk version is currently "N/A". And I can't seem to install it either through magisk manager.

Edit: I got it, thanks for your help :)
[Magisk] mx597turbo:
It was working for me on OOS 10. Moving to Android 11 (OOS11) broke something in the secure flag with screenshots.
[Magisk] aboorocks:
Help for Son

I am trying to follow this guide to help my son's pokemon go: https://www.reddit.com/r/PokemonGoS..._better_way_to_spoof_mini_guide_android_root/

So far I have done all the steps in this XDA thread, as in I have the smali patcher module installed in magisk modules. In the reddit thread, it says "Open smalli patcher with admin rights, and select only the first box "Mock Locations". (You can select the others if you need them, but they are not useful for PoGo spoofing). Then hit Patch Jar. The process will take some minutes. Be patient."

How do I do this? It only says ADB patch. I assume I need to browse for a jar file but I am not sure which file, or where it would be. Thanks in advance.
[Magisk] A30NI_Y:
That "Open smali patcher...." is for running the patcher program on the PC but since you already have it running, just hit the ADB patch button with your phone connected to the PC
[Magisk] armando3049:
The program does not detect that I have java installed so someone could help me create a module with what I mark in the image.

https://drive.google.com/file/d/16nSek8D4UqEApgHBlOYHfSFSn2pQWXgr/view?usp=sharing

my framework is this: https://drive.google.com/file/d/11sp5HH7lGVj1IHBUWGRRvxZdEFdE-NSL/view?usp=sharing
[Magisk] A30NI_Y:
All options except recovery reboot and samsung knox
[Magisk] PJJSmit2020:
Can someone please create the patch for me if I provide system/framework and the build.prop file?
[Magisk] KrishTej:
"Secure flag" patch is broken in Android 11(in OOS 11 atleast). It's actually doing the opposite job. I selected that and now I can't take screenshots in any app lol. Mock locations is doing it's job fine though if anyones worried.
[Magisk] FreeRunner2017:
Hi can anyone tell me what they did to get smali patcher working for mock location on android 11.
[Magisk] konks:
Screenshots aren't working with Smali patcher on 11 regardless whether you set secure flag or not.

I only have mock location set and I can't take screenshots.
[Magisk] sameersharmap1:
hello bro my mido redmi note 4 never works with the smali patcher so can you make thesmali patcher for me please make the smali patcher the custom rom has issueswith adb and usb https://drive.google.com/drive/folders/1-4qR_szTXL88In-0dXfslWBA47lU3a6_?usp=sharing i only need mock location and nothing more
[Magisk] A30NI_Y:
​

Mock loc only
[Magisk] Narafu:
Hi guys, i've been trying to get smali patcher to work for a while now. Smali connects fine with my note 4, but it crashes after pulling the files. I can't get past this point after trying everything i can think. Can anyone do it for me please? This is my framework folder https://drive.google.com/file/d/1ELiFGx6VSgZ-3UnUBX3P3JOx6RrFmkC_/view?usp=sharing

mock location and high volume warning please

Is that all you need? Thank you in advance guys.
[Magisk] A30NI_Y:
Something is not right with the deodexed services.jar

Link the complete framework folder here instead
[Magisk] kasihtaksampai:
Help me pls, patch services jar.

Option:

- mock locations

- signature verification

- signature spoofing

Thank you.

hxxps://drive.google.com/file/d/1-SFHNqB_XnjkE-NT5xKYm4ec8dsJdQu9/view?usp=drivesdk
[Magisk] A30NI_Y:
mock loc, sig ver, & sig spoof
[Magisk] myaslioglu:
Hello guys

Can anyone patch my framework? My download 's always stuck at 99%

Option:

- mock locations

- signature verification

- signature spoofing

- Samsung knox (secure folder)

Link:

https://drive.google.com/file/d/1jBZEbs3OpiMv1hipQq2bQVbOKptp3693/view?usp=sharing
[Magisk] A30NI_Y:
here you go
[Magisk] Narafu:
https://drive.google.com/folderview?id=14ONq0eEe1CbYIp9OoiXaDOf7MZrxEphP
[Magisk] @kitokit:
I was able to generate a magisk module zip to disable Secure flag only so I can take screenshot in my banking apps, flashed it in magisk manager, but after reboot, I still can get any screenshot for my banking app, Could it be ROM related? I'm running PA5 Android 1O on my MI9.
[Magisk] A30NI_Y:
Unfortunately there are some folders missing from the file so unable to patch. Compare it with the framework in your phone.

---------- Post added at 09:07 AM ---------- Previous post was at 09:05 AM ----------

Secure flag is not working properly as many users here were facing the same issue.
[Magisk] TheUndertaker21:
OneUI 2.5 support?
[Magisk] aceventura82:
Hello

Is signature spoofing working on Android 11?

I have generated the Magisk module, but when flashing the phone is Stuck in Boot Loop
[Magisk] Vishnumaheshs:
i am trying to work it out using ADB Method and its taking way too long to continue and it is stuck after this. I am using a honor 8x android10.

fOmey @ XDA

Patcher version: 0.0.6.9

==> Detected java: 1.8.0_251

==> Dumped framework

==> Processing framework

[INFO] Processing 1 file(s) from bin\services.vdex

[ERROR] [7560] 2020/11/12 00:07:22 (vdex_api.c:51 vdexApi_initEnv) Unsupported Vdex version

I: Using Apktool 2.4.1 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

the window is stuck here for some 45 minutes.

any solutions please.
[Magisk] shreyas1122:
Hello, can anyone provide a step by step for changing the kernel?

I intend to flash Franko kernel.. and I've got a working smali setup already. Is the process same as doing an OS upgrade?

This is with regards to lineage OS on my OnePlus 3t.

Cheers.
[Magisk] Phantom Thief:
Wrong place to ask this. But just flash the kernel on TWRP or whatever custom recovery you use.
[Magisk] shreyas1122:
Oh, you mean I won't have to disable / recompile smali for my phone after kernel change ?
[Magisk] zfk110:
I got stuck in bootloop on this rom, I had to delete it for boot up

here

https://xdaforums.com/moto-g-power/development/rom-omnirom-t4141753

I dont know if it can be run on android 11?
[Magisk] Uzephi:
Sounds like a rom issue. Pixel 3a here on Nov 2020 security patch (Android 11) and mock location patch works just fine for me.
[Magisk] Mohamed677:
Delet
[Magisk] Kostareka:
Help me

Help me pls, patch services jar. Option:

•Secure flag

•Signature verification

•Signature spoofing

•Recovery reboot.

•Samsung Knox

Thank you:fingers-crossed:.

h**ps://drive.google.com/file/d/1-9B2woDzYV-eAP5oFt3zhX1fX58QKa3b/view?usp=drivesdk
[Magisk] zoldick20:
Help

Hello. I need some help. Kindly somebody please patch for play pogo(mock only okay if work) .coz my pc is still broken,lol

Zenfone 3 , android 9 lineageos

Here is the link :

https://drive.googlecom/file/d/1-LmpKC1zMvRH5FXaoUfNsDEiyR8h1Hl5/view?usp=drivesdk

Please add . (dot) For work link

Thnkz very much :)
[Magisk] bmgamer:
The mock location works fine on my Oneplus 8 android 11, but the thing to take printscreen on apps that don't allow that dont work (actualy makes impossivel to take screenshoots in every app)
[Magisk] axel270:
Newb here managed to install it no problem (android 11 google pixel 3 xl). Question regarding updating the module, do I need to do same thing again (connect phone, select the same patch options, click ADB patch, install new module) if theres a new update after uninstalling the old module from magisk?
[Magisk] lividhen99:
When updating the android OS uninstall the module as it may cause bootloop, then create a new module after the update and flash it. To just update the module, I'd recommend disabling the module then patch, but you probably don't have to ?.
[Magisk] axel270:
Thanks! One more question regarding creating a new module, you would have to patch again to create a new module (the rar file) again right?
[Magisk] lividhen99:
That is correct. It pulls the files from your device, patches them, and creates a new module.
[Magisk] KrishTej:
Actaually screenshots are working fine for me once I disabled the secure flag. Now I'm able to use mock locations and take screenshots normally on 11. Try flashing again.
[Magisk] dklearhos:
I patched the framework with signature spoofing option only for OP8 Pro Android 11 but it looks like signature spoofing is not working. Signature spoofing checker returns disabled.

Can anyone confirm if signature spoofing works for OP8 pro android 11?
[Magisk] peterlee123:
fOmey @ XDA

Patcher version: 0.0.6.9

==> Binary download complete

==> Unpacked binarys

==> Detected java: 1.8.0_181

==> Dumped framework

==> Processing framework

==> Detected API: 24

!!! ERROR: Incomplete framework dump, required files missing.

You can try running the patcher while booted into recovery mode with /system mounted, it may fix this.
[Magisk] Vishnumaheshs:
please patch my service.jar for honor 8x.

mock location only.

h**ps://drive.google.com/file/d/1bf2BE6CyxNZ7hjxlE-ogNZAQKb_6Y524/view?usp=sharing
[Magisk] PoochyX:
Is mock location and signature verification working with v0.0.6.9 with android 11

([emoji88]Cr Droid[emoji88])
[Magisk] Uzephi:
Reading the past few pages, seems the consensus is mock location works on Android 11 and sig spoofing doesn't work. Ofc, ymmv with custom roms.
[Magisk] PoochyX:
Thanks

([emoji88]Cr Droid[emoji88])
[Magisk] A30NI_Y:
Missing folders in your framework, "arm" folder is missing and that might be the reason the patcher failed. Compare the linked copy with what is actually found in your phone.
[Magisk] CpaoV:
Hello, can anyone help me with a Mock Location module?

Smali fails on my computer and I have no access to another one at the moment.

I keep getting a "Failed to generate magisk module"

Here I attach the framework folder.

https://drive.google.com/file/d/104deQsle4h0ittnZq27DN8gFmUdYdyrK/view?usp=drivesdk
[Magisk] CpaoV:
Thank you very much, but I'm unable to download it for some reason, either from the xda app or the website.. could you upload it to Drive or Mega? who knows what's going on with XDA now...
[Magisk] A30NI_Y:
here you go https://drive.google.com/file/d/1I3c3Zf9NYHAt27IPzftZlnuB2RthHTaw/view?usp=sharing
[Magisk] xluis:
My xiaomi has a update to miui.

If i update i have to do the pacth again??
[Magisk] MilesDeeper:
So far android 11 and 6.9 working great on two diff devices. Redmi Note 7 and Oneplus 8 pro.
[Magisk] dklearhos:
Interesting. Is the signature spoofing working with oneplus 8 pro? Are you on stock rom?
[Magisk] MilesDeeper:
Stock rom but haven't tried the signature spoof. Test that later today when I get back home.
[Magisk] Gamemaster1379:
Hi all. Having an issue on a Pixel 2 XL on Android 10 (rooted with Magisk). I was able to use Smali patcher to generate a patch, but when I move it to my phone and try to install it as a module, the module is greyed out.

Also, when trying to install with TWRP, I get an error -127.

Any thoughts?
[Magisk] helcurt2ne1:
Sorry, need help again

hello can someone patch this service.jar?

its odex, so here i upload framework folder and build.prop.. its for my friend, and im not have pc right now.. so i cant make it to deodex and patch.. thanks before..

ps: need mock location, secure flag, sign verification and sign proof

link : https://drive.google.com/file/d/1LyeJoi2HpV0wOtvWD7Az2gooC4snM_6B/view?usp=drivesdk
[Magisk] lividhen99:
This was in an xda news post I think a week ago, it was also updated since then and works better, and I felt I should put it out there that it exists ?. It ls a script to patch without a pc. It's easier to use if you have arrow keys on your keyboard, or have you volume buttons click left and right (device specific) and downloading all the things to run it is quite large. Over a gigabyte I think. But you can delete it after so storage shouldn't be too much of a problem, data on the other hand would be. Ere still Not seems to be a bug where you have to run the script multiple times to finish the install.

https://gitlab.com/JFronny/smalipatcher/-/tree/master/android
[Magisk] sorprebic:
Can someone help me patch my framework folder please, I keep getting error in smali

(my pc is bad})

I need mock locations, signature spoofing, and high volume warning .
[Magisk] A30NI_Y:
Not sure why but the patcher just closed by itself everytime I tried to run it. You may want to compare the copied framework folder to the actual one in the phone to figure out what is missing or try the script as mentioned by [MENTION=9248375]lividhen99[/MENTION] a post below yours
[Magisk] revorr:
Can anybody confirm if Secure folder is running on Samsung S20+ (Exynos) android 10? I have been trying everything exactly as mentioned in the guide to patch it but i m not able to run the Secure folder still....

I can't seem to understand where i am going wrong everytime..

a) Do i need to follow some specific steps or require any other files other than those mentioned in the guide?

b) Is it mandatory that i have to create the module file from (BEFORE OR AFTER ROOTING ?) stock firmware or immediately before finishing the setup just after flashing the rom? OR Can i also create the module from a custom rom which already has knox disabled?

c) Also is it mandatory to install the module at some specific stage if any?

Would really appreciate if i could get some guidance ...

Thank you.
[Magisk] Pandemic:
Here patcher services.jar for xperia 1 on latest fw 127 Android Q
[Magisk] TI_Jonathan:
Hi, I'm get this error:

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

I need mock location, secure flag and sign proof.

Help me please

framework
[Magisk] A30NI_Y:
Mock loc and sec flag ONLY. Sig spoof doesn't work on android 10
[Magisk] kasihtaksampai:
Help me pls, patch services jar.

Option:

- mock locations

- signature verification

- signature spoofing

Thank you.

hxxps://drive.google.com/file/d/12KTy8p1m4FDHuZR6hPaRhCXOAQ4TdjKz/view?usp=drivesdk
[Magisk] TI_Jonathan:
thank you
[Magisk] kasihtaksampai:
404 not found bro
[Magisk] A30NI_Y:
try this

https://drive.google.com/file/d/1pP2RumtuGwSLtEILtEwydlza-dKrnaSk/view?usp=sharing
[Magisk] kasihtaksampai:
success, thank you bro
[Magisk] rling:
Is the app np longer available? O'm getting a 404 error trying to download it.
[Magisk] A30NI_Y:
Use the google drive link
[Magisk] sieger007:
I'm getting caught with the root detected by almost all financial apps in spite of having the

magisk hide

option turned on. basic integrity check passes but

CTS profile

fails

it sounds like all financial and Google apps are all on witchunt for root can I use this in any way to to pass my evaluation and conceal my root
[Magisk] Uzephi:
When you do safetynet test in Magisk, does it show Basic or Hardware backed for evaltype?
[Magisk] sieger007:
basic
[Magisk] PoochyX:
Instinct

([emoji88]Cr Droid[emoji88])
[Magisk] Uzephi:
Are you on a custom rom? Might be something in their verity or SElinux issues if you are on a custom rom.
[Magisk] sieger007:
yeah I got all vices on my phone ... question is how do you get $ apps still running

[emoji736] unlock bootloader

[emoji736] magisk ( hidden from all apps that don't use it )

[emoji736] custom ROM GSI

[emoji736] TWRP recovery

[emoji736] phone is not encrypted so I can't set in screen lock. it used to be to be encrypted until one of the magisk modules must of the encryption.

add to all that ...

[emoji736] selinux is permissive

what else ? but in spite of all this earlier I used to pass both this tests
[Magisk] Uzephi:
Maybe encryption could he the culprit. I would suggest disabling that module and encrypting and seeing if you pass again.
[Magisk] sieger007:
I deleted the module already but it left me in a situation where I am unable to encrypt your phone and if I do it ( happened before ) it will not accept my pin . earlier TWRP recovery used to ask my PIN when everything was fine and the phone could be encrypted now any attempt like that and the thing is locked regardless of any kind of PIN . so I am now penniless on the $ app.front & PIN less as well
[Magisk] Uzephi:
Seems you could have an issue 8n your /data partition and a format might be needed, this will remove any data on your internal SD card. This also would do a factory reset, so you would need to setup your device again.
[Magisk] NuLL3rr0r:
It's working on Android 10 for me and not Android 11. I have an OnePlus 8 Pro with Oxygen OS 11.
[Magisk] sorprebic:
Can you help me patch my framework folder please, I keep getting error in smali

ERROR: The specified executable is not a valid application for this OS platform

I need mock locations, signature spoofing, and high volume warning .

Thanks.

Download link:https://drive.google.com/file/d/13CDU4BBrsTj0X6o7ZplH3i8fQh6h-Lqu/view?usp=drivesdk
[Magisk] A30NI_Y:
I tried but failed. The patcher just closed by itself, no sure why this is happening. Maybe [MENTION=1620550]fOmey[/MENTION] can have a look
[Magisk] yass:
Its Android 8.0. The process seems to require internet connection during the patching process, which I disabled, hence the failure to patch.