bosefirmware / ced

Bose Firmware / Software - ced (AE2, Frames, Noise Cancelling Headphones 700, OE, On-Ear Wireless, QuietComfort 35 II / QC35 / QC35II, QuietControl 30 / QC30, SoundLink Color II, Micro, SL Mini Special Edition, Mini II, Revolve, SoundSport Free, Pulse, Wireless, SoundWear Companion, connect)
436 stars 89 forks source link

New Bose Updater fix #4

Open lipov3cz3k opened 5 years ago

lipov3cz3k commented 5 years ago

According to new Bose Updater I prepared third option how to downgrade. Just run reverse proxy on your PC and mock /connected_device endpoint, then you do not have to hex-edit BU software ;).

Here is an example how I did it:

  1. install nginx (I used Windows WSL Ubuntu)
  2. generate self-signed certificate
  3. set new nginx config (see below)
  4. mock worldwide.bose.com to 127.0.0.1 in hosts file
  5. go to https://worldwide.bose.com, it should have certificate error
  6. import that certificate as trusted
  7. run Bose Update - it should be without any error in log file
  8. same as before

nginx config

server {
    listen 443 default ssl;
    ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
    ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;

    location = /connected_device {
        proxy_buffering off;
        proxy_pass https://raw.githubusercontent.com/bosefirmware/ced/master/lookup.xml;
    }

    location / {
        proxy_ssl_server_name on;
        proxy_buffering off;
        proxy_pass https://worldwide.bose.com/;
    }
}

generating self-signed cert ... sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt set all defaults except Common name - *.bose.com

hosts file in C:\Windows\System32\drivers\etc\hosts 127.0.0.1 worldwide.bose.com

It might be even more elegant, but it works anyway ;) enjoy Lipo

99hops commented 2 years ago

Oh wow, what a drama 😆 I just went trough all the crap and was able to get back to 1.0.6 on the QC35 i (first generation) Because I wasted some time I want to help others not to I pushed a working nginx setup (for windows) with ssl certificates and all the configuration needed here

Enjoy! 🍻

arjunbj commented 2 years ago

Thanks to @VA1DER's suggestion to use Internet explorer, was able to get to firmware version 1.1.3 for bose soundlink mini 2 but I get this no dice error trying to update (regardless of what firmware version I try to update). Any ideas on how to fix that? tried all browsers.

no_dice
gotlin commented 2 years ago

I was just able to revert to firmware 2.5.1 using Charles Web Debugging Proxy. It took a bit of playing around, but I got it to work. I could not get it to work in Firefox, Pale Moon, or any other modern browser. I had to use Internet Explorer.

  1. Install Charles Web Debugging Proxy and run.
  2. Click on Tools->Map Remote and add the entry as shown by rbrussel82 above. I also added one without port 443 but still set to https.
  3. Click on Proxy->SSL Proxying Settings, check to enable SSL proxying and add worldwide.bose.com on the include side.
  4. Make sure Proxy->Windows Proxy is checked, and that you are recording and SSL proxy is turned on (two icons to the right of the broom on the toolbar)
  5. Install the Charles root certificate. To get the root certificate, run internet explorer (yes, the actual old internet explorer) and go to http://chls.pro/ssl - when you navigate there internet explorer will ask if you want to open or save the certificate, save it. Then import it as a trusted root certificate as detailed here. This is so that the updater will be able to get proxied over to the github repository properly.
  6. Connect your headphones, and in internet explorer navigate to https://btu.bose.com. Use the key sequence "A", "D", "V", Up, Down to get to the advanced and in the dropdown you should see all available firmwares.

Once you are done this, you can delete the Charles root certificate you installed in step 5.

I beg you to tell me if there is any still working method to downgrade qc 35 to 1.0.6

The earliest firmware I see is v2.1.3, it's possible that's because I have the QC 35 II. If you have an original QC 35, it may show firmware before v2.

It works for me

Gigzy commented 2 years ago

Thanks to @VA1DER's suggestion to use Internet explorer, was able to get to firmware version 1.1.3 for bose soundlink mini 2 but I get this no dice error trying to update (regardless of what firmware version I try to update). Any ideas on how to fix that? tried all browsers. no_dice

Hi Thanks for all the work, I was actually able to get the downgrading option to firmware 1.1.3 for my bose soundlink mini 2 thanks to @VA1DER's suggestion and @rbrussell82's instruction :).

But unfortunately I get the same error as @arjunbj :/

image

But then I get the same error:

image

If anyone has a solution for my personal knowledge and to fix the speaker I am struggling to repair I would really appreciate it.

igorshelove commented 1 year ago

I was just able to revert to firmware 2.5.1 using Charles Web Debugging Proxy. It took a bit of playing around, but I got it to work. I could not get it to work in Firefox, Pale Moon, or any other modern browser. I had to use Internet Explorer.

  1. Install Charles Web Debugging Proxy and run.
  2. Click on Tools->Map Remote and add the entry as shown by rbrussel82 above. I also added one without port 443 but still set to https.
  3. Click on Proxy->SSL Proxying Settings, check to enable SSL proxying and add worldwide.bose.com on the include side.
  4. Make sure Proxy->Windows Proxy is checked, and that you are recording and SSL proxy is turned on (two icons to the right of the broom on the toolbar)
  5. Install the Charles root certificate. To get the root certificate, run internet explorer (yes, the actual old internet explorer) and go to http://chls.pro/ssl - when you navigate there internet explorer will ask if you want to open or save the certificate, save it. Then import it as a trusted root certificate as detailed here. This is so that the updater will be able to get proxied over to the github repository properly.
  6. Connect your headphones, and in internet explorer navigate to https://btu.bose.com. Use the key sequence "A", "D", "V", Up, Down to get to the advanced and in the dropdown you should see all available firmwares.

Once you are done this, you can delete the Charles root certificate you installed in step 5.

I beg you to tell me if there is any still working method to downgrade qc 35 to 1.0.6

The earliest firmware I see is v2.1.3, it's possible that's because I have the QC 35 II. If you have an original QC 35, it may show firmware before v2.

just recently downgraded my QC 35 ii with serial № ends to "AZ" from 4.3.6 to 2.5.1 . Guys from official service centre said that's impossible.

Installation the Charles root certificate for mac os: 5) In Charles go to the Help menu and choose "SSL Proxying > Install Charles Root Certificate". Keychain Access will open. Find the "Charles Proxy..." entry, and double-click to get info on it. Expand the "Trust" section, and beside "When using this certificate" change it from "Use System Defaults" to "Always Trust". Then close the certificate info window, and you will be prompted for your Administrator password to update the system trust settings.

Also helped screen from @chrisplough

@lipov3cz3k thank's for method @VA1DER thank's for guide

wqp89324 commented 1 year ago

Thanks to @VA1DER's suggestion to use Internet explorer, was able to get to firmware version 1.1.3 for bose soundlink mini 2 but I get this no dice error trying to update (regardless of what firmware version I try to update). Any ideas on how to fix that? tried all browsers. no_dice

Hi Thanks for all the work, I was actually able to get the downgrading option to firmware 1.1.3 for my bose soundlink mini 2 thanks to @VA1DER's suggestion and @rbrussell82's instruction :).

But unfortunately I get the same error as @arjunbj :/

image

But then I get the same error: image

If anyone has a solution for my personal knowledge and to fix the speaker I am struggling to repair I would really appreciate it.

My situation is exactly like yours now, can anybody help?

Canawan commented 11 months ago

Hello everyone, I have a bose quietcomfort earbud 1 with red and white flashing error. I have tried all of the above instructions in an attempt to downgrade the firmware but they don't seem to work. Is anyone still able to follow the instructions above? Please let me know. thank you very much