yashsingh1/xdaforums huggingface dataset:
[Magisk] SirParkour:
I had this exact same issue the other day. I unlocked the bootloader and all was fine. Rooted and all was fine. Hid Magisk and all was fine. All that was left was to install the smali patcher module. After I used Magisk to install smali patcher the phone rebooted but it just got stuck at the Google logo with the line underneath. When I looked at my computer, ADB was no longer recognizing my phone.

I found the site the ***********

Sorry, I'm too new to post a URL to the article I found, but the URL ended in:

.com/uninstall-magisk-modules-in-twrp-recovery-guide/

It said to run this command:

adb wait-for-device shell magisk --remove-modules

I ran that in the command prompt (command console?) on the computer, but it just sat there. I assumed it wasn't working so I closed the command prompt on my computer.

Then I read the statement below (it's on the site I mentioned earlier):

"The above command basically waits for your device till it enters the boot screen, from which point ADB is functional. It will then remove all the installed Magisk Modules to fix the bootloop. With that done, your phone should successfully boot into the system (OS)."

So, when you run that command, the computer is just waiting for your phone to re-connect at which point it can immediately run the command.

While my phone was still connected via USB, I restarted my phone by pressing the power button and the volume down button at the same time so that it would enter the bootloader screen. Then I ran the above command on my computer (in the ADB directory, of course) and it was sitting there waiting (like it's supposed to). Then I pressed the power button on my phone so that it would start booting into the OS. As it was booting, it connected to the computer and ADB could apparently detect it again. The above command wiped out the smali patcher module and my phone restarted again. After that reboot, it fully loaded into the OS and everything was great. No more bootloop and no more getting stuck at the Google logo!

I just had to figure out why this happened in the first place. After some time, I realized that when I ran the Smali Patcher .EXE file, I forgot to right-click on it and select "Run as Administrator". That's very important! When I ran it as administrator, it created the zip file again. I put the zip file on my phone and I installed smali patcher again (via Magisk) and everything worked flawlessly! Everything is good to go now.

I hope this helps anyone else who ran into this same issue!
[Magisk] vhick:
Great! Thanks you for the info ☺️
[Magisk] faiqfahmi:
Hi, sir iam downgrade my fw device from pie to oreo. Please can you build again my framework only mock loc, thks

This is my file

https://drive.google.com/file/d/1ibsbXFt-jrwq4SPn5jj9PB1IxNzsX5-d/view?usp=drivesdk
[Magisk] scraimer:
Hi, help me generate the Magisk module for the Redmi note 4 phone (global 11.0.2). Use Smali Patcher below 0.0.6.2 and got errors and use service.jar. Only Mock location, tnks

error: magisk module template download failed.

http*s: / / drive.google.com/drive /folders/ 1PdOyZIuNsO7oz8vvDJpf56gxqh2S-HUt?usp=sharing
[Magisk] vhick:
Hi, may I know how to check if all the patches are applied? It seems not all are not successfully applied. Thank you..
[Magisk] A30NI_Y:
Mock loc only

Only need the framework folder, you have zip the whole system folder. Next time just copy the framework folder found inside the system folder will do.

In addition, if you are getting magisk module download failed, just click the "PATCH" button again, the second time most likely will be successful
[Magisk] TelephotoInk:
I've tried to Google the issue I'm having but I'm not sure what method/solution will fix the problem I'm having. I have a Oneplus 7t and have completed rooting the device using Magisk Manager. I don't have a TWRP since it is not available. I am able to pass the SafetyNet checks. When I installed Smali Patcher it caused my phone to go into boot loop and I have not been able to get past that. I had to erase everything and root my phone over again so now I am back to the point of where I would install Smali Patcher. I am trying to get the Fake GPS app to work so that I can use it for Pokemon Go but I'm stuck. Should I be using expert mode in Fake GPS? It's greyed out and I couldn't get that to be enabled if that's the route I should take? It would be greatly appreciated if someone could at least point me in the right direction as there is so much information online about it but I am unsure what will work for my situation and I don't want to have to keep rooting the phone if I can help it. Thanks in advance.
[Magisk] Newbie8000:
Is it possible to add items to an existing module you created?

Trying to use the secure flag patcher but it is having issues downloading the magisk template(apktool as well but I found that)
[Magisk] A30NI_Y:
What patches you have selected?
[Magisk] TelephotoInk:
Mock locations and high volume warning. I watched so many tutorials on YouTube for the various steps but the one I watched for Smali had those two selected.
[Magisk] A30NI_Y:
Well the 2 patches should not have any issue. I'm using the 6T without issue but only with mock loc and secure flag.
[Magisk] TelephotoInk:
I will try those two instead. What version OS are you using? I’m on 10 so I don’t know if that’s part of the reason it’s not working.
[Magisk] Battlemon:
Galaxy S20+ support? pretty, pretty please?
[Magisk] A30NI_Y:
I'm on the latest 10.3.5 for my device. Never have a problem with smali on my device yet.
[Magisk] bshknga:
spoofer

GPS SPOOFERS / FUSEDLOCATION / RUBBERBANDING NOTICE ::

FusedLocation API GPS spoofers are NOT compatible with the mock location patch.. your required to use a traditional GPS spoofer! Spoofed location updates will be fed into fusedlocation all the same, meaning you don't need to disable the service..

what spoofers are reccomended/working? and do i have to install them as a system app?
[Magisk] benlm72:
Help to generate module

Hi all !

I can't generate smali patcher module because my phone is seen as unauthorized in adb, what was previously working. I have not yet found a workaround.

As I've seen here that some people kindly generate module from framework directory, is it possible to explain me how to do that, or to do that for me ? I just need the mock location feature.

Here is a link to a zip of the framework directory in the system directory of my phone : https://www.dropbox.com/s/na0hwkdzp2s5pcu/framework.zip?dl=0

Thanks in advance for any help !
[Magisk] imcristian:
(error target jar must be developer)

hello, i have (error target jar must be developer) on redmi note 8 with andrid 9.

help me please.
[Magisk] psychoela:
here go
[Magisk] benlm72:
Many thanks !
[Magisk] LuigiHacks:
Help please

Could you please help me generating a module from my framework folder? My device is a Galaxy J6+ on Android 9.0

I got this error message even when I tried with twrp mode:

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

[INFO] 1 out of 1 Vdex files have been processed

==> Extracting classes.cdex

!!! ERROR: Failed extracting classes.cdex

Only Mock Locations option

h**ps://drive.google.com/file/d/1cliF9-J91sGYvvD2H68XlWlJQqRvDvCn/view?usp=sharing

Thanks!
[Magisk] hgunduz295:
Binary download stuck in % 99
[Magisk] SamBadyl24:
I am using LineageOS on Samsung J3(2016). For some reason I have to use Magisk 19.0. When I try to generate SmaliPatcher I receive message that I have to use latest Magisk 20.4.

Can someone help to create correct SmaliPatcher?
[Magisk] c65asim:
!!! ERROR: Incomplete framework dump, required files missing.

Can anyone help me?? Mock locations and signature spoofing

drive.google.com/drive/folders/1z-L2vUrGYccZk70t4BrdrF0NfZzwpmu_?usp=sharing
[Magisk] MysticAlpha:
Need help

Could someone kindly create a mock location only patch for the following framework?

Thanks in advance

https://drive.google.com/file/d/1-0Ng-7a85F8A4fTw6vBmwqxYqajklk-b/view?usp=drivesdk
[Magisk] MysticAlpha:
My phone doesn't get recognised by my laptop. So I got the above framework in system folder using a root browser. But when I try to create the patch using smali, it still says adb devices not found. Can someone guide me what am doing wrong?
[Magisk] c65asim:
Kindly help me to patch Mock loc and sig spoof?

drive.google.com/drive/folders/1biyjDr1opkDqO5Csn-msuyO1uf1HWgin?usp=sharing

Thanks in advance :D :D
[Magisk] A30NI_Y:
Already did, refer to 3 posts above this. It's the same framework right?
[Magisk] dandao17:
the secure folder still does not work even after activation of the patcher

Galaxy S7, android oreo 8
[Magisk] MysticAlpha:
Thank you very much.
[Magisk] eneg:
Is the knox patch still incompatible with samsung a50 on android 10?
[Magisk] GrandMstrBud:
Where can I find Smali Patcher?
[Magisk] iamelton:
maybe try this thread?
[Magisk] asifbhaijaan:
pls help me make one for redmi note 4 mido v11.0.2..i dont have a workable pc around
[Magisk] kjason:
Could someone create a moc loc only zip? Appreciate it!

https://drive.google.com/file/d/107bQSJBWt19kvGUAgluTuxiJYGM_wafw/view?usp=sharing
[Magisk] JazonX:
Anybody had luck on Samsung S20+ and Note 10+ ?

After enabling the patch, I cant take screenshots anywhere.

Shows a Protection notification toast something that says it cannot capture the screen.
[Magisk] jimbo77:
Secure screenshot patch is broken for Samsung since Android Q I believe. Same as Secure Folder, you cannot successfully use those patches anymore.
[Magisk] JazonX:
Thanks a ton for this. I thought I messed something up !
[Magisk] lividhen99:
Upload your entire /system/framework folder and someone can patch it for you. Also mention what patches you want.
[Magisk] asifbhaijaan:
Here's my framework and build prop... Pls make me a smali patcher module with mock location and high volume tweak...only want for pokemon go.. Thanks a lot

framework

build prop
[Magisk] sergefiigo:
please help , binary stuck 99%
[Magisk] pocholo36:
same here on the latest version, had no issues on 0.0.6.7

---------- Post added at 07:30 PM ---------- Previous post was at 07:18 PM ----------

if someone would be so kind, here's my system/framework and build.prop.

only need Sig Verification, Sig Spoofing and High volume warning. Thanks in advance.

https://drive.google.com/drive/folders/1mzwgwgiMt1SbunEl6dNvB4g3TxNJRF-4?usp=sharing

---------- Post added at 07:49 PM ---------- Previous post was at 07:30 PM ----------

WORKS.

Here's what I did. Restarted PC.

Deleted bin and temp folders from Smali directory

Went to command line and made sure ADB server is running and phone is recognized: "adb devices"

In Windows, I Right-clicked the Smali executable, and under the Compatibility tab, I checked Run this program as Administrator. Hope this helps.
[Magisk] Kazryu:
404 not found when trying to download smali patcher 6.9
[Magisk] iamelton:
use the google drive link in the first post..
[Magisk] head_djmusic:
No Matter what to do, the Binary download process stuck in 99% !!!

What to do?
[Magisk] bustyouup4free:
Delete bin and temp folders and try again
[Magisk] head_djmusic:
Found that in TEMP/Platform-Tools.zip won't be downloaded so manually downloaded and replaced but NO LUCK! Binary download Still stuck at 99%
[Magisk] A30NI_Y:
Mock loc only

Use this link

https://drive.google.com/file/d/1LsU5_2F-9WgPv0CoJOzvaJhQPVjYyfGW/view?usp=sharing
[Magisk] A30NI_Y:
Mock loc and high vol
[Magisk] asifbhaijaan:
I think xda servers are down.. Showing 404 error on all files.. Can you send a gdrive link
[Magisk] A30NI_Y:
Signature spoofing is broken with android 10.

---------- Post added at 09:38 AM ---------- Previous post was at 09:34 AM ----------

Darn... try this

https://drive.google.com/file/d/1AfsY-CUji44ZB2iX3bpn9IXTaOCwTBrf/view?usp=sharing
[Magisk] asifbhaijaan:
Really helpful...God bless you and eveyone
[Magisk] sohan2789:
hi all and [MENTION=1620550]fOmey[/MENTION]

i have facing this issue during making a smali patcher in redmi 5A miui 11.0.2 android 8.1 and security patch 2019/1/01 system installed latest java 8 261, latest minimal adb fastboot and latest smali 6.9 .. after idle when hiting adb patch then minimal adb cmd window opened and first two lines are

[adb: warning: stat failed for path /system/framework/miuisdk.jar: No such file or directory

adb: warning: stat failed for path /system/framework/miuisystem.jar: No such file or directory]

get this and other processes continused but after closing window in xda smali screen got listed below summury

==> Unpacked binarys

==> Detected java: 1.8.0_261

==> Dumped framework

==> Processing framework

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

I: Using Apktool 2.4.1 on services.jar

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

!!! ERROR: Signature spoof class not found.
[Magisk] rsk_kelkar:
Not working for me too. I am using Sony Xperia XZ1 Compact with stock Pie ROM. I tried the adb method both in recovery and phone running mode. Secure flag is working fine though. I can mirror protected content on my TV. Didn't test other patches.

I kind of landed here for 'Signature Verification'. Any tips?
[Magisk] @ayahfachri:
I use L*cky Patcher to do that, sort of.
[Magisk] JackSbirrow:
Hello guys, I have tried everything today but I didn't come up with a solution.

The error I get is:

fOmey @ XDA

Patcher version: 0.0.6.9

==> Detected java: 11.0.8

==> Dumped framework

==> Processing framework

==> Detected API: 23

!!! 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.

I tried to ADB patch even in recovery TWRP with system mounted but nothing. I just have Magisk installed correctly with TWRP 3.4.0

I copied with TWRP the folder "system/framework" to desktop and used to patch, same error. I ask you guys what's wrong here. I have privileges and everything fine...

---------- Post added at 06:20 PM ---------- Previous post was at 05:54 PM ----------

Here is my framework folder (from system). I just need the mock locations and the other option for gps. I don't know if it works, but here it is:

https: //drive.google.com/file/d/1b7GinpBAa_fthntwaVbXN8lmm41stx4M/view?usp=sharing

Hope you can patch it for me...
[Magisk] th3cavalry:
Running Pixel 3a XL on Android 11 when using 6.9 and enabling secure screenshots it actually blocks screenshots throughout the whole system. You can't even screenshot the home screen.

Just a minor bug, everything else seems to be working properly.
[Magisk] A30NI_Y:
Looks like a permission issue, try to copy the framework folder from the phone to the pc and use the "BROWSE" button to point to the copied framework to patch. You will still need to connect the phone to the pc in order for it to work. If still same error, check whether the copied framework files in the pc matches with the one found in the phone (most likely some files failed to be copied, happens a lot with xiaomi phones and i don't know why).
[Magisk] sohan2789:
hi thanks for revert

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

how i can find framework folder in phone tried but not found..

and i don't why when in twrp recovery on screen install mount option displaying my phone not mounting to with laptop storage not showing on pc. my screen shots after pulling files but error on decompiling.

not able to give link here anyone who can help on this please mail once to check my files on gmail chlotrarsohan@gmail.com
[Magisk] A30NI_Y:
Booted to twrp, mount -->system, go back then in advance -->file manager, you will be able to select the system folder in root directory. The framework folder is located in system folder. Select framework folder and click the blue button to copy and select your internal storage and paste it there so when you reboot your phone you can then transfer the framework folder to your pc.
[Magisk] sohan2789:
Showing Internal 0 and not able paste in sd card

++++++++++++++++++++++

Thanks for the Solution but unable to paste in internal..

when to mount and tick system and micro sd card.

go back and went to advance file manager and the in system find framework folder. after click on copy folder take me to storage sdcard empty and in sdcard1 failed to copy showed red messages..

even in twrp recovery when click on select storage internal showing 0 micro sd card tick default
[Magisk] A30NI_Y:
Assuming you have already rooted the phone, you can use a file manager with root access to copy the framework folder from the phone or refer to post #5832 in this thread
[Magisk] Green990:
Hi. Can you make smali for me? I just change a rom. Here the link

http://www.mediafire.com/file/p8t29azamr0sfix/framework.zip/file

Mock location and disable apk verification. Thank you
[Magisk] Wesley_NL:
i got a galaxy s6 flat,

with a custom rom ,

it is magisks rooted ,

i downloaded the smali program, ran it as admin ,

selected all options and created the patch,

then copied it to my phone

but once i install that pach the phone is stuck in boot logo

what am i doing wrong ? do i need to use a offical rom ?
[Magisk] cbendot:
patch for me to,, please anyone:good:

mock location

secure flag

signature verification

signature spoofing

high vol warning

thanks before
[Magisk] stuckwithverizon:
i am on android 11 pixel 4 xl

i was able to successfully use smali patcher on android 10, however i recently flashed android 11 with magisk working however when i attempt to run smali patcher on PC, it crashes and it doesnt produce the patched file anymore.
[Magisk] A30NI_Y:
Mock loc and Sig ver
[Magisk] A30NI_Y:
All 5 patches
[Magisk] A30NI_Y:
[MENTION=5701403]xxjacksonxx[/MENTION]

Mock loc only
[Magisk] cbendot:
unlimited very thanks. .
[Magisk] sohan2789:
thanks for the help

bro i got the folder in sd card but when i tried copy to sd card in root browser after process it says failed to copy but in sd card folder found in that directory....and even i cross checked the all files count in the smali patcher-->adb-->framework with sd card frame work its all same in all directories...still not able to get patch....how do patch now
[Magisk] A30NI_Y:
I don't really understand what you did but since you have managed to get a copy of the framework folder, upload it and share the link so I can have a look.
[Magisk] sohan2789:
framework folder for my redmi 5a

thanks bro..i am busy in work and tried today.. here the the below link my framework folder

https://drive.google.com/file/d/1TfAJzk-c4pd2DfAgn7hNCb6SRMmPrl90/view?usp=sharing

I'm trying only for mock location and signature spoofing patch
[Magisk] bilal91:
progress got stuck on magisk template download: 91%...my framework is attached below if someone could kindy patch just the signature verification on it please, much appreciated :)

https://mega.nz/file/cShjBJZT#mKyUPEtf-pf6JKWKvbUVYDnuiuh3tIfy7v76-0bK6d4
[Magisk] bilal91:
^anyone???
[Magisk] anjarys:
Hello

How can i stop smali patcher from continuously creating tmp directory?

Deleted it but it keeps back.
[Magisk] A30NI_Y:
The link provided above are screenshots, I need the actual framework folder to generate a module for you
[Magisk] A30NI_Y:
Everytime it patches, it will auto create a tmp folder and some other folders but once it is completed, it will auto delete all tmp folders (auto clean).
[Magisk] anjarys:
Thats odd because i find the tmp folder comes back after each delete. Patcher keeps running maybe?
[Magisk] A30NI_Y:
When you first run the program, it will fetch the binary files and will create the bin folder together with the tmp folder. It will be there until you do a patch and a module is created. Once it is completed, it will trigger the cleaning process automatically and this will remove the tmp folder together with apk folder etc. In the end you will be left with only the bin folder, the .exe patcher and the module once completed.
[Magisk] anjarys:
True. I notice this. At first i leave bin folder untouched. But then tmp keeps coming back. Now that i have delete everything include the bin folder and tmp still loves my laptop. Wonder where the exe hiding itself.
[Magisk] marregazza:
Hello. Can anybody patch secured flag and mock location? Below the link of my framework+build prop. Thank you in advance.

https://drive.google.com/file/d/13KdBiEJFRpqxX0CwGNGdcw6Z9GzRLXhR/view?usp=drivesdk
[Magisk] sohan2789:
thanks for the help

Hii.. Here is the framwork zip file

https://drive.google.com/file/d/15wdockkVAqg6xF3GH2BVAQP6f3ZdwnZ5/view?usp=drivesdk

Thanks in advance....
[Magisk] bilal91:
Thanks a lot dude :)

it didn't seem to work for vanced as can be seen from the image :(
[Magisk] A30NI_Y:
The OAT folder is missing from the link, unable to patch.
[Magisk] bobbarker2:
Why are so many people having someone else run the patcher for them? Do these people not have access to a PC?
[Magisk] Blissey:
guys is that only me or secure flag not working on android 10 :(
[Magisk] shoey63:
That, plus ones that do probably don't have the competence to setup adb properly.
[Magisk] onlylove943:
Signature verification doesn't working on Android 10

---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------

Not working for me too. I think apk signature verification doesn't work on android 10
[Magisk] bilal91:
ahh shame, I know you can do it with edxposed and lucky patcher but don't wanna go down that route
[Magisk] sohan2789:
hi thanks for revert

How I found that folder now I think that why the msg show failed to copy from root browser to SD card... By the jumping issue is very less when playing steady at a place... I'm thinking to flash miui rom again using fastboot and then again root device or else use pg sharp with new account...
[Magisk] nathlynn22:
First time spoofing. Have smali module set up. Just looking for a mock location spoofing app. What do people recommend? Thanks
[Magisk] Phantom Thief:
GPS JoyStick
[Magisk] A30NI_Y:
It good that you have managed to get it working. The jumping issue (rubber banding) is most likely due to your device setting, did you disable "google location accuracy"? Also are you using GPS joystick?
[Magisk] sohan2789:
thank you for the help

hello bro ...i do nothing with setting of gps its always high accuracy ...using ninja app gps joystick..playing when i am sitting at 1 one place no movement of phone and self.

but what i do now is flash the miui 11.0.2 fastboot rom using miflash tool and in last night and install twrp but when i install twrp it asked to modifiy partion . i swipe to right yes to modifiy the partition ,after this went mount --> select stoge --> in pop up window still showing internal 0 mb.

watch a video where person solve this problem using wipe data cache internal and dalvik option to wipe but unable to wipe and again tried to change data file system to change there type to ext4 to fat and then again is it safe?

i tried to install the orange fox after flashing orange it said done but when reboot to recovery it open default mi recovery

device redmi 5a

miui 11.0.2 android 8.1

what i do now please suggest the process..how to solve this

any video link or help will be appriciated data not mounting during fastboot and internal showing 0mb
[Magisk] stuckwithverizon:
not working on android 11, with all settings except the samsung knox, it crashes the program on my computer without generating the patched file. i tried with turning off the recovery reboot setting and it did generate the patched file but it corrupted my system and i ended up having to factory reset my phone... anybody with any success on android 11?
[Magisk] A30NI_Y:
You might want to completely re-flash the phone using MTK flash or something (cannot remember the actual name), try asking in forum for the device. Once you have manage to get it working again with root, flash smali again and this time disable the high accuracy, use device gps only. This will likely stop the location jumping.