yashsingh1/xdaforums huggingface dataset:
[Magisk] ryan_c:
installation failure

- Copying zip to temp directory
- Installing SmaliPatcherModule-0.0.6.3-fOmey@XDA.zip
- Current boot slot: _a
- Mounting /system, /vendor
Archive: /data/user/0/com.f2QYo.Q.o.SuH9Fz/cache/flash/install.zip
inflating: install.sh
inflating: module.prop
update-binary: /dev/tmp/install.sh: line 6: REPLACE: not found
- Creating /data/adb/magisk_merge.img with size 64M
CANNOT LINK EXECUTABLE "/sbin/.magisk/mirror/bin/magisk": library "libandroidicu.so" not found
CANNOT LINK EXECUTABLE "/sbin/.magisk/mirror/bin/magisk": library "libandroidicu.so" not found
! /data/adb/magisk_merge.img mount failed...
! Installation failed

Pixel 3, Magisk Manager 7.4.0, Magisk 20.1, Android 10 (Nov 2019)

Any ideas how to fix?
[Magisk] A30NI_Y:
​

No issue, you can "trick" the patcher by connecting to a phone and use the browse button to point to the folder where the deodexed service.jar is located. In other words, you need to put the file in a folder.
[Magisk] ammmze:
I think you're mis-reading that ;) ... "k" would return true if there are extras that contain "mockLocation" that equals true. And when it returns true then it filters it.

Anyways, I've update my test app to be able to inject locations. I've tested it on my phone running android 10 with the older play services to verify the mock locations are coming through the fused location and as expected they are not coming through on my other phone with the latest play services. I've tried setting maxCn0 and meanCn0, but no luck. I gotta break away for now, but I'll try tweaking other things later.
[Magisk] pogo-airsupport:
Alright, so unless i'm missing something, why don't we just set extra=null, then it will never execute the code "if (extra!=null......"

Which would mean it will never return true, and hence, it will always return the location.isFromMockProvider(), which with our patch, should always return false.
[Magisk] fOmey:
Derp, you're absolutely right..

Well it wont return true, unless "mockLocation" is true.

I misread it, so disregard my last message.. that function is irrelevant.

We know "isFromMockProvider" is returning false. :good:

We hopefully? know "mockLocation" extra does not exist / returning false. :good:

This is the missing link/links, something else is preventing the mocked locations to be fed into fused. :eek:

Will figure it out eventually.. but till then its break time.
[Magisk] ammmze:
Part of me still gets the impression that they are looking somewhere else for GPS data rather than from the "gps" location provider from the LocationManager. The reason I say that is when you have the mock stuff turned on and I start streaming from the "gps" location provider, I am seeing exclusively the fake locations. So if play services were somehow filtering those, they would be left with no location updates. So my guess is they are pulling gps data from somewhere else, but still using LocationManager to get the "network" location updates, which is why the indirect mocking still works (though i'm going off other peoples words that said that indirect mocking is pushing into the "network" provider rather than "gps", but it sounds reasonable).
[Magisk] mysubcult:
[MENTION=1620550]fOmey[/MENTION], Does your patch only hide dummy applications? no fix for jumping to a real location?
[Magisk] pogo-airsupport:
Do you mean drifting? If so that's a phone/hardware issue

The patch basically prevents the phone from detecting that mock location is turned on.
[Magisk] mysubcult:
Is there a coordinated solution to this problem? Or just keep update times to a minimum?
[Magisk] ammmze:
Just to clarify, it doesn't necessarily patch the phone from detecting the mock location is turned on. It strips the flag on the location report that says it came from a mock location provider. :)
[Magisk] ultimatepichu:
I am by no means good in coding. But I think I can share a (hopefully) useful information:

I was playing around with any settings that has to do with Location and what I observe is: if i start my mock location app, and I leave Google Location Accuracy to be On, I will always stuck at my real location. If I turn that off, when reopen gMaps I see myself at the spoofed location. The only problem is, I still can't move with the joystick.

Maybe the information that you guys are finding is from the "Google Location Accuracy", which somehow has more priority to get GPS data than the mocked one?

My setup:

- Google Pixel 3 XL Stock but rooted

- Android 10 November Update

- Google Play Services v19.6.29

- Smali Patcher

- GPS Joystick

EDIT:

I think it is quite safe to say that in Android 10 (probably since Sept or Oct Update) location data from Location Accuracy has higher priority, because I noticed the GPS data whenever I am in house is always hundreds meters off from where my house actually is.
[Magisk] ErriK89:
I think this was the same with prevoius version of play services. If you keep high accuracy "on", it sometime overwrite position given by fake gps resulting in rubberbanding.

I think we should try to understand which is the new gps coordinate source in the new play services that is feeded in fusedlocation. I've really poor experience in coding, but I would like to help.

So first of all I would like to understand how fake gps app provide gps signal to play services. Second point is to discover if the new play service take real gps coordinates from different source than the past and where they filter fake gps coordinates. When with new play service fake gps coordinates are forced, I can see from gps fix app that the mock location is properly set by app, but doesn't feed in fused location that also doesn't take coordinates from real gps sensor. Play services simply discard gps signals and doesn't provide any location in fusedlocation, so I think they didn't changed the way how they take gps coordinates by real gps sensor but they simply added a filter that is able to recognize, in some way (how?), that gps coordinates are provided by fake gps app and not by sensor.

If we discover it maybe it's sufficient a simple update in fake gps app without changing nothing in smali patcher module. Or maybe it can be inserted in smali patcher a layer that takes coordinates from gps app and translate them in a way play services recognize them as real coordinates.

Another idea, I don't know if it's possible, is to directly force the fusedlocation instead of allow playservices to provide it. Do you think it's possible?
[Magisk] chr1sw:
hey guys i am pretty new in rooting and thiings, am searching for a new method to spoof pogo as vmos doenst work anymore. i finally made it to root with magisk. and i followed all your instructions but unfortunately the smali patcher says no adb device found.

i have to connect my phone while beeing in normal android mode, or do i have to connect while in twrp mode?

tried it several times but still smalipatcher.exe says no adb device found

i hope someone is able to help me out...

thank u guys in advance
[Magisk] cmstew:
Make sure you have developer options turned on on your phone and that you've accepted the trust dialog on your phone for your computer to access it.
[Magisk] amihir:
Will it work on OP6 A10 (Build number

ONEPLUS A6000_22_191027) ?
[Magisk] HermitDash:
Should work on any phone as long as the Play Services build is low enough and you have Magisk installed.
[Magisk] Irate Iguana:
Kept getting error 11 on POGO on my Pixel 3 after not spoofing for a few weeks, so I tried reinstalling the GPS joystick app, and that didn't work. So then I tried uninstalling and reinstalling smali patcher, and after uninstalling it through magisk, I am now receiving an error in the smali patcher program of "Error: Invalid or corrupt jarfile bin\apktool.jar

!!! ERROR: Mock location class not found." If someone could point me in the correct direction, that would be much appreciated! :)
[Magisk] pogo-airsupport:
Error11 is due to the updated google play services. Either downgrade, or use indirect mocking.

If you have the old module, you can install that.

If not, try deleting the temp files of smali patcher (or run in a new folder), and run in admin mode.

Make sure you are using the newest version of smali patcher.
[Magisk] Grennith:
It does

It exists since it is set within the GMS package, however, it is set to false, thus isFromMockProvider is called and the method you linked returns false.

I'd suspect checks on providers themselves
[Magisk] fOmey:
I think you're correct, haven't been able to narrow down exactly how they are doing this tho which has been very frustrating.

I did notice certain manufactures use a "isMock" bool within mock providers, I've created patches for certain users that removed this flag.. however it made no difference.

Hopefully we get enough eyes on the play services source and figure it out!

Looking forward to the android 10 update on my S10 so I can begin debugging..
[Magisk] Irate Iguana:
Clearing windows temp files, re downloading smali patcher, and using indirect mocking seems to have done the trick. Thanks!
[Magisk] GolDeN_xXx:
Using Samsung Galaxy Note 8 Exynos version on a custom rom which is DeluxeROM.

Once I installed the latest patched no matter from TWRP or Magisk, my phone will automatically shut down and jump into Download mode.

Seeking for advice and guidance. Thanks
[Magisk] ykjae:
I see alot of you guys saying EdXposed breaks safetynet, it didn't for me. Safetynet passed however snapchat still detected it. I Uninstalled edxposed and riru core and now it works.

But my main question here is do I just flash smali patcher in twrp?

---------- Post added at 11:53 PM ---------- Previous post was at 11:47 PM ----------

Adding on to my last post after further reading. I love the effort you all are putting into the development here in this module. I haven't seen any development go thus far in some time actually.

Is there a magisk module I can flash directly or do I have to use the windows?
[Magisk] lividhen99:
Yes, windows or Wine on Linux. And the generated module can be flashed from magisk manager or twrp. The module is device specific and if you flash one that is not meant for your device, you will bootloop.
[Magisk] HaggisEater3:
I am getting the Error 11. There is no indirect mocking option in "Fake GPS Joystick & Routes". Any advice?
[Magisk] ykjae:
With this said could you guide me how to or build for me a zip for Samsung a70mn/ds
[Magisk] lividhen99:
If you dont have a computer, upload your /system/framework folder, if you do, download the patcher, plug in the phone and accept the adb request, then flash the zip it creates via magisk or twrp.
[Magisk] rling:
[/COLOR]

It's under Settings
[Magisk] HaggisEater3:
I am unable to post my screenshots here of every setting within "App Settings" in the Fake GPS Route & Joystick app, where it does not exist. Please explain where that setting exists in the attached screenshots. If the setting is under the grayed out "Expert Mode" settings, the main guide says that expert mode is not necessary with Smali Patcher. Is there some combo of systemizing, enabling fused locations, unsystemizing, and reinstalling not systemized?
[Magisk] rling:
My bad. Mis-read the name of your app. Try AppNinja's Fake GPS Joystick. It has the option you seek.
[Magisk] Gooday1313:
i'm sorry to ask you this but will you please help me?

sir i was trying to do the smali patcher with my galaxy s7 edge but it keeps showing errors i was holding this problems for weeks since i wanted to do it alone but i give up i guess it's out of my hand..

so can you please help me? i will attach my zip file including framework folder services.jar inside and build.prop.

i'm really sorry to ask you this but can you make the smali patched file with mock locations, signature spoofing and high volume warning sir.

https://drive.google.com/file/d/1Shihk0ni_Y4jNxwM8OFS5ks8gwP1rhdN/view[/url]

Thank you in advance but really sorry again to ask you this. i hope you have a wonderful day
[Magisk] mysubcult:
Hello. Is there any way to somehow get rid of jumping to a real location using fake gps?
[Magisk] lividhen99:
Havy you tried disabling Google location accuracy?
[Magisk] mysubcult:
the application for which I am doing a coordinate change prohibits turning it off.
[Magisk] TraceFormer:
Any update on the screenshot assist? I tried uninstalling and re-installing and I'm still not able to long press the home button to use any assist app (holding power button works, but won't launch the assist app).
[Magisk] lividhen99:
Yeah, I realize that the GPS mock hiding is probably more important to everyone, but if you do find you have time to look at the screenshot thing, that would be appreciated.
[Magisk] A30NI_Y:
Here you go. What was the error you are facing?
[Magisk] rling:
Degrade the performance of the GPS antenna. This can be done by wrapping the back of the phone in aluminium foil, or playing inside a building with poor access to the sky (and thus satellites).
[Magisk] mysubcult:
Did anyone have a patcher compatibility issue with the Huawei? with varying intervals, the joystick stops working for several seconds.

---------- Post added at 14:38 ---------- Previous post was at 14:28 ----------

Please tell me what exactly does this patch?
[Magisk] fedex_742:
Hey guys, how are you?

is giving me this error

!!! ERROR: Failed extracting classes.cdex

try several versions of smalipatcher and methods

run the patch on the TWRP, also copying the system folder, download the full rom and did the deodexed stuff

I don't know what to do now, any ideas, any help please?

try other phones and it always works perfect the first time.

thank u
[Magisk] rcnitropowered:
Thank you it worked for security flag, disable volume warning and secure folder on a SM-G9650 also know as S9+ snapdragon on last security patch november
[Magisk] A30NI_Y:
Upload your framework folder, I'll try here (which patch you need).
[Magisk] rawika:
[MENTION=1620550]fOmey[/MENTION] I suddenly get this when I select a framework folder. And the patcher tells me that there is no patch selected even though I did.

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

Starting with admin privilege doesn't change it.

Redownloading doesn't help. I guess it's caused by some windows or .net update?

------

I figured it out now. It behaves like this when you use an incomplete framework dump (services.jar missing)
[Magisk] fedex_742:
thank u!

mock locations and signature spoofing

https://drive.google.com/open?id=17gYxGeh2HgCF6ffprmDHFF97u2xdG6XC
[Magisk] A30NI_Y:
Mock location & Sig spoof.
[Magisk] fedex_742:
I was a little scared because it took a while to start, but after 5 minutes the phone started.

Thank you very much, it works perfectly.

what was the problem?
[Magisk] A30NI_Y:
Good question but I'm unable to answer as the patcher runs fine over here. Glad to know it works for you anyway.
[Magisk] fOmey:
It's a warning, nothing to worry about so long as the process completes without issue..
[Magisk] Gooday1313:
First there was 'file must be deodexed' error so o tried to use deodexer but it just stucked at 233/245 and never go higher. So i tried lower version of smali patcher but it says error corrupted bin. So i refreshed my phone and did smali patcher again. But it kept saying 'error no adb device detected' i tried diffrent computers different usb ports and cables but couldn't fix it. Of course i ticked usb debugging and oem option. So i really appreciate your help it works well! So much thank you sir!
[Magisk] A30NI_Y:
No problem, you are welcome. It must be a windows driver issue then.
[Magisk] rawika:
No, it's not about the warning. Smali Patcher turns blank in the middle where the options are, instead of telling me that my framework folder is incomplete.

https://imgur.com/a/306uEho
[Magisk] lividhen99:
Try an older version, newer versions need to still be plugged into a phone. https://xdaforums.com/apps/magisk/module-smali-patcher-0-7-t3680053/post80168363
[Magisk] fOmey:
Thats because its not finding a file named "services.jar" in the folder your browsing to.. it needs to be named "services.jar" exactly.

Theres a reason why this is, please make sure your using the latest version.. with a phone connected.

Without a phone connected, the patcher can't extract cdex files.. meaning it will fail to generate a module.
[Magisk] luisv0123:
I have a problem, sometimes my gps joystick jump to my real location, OS Andriod 9 MIUI V10.3.3.0
[Magisk] dfx12345:
For some reason downgrading Play Services doesn't seem to work for me. I downgrade (even tried an even older version), reboot, and then mock locations stop working altogether. Regular mocking doesn't work and indirect mocking doesn't work either. Even though it used to work before. When I restore Play Services to the most recent version, indirect mocking starts working again (but with the usual rubberbanding). Pixel 2 XL. Any ideas what I could be doing wrong?
[Magisk] Prosty12:
Today, a new update is forced by Pokémon go and I updated. But then when I open the game, it recognizes that the phone is rooted. I was getting that warning before as well, and I was just installing original magisk again and then hiding it with another name again. But now this solution doesn't work. What should I do?
[Magisk] lividhen99:
Do you have any apps that use root? Pogo has a blacklist, so if you have certain apps installed, it denies you. Also, try deleting the twrp folder on your internal storage (if you have twrp).
[Magisk] arifinch:
About hulu screenshot

Well, hbo and cbs screenshot works, hulu screenshot is still not working, any updates on this?
[Magisk] AnonVendetta:
[MENTION=1620550]fOmey[/MENTION]: I was wondering if you can repost your GPS spoofer APK, it's no longer in the 1st post. Why did you remove it? Just want to do some tests, is all.

Thanks!
[Magisk] Lione2:
the latest google play services working with android 10 is still 19.5 ?
[Magisk] PriMieon:
Any new news/fix for the play service update that broke gps spoofing?

fOmey I hope you figure it out :<
[Magisk] MendyG5:
Nothing... so sad...
[Magisk] fOmey:
Not yet, I'm waiting for Samsung to drop android 10 on my S10 so I can start testing.

Pretty sure some "indirect spoofing" method seems to be working tho, search this thread you'll be able to find more info.
[Magisk] seemebreakthis:
Tried using Smali Patcher's "secure flag". It sort of works, but as soon as I tried to maximize the video on the app it stopped working. Better than before when the projected screen just goes black upon app launch I guess.
[Magisk] dfx12345:
It does work but it's got some annoying rubberbanding issues, even with a process interval of 50 ms. Haven't found a way around that yet.
[Magisk] shoey63:
Set it to 25 ms, enable A-gps reset, and set idle offset to 2.0m.

No rubber banding for me on Q with these settings.

Edit: And this is with high accuracy ON.
[Magisk] dfx12345:
Went as low as 10 ms with the same config (and also with high accuracy off), and while it definitely helps, still occasionally a real location slips through and I briefly teleport to my real location. It's usable but still kinda iffy. Pixel 2 XL.
[Magisk] ErriK89:
It depends on gps signal strength.

Try to use tin foil and it should avoid rubberbanding.

In any case I hope there will be a solution because it is much better to "old" method instead of indirect mocking!
[Magisk] RLKirk:
Tried this on my Pixel 4XL. Did not get any errors and everything seems to install fine. But I cannot watch Netflix on Android auto through AA Mirror still. Hate oropong my phone up on breaks at work.
[Magisk] baksmail1280:
please help convert smalipatcher for redmi note 4x

https: //drive. google. com/file/d/1vmpsN23R5e4T_Ic9f1XFdyVI9jajLNUI/view?usp=sharing
[Magisk] rling:
My Redmi K20 Pro is too effective at picking up satellites - GPS Test give 10-16 satellites used despite foil and what not. Had to downgrade from Android 10 to Android 9 to keep this functioning. If you can downgrade, give it a go.
[Magisk] MindTrix:
I have used smali patcher on both Samsung S6's that I have and it was flawless, then I decided to try on the J3 Emerge, I flashed TWRP and then Magisk and all went well with root, so I tried Smali Patcher and it generated a file... now the fun begins, I installed through Magisk and rebooted, phone stuck on logo, I wait 15 minutes still stuck, so I went into TWRP and its in the ADB Modules folder so I set permissions to 755, still not booting, I thought hmmm read more of this thread, so I tried it over by flashing phone with stock rom and did recovery and root and generated a new Smali Patch and this time I flashed it in recovery, still get stuck at booting.

So I went and copied system folder over and deodexed like this thread said and generated new patch file and get the the same results... I install and even flash in recovery and set permissions to no avail, I flashed my phone six times now in odin back to stock. (because I couldn't boot) but on this last attemp I just went into recovery and deleted the file in the adb modules folder, and the phone boots up no problem at all, I got root and recovery but no smali patch I generate seems to let me boot, I am lost to what is wrong, I had no problems with other phones. This phone just wont boot with a smali patch so I am gonna smash it with a hammer.
[Magisk] fOmey:
Try applying just the mock location patch and re-test, It sounds like one of the patches is causing you to boot loop.. my guess would be signature spoofing or signature verification.
[Magisk] Aarif goku:
Im using LOS17 ROM Android 10.0(Q) for my Redmi4A (Rolex) and generated module but it doesn't work at all tried downgrading play services and different Joystick ...

I can barely spoof for a second by Making GPS joystick as System app but it teleports.... I'm posting my jar link if someone can help https://cdn.discordapp.com/attachments/607084753702617097/648096042855825428/Jarinside.zip
[Magisk] IrishKevin:
What app do you guys use?

EDIT: Nevermind, found these settings in my app :)
[Magisk] A30NI_Y:
Mock location & Sig spoof
[Magisk] dfx12345:
I can't be 100% sure, but the latest Play Services (19.6.68) seems to have brought some improvements. I've updated yesterday and have been playing since with just the default settings (including 1000 ms process interval and location accuracy on) plus indirect mocking and haven't seen any rubberbanding. "Regular" mocking still doesn't work though.
[Magisk] MindTrix:
I tried with just mock location only and I get the same results, I think this phone is just not going to work, I have root and all but just no smali patcher, not sure but my other phones have busybox module installed, that is not a requirement for this to work I assume or is it??? I will play around some more and see if I can get any single patch to load at boot and report back...
[Magisk] hroen_al:
can you help me too ?

https://drive.google.com/file/d/1CI8l4gH1ZLyn_0dUvynps7-fIzYGCUpb/view?usp=drivesdk
[Magisk] starbucks2010:
Any good news on Android 10? Is still possible to patch Android 10 services the same way as Pie?

Thanks.
[Magisk] ammmze:
Interesting! I installed the that updated version from apkmirror since my device hadn't pulled it in yet. I did an initial test right after installation and was still getting rubberbanding. Tried again this morning and for a couple minutes wasn't getting rubberbanding setting the interval back to 1000ms, but then started rubberbanding pretty bad again.
[Magisk] SebaS-DG:
Using pixel experience, Android 10, with the option "inderect something (mocking in spanish).

No rubberbanding at the moment, of course I turned off all google high aquary thing I can find.

Edit: after 2 hours of usage, the localtion start "rubberbanding" /jumping.
[Magisk] micrace:
So i have successfully patched an s8+ but later on the screen died, now i'm trying to patch a xiaomi note 4 (mido), and it failed. I magisk rooted but i kept stock recovery (fastbooting twrp). Now i did quite a lot of research and i don't get (or maybe it's cause i kept stock recovery) how to access/get or whatever the /system/framework. Does anyone know? thanks.
[Magisk] SebaS-DG:
Only [MENTION=1620550]fOmey[/MENTION] can save us from rubberbanding in Android 10 or "tin foil" thing