-
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
Impossible to install Custom Firmware #197
Comments
That's the correct response from the camera. DAFANGHACKS showing up on your router means that the hack worked and the camera got an IP address. Point your browser to |
I tried to point to the ip, nothing shows |
When I was at this part of the process, I added these lines to run.sh:
Then, I used:
at various places in run.sh to signal where the process stopped. For example, if you put:
at the end of the file, you can look for 5 blue blinks then 1 yellow blink to indicate that run.sh has completed. This means the Dafang Hacks is working, but something else is wrong. FYI, using this method, I found that I used all caps in my Wi-Fi SSID where the actual SSID was not all caps, and run.sh completed but no IP address was claimed by the camera. |
Since I have tried the official MI Home app a month ago, I have not been able to reinstall the CFW or hack on my device. It is kind of driving me nut each time I give it a try to hack it. I have tried CFW 1.2 and CFW 1.3 without any success. After doing the steps with 1.2 or 1.3 Is there a simple way to test if the CFW has been well install? What can I write in the run.sh to do a simple test such as a log file? |
So I installed the new official firmware within the MI Home app. After doing the installation steps with CFW 1.3, the run.sh does not execute. It's still the official fw that runs. The instructions are not clear about when to release the "Setup button". Would it be possible to update the instructions about when to let go the button? |
This worked for me on multiple cameras for flashing new cfw-1.3.bin firmware:
Continue with installing the firmware_mod file system on SD card and power up camera |
Hello, thanks for these detailed instructions, but mine is still not working. I've now tried 3 different SD cards. |
After the base turns and you have disconnected the power from the camera (in step 7. of my list above), you will need to put the contents for firmware_mod on the SD card and boot the camera with that card in it. This is the "Installation of the new Firmware" step of the instructions at: https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks/blob/master/hacks/install_cfw.md |
Hello, thanks again. |
Can you attempt a factory reset?
… Am 02.04.2018 um 16:05 schrieb zgadgeter ***@***.***>:
Hello, thanks again.
i've tried everything exactly as described, serveral times. The camera light only blinks yellow now, with or without the SD card installed.
So, i've done the bootloader step, camera blinks yellow.
I've done the firmware step, camera blinks yellow.
And now even without an SD card the camera only blinks yellow.
Maybe i screwed it up somehow?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hello, how do i do that, factory reset? |
Press the setup button about 10 second to make a camera full reset. |
I had the same identical problem as OP, the symptoms were identical too and I just couldn't get it working despite following the instructions down to the letter. Turns out that the /config/wpa_supplicant.dist file needs to be renamed to "wpa_supplicant.conf". That's it. Now everything works like a charm. I had some difficulty figuring out the IP address as Windows Network is not showing DAFANGHACKS as it should. If you are having the same issue, download Advanced IP scanner app and run a scan of all active addresses within your private network. |
@zgadgeter commented 12 hours ago
Maybe your SD card is not being read properly if the response from the camera is exactly the same with and without the card. The SD card needs to be FAT/FAT32. Try a smaller card. I am running with 2GB and 4GB cards. Check to see the content of the SD card is the contents of firmware_mod, (not including firmware_mod folder). Use the blinkblue and blinkyellow functions in run.sh in one of the responses above to verify that the run.sh file is or is not being run. |
Have exact same issue with a cam marked manufacturing on 20180104. Flashed demo.bin as suggest, power down, eject TF, copy files to root of TF, power up, stay there forever without getting IP nor seems it ran the run.sh (added blink suggestion in the thread, no response) unplug the TF, powerup cam, it does indeed at least rotate on boot, and blink yellow forever. Don't have a small TF card around (currently using 32GB, smallest on the desk), may try again in couple of days with 2/4/8GB |
Did you copy and rename your wpa_supplicant.dist to conf?
… Am 04.04.2018 um 10:18 schrieb utp ***@***.***>:
Have exact same issue with a cam marked manufacturing on 20180104.
Flashed demo.bin as suggest, power down, eject TF, copy files to root of TF, power up, stay there forever without getting IP nor seems it ran the run.sh (added blink suggestion in the thread, no response)
unplug the TF, powerup cam, it does indeed at least rotate on boot, and blink yellow forever.
Don't have a small TF card around (currently using 32GB, smallest on the desk), may try again in couple of days with 2/4/8GB
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yeap, sure did on /config/wpa_supplicant.conf |
To anyone who is stuck, this solved my issue, yes, normally I do not do git clone on a Windows, and I shouldn't. So, confirm the hack works on cam marked manufacturing on 20180104, just a ref. |
Clone firmware from github on Windows doesn't work. Try clone on Linux. |
I don't have linux nor do I understand linux at all. Could someone upload the zip file from a linux clone to dropbox or something? |
Just download the git as zip instead of git clone. |
Click on Clone or Download(Green), then bottom right, click on Download Zip |
ok I downloaded it and apparently it just doesn't work for my camera....it must be updated too high |
I've got the same issue here on a Mac. I'm conscientiously deleting the hidden files Spotlight wants to put on the card before pulling it out, so I'm not sure what it could be. I was thinking it could just be the SD card, but it seems to create a folder called |
My issue was solved by this link: #64 (comment) |
all issues solved, let's close this |
Someone can help me with #669 ? |
Hello, i followed the guide 1 month ago, and all works great, then i returnet do stock, now i'm gonna to reflash custom firmware, but i cannot finish the procedure..
I formatted the micro sd to FAT32
I copied ONLY demo.bin into the microsd
I plugged the microsd into the dafang
I holded the setup button, plugged in the USB power cable, then left setup button
The base moved in few seconds (and not 5 minutes), and i remove the power
I removed the microSD and started the Dafang
The blue led is shining for 5 seconds, and the base start moving, and i can see in the router interface a device called DAFANGHACKS connected to the network
Copied the content of "firmware mod" into the root of the microSD
Deleted file "demo.bin" (tried without deleting it too)
Edited the wifi network and password on wpa supplicant file
Inserted the microSD into the Dafang
All that i have is an orange led forever.
The text was updated successfully, but these errors were encountered: