4G GPS Tracker Reverse Engineering - Hardware Analysis

  Рет қаралды 19,499

Matt Brown

Matt Brown

Күн бұрын

Пікірлер: 106
@ParthBhat
@ParthBhat 7 ай бұрын
Okay so yet another comment and let’s say I’m gonna shoot my 3 years of frustration and working with these Simcom A7672xx series modems and many others. Let’s go step by step 1. The Simcom modem houses the ASR1603E chip which basically is the heart of the device, it runs the Threadx operating system. Perhaps, our world I can call it as we can run openCPU which allows us to basically code the modem over Simcom’s provided SDK and write our own code. 2. The modem here in this case is itself the main brains, I wonder why they had to use the separate gps module from Quectel as the a767xx series has inbuilt gnss on it, moreover Simcom doesn’t provide their SDK or support unless you are taking over more than 2.5k pieces from them, here it is very clear that they happen to have used their SDK to talk over the uart with the gsm modem. 3. More than the AT commands which I kinda doubt would work, you should check with the hardware datasheet, so pin no, 9 and 10 is TX1 and RX1 respectively, that’s mostly used in 95% of applications where a host mcu is connected with the gsm. Pin 27 and pin 28 is usb DP and DM respectively. Now the usb can be helpful as it would show as com port on a windows machine, on Linux it’s gonna show 4 USB on the tty! Usb0 is mostly what I use to hit the AT, but again long shot if that would work over the custom firmware. 4.I happen to have their update binary’s if you wanna dissect them and see what’s inside, I never got time to do the reverse engineering on that. But I would take a look at it tommrow or even share the files with you. 5. The whole gsm pins except the one which I’ve mentioned as USB works on 1.8V so be careful! 6. It’s gonna be fun for even me to see how you could manage to extract the firmware since they never gave me any Linux support, they only happen to have know how to use alboot on windows and just flash the zip file which is the firmware usually. Idk if I went right on points or I went haywaya, but it’s just the mix of 3 nights of no sleep and continuously working with the same gsm modem just to fix the fricking network attach ! And it fails back and forth! Atleast in India! Idk about global. So yeah, I’d be absolutely happy to share the firmware files, they aren’t public I guess, since I’ve placed the orders for production pieces and have been using around 500pcs so far, they are 5% helpful! Hope this comment helps !
@mattbrwn
@mattbrwn 7 ай бұрын
This was so helpful and tons of stuff I didn't know! thanks for the brain dump and I'm going to take another look at the cell modem with this info in mind.
@worldwide_wes
@worldwide_wes 7 ай бұрын
Love the videos, this channel is gonna blow up! I appreciate how you break down your thought process and thinking visually even though I understand like 4% of it all.
@mikehibbett3301
@mikehibbett3301 7 ай бұрын
The missing cpu is not a surprise. The simcom module almost certainly has an application processor on it. The company did a great thing - they put an MCU down to implement the basic functionality easily, then when they worked out how to use the application processor on the simcom module, they could drop the MCU without needing a pcb re-spin. Thats a sensible approach, I do it myself.
@superaffenarsch
@superaffenarsch 7 ай бұрын
Yea, i also thought why would i need another mcu to connect them?
@Musoplhnhbfhn144
@Musoplhnhbfhn144 26 күн бұрын
There is a SDK programming kit they will give you when buying evaluation board I already got all necessary software for development I also will try to get a backup of the program from a Chinese gps tracking company and load it to another one if it is closed protocol I bought the gps With everything included shipping sim card for 4$ i know they'll try to get me with monthly payment but I will try 2 ways to make it work first .
@UntrackedEndorphins
@UntrackedEndorphins 7 ай бұрын
SIMCOM modems (and modems in general) offer an SDK to run cutom code in em. Which is great for simple and cheap applications like this. Last time I checked out the SDK it seemed like a nightmare to learn
@Chicken_Massacre
@Chicken_Massacre 7 ай бұрын
Yeah. @ GlobeTracker they use similar GSM/LTE modules in their shipping container trackers. I think the module can be programmed just as a regular micro controller. Then it's just a question of how fast you wish to empty your battery by sending data. There is even a module with integrated MEMS accelerometer. Love what you do. Please keep it up :)
@smokeweedeveryday9099
@smokeweedeveryday9099 7 ай бұрын
Love your videos man. Just got into hardware analysis, and you’ve helped me a ton.
@zeewox
@zeewox 7 ай бұрын
Some modem modules allow to run custom code. That would explain the lack of an external MCU.
@monad_tcp
@monad_tcp 7 ай бұрын
exactly what I though, cell modems are usually pretty powerful, they have tens of megahertz MCUs on them.
@Padanian1
@Padanian1 7 ай бұрын
it wouldn't surprise me if a java machine is running in the modem
@tonyfremont
@tonyfremont 7 ай бұрын
The quectel l76 series gps modules support something called LOCUS. It can internally store a bunch of positions readings, then send that file to the UART. I suspect the app (or cloud server) periodically texts/calls the 4G module to trigger a log dump.
@tonyfremont
@tonyfremont 7 ай бұрын
​@@Padanian1I bet there's an 8052 compatible processor in the modem, and possibly the GPS module. Those things turn up in the oddest places, like nrf24l01 radios.
@cocusar
@cocusar 7 ай бұрын
nah, the 7670 has an arm processor in it, and you can load apps into it. quectel lets you do that as well, for instance on the bg95/96 and some other simcom modems like the 7000 (same soc as the bg95). you need to sign an nda to get the tools, libraries and sources to build your app for it, but they're leaked on github and work fine. if this one has a qualcomm soc, then you certainly need its firmware so you can take the loader to dump the nand instead of flashing it
@JamesIsNinja
@JamesIsNinja 7 ай бұрын
Love the detail in your videos, every time I see a new one it makes me want to tear apart everything I own and see what's inside but I'd be so lost, although I do know soldering and am in IT. Any courses you're aware of for already moderately technical people to dip their toes in the water, or maybe a good device or types of device(s) to learn with? I want like a baby's first reverse engineer
@BlueJDev
@BlueJDev 7 ай бұрын
If these are anything like the Chinese 3g GPS trackers I've worked with in the past, you can program the firmware via SMS codes. No need to use their app as you can set your own servers. Not quite a full device takeover though. If memory serves, and fw is similar, you can set your number as admin by texting admin {number texting from} You get a response like Admin ok if successful.
@mikehensley78
@mikehensley78 7 ай бұрын
i would bet the GPRS radio has a microcontroller inside it. either that or the GPS module has one.
@mattbrwn
@mattbrwn 7 ай бұрын
I don't have the datasheets in front of me ATM but I think I remember looking for anything about that and not finding it.
@GannDolph
@GannDolph 7 ай бұрын
@@mattbrwnStill, assuming the device works and successfully transmits accurate gps data, it would seem this must be the answer, no?
@mikehensley78
@mikehensley78 7 ай бұрын
@@GannDolph i think one module talks serial and the other module can hear serial. no magik voodoo.
@mikehensley78
@mikehensley78 7 ай бұрын
OR! it just gets location data via the cellular network. i thought about that the other night.
@GannDolph
@GannDolph 7 ай бұрын
@@mikehensley78 makes sense. needs some minor code to send it out the modem, but gotta imagine the radio module can run that since it has to have a processor to run the ' AT' commands etc. ..
@Twellick
@Twellick 7 ай бұрын
You should be able to connect to the module via UART pins or USB and then adb to it. Hardware design datasheet will help you locate required pins.
@HandFromCoffin
@HandFromCoffin 7 ай бұрын
I'm 46 and it made me laugh a little when in 2024 a guy is explaining AT commands.. My dial-up BBS days and Hayes modem AT commands come flooding back. AT OK.
@thiesenf
@thiesenf 7 ай бұрын
ATDT ATH :-)
@rowanlidbury
@rowanlidbury 7 ай бұрын
51 years old worked at ISP with Dail-up in the UK. Talked customers through AT commands over the phone. US Robotics were the nuts, but the software ones (aka "Hampsters") were terrible. 56k never got past 33k.
@robertstratton6444
@robertstratton6444 7 ай бұрын
I was at the largest of the very first commercial ISPs, and have US Robotics stories. Back when dial-up Internet service took off, everyone was scrambling to cram as many modems into a data center as we could as fast as we could. USR came out with the Total Control rack. They had the highest density of modems, but some of the worst thermal management. They used to catch fire if one ran them too hard. I determined this empirically. We can thank a company called D.C. Hayes, if memory serves, for the original idea of AT commands. Their Micromodem II was the bomb until Novation came out with the AppleCAT.
@ab1244
@ab1244 7 ай бұрын
Some cellular modems can operate in bridge mode. I bet if you connect to it, you will be directly communicating with the GPS module
@zaprodk
@zaprodk 6 ай бұрын
11:31 - There could be a series resistor or level shifter between the GPS and GSM module.
@samuraidriver4x4
@samuraidriver4x4 7 ай бұрын
They made some "interesting" design choices on this one. Cutting out the microcontroller is a way to cut cost i guess. Btw this cellular module has an E variant thats widely used with arduino's and raspberry pi's. There are even boards like the crowtail-4g a7670e that are specifically advertised for serial uart data transfer of gps data.
@309electronics5
@309electronics5 7 ай бұрын
Usually the mcu core is inside the module
@samuraidriver4x4
@samuraidriver4x4 7 ай бұрын
@@309electronics5 got one of those "E" variants around somewhere but never actually looked into them. But it does seem likely it has an MCU inside.
@monad_tcp
@monad_tcp 7 ай бұрын
I wonder why they didn't remove the metal shield.
@isettech
@isettech 7 ай бұрын
It can work as built. The cell modem does not require AT commands to dial. It can be configured to Auto Answer and NEMA data is connected to the calling party. If you are old enough to have worked with dial up modems, and possibly was a Sysop for a BBS, you wild be familiar with the Auto Answer configuration. On modems , the dip switches could be set for auto answer or not. Without auto answer, the RI Ring Indicator signal would tell the program the modem was ringing. The program would reply with ATA which is the AT command Answer. To proceed, get all the info you can on modem AT commands and hardware configuration.
@sivalley
@sivalley 7 ай бұрын
I see I'm not the only one who accidentally mixes up NEMA (electrical) NMEA (GPS). 😅
@CezarySiw
@CezarySiw 7 ай бұрын
This 4G module can directly talk to the GPS without any MCU in the middle. there are AT commands to support that see AT Commands for GNSS chapter in A76XX-Series_AT_Command_Manual. I guess this is a cost-optimised version of the GPS tracker.
@CezarySiw
@CezarySiw 7 ай бұрын
Just noticed that some people already pointed it out. Also worth noting that some SIM cards can also run custom code that does stuff in the background. For example some travel SIM cards can change IMSI depending on what country you're in. I guess IoT SIMs can also do interesting stuff.
@seanburnett7760
@seanburnett7760 7 ай бұрын
Great content man. Look forward to more!
@treybaxter9937
@treybaxter9937 7 ай бұрын
Great video Matt! I'm looking forward to the next ones. What watch are you wearing? It looks really nice!
@sajalsanthosh
@sajalsanthosh 7 ай бұрын
Maybe it does cellular triangulation for location data instead of gps? If then why would they add a GPS module? Btw, i love this series. Keep it coming :)
@matthewgavin
@matthewgavin 7 ай бұрын
Exciting, great educational videos!
@xDMG15x
@xDMG15x 7 ай бұрын
The gps module is configured to output the coordinates via some protocol like i2c/spi/uart and the cell module can read and relay that data when queried. A server controlled by the app company who is also the cell service provider, queries the cell module, retrieves the raw location data and all the processing is performed by the app server? So the device is essentially just a sensor?
@christianmeinert8806
@christianmeinert8806 7 ай бұрын
The ESP8566 WIFI MCU started with a modem firmware flashed in factory to use it in conjunction with an mcu or other computer (like the C64 😅). Soon many people found out to flash own firmware and espressif quickly build a hole toolchain around it. Same with this cellular modules.
@tonyfremont
@tonyfremont 7 ай бұрын
Far too many chip documents require an NDA before you can see how they work. This was a big part of the problem, then the solution, to Broadcom non disclosure requirements. They just dont work with open source requirements. Fortunately for the raspberry pi, an inside employee was able to convince them to cooperate.
@KallePihlajasaari
@KallePihlajasaari 7 ай бұрын
They are considering listing on a stock exchange and then BlackRock will take ownership and lock everything up.
@Platano0311
@Platano0311 7 ай бұрын
Hey Mat, I am a transitioning service member and I am currently a IT specialist. I have my AS in Information Technology and I wanted to know if electrical engineering is a better degree to peruse for someone’s BS. I wanted to know where you started your journey. Thanks ❤
@mrsockyman
@mrsockyman 7 ай бұрын
Some of those sims have data caps, restricted apns, but some have shared network plans. Most are designed so you can't rip a sim out and run for free but you could in theory utilise the sim and direct to your own addresses and use inconspicuous amounts of data A lot of modern iot cell modems expect to get a gps module connected directly, I'd say there's a good routine doc that sends a status message that includes gps data, then whatever inbound server processes to show the user
@guerreroa85
@guerreroa85 7 ай бұрын
Can't wait. Love this stuff
@shadyfly2576
@shadyfly2576 7 ай бұрын
Quectel have capability of voice call, sms, gps, and lte, it just need AT commands, so the manufacturer add little controller to just send appropriate at command on based of task they want to execute from Quectel board, Quectel is a big company btw
@vinitshandilya
@vinitshandilya 7 ай бұрын
I’d assume the Simcom module houses the baseband and application processor and is receiving the GPS data over serial connection directly from the GPS module.
@Falney
@Falney 7 ай бұрын
if there is no connection between the gps module and the lte modem, I am guessing it uses triangulation rather than true gps.
@tonik2558
@tonik2558 7 ай бұрын
I was thinking that as well. A quick precision test would be enough to verify if it's actually using the gps module
@heavyiphone
@heavyiphone 7 ай бұрын
but gps is at a base level still triangulation
@Falney
@Falney 7 ай бұрын
@@heavyiphone OK..... Cell triangulation
@charleshines2142
@charleshines2142 7 ай бұрын
If you had dialup internet you may have seen or had to mess with AT commands. I have no idea if cellular has more or fewer commands but on dialup you could use them to set the baud rate of the connection and various other things. Back then if you had dialup and had an unreliable connection the AT commands would allow you to try different settings that may work better or worse. I don't know who still uses dialup connections these days but there are probably a few. Dialup of course, worked on land lines and some people still have those for phone service or they might have kept it so they could send faxes.
@lezbriddon
@lezbriddon 7 ай бұрын
you'l notice the module spec sheet shows ''AT commands'' and as such are ''A''-''T'' commands but thats really not obvious as its not stated or taught, (electronics)convention is that capitalised abbreviations are spelled out, light emitting diodes being L-E-Dee's and LASERS being lasers, theres always exceptions to every rule.....
@ACoey-fw9yq
@ACoey-fw9yq 7 ай бұрын
Perfect video. Please make more related videos😅🍻👍👍👍❤️👍
@a6dulsalam511
@a6dulsalam511 7 ай бұрын
can you make video about device related to satellites? it would be interesting like startlink or satellite commutation
@saeedbaloch2
@saeedbaloch2 7 ай бұрын
I cant wait for next videos
@gentoobr
@gentoobr 7 ай бұрын
Maybe this device does not gets its location from the GPS chip at all. Maybe it gets its location from the cell network, which is less precise, but is still possible. In the first era of smartphones it was commom for cheaper phones not to have GPS and instead would use the cell network for location tracking, which was very imprecise, but it sort of worked.
@ferrellsl
@ferrellsl 7 ай бұрын
That was my first thought too. Customers are paying extra for assumed GPS accuracy but getting cellular accuracy. Shady vendors do this all the time on AliExpress and it's becoming a problem on Amazon as well.
@gentoobr
@gentoobr 7 ай бұрын
@@ferrellsl Exactly! Typical cheap chinese electronics scam.
@lezbriddon
@lezbriddon 7 ай бұрын
code from missing controller will have been flashed into the gsm module. you can do this with the a9g module and build your own tracker as python has been ported for it. or just buy a gf21 tracker for less than $20
@runed0s86
@runed0s86 7 ай бұрын
Wow that looks a lot like a lora module on the inside... Could the microcontroller be underneath of it?
@meistro32
@meistro32 7 ай бұрын
I am betting this is using sim applets, the code is on the simcard. Reason for the unpopulated ic's is that the board can be populated with a microcontroller if you want a universial board that work with any simcard.
@zaprodk
@zaprodk 6 ай бұрын
The SIMCOM module is a fully fledged computer runinning a RTOS. Wire up a keyboard, display, speaker and micropone and you can have a fully functioning cellphone. Even running Java!
@GadgetReviewVideos
@GadgetReviewVideos 7 ай бұрын
A lot of IoT cell modems have microchip controllers and processors that run the actual modem. One big company Quectel that does this. Al the binaries and commands that run the actual qualcomm cell modem chip for most of Quectel modems are done separately on the controller and storage built in running a cut back Linux and packages like busy box. One company like Invisagig uses their own firmware with this modems linux and not he onboard controller to have a web face GUI for configuring the modem instead of a separate controller and OS that some cell modem companies do and then just control the modem over the M.2 (or whatever) interface with the modem. I have gained access to some of my quectel modems and it really does have a lot going on in the OS. That’s probably what you have going on this with one since it’s a module. It’s also the same micro controller that runs the AT commands.
@mattbrwn
@mattbrwn 7 ай бұрын
Nice. I'll have to dig into this more. Also just got my hands on 3 more devices with similar cell modems.
@robertpalmer8925
@robertpalmer8925 7 ай бұрын
Thanks for the video bro
@stevec5000
@stevec5000 7 ай бұрын
We got an Invoxia tracker that is very small and works well. It comes with either a 1 yr or 2 yr subscription when you buy it so there is no SIM card but it doesn't come apart so I don't know what's inside it.
@ecaparts
@ecaparts 7 ай бұрын
The SIM card itself is a microcontroller and can run custom applications. I would imagine there is a custom application running on the SIM card to poll the GPS coordinates and shit them out via the 4G LTE network to some shady server.
@BlueJDev
@BlueJDev 7 ай бұрын
I think they're just standard Sims
@nicklasbroberglarsson8427
@nicklasbroberglarsson8427 7 ай бұрын
I guess the GPS outputs NMEA over serial and the cell modem might just relay the serial input to a pre defined receiver
@superaffenarsch
@superaffenarsch 7 ай бұрын
Does the gps module need another mcu to send data to the cell module? Why not use uart or so directly?
@avri210984
@avri210984 7 ай бұрын
Prob the LTE modem runs Linux or something and they use that
@EvzenEmanuel
@EvzenEmanuel 7 ай бұрын
lol, no way it runs Linux.
@dfgaJK
@dfgaJK 7 ай бұрын
This video is such a tease LOL. Please include how you know the sim capabilities and how to know its data cap etc. so it can be use with other projects without getting blacklisted.
@joeds3775
@joeds3775 6 ай бұрын
You do your own research. Read the data sheets. Use your brain.
@Sidrobot
@Sidrobot 7 ай бұрын
Pro I love you video :)
@tonyfremont
@tonyfremont 7 ай бұрын
I hope you capture and reverse the communications between the two modules.
@cypher_5785
@cypher_5785 7 ай бұрын
Can you test Tapo C200 home security camera
@helvetiaresearch9973
@helvetiaresearch9973 7 ай бұрын
The cell modem has a processor in it.
@MrRyanPeel
@MrRyanPeel 7 ай бұрын
Hey Matt, the discord invite link in the description is invalid
@jamescollier3
@jamescollier3 7 ай бұрын
does the cellular use a triangulation estimation?
@mattbrwn
@mattbrwn 7 ай бұрын
I think so 😄
@kb9mtd-aaronwebb
@kb9mtd-aaronwebb 7 ай бұрын
@mattbrwn how can I send you material? I have a couple freight trackers that you may be able to compare to this.
@gryzman
@gryzman 7 ай бұрын
They are sending the commands and requests to the GPS module of the cellular connection
@morroman325
@morroman325 7 ай бұрын
Really was expecting an esim.
@firebird687
@firebird687 7 ай бұрын
like a trailer for a detective movie
@amazinggameplays2275
@amazinggameplays2275 7 ай бұрын
things you don't understand != sketchy
@thiesenf
@thiesenf 7 ай бұрын
That thing doesn't actually need a satelite nav ship... The LTE will simply be talking to two or more cell towers and voila.... triangulation is happening... Oh... a null modem schematic... just hook up something to the RX/TX/GND pins and sniff yourself silly... :-)
@MOHAMMEDABAALAWI
@MOHAMMEDABAALAWI 7 ай бұрын
I hope to make video about extract dts file from boot in router cortex a15 and complie by openwrt and the router not supported by openwrt to make new profile to this device
@b0rd3n
@b0rd3n 7 ай бұрын
what have I just watched
@stankenootgaming
@stankenootgaming 7 ай бұрын
shouldnt you put a blur over amazon? mister Ashburn 20149
@mattbrwn
@mattbrwn 7 ай бұрын
Yes... That's totally where I live...
4G GPS Tracker Reverse Engineering - GPS Digital Signal Decoding
20:04
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
4G GPS Tracker Reverse Engineering - Cell Modem Interactions
16:50
Hacking an AT&T 4G Router For Fun and User Freedom
34:38
Matt Brown
Рет қаралды 657 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 910 М.
You’ve Never Seen GPS Like This
16:10
Data Slayer
Рет қаралды 234 М.
Playing Music on the Oldest Running Computer in America!
27:06
Usagi Electric
Рет қаралды 385 М.
Chip Off Firmware Extraction - Hacking the Totolink WiFi Router
31:15