yashsingh1/xdaforums huggingface dataset:
[Magisk] Spartacus500:
Hello, no access ... Please, a link to another server where you can download without logging in, files from the framework and build.prop folder must be packed in zip.
[Magisk] Spartacus500:
OK, you services.jar only Mock location
[Magisk] dani971989:
thanks mr
[Magisk] marregazza:
Sorry sir. Here you go

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

https://drive.google.com/file/d/1-1e416478LQo4EvRczBMlkMj2BCCKGim/view?usp=drivesdk
[Magisk] Spartacus500:
services.jar only 2 patch, try
[Magisk] Kotsioz:
pulling files

Hello devs, im stuck in the "pulling files" stage of creating the module in smali patcher.

Have tried different smali patcher versions and i have all the required software

Thanks
[Magisk] Hectorzzz:
Hello, with a patch, the console cmd comes out with an error - "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", and then the error itself in Smali - "INFO] Processing 1 file(s) from bin\services.vdex

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

==> Extracted classes.dex

Error: Invalid or corrupt jarfile bin\apktool.jar

!!! ERROR: Mock location class not found."

Please tell me how to fix? (Sorry, I know English very bad)
[Magisk] marregazza:
Thank you. Work as charm ?
[Magisk] ASAY_DJUAN:
Mock location eror for smali 053 ...????
[Magisk] Spartacus500:
Hello, share your framework folder and the build.prop file in the zip file without any changes, and specify which patches you want to use in Smali.
[Magisk] PoochyX:
Question the treat mock locations as real location updates does that mean if I'm using a a fake gps app that needs to be enabled in developer settings to use... This patch hides that I have mock locations enabled with the app in developer settings so if I'm using a app that fakes GPS without having to enable mock locations in developer settings i don't need this patch?

([emoji3590]09-09-18[emoji813])
[Magisk] MilkyOolong:
Thanks for helping me. Even when compressed apparently the files you've requested are too large to upload here so the link below will give you what you need. I am just trying to spoof on pogo so I think I need Mock locations and Signature spoofing patches.

It might be worth mentioning that I had tried to use the services.jar file (found in the framework folder) in smali but the patch that it produced got my phone stuck in bootloop last time.

https://drive.google.com/file/d/1CMlFEuu673owK4JKqdcQlNOWFLL0mAM2/view?usp=sharing
[Magisk] maxdimaz:
Hi can you help me i dont have any windows devices, here's my services.jar thanks

just need moclocation and screenshot
[Magisk] Spartacus500:
You services.jar is not deodexed, please upload you folder framework & file build.prop in zip, and specify which patches you want to use in services.jar .
[Magisk] maxdimaz:
framework file

https://drive.google.com/open?id=1RssotL-_IAsYa5eQ5eMBWLC-aORezC1T

the build prop is on attactment remove .txt , thanks before :D
[Magisk] vlarck:
Hy. Thanks for your hard work. But, I got stuck on sig_spof and download template 100%. Using latest 5.3. any solution ?
[Magisk] Lucifer999:
I have an error with Smali, I hope everyone can help me

==> Detected java: 1.7.0_75

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 52.0

!!! ERROR: Mock location class not found.
[Magisk] wurstherpes:
Is Java the newest Version?

Possibly reinstall Java again

Gesendet von meinem SM-G935F mit Tapatalk
[Magisk] PerfectBaby:
Smali Pacther Module

Hi.

Can anyone help me create a Smali Pacther Module?

My phone model is Redmi note 6 pro and MIUI version is 10.3.3.0 Global.

Thanks in advance.
[Magisk] chinchan9:
what is the problem why you can`t make one?
[Magisk] PerfectBaby:
Any idea to make one?
[Magisk] AlvyRage:
help me, please!

Can anybody patch my services.jar please? :(

I installed a custom rom called Blackbird OS 5.1 on my J710MN (Samsung Galaxy j7 2016) and the Smali Patcher says "ERROR: Mock location class not found."

I need this to play Pokémon Go.

Here is the whole FRAMEWORK folder + build.prop. (The whole FRAMEWORK folder is inside the .ZIP inside the .RAR lol)

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

EDIT: The Custom Rom (Blackbird OS 5.1 is Android 9)
[Magisk] Athing13:
hello I want to install the smali module via twrp but I don't know how to edit it so that it can be installed via twrp do you want to help for the tutorial or how to edit the smali module so that it can be installed via twp thank you
[Magisk] dani971989:
Dear mr. Spartacus

My phone new, but i have already install cusrom aim rom nougat but still bootloop, i need patch mock smali patcher..can u help me mr. Spartacus 500 this is my service.jar https://drive.google.com/file/d/1udle4UQaS7aIxZPL66YuL2w5FBfbqtik/view?usp=drivesdk

---------- Post added at 09:03 PM ---------- Previous post was at 08:41 PM ----------

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

build.prop https://drive.google.com/file/d/1-0uxFQAWfvmwZ2vggF3OmQ89pw8-KqYs/view?usp=drivesdk

Thanks before
[Magisk] phoberus:
Do I need to deactivate the module, repatch it and install the new module again after every rom update?
[Magisk] fOmey:
It's hard to say, but if a update contains changes to services.jar then yes definitely..

I would recommend doing this to play it safe.
[Magisk] Ashish Gupta1999:
Not able to take screenshots in Netflix and capturing black screen in Hotstar , but working fine in chrome incognito mode
[Magisk] Spartacus500:
I tried to do deodex on your files, but all the time error deodex. Apparently your files are modified incorrectly and you can not deodex them. You would have to share files from the original Rom without any modifications to the framework.
[Magisk] Spartacus500:
You services.jar only 2 patch

- Mock locations

- Secure flag
[Magisk] Spartacus500:
You services.jar only 1 patch

- Mock locations
[Magisk] MilkyOolong:
That is very strange. I am just using the latest version Oxygen OS, the only modifications I have done have been to root the phone. A guy had helped me last time with Smali patcher but he/she only required my phone's build number. With that info he/she was able to make me a patch using Smali that worked perfectly for me for a month until I had to factory reset my phone after I ****ed up an OTA update, tried Smali myself and then got stuck in bootloop. How would I find the files you need?
[Magisk] Spartacus500:
Everything looks ok, but your services.jar file is deodex made incorrectly, Smali shows that Mock locations are not found ... The services.odex and services.vdex files are in place, but services.jar is already deodex and I can not do it deodex again so that the Mock locations patch works properly.
[Magisk] MilkyOolong:
So is there a solution? Something I can do or is it beyond repair?
[Magisk] Spartacus500:
The solution is that you have to provide me with the original framework files including services.jar odex (preferably) and the build.prop file, then I will try to do deodex services.jar again.
[Magisk] MilkyOolong:
Do you know how I could get my hands on those?
[Magisk] Spartacus500:
Unfortunately, I will not help, upload the original Rom for your phone model, run root and share the framework folder and the build.prop file for me.
[Magisk] dani971989:
always bootloop mr. Spartacus500 maybe selinux enforcing problem? may i change to permissive but after reboot alwals show enforcing again,?
[Magisk] Spartacus500:
I also have selinux enforcing and no problem. The fault lies with Rom, your services.jar that you made available was already deodex, it is possible that there is a problem in the framework files.
[Magisk] dani971989:
I mean flash smali manually using twrp rom with selinux enforcing always bootloop or error and flash smali manually using twrp with selinux permissive success with no problem..
[Magisk] Kleiven:
Do you have for global rom?
[Magisk] fOmey:
I need someone to test a modified secure flag patch.

If your unable to capture screenshots in certain apps reply to this message with your deodexed services.jar and I'll manually patch it.

Hopefully we can figure out a working solution.
[Magisk] peter9811:
Here
[Magisk] theblackid69:
Well is anyone tried on Redmi 6A (cactus)? I succeed to instal module, but when i tried mock location it doesn't work. :(
[Magisk] CharlieB85:
Issue with Java detection

Smali patcher doesn't recognize my Java - does it only work with some specific version? I'm using OpenJDK 12.0.2, and it even successfully starts the java.exe (see screenshot below).

[IMG="Screenshot"]https://i.imgur.com/ls1PdWw.png[/IMG]
[Magisk] Haxuuu:
Mock location class not found

Phone's connected through USB with USB debugging enabled, everything goes fine until it tells me:

Error occurred during initialization of VM

==> Deodexed services.odex

!!! ERROR: Mock location class not found.

Since I'm new on here it won't let me post a link and I don't see where to attach files, can anyone help/tell me where to send them the build.prop and services.jar if they need them?
[Magisk] fOmey:
CHANGELOG ::

5.4

Modified secure flag patch - need testing & feedback.

Modified java detection to allow more runtime environments.

Note this line in the log:

Error occurred during initialization of VM

Looks like you're running out of memory..
[Magisk] peter9811:
5.4, force close when "Executing shell comand"

after of "1 out 1 Vdex files have been processed"
[Magisk] vainille:
same here.
[Magisk] fOmey:
I fix one thing and break another...

CHANGELOG ::

5.5

Fixed force close during vdex extraction.
[Magisk] A30NI_Y:
Hmmm..., tested both version 5.4 and 5.5 on Oneplus6T and the whole process went through without the vdex issue mentioned. However, the cleanup process never proceeded so ended up with all the folders (adb, apk, tmp) still in the main folder.
[Magisk] fOmey:
Ah, I left some debug variables enabled.. god dam it.

I've just re-uploaded under the same version number with this corrected.. thanks for the heads up!
[Magisk] howdeedodat:
when I met the situation just like u mentioned... I close my smali patcher... delete the 3 folder (adb,apk,tmp) and re launch the smali patcher... n it work flawless.. using my acer ao722 win 7 x64....
[Magisk] xSpOuLx:
Gracias

gracias lo probare :D
[Magisk] pawloland:
Maybe i am blind but there is no download link:confused:
[Magisk] iGatesLel:
He updated about 2 hours ago or at least edited the post ( but from the last comments i can see he updated for a minor bug or something), must have forgotten to replace the download link. Can't seem to find it either, unless i'm blind myself
[Magisk] Spartacus500:
[MENTION=1620550]fOmey[/MENTION]

Where is the link to download Smali patcher 5.4 and 5.5 ? In the first post there is no download link :confused:
[Magisk] stranger-mj:
You're not blind... Unless I am too... LOL

Guess we have to just wait patiently... ;)

---------- Post added at 04:59 PM ---------- Previous post was at 04:56 PM ----------

Sure... LOL Wouldn't know which link NOT to share anyway... :silly:
[Magisk] GolDeN_xXx:
Kindly update the latest Smali Patch (Download link). Thanks! :)
[Magisk] srperpetuo:
cant se the link

why cant i see the link
[Magisk] lividhen99:
Hmm, i feel like something relatively important has been left out of the most recent update, but i cant put my finger on it...
[Magisk] iShower:
Where is link ???
[Magisk] uhammadd9129:
Please download link

Where i can see the download page
[Magisk] fOmey:
Now now, lets keep it together guys... the link has been restored, you can rest easy!

What have we learnt from this experience? Don't hit the upload button assuming it will... upload. We must look over it like a hawk ensuring it doesn't spit out a unreachable error before going about our day..

I'll most likely be using a mirror for future releases.
[Magisk] ididntwannajoin:
Oh joy of joys, I updated my pocof1 to the latest MIUI, then magisk sent me into a boot loop b/c the module for the other version wasn't compatible, had to wait for the new smali that didn't just close, now I installed the new module but poGo keeps saying that my OS isn't compatible...
[Magisk] peter9811:
You will try use MEGA to upload the "older versions" and too the last version
[Magisk] peter9811:
Report 1:

Redmi Note 5 (MIUI 10 (10.3.1))

Android 9

Screen on Netflix (too screen recorder)

Screen on Google Chrome (unknown mode)
[Magisk] fOmey:
So the latest tweaks seem to be working?

EDIT: If you are willing to help me test something can you do me a favour and link your services.jar with the secure flag mod NOT applied (you will have to disable the smali patcher module before re-patching), maybe just apply the mock location patch..

I would like to try simplifying the patch as much as possible, only patching the absolute necessary.
[Magisk] efraim14:
can't download the smali attached above, it sent me to the error page

EDIT: tried after 2 hours and now i can download it, thanks.
[Magisk] stranger-mj:
Thanks! Downloaded and on the way to apply!
[Magisk] GolDeN_xXx:
Where you get the download link? I thought developer has said, he will upload a mirror link (download link) in the future?
[Magisk] Vioqueen:
the download link is gone, can you give the new one

tx a lot
[Magisk] peter9811:
Yeh, I can help you

I have a services.jar modded with Lucky Patcher, I use to install apps over newer/laster versions

Files:

1. Services.jat mod with Lucky Patcher

2. The 3 patch activated for Lucky Patcher (don't work install unsigned apk (Android 9))

3. New services.jar (activated secure flags, signature and signature spoofing)

I can't get original services.jar. I have OTA zip Android 8, but internally don't found nothing. I don't have backups...
[Magisk] ididntwannajoin:
Is there anywere I can get access to previous versions of Smali?

The modules I had patched with 4.9 were working (granted they were w/ a older MIUI) and I wanted to see if the reason I'm getting detected as a root user is b/c of newer versions of magisk, if it's because of the modules somehow (the modules made by the latest smali get installed much faster then the ones made w/ previous versions), or if I'll have to downgrande the MIUI
[Magisk] fOmey:
The lucky patcher services.jar has nothing enabled for secure flag tho right (not familiar with lucky patcher)? Meaning you won't be able to take any screenshots in netflix if your using that one?

If root is being detected, take a look at your magisk hide settings..
[Magisk] creastwell95:
my binary download is stuck at 99%

---------- Post added at 02:13 PM ---------- Previous post was at 02:13 PM ----------

my binary download is stuck at 99%
[Magisk] honggy:
410 gone error on the link :(
[Magisk] Sandy1701:
Just in case anyone was wondering. My module is working fine on my friends device
[Magisk] fenixfyre:
does android Q respect the changes made by this module?
[Magisk] Chuytl:
s10 stock rom magisk v19.4 works flawlessly. no jumps to real location and no problems at all. really nice work thanks a lot. I just want to know it there is a way to make it (smali program itself) work in an "android to android way" i can run adb from termux (terminal emulator) and it works even on the same device is running but i'm not a developer and have very low knowledge about coding and everything related. I'm just curious and i like to tweak my device for enhance the daily use. Again amaizing work thank you for making this useful Tool.

btw I play pogo with gpsjoystick from theappninjas and works a lot better with this patch than making the app system app(this way not working, it does but you got to Keep moving at "higher speed" causing no steps count)
[Magisk] fOmey:
Your friend needs to update Visual C++, pretty sure this is handled by Microsoft updates tho? Might be ignoring/disabled the updates.. I would recommend to first run Microsoft updates, but if that does not fix the problem you can find the latest release of Visual C++: HERE
[Magisk] Donkratos:
Mock location class not found.

Hi, I have a motorola g6 plus and when I patched it, I got an error Mock location class not found. or is it loading on the screen cmd in 2% and it does not happen from there what solutions can I do?

I await your response thank you.
[Magisk] peter9811:
No, Lucky Patcher don't disable Secure flags, only mod the signature verification

Exactly, with the patches of LP, it's impossible take screenshot

Report 2:

I reboot the smartphone, and now I can record the screen on Netflix. And too it's impossible install older version of apk, for example I have 1.3.5 installed and try install 1.3.2, them show "App is not installed"
[Magisk] fOmey:
Right well the services.jar (lucky patcher) is not deodexed, so I can't use it to test.

Eventually I'll find a secure flags app to test with, its fine.. its easier if I can test on my own device anyway so I can troubleshoot in real time.
[Magisk] gozarudin:
Stuck in download binary 54%
[Magisk] fOmey:
CHANGELOG ::

1.0 ::

Improved patching function: should now be compatible with even more unique service.jar's.

Improved patching function: now reports errors for each independent patch, should make diagnosing patch errors a little easier.

Fixed some debug code I left from previous release which may have prevented patch process from completing. (whoops.. sorry about that!)
[Magisk] fOmey:
Your service.jar is a little different to others, your the inspiration for the latest release.. it should fix your problems !
[Magisk] hmartinus77:
Great....many thanks fOmey....:o
[Magisk] DeniTx:
fOmey @ XDA

Patcher Version: 0.0.1.0

I: Using Apktool 2.3.0 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 mock location boolean

==> Patched secure flag boolean

==> Patched signature verification function

==> Patched signature spoofing function

I: Using Apktool 2.3.0

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

W: Could not find resources

==> Magisk template download complete

==> Generated magisk module zip file

So that is what is showing after i did deodex so now i cant find magisk module zip file and what do i do now last step am i supposed to flash that magisk module zip file through twrp recovery or? I really appreciate for your patience and time to explain and help out you rock brother.
[Magisk] tom.android:
Working on Odexed Official Xiaomi Weekly China ROM.(Magisk 14.3) . Thank You.

update: bootloop occured except use all options to patch.
[Magisk] fOmey:
Read the instructions on the original post.

Nice one man, thanks for the feedback.
[Magisk] AvisAile:
Hi

I have an error with android 8.1 :/

"!!! ERROR: Mock location path not found."

Any ideas ?
[Magisk] fOmey:
Upload your service.jar, this is untested on oreo.
[Magisk] DeniTx:
I did it said patched successfully then it generated a zip file called SmaliPatcher-0.0.1.0-fOmey@XDA and inside this folder it contains service.jar the deodex file and some other files so i am not sure what i have to do or if i did it wrong i used TWRP to flash that zip file and i got an error cannot flash this zip file so nothing happened so i supposed i am doing something wrong and so my understanding now with this file am i supposed to copy and paste service.jar file to system/framework android device and overwrite existing file or install something because i haven't been able to get this to work yet, thank you for your help again.
[Magisk] fOmey:
Open magisk, try install via. magisk module section.
[Magisk] DeniTx:
I am not sure why is not showing my files when I click + via magisk module just shows black.
[Magisk] fOmey:
No idea bud, get yourself a proper file manager from the playstore..
[Magisk] DeniTx:
I got it now it was file manager issue but i did it through magisk it was done successfully it asked me to reboot phone and now is stuck on Note 4 Screen i have a Note 4 T-Mobile which i tested this and also got Note 5 T-Mobile which i have not tested it yet so what you think the issue is that is causing the phone to be stuck on samsung logo?

Now it switched the screen from that to T-Mobile and is stuck now on second screen so i guess it is processing something new and is going really slow not sure did it do to your phone after you installed via magisk?
[Magisk] fOmey:
Sound's like it's processing the changes, bit of patience goes a long way..
[Magisk] DeniTx:
I waited over an hour was stuck in T-Mobile Screen so i had to restore my device. Do you know what is causing it to get stuck in that screen?

---------- Post added 13th November 2017 at 12:32 AM ---------- Previous post was 12th November 2017 at 11:36 PM ----------

Do you think this is the issue since i only pulled framework folder from system then pasted it to pc to black system/framework as subfolder i redid tit again so framework is checked in Fulmics Deodex but it says build prop not found? does that mean i have to copy the whole system folder from my phone to solve this issue or is it something else because i am so trying to get this resolved is driving me nuts.
[Magisk] DeniTx:
I installed it again via magisk and it is stuck on T-mobile screen again I noticed when flashing it there is a section says missing resources but still gets successfully completed so I am not sure what resources is missing because everything has been done right way so I am not sure if it's note 4 maybe you can fix this make it work for other devices as well that would be great
[Magisk] fOmey:
You should be able to get away with just copying over your build.prop from your phone. Try deodexing again with your build.prop in the /system folder on your desktop.. without a build.prop fulmics might of not recognized the API correctly? Not sure..

If your phone is stuck on this T-mobile screen for longer than a few minutes, that would mean it's bootlooping... may be due to service.jar not being deodexed correctly by fulmics (unlikely) or may also be caused by the patcher? No idea... however you would be the first to report a bootloop since release caused by the patcher.

All I can recommend is try to deodex again with your build.prop this time around, hopefully that sorts you out.. good luck !

Missing resources message is normal, ignore it.
[Magisk] DeniTx:
i pulled the files from Note 5 I did deodex went fine but the patcher failed

fOmey @ XDA

Patcher Version: 0.0.1.0

I: Using Apktool 2.3.0 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 mock location boolean

==> Patched secure flag boolean

==> Patched signature verification function

==> Patched signature spoofing function

I: Using Apktool 2.3.0

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

W: Could not find resources

==> Magisk template download complete

!!! ERROR: Magisk module template download failed.
[Magisk] tom.android:
Give me all odex files in Folder "framework" will try it for you.
[Magisk] DeniTx:
This time I used Note 5 SM-920T I did the the process and Ithe is doing same thing gets stuck in bootloader something is not letting it bypass causing it to get stuck.
[Magisk] reddsmokee:
The mock location is working good in latest build which being 5.5.

GM1917 cihazımdan Tapatalk kullanılarak gönderildi
[Magisk] ZKnowN:
Model: Xiaomi Redmi Note 4 (mido)

Android version: 7.0 NRD90M

Patcher log:

fOmey @ XDA
Patcher version: 0.0.5.5
==> Detected java: 1.8.0_221
==> Dumped framework
==> Detected API: 24
I: Using Apktool 2.4.0 on services.jar
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
!!! ERROR: Mock location class not found.

ADB folder: adb folder

I had authorised USB debugging after plugging it in.