-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Can't install CFW on Dafang 2017DP3894 on 5.5.1.353 #669
Comments
Someone can help me? |
Did you try with a 512 mb fat partition? |
Yes. Nothing different. Maybe the problem is the latest firmware 5.5.1.353? |
Are you on windows? No hidden files left on the SD? |
Tried everything: from windows but also on Mac, using terminal to check if on the microSd thare are hidden files. |
I add some info: trying to install demo.bin I turn on the camera (yellow light) with setup pressed, after 5 second the light become blue, i release button and after 5 second the light back to yellow. After 2 second it start rotating. Here I disconnect the camera and copy firmware_mod inside sd card. After this I'm stuck. |
That sounds like a normal startup. Are you pressing the setup button hard enough? Is it broken? |
I think I press well. Maybe 5.5.1.353 remove possibility to hack? |
Possible but unlikely. 5.5.1.327 is known to work and not that far away. Maybe try to downgrade your stock firmware to 5.5.1.200 |
How can I do a firmware downgrade? The are some instructions? |
Just use the original fw on git and follow the initial demo.bin procedure. |
So I have to do the demo.bin procedure. Than poweroff, remove sd, copy firmware original on micro sd and restare with out setup pressed Buffon? |
1 similar comment
So I have to do the demo.bin procedure. Than poweroff, remove sd, copy firmware original on micro sd and restare with out setup pressed Buffon? |
You got it working now? |
I junk i have close the issue for error. I will try this night. The procedure to downgrade the firmware is what I write up here? |
No. Take the stock fw, rename to demo.bin and flash exactly like the custom fw. |
Insidie the original fw folder there are a kit of files: what i have to take to rename in demo.bin? |
Someone can help me? Inside the 5.5.1.200 there are a lot of files. What should I take and rename to demo.bin to flash original fw? Thanks |
There are 2 firmwares already packed in a .bin. Take one of those. |
I see more than 2 bin file here: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/tree/master/firmware_original/dafang/5.5.1.200 Other things: after flash the original firmware in the MiHome app I have to check the fw version to check 5.5.1.200 right? |
Then take an earlier fw which is already packed. |
Tried eveything. Nothing work. really sad,,, I think it's my hardware |
Maybe is need a new version of cf for 5.5.1.353? cf-1.4.bin incoming? |
Nah, first you should solder a serial interface to your camera and collect a full bootlog. |
Having the exact same issue. I have been trying everything, every demo.bin. It's my 4th camera (I ordered this one recently, never had the issue before). Impossible to downgrade or to put a CFW. I will try to open it up and plug a serial to check what is happening. |
I have the exact same issue. FW is 5.5.1.353. Looking forward to your findings @jplh42 |
You have to install the firm "4.9.1.60", you will find it inside the original firmware folder, you can also try firmware "4.9.4.28" which is also in that folder. sorry for my bad english, I use google translator EDIT: lincks to FW orig -> https://support.wyzecam.com/hc/en-us/articles/360024852172&?section=v2-firmware |
Thanks, but I don't know what to do next. Regarding the 4.9.1.60 "original firmware folder", I expected to see one file (that I would copy to the sd card as demo.bin) but instead I see a folder with many files. Should I copy the many files to SD card? At the wyze website there is no link to download the 4.9.1.60 file anymore. |
try the latest available "4.9.2.42". If it fails, it is a matter of testing versions. Then to connect to the wifi you have to modify the file WPA_suplicant.conf.dist to then rename it and leave it with extension .conf for it to take effect, I assume that you know this step well, otherwise, it will not connect to your wifi |
I tried with 4.9.2.42 but it didn't work. That is, after I install cfw-1.1, the camera light stays yellow and I can't connect to it via the app, nor does anything happen if I then turn it on with the firmware_mod contents on the sd card. I also tried the files related to this: #986 |
Once you've booted with the hacked firmware you need to replace the boot microSD with one that contains the system files and then reboot the camera. From here https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/tree/master/firmware_mod, then rename wpa_supplicant.conf.dist to wpa_supplicant.conf and edit the contents to match your wi-fi. Then reboot your camera and wait 3-5 mins for the solid blue light to appear |
@Foden7 - I've done that a few times. The light doesn't turn blue. |
As far as I know you need an sd card with the file/folder structure from the link in my previous message. Sd card with demo.bin MUST be formatted FAT32 and ONLY contain demo.bin Oldest I have is 4.9.2.42, key thing for me was to have a piece of a credit card that I used to push down the setup button on the camera whilst I was pushing in the power cable, made it much easier. Lost my notes for the rest, pretty sure I posted them here ages ago. With the demo.bin sd card installed, hold down the setup button whilst putting power to the camera. When the camera powers up the light flashes yellow, i think, and then after a while changes to blue (or the other way around). Keep the setup button pressed until then, usually 10 seconds or so - I don't think it hurts holding it too long. Then I leave it alone for at least 5 mins before it gets powered off. Then swap the sd card for the one with the file/folder structure from the link in my previous message and power it on. After 30 seconds or so it's connected to my Wi-Fi |
Thanks. I'm sure the problem is NOT with me holding setup button because I'm able to easily switch back and forth between different firmwares that I download from wyze. The step I can't get past is after I flash cfw-1-1.bin the camera is effectively dead. Doesn't get to blue, both when I reboot without sd card and if I reboot with sd card with firmware_mod contents. I'm giving up for now. (My goal was to try the hacks RTSP stream because the experimental wyze firmware with RTSP, 4.28.4.41, results in a pretty poor looking stream. I wanted to get the stream so that I could write my own specialized motion detection logic but the stream is so jerky it's not usable to me. I was wondering whether the stream that's part of the hacks is better.) |
Gotcha - sorry, you are obviously doing that right to switch firmware. For me, the stream via the hack is terrible no matter what settings I try. I used to have all my cameras on this firmware and then used SightHound to view/record the stream. The RTSP firmware, for me, is WAY better than this hack. I ditched SightHound, excellent product but renewals every year. Detection is AWEOSME, https://www.sighthound.com/. I now use TinyCamPro running on Lineage OS 14.1 running on VirtualBox. I had it running on Android x86 OS and it was great. I wanted to run the setup headless but couldn't find any remote access software that worked properly with AOSP Android I took a look at the WayBackWhen machine and older firmware is available try here https://web.archive.org/web/20191217193836/https://support.wyzecam.com/hc/en-us/articles/360024852172 Good luck |
What would be the configuration for a hidden ssid ctrl_interface=/var/run/wpa_supplicant network={ |
This is what I have in the standard \config\wpa_supplicant.conf file For more configuration option please see:https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.confctrl_interface=/var/run/wpa_supplicant network={ |
I'm having the EXACT same issue as you. I can successfully flash, 4.9.2.42 AND 4.9.4.28 with no issues at all. I then downloaded cfw-1.1 and rename it to demo.bin and hold the setup button for 10seconds while I plug it in. It starts as a solid yellow for about 2seconds, the light changes to a light blue (not solid blue) for about 1minute, then restarts so the light changes back to yellow (2seconds again) then goes to light blue for about 1second, then switches to solid yellow and stays that way indefinitely. After about 10mins I unplug it, copy the "firmware_mod" files with my proper wifi settings, rename from conf.dist to .conf, and when I plug it back in... it's just solid yellow without any connection to my WiFi. EDIT: So it works! I followed this video except that I had a 128GB card, so I ended up creating a 512mb partition and it works great!!! |
Works for e with Dafang on 5.5.1.4xx version and using 8GB SD Card |
Who gives me a hand? |
|
Sorry, I cant remember, but should be the same as your because my camera was updated with Mi Home and I did it last week. |
Guys, can someone help me out that I'm going crazy? |
Can you tell me exactly what you did and what do you use? |
Very important. Check if the sd card has only the demo.bin. Delete the "System Volume Information" hidden folder. Exemplo: https://www.getusb.info/how-to-delete-and-keep-system-volume-information-folder-off-flash-drives/ |
|
Hi, I have two Dafang, which were all with firmware 5.5.1.426. |
I honestly had not succeeded but after a while I had given up and I preferred to make the 2 Dafangs that I had disappeared by replacing them with 2 new IMILAB basic... ;) |
Mine are two years old, they can't be returned. I did the process with a 128Mb microSD, it worked with both in the first, surely your problem was the microSD. |
I had run out of old SD ... anyway thanks! |
I don't know if it goes outside of china, I use china server because I have devices that only work on this one. |
I see. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Just for reference. I had a Dafang DF3 with firmware 5.5.1_0426, and I could also not get the camera to flash the cfw-1.3.bin. Every time I inserted the SD card and started the camera, it would start spinning instantly, and when looking at the SD card afterwards, it had placed logs files and a few folders. aka it started up normally. I downloaded the 5.5.1.194 firmware, and downgraded, which worked. I confirmed the downgraded firmware version in the Mi Home app, through profile -> settings -> check for updates. Then I downloaded the cfw-1.3.bin again, and now it flashed without any problems. Formatted the SD to its full 32G capacity, added the firmware_mod files and fixed the wpa_supplicant, works like charm. Great work. Now all the fun begins :) Note. I did this on a windows machine, and thus I made sure to delete the "system volume information" folder as described in an earlier comment. Also I was using a 32G card, so it ended up being a 508.88M partition when trying to flash with the demo.bin files. |
Hello everyone
I really can't install the CFW on my dafang DF3 1080p.
I tryed eveything. Downlaod cfw from 1.0 to 1.3, put on microsd, holdsetup button than powered and release at different times.
I tried 2 different microsd from Lexar: one is 16GB the other is 8GB.
Eveytime I try to flash the camera start spin in just 20seconds, and when I test the blue shining led, I don't get it.
Also, passing the steps above give me no result. The camera use always the original firmware.
On MiHome the camera is on firmware 5.5.1.353.
Can you give me some advice?
Maybe my DaFang is a new versione? I have bought it some weeks ago.
The text was updated successfully, but these errors were encountered: