roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
830 stars 110 forks source link

4FUS #23

Closed enrysan0 closed 4 years ago

enrysan0 commented 4 years ago

Hi,

Do you plan to port this hack to 4FUS (FW:4.2.0.0H_201909041620)? It is the Amazon version claimed as YI Camera 1080p version 3 (in Europe). Here is an image of the camera disassembled: https://media.discordapp.net/attachments/531894543759441935/635156208332046336/Yi_Home_1080p_v.3_4FUS.jpg?width=1082&height=596

Thanks

enrysan0 commented 4 years ago

I also don't understand why if my camera is a 4FUS (y203c) it only updates if the file is named y25 (that is for 9FUS)!! So I tried also to use "y203c_0.2.2.tgz" renaming it to y25. The camera flashed well, but during the process when it try to connect to wifi it crashes and resets itself.

borodiliz commented 4 years ago

@enrysan0 Probably not related but regarding the resets, I had problems with two YI Outdoor Camera. The problem was with the included power supply (1.0A). I experienced random reboots when trying to pair to wifi, using the speaker, or using IR LED's. Problem was solved using a different power supply (1.5A)

roleoroleo commented 4 years ago

If your camera accepts y25 use y25_0.2.2.tgz.

enrysan0 commented 4 years ago

If your camera accepts y25 use y25_0.2.2.tgz.

Ok, Thanks. However it seems I have a y25 4FUS: Screenshot 2019-12-07 at 12 00 03

enrysan0 commented 4 years ago

@enrysan0 Probably not related but regarding the resets, I had problems with two YI Outdoor Camera. The problem was with the included power supply (1.0A). I experienced random reboots when trying to pair to wifi, using the speaker, or using IR LED's. Problem was solved using a different power supply (1.5A)

So now:

  1. I'm using a 5v 3A power supply
  2. I downloaded "y25_0.2.2.tgz"
  3. put the firmware in the FAT32 formatted SDCard
  4. flashed the firmare in the camera (long yellow led during the flash)
  5. Resetted the camera using the pin-hole
  6. Followed the steps on the app with the QR code. After I let see the QRCode to the camera the yellow led turn to blinking blue and the the camera reset completely (i hear the noise of the speaker like when you power off the camera). After that the camera tells again "waiting for connect" waiting for the QRCode. If i let see the QRCode the camera again reset itself.
enrysan0 commented 4 years ago

Hi, I contacted YI support, they gave me a firmware image called "home_y25m". But after I put the file in the FAT32 formatted SD Card and power on the camera it stay all the time with the yellow led like is flashing. But after half an hour it still has the yellow led. Is there any way to force the firmware restore?

P.S. all the problems started when I flashed the y203c file to the camera changing their name to y25..

roleoroleo commented 4 years ago

You need also the rootfs partition. Ask technical support for the "sys_y25m" file as well.

camonice commented 4 years ago

You need also the rootfs partition. Ask technical support for the "sys_y25m" file as well.

I could not flash firmware using your released y25 and y203c files. May I change your released file names to y25m and have a go?

roleoroleo commented 4 years ago

Could you share home_y25m you received from the support? I think it's a format that you cannot use to restore a cam. It's only an upgrade.

enrysan0 commented 4 years ago

Could you share home_y25m you received from the support? I think it's a format that you cannot use to restore a cam. It's only an upgrade.

Yes sure. Where I can send you the file? (as I don't know what kind of copyright follow the YI firmware and I prefer to not post it on github)

roleoroleo commented 4 years ago

I can confirm that your home_y25m is a partial update. You cannot use it as a recover firmware.

Please try again with this one: https://drive.google.com/open?id=1mQUa2jLYuv910oly2EYbA35vZ2Zfco4b

camonice commented 4 years ago

I can confirm that your home_y25m is a partial update. You cannot use it as a recover firmware.

Please try again with this one: https://drive.google.com/open?id=1mQUa2jLYuv910oly2EYbA35vZ2Zfco4b

Is this a hacked firmware or original please?

Cheers

enrysan0 commented 4 years ago

I can confirm that your home_y25m is a partial update. You cannot use it as a recover firmware.

Please try again with this one: https://drive.google.com/open?id=1mQUa2jLYuv910oly2EYbA35vZ2Zfco4b

It didn't worked. As before the camera still reset itself just after i let see the QR Code..

camonice commented 4 years ago

I can confirm that your home_y25m is a partial update. You cannot use it as a recover firmware. Please try again with this one: https://drive.google.com/open?id=1mQUa2jLYuv910oly2EYbA35vZ2Zfco4b

It didn't worked. As before the camera still reset itself just after i let see the QR Code..

I think your camera may only react to a file name with an "m". I suspect mine is the same case, but I am not sure if I can just rename the files.

enrysan0 commented 4 years ago

I can confirm that your home_y25m is a partial update. You cannot use it as a recover firmware. Please try again with this one: https://drive.google.com/open?id=1mQUa2jLYuv910oly2EYbA35vZ2Zfco4b

It didn't worked. As before the camera still reset itself just after i let see the QR Code..

I think your camera may only react to a file name with an "m". I suspect mine is the same case, but I am not sure if I can just rename the files.

Please if your camera is still working don't try these files or you may brick your camera like i did!

roleoroleo commented 4 years ago

Th file I posted is an original firmware.

All firmware updates downloadable from internet have 'm' suffix and the update procedure is done once the system is started, using linux scripts. These files are archives 7zipped and crypted.

Instead the files without 'm' suffix are jffs2 images and the update procedure is done by u-boot.

!!! Please don't rename files !!!

roleoroleo commented 4 years ago

It didn't worked. As before the camera still reset itself just after i let see the QR Code..

I can't understand why... I think that the problem is different. Did you try using another wifi network?

enrysan0 commented 4 years ago

It didn't worked. As before the camera still reset itself just after i let see the QR Code..

I can't understand why... I think that the problem is different. Did you try using another wifi network?

The seller that sent me the home_y25m file said that he was afraid he hadn't the correct firmware to flash my camera and offered to send me a new one. I tought to receive the same model (4FUS) and that I could clone the firmware from the new camera to the broken one. Instead I received a 9FUS.

At this point I'm 100% sure the Wi-Fi is working well as the new camera it's working well!

roleoroleo commented 4 years ago

I'd like to get my hands on that cam. I'm very curious.

enrysan0 commented 4 years ago

I'd like to get my hands on that cam. I'm very curious.

I could run some test/dump for you using putty. But you have to tell me exactly what to write in putty!

simox83971 commented 4 years ago

I tried a reset using the small pin-hole behind the camera. Put the camera side to the router, followed the normal procedure with scanning of the qr code. At the end the camera always say "waiting for connect" as it couldn't see/connect to the wifi.

The log i found in the SDCard card contain a lot of crashes Cloud/p2p/wpa:

[
][1/1/0:0:9:685]: dispatch.c(main-5243) hw_type(2)
[
][1/1/0:0:12:236]: rmm.c(msg_proc-4523) pid[193][
][1/1/0:0:12:331]: dispatch.c(main-5303) open_ptz fail[
][1/1/0:0:12:518]: dispatch.c(get_config-1223) got sn(XXXXXX_REMOVED_XXXXXXXX)[
][1/1/0:0:12:518]: dispatch.c(get_config-1224) got pwd()[
][1/1/0:0:12:518]: dispatch.c(get_config-1225) got ssid()[
][1/1/0:0:12:518]: dispatch.c(get_config-1226) got tnp_init_string()[
][1/1/0:0:12:518]: dispatch.c(get_config-1234) reset because no wifi config[
][1/1/0:0:12:518]: dispatch.c(send_saveconfig_msg-426) send_saveconfig_msg msg snd success[
][1/1/0:0:12:518]: dispatch.c(get_config-1281) get_config save conf
[
][1/1/0:0:12:518]: dispatch.c(choose_server-650) in choose_server, region_id = 17, api_server = https://api.us.xiaoyi.com, log_server = http://log.us.xiaoyi.com, sname = familymonitor-y25, dlproto = mius
[
][1/1/0:0:12:518]: dispatch.c(choose_server-650) in choose_server, region_id = 16, api_server = https://api.eu.xiaoyi.com, log_server = http://log.eu.xiaoyi.com, sname = familymonitor-y25, dlproto = mieu
[
][1/1/0:0:12:528]: dispatch.c(main-5385) init ok, cost time(2840 ms)[
][1/1/0:0:12:528]: dispatch.c(save_config-1024) got pwd()()[
][1/1/0:0:12:529]: dispatch.c(save_config-1025) got ssid()()[
][1/1/0:0:12:529]: dispatch.c(save_config-1026) config save finish 1[
][1/1/0:0:12:829]: dispatch.c(p_worker-3204) save_config[
][1/1/0:0:13:274]: rmm.c(init_font-972) font:/home/base/iso8859-1-24x48.bin
[
][1/1/0:0:13:360]: rmm.c(init_font-984) filesize=36864
[
][1/1/0:0:13:360]: rmm.c(init_font-1004) init font /home/base/iso8859-1-24x48.bin ptr size(4)[
][1/1/0:0:13:360]: rmm.c(init_font-972) font:/home/base/iso8859-1-8x16.bin
[
][1/1/0:0:13:360]: rmm.c(init_font-984) filesize=4096
[
][1/1/0:0:13:360]: rmm.c(init_font-1004) init font /home/base/iso8859-1-8x16.bin ptr size(4)[
][1/19/6:41:36:97]: dispatch.c(p_worker-3292) DISPATCH_SET_DEFAULT_TIME 1453185696[
][1/19/6:41:36:790]: rmm.c(rmm_init_isp-1480) pSensorID =8757 S C 2 2
[
][1/19/6:41:38:773]: cloud.c(sys_init-5517) open share mem ok
[
][1/19/6:41:39:3]: oss.c(main-2957) oss stream = ./oss_fast, venc chn = 0x1000[
][1/19/6:41:39:138]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:138]: oss.c(main-2957) oss stream = ./oss, venc chn = 0x400[
][1/19/6:41:39:255]: oss.c(main-2957) oss stream = ./oss_lapse, venc chn = 0x2000[
][1/19/6:41:39:371]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:371]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:456]: p2p_tnp.c(main-6653) fshare_open ok[
][1/19/6:41:39:540]: p2p_tnp.c(p2p_set_tnp_init_status-2112) p2p_set_tnp_init_status 1 send_msg ok!
[
][1/19/6:41:39:818]: watch_process.c(get_watch_info-116) check_interval=10
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=dispatch;cmd=cd /home/app;./dispatch &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=cloud;cmd=cd /home/app;./cloud &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=rmm;cmd=reboot;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=mp4record;cmd=cd /home/app;./mp4record &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=arp_test;cmd=cd /home/app;./arp_test &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=oss;cmd=cd /home/app;./oss &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=oss_fast;cmd=cd /home/app;./oss_fast &;
[
][1/19/6:41:39:903]: watch_process.c(get_watch_info-134) process=oss_lapse;cmd=cd /home/app;./oss_lapse &;
[
][1/19/6:41:39:903]: dispatch.c(do_mq_process-5058) invalid msg 0x1002
[
][1/19/6:41:40:11]: rmm.c(send_wait_msg-619) msg snd success[
][1/19/6:41:41:818]: rmm.c(msg_proc-4563) got RMM_SPEAK_WAIT[
][1/19/6:41:49:820]: watch_process.c(check_watch_info-171) arp_test crashed![
][1/19/6:41:52:320]: rmm.c(zbar_proc-4407) decoded QR-Code symbol "XXXXXX_REMOVED_XXXXXXXX"
[
][1/19/6:41:52:431]: rmm.c(trans_info-441) trans_json info=b=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(trans_info-513) trans_json result=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(trans_info-441) trans_json info=b=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(trans_info-513) trans_json result=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(trans_info-441) trans_json info=b=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(trans_info-513) trans_json result=XXXXXX_REMOVED_XXXXXXXX
[
][1/19/6:41:52:432]: rmm.c(zbar_proc-4430) rmm got /tmp/got_wpa ssid(XXXXXX_REMOVED_XXXXXXXX) pwd(XXXXXX_REMOVED_XXXXXXXX) bind(XXXXXX_REMOVED_XXXXXXXX)
[
][1/19/6:41:52:432]: dispatch.c(do_mq_process-5058) invalid msg 0x1005
[
][1/19/6:41:52:509]: rmm.c(send_scanok_msg-646) msg snd success[
][1/19/6:41:52:562]: dispatch.c(choose_server-650) in choose_server, region_id = 16, api_server = https://api.eu.xiaoyi.com, log_server = http://log.eu.xiaoyi.com, sname = familymonitor-y25, dlproto = mieu
[
][1/19/6:41:52:627]: rmm.c(send_wifi_conf_msg-676) msg snd success[
][1/19/6:41:52:713]: dispatch.c(do_mq_process-3413) got pwd(XXXXXX_REMOVED_XXXXXXXX)[
][1/19/6:41:52:844]: dispatch.c(send_connectting_msg-138) msg snd success[
][1/19/6:41:52:845]: dispatch.c(do_mq_process-5058) invalid msg 0x1004
[
][1/19/6:41:52:845]: dispatch.c(do_monitor_wifi-1668) wifi disconnected, now reconnect wifi
[
][1/19/6:41:54:694]: rmm.c(msg_proc-4648) got RMM_SPEAK_SCAN_OK[
][1/19/6:41:56:656]: rmm.c(msg_proc-4583) got RMM_SPEAK_CONNECTTING[
][1/19/6:41:59:839]: watch_process.c(check_watch_info-171) cloud crashed![
][1/19/6:41:59:892]: watch_process.c(check_watch_info-171) p2p_tnp crashed![
][1/19/6:42:1:852]: dispatch.c(do_monitor_wifi-1610) wpa may crashed, now reset
[
][1/19/6:42:1:944]: dispatch.c(do_monitor_wifi-1615) no usb dev

same problem and same log and same camera type

roleoroleo commented 4 years ago

Ok, there is a problem with 4FUS model with fw 4.2.0. I need a dump. There is someone that can do a dump of the original fw?

egs2003 commented 4 years ago

Nope, my camera is already bricked too. I'm already in contact with Yi, but they can't help me either.

enrysan0 commented 4 years ago

Ok, there is a problem with 4FUS model with fw 4.2.0. I need a dump. There is someone that can do a dump of the original fw?

Maybe it's better to change the ReadMe of the repository to allert owner of the 4FUS(y25) to not flash the firmware to avoid to brick the camera. At the same time ask for a firmware dump to whom have the hardware/knowloedge to do that.

roleoroleo commented 4 years ago

4FUS with 4.2.0 is not listed in the table of supported cams.

camonice commented 4 years ago

4FUS with 4.2.0 is not listed in the table of supported cams.

I have a 4FCN Y25 camera. So far I cannot flash the hacked firmware, and it still has its original firmware. I might be able to help if I have the right instructions and tools.

roleoroleo commented 4 years ago

In this issue https://github.com/roleoroleo/yi-hack-MStar/issues/10 you can find the instructions and the tool to dump rootfs and home partitions. You have to connect a serial interface to the circuit board and run a script.

roleoroleo commented 4 years ago

@camonice News about the dump?

enrysan0 commented 4 years ago

In this issue #10 you can find the instructions and the tool to dump rootfs and home partitions. You have to connect a serial interface to the circuit board and run a script.

Sorry but I find really discouraging and hard to understant how to make a firmware dump from the link you suggest. Maybe the same for @camonice. @roleoroleo Can you please provide a simplified explanation for non programmer, to encourage people to dump the camera firmware? Thanks

roleoroleo commented 4 years ago

I'm sorry but this procedure cannot be simplified. It is necessary to have some manual skills with the use of the soldering iron and a basic knowledge of linux system and programming. I could try to explain better the method.

roleoroleo commented 4 years ago

https://github.com/roleoroleo/yi-hack-MStar/wiki/Dump-your-backup-firmware

enrysan0 commented 4 years ago

https://github.com/roleoroleo/yi-hack-MStar/wiki/Dump-your-backup-firmware

Perfect! Thanks. Now we need someone with the y25 4FUS and untouched firmware to follow this guide!

roleoroleo commented 4 years ago

@enrysan0 If I send you a new experimental fw, are you able to test it on your 4FUS y25?

enrysan0 commented 4 years ago

@enrysan0 If I send you a new experimental fw, are you able to test on your 4FUS y25?

@roleoroleo Yes sure!

roleoroleo commented 4 years ago

Here it is: https://drive.google.com/open?id=1ry169nkZlc-YYOI7hETb0w8IbEY9Vasa

enrysan0 commented 4 years ago

Here it is: https://drive.google.com/open?id=1ry169nkZlc-YYOI7hETb0w8IbEY9Vasa

Flashed the firmware using SDCard method. The camera actually flashed the firmware (yellow long light) then started the voice "waiting for connect". Made the walktrought with the YI App: I let see the QR code to the camera and as always after 5 seconds the camera reboot itself and start again with "waiting for connect"

Here is what I fond in the SD:

df.txt:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/block/mtdblock3     12480      9136      3344  73% /home
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 1920      1888        32  98% /

file.txt:

/home:
total 1
-rw-------    1 root     0               22 Jan  1  1970 homever
lrwxrwxrwx    1 root     0                7 Dec 22  2019 yi-hack-v4 -> yi-hack
drwxr-xr-x    8 root     0                0 Jan  1  1970 .
drwxr-xr-x   15 root     0                0 Jan  1  1970 ..
drwxr-xr-x    9 root     0                0 Jan  1  1970 app
drwxrwxr-x    5 root     0                0 May 24  2019 base
drwxrwxr-x    2 root     0                0 May 24  2019 lib
drwxrwxr-x    3 root     0                0 May 24  2019 ms
drwxr-xr-x    8 root     0                0 Jan  1  1970 yi-hack

/home/app:
total 2666
-rwx------    1 root     0          1183356 Sep  4  2019 oss
-rwx------    1 root     0           564884 Jan  1  1970 rmm
-rwx------    1 root     0           379520 Jan  1  1970 cloudAPI_real
-rwx------    1 root     0           310248 Jan  1  1970 p2p_tnp
-rwx------    1 root     0            92628 Jan  1  1970 cloud
-rwx------    1 root     0            60764 Jan  1  1970 dispatch
-rwx------    1 root     0            37272 Jan  1  1970 mp4record
-rwx------    1 root     0            26780 Jan  1  1970 crypt_file
-rwx------    1 root     0            20815 Jan  1  1970 watch_process
-rwx------    1 root     0            14816 Jan  1  1970 log_server
-rwx------    1 root     0            13336 Jan  1  1970 upgrade_firmware
-rwx------    1 root     0            12736 Jan  1  1970 arp_test
-rwxrwxrwx    1 root     0             6230 Jan  1  1970 init.sh
-rwx------    1 root     0              441 Jan  1  1970 wp_cmd
-rwx------    1 root     0              305 Jan  1  1970 cloudAPI
-rw-r--r--    1 root     0               60 Dec 22  2019 yi1080.bmp
-rw-r--r--    1 root     0               60 Dec 22  2019 yi360.bmp
-rw-------    1 root     0               22 Jan  1  1970 .appver
lrwxrwxrwx    1 root     0                3 Dec  7  2019 oss_fast -> oss
lrwxrwxrwx    1 root     0                3 Dec  7  2019 oss_lapse -> oss
drwxr-xr-x    9 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwx------    6 root     0                0 Jan  1  1970 audio_file
drwx------    2 root     0                0 Jan  1  1970 ca
drwx------    5 root     0                0 Jan  1  1970 data
drwx------    2 root     0                0 Jan  1  1970 localbin
drwx------    2 root     0                0 Jan  1  1970 localko
drwx------    2 root     0                0 Jan  1  1970 locallib
drwx------    2 root     0                0 Jan  1  1970 script

/home/app/audio_file:
total 0
drwx------    6 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..
drwx------    2 root     0                0 Jan  1  1970 common
drwx------    2 root     0                0 Jan  2  2020 jp
drwx------    2 root     0                0 Jan  2  2020 simplecn
drwx------    2 root     0                0 Jan  1  1970 us

/home/app/audio_file/common:
total 16
-rwx------    1 root     0             8173 Jan  1  1970 record_end.aac
-rwx------    1 root     0             3691 Jan  1  1970 record_start.aac
-rwx------    1 root     0             3490 Jan  1  1970 capture.aac
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    6 root     0                0 Jan  1  1970 ..

/home/app/audio_file/jp:
total 7
lrwxrwxrwx    1 root     0               24 Jan  2  2020 wifi_connected.aac -> ../us/wifi_connected.aac
lrwxrwxrwx    1 root     0               23 Jan  2  2020 download_fail.aac -> ../us/download_fail.aac
lrwxrwxrwx    1 root     0               22 Jan  2  2020 bindkey_fail.aac -> ../us/bindkey_fail.aac
lrwxrwxrwx    1 root     0               21 Jan  2  2020 connectting.aac -> ../us/connectting.aac
lrwxrwxrwx    1 root     0               21 Jan  2  2020 downloading.aac -> ../us/downloading.aac
lrwxrwxrwx    1 root     0               18 Jan  2  2020 pwdwrong.aac -> ../us/pwdwrong.aac
lrwxrwxrwx    1 root     0               18 Jan  2  2020 updating.aac -> ../us/updating.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 success.aac -> ../us/success.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 timeout.aac -> ../us/timeout.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 welcome.aac -> ../us/welcome.aac
lrwxrwxrwx    1 root     0               16 Jan  2  2020 scanok.aac -> ../us/scanok.aac
lrwxrwxrwx    1 root     0               15 Jan  2  2020 reset.aac -> ../us/reset.aac
lrwxrwxrwx    1 root     0               14 Jan  2  2020 wait.aac -> ../us/wait.aac
drwx------    2 root     0                0 Jan  2  2020 .
drwx------    6 root     0                0 Jan  1  1970 ..
-rwx------    1 root     0                0 Jan  1  1970 .tokeplace

/home/app/audio_file/simplecn:
total 41
-rwx------    1 root     0            15207 Jan  1  1970 device_wrong.aac
-rwx------    1 root     0            11263 Jan  1  1970 ban_device.aac
-rwx------    1 root     0             8418 Jan  1  1970 wifi_connect_failed.aac
lrwxrwxrwx    1 root     0               24 Jan  2  2020 wifi_connected.aac -> ../us/wifi_connected.aac
lrwxrwxrwx    1 root     0               23 Jan  2  2020 download_fail.aac -> ../us/download_fail.aac
lrwxrwxrwx    1 root     0               22 Jan  2  2020 bindkey_fail.aac -> ../us/bindkey_fail.aac
lrwxrwxrwx    1 root     0               21 Jan  2  2020 connectting.aac -> ../us/connectting.aac
lrwxrwxrwx    1 root     0               21 Jan  2  2020 downloading.aac -> ../us/downloading.aac
lrwxrwxrwx    1 root     0               18 Jan  2  2020 pwdwrong.aac -> ../us/pwdwrong.aac
lrwxrwxrwx    1 root     0               18 Jan  2  2020 updating.aac -> ../us/updating.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 success.aac -> ../us/success.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 timeout.aac -> ../us/timeout.aac
lrwxrwxrwx    1 root     0               17 Jan  2  2020 welcome.aac -> ../us/welcome.aac
lrwxrwxrwx    1 root     0               16 Jan  2  2020 scanok.aac -> ../us/scanok.aac
lrwxrwxrwx    1 root     0               15 Jan  2  2020 reset.aac -> ../us/reset.aac
lrwxrwxrwx    1 root     0               14 Jan  2  2020 wait.aac -> ../us/wait.aac
drwx------    2 root     0                0 Jan  2  2020 .
drwx------    6 root     0                0 Jan  1  1970 ..

/home/app/audio_file/us:
total 107
-rwx------    1 root     0            13667 Jan  1  1970 download_fail.aac
-rwx------    1 root     0            13141 Jan  1  1970 success.aac
-rwx------    1 root     0            10410 Jan  1  1970 updating.aac
-rwx------    1 root     0            10282 Jan  1  1970 timeout.aac
-rwx------    1 root     0             9958 Jan  1  1970 bindkey_fail.aac
-rwx------    1 root     0             7679 Jan  1  1970 welcome.aac
-rwx------    1 root     0             7522 Jan  1  1970 scanok.aac
-rwx------    1 root     0             5973 Jan  1  1970 reset.aac
-rwx------    1 root     0             5973 Jan  1  1970 wifi_connected.aac
-rwx------    1 root     0             5647 Jan  1  1970 pwdwrong.aac
-rwx------    1 root     0             5290 Jan  1  1970 connectting.aac
-rwx------    1 root     0             5290 Jan  1  1970 downloading.aac
-rwx------    1 root     0             5119 Jan  1  1970 wait.aac
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    6 root     0                0 Jan  1  1970 ..

/home/app/ca:
total 7
-rwx------    1 root     0             4795 Jan  1  1970 gd_bundle-g2-g1.crt
-rwx------    1 root     0             1261 Jan  1  1970 ca.crt
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..

/home/app/data:
total 0
drwx------    5 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..
drwx------    2 root     0                0 Jan  1  1970 audio
drwx------    2 root     0                0 Jan  1  1970 cfg
drwx------    2 root     0                0 Jan  1  1970 property

/home/app/data/audio:
total 1
-rwx------    1 root     0               26 Jan  1  1970 mstar_mic.cfg
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    5 root     0                0 Jan  1  1970 ..

/home/app/data/cfg:
total 791
-rwx------    1 root     0           127481 Jan  1  1970 I3_isp_api.xml
-rwx------    1 root     0           101851 Jan  1  1970 2053_day.bin
-rwx------    1 root     0           101754 Jan  1  1970 night_2232.bin
-rwx------    1 root     0           101754 Jan  1  1970 night_2235.bin
-rwx------    1 root     0           101743 Jan  1  1970 day_2232.bin
-rwx------    1 root     0           101743 Jan  1  1970 day_2235.bin
-rwx------    1 root     0           101737 Jan  1  1970 2053_night.bin
-rwx------    1 root     0            19112 Jan  1  1970 sc2232_iqfile.bin.mz
-rwx------    1 root     0            19107 Jan  1  1970 sc2235_iqfile.bin.mz
-rwx------    1 root     0            19077 Jan  1  1970 gc2053_iqfile.bin.mz
-rwx------    1 root     0            10122 Jan  1  1970 isp_dbg_buf.xml.lzma
-rwx------    1 root     0              676 Jan  1  1970 sensor_db.cfg
-rwx------    1 root     0              232 Jan  1  1970 mzToxml.sh
-rwx------    1 root     0              162 Jan  1  1970 xmlTomz.sh
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    5 root     0                0 Jan  1  1970 ..

/home/app/data/property:
total 0
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    5 root     0                0 Jan  1  1970 ..
-rw-------    1 root     0                0 Jan  1  1970 topfile

/home/app/localbin:
total 147
-rwx------    1 root     0           103424 Jan  1  1970 wifi_conf
-rwx------    1 root     0            26492 Jan  1  1970 mount.cifs
-rwx------    1 root     0            19494 Jan  1  1970 reboot_by_watchdog
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..

/home/app/localko:
total 16
-rwx------    1 root     0            11508 Jan  1  1970 cpld_periph.ko
-rwx------    1 root     0             4044 Jan  1  1970 pid_list.ko
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..

/home/app/locallib:
total 1377
-rwx------    1 root     0           784444 Jan  1  1970 libvoice.so
-rwx------    1 root     0           296340 Jan  1  1970 libEmbeddedCNNlib.so
-rwx------    1 root     0           214428 Jan  1  1970 libYiRecDataLib.so
-rwx------    1 root     0            57428 Jan  1  1970 libYiHm.so
-rwx------    1 root     0            22972 Jan  1  1970 luaext.so
-rwx------    1 root     0            11208 Jan  1  1970 libdrv_ms_cus_gc2053.so
-rwx------    1 root     0            10736 Jan  1  1970 libdrv_ms_cus_sc2232.so
-rwx------    1 root     0            10652 Jan  1  1970 libdrv_ms_cus_sc2235_20fps_49.7Mpclk.so
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..

/home/app/script:
total 15
-rwx------    1 root     0             4444 Jan  1  1970 default.script
-rwx------    1 root     0             3221 Jan  1  1970 update.sh
-rwx------    1 root     0             1384 Jan  1  1970 killwifi.sh
-rwx------    1 root     0              828 Jan  1  1970 info.sh
-rwx------    1 root     0              353 Jan  1  1970 usb2sd.sh
-rwx------    1 root     0              318 Jan  1  1970 start_lua.sh
-rwx------    1 root     0              241 Jan  1  1970 wificonnect.sh
-rwx------    1 root     0              121 Jan  1  1970 wifitest.sh
-rwx------    1 root     0              109 Jan  1  1970 killapp.sh
-rwx------    1 root     0              103 Jan  1  1970 get_mem.sh
-rwx------    1 root     0               70 Jan  1  1970 wifidhcp.sh
-rwx------    1 root     0               68 Jan  1  1970 ethdhcp.sh
-rwx------    1 root     0               61 Jan  1  1970 mount_sd.sh
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    9 root     0                0 Jan  1  1970 ..

/home/base:
total 41
-rwxrwxr-x    1 root     0            36864 May 24  2019 iso8859-1-24x48.bin
-rwxrwxr-x    1 root     0             4096 May 24  2019 iso8859-1-8x16.bin
-rw-rw-r--    1 root     0               22 May 24  2019 .basever
drwxrwxr-x    5 root     0                0 May 24  2019 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwxrwxr-x    2 root     0                0 May 24  2019 ko
drwxrwxr-x    2 root     0                0 Jan  1  1970 tools
drwxrwxr-x    3 root     0                0 May 24  2019 wifi

/home/base/ko:
total 656
-rwxrwxr-x    1 root     0           157068 May 24  2019 usbcore.ko
-rwxrwxr-x    1 root     0           126492 May 24  2019 scsi_mod.ko
-rwxrwxr-x    1 root     0            93996 May 24  2019 mmc_core.ko
-rwxrwxr-x    1 root     0            59484 May 24  2019 fat.ko
-rwxrwxr-x    1 root     0            48832 May 24  2019 ehci-hcd.ko
-rwxrwxr-x    1 root     0            35888 May 24  2019 sd_mod.ko
-rwxrwxr-x    1 root     0            34744 May 24  2019 kdrv_sdmmc.ko
-rwxrwxr-x    1 root     0            30944 May 24  2019 mmc_block.ko
-rwxrwxr-x    1 root     0            24100 May 24  2019 mdrv_crypto.ko
-rwxrwxr-x    1 root     0            16884 May 24  2019 mdrv_cryptodev.ko
-rwxrwxr-x    1 root     0            13052 May 24  2019 vfat.ko
-rwxrwxr-x    1 root     0            11396 May 24  2019 spi-infinity.ko
-rwxrwxr-x    1 root     0            10208 May 24  2019 msdos.ko
-rwxrwxr-x    1 root     0             4452 May 24  2019 usb-common.ko
drwxrwxr-x    2 root     0                0 May 24  2019 .
drwxrwxr-x    5 root     0                0 May 24  2019 ..

/home/base/tools:
total 954
-rwxrwxr-x    1 root     0           428084 May 24  2019 7za
-rwxrwxr-x    1 root     0           285352 May 24  2019 wpa_supplicant
-rwxrwxr-x    1 root     0           119684 May 24  2019 lua
-rwxrwxr-x    1 root     0            51320 May 24  2019 wpa_cli
-rwxrwxr-x    1 root     0            37880 May 24  2019 fsck.fat
-rwxrwxr-x    1 root     0            17732 May 24  2019 checkdisk
-rwxrwxr-x    1 root     0            15208 May 24  2019 mkdosfs
-rwx------    1 root     0             8713 Sep  4  2019 rsa_pub_dec
-rwxrwxr-x    1 root     0             4148 May 24  2019 dmem
-rwxrwxr-x    1 root     0             2840 May 24  2019 xy_fixmem.sh
-rwx------    1 root     0             1828 Sep  4  2019 extpkg.sh
-rwxrwxr-x    1 root     0               30 May 24  2019 fdisk.input
drwxrwxr-x    2 root     0                0 Jan  1  1970 .
drwxrwxr-x    5 root     0                0 May 24  2019 ..

/home/base/wifi:
total 0
drwxrwxr-x    3 root     0                0 May 24  2019 .
drwxrwxr-x    5 root     0                0 May 24  2019 ..
drwxrwxr-x    2 root     0                0 May 24  2019 drv

/home/base/wifi/drv:
total 203
-rwxrwxr-x    1 root     0           207408 May 24  2019 cfg80211.ko
drwxrwxr-x    2 root     0                0 May 24  2019 .
drwxrwxr-x    3 root     0                0 May 24  2019 ..

/home/lib:
total 1095
-rwxrwxr-x    1 root     0          1015344 May 24  2019 libstdc++.so.6.0.24
-rwxrwxr-x    1 root     0           102700 May 24  2019 libgcc_s.so.1
-rwxrwxr-x    1 root     0              132 May 24  2019 libgcc_s.so
-rw-rw-r--    1 root     0               22 May 24  2019 .libver
lrwxrwxrwx    1 root     0               19 Dec  7  2019 libstdc++.so -> libstdc++.so.6.0.24
lrwxrwxrwx    1 root     0               19 Dec  7  2019 libstdc++.so.6 -> libstdc++.so.6.0.24
drwxrwxr-x    2 root     0                0 May 24  2019 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..

/home/ms:
total 2915
-rwxrwxr-x    1 root     0           609016 May 24  2019 libCamAlgo.so
-rwxrwxr-x    1 root     0           411156 May 24  2019 libmi.so
-rwxrwxr-x    1 root     0           245608 May 24  2019 libssl.so.1.0.0
-rwxrwxr-x    1 root     0           242580 May 24  2019 libOMX_AVQE_A.so
-rwxrwxr-x    1 root     0           188856 May 24  2019 libnl.so.1
-rwxrwxr-x    1 root     0           181068 May 24  2019 libOMX_BELA.so
-rwxrwxr-x    1 root     0           176460 May 24  2019 libcamera.so
-rwxrwxr-x    1 root     0           145960 May 24  2019 libCamUtil.so
-rwxrwxr-x    1 root     0           134292 May 24  2019 libmi_isp.so
-rwxrwxr-x    1 root     0            94928 May 24  2019 libOMX_VSRC.so
-rwxrwxr-x    1 root     0            65800 May 24  2019 libISP_hal.so
-rwxrwxr-x    1 root     0            65444 May 24  2019 libOMX_ACODEC.so
-rwxrwxr-x    1 root     0            52844 May 24  2019 libISP.so
-rwxrwxr-x    1 root     0            47164 May 24  2019 libOMX_VMFE.so
-rwxrwxr-x    1 root     0            45792 May 24  2019 libOMX_VVHE.so
-rwxrwxr-x    1 root     0            43820 May 24  2019 libOMX_IJPE.so
-rwxrwxr-x    1 root     0            43732 May 24  2019 libOMX_VSPL.so
-rwxrwxr-x    1 root     0            33808 May 24  2019 libOMX_ALSA.so
-rwxrwxr-x    1 root     0            22688 May 24  2019 libCamSensor.so
-rwxrwxr-x    1 root     0            21868 May 24  2019 libiw.so.29
-rwxrwxr-x    1 root     0            21260 May 24  2019 libat.so
-rwxrwxr-x    1 root     0            20904 May 24  2019 libtinyalsa.so
-rwxrwxr-x    1 root     0            19400 May 24  2019 libOMX_ASPL.so
-rwxrwxr-x    1 root     0            16324 May 24  2019 libOMX_IJPE_ENC_HW.so
-rwxrwxr-x    1 root     0            11780 May 24  2019 libOMX_IJPE_MEM_MGR.so
-rwxrwxr-x    1 root     0            10700 May 24  2019 libISP_procfs.so
-rwxrwxr-x    1 root     0             3608 May 24  2019 libyuvmon.so
-rw-rw-r--    1 root     0               22 May 24  2019 .msver
drwxrwxr-x    3 root     0                0 May 24  2019 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwxrwxr-x    2 root     0                0 May 24  2019 ko

/home/ms/ko:
total 150
-rwxrwxr-x    1 root     0            77784 May 24  2019 mdrv_mvhe.ko
-rwxrwxr-x    1 root     0            48940 May 24  2019 mdrv_mmfe.ko
-rwxrwxr-x    1 root     0            26200 May 24  2019 mstar_jpe.ko
drwxrwxr-x    2 root     0                0 May 24  2019 .
drwxrwxr-x    3 root     0                0 May 24  2019 ..

/home/yi-hack:
total 1
-rw-------    1 root     0                6 Jan  2  2020 version
-rw-------    1 root     0                4 Jan  2  2020 model_suffix
drwxr-xr-x    8 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwx------    2 root     0                0 Jan  1  1970 bin
drwx------    3 root     0                0 Jan  1  1970 etc
drwx------    2 root     0                0 Jan  1  1970 lib
drwx------    2 root     0                0 Jan  1  1970 sbin
drwx------    2 root     0                0 Jan  1  1970 script
drwx------    7 root     0                0 Jan  1  1970 www

/home/yi-hack/bin:
total 3537
-rwx------    1 root     0          3014150 Jan  2  2020 onvif_srvd
-rwx------    1 root     0           245976 Jan  2  2020 rRTSPServer
-rwx------    1 root     0           190732 Jan  2  2020 dropbearmulti
-rwx------    1 root     0            74144 Jan  2  2020 imggrabber
-rwx------    1 root     0            30740 Jan  2  2020 mosquitto_sub
-rwx------    1 root     0            28684 Jan  2  2020 mosquitto_pub
-rwx------    1 root     0             9008 Jan  2  2020 mqttv4
-rwx------    1 root     0             6952 Jan  2  2020 h264grabber
-rwx------    1 root     0             6732 Jan  2  2020 ipc_cmd
-rwx------    1 root     0             6484 Jan  2  2020 proxychains4
-rwx------    1 root     0             4644 Jan  2  2020 proccgi
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..

/home/yi-hack/etc:
total 3
-rw-------    1 root     0             1281 Jan  2  2020 mqttv4.conf
-rw-------    1 root     0              249 Dec 22  2019 system.conf
-rw-------    1 root     0               92 Dec 22  2019 proxychains.conf
-rw-------    1 root     0               65 Dec 22  2019 camera.conf
drwx------    3 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwx------    2 root     0                0 Jan  1  1970 dropbear

/home/yi-hack/etc/dropbear:
total 0
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    3 root     0                0 Jan  1  1970 ..

/home/yi-hack/lib:
total 71
-rwx------    1 root     0            39292 Jan  2  2020 libmosquitto.so.1
-rwx------    1 root     0            32468 Jan  2  2020 libproxychains4.so
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..

/home/yi-hack/sbin:
total 67
-rwx------    1 root     0            67934 Jan  2  2020 pure-ftpd
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..

/home/yi-hack/script:
total 7
-rwx------    1 root     0             4531 Dec 27  2019 system.sh
-rwx------    1 root     0             1132 Dec 22  2019 system_init.sh
-rwx------    1 root     0              305 Dec 22  2019 cloudAPI
drwx------    2 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..

/home/yi-hack/www:
total 2
-rw-------    1 root     0              659 Jan  2  2020 index.html.gz
lrwxrwxrwx    1 root     0               14 Jan  1  1970 record -> /tmp/sd/record
drwx------    7 root     0                0 Jan  1  1970 .
drwxr-xr-x    8 root     0                0 Jan  1  1970 ..
drwx------    2 root     0                0 Jan  1  1970 cgi-bin
drwx------    2 root     0                0 Jan  1  1970 css
drwx------    2 root     0                0 Jan  1  1970 images
drwx------    2 root     0                0 Jan  1  1970 js
drwx------    2 root     0                0 Jan  1  1970 pages

/home/yi-hack/www/cgi-bin:
total 13
-rwx------    1 root     0             2369 Jan  2  2020 load.sh
-rwx------    1 root     0             1788 Jan  2  2020 status.json
-rwx------    1 root     0             1322 Jan  2  2020 set_configs.sh
-rwx------    1 root     0              937 Jan  2  2020 get_configs.sh
-rwx------    1 root     0              906 Jan  2  2020 camera_settings.sh
-rwx------    1 root     0              798 Jan  2  2020 eventsfile.sh
-rwx------    1 root     0              542 Jan  2  2020 eventsdir.sh
-rwx------    1 root     0              504 Jan  2  2020 snapshot.sh
-rwx------    1 root     0              471 Jan  2  2020 ptz.sh
-rwx------    1 root     0              166 Jan  2  2020 reboot.sh
-rwx------    1 root     0              149 Jan  2  2020 save.sh
-rwx------    1 root     0              106 Jan  2  2020 hostname.js
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    7 root     0                0 Jan  1  1970 ..

/home/yi-hack/www/css:
total 4
-rw-------    1 root     0             3111 Jan  2  2020 all.css.gz
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    7 root     0                0 Jan  1  1970 ..

/home/yi-hack/www/images:
total 58
-rw-------    1 root     0             8565 Jan  2  2020 loading.gif.gz
-rw-------    1 root     0             6300 Jan  2  2020 icon-hd.png.gz
-rw-------    1 root     0             6175 Jan  2  2020 logo.png.gz
-rw-------    1 root     0             5841 Jan  2  2020 touch-icon-iphone-6-plus.png.gz
-rw-------    1 root     0             5402 Jan  2  2020 touch-icon-ipad-pro.png.gz
-rw-------    1 root     0             5100 Jan  2  2020 touch-icon-ipad-retina.png.gz
-rw-------    1 root     0             4243 Jan  2  2020 icon.png.gz
-rw-------    1 root     0             4038 Jan  2  2020 touch-icon-iphone-retina.png.gz
-rw-------    1 root     0             2699 Jan  2  2020 touch-icon-ipad.png.gz
-rw-------    1 root     0             2210 Jan  2  2020 touch-icon-iphone.png.gz
-rw-------    1 root     0             1605 Jan  2  2020 favicon.png.gz
-rw-------    1 root     0              676 Jan  2  2020 arrow-right-bold-box-outline.png.gz
-rw-------    1 root     0              665 Jan  2  2020 arrow-left-bold-box-outline.png.gz
-rw-------    1 root     0              654 Jan  2  2020 arrow-down-bold-box-outline.png.gz
-rw-------    1 root     0              648 Jan  2  2020 arrow-up-bold-box-outline.png.gz
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    7 root     0                0 Jan  1  1970 ..

/home/yi-hack/www/js:
total 34
-rw-------    1 root     0            30169 Jan  2  2020 jquery-3.3.1.min.js.gz
-rw-------    1 root     0             3921 Jan  2  2020 all.js.gz
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    7 root     0                0 Jan  1  1970 ..

/home/yi-hack/www/pages:
total 8
-rw-------    1 root     0             1633 Jan  2  2020 configurations.html.gz
-rw-------    1 root     0             1374 Jan  2  2020 mqtt.html.gz
-rw-------    1 root     0              878 Jan  2  2020 camera_settings.html.gz
-rw-------    1 root     0              478 Jan  2  2020 status.html.gz
-rw-------    1 root     0              428 Jan  2  2020 maintenance.html.gz
-rw-------    1 root     0              369 Jan  2  2020 ptz.html.gz
-rw-------    1 root     0              226 Jan  2  2020 eventsdir.html.gz
-rw-------    1 root     0              223 Jan  2  2020 eventsfile.html.gz
-rw-------    1 root     0              170 Jan  2  2020 snapshot.html.gz
drwx------    2 root     0                0 Jan  1  1970 .
drwx------    7 root     0                0 Jan  1  1970 ..

log.txt:

[
][1/1/0:2:11:141]: dispatch.c(main-5243) hw_type(2)
[
][1/1/0:2:13:675]: rmm.c(msg_proc-4523) pid[193][
][1/1/0:2:13:753]: dispatch.c(main-5303) open_ptz fail[
][1/1/0:2:13:875]: dispatch.c(get_config-1223) got sn(XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX)[
][1/1/0:2:13:875]: dispatch.c(get_config-1224) got pwd()[
][1/1/0:2:13:875]: dispatch.c(get_config-1225) got ssid()[
][1/1/0:2:13:875]: dispatch.c(get_config-1226) got tnp_init_string()[
][1/1/0:2:13:875]: dispatch.c(get_config-1234) reset because no wifi config[
][1/1/0:2:13:875]: dispatch.c(send_saveconfig_msg-426) send_saveconfig_msg msg snd success[
][1/1/0:2:13:875]: dispatch.c(get_config-1281) get_config save conf
[
][1/1/0:2:13:875]: dispatch.c(choose_server-650) in choose_server, region_id = 17, api_server = https://api.us.xiaoyi.com, log_server = http://log.us.xiaoyi.com, sname = familymonitor-y25, dlproto = mius
[
][1/1/0:2:13:875]: dispatch.c(choose_server-650) in choose_server, region_id = 16, api_server = https://api.eu.xiaoyi.com, log_server = http://log.eu.xiaoyi.com, sname = familymonitor-y25, dlproto = mieu
[
][1/1/0:2:13:885]: dispatch.c(main-5385) init ok, cost time(2762 ms)[
][1/1/0:2:13:885]: dispatch.c(save_config-1024) got pwd()()[
][1/1/0:2:13:886]: dispatch.c(save_config-1025) got ssid()()[
][1/1/0:2:13:886]: dispatch.c(save_config-1026) config save finish 1[
][1/1/0:2:14:204]: dispatch.c(p_worker-3204) save_config[
][1/1/0:2:14:710]: rmm.c(init_font-972) font:/home/base/iso8859-1-24x48.bin
[
][1/1/0:2:14:791]: rmm.c(init_font-984) filesize=36864
[
][1/1/0:2:14:792]: rmm.c(init_font-1004) init font /home/base/iso8859-1-24x48.bin ptr size(4)[
][1/1/0:2:14:792]: rmm.c(init_font-972) font:/home/base/iso8859-1-8x16.bin
[
][1/1/0:2:14:792]: rmm.c(init_font-984) filesize=4096
[
][1/1/0:2:14:792]: rmm.c(init_font-1004) init font /home/base/iso8859-1-8x16.bin ptr size(4)[
][1/19/6:41:36:97]: dispatch.c(p_worker-3292) DISPATCH_SET_DEFAULT_TIME 1453185696[
][1/19/6:41:36:847]: rmm.c(rmm_init_isp-1480) pSensorID =8757 S C 2 2
[
][1/19/6:41:38:797]: cloud.c(sys_init-5517) open share mem ok
[
][1/19/6:41:39:43]: oss.c(main-2957) oss stream = ./oss_fast, venc chn = 0x1000[
][1/19/6:41:39:171]: oss.c(main-2957) oss stream = ./oss, venc chn = 0x400[
][1/19/6:41:39:280]: oss.c(main-2957) oss stream = ./oss_lapse, venc chn = 0x2000[
][1/19/6:41:39:389]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:465]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:554]: oss.c(main-2976) fshare_open ok[
][1/19/6:41:39:619]: p2p_tnp.c(main-6653) fshare_open ok[
][1/19/6:41:39:709]: p2p_tnp.c(p2p_set_tnp_init_status-2112) p2p_set_tnp_init_status 1 send_msg ok!
[
][1/19/6:41:39:844]: watch_process.c(get_watch_info-116) check_interval=10
[
][1/19/6:41:39:923]: watch_process.c(get_watch_info-134) process=dispatch;cmd=cd /home/app;./dispatch &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=cloud;cmd=cd /home/app;./cloud &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=rmm;cmd=reboot;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=mp4record;cmd=cd /home/app;./mp4record &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=arp_test;cmd=cd /home/app;./arp_test &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=oss;cmd=cd /home/app;./oss &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=oss_fast;cmd=cd /home/app;./oss_fast &;
[
][1/19/6:41:39:924]: watch_process.c(get_watch_info-134) process=oss_lapse;cmd=cd /home/app;./oss_lapse &;
[
][1/19/6:41:39:924]: dispatch.c(do_mq_process-5058) invalid msg 0x1002
[
][1/19/6:41:40:33]: rmm.c(send_wait_msg-619) msg snd success[
][1/19/6:41:41:879]: rmm.c(msg_proc-4563) got RMM_SPEAK_WAIT[
][1/19/6:41:49:845]: watch_process.c(check_watch_info-171) arp_test crashed![
][1/19/6:41:52:814]: rmm.c(zbar_proc-4407) decoded QR-Code symbol "XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX"
[
][1/19/6:41:52:923]: rmm.c(trans_info-441) trans_json info=b=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX;key=&p=
[
][1/19/6:41:52:923]: rmm.c(trans_info-513) trans_json result=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX
[
][1/19/6:41:52:923]: rmm.c(trans_info-441) trans_json info=b=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX;key=&s=
[
][1/19/6:41:52:923]: rmm.c(trans_info-513) trans_json result=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX
[
][1/19/6:41:52:924]: rmm.c(trans_info-441) trans_json info=b=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX;key=b=
[
][1/19/6:41:52:924]: rmm.c(trans_info-513) trans_json result=XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX
[
][1/19/6:41:52:924]: rmm.c(zbar_proc-4430) rmm got /tmp/got_wpa ssid(XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX) pwd(XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX) bind(XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX)
[
][1/19/6:41:52:924]: dispatch.c(do_mq_process-5058) invalid msg 0x1005
[
][1/19/6:41:53:27]: rmm.c(send_scanok_msg-646) msg snd success[
][1/19/6:41:53:84]: dispatch.c(choose_server-650) in choose_server, region_id = 16, api_server = https://api.eu.xiaoyi.com, log_server = http://log.eu.xiaoyi.com, sname = familymonitor-y25, dlproto = mieu
[
][1/19/6:41:53:143]: rmm.c(send_wifi_conf_msg-676) msg snd success[
][1/19/6:41:53:204]: dispatch.c(do_mq_process-3413) got pwd(XXXXXXXXXXXXXXXXXREMOVEDXXXXXXXXXXXXX)[
][1/19/6:41:53:256]: dispatch.c(send_connectting_msg-138) msg snd success[
][1/19/6:41:53:256]: dispatch.c(do_mq_process-5058) invalid msg 0x1004
[
][1/19/6:41:53:692]: dispatch.c(do_monitor_wifi-1668) wifi disconnected, now reconnect wifi
[
][1/19/6:41:55:226]: rmm.c(msg_proc-4648) got RMM_SPEAK_SCAN_OK[
][1/19/6:41:57:200]: rmm.c(msg_proc-4583) got RMM_SPEAK_CONNECTTING[
][1/19/6:41:59:862]: watch_process.c(check_watch_info-171) cloud crashed![
][1/19/6:41:59:913]: watch_process.c(check_watch_info-171) p2p_tnp crashed![
][1/19/6:42:2:836]: dispatch.c(do_monitor_wifi-1610) wpa may crashed, now reset
[
][1/19/6:42:2:928]: dispatch.c(do_monitor_wifi-1615) no usb dev

lsmod.txt:

Module                  Size  Used by    Not tainted
pid_list                1192  1 
cpld_periph             5431  2 
cfg80211              168440  0 
spi_infinity            6847  0 
mdrv_crypto            16314  1 
mdrv_cryptodev          9990  0 
kdrv_sdmmc             25741  0 
vfat                    7664  1 
fat                    43552  1 vfat
mmc_block              20848  2 
mmc_core               71325  2 kdrv_sdmmc,mmc_block
ehci_hcd               37399  0 
usbcore               121179  1 ehci_hcd
usb_common              1961  1 usbcore
mstar_jpe              18357  0 
mdrv_mvhe              63848  0 
mdrv_mmfe              38863  8 

ps1.txt:

PID   USER     TIME  COMMAND
    1 root      0:02 /init
    2 root      0:00 [kthreadd]
    3 root      0:00 [ksoftirqd/0]
    4 root      0:00 [kworker/0:0]
    5 root      0:00 [kworker/0:0H]
    6 root      0:00 [kworker/u2:0]
    7 root      0:00 [rcu_preempt]
    8 root      0:00 [rcu_sched]
    9 root      0:00 [rcu_bh]
   10 root      0:00 [watchdog/0]
   11 root      0:00 [khelper]
   12 root      0:00 [writeback]
   13 root      0:00 [crypto]
   14 root      0:00 [bioset]
   15 root      0:00 [kblockd]
   16 root      0:00 [kworker/0:1]
   17 root      0:00 [kswapd0]
   18 root      0:00 [fsnotify_mark]
   31 root      0:00 [SCLDAZA_THREAD]
   32 root      0:00 [VIPDazaTask]
   33 root      0:00 [kworker/u2:1]
   36 root      0:00 [deferwq]
   37 root      0:00 [kworker/u2:2]
   39 root      0:00 /bin/ueventd
   40 root      0:01 [jffs2_gcd_mtd3]
   41 root      0:00 [jffs2_gcd_mtd2]
   79 root      0:00 [kworker/0:2]
   80 root      0:00 [mmcqd/0]
   91 root      0:00 [cryptodev_queue]
  127 root      0:00 [spi0]
  158 root      0:00 [cfg80211]
  181 root      0:00 ./log_server
  182 root      0:00 ./dispatch
  191 root      0:15 ./rmm
  280 root      0:00 [kworker/u2:3]
  286 root      0:00 ./mp4record
  289 root      0:00 ./oss
  290 root      0:00 ./oss_fast
  291 root      0:00 ./oss_lapse
  292 root      0:00 ./watch_process
  300 root      0:00 httpd -p 8080 -h /home/yi-hack/www/ -c /tmp/httpd.conf
  310 root      0:00 telnetd
  332 root      0:00 pure-ftpd (SERVER)
  367 root      0:00 dropbear -R
  403 root      0:00 ntpd -p pool.ntp.org
  407 root      0:00 h264grabber -r high
  408 root      0:00 rRTSPServer
  425 root      0:00 ./arp_test
  574 root      0:00 sh -c rm /tmp/sd/log_no_wifi_dev.tar.gz;rm /tmp/sd/no_wifi_dev -r;mkdir /tmp/sd/no_wifi_dev;ps > /tmp/sd/no_wifi_dev/ps1.txt;cp /home/homever /tmp/sd/no_wifi_dev;lsmod > /tmp/sd/no_wifi_dev/lsmod.txt;ls -laSR /home > /tmp/sd/no_wifi_dev/file.txt;cp /tmp/wpa_supplicant.conf  /tmp/sd/no_wifi_dev;cp /tmp/log.txt /tmp/sd/no_wifi_dev;cp /tmp/log_oss.txt /tmp/sd/no_wifi_dev;df /home > /tmp/sd/no_wifi_dev/df.txt;df / >> /tmp/sd/no_wifi_dev/df.txt;tar -cf /tmp/sd/log_no_wifi_dev.tar.gz /tmp/sd/no_wifi_dev;mkdir /tmp/sd/log; mv /tmp/sd/log_no_wifi_dev.tar.gz /tmp/sd/log;rm /tmp/sd/no_wifi_dev -r &
  578 root      0:00 ps
roleoroleo commented 4 years ago

In your mod list the wifi driver is absent. And the line:

[1/19/6:42:2:928]: dispatch.c(do_monitor_wifi-1615) no usb dev

is very strange. It seems an hardware failure. Did you try the cam before the hack? It was working properly?

Rocket200 commented 4 years ago

i have bevor maybe Same Problem One from 2 4FUS sometimes i hear the cam want connect to Wifi. but the other 4FUS Never have this Problem

I make this to solved the Problem: I enabled the Yi Cloud in the Yi Hack webinterface and than i connect to the cam with the Yi App and Configure there all. After a Reboot i Go back and disabled the Yi Cloud and now all working fine. The Cam Never speak again: please connect .... 👌

enrysan0 commented 4 years ago

In your mod list the wifi driver is absent. And the line:

[1/19/6:42:2:928]: dispatch.c(do_monitor_wifi-1615) no usb dev

is very strange. It seems an hardware failure. Did you try the cam before the hack? It was working properly?

Yes before the hack I used the camera for all the summer withouth problem!

roleoroleo commented 4 years ago

Please try the Rocket2000 tip. If doesn't work, post a dump of kernel log:

cat /proc/kmsg

immediately after the boot. And the content (cleaned) of /tmp/wpa_supplicant.conf:

cat /tmp/wpa_supplicant.conf
enrysan0 commented 4 years ago

i have bevor maybe Same Problem One from 2 4FUS sometimes i hear the cam want connect to Wifi. but the other 4FUS Never have this Problem

I make this to solved the Problem: I enabled the Yi Cloud in the Yi Hack webinterface and than i connect to the cam with the Yi App and Configure there all. After a Reboot i Go back and disabled the Yi Cloud and now all working fine. The Cam Never speak again: please connect .... 👌

This thing don't even get an ip address from the router. There is no "Yi Hack webinterface" to connect. The camera RESET itself 5 seconds it sees the QRCode. In the log there is this line: "wpa may crashed, now reset". It seems like the camera reset because WPA service crashed.

enrysan0 commented 4 years ago

Please try the Rocket2000 tip. If doesn't work, post a dump of kernel log:

cat /proc/kmsg

immediately after the boot. And the content (cleaned) of /tmp/wpa_supplicant.conf:

cat /tmp/wpa_supplicant.conf

you mean using putty?

From the sd card wpa_supplicant.conf file seems good:

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="XXXXXXREMOVEDXXXXXX"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="XXXXXXREMOVEDXXXXXX"
}
roleoroleo commented 4 years ago

Yes, using putty. wpa_supplicant is ok.

enrysan0 commented 4 years ago

Yes, using putty.

Tried untill now to get access using USB to Serial Adaptor. I think i made some mistake wiring the UART: in putty console I can only read the boot but I have no way to write in the concole.

roleoroleo commented 4 years ago

Probably the TX pin is wrong. However putty via ssh or telnet is also fine.

egs2003 commented 4 years ago

61 perhaps your pcb has the same pinout

roleoroleo commented 4 years ago

@enrysan0 Please try the new release (0.2.4).

Rocket200 commented 4 years ago

@enrysan0 Please try the new release (0.2.4).

Release Notes ?

roleoroleo commented 4 years ago

Added support for PTZ presets. Added experimental TZ support. Added dmesg command. Fixes...

enrysan0 commented 4 years ago

@enrysan0 Please try the new release (0.2.4).

Same issue, same log. No changes:

][1/19/6:41:54:592]: dispatch.c(do_monitor_wifi-1610) wpa may crashed, now reset
[
][1/19/6:41:54:693]: dispatch.c(do_monitor_wifi-1615) no usb dev