osqzss / gps-sdr-sim

Software-Defined GPS Signal Simulator
MIT License
2.63k stars 761 forks source link

no fix even though it can simulate GPS satellites. #159

Closed ho0-kim closed 5 years ago

ho0-kim commented 5 years ago

Hello. I have a problem about 'fix location'.

With bladeRF and gps-sdr-sim, it was successful to generate fake GPS signals as you can see below:

screenshot_20180806-151006_gps test screenshot_20180806-151013_gps test

But, the problem is location couldn't be fixed on my phone.

I turned off 'improve accuracy' and locating method was 'phone only'.

I've been stucked with the issue for 2 weeks but I couldn't find the reason...

Any advice will be appriciated.

ho0-kim commented 5 years ago

I spoofed gps on other devices such as fitness bands.

But, I couldn't find the reason why it failed to spoof my phone yet. I think older version of android is better for gps spoofing. Mine is android 8.

Honky103 commented 5 years ago

I also find it harder to spoof phones as compared to other GPS devices. One possibility could be the time difference between the time gotten via GPS and the internet. Never did find the actual reason though.

ho0-kim commented 5 years ago

I successfully spoofed my phone. Turning off 'improve accuracy', setting 'phone only' on location method and 'airplane mode' are not enough to be ready to be spoofed. I additionally turned off Wifi and LTE(Mobile data), then I could spoof it.

bikilay commented 5 years ago

what did you use for spoofing? I mean usrp or hackRF..I am using USRP x310 for transmission of signal and use my android phone. I have installed gps test app and using it to spoof the position. But i coudnt. i got the signal but cant fix position yet. I set my phone as phone only. made airplane mode. and turn off wifi and mobile data......I hope the problem is on .bin file while generating. anyone who can help me on USRP??

ho0-kim commented 5 years ago

Hello, Solan.

I used Blade-RF for spoofing. I think the problem is not on .bin file becuase you could check the gps signal on your smart phone. In my case, it takes time to fix location. The first fixation after running gps sdr sim took around one minute.

2018년 10월 22일 (월) 오후 6:27, solan notifications@github.com님이 작성:

what did you use for spoofing? I mean usrp or hackRF..I am using USRP x310 for transmission of signal and use my android phone. I have installed gps test app and using it to spoof the position. But i coudnt. i got the signal but cant fix position yet. I set my phone as phone only. made airplane mode. and turn off wifi and mobile data......I hope the problem is on .bin file while generating. anyone who can help me on USRP??

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/osqzss/gps-sdr-sim/issues/159#issuecomment-431776843, or mute the thread https://github.com/notifications/unsubscribe-auth/ATgnEDWqulNnhI6jj5TH4mil2-udp705ks5unY-LgaJpZM4Vv1mB .

atchyuth-rao commented 3 years ago

hi,

i have generated GPS Signal for both static and Dynamic(user motion) coordinates with Pluto SDR, i am getting position fix for both cases with U-Blox Receiver.

but when i testing same scenario with mobile i am not getting even single satellite(no satellite C/N ratio bars are there)

can you brief me what should i do or follow for getting position fix with Mobile Phone

it would be great helpful to me

ho0-kim commented 3 years ago

@atchyuth-rao I could observe generated satellite signals on a phone even though it couldn't make position fix.

Android phones keep getting the location not only with GPS, but also networks (wifi, lte base station, etc). Additionally, to fix position faster, the system obtains the latest information on gps satellites from AGPS server. Because of these, it was relatively hard to spoof phones.

When I tested it, I tried to use the latest RINEX and turned on Airplane mode.

BTW, it's weird that there is no signals on the phone. When I tried PlutoSDR, I saw the strong SNR bars even though it didn't fix position.

yosefzh commented 1 day ago

what did you use for spoofing? I mean usrp or hackRF..I am using USRP x310 for transmission of signal and use my android phone. I have installed gps test app and using it to spoof the position. But i coudnt. i got the signal but cant fix position yet. I set my phone as phone only. made airplane mode. and turn off wifi and mobile data......I hope the problem is on .bin file while generating. anyone who can help me on USRP??

im having the exact same issue im having all satellites signals bars but i can't fix in any one of them for some reason using x310 and android phone for receiving