gps-sdr-sim icon indicating copy to clipboard operation
gps-sdr-sim copied to clipboard

No GPS fix whatever I do

Open majedalanni opened this issue 4 years ago • 5 comments

Hi, I have HackRF one with ANT500, trying to spoof my android 10 phone GPS, I follow exactly instruction and couple videos, removed my sim card turned high accuracy off in Android, turn on airplane mode. but it will never fix

my android is rooted, is there a way we can check logs maybe to see why it not fix or do I do something wrong?

Thanks

Screenshot_20200503-142810 Screenshot_20200503-142816 Screenshot_20200503-142830 Screenshot_20200503-142824

majedalanni avatar May 03 '20 19:05 majedalanni

Try to generate fake signal with -b 8 option like this: gps-sdr-sim -b 8 -e brdc1090.20n -l 55.2768359,6.2364598,100 then push it to the air using: hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 0 As far I know HackRF One requires an 8 bit signed IQ raw file with no header information. Works for me.

michalsternadel avatar May 04 '20 17:05 michalsternadel

Try to generate fake signal with -b 8 option like this: gps-sdr-sim -b 8 -e brdc1090.20n -l 55.2768359,6.2364598,100 then push it to the air using: hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 0 As far I know HackRF One requires an 8 bit signed IQ raw file with no header information. Works for me.

Thanks you sir, I already did -b 8 with no success, however I started to get one device locked after I add -C -10

majedalanni avatar May 04 '20 17:05 majedalanni

@majedalanni ..Is your lock stable for the duration of simulation (default 300 secs) ?

RannyTheCoder avatar Jul 23 '20 05:07 RannyTheCoder

you should use flag -t for step gen bin file and hackrf_transfer -t gpssim.bin -f 1575420000 -s 2600000 -a 1 -x 42 i did it and success for all devices except Iphone 12

Diagru25 avatar Jun 11 '21 07:06 Diagru25

what does the -x represents please?

Imtiaz08 avatar May 20 '22 10:05 Imtiaz08