nervous-inhuman / tplink-tapo-c200-re

Reverse Engineering the TP-Link Tapo C200 camera
96 stars 12 forks source link

Reflash old Firmware #4

Closed ThongSong7 closed 2 years ago

ThongSong7 commented 2 years ago

Not really an issue, moreover a query to know if possible. This seemed like a great place to ask since everyone here knows the intricacies of the C200v1.

I have 3 of these, made the mistake of updating two to firmware 1.1.15 from their original 1.0.14.... I say mistake because TPLink made the decision that many of the parts accessible via api (HomeAssistant) became paying.... shame, shame, shame!

I cannot AutoTrack any longer with the two updated, however the original on 1.0.14 still can (which is what I would like to keep). I learned that since 1.1.7 many features are no longer available for free.

An idea I had was to publish the firmware that I found (thanks to https://drmnsamoliu.github.io/firmware.html) on an internal webserver, rewrite DNS entries for download.tplinkcloud.com for it to ota upgrade - but I do not know the mechanics of where/how it reads what is the latest firmware... maybe someone here knows? Either way maybe there is another way to ota flash a bin (or at least the one found here)

Thanks in advance!

clintferns2911 commented 2 months ago

@TheOysterPrince @clintferns2911 @Apydog

Please let me know what firmware version your cams are currently running on, and what version of firmware you are trying to use with the SD card update method.

I checked the boot script that handled this process in the firmware and it seems it has not changed. So I'm suspecting the exact binary that checks the file and perform update has changed since certain firmware version.

I can only test for it myself tomorrow

For C210 v1 users, if your firmware version is newer than 1.3.7, please try to use any of the following OTA firmware to perform the SD card update and see if it works (remember to rename the file to factory_up_boot.bin):

https://download.tplinkcloud.com/

followed by:

firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1693797779353.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700343781.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700416454.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902741166.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902776421.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902811802.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002650403.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002685546.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002720736.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005342156.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005378199.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005413481.bin

IMG_1670 Here is my current firmware

bmwgurkan commented 2 months ago

Hello to everyone, I managed to revert 2 of my C225 V1 cameras to the old version. However, I could not manage to revert one of my C225 V2 cameras to the old version. Even though I did the same steps as I did in the V1 version, the old versions I added to the memory card for V2 are not successful. Can you support for C225 V2?

danielam2358 commented 2 months ago

Hi, your camera model is c210v2 for FW version 1.3.7 this FW should work burn it myself 10 minutes ago

BTW, I burned this version successfully + relogin to the app, and still got "Exception: Invalid authentication data" when running PyTapo, anyone know what can I do?

clintferns2911 commented 2 months ago

Hi, your camera model is c210v2 for FW version 1.3.7 this FW should work burn it myself 10 minutes ago

BTW, I burned this version successfully + relogin to the app, and still got "Exception: Invalid authentication data" when running PyTapo, anyone know what can I do?

I tried to use this firmware and the camera just loads up normally, it does't downgrade the firm ware

TheOysterPrince commented 2 months ago

@TheOysterPrince @clintferns2911 @Apydog

Please let me know what firmware version your cams are currently running on, and what version of firmware you are trying to use with the SD card update method.

I checked the boot script that handled this process in the firmware and it seems it has not changed. So I'm suspecting the exact binary that checks the file and perform update has changed since certain firmware version.

I can only test for it myself tomorrow

For C210 v1 users, if your firmware version is newer than 1.3.7, please try to use any of the following OTA firmware to perform the SD card update and see if it works (remember to rename the file to factory_up_boot.bin):

https://download.tplinkcloud.com/

followed by:

firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1693797779353.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700343781.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700416454.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902741166.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902776421.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902811802.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002650403.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002685546.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002720736.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005342156.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005378199.bin firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005413481.bin

In my case its the Tapo C210 v1 currently running firmware 1.3.11 Build 231117 Rel.36789n(4555)

I just tried every firmware version listed above without success:

Firmware Version: Success:
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1693797779353.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700343781.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1695700416454.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902741166.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902776421.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1696902811802.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002650403.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002685546.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697002720736.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005342156.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005378199.bin no
firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1697005413481.bin no
DrmnSamoLiu commented 2 months ago

I've bought a C210 v2 (can't find v1) for testing and got some conclusion.

The whole micro SD upgrade/downgrade process did not change much. I can successfully downgrade from latest firmware v1.3.11 to v1.3.4 Build 230222, so it's not a version problem.

(Even without the need to reset, re-login or re-pair the cam again, so I'm not sure what's causing some people to need to do this.)

Now I can only suspect the micro SD cards you guys are using does not match the condition needed to trigger the update mechanism. If your cam "boots normally like nothing happened" with factory_up_boot.bin in the card, then it most certainly is the case because if it's a bad firmware file, the cam will fail the firmware file check and hang, not booting into the regular system.

It's really lenghty so I've created a repo to document the process of making a micro SD card that I tested myself and I'm certain it can trigger the update mechanism.

https://github.com/DrmnSamoLiu/Downgrading-Tapo-Cams/tree/main?tab=readme-ov-file#solution

Please try it out and see if it works.


As for other more expensive Tapo models, I'm sorry but I'm poor and I've already spend way too much money on these Tapo cams than I plan to, so I can't check every one of them for how they work and what could be wrong😅

michaeltryl commented 2 months ago

I've bought a C210 v2 (can't find v1) for testing and got some conclusion.

The whole micro SD upgrade/downgrade process did not change much. I can successfully downgrade from latest firmware v1.3.11 to v1.3.4 Build 230222, so it's not a version problem.

(Even without the need to reset, re-login or re-pair the cam again, so I'm not sure what's causing some people to need to do this.)

Now I can only suspect the micro SD cards you guys are using does not match the condition needed to trigger the update mechanism. If your cam "boots normally like nothing happened" with factory_up_boot.bin in the card, then it most certainly is the case because if it's a bad firmware file, the cam will fail the firmware file check and hang, not booting into the regular system.

It's really lenghty so I've created a repo to document the process of making a micro SD card that I tested myself and I'm certain it can trigger the update mechanism.

https://github.com/DrmnSamoLiu/Downgrading-Tapo-Cams/tree/main?tab=readme-ov-file#solution

Please try it out and see if it works.

As for other more expensive Tapo models, I'm sorry but I'm poor and I've already spend way too much money on these Tapo cams than I plan to, so I can't check every one of them for how they work and what could be wrong😅

Where do you find the firmware to downgrade with

Radour commented 2 months ago

Following the instructions I succesfully downgraded several C200 cameras, a couple of C100 and a C310. (Recommendation for the C100 and the C310: wait a good while before removing the SD card, I waited for 10 minutes). The problem is that the versions act as unstable: after a few hours or days (randomly), some of the cameras loose their connection (both to the app and to home assistant) requiring a reset. Anyone else having this issue?

DrmnSamoLiu commented 2 months ago

@michaeltryl

Search for your model and desired version here: https://raw.githubusercontent.com/tapo-firmware/Directory/main/all_keys.txt

And prepend https://download.tplinkcloud.com/ to the URL in the list.

DrmnSamoLiu commented 2 months ago

Following the instructions I succesfully downgraded several C200 cameras, a couple of C100 and a C310. (Recommendation for the C100 and the C310: wait a good while before removing the SD card, I waited for 10 minutes). The problem is that the versions act as unstable: after a few hours or days (randomly), some of the cameras loose their connection (both to the app and to home assistant) requiring a reset. Anyone else having this issue?

Are you sure it's not the firmware version you chose are not stable by itself? Firmware updates are made for reasons, and they are mostly to address stability issues.

Radour commented 2 months ago

Following the instructions I succesfully downgraded several C200 cameras, a couple of C100 and a C310. (Recommendation for the C100 and the C310: wait a good while before removing the SD card, I waited for 10 minutes). The problem is that the versions act as unstable: after a few hours or days (randomly), some of the cameras loose their connection (both to the app and to home assistant) requiring a reset. Anyone else having this issue?

Are you sure it's not the firmware version you chose are not stable by itself? Firmware updates are made for reasons, and they are mostly to address stability issues.

Could be but for the C200 I used the recommended version and the problem is the same.

TheOysterPrince commented 2 months ago

I've bought a C210 v2 (can't find v1) for testing and got some conclusion.

The whole micro SD upgrade/downgrade process did not change much. I can successfully downgrade from latest firmware v1.3.11 to v1.3.4 Build 230222, so it's not a version problem.

(Even without the need to reset, re-login or re-pair the cam again, so I'm not sure what's causing some people to need to do this.)

Now I can only suspect the micro SD cards you guys are using does not match the condition needed to trigger the update mechanism. If your cam "boots normally like nothing happened" with factory_up_boot.bin in the card, then it most certainly is the case because if it's a bad firmware file, the cam will fail the firmware file check and hang, not booting into the regular system.

It's really lenghty so I've created a repo to document the process of making a micro SD card that I tested myself and I'm certain it can trigger the update mechanism.

https://github.com/DrmnSamoLiu/Downgrading-Tapo-Cams/tree/main?tab=readme-ov-file#solution

Please try it out and see if it works.

As for other more expensive Tapo models, I'm sorry but I'm poor and I've already spend way too much money on these Tapo cams than I plan to, so I can't check every one of them for how they work and what could be wrong😅

First of all, thank you for the effort you have put into this topic. If you let me now how, I would really like to "buy" you a coffee or a beer!!!

Back to the topic: I followed your guide and tried different firmware versions listed above, but still no success for the Tapo C210v1 with firmware 1.3.11.

At this point, I'm a bit fed up with the whole situation and am currently considering just buying another camera.

Apydog commented 2 months ago

I've bought a C210 v2 (can't find v1) for testing and got some conclusion.

The whole micro SD upgrade/downgrade process did not change much. I can successfully downgrade from latest firmware v1.3.11 to v1.3.4 Build 230222, so it's not a version problem.

(Even without the need to reset, re-login or re-pair the cam again, so I'm not sure what's causing some people to need to do this.)

Now I can only suspect the micro SD cards you guys are using does not match the condition needed to trigger the update mechanism. If your cam "boots normally like nothing happened" with factory_up_boot.bin in the card, then it most certainly is the case because if it's a bad firmware file, the cam will fail the firmware file check and hang, not booting into the regular system.

It's really lenghty so I've created a repo to document the process of making a micro SD card that I tested myself and I'm certain it can trigger the update mechanism.

https://github.com/DrmnSamoLiu/Downgrading-Tapo-Cams/tree/main?tab=readme-ov-file#solution

Please try it out and see if it works.

As for other more expensive Tapo models, I'm sorry but I'm poor and I've already spend way too much money on these Tapo cams than I plan to, so I can't check every one of them for how they work and what could be wrong😅

I tried again last night after formatting and partitioning the SD card as you showed, and successfully managed to downgrade my C210 v2 from v1.3.11 back to 1.3.7.

My issue must have been the way the SD card was either formatted, or partitioned, as previously mentioned it was just ignoring it and booting as normal.

Thanks for the time and effort you've put into this.

aIexus commented 2 months ago

Got a C200 V2, reflashed Tapo_C200v2_en_1.3.6_Build_230424_Rel.77311n_up_boot-signed_1682511184943.bin successfully. Afterwards I needed to re-login into my account in the Tapo App, otherwise I'd get bad cloud password in the HA integration Tapo: Cameras Control. Then I was able to reconfigure and login with the cloud password in the integration. No factory reset necessary.

The last step is missing in @DrmnSamoLiu's tutorial.

I successfully downgraded firmware for my Tapo C200 V2 too. Now it works with HA integration,

DrmnSamoLiu commented 2 months ago

@TheOysterPrince

Sorry to hear that my process did not help, and I really appreciate your offer for a coffee :) But I'd prefer to ask you for your last patience on these cams and provide a detailed description of what you tried because I'm genuinely intrigued about this issue right now. Plus this may help other users in the future.

I don't quite believe the micro SD update process would be different for only C210 v1, so I'm assuming there must be something you use/did are preventing you from successfully triggering the process.

If possible, please provide in detail:

  1. What micro SD card are you using? Manufacturer and size?
  2. What process did you use to create the partition table in my guide? Did you use Windows and follow exactly what I showed in the screenshot, or did you use other OS and software?
  3. I know this may be a dumb question, but are you sure your cam is v1?
  4. What's your process of trying to downgrade and verify the downgrade did not succeed? I mean from the start to end, including powering off cam -> insert micro SD -> power on -> observe.... etc. The more detail you can provide, the better.
TheOysterPrince commented 2 months ago

Here is my process:

Tapo Version verification: On the bottom of the camera, it just states Model: Tapo C210, behind the serial number it states EU/1.0 Since this isn't a clear model indication, headed into the app under device information the model is given by: C210 1.0

Model of SD-Card: SanDisk 32 GB Class 4 microSDHC-Card with original SanDisk card adapter

Crating the Partition: System: Win11 running diskpart as an admin and exactly following your guide: https://github.com/DrmnSamoLiu/Downgrading-Tapo-Cams/tree/main?tab=readme-ov-file#solution success!

Tapo downgrade:

  1. downloading a firmware version recommended in your post (tried different ones): https://github.com/nervous-inhuman/tplink-tapo-c200-re/issues/4#issuecomment-2186755289
  2. renaming it to: factory_up_boot.bin
  3. copy factory_up_boot.bin to sd card
  4. safely ejecting sd card
  5. inserting sd card into camera (power cord not attached)
  6. inserting power cord on the back of camera
  7. wating...
  8. camera starts x/y calibration
  9. still wating 3 minutes before trying another firmware

Before I tried different firmware versions I formatted (using your guide) the sd card again to make sure it is a clean partition. Also tried the process when camera is still connected to app and with factory reset.

DrmnSamoLiu commented 2 months ago

@TheOysterPrince Really appreciate your effort for documenting your process and replying to me. It helps a lot for me to rule out various possibilities!

Now just one last question that I forgot to ask: Does your Tapo app say it detected a micro SD card in your cam when it's inserted? Asking because the only thing left I can guess from what you reported is that your camera doesn't even detect there's a micro SD card.

You can answer by reacting with thumbs up as "Yes" and confused face as "No" if you feel like saving some time. (I just realized it's confused face instead of sad face, lol.)

If the answer is YES, then I'm thinking about to see if I can find a C210 V1 on auction sites and purchase it to try out, because my curiosity is on fire right now :)

Radour commented 2 months ago

After successfully downgrading several C200, two C100 and a C310, I found the connection to be unstable. After hours or days most of them lost connection and needed rebooting. I've tried the other method (upgrading again to the last version, blocking access to the internet -e.g. parental control in the router- resetting, reinstalling locally in the TAPO app and reinstalling in HASS) and so far it works perfectly. I cannot access the cameras remotely through the TAPO app but actually I don't need it since I acces the through HASS. Until the new integratoin is available it works fine for me.

ghost commented 2 months ago

Hey. I have 2 C210 V2.2 (EU) is there a way to downgrade? Somebody know if this is the same firmware as the V2? And does it make a difference in Firmware if EU or not?

ghost commented 2 months ago

Hey. I have 2 C210 V2.2 (EU) is there a way to downgrade? Somebody know if this is the same firmware as the V2? And does it make a difference in Firmware if EU or not?

In case anyone comes across this while googling: This firmware worked for me: https://download.tplinkcloud.com/firmware/Tapo_C210v2_en_1.3.7_Build_230823_Rel.55314n_up_boot-signed_1697442825888.bin

TheOysterPrince commented 2 months ago

@TheOysterPrince Really appreciate your effort for documenting your process and replying to me. It helps a lot for me to rule out various possibilities!

Now just one last question that I forgot to ask: Does your Tapo app say it detected a micro SD card in your cam when it's inserted? Asking because the only thing left I can guess from what you reported is that your camera doesn't even detect there's a micro SD card.

You can answer by reacting with thumbs up as "Yes" and confused face as "No" if you feel like saving some time. (I just realized it's confused face instead of sad face, lol.)

If the answer is YES, then I'm thinking about to see if I can find a C210 V1 on auction sites and purchase it to try out, because my curiosity is on fire right now :)

If you really want to go that far and buy another camera (maybe just because of my stupidity), I really want to support you and donate the purchase price!

dmontes46 commented 2 months ago

@TheOysterPrince Really appreciate your effort for documenting your process and replying to me. It helps a lot for me to rule out various possibilities! Now just one last question that I forgot to ask: Does your Tapo app say it detected a micro SD card in your cam when it's inserted? Asking because the only thing left I can guess from what you reported is that your camera doesn't even detect there's a micro SD card. You can answer by reacting with thumbs up as "Yes" and confused face as "No" if you feel like saving some time. (I just realized it's confused face instead of sad face, lol.) If the answer is YES, then I'm thinking about to see if I can find a C210 V1 on auction sites and purchase it to try out, because my curiosity is on fire right now :)

If you really want to go that far and buy another camera (maybe just because of my stupidity), I really want to support you and donate the purchase price!

Hi i was having the same problem with my c210 v1, for some reason the SD Card was not doing anything, i had to reset the camera with the SD Card inside. i used a 32GB SD with firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1693797779353.bin

DrmnSamoLiu commented 2 months ago

@TheOysterPrince

Sorry for the lag, I was waiting for the C210 v1 (EU/1.0) I ordered to arrive.

I got good news and bad news:

Good news is that I can downgrade from 1.3.11 to any fw version. (Tried firmware/Tapo_C210v1_en_1.3.7_Build_230823_Rel.55528n_up_boot-signed_1693797779353.bin and firmware/assigned/Tapo_C210v1_en_1.3.1_Build_230207_Rel.67895n_up_boot-signed_1675909218556.bin with success.)

Bad news is that I really have no more idea why it won't work for some of you guys now :(

However, now that @dmontes46 mentioned resetting, maybe resetting the camera could help? I sure did reset the C210 v1 I received because the previous owner did not bother resetting it.

Btw, if you really insist on giving something for the stuff I did, consider donating to whatever local charity you feel comfortable with ;) Buying this 2nd hand cam did not cost me much as it's already quite beaten up by the previous owner, so please don't worry. (Plus, ethically I shouldn't be making money by "breaking" products without the manufacturer's consent)

ghostersk commented 2 months ago

anyone firmware for Tapo TC70 verion 3.0 ?

roggiii commented 2 months ago

Does anybody have a working version vor the C200v1? In the App it shows up as Version 1.3.9, the latest i found in the repo is 1.3.6 and nothing in between.

Already tried flashing these with no luck: Tapo_C200v1_en_1.3.5_Build_230307_Rel.6847n_up_boot-signed_1680137663305.bin Tapo_C200v1_en_1.3.5_Build_230307_Rel.6847n_up_boot-signed_1680137692592.bin Tapo_C200v1_en_1.3.5_Build_230307_Rel.6847n_up_boot-signed_1680742721549.bin Tapo_C200v1_en_1.3.5_Build_230307_Rel.6847n_up_boot-signed_1681883588588.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682491974821.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682494706531.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682494744081.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682510900705.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682510930056.bin Tapo_C200v1_en_1.3.6_Build_230424_Rel.77225n_up_boot-signed_1682511249340.bin

I fomated my SD-Card exactly as DrmnSamoLiu described.

firmwareversion hardwareversion

tig77777 commented 1 month ago

C200v3

Could you please specify which firmware version you used? I formatted the sd according to the instructions, but two of the firmware versions didn't work. There were no problems with 210v2.

dmontes46 commented 1 month ago

Also i used a new SD Card for the C210v1

baptisteba commented 1 month ago

Hello! Someone can send me the firmware for Tapo C200 v1? Last update brick my camera and I would try to restore the old one...

https://drive.google.com/file/d/1SVJYUs2HYI2gzeeUhk8ow6YteLrQmhgP/view?usp=sharing

Thanks Probeerka. Unfortunatly my Tapo was blocked during last firmware update. There are infrared led on and no sign of life. I was hoping to fix the issue with a downgrade but couldn't. I tried to put the firmware in to a SD card but no solve the problem. Do you know some procedure for unblock the device?

Hello @frigorino I have the same problem, I have the C200 EU/3.0 version and the v3 bins don't work after inserting the memory card, nothing happens. You find a solution ? THANKS

Hi @khalilsouldi and @tapo-firmware,

I have a C200v3 also. I managed to downgrade the firmware by first resetting the camera and then doing the downgrade process. I had some problems with setting up the camera again after the downgrade (couldn't find the wifi) but another reset solved it. Might be unrelated, but thought would be good to mention.

Hi @DaHubsi I have 3 C200v3 here, I can't achieve to downgrade them as they have 1.3.14 build 240513 firmware Which firmware did you used for yours ? I already tried reset then downgrade procedure, hard reset (30s) then downgrade procedure, procedure whithout reset and cameras still reboot with version 1.3.14

Maybe they added a no-rollback ability in their last upgrade ? Which would seems to say "We don't want you to access them anymore from outside tapo app" ?

Thanks in advance

andyjduncan commented 1 month ago

Hi, I've just downgraded my C210s to reenable them in Home Assistant. I had a mix of v1s and v2s, all on a 1.3.11 firmware.

The v1 devices downgraded cleanly to 1.3.7 build 230823, but did need a factory reset to get them back in HA.

The v2 devices wouldn't downgrade to 1.3.7 directly. The LED would blink green a couple of times, then stay solid red. It would downgrade to 1.3.8 build 230913, and from that to 1.37 build 230823 though. The v2s didn't need a factory reset, they just reauthenticated.

DrmnSamoLiu commented 1 month ago

For anyone who's failing to downgrade, I'd encourage you to an adventure of simple hardware hacking: https://drmnsamoliu.github.io/console.html

Here I described how I get console access on a C200 v1. Having console access means you can see the console messages to know exactly why your camera is not downgrading. This is quite an old document though, and the board layout have changed a lot for CX10 cams.

Here's a great video I found that shows how to identify UART pads on C210 cam: https://www.youtube.com/watch?v=egNNp8ImRY0

Just keep in mind that the console logs may contain some sensitive data like MAC address, your Wi-Fi SSID and the "alias" you gave your cam in the app.... etc. So be careful to remove those information before you decide to share your console log here.

exelsis423 commented 1 month ago

Hello to everyone, I managed to revert 2 of my C225 V1 cameras to the old version. However, I could not manage to revert one of my C225 V2 cameras to the old version. Even though I did the same steps as I did in the V1 version, the old versions I added to the memory card for V2 are not successful. Can you support for C225 V2?

Hi, I have a C225 v2 too and finally I managed to downgrade it.

  1. I prepared SD card as explained
  2. I removed storage SD card that was in the camera (without unplugging it)
  3. I put the formatted SD card with the firmware.
  4. The LED started flashing (don't remember blue or red)
  5. When the LED stopped flashing, I removed the plugging cord
  6. I removed the SD card and then restarted.

That worked for me and I downgraded to firmware 1.0.4. I took the last one. The integration is working, but sometimes I loose connection. The only way I found for the moment is to restart HA. I don't know if it's coming from the integration or the camera's firmware.

Radour commented 1 month ago

Hello to everyone, I managed to revert 2 of my C225 V1 cameras to the old version. However, I could not manage to revert one of my C225 V2 cameras to the old version. Even though I did the same steps as I did in the V1 version, the old versions I added to the memory card for V2 are not successful. Can you support for C225 V2?

Hi, I have a C225 v2 too and finally I managed to downgrade it.

  1. I prepared SD card as explained
  2. I removed storage SD card that was in the camera (without unplugging it)
  3. I put the formatted SD card with the firmware.
  4. The LED started flashing (don't remember blue or red)
  5. When the LED stopped flashing, I removed the plugging cord
  6. I removed the SD card and then restarted.

That worked for me and I downgraded to firmware 1.0.4. I took the last one. The integration is working, but sometimes I loose connection. The only way I found for the moment is to restart HA. I don't know if it's coming from the integration or the camera's firmware.

After downgrading several C100 and C200 I had the same connection problems. They lost connection randomly in time. I solved it by upgrading them to the latest version, rebooting them and reinstalling them after blocking their acces to the internet (you can set them up in the tapo app locally with no access to the "outer world"). Now I can only access them through the app being in the same wifi network but Home Assistant alowed me to integrate them with no further connection problems and can access them remotely through the home assistant client. More than enough for me.

exelsis423 commented 1 month ago

Hello to everyone, I managed to revert 2 of my C225 V1 cameras to the old version. However, I could not manage to revert one of my C225 V2 cameras to the old version. Even though I did the same steps as I did in the V1 version, the old versions I added to the memory card for V2 are not successful. Can you support for C225 V2?

Hi, I have a C225 v2 too and finally I managed to downgrade it.

  1. I prepared SD card as explained
  2. I removed storage SD card that was in the camera (without unplugging it)
  3. I put the formatted SD card with the firmware.
  4. The LED started flashing (don't remember blue or red)
  5. When the LED stopped flashing, I removed the plugging cord
  6. I removed the SD card and then restarted.

That worked for me and I downgraded to firmware 1.0.4. I took the last one. The integration is working, but sometimes I loose connection. The only way I found for the moment is to restart HA. I don't know if it's coming from the integration or the camera's firmware.

After downgrading several C100 and C200 I had the same connection problems. They lost connection randomly in time. I solved it by upgrading them to the latest version, rebooting them and reinstalling them after blocking their acces to the internet (you can set them up in the tapo app locally with no access to the "outer world"). Now I can only access them through the app being in the same wifi network but Home Assistant alowed me to integrate them with no further connection problems and can access them remotely through the home assistant client. More than enough for me.

I tested this morning after connection lost just to reload the integration. That worked and I had the connection again. No need to restart HA. I need to find a way to reload the integration automatically

mcm69 commented 1 month ago

Just in case someone gets the same issue: I've successfully downgraded several C105 cameras to firmware 1.3.7. However, I have had to reformat the microSD card and put the firmware file every time, otherwise the next camera would not initiate the firmware flashing.

It appears that the camera marks something either on the filesystem (although I haven't noticed any new files after a brief check) or in the firmware file itself post update.

sfritz67 commented 1 month ago

Hi there, having a C210 V2.2 (EU), tried to downgrade with the same firmware as tppsch, but having issues after it. Camera worked before downgrade.

I think downgrade worked, but it was never able to boot again, it is maybe bricked. When booting after downgrade, the red light stays on for about 15 seconds, and then starts slowly blinking without end. In guide, red slowly blinking is connecting to Wi-Fi, but I do not think this is the issue. By the way, IR LEDs also stay ON.

Before downgrading, I formatted my SD card based on DrmnSamoLiu's guide.

As it does not boot, I tried to reflash with some other firmware versions and another SD card, but still having the same issue. While reflashing, the LED light stays red ON for 15 seconds, then green blinking for 30 seconds, and after that green stays ON. Rewriting firmware seems to work. After a few minutes with green light, I restart by power OFF and ON, but still having the same issue on restart.

I also tried resetting by pushing the reset button, but still the same.

Does someone have a similar issue ?

fmarzocca commented 1 month ago

Do I have to reset camera to factory settings before starting the whole downgrade process?

AntoineGauthier commented 1 month ago

Hi there, having a C210 V2.2 (EU), tried to downgrade with the same firmware as tppsch, but having issues after it. Camera worked before downgrade.

I think downgrade worked, but it was never able to boot again, it is maybe bricked. When booting after downgrade, the red light stays on for about 15 seconds, and then starts slowly blinking without end. In guide, red slowly blinking is connecting to Wi-Fi, but I do not think this is the issue. By the way, IR LEDs also stay ON.

Before downgrading, I formatted my SD card based on DrmnSamoLiu's guide.

As it does not boot, I tried to reflash with some other firmware versions and another SD card, but still having the same issue. While reflashing, the LED light stays red ON for 15 seconds, then green blinking for 30 seconds, and after that green stays ON. Rewriting firmware seems to work. After a few minutes with green light, I restart by power OFF and ON, but still having the same issue on restart.

I also tried resetting by pushing the reset button, but still the same.

Does someone have a similar issue ?

Hi,

Facing the same issue on my side. I've tried multiple other firmware but no luck so far. Have you found a solution ?

DrmnSamoLiu commented 1 month ago

@sfritz67 @AntoineGauthier Blinking green light followed by steady green light is good. Did you guys take the SD card out before rebooting the cam....? Otherwise it will just repeat the downgrade process.

@fmarzocca No a reset is not needed for normal use, but it seems for some Home Automation users reset is needed.

AntoineGauthier commented 1 month ago

@DrmnSamoLiu Yep the light seems to indicate that the flashing process is working fine but the camera refuses to boot correctly after. I can confirm that rebooting the cam with the SD card removed still gives me a steady red light for a few seconds followed by a slowly blinking red light that never stops. All that with the IR lights turned on also.

Any help would be truly appreciated.

m0n4 commented 1 month ago

@sfritz67 & @AntoineGauthier I have the same problem. (the camera flashes the firmware but doesn't boot). I bet C210 V2.2 contains a hardware revision incompatible with V2. also, as V2.2 seems to date from late 2023, it's unlikely that HA-compatible firmware exists. I couldn't find any dedicated firmware for the Tapo_C210v2.2

sfritz67 commented 1 month ago

@sfritz67 & @AntoineGauthier I have the same problem. (the camera flashes the firmware but doesn't boot). I bet C210 V2.2 contains a hardware revision incompatible with V2. also, as V2.2 seems to date from late 2023, it's unlikely that HA-compatible firmware exists. I couldn't find any dedicated firmware for the Tapo_C210v2.2

Hello, this is also what I was thinking, but it seems tppsch did with V2.2. @DrmnSamoLiu By the way, I can also confirm I removed the SD card before rebooting.

sd65 commented 1 month ago

I've managed to downgrade my EU C200 V3 to 1.3.7 (September 2023)! ℹ️ Read my strange bug note at the end if you didn't manage to flash your camera...

Prepare the sdcard

Downgrade the camera

Strange bug

Funny thing is, I had to re-prepare the sdcard again when downgrading my other - exactly the same ! - cameras. If not, it would stay red instead of downgrading the camera. I could reproduce this twice since I have 3 cameras so that's not a one off error... 🤔

Shatoth commented 1 day ago

I've managed to downgrade my EU C200 V3 with latest firmware 1.3.15 to 1.3.5 I tried a bunch of files, but only this one helped me. Tapo_C200v3_en_1.3.5_Build_230717_Rel.47395n_up_boot-signed_1690939443759.bin.rollback Good luck!