yi-hack-MStar icon indicating copy to clipboard operation
yi-hack-MStar copied to clipboard

Reboot Loop (h201c - 0.4.1)

Open bepece1 opened this issue 3 years ago • 20 comments

I have a issue with my cam (YiDomeCamera1080p) so as my cam always is reboting and the native app no work I have tried downgrade hack version to 0.3.5 but the same problem go on in my cam. What can I do? some ideas?

Yihack always has been working in this cam, I don't know what happen now

YiHack Version 0.4.1 (0.3.5) Base Version 4.6.0.0A_201908271549 Model h201c log.zip

thanks in advance

bepece1 avatar Aug 21 '21 10:08 bepece1

If you change the fw version (i.e. 0.4.1 -> 0.3.5 or another versione) the problem should disappear because the cam is completely rewritten. Maybe the problem is related to a power failure. Did you change the power adapter or the power cable?

roleoroleo avatar Aug 23 '21 16:08 roleoroleo

The log shows no problems.

roleoroleo avatar Aug 23 '21 16:08 roleoroleo

If you change the fw version (i.e. 0.4.1 -> 0.3.5 or another versione) the problem should disappear because the cam is completely rewritten. Maybe the problem is related to a power failure. Did you change the power adapter or the power cable?

Yes, I tried different power adapters with other wires and the result is the same 😣

How can I recopile a avanced log?

Exists other way to reset fully the cam?

bepece1 avatar Aug 24 '21 08:08 bepece1

How can I recopile a avanced log?

Is not possible.

Exists other way to reset fully the cam?

Restore the original partitions and reset the cam with the back button. But IMHO it will not fix the problem.

roleoroleo avatar Aug 24 '21 13:08 roleoroleo

How can I recopile a avanced log?

Is not possible.

Exists other way to reset fully the cam?

Restore the original partitions and reset the cam with the back button. But IMHO it will not fix the problem.

How would you fix this problem?

bepece1 avatar Aug 25 '21 10:08 bepece1

I don't know. Maybe a hardware failure.

But try to restore the original partition.

roleoroleo avatar Aug 25 '21 11:08 roleoroleo

But try to restore the original partition.

Can you send me a link with information how do it?

Thanks in advance

bepece1 avatar Aug 25 '21 15:08 bepece1

This is the original fw. Load it like a hacked version. h201c.tar.gz

Rename the files home_h201c and sys_h201c and copy them to the sd card.

roleoroleo avatar Aug 26 '21 06:08 roleoroleo

I go on with the problem.

If I execute "dmesg" and I can see some errors, do you know what it can happen?

/home/yi-hack # dmesg ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0x21 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0x21 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0x21 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0x21 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x0 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x0 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x0 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x0 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x0 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x6 0x1 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x6 0x1 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x6 0x1 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x6 0x1 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x3e 0x6 0x1 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0xe 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0xe 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0xe 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0xe 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x32 0xe 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x38 0x12 0x0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x1 0xd0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x1 0xd0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x1 0xd0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x1 0xd0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x1 0xd0 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x14 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x14 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x14 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x14 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x33 0x14 0x4 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x57 0x81 0x2 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x57 0x81 0x2 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x57 0x81 0x2 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x57 0x81 0x2 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x57 0x81 0x2 ERROR: Bus[1] in ms_i2c_xfer_write: Slave dev NAK, Addr: 0x60, Data: 0x38 0x12 0x30 [PWN] mstar_pwm_config duty_ns=100, period_ns=100000 reg=0x1F003490 clk=12000000, period=0x78 reg=0x1F003488 clk=12000000, u32Duty=0x78 [PWM] mstar_pwm_enable [SCLIRQ]chang time :26354

bepece1 avatar Sep 02 '21 14:09 bepece1

I think I have a space problem in root, how can I free space in root? @roleoroleo

/ # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 1920 1904 16 99% / tmpfs 30428 128 30300 0% /dev /dev/block/mtdblock3 12480 11252 1228 90% /home tmpfs 32768 76 32692 0% /tmp /dev/block/mmcblk0p1 1951676 12636 1939040 1% /tmp/sd

I tried copy "/etc" en "sd" but It dont work, why? /home/yi-hack # cp -r /etc/ /tmp/sd/ cp: can't create symlink '/tmp/sd/etc/TZ' to 'can't create symlink '/tmp/sd/etc/TZ' to '': Operation not permitted cp: can't create symlink '/tmp/sd/etc/resolv.conf' to 'can't create symlink '/tmp/sd/etc/resolv.conf' to '': Operation not permitted

bepece1 avatar Oct 04 '21 11:10 bepece1

I have the same problem with the Yi Dome Camera 1080p. Camera keeps resetting after rebooting and setting up wifi connection. YiHack Version 0.4.3 Base Version 4.6.0.0A_201908271549 Model h201c Please help Logi.zip

andrzejSlomiany avatar Oct 05 '21 19:10 andrzejSlomiany

I think I have a space problem in root, how can I free space in root? @roleoroleo

If you reload a fw (original or hacked) the partition is completely rewritten and the free space is restored. But don't try to reload the same version because it will not load. Load a previous version and then upgrade again if you want.

I tried copy "/etc" en "sd" but It dont work, why? /home/yi-hack # cp -r /etc/ /tmp/sd/ cp: can't create symlink '/tmp/sd/etc/TZ' to 'can't create symlink '/tmp/sd/etc/TZ' to '': Operation not permitted cp: can't create symlink '/tmp/sd/etc/resolv.conf' to 'can't create symlink '/tmp/sd/etc/resolv.conf' to '': Operation not permitted

SD card is FAT32 formatted. FAT32 doesn't support symbolic links.

roleoroleo avatar Oct 06 '21 06:10 roleoroleo

I have the same problem with the Yi Dome Camera 1080p. Camera keeps resetting after rebooting and setting up wifi connection. YiHack Version 0.4.3 Base Version 4.6.0.0A_201908271549 Model h201c Please help Logi.zip

Was the cam working? Did you apply an update?

roleoroleo avatar Oct 06 '21 06:10 roleoroleo

The camera only reboots and needs to be reconfigured with wifi. I loaded the general soft then 0.3.5 and then upgraded to 4.3 and see if it works. Is it normal that the camera loses the network settings when disconnecting the power / power outage?

andrzejSlomiany avatar Oct 06 '21 17:10 andrzejSlomiany

Why, when the camera is restarted, the wi fi settings are lost and you need to reconfigure the wifi?

andrzejSlomiany avatar Oct 06 '21 17:10 andrzejSlomiany

could you check for existance of /etc/resolv.conf, which would be a link to /tmp/resolv.conf

 ls -l /etc/resolv.conf 
lrwxrwxrwx    1 root     0               16 Aug 21 16:46 /etc/resolv.conf -> /tmp/resolv.conf

cheese1 avatar Oct 07 '21 07:10 cheese1

Is it normal that the camera loses the network settings when disconnecting the power / power outage?

No.

Why, when the camera is restarted, the wi fi settings are lost and you need to reconfigure the wifi?

I don't know.

roleoroleo avatar Oct 07 '21 14:10 roleoroleo

After typing the command ls -l /etc/resolv.conf gets: /tmp$ ls -l /etc/resolv.conf lrwxrwxrwx 1 root 0 16 Oct 8 18:54 /etc/resolv.conf -> /tmp/resolv.conf What the /tmp/resolv.conf file should contain. There is in my file: nameserver 192.168.100.1 nameserver 8.8.8.8

andrzejSlomiany avatar Oct 08 '21 17:10 andrzejSlomiany

After typing the command ls -l /etc/resolv.conf gets: /tmp$ ls -l /etc/resolv.conf lrwxrwxrwx 1 root 0 16 Oct 8 18:54 /etc/resolv.conf -> /tmp/resolv.conf What the /tmp/resolv.conf file should contain. There is in my file: nameserver 192.168.100.1 nameserver 8.8.8.8

that looks OK for me. you have a link from /etc/resolv.conf to /tmp/resolv.conf and you have nameservers in your file. 8.8.8.8 is a nameserver from google and the other one is a nameserver in "your" network. i think this will be your router.

cheese1 avatar Oct 10 '21 16:10 cheese1

After typing the command ls -l /etc/resolv.conf gets: /tmp$ ls -l /etc/resolv.conf lrwxrwxrwx 1 root 0 16 Oct 8 18:54 /etc/resolv.conf -> /tmp/resolv.conf What the /tmp/resolv.conf file should contain. There is in my file: nameserver 192.168.100.1 nameserver 8.8.8.8

Yes, it's ok.

roleoroleo avatar Oct 11 '21 14:10 roleoroleo

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.

github-actions[bot] avatar Apr 05 '24 02:04 github-actions[bot]