I would very much like to know how someone would go about RE/extract device drivers or firmware blobs from original OEM openwrt firmware. I have already gained access to the filesystem, but im not sure where to go next.
@frollic there as multiple threads on here with the same type of question- better to not open another thread and have another bunch of people post 'buy another router' - if everyone did that then wed have no supported devices
Dump the firmware, find the blob, throw it in IDA or Ghidra and start cracking. Only it’s not really going to be as easy as that.
It’s really just easier to get supported hardware, or at least hardware that has design docs available for developers to use. Nobody wants to throw years reverse engineering Broadcom devices, only for them to be out of date or impractical when they’re done.
Btw my device is qualcom, with decent platform support already;
I dont think RE this stuff would take years and some of us enjoy the pain anyways.
My device thread is here, but i suspect some firmware blobs need to be extracted and I cant find a lot of help searching the forum. My next steps would be to go look at some of the blobs extracted from similar devices by other people and try find some kind of signature or something, but since many people have done this successfully, youd think more info is available here regarding this
Start with /lib/firmware or better yet find a copy of the qsdk and get them from there.
Even after you have the ‘blobs’ you still have the issue that they were only compiled to work with the single kernel version in the qsdk and with whatever patches Qualcomm made to the kernel to support their closed source modules.
The people here don’t say this for no reason, we’re trying to save wasted effort that could be used to improve the actual open source kernel modules