yashsingh1/xdaforums huggingface dataset:
[Magisk] TheUndertaker21:
stuck on 15 percent on xl3

and note 9
[Magisk] TheUndertaker21:
can't believe that worked LOL

copy the folder framework to your SD card of the phone and run the application though the path did the trick

thanks
[Magisk] im_amit:
Will it work on pixel experience android pie rom?

Sorry newb here :-p
[Magisk] TheUndertaker21:
yes

however i don't think it's working properly

signature verification isn't working at least for me

got app not installed.
[Magisk] im_amit:
I just want the screenshot feature. Will it work?

If yes can you just run me through the steps including deoxeding the system.jar file. Please? :eek:
[Magisk] Josh23:
to play Pokemon Go which patch options is needed besides mock location or do i have to select all of them?
[Magisk] TheUndertaker21:
That works.

I just want the disable signature one.
[Magisk] Suryo75:
Use alternative ways with fullmix deodexer
[Magisk] TheUndertaker21:
i see one error on this : W: Could not find resources

does this mean everything was successful ?

fOmey @ XDA

Patcher Version: 0.0.2.9

I: Using Apktool 2.3.4 on services[2].jar

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

I: Using Apktool 2.3.4

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

W: Could not find resources

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***

I: Using Apktool 2.3.4 on services[1].jar

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

I: Using Apktool 2.3.4

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

W: Could not find resources

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***
[Magisk] Iw2N:
It doenst generates a zip for me, Android Pie.
[Magisk] Spartacus500:
Info

W: Cold not find resources

Yes, everything is ok, this line is false ;)
[Magisk] TheUndertaker21:
Yeah sadly signature verification isn't working properly :/
[Magisk] Spartacus500:
Can you describe exactly what the problem is :confused:
[Magisk] TheUndertaker21:
so application i wanna installed on top of each other

i got app not installed error

that's how i know verification didn't work :(
[Magisk] fOmey:
The signature verification is partly working, it allows

execution

of modified apps.. not the installation through the package manager.

You need to overwrite the app using a magisk module or manually with a file manager - the patch required to allow overwriting apps through the package manager UI is outside services.jar.. so I wasn't able to include it.
[Magisk] TheUndertaker21:
Merry Christmas fOmey

Can you elaborate more?

Seems like what I need is only through xposed and we don't have that for pie yet.

What magisk module will allow me to. Do so.

Thanks.
[Magisk] fOmey:
Merry Christmas to you too!

You need to replace the APK.. two ways you can do this: with a root file manager (copy & paste) or if you want to keep everything "systemless" you can create your own magisk module.

I would go the magisk module route, you can find the magisk module template on github with a ton of documentation.

Creating your own module is pretty straight forward, you just need to configure a few files, give it a name and your off to the races.. again all the documentation on github should answer any questions you might have.
[Magisk] TheUndertaker21:
Yikes sounds complicated lol
[Magisk] TheUndertaker21:
hey do i have to create a module everytime i need to install a modify app?
[Magisk] im_amit:
Smali patcher shows

adb error: failed to copy 'system/build.prop' to 'adb/build.prop': remote open failed: Permission denied

Everything continues and i have a system folder in the same directory. After the process the application closes automatically and no magisk module is generated. Please help . I am on pixel experience android pie. I just want the screenshot feature.
[Magisk] Andry Nano:
i dont know where problem , after click patch "status decompile" and smali patcher disappeared
[Magisk] domhall012N8:
Havin the same issue with RomAur_v3.4_N960_ZRL6 (P02) deodexed as well... Using the 2nd method of course...
[Magisk] fOmey:
Can you link me to the rom?

EDIT: Nevermind, found it.

How much RAM does the PC your attempting to run the patcher on have?
[Magisk] domhall012N8:
16GB or DDR4 on my Dell XPS desktop... ROM is "partially deodexed" tho... Would be interesting if it worked for you pulling the services.jar from the framework...
[Magisk] fOmey:
Just finished testing with the rom mentioned above and the patcher worked fine.

This crash seems very specific to certain PC's, I can't figure out why.

I don't believe the patcher to be the problem tho, if they supply the files it works fine on other PC's.
[Magisk] domhall012N8:
Agreed... And thanks for checking... ?

Is it possible to post the created module here please?
[Magisk] fOmey:
What patches did you want?

Can you also please try decompiling any deodexed APK manually..

Invoke the following:

java -jar apktool.jar d <PATH TO APK/JAR>

eg:

java -jar apktool.jar d "C:\services.jar"
[Magisk] domhall012N8:
All 4 patches please as I remember. .. I will attempt that when I get back to my pc ?...
[Magisk] Drekonai:
Whoop whoop, I just wanted to say that it works..

Now I can open an incognito tab within Chrome for my scrcpy.exe USB Mirroring.

Thanks a lot!
[Magisk] StooMoo:
No .Zip

Hi,

I have ran as admin and it is not creating a .zip file. Can anyone help?
[Magisk] khanhphanvan1993:
error target JAR must be deodexed

please help me, i have trouble running the smali patcher when i run the file services.jar it keeps saying "error target JAR must be deodexed". I am currently using samsung j1 2016, android 5.1. Please help me. sorry my english is not good
[Magisk] kuprakupret:
how to use adb method?

anyone can help me for step by step

sorry my english bad
[Magisk] azZA_09:
Hey, I have the same problem, for the same device, but different rom (Alexandr DevBase). It crashes when it reaches extracting classes2.dex (or something like that). I ve uploaded my services.jar. Can you, please, patch it with the four options? Same PC specs, also 16 gb DDR4
[Magisk] Spartacus500:
[MENTION=5941368]azZA_09[/MENTION]

Your services.jar is not deodex & not possible patch Smali. You must services.jar deodex.
[Magisk] fOmey:
Disable signature spoofing and re-run... report back if you still crash.

Are you running 32 or 64bit windows?
[Magisk] fOmey:
CHANGELOG ::

3.0 ::

Updated dependencies.

Reworked some core functions to attempt to fix unknown caused crash for certain users.
[Magisk] Mirmo19:
Hi,

I am having trouble using Smali Patcher (I don't find .exe file in the thread, just the .zip module to import in Magisk) with xiaomi mi5S and MIUI10. After installing Magisk 18.0, everything works fine except when I add your patch. After automatically reboot, phone isn't able to boot anymore, stuck with "Mi powered by Android" over and over. Going to twrp and flash again magisk do not repair anything, i have to flash miui10 rom to get my phone boot.

I have been trying for serveral hours now, but i want badly to spoof in pokemon go. So I need your help !

Regards,

Mirmo
[Magisk] shoey63:
[MENTION=1620550]fOmey[/MENTION]

As posted above, there is no executable file in the 3.0 zip.

Also on slot A/B devices, framework directory resides in /system/system/framework.

Edit: build.prop is in /system/system as well.
[Magisk] TheUndertaker21:
still wish this was able to disable signature completely on pie :(
[Magisk] Spartacus500:
Where is the link :confused:
[Magisk] fOmey:
I'm a doofus.. I uploaded the wrong zip..

All fixed now.. check the OP.

Give this a try, slapped it together... hopefully works:

CHANGELOG ::

3.1 ::

Added "/system/system" path to dumping functions.

Added output filter to avoid user confusion when spitting out harmless errors.
[Magisk] exis_tenz:
Hi! I have to say, my knowledge of programming and all-related is so to say "not much".

I am very interested in this module - but only the "disable flag secure". I have a OnePlus 5, running Stock OOS 9.0.1 (Pie), rooted, Magisk installed.

What on earth should I do to get this thing working? Can somebody explain in very simple language or help me?

The best feature of Xposed now available for Magisk, that would be awesome!!!
[Magisk] fOmey:
Start off by reading the instructions in the first post.. is there something specifically that you don't understand in the instructions? Anything I can do to improve them?
[Magisk] exis_tenz:
Well I can't see an Executable file just a Zip which I presume is the Magisk-Module.

Secondly, I am not sure whether it will work on Pie, really the whole thing A/B, Build-Props, Frameworks is Chinese to me.

One it comes to inserting modules or following instructions I am pretty good, nevertheless most of the time no idea what I am doing but following leads. Sorry.

UPDATE: okay, I missed that part where you uploaded the wrong file. Got the .exe-file now. As soon as I run it (double click in Windows) or execute it as administrator it goes wrong. When I double-click it, the Exe-file gets deleted (just like that). If I try to open it as administrator it gives me something like I do not have the rights to open it.

Any help would be highly appreciated! Thanks in advance!
[Magisk] fOmey:
Sounds like your virus scanner is deleting it.

Can you try in recovery mode and see if that makes any difference?

Looks like it's converting the vdex.. which is good.

Point of failure looks like when it converts cdex to dex:

bin\compact_dex_converter: 1 file pushed. 20.4 MB/s (5087392 bytes in 0.238s)
bin\classes.cdex: 1 file pushed. 21.7 MB/s (10293584 bytes in 0.451s)
EventTagMap: unable to open map '/system/etc/event-log-tags': Too many symbolic links encountered
Segmentation fault
[Magisk] minos197:
I may be wrong but I remember reading at a Chainfire's post in G+ that in A/B partition devices with systemless root, the /system is mounted under /system_root. This would make the framework path /system_root/system/framework.

Has anyone tried using the patcher on One Plus or Pixel devices with Android O/P?

If that is something that the code already takes into account, please ignore that post.
[Magisk] shoey63:
I tried in recovery first up and got the errors.

You are right though. In booted system the path is /system_root/system/framework and just /system/framework

Tried the patcher when booted and the log looks good

fOmey @ XDA

Patcher Version: 0.0.3.1

pull: building file list...

/system/framework/: 890 files pulled. 12.0 MB/s (301844895 bytes in 23.922s)

==> Dumped framework

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

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

[INFO] 1 Dex files have been extracted in total

[INFO] Extracted Dex files are available in 'bin'

bin\compact_dex_converter: 1 file pushed. 23.9 MB/s (5087392 bytes in 0.203s)

bin\classes.cdex: 1 file pushed. 24.2 MB/s (10293584 bytes in 0.406s)

Opened '/data/local/tmp/classes.cdex', DEX version '001'

/data/local/tmp/classes.cdex.new: 1 file pulled. 24.3 MB/s (10768912 bytes in 0.422s)

==> Extracted classes.dex

I: Using Apktool 2.3.4 on services.jar

I: Baksmaling classes.dex...

I: Copying assets and libs...

I: Copying unknown files...

I: Copying original files...

==> Patched mock location boolean

==> Patched mock location boolean

==> Patched secure flag function

I: Using Apktool 2.3.4

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Building apk file...

I: Copying unknown files/dir...

I: Built apk...

W: Could not find resources

info: read 'tmp\dist\services.jar'

info: read 'bin\sigspoof_7.0-9.0.dex'

info: type 'com.android.server.pm.PackageManagerService': method '<init>():void': (PackageManagerService.java:28): implicit ignore of trivial default constructor

info: write 'classes'

0 error(s), 0 warning(s)

==> Merged patch: sigspoof_7.0-9.0

info: read 'tmp\dist\services.jar'

info: read 'bin\sigspoof_core.dex'

info: type 'com.android.server.pm.GeneratePackageInfoHook': method '<init>():void': (GeneratePackageInfoHook.java:35): implicit ignore of trivial default constructor

info: write 'classes'

0 error(s), 0 warning(s)

==> Merged patch: sigspoof_core

==> Magisk template download complete

==> Generated magisk module zip file

*** Complete ***

No lags pulling the files either. :good:
[Magisk] fOmey:
It doesn't actually.. I think I'll have to rework some functions to accommodate.

Great!

If you get the chance can you check if "/system_root/system" is valid in recovery mode?

I'm trying to decide if I should remove "/system/system" or switch it over to "/system_root/system" to cover both recovery & normal operation.
[Magisk] shoey63:
These screenshots were taken in Sony XZ2 recovery.

Can't find the files in /system_root/system.

In /system/system/ they are there but don't work with the patcher. Slot A/B devices are weird lol.
[Magisk] fOmey:
Right on, thanks for checking!

Yeah this A/B partition layout is whack, still running my beat up Galaxy S6.. trying to drag it out till the S10 drops this year.

Thanks again.
[Magisk] TheUndertaker21:
[MENTION=1620550]fOmey[/MENTION]

you may have fixed the crash on 3.0+

since i can run it fine on my dekstop

i had to go to my laptop in other to use it last time
[Magisk] domhall012N8:
Okay gang... Finally got the Somali Patcher 3.1 to work on my Windows 10 64bit laptop... I'm running the partially-deodexed, RomAur_v3.4_N960_ZRL6.zip ROM with no issues...

What I did was drop the all files on my desktop in a folder... Right click on the EXE and "Grant Access"... Then run the EXE as instructed... Selected all 4 mods... Took less than 1-minute... Done!!!

Installs and works just fine... I did however experience, not an issue but a loss of function. I no longer have the same ROM Control "Button Functions" settings that I was using before the Smali Patch... Not yet sure if other Rom Control functions were also affected... Haven't tested...

I wanted the Patch so that I could screenshot various banking and other secured applications and the Smali Patch makes that of course very easy to do... Also configuring my Bixby button to take Snapshots of course...

Then I discovered, by chance, that I could remove the Stylus and Smart Select the whole screen area, save it as an image file, and still bypass the banking security issue also lol ?... But anyway... IT DID WORK ⚒!!!
[Magisk] Adromir:
I have tried to apply the flag secure patch on two different devices. Neither of them worked. Is there something I might be missing?
[Magisk] exis_tenz:
[MENTION=1620550]fOmey[/MENTION]: it was not the virusscanner I suppose, since I tried (now) an another laptop also with Eset antivirus. I ASSUME that Malwarebytes was the troublecauser, since the second laptop does not have it installed. Only this laptop is sooooo sow, the programm took 20 minutes (!) to make the file. BUT: IT WORKED!!! It's an amazing module you have created and I am really, really happy to have Flag_Secure disabled (first time I managed after saying goodbye to Xposed). Great, great work and big thumbs up! Oneplus 5 [MENTION=3251430]oos[/MENTION]9.0.1 rooted with Magisk.
[Magisk] victordisolo:
Hello...I have OP 6T OxygenOS 9.0.11 and wanted to try smali module 0.3.1, but I got non deodexed error. Anyone kindly enough to sent me the finished module ? Thanks in advance.
[Magisk] nominath654:
Patcher crashes after extracting classes.dex

hi, i have a op6t running the latest android pie, rooted with magisk v18.0. i downloaded smali 3.1 and extracted the zip, i ran the patcher with my phone plugged in via usb and enabled usb debugging, trusted my pc and set it to transfer files option (MTP), when i start smali it creates the bin and tmp folder (the tmp folder auto deletes shortly after being made but i think thats meant to happen) and when its done and says idle i run the patcher by pressing the adb patch button and it runs fine for a few secs but when the log says Extracted classes.dex the patcher crashes, ive tried re-downloading, revoking debug auths and re trusting, running the patcher as admin and switching usb cables and ports but nothing works. it always crashes at that line. my antiviruses are turned off and im not sure what to do, any help is appreciated. thank you in advance. (ive attached the windows crash log)
[Magisk] neokragu:
Update your dot net frame work and JRE to latest version and try again.
[Magisk] dudeperfect:
Hello folks. I'm on an android 9.0(January 2019 security patch). My rom isn't deodexed. Will it work on my device?
[Magisk] dec0der:
good day guys, unfortunately i'm getting "ERROR: Target JAR must be deodexed" error but i believe this works on both.... any help is much appreciated, thnx
[Magisk] shoey63:
Working perfectly with GPS JoyStick by theappninjas

No rubberbanding, no disabling of location services.

Donation sent. ?
[Magisk] Marvino.:
delete
[Magisk] Marvino.:
Someone help me guys please. I'm trying to make this work on AOSP based Rom, Android version :7.1.2

Every time I'll end up with the error showing in the screenshot below.

I know this is mostly because the ROM is not deodexed.. so I'm attaching my services.jar file to see if someone can deodex it? Or how can I solve this by my own?

[IMG="+6+9"]https://i.imgur.com/vYhZRK5.jpg[/IMG]

Thanks.
[Magisk] fOmey:
The patcher should deodex if it's necessary.

What rom are you using, can you please link so I can take a look?

Also what .NET framework do you currently have installed?

Can you please link the rom your using.

That's very kind of you, cheers!
[Magisk] @ayahfachri:
Attached is your module, install it directly from Magisk Manager or flash it in TWRP.
[Magisk] Marvino.:
God work!Thank you very much for your effort! Tested it only on the screenshot function and worked like charm!! I'd like to know if you included the other 3 patches? :highfive:
[Magisk] tubekeeper:
can't work on one plus 6T android 9. Is there any updated patch able to work on it?
[Magisk] himanshupathak14:
Please help. I tried to apply this patch by following the steps given. Everything works smoothly even the zip module is created. But upon flashing the module using magisk and restarting, the module doesn't seem to work. I just wanted disable secure flag, but unfortunately it doesn't work. During the whole process only error I get is Could not find resources. Does it have something to do with my problem? Please of anyone could assist it would be grateful.
[Magisk] Suryo75:
Device ?
[Magisk] himanshupathak14:
Samsung Galaxy J500F
[Magisk] Suryo75:
Im sorry i havent done with this, but if you more experience use custom rom like i used it with device motrola similiar problem with yours and it is done
[Magisk] yaaria:
Oneplus 6t , android pie 9.0.11

The SmaliPatcher is running fine and I have installed the module that has been created.

I have tried only the secure flag and it doesn't seem to work.

did anyone successfully run it on android pie?

Thanks.
[Magisk] AndroidQuanta:
any possibilities for Internal audio for pie?

Hi fOmey, thank you for this Magisk Module, is it possible to include internal audio recording allowance in pie ?
[Magisk] fOmey:
Internal audio recording? As in call recording?
[Magisk] AndroidQuanta:
I did not mean call recording, I meant for gaming. Or Streaming video (audio played by internal speakers) since google removed internal audio recording functionality (bassically banned it). Just like secure flag for screen, something else is working which is not allowing internal audio recording function. No apps exist so far for Android Pie to internal record.

This method stopped working since Android Pie.

https://xdaforums.com/android/general/guide-how-to-record-internal-audio-t3848927

I was wondering if it is possible to re-enable it from Pie. It works in oreo 8.1.
[Magisk] Ant$24:
Hai, I'm so newbie&noobie, so I just wanna ask is it ok to flash v0.3.1zip eventhough I've already had v0.2.7, within magisk v.1.8 & aosp custom rom pie dor asus zenfone maxpro m1(xootd)??

Please, I really need ur answer, many thanks in advance.

:confused:
[Magisk] dudeperfect:
[MENTION=1620550]fOmey[/MENTION] will smali patcher work on the following rom

https://www.google.com/amp/s/xdafor...rdinal-aosp-5-0-android-8-0-pre-t3693585/amp/

AndroidVer: Pie

Security Patch: December 2018

Deodexed: No
[Magisk] fOmey:
[MENTION=5808864]dudeperfect[/MENTION], maybe.
[Magisk] Ant$24:
Excuse me sir, I just wanna ask, is it ok to flash smali v0.3.1 eventhough I already had smali v0.2.7??

Many thanks in advance & I really need the answer.
[Magisk] Adromir:
If you need to ask that, please educate yourself more about how flashing works or better keep away from it, because you might seriously harm your device.. No offense meant but from a certain point of view this question is as basic for the topic as if you were asking how to turn on your device
[Magisk] @ayahfachri:
delete 0.2.7, reboot, install 0.3.1, reboot.
[Magisk] Ant$24:
Many thanks, I will try.
[Magisk] tubekeeper:
Can you share the zip file created by email patcher, I can't get it for my One plus 6t 9.0.11

---------- Post added at 07:52 PM ---------- Previous post was at 07:46 PM ----------

Can you share the zip file created by email patcher, I can't get it for my One plus 6t 9.0.11

---------- Post added at 07:54 PM ---------- Previous post was at 07:52 PM ----------

Can you share your module, I can't create for my 6t 9.0.11
[Magisk] yaaria:
it should be created specific for your phone so my zip will not help you much.

anyway it's still doesn't work on our 6t and pie.
[Magisk] Phantom Thief:
Is there any way to force or speed up the process of making the gps go back to the real location? I tried always clicking back button on my app but eventually it just "minimizes" there's no prompt are you sure you want to close. So i force closed it and waited a bit and google maps would still be at the spoofed location but with a grey dot. I tried disabling and enabling gps with no luck. Followed by a reboot and google maps couldn't really find a location for a bit and then went finally to the real location. I like this method over some other i was using because this would make it not necessary to disable the spoofing app. Thanks in advance and great job on doing this!
[Magisk] shoey63:
[MENTION=8232541]soarespt[/MENTION]

What is your spoofing app? I use Gps joystick by theappninjas, non systemised and all options off except prevent screen shots.

Works perfectly. No rubber banding, no need to disable fused locations and maps returns immediately to normal after exiting the app.
[Magisk] Phantom Thief:
I use exactly that one too because it's the best for Android. However when i wanted to stop spoofing i tried to press always back button and you know this app doesn't prompt if you wanna "quit/close" so it kinda stays there in the background and the gps was taking forever to go back to the real location. How long does it take you to get your gps working normally?
[Magisk] shoey63:
The blue dot starts moving back to my location in maps straight away. I just close it in the notification bar.

Check your settings. Everything off, and only select as mock location app in developer options.
[Magisk] TulipYup:
Man, I cannot get the zip file for the life of me.... The last line of the patcher was API:25, and then it always closes itself, and I have to always end the adb task in task manager. any advice on what to do? can any brother help me out, that would be appreciated. Here's my services.jar from my galaxy s6e. stock rom, andriod 7 with magisk v18.0 installed. Thank in advance!

https://drive.google.com/file/d/1aKWLdajCv7nCULpEVbeIfmjpLVvKtq8g/view?usp=sharing
[Magisk] Spartacus500:
[MENTION=9696781]TulipYup[/MENTION]

Your services.jar is only odex, & not working patch, you must services.jar deodex.
[Magisk] fOmey:
.NET framework & Java JRE?

I used a Galaxy S6 to develop this, so you should be having ZERO issues haha..