-
Notifications
You must be signed in to change notification settings - Fork 43
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
[T20L Xiaomi Mijia 2018] Settings are gone after every reboot #34
Comments
No. What camera are you using and version ? |
I'm using Mijia 2018.
|
You are using an old version, I recommend you to compile the last one or wait for rc6. I'll provide it soon. |
Hmm.. rc05_01-46-g5dd319b is from third most recent commit (5dd319b). I built a new image from the latest commit (b1c396e), but this version doesn't boot. The LED flashes orange for ~25 seconds (sometimes also blue), stays orange for ~3 seconds and then goes out. The whole thing then repeats itself again and again. |
I will introduce a fix for old bootloaders, but this is due to the lack of the last bootloader which includes the auto device detection. |
Or, you can also add |
b1c396e you have to set up |
Have it solved your problem? |
I will try it again this evening because I'm not home right now. I'll keep you posted. |
You have to use |
Try 'nvram clear rtdev; nvram commit; reboot' to factory reset the settings. The certificate should also be renewed by this action. You can also try to clear all the sections of the nvram, use nvram layout to check them. As a last resource you have to enable the debug mode on nvram. Some people have tried the fw and it worked well, so I assume it's something wrong with your setting. |
@HorseDickJoseph Can you describe which issue you have? |
You can also try to clean the mtd partition using I tried to replicate the issue and I was not able to get it in the same camera and different models. |
I tried both approaches I followed the installation instructions from TheRoss and desoldered a leg of the SOP8 chip so I could flash the bootloader with a programmer clip. Then I soldered the leg back on. I booted the camera, opened the web ui, changed the wifi settings and the admin password and restarted the camera. When the camera didn't connect to the wifi network, started an AP again and the admin password didn't change, I noticed that no settings are saved at all. Is it possible that the chip was somehow damaged during the soldering process so that it only runs in "read only" mode? |
@martin-schlossarek It's strange, I'll upload the image and the bootloader and you can flash them and try (you can also try the gitter chat). Here I can't reproduce such issue, but let's see what @HorseDickJoseph has to say (he said same issue). |
@HorseDickJoseph I didn't understood your problem. You have the full dump in https://github.com/anmaped/openfang/blob/master/doc/sxj02ZM/dump.tar.xz since December 2018. You can use it. Edit: you can also find the unpacked FW in https://github.com/anmaped/openfang/tree/master/doc/sxj02ZM/unpacked |
@martin-schlossarek Any news ? Have you solved the problem ? |
No sorry I was not able to solve the problem. Is there anything I can do to find out what's going wrong? Logs, debug data ...? |
I unfortunely have to same problem. It's a v3 version of the camera and I've flashed the bootloader with the programmer and de-soldered the vcc-pin (and re-soldered it again after flashing). |
I have found out a work-a-round. I changed the settings in the webinterface. After that I edited the init.d file /etc/init.d/S02factory on the sdcard.
|
No matter how I set the settings, whether via the web interface or via
nvram set
, they disappear after every reboot. Is this an expected behavior?The text was updated successfully, but these errors were encountered: