olssonm / google-wifi-api

Discovered API-endpoints for the Google Wifi Router and OnHub
MIT License
202 stars 15 forks source link

Diagnostic report contents #3

Open pieceofsummer opened 6 years ago

pieceofsummer commented 6 years ago

Hi.

I've just wrote a diagnostic report parser, which decodes the attached logs and command outputs.

Usage: python ./parser.py diagnostic-report

It will create a diagnostic-report-files directory with all attached logs (some logs are gzipped, so it would also unpack them), and dump information to stdout.

Hope it would help in your research.

olssonm commented 6 years ago

Cool – I will definitely take a look and see what I can gather, thanks!

olssonm commented 6 years ago

Merged your PR https://github.com/olssonm/google-wifi-api/pull/4 – great stuff! How did you find those? Through traffic sniffing or perhaps via your parser?

pieceofsummer commented 6 years ago

One part from Android apk, another from ap-api-server executable (from GaleForce firmware).

lycca commented 6 years ago

Hi Guys,

I bought a few Google Wifi’s, which have an old 8688.0.0 version of firmware from the test image channel (instead of the usual stable channel) and having field updateRequired = 0.

It seems that some kind of write protection / restriction were in force in the test image firmware, preventing the execution of Recovery Mode when trying to flash a newer stable image firmware.

Since I am not familiar with CrOS development, could you please advise the procedure for me to flash the Google Wifi to 9334.x.x steady channel image (downloaded from OnHub Recovery Utility).

Below is my posting seeking for help in Google Help Forum, for your reference:

https://groups.google.com/a/chromium.org/forum/m/#!topic/chromium-os-dev/98yOPE3UEBo

https://productforums.google.com/forum/#!topic/googlewifi/etya6Mqeo-Y

https://productforums.google.com/forum/#!topic/googlewifi/-AvwS-S-h2Q

https://productforums.google.com/forum/#!topic/googlewifi/IH16V17l6J4

I also attached the status page of the Google Wifi (http://192.168.86.1/api/v1/status) below for your information, many thanks!

{ softwareStatus = { updateChannel = "testimage-channel"; updateProgress = 0; updateRequired = 0; updateStatus = 1; version = "8688.0.0"; }; systemStatus = { deviceId = "ed6640ea-ccbd-8c48-a02f-6c9102300f44"; hardware = 4; hardwareId = "GALE A2A-A2A-E3A-A4Q-A9C"; uptime = 19893; }; wanStatus = { captivePortal = 0; ethernetLink = 1; invalidCredentials = 0; online = 1; pppoeDetected = 0; }; }