-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yi outdoor floodlight bricked #448
Comments
Share your backup. |
Thank you! Here is my backup |
Your cam is very similar to this one: And b091qp should work properly. |
thank you for your help. Before I posted my first message, I tried to debrick using the software method using the b091qp_oscam folder but I will try the blitzwolf one. It's tricky for me because it is installed on my house. I have to run back and forth to my back yard. It might take me a few days to try. |
I'm sorry. Do you know if I should rename the generated file when I copy it to the SD card? |
There are no difference between b091qp_blitzwolf and b091qp_oscam. The name must be backup_b091qp |
Yes! I'm happy to report that the unbrick process worked, but only with ./build.sh factory. Unfortunately, Trying the hack again will brick it. I think that maybe there's a chance that my backup isn't clean. This backup may be from one where I've already tried Allwinner v1. You wouldn't know how to restore the partition to completely factory, would you? Specifically, if I hold the reset button to do a factory reset, will it also clear out any previous hacks? An update: After unbricking, I performed a factory reset and set up the wifi again. Then I tried the hack for b091qp again. It bricked again. |
Your backup is ok.
If you hold the button the cam will reset the configuration but will not remove the hack.
How did you apply the hack? Using the unbrick procedure |
Maybe the build.sh exits with an error. |
I tried with both "./build.sh hacked" as well as b091qp_0.2.2.tgz from the repository's releases. Both show the same behavior:
Fortunately, I've been able to restore using ./build.sh factory. The size of backup_091qp.gz:
It seem that you are right with build.sh failing. Looking more closely, I ran 2688+0 records in Updating b091qp_blitzwolf/backup/init.shcp: cannot stat 'b091qp_blitzwolf/backup/init.sh': No such file or directory Then I tried running each line manually starting from line 46. 2688+0 records in but the mnt folder was empty. |
Try to pull the repo again, I updated the unbrick part. |
Hi, I deleted my local repo and performed a clone again. ./build.sh hacked is still giving the same error for mtdblock4.bin. I checked the git commits and saw that only the readme was updated and the folder was renamed. Did you have a change to build.sh? Should I run ./build.sh factory with all three files (mtdblock2.bin, mtdblock3.bin, mtdblock4.bin), do a restore, then try the hack again using the scripts? An update on my device: One of the floodlights stopped working on my device and I contacted the seller. They offered to refund 50% when I order a second unit. So I will be able to get a clean factory backup and I'll also be able to try the hack on a second device. Once I get that second unit, I'll update again. First thing I'll do is to create a backup. |
No, mtdblock4.bin should be enough. Try this comment 1 line in the script:
And check the content of the folder "backup". |
backup folder is empty when I comment out the rm -rf line. Amazon lost my package for that replacement light so I'm still waiting before I can get a clean backup. |
Probably the mount command fails. |
some progress. I ran ./build.sh hacked on a debian system and it got further. It failed at: with an error of: After some trials and errors, I modified create.jffs2 from: to: The image built successfully with only this warning: |
I have great news! I received the new camera and I made a backup of the camera in its vanilla state. After setting up the wifi, I made another backup. I then tried the b091qp_0.2.2.tgz hack and I finally got a webpage at http://:8080 Home Assistant was able to find the camera via ONVIF but still unable to retrieve the camera feed. The camera seems quite unstable, though. It would reboot either at random or when I try to do something. Such as retrieving camera feed or browsing the web ui Now that SSH is possible, is there some place I can check for logs? I can send those logs over to you |
Please, enable swap file in the web config. About ha, try my custom component. |
Hi! I'm happy to report that the replacement unit worked beautifully when swap is turned on and using your custom integration. Thanks so much for your help! Now for my other unit, I will continue to try and fix it. Is it safe for me to restore the backup partition from the new camera into the old one? I figure I'll try that then apply the hack. |
Okay, finally I think you can mark my camera down as fully supported. I was able to run the unbrick process with the vanilla mtdblock4.bin file from the new camera. From there, I applied the hack using b091qp_0.2.2.tgz It took a few minutes, but eventually, the camera made a clicking sound and not long after, the startup sound rang. I immediately enabled swap in the Web UI and now both of my cameras are working. I want to thank you for your help over the last couple of weeks. I truly appreciate it. Here are the details for my camera: Model: Description: |
Thank you for your feedback. |
Hi everyone
I wonder if anyone can point me in the right direction. I have the Yiiot floodlight – a product that doesn’t see to exist, except on Amazon (it’s not even on their website).
My firmware was 9.41 and I saw that others tried the b091qp firmware with another camera successfully. I popped the SD card in and now the camera isn’t booting. I do have the backup of my original firmware. Is there any way to use that to create a recovery image for my camera?
Also, from that firmware backup, is there a way to create a custom firmware?
The text was updated successfully, but these errors were encountered: