Help needed to GPS hack an S5 undetectably - General Questions and Answers

Hi all
Sorry if this is the wrong place, if so the thread can be moved or I will repost to what someone tells me is the right place
I have a Galaxy s5 (SM-G900V), used to be on Verizon but is a no service/sim phone now and is WIFI only connectivity.
I need to be able to GPS hack the phone, undetectably.
Full phone details:
Galaxy S5 (SM-G900V)
Unlocked Bootloader
TWRP Installed 3.5.0_9-0
Magisk installed and hidden (v 23.0, Zygisk: No, Ramdisk: Yes)
Storage Isolation installed
CrDroid
About Phone says Android 10
I found this forum post (https://www.xda-developers.com/how-to-fake-location-android-gps-spoofing/) and looking at it, this appears to be what I need (please tell me if I am wrong).
Here is where I need some help. I am an IT guy and 100% comfortable with doing what needs done to the phone, but not recently up to speed on Android images, etc.
I enabled Developer Options so I could turn on USB Debugging
On several other phones I have tried this on, the Mock Locations option is either greyed out or does not exist at all, on this one the option is there and working, but I'm pretty sure from how a test app is refusing to even start if I have Mock Locations enabled, that it's the original Mock Locations which reports to the system that location is being mocked.
My question is, once I do the step about downloading Smali Patcher, generating and applying the Mock Locations patch, will the Patch replace the existing Mock Locations or will the fact that the original Mock Locations exists screw things up or leave me vulnerable to being detected mocking??
Thanks in advance for any help you can give me

Schoralous said:
Hi all
Sorry if this is the wrong place, if so the thread can be moved or I will repost to what someone tells me is the right place
I have a Galaxy s5 (SM-G900V), used to be on Verizon but is a no service/sim phone now and is WIFI only connectivity.
I need to be able to GPS hack the phone, undetectably.
Full phone details:
Galaxy S5 (SM-G900V)
Unlocked Bootloader
TWRP Installed 3.5.0_9-0
Magisk installed and hidden (v 23.0, Zygisk: No, Ramdisk: Yes)
Storage Isolation installed
CrDroid
About Phone says Android 10
I found this forum post (https://www.xda-developers.com/how-to-fake-location-android-gps-spoofing/) and looking at it, this appears to be what I need (please tell me if I am wrong).
Here is where I need some help. I am an IT guy and 100% comfortable with doing what needs done to the phone, but not recently up to speed on Android images, etc.
I enabled Developer Options so I could turn on USB Debugging
On several other phones I have tried this on, the Mock Locations option is either greyed out or does not exist at all, on this one the option is there and working, but I'm pretty sure from how a test app is refusing to even start if I have Mock Locations enabled, that it's the original Mock Locations which reports to the system that location is being mocked.
My question is, once I do the step about downloading Smali Patcher, generating and applying the Mock Locations patch, will the Patch replace the existing Mock Locations or will the fact that the original Mock Locations exists screw things up or leave me vulnerable to being detected mocking??
Thanks in advance for any help you can give me
Click to expand...
Click to collapse
Why do you need to do it in a manner that can't be detected?

Droidriven said:
Why do you need to do it in a manner that can't be detected?
Click to expand...
Click to collapse
Same reason as everyone does.. so the app I am using, which could be pokemon or anything else, does not detect I am GPS Spoofing

Schoralous said:
Same reason as everyone does.. so the app I am using, which could be pokemon or anything else, does not detect I am GPS Spoofing
Click to expand...
Click to collapse
Then you don't need anything special, you just need the standard method of using "mock location".

Droidriven said:
Then you don't need anything special, you just need the standard method of using "mock location".
Click to expand...
Click to collapse
If I use the 'standard mock location' that is available in all android versions once you enable developer options, mocking IS detected.
Did you not read the question I asked??
If I use Smali Patcher to apply the specific 'Mock Locations' that does not report to the system that location is being mocked, will it overwrite the existing "Mock Locations" or will it screw something up??

Schoralous said:
If I use the 'standard mock location' that is available in all android versions once you enable developer options, mocking IS detected.
Did you not read the question I asked??
If I use Smali Patcher to apply the specific 'Mock Locations' that does not report to the system that location is being mocked, will it overwrite the existing "Mock Locations" or will it screw something up??
Click to expand...
Click to collapse
Or, maybe you misunderstood what I meant by "standard mock location". The standard "method" should work, getting it "setup" may be a bit out of the ordinary, though.
There may be some other trick to use. I had a Galaxy S3 when Pokemon Go was released, I had to use a trick to get it to work on the S3 because it didn't have the GPS hardware compatibility required to run it. I didn't have to use mock location, I can't remember the trick I had to use, it was years ago.

Droidriven said:
Or, maybe you misunderstood what I meant by "standard mock location". The standard "method" should work, getting it "setup" may be a bit out of the ordinary, though.
There may be some other trick to use. I had a Galaxy S3 when Pokemon Go was released, I had to use a trick to get it to work on the S3 because it didn't have the GPS hardware compatibility required to run it. I didn't have to use mock location, I can't remember the trick I had to use, it was years ago.
Click to expand...
Click to collapse
"Then you don't need anything special, you just need the standard method of using "mock location""
Yeah.. that's not at all confusing the way it's worded... anyways.
So Smali Patcher should replace the existing stock mock location with one that does not report it to the system is what I am getting from this.
Thanks

Update for anyone reading this thread in the future in case it helps someone.
Yes, Smalipatcher does REPLACE/MODIFY the existing mock locations applet, so it's safe to do this procedure on phones that have the option already available or if it's greyed out.
One note of caution on the S5 Galaxy, might apply to other devices as well.
I was having a real problem with GPS Beaconing/rubberbanding... every few minutes the GPS Module and the spoofing software would 'fight' rather obviously for about 30 seconds.
So I had to go another step not included in the instructions at the link above. That was to move the GPS Joystick app to the system partition using the Magisk Systemize module.
Once you move the GPS Joystick app (the copied under a new name one that is mentioned in the instructions) system partition and make it a system app, you set the 'Mock Locations App' in Developer options to none. No more beaconing/rubberbanding.
Enjoy all

Related

[Q]Enabling the GPS automatically and WIFI testing functions

Hi all,
1.
I have created an application to test my GPS module on my device.
It works well thus far. However, I wonder if there is any possibility can enable
the GPS module without manually.
Here is the scenario, when i execute the application installed on my android
phone, if my GPS is disabled, a dialog will pop up to request the user to enable
the GPS module. Then the screen will turn into the GPS setting option, the user
needs to enable the GPS module manually.
Is there any possibility to enable the GPS module automatically when I execute
my aps on android? I was trying to google it but all reply is this behavior
involves the security issue so that there is other way to do it.
2.
I have an application which can help me test the wifi connectivity.
Again, it works well.
However,is it possible to transfer a file or send data using something like netperf? It is valuable to test this as Tx can use more power and I want to make sure it is functioning well.
Any reply is highly expected.
Thanks all
Can someone please guide me a direction to go?
Any reply will be very appreciated.

Samsung GPS Spoofing Leaks Real Location - Please Help

First time posting, so please let me know if I missed something. I will edit as needed.
Ok, so I am trying to setup a Samsung Note 3 with GPS spoofing.
System Information:
Android Version: 5.0
Model Number: SM-N900T
Rooted: Yes
Kernel Version:3.4.0-6005498
What have I done so far:
I rooted my phone and installed SuperSU
I installed FakeGPS and set it as a system application
I have set my location to GPS Only
I have disabled Fused Location and rebooted my phone (several times)
I looked for GNSS and other suggested location services but I am unsure what else I should/could disable
Long story short, I am rubber banding between my real location and my GPS spoofed location (which is about 100 feet away).
I would really like to know if anyone has any solid ideas on what I can do.
I am 100% comfortable with ditching this OS and using another ROM (which I havent done before, but I could learn).
EDIT: From what I am reading this has to do with the phone Location Sniffing. I have Wifi and Bluetooth turned off. I have searched for the setting where the Wifi is always searching, but I could not find it on my device. I dont think it exists.
Additional input.
I wanted to add:
It seems that if I stop Fused Location and restart my phone, everything works properly for a short period of time but the real location starts leaking eventually.
This gives me the impression that something might be restarting Fused Location. Does anyone think this might be what is causing the issue? Or is there a program that might be able to actively kill Fused Location?

Automatic Hotspot

Has anyone been able to get any program to automatically enable hotspot (for example, when bluetooth connects turn on hotspot)? I used to use Tasker on my Note 7 (without root and with Secure Settings), but now Tasker fails to enable hotspot on my S8+
Every program I've tried in the Play Store fails to enable hotspot...it is like Samsung has done something that to keep programs such as Tasker and Automate from working...
It fails because the US branded versions of the phone changed the normal way to enable the hotspot function in order to perform additional entitlement checks with some US carriers before enabling the hotspot. This is why Tasker and other programs fail.
On the unlocked, unbranded version of the S8+ (which doesn't run the carrier software and doesn't run those checks), it works fine.
The same goes to the pixel, only there it depends on the SIM you insert into the phone. If you insert a VZW or ATT SIM, the Tasker process will fail. If you use a T-Mobile SIM in the pixel, it will work because T-Mobile doesn't run those entitlement checks.
When I used an international SIM in the Pixel, it also worked.
I hope this helps.
This is the error I get with tasker, is this what you see?
Ugh...I figured it was something to do with that. That's like knowing cancer is the cause of that pain in your gut...good to know what it is, still sux.
I have been able to get Tasker and AutoInput to activate the hotspot fairly reliably when I connect to bluetooth. It actually works very well, even with the screen off. Guess it'll do.
Care to explain what you are doing there? Is autoinput disabling mobile data, enabling hotspot then re-enabling mobile data?
Auto Enable Hotspot with Tasker on S-8
I got the automatic hotspot worked out using Tasker and AutoInput. I tried several ways that were hit or miss. I finally figured it out and can now activate my Hotspot reliably when my phone connects to bluetooth.
If anyone is interested, here is the export. You will need AutoInput from the Play store, and Tasker. Root is not necessary. It is probably a pretty clumsy way of doing it, but it works.
Simply copy the Hotspot Enable XML file to your Tasker Configs folder. Then Tasker>>3-dot menu>>Data>>Restore>>browse to file
Thanks I'll try this. I always used tasker before but obviously w/o Autoinput.
Dave
No dice for me. Aside from autoinput and tasker did you have to install anything else? I did enable the autoinput accessibility service. I've included screenshots of what I get when I try to run the task and also when I click on any one line of the task. When I click to install what it says to it says it is just takes me to auto input in playstore which is already installed. Is there somewhere else I need to enable this auto input plugin?
It also seems I had to install secure settings which I did to no avail.
Thanks much
Dave
TT_Vert said:
No dice for me. Aside from autoinput and tasker did you have to install anything else? I did enable the autoinput accessibility service. I've included screenshots of what I get when I try to run the task and also when I click on any one line of the task. When I click to install what it says to it says it is just takes me to auto input in playstore which is already installed. Is there somewhere else I need to enable this auto input plugin?
It also seems I had to install secure settings which I did to no avail.
Thanks much
Dave
Click to expand...
Click to collapse
Sorry Dave, I haven't been back on.
It looks like you need to install "Secure Settings" from the play store. It is an add-on to Tasker. It should work after that.
So yes, you need Tasker, Secure Settings, and AutoInput. You could honestly probably do without the first command in Tasker (the one that needs Secure Settings...it only turns the screen on).
I tried again removing that first line and every single action if I click on it I get the error in the picture below. I try to manually run it in tasker it just sits at the first task. How did you create this exactly?
Btw, if I click to install it just brings me to autoinput I the play store which says it's installed.
Any help pinetreehater?
Well i ended up having my phone die and got a new one from samsung. Same issue I had w/ the other one. There has to be some other step involved that I'm missing here.
Any luck yet?
Sort of working
I downloaded and paid for AutoInput. The script is mostly working. But it stops at the Hotspot setting screen and never seems to turn it on.
Any ideas?
Apologies for necroposting, but I thought this might help future people. The only issue I can think is that you need to make sure you've activated Autoinput's trial period OR purchased the full version, do that and the supplied script works perfectly.
so I'm using the s9, figured the process would be close enough. first Trigonous' fix worked for me mostly, except I still have to unlock my phone before it finishes turning on hotspot. Also, for any totally novice users coming in to try to do this, I had a fun time at first locating the Tasker Configs file, if you create a back up in tasker it will create the file for you so you can copy the .xml to the proper place.
Most important part of this post, to me at least, is there a way to get it to by pass my unlock and just do it or do I have to pull out my phone still and unlock it for it to finish the task?
snaggle2thtiger said:
Most important part of this post, to me at least, is there a way to get it to by pass my unlock and just do it or do I have to pull out my phone still and unlock it for it to finish the task?
Click to expand...
Click to collapse
I'm no expert, but why not set your cars Bluetooth as a trusted device, therefore unlocking your phone when connected, then maybe a brief delay after connection allow it to continue?
Thank you
pinetreehater said:
I got the automatic hotspot worked out using Tasker and AutoInput. I tried several ways that were hit or miss. I finally figured it out and can now activate my Hotspot reliably when my phone connects to bluetooth.
If anyone is interested, here is the export. You will need AutoInput from the Play store, and Tasker. Root is not necessary. It is probably a pretty clumsy way of doing it, but it works.
Simply copy the Hotspot Enable XML file to your Tasker Configs folder. Then Tasker>>3-dot menu>>Data>>Restore>>browse to file
Click to expand...
Click to collapse
Thanks man, saved me some time, it works perfectly. I installed AutoInput and was moving in the same direction.

The fake location apps don't work (rooted device)

I have a rooted android device and have tried some fake location apps (non-root and root required). They work for Google Maps, it shows the location i choose. But for the other apps like connected2me and Tinder they don't work.
I tried to make the location setting as "device only" etc. but still don't work.
I started to think why it doesn't work and maybe it s because of this:
imgur.com/a/o66Jk
It says "Your device will need to use Wi-Fi and cell networks". As I understand, even though I choose a fake location, these kind of apps get the information from wifi provider, and that's the reason why it doesn't work.
Am I right?
Is there a way to solve this problem?
Edit: I just noticed something else. Unlike Tinder, connected2me doesn't want to use wifi and cell networks to find location. But it also doesn't show up in the location settings under "recent location requests" unlike the other apps. How does this app know my location without accessing my location lol
+1 i would like to find a trick. Normally when you are rooted you can do whatever you like with your phone even spoofing data to every app. So i'm sure there is a trick to do it. Anyway your post gives some nice clues to find the trick. I hope someone will share it here.

Dual SIM version : secure settings for SIM1 & SIM2

Hi folks,
I'm trying to setup a command in tasker to disable SIM2 depending on my phone location (home or work).
Problem is I can't find the secure setting to read or modify (I'm not sure you can change it without root anyway, so I'll just use autoinput from there - still I need to know the initial value to decide if I launch the autoinput task or not).
Can anyone help me with that ?
Thank you !
nuts77 said:
Hi folks,
I'm trying to setup a command in tasker to disable SIM2 depending on my phone location (home or work).
Problem is I can't find the secure setting to read or modify (I'm not sure you can change it without root anyway, so I'll just use autoinput from there - still I need to know the initial value to decide if I launch the autoinput task or not).
Can anyone help me with that ?
Thank you !
Click to expand...
Click to collapse
@nuts77 i cant help you in this quest although i truly hope you succeed. If so may i ask if you can try implementing also a time schedule option to disable a sim on certain times..
Hi,
have not succeeded yet - although if I ever do, it won't be a problem to trigger the SIM depending on time whether than location.
When I have some news I'll be glad to post them here
nuts77 said:
Hi,
have not succeeded yet - although if I ever do, it won't be a problem to trigger the SIM depending on time whether than location.
When I have some news I'll be glad to post them here
Click to expand...
Click to collapse
That would be wonderful if you can pull this off. I will keep track of this thread. Good luck @nuts77
so it seems that the system settings to enable or disable SIM slots are slot1_is_checked and slot2_is_checked... However it seems it requires root to change these settings. Not even autotools granted with ADB can change them so it looks like there's not much we can do without root...
nuts77 said:
so it seems that the system settings to enable or disable SIM slots are slot1_is_checked and slot2_is_checked... However it seems it requires root to change these settings. Not even autotools granted with ADB can change them so it looks like there's not much we can do without root...
Click to expand...
Click to collapse
I rooted my device, would that help?
Perhaps adb command to specify which one is preffered?
lillypad_33 said:
Perhaps adb command to specify which one is preffered?
Click to expand...
Click to collapse
Than what will be the adb command?

Categories

Resources