marcosscriven / galeforce

GaleForce is a project to customise the Google Wifi router
MIT License
611 stars 61 forks source link

Newest firmware update overwrites galeforce #40

Closed handwiper closed 4 years ago

handwiper commented 5 years ago

I've downloaded the newest gale .5 and flashed it to my Google WiFi, and i can SSH into it, but when i go to set up my network in the app, it updates the firmware and after that, I'm unable to SSH.

mvalezy commented 5 years ago

Hi, Any update on this ? Did anyone managed to keep Galeforce and the new GWifi firmware ? Thanks, Matt

handwiper commented 5 years ago

Not that I’m aware of

Sent from my iPhone

On Jun 3, 2019, at 04:54, Matthieu VALEZY notifications@github.com wrote:

Hi, Any update on this ? Did anyone managed to keep Galeforce and the new GWifi firmware ? Thanks, Matt

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

3boysdad commented 5 years ago

...just got the update here...clobbered my network and it may have actually bricked my primary until i can revert the firmware.

cawilliamson commented 5 years ago

@3boysdad I've had exactly the same issue - both of my devices are no longer responding to anything. Lots of flashing and the likes but no WiFi broadcasting happening at all.

Does anyone have any idea how we can revert these devices to stock firmware or fix Galeforce?

3boysdad commented 5 years ago

Well it seemed that I got working, by reflashing, for about a day.

exitdown commented 5 years ago

yep certainly seems to be a persistence issue. I went thru a heck of a learning curve getting this to even install hahaha :D
for anyone who wants to achieve what we all have here - a firmware that will be wiped by google on connection to the internet.... here is my instructions: make a cable: get a usb a to usb a extension lead, cut the end off it. get a usb c lead, cut the end of that. wire the usb a lead and the usb c lead together, joining sheild and black together, red and red, green and green, white and white. you will now have a long usb a to usb c lead with a socket in the middle.

plug the usb c end in the google wifi. plug your onhub formatted usb key with gale.bin image into your usb a socket. hold down the reset button on the google wifi plug in the usb a plug to a 1.5-2amp supply hold down the reset button until the google wifi flashes YELLOW AND ORANGE hit the developer switch and device reboots when it flashes purple, hit it again lights out, leave it for 5 min or so till it finishes installing.

congrats - now you have galeforce, don't plug it into the internet or google will wipe it! :D

3boysdad commented 5 years ago

...which is fine...i'd actually prefer to roll it back, which i've honestly been unable to do. also for those that aren't great with wire/solder -> https://smile.amazon.com/dp/B078HZGWYX/ref=cm_sw_em_r_mt_dp_U_UwGlDbS1KAV6B this would be your best choice for a powered USB-C connector.

exitdown commented 5 years ago

I've tried building with newer versions of stuff but theres some problems with ssh, i think there's been some changes to dropbear etc, i think when i next get some time unless someone else wants to do it it might be worth sniffing traffic on a "legit" device to see what google does to interrogate version etc. It might be horrendously poor practice but we might be able to "lie" about the version depending what it checks.... failing that might have to look at preventing connections to the download server...

handwiper commented 5 years ago

Best options: Flash galeforce. Don’t connect to the internet Ssh. Find the update code in the firmware and delete.

Or

Block connections to the update server after a sniff.

However, blocking that update server may just cause the google Wifi app to stop working or certain functions not available or it may not let you set it up at all, based on some checks in the gwifi fware.

Only way to find out is to try..

handwiper commented 5 years ago

Too bad the developer dropped off the face of the earth, I know he spent a lot of time and coding to get GF to stick through updates.

exitdown commented 5 years ago

well there is a fork thats got active commits (im built on the fork version) https://github.com/Geczy/galeforce so maby we still have some hope hahah :D

3boysdad commented 5 years ago

@handwiper - maybe i'm following (it is early right now) but what would be the point exactly of going that route? i mean it seems you'd have a device, who's stated purpose is to provide internet connectivity and some security protection, that is effectively powered paperweight that blinks pretty purple and yellow/orange colors at you?

exitdown commented 5 years ago

the point is if we cant make the device survive update we need to prevent the device updating. theres various ways to do this each of which may or may not work and may have unintended consequences... im not very experienced at this stuff so im the worst person to be doing this but if i have any success ill definitely share my findings. I have yet to get ssh to work at all ( of course im building on modern versions of busybox etc which have clearly changed and im doing something wrong no doubt) ill log an issue on Geczy fork too in case he hasnt noticed - but i suspect he will have lol

IMS212 commented 5 years ago

Any luck? @exitdown

exitdown commented 5 years ago

i've actually been preoccupied with car stuff :) so I havn't had a chance to try yet. will advise when i do if i manage to solve anything though!

exitdown commented 4 years ago

i dont have any progress to report but i do have some bad news - i was able to get some information from a reliable source, this firmware overwrite was not done because google 'wanted' to - it was done because the fcc told them to out of concern that people could violate radio spectrum regulations using this firmware. what that means in practice is that it will be cat and mouse for anything that is built against google software - so any alternate firmwares from this point will need to be essentially decoupled from google to prevent overwrites. obviously that means configuration will need to be handled manually too. its a shame but there it is.

3boysdad commented 4 years ago

while this is a bummer, sadly it left one of my pucks bricked with one their updates.

exitdown commented 4 years ago

you should be able to fix that by downloading the official onhub image and flashing it using the same process you used for installing galeforce

3boysdad commented 4 years ago

yep...tried that few times. works for a few days then inexplicably stops. even moved it from being my 'primary'. was rather frustrated with them - while I still have two of them, i'll probably ditch them this next year. a rather disappointing $300USD purchase I've made in long time.