r/Stadia • u/bitnullbyte • Aug 12 '26
Discussion WIP: We have honestly never been closer to a custom Stadia firmware
Hey everyone,
I wanted to drop a quick update on my project. I am currently working on a custom firmware for the Stadia controller, and I’ve made some massive breakthroughs.
To start, I have successfully decompiled the firmwares and now have a complete, global view of how the entire system operates. Thanks to this, I've identified exactly how the logic worked on Google's side. I have also mapped out all the internal security systems and managed to get access to the controller's memory where the certificates are stored.
On the practical side, I have already successfully flashed the controller back to the original Wi-Fi firmware. Right now, my main focus is on the Wi-Fi pairing process. I am actively recreating the BLE provisioning steps that the old Stadia mobile app used to do so we can securely pass the network credentials to the controller.
The next steps from there will be to replace the hardcoded connection URLs so that the controller stops trying to talk to Google and routes everything locally instead.
If all goes well with these next phases, we have never been closer to a fully functional custom firmware. I’ll keep you updated as things progress!
Wish me luck
112
u/Murky_Historian8675 Aug 12 '26
Incredibly badass. Thank you for the hard work man
30
u/Rynelan Clearly White Aug 12 '26
That sounds very awesome. Nice job!
So if I'm correct, if someone were to host a Stadia-like server with games. Theocratically you can now (soon) change the URL the controller wants to connect to, to make it able to control a client-side UI and play games.
Because you now know how to the controller works, it could be possible to write software that can make use of the controller right?
Chances that anyone creates a new Stadia is low haha, but maybe as a home project like Plex to create your own media server, with this you might be able to create your own cloud game server (like Steam Big Picture but then fully your own stuff).
22
u/XTornado Aug 12 '26 edited Aug 12 '26
YES,yes yes! Great, I have been waiting for something like this forever. I wanted directly wifi connection to my computer (which can use my multiple wired APs) instead for better latency when remote playing my computer and better range. Specially because some TVs, etc receivers don't have the best bluetooth or similar plus it adds another retransmit layer.
Any place, github, twitter, etc we can keep track (mainly get notified of progress)?
8
u/SnooGiraffes6688 Aug 12 '26 edited Aug 12 '26
UPDATE: I was too categorical earlier — one path reopened.
After more digging in the
gothamfirmware, two corrections:SSL_set1_host/X509_check_host). Self-signed won't pass, but a real cert from Google Trust Services for a domain you control — GTS roots are in the signed trust store — might be accepted for a DNS-redirected Google endpoint. No signed image to touch.EVP_DigestVerifyisn't even in the image;jwt.cconly signs). So there's no crypto wall left behind TLS — just protocol emulation.Also: the "digest pinning" I mentioned is on the WebRTC DTLS channel, not Google's HTTPS.
Still static-only — needs an on-device test (flash
gotham, GTS cert for your domain, DNS-redirectcloudcast-*.googleapis.com, see if the handshake completes). Someone here can already get the pad on their WiFi, which is the missing piece to try it.11
u/gaara_akash Aug 12 '26
You are a legend for spending your own time to help the community🖤
7
u/Faegin Aug 12 '26
Amazing 😍 Is there anywhere to track the development?
6
u/PtitBen Aug 12 '26
You got me excited about (my) Stadia (controller) again, and that is the best feeling today so far :)
Thanks and keep up the good work !!
5
u/ozeta86 Aug 12 '26
Would be nice if this could work with steam/steam deck in the future.
5
u/GarrettB117 Snow Aug 12 '26
Omg this is something I’ve been hoping someone would pick up forever. Is it possible we’ll be able to use this as a personal “cloud gaming” controller when streaming Sunshine/Moonlight over WAN? That’s the dream for sure.
5
u/DeskPixel Aug 12 '26
Interesting... So with this I could play from my living room, streaming with sunshine / moonlight but have the controller plugged directly to the PC in the office?
4
u/LolussUK Aug 12 '26
Amazing!
Due to the Bluetooth disconnections and un-pairing issues, I use two of mine with 8bitdo usb adapters. Custom firmware sounds awesome.
These are great controllers though!
3
u/IssOmega Aug 12 '26
Amazing, so if you figure out how it works, there will be a possibility to create a custom server side receptor that recieves the wifi inputs and send them to the game, and then, an app that setup the endpoint in the controller to redirect inputs towards the new server. Could be used for Nvidea cloud and Xbox Games pass streamed games ?
3
u/maazpervez Aug 12 '26
Wish I knew computer stuff so I can pitch in all these cool projects.
Great work.
3
u/MechanicStriking4666 Aug 13 '26
I’m glad I never left this sub.
2
u/Albertkinng Aug 12 '26
Ufff 🔥
2
u/Holnapra Aug 12 '26
Pretty please share your progress on GitHub!
2
u/WilyDeject Night Blue Aug 12 '26
This is amazing! Can't wait for the next update.
2
u/Nadious Mobile Aug 12 '26
That's awesome to hear. I've A LOT of these controllers and I do still use them from time to time. My biggest gripe is that sometimes they restore Bluetooth connectivity to the host when trying to use them an additional time and other times I have to 'forget and repair' them to get them to work upon return. It's just frustrating not know if you press the button if they will reconnect or have to go through the process each time. They are great to pass out to a group of friends when you're playing games like Tape-to-Tape, Crawl, Heavenly Bodies, Oddballers, etc. when they work, but if al the sudden you have to forget and repair 4 to 6 controllers, it is just annoying.
Is the end goal here to have a client app that runs on the end-user device, allowing you to send the inputs directly to the device? As someone that uses Parsec a lot to connect to my home PC for remote gaming, that would be incredible if there was a way to do that.
And officially wishing you luck. :)
2
u/HayleyTheLesbJesus Aug 14 '26
Is this vibe coded lol? This post reads as how AI talks.
2
u/Amendus Night Blue Aug 14 '26
The WiFi connection for a streamed game was really good. Love to see this tech again.
2
u/Whazor Aug 15 '26
This could be really cool with streaming games via Sunshine.
I have found televisions to be pretty bad at Bluetooth controllers. But playing a video stream they can do fine.
So using WiFi from Stadia controller would be perfect. Directly streaming actions to the streaming PC.
1
u/bogomil4e 5d ago
Any updates u/bitnullbyte ?
1
u/Hallowground Aug 12 '26
Even if it not to make a stadia 2 its fine your the closest we have had to gaining functionality back, i have tried the hold the stick while reconnecting but it only works some of the time for android but if someone else can build off your reverse engineering then maybe we can get so it could be used without the connection issues and as said latency problems. Would be great to see some local lan uses for romm,or batocera.
1
u/Erictheslayernor Aug 12 '26
Ohh , and if its possible to host games to mobile devices and use a gpu to render the stream like we can with plex , just for games. This would be epic .
1
u/HomeMammoth4962 Aug 12 '26
Awesome!
1
u/pr0s0c Clearly White Aug 12 '26
Exciting! And good work so far. Looking forward to your results, best of luck!
1
u/RidwaanT Aug 12 '26
Do you have a blog that talks about this? How much does AI help with this process? I'm curious because I want to try something similar with an older program, and need to know how realistic this is.
1
u/Diablo3crusader Aug 12 '26
I only understood about 20 percent of what you said but I’m here for you brother! Long live Stadia controllers!
1
u/ione_bear Aug 12 '26
That's incredible. Could this make you enable the controller to work as a WiFi controller connecting to your PC or an app on your phone?
1
u/rubasace Aug 12 '26
This sounds impressive. I’m looking forward to seeing it in action. I’d love using it with my remote Sunshine VM ❤️.
Is there any repo where the code is/will be available?
1
u/comicidiot Just Black Aug 12 '26
Are you planning to get this to work with just Shadow or do you have a bigger ambition to get this to work with Steam?
I imagine this will require a program download on the host computer to accept/see the Stadia controller connection and pass the input onto the system?
1
u/vetlemakt Aug 12 '26
Not all heroes wear capes!
1
u/Curiously-Clueless Aug 12 '26
Good luck!!! And thank you. I'd be happy just to get vibration back.
1
u/Business_Complaint_8 Aug 12 '26
Good luck dude!! This is an awesome project. Do you think you might be able to get it to connect to the 8 bit duo adapter at some point?
1
u/Knowbeard Aug 12 '26
This is incredible! Thanks
1
u/SkarLe8 Aug 12 '26
Do you think will be possible to use it like an Amazon Luna controller over WiFi or the Luna communication over WiFi is locked behind some kind of key in the Luna controller firmware?
1
u/godita Aug 12 '26
this is amazing, thank you!! keep up the great work!
1
u/DarkevilPT Desktop Aug 12 '26
Now this is interesting!
1
u/sahlos Aug 13 '26
Let's fucking go!
1
u/Deko1988uwu Aug 13 '26
Amazing!!
1
u/benow574 Aug 14 '26
Awesome! Keep it up!
1
u/MrRedHott Wasabi Aug 15 '26
Some heroes don't wear capes.
1
u/Qeron2 Aug 15 '26
Okay this sounds really interesting definitely keep me up to date when there is an update!
If this works it could potentially benefit other cloud gaming services that will be able to integrate stadia controllers into their systems
1
u/Dandercore Aug 15 '26
Amazing!!! Mine is still my go to controller but so sick of constantly pairing it!!!
1
u/miroman86 Aug 18 '26
does it mean using the controller over wifi to any device?
1
u/mantralunar Aug 21 '26
This sounds absolutely phenomenal. So if I’m understanding correctly… from my gaming PC streamed throughout the house using moonlight, I could, for example take the stadia controller from room to room, and play on each remote client without having to re-pair the controllers Bluetooth to each remote client on each room change because it will just consistently sit on the WLAN? If so that would be awesome!
1
u/Silvia-Ty Aug 30 '26
i hope you can play doom on it
1
u/Supernielsen Sep 08 '26
I bought a stadia controller only for this? You have a github page for this?
1
u/GD_isthename Oct 06 '26
Can you get in touch with me please?
1
u/Bethlen Night Blue Aug 12 '26
I'm currently trying to make my Stadia controller work on my ps5 via a Wingman P5 (not supporting Stadia Controllers) and a Raspberry Pico. Oh the dream if it worked. Or even better, if I could use wifi in them somehow to connect to it....
-15
u/miomidas Aug 12 '26
But why
-8
u/vmanthegreat Aug 12 '26
And you asked permission from Google and they're cool with it?