GithubHelp home page GithubHelp logo

rootfs_h20 and home_h20 about yi-hack-v3 HOT 111 CLOSED

shadow-1 avatar shadow-1 commented on August 13, 2024
rootfs_h20 and home_h20

from yi-hack-v3.

Comments (111)

szefkamil avatar szefkamil commented on August 13, 2024 1

@vaidyasr - please find in google which proxy servers working and put it, I will check when i comeback home from my office at afternoon

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024 1

@vaidyasr Ah perhaps that is the case that the WiFi settings do not get saved after an unsuccessful pair. I have not tested it to see. I have always been able to pair the devices with a working proxy server, although sometimes it takes a bit longer if the proxy server is slow.

from yi-hack-v3.

add210 avatar add210 commented on August 13, 2024

Never mind. Found them.

However, I still get "This camera can only be used within China" alert.

My start_reset log is as follow:

[./dispatch][1/1/0:0:11:145]: hw_type(2)
[./dispatch][1/1/0:0:13:945]: got sn(5vcrZ1QsxYoBu2RLXE6GQxw4xRSFhzdc)[./dispatch][1/1/0:0:13:946]: got pwd()[./dispatch][1/1/0:0:13:947]: got ssid()[./dispatch][1/1/0:0:13:948]: got tnp_init_string()[./dispatch][1/1/0:0:13:949]: reset because no wifi config[./dispatch][1/1/0:0:13:951]: send_saveconfig_msg msg snd success[./dispatch][1/1/0:0:13:951]: get_config save conf
[./dispatch][1/1/0:0:14:24]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./dispatch][1/1/0:0:14:24]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./dispatch][1/1/0:0:14:45]: init ok, cost time(2899 ms)[./dispatch][1/1/0:0:14:58]: got pwd()()[./dispatch][1/1/0:0:14:68]: got ssid()()[./dispatch][1/1/0:0:14:69]: config save finish 1[./rmm][1/1/0:0:14:158]: 0x97
[./dispatch][1/1/0:0:14:393]: save_config[./rmm][1/1/0:0:14:796]: ai init ok!
[./rmm][1/1/0:0:14:797]: HI_MPI_AENC_AacInitHI_MPI_AENC_AacInit end
[./rmm][1/1/0:0:14:867]: rmm_init_aenc init ok!
[./rmm][1/1/0:0:14:941]: rmm_init_adec init ok!
[./rmm][1/1/0:0:14:942]:
system call back libsns_ov9732.so_____________________
[./rmm][1/1/0:0:15:66]: sns_call_backsns_call_back
[./rmm][1/1/0:0:15:68]: HI_MPI_ISP_3A SUCCESS
[./rmm][1/1/0:0:15:234]:
Gamma test for table 4_____
[./rmm][1/1/0:0:15:257]:
---------Rock_COMM_VENC_BindVpss VeChn = 0, VpssGrp = 0, VpssChn = 0
[./rmm][1/1/0:0:15:260]: rc set success! venc(0)
[./rmm][1/1/0:0:15:276]:
---------Rock_COMM_VENC_BindVpss VeChn = 1, VpssGrp = 0, VpssChn = 1
[./rmm][1/1/0:0:15:277]: rc set success! venc(1)
[./rmm][1/1/0:0:15:280]: HI_MPI_RGN_Create 2 success![./rmm][1/1/0:0:15:281]: rmm_vpp_create 2 success![./rmm][1/1/0:0:15:282]: rmm_init success[./rmm][1/1/0:0:15:295]: font:/home/base/iso8859-1-16x32.bin
[./rmm][1/1/0:0:15:297]: filesize=16384
[./rmm][1/1/0:0:15:316]: init font /home/base/iso8859-1-16x32.bin ptr size(4)[./rmm][1/1/0:0:15:317]: font:/home/base/iso8859-1-8x16.bin
[./rmm][1/1/0:0:15:318]: filesize=4096
[./rmm][1/1/0:0:15:336]: init font /home/base/iso8859-1-8x16.bin ptr size(4)[./rmm][1/1/0:0:15:338]: load_font success[./rmm][1/1/0:0:15:351]: msg_proc success[./rmm][1/1/0:0:15:354]:
Gamma test for table 1_____
[./rmm][1/1/0:0:15:386]: pid[956][./rmm][1/1/0:0:15:387]: pid[954][./rmm][1/1/0:0:15:393]: pid[955][./dispatch][1/1/0:0:15:455]: invalid msg 0x1002
[./rmm][1/1/0:0:15:459]: got RMM_SPEAK_WAIT[./rmm][1/1/0:0:15:521]: msg snd success[./cloud][1/1/0:0:15:836]: open share mem ok
[./p2p_tnp][1/1/0:0:16:607]: p2p_set_tnp_init_status 1 send_msg ok!
[./dispatch][1/19/6:41:36:103]: DISPATCH_SET_DEFAULT_TIME 1453185696[./watch_process][1/19/6:41:36:604]: check_interval=10
[./watch_process][1/19/6:41:36:840]: process=dispatch;cmd=cd /home/app;./dispatch &;
[./watch_process][1/19/6:41:36:840]: process=cloud;cmd=cd /home/app;./cloud &;
[./watch_process][1/19/6:41:36:840]: process=rmm;cmd=reboot;
[./watch_process][1/19/6:41:36:841]: process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[./watch_process][1/19/6:41:36:841]: process=mp4record;cmd=cd /home/app;./mp4record &;
[./watch_process][1/19/6:41:36:841]: process=arp_test;cmd=cd /home/app;./arp_test &;
[./watch_process][1/19/6:41:46:641]: arp_test crashed![./dispatch][1/19/6:41:56:561]: invalid msg 0x1002
[./rmm][1/19/6:41:56:564]: got RMM_SPEAK_WAIT[./rmm][1/19/6:41:56:565]: msg snd success[./dispatch][1/19/6:42:18:669]: invalid msg 0x1002
[./rmm][1/19/6:42:18:671]: got RMM_SPEAK_WAIT[./rmm][1/19/6:42:18:672]: msg snd success[./dispatch][1/19/6:42:40:769]: invalid msg 0x1002
[./rmm][1/19/6:42:40:770]: got RMM_SPEAK_WAIT[./rmm][1/19/6:42:40:771]: msg snd success[./dispatch][1/19/6:42:42:745]: rcd may crashed
[./dispatch][1/19/6:43:2:835]: invalid msg 0x1002
[./rmm][1/19/6:43:2:837]: got RMM_SPEAK_WAIT[./rmm][1/19/6:43:2:838]: msg snd success[./dispatch][1/19/6:43:25:16]: invalid msg 0x1002
[./rmm][1/19/6:43:25:18]: got RMM_SPEAK_WAIT[./rmm][1/19/6:43:25:19]: msg snd success[./rmm][1/19/6:43:39:83]: decoded QR-Code symbol "b=itZ3kx7c3TxtFXoe&s=aG9tZTIxMA==&p=alYkIT4LAV95"
[./rmm][1/19/6:43:39:102]: trans_json info=b=itZ3kx7c3TxtFXoe&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=&p=
[./rmm][1/19/6:43:39:103]: trans_json result=alYkIT4LAV95
[./rmm][1/19/6:43:39:104]: trans_json info=b=itZ3kx7c3TxtFXoe&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=&s=
[./rmm][1/19/6:43:39:105]: trans_json result=aG9tZTIxMA==
[./rmm][1/19/6:43:39:106]: trans_json info=b=itZ3kx7c3TxtFXoe&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=b=
[./rmm][1/19/6:43:39:107]: trans_json result=itZ3kx7c3TxtFXoe
[./rmm][1/19/6:43:39:108]: rmm got /tmp/got_wpa ssid(home210) pwd(Rongmang1) bind(itZ3kx7c3TxtFXoe)
[./dispatch][1/19/6:43:39:118]: invalid msg 0x1005
[./rmm][1/19/6:43:39:121]: got RMM_SPEAK_SCAN_OK[./rmm][1/19/6:43:39:122]: msg snd success[./dispatch][1/19/6:43:39:124]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./rmm][1/19/6:43:39:125]: msg snd success[./dispatch][1/19/6:43:39:194]: msg snd success[./dispatch][1/19/6:43:39:194]: invalid msg 0x1004
[./rmm][1/19/6:43:39:198]: got RMM_SPEAK_CONNECTTING[./dispatch][1/19/6:43:39:546]: wifi disconnected, now reconnect wifi
[./dispatch][1/19/6:43:45:625]: wpa connected , now dhcp
[./dispatch][1/19/6:43:46:34]: wpa connected , now dhcp finish
[./watch_process][1/19/6:43:46:784]: cloud crashed![./watch_process][1/19/6:43:46:785]: p2p_tnp crashed![./dispatch][1/19/6:43:47:66]: bssid(fc:3f:7c:29:0d:94)[./dispatch][1/19/6:43:47:66]: ip(192.168.1.94)[./dispatch][1/19/6:43:47:91]: gw(192.168.1.1)[./dispatch][1/19/6:43:48:157]: gwmac(FC:3F:7C:29:D:8B)[./dispatch][1/19/6:43:48:183]: mask(255.255.255.0)[./dispatch][1/19/6:43:48:251]: mac(B0:D5:9D:7C:8A:AA)[./dispatch][1/19/6:43:48:330]: signal_quality(83)[./dispatch][1/19/6:43:48:330]: invalid msg 0x1006
[./rmm][1/19/6:43:48:333]: got RMM_SPEAK_WIFI_CONNECTTED[./dispatch][1/19/6:43:48:337]: msg snd success[./dispatch][1/19/6:43:48:914]: rcd may crashed
[./dispatch][1/19/6:43:50:85]: signal_quality(83)[./rmm][1/19/6:43:52:255]:
Gamma test for table 4_____
[./rmm][1/19/6:43:52:256]: zbar_proc success[./rmm][1/19/6:43:52:259]: pid[929][./rmm][1/19/6:43:52:270]: pid[1157][./rmm][1/19/6:43:52:272]: pid[1156][./rmm][1/19/6:43:52:277]: pid[1155][./rmm][1/19/6:43:52:279]: AiGetLPCMStream start
[./rmm][1/19/6:43:52:289]: HI_MPI_RGN_Create 1 success![./rmm][1/19/6:43:52:294]: pid[1154][./rmm][1/19/6:43:52:295]: HI_MPI_RGN_Create 0 success![./rmm][1/19/6:43:52:296]: rmm_vpp_create 0 success![./rmm][1/19/6:43:52:337]: rmm_vpp_create 1 success![./rmm][1/19/6:43:52:338]: rmm_vpp_create_bmp 1 success![./rmm][1/19/6:43:52:338]: VencGetH264Stream vechn=1
[./rmm][1/19/6:43:52:354]: pid[1158][./rmm][1/19/6:43:52:358]: rmm_vpp_create_bmp 0 success![./rmm][1/19/6:43:52:369]: VencGetH264Stream vechn=0
[./rmm][1/19/6:43:52:429]: set ai volume via himm 0x201200d8 0x0d1ec001[./rmm][1/19/6:43:52:467]: set ai volume via himm 0x201200c8 0x23c2e[./rmm][1/19/6:43:52:502]: set ao volume via himm 0x201200d4 0x03122424[./rmm][1/19/6:43:53:972]: got a new motion start
[./rmm][1/19/6:43:54:3]: msg snd success[./watch_process][1/19/6:43:56:795]: cloud crashed![./watch_process][1/19/6:43:56:813]: p2p_tnp crashed![./cloud][1/19/6:43:56:974]: open share mem ok
[./cloud][1/19/6:43:57:576]: cmd=/home/app/cloudAPI -c 136 -url http://api.xiaoyi.com/v2/ipc/sync_time
[./p2p_tnp][1/19/6:43:57:577]: p2p_set_tnp_init_status 1 send_msg ok!
[./p2p_tnp][4/6/2:17:7:142]: p2p_set_tnp_init_status 2 send_msg ok!
[./p2p_tnp][4/6/2:17:7:142]: p2p_set_tnp_init_status 3 send_msg ok!
[./p2p_tnp][4/6/2:17:7:142]: PPPP_API Version: 2.1.1.0
[./cloud][4/6/2:17:7:143]: req_info=http://api.xiaoyi.com/v2/ipc/sync_time?hmac=BIke7GBrJXU6Qe41glDqGUkYNp8%3D&seq=9
{"time":1491445027941,"code":"20000"}
[./cloud][4/6/2:17:7:143]: msg snd success[./cloud][4/6/2:17:7:143]: yi_sync_time ok!
[./cloud][4/6/2:17:7:144]: sync_time ok!
[./cloud][4/6/2:17:7:144]: yi_proc ok[./cloud][4/6/2:17:7:144]: cmd=/home/app/cloudAPI -c 311 -url https://api.xiaoyi.com/v4/ipc/check_did -uid TNPCHNA-837958-WGTUY -keySec GzzBXpDGpvHkgRed
[./dispatch][4/6/2:17:7:299]: DISPATCH_SET_TIME 1491445027 /home/base/tools/rtctool -s time 2017/4/6/2/17/7[./p2p_tnp][4/6/2:17:7:606]: PPPP_NetworkDetect() ret = 0
[./p2p_tnp][4/6/2:17:7:606]: -------------- NetInfo: -------------------
[./p2p_tnp][4/6/2:17:7:607]: Internet Reachable : YES
[./p2p_tnp][4/6/2:17:7:607]: P2P Server IP resolved : YES
[./p2p_tnp][4/6/2:17:7:607]: P2P Server Hello Ack : YES
[./p2p_tnp][4/6/2:17:7:608]: Local NAT Type :[./p2p_tnp][4/6/2:17:7:608]: Unknow
[./p2p_tnp][4/6/2:17:7:608]: My Wan IP : 49.49.247.91
[./p2p_tnp][4/6/2:17:7:619]: My Lan IP : 192.168.1.94
[./p2p_tnp][4/6/2:17:7:620]: InitStr(MJFBIBLBICELLEHOOKFGPPECGLCJFKHEGKEALBJNIJBJCOAGPIIIBDMDPBDEAELAOGLCCBPBMKCNAHDPAKBM)
[./p2p_tnp][4/6/2:17:7:620]: did(TNPCHNA-837958-WGTUY)
[./p2p_tnp][4/6/2:17:7:630]: p2p_set_tnp_init_status 4 send_msg ok!
[./cloud][4/6/2:17:8:586]: req_info=https://api.xiaoyi.com/v4/ipc/check_did?hmac=w7bNMt325wezCDHjEdiVeYbNsQI%3D&seq=9&uid=3f02a28ab5b303ac213bbcb8d23b67da&timestamp=1491445027
{"allow":false,"code":"20000"}
[./dispatch][4/6/2:17:8:586]: set DISPATCH_SET_BAN_DEVICE
[./cloud][4/6/2:17:8:606]: ban region!
[./dispatch][4/6/2:17:8:606]: invalid msg 0x100d
[./rmm][4/6/2:17:8:642]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:17:17:649]: check_login fail 0
[./p2p_tnp][4/6/2:17:27:659]: check_login fail 0
[./dispatch][4/6/2:17:28:620]: invalid msg 0x100d
[./rmm][4/6/2:17:28:625]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:17:37:669]: check_login fail 0
[./p2p_tnp][4/6/2:17:47:679]: check_login fail 0
[./dispatch][4/6/2:17:48:630]: invalid msg 0x100d
[./rmm][4/6/2:17:48:634]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:17:57:688]: check_login fail 0
[./dispatch][4/6/2:18:4:848]: rcd may crashed
[./p2p_tnp][4/6/2:18:7:698]: check_login fail 0
[./dispatch][4/6/2:18:8:639]: invalid msg 0x100d
[./rmm][4/6/2:18:8:643]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:18:17:707]: check_login fail 0
[./p2p_tnp][4/6/2:18:27:717]: check_login fail 0
[./dispatch][4/6/2:18:28:649]: invalid msg 0x100d
[./rmm][4/6/2:18:28:653]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:18:37:727]: check_login fail 0
[./p2p_tnp][4/6/2:18:47:737]: check_login fail 0
[./dispatch][4/6/2:18:48:658]: invalid msg 0x100d
[./rmm][4/6/2:18:48:662]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:18:57:746]: check_login fail 0
[./p2p_tnp][4/6/2:19:7:756]: check_login fail 0
[./dispatch][4/6/2:19:8:669]: invalid msg 0x100d
[./rmm][4/6/2:19:8:677]: got RMM_SPEAK_BAN_DEVICE[./dispatch][4/6/2:19:11:484]: rcd may crashed
[./p2p_tnp][4/6/2:19:17:771]: check_login fail 0
[./p2p_tnp][4/6/2:19:27:776]: check_login fail 0
[./dispatch][4/6/2:19:28:678]: invalid msg 0x100d
[./rmm][4/6/2:19:28:683]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:19:37:786]: check_login fail 0
[[recbackup]][4/6/2:19:46:909]: cifs_init: 0[[recbackup]][4/6/2:19:47:138]: init fail[./p2p_tnp][4/6/2:19:47:796]: check_login fail 0
[./dispatch][4/6/2:19:48:688]: invalid msg 0x100d
[./rmm][4/6/2:19:48:693]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:19:57:805]: check_login fail 0
[./p2p_tnp][4/6/2:20:7:815]: check_login fail 0
[./dispatch][4/6/2:20:8:698]: invalid msg 0x100d
[./rmm][4/6/2:20:8:702]: got RMM_SPEAK_BAN_DEVICE[./p2p_tnp][4/6/2:20:17:825]: check_login fail 0
[./dispatch][4/6/2:20:18:161]: rcd may crashed
[./p2p_tnp][4/6/2:20:27:834]: check_login fail 0
[./p2p_tnp][4/6/2:20:37:845]: check_login fail 0
[./dispatch][4/6/2:20:46:631]: check reset, now ding reset[./dispatch][4/6/2:20:46:632]: do reset save conf finish[./rmm][4/6/2:20:47:21]: got a new motion start
[./dispatch][4/6/2:20:47:34]: g_dispatch_info.mmap_info->motion_type =0[./rmm][4/6/2:20:47:35]: msg snd success[./cloud][4/6/2:20:47:317]:
got a motion

and my wifi_connected log is as follow:

[./dispatch][4/6/2:21:8:40]: hw_type(2)
[./dispatch][4/6/2:21:10:828]: got sn(dwNjwYHe8FtHaQ7dtwN7l54OCRzRSPGw)[./dispatch][4/6/2:21:10:829]: got pwd()[./dispatch][4/6/2:21:10:830]: got ssid()[./dispatch][4/6/2:21:10:831]: got tnp_init_string()[./dispatch][4/6/2:21:10:832]: reset because no wifi config[./dispatch][4/6/2:21:10:834]: send_saveconfig_msg msg snd success[./dispatch][4/6/2:21:10:834]: get_config save conf
[./dispatch][4/6/2:21:10:885]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./dispatch][4/6/2:21:10:885]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./dispatch][4/6/2:21:10:906]: init ok, cost time(2897 ms)[./dispatch][4/6/2:21:10:955]: got pwd()()[./dispatch][4/6/2:21:10:958]: got ssid()()[./dispatch][4/6/2:21:10:959]: config save finish 1[./rmm][4/6/2:21:11:31]: 0x97
[./dispatch][4/6/2:21:11:277]: save_config[./rmm][4/6/2:21:11:716]: ai init ok!
[./rmm][4/6/2:21:11:717]: HI_MPI_AENC_AacInitHI_MPI_AENC_AacInit end
[./rmm][4/6/2:21:11:816]: rmm_init_aenc init ok!
[./rmm][4/6/2:21:11:878]: rmm_init_adec init ok!
[./rmm][4/6/2:21:11:879]:
system call back libsns_ov9732.so_____________________
[./rmm][4/6/2:21:12:28]: sns_call_backsns_call_back
[./rmm][4/6/2:21:12:29]: HI_MPI_ISP_3A SUCCESS
[./rmm][4/6/2:21:12:185]:
Gamma test for table 4_____
[./rmm][4/6/2:21:12:193]:
---------Rock_COMM_VENC_BindVpss VeChn = 0, VpssGrp = 0, VpssChn = 0
[./rmm][4/6/2:21:12:207]: rc set success! venc(0)
[./rmm][4/6/2:21:12:209]:
---------Rock_COMM_VENC_BindVpss VeChn = 1, VpssGrp = 0, VpssChn = 1
[./rmm][4/6/2:21:12:210]: rc set success! venc(1)
[./rmm][4/6/2:21:12:225]: HI_MPI_RGN_Create 2 success![./rmm][4/6/2:21:12:226]: rmm_vpp_create 2 success![./rmm][4/6/2:21:12:228]: rmm_init success[./rmm][4/6/2:21:12:229]: font:/home/base/iso8859-1-16x32.bin
[./rmm][4/6/2:21:12:246]: filesize=16384
[./rmm][4/6/2:21:12:263]: init font /home/base/iso8859-1-16x32.bin ptr size(4)[./rmm][4/6/2:21:12:265]: font:/home/base/iso8859-1-8x16.bin
[./rmm][4/6/2:21:12:266]: filesize=4096
[./rmm][4/6/2:21:12:273]: init font /home/base/iso8859-1-8x16.bin ptr size(4)[./rmm][4/6/2:21:12:274]: load_font success[./rmm][4/6/2:21:12:276]: msg_proc success[./rmm][4/6/2:21:12:287]:
Gamma test for table 1_____
[./rmm][4/6/2:21:12:288]: pid[952][./rmm][4/6/2:21:12:289]: pid[953][./rmm][4/6/2:21:12:291]: pid[954][./dispatch][4/6/2:21:12:357]: invalid msg 0x1002
[./rmm][4/6/2:21:12:361]: got RMM_SPEAK_WAIT[./rmm][4/6/2:21:12:362]: msg snd success[./cloud][4/6/2:21:12:962]: open share mem ok
[./p2p_tnp][4/6/2:21:13:455]: p2p_set_tnp_init_status 1 send_msg ok!
[./watch_process][4/6/2:21:14:362]: check_interval=10
[./watch_process][4/6/2:21:14:558]: process=dispatch;cmd=cd /home/app;./dispatch &;
[./watch_process][4/6/2:21:14:558]: process=cloud;cmd=cd /home/app;./cloud &;
[./watch_process][4/6/2:21:14:559]: process=rmm;cmd=reboot;
[./watch_process][4/6/2:21:14:559]: process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[./watch_process][4/6/2:21:14:559]: process=mp4record;cmd=cd /home/app;./mp4record &;
[./watch_process][4/6/2:21:14:560]: process=arp_test;cmd=cd /home/app;./arp_test &;
[./watch_process][4/6/2:21:24:373]: arp_test crashed![./dispatch][4/6/2:21:34:453]: invalid msg 0x1002
[./rmm][4/6/2:21:34:457]: got RMM_SPEAK_WAIT[./rmm][4/6/2:21:34:458]: msg snd success[./rmm][4/6/2:21:55:353]: decoded QR-Code symbol "b=CNBSKy3bZv0ItWYk&s=aG9tZTIxMA==&p=alYkIT4LAV95"
[./rmm][4/6/2:21:55:354]: trans_json info=b=CNBSKy3bZv0ItWYk&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=&p=
[./rmm][4/6/2:21:55:355]: trans_json result=alYkIT4LAV95
[./rmm][4/6/2:21:55:356]: trans_json info=b=CNBSKy3bZv0ItWYk&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=&s=
[./rmm][4/6/2:21:55:357]: trans_json result=aG9tZTIxMA==
[./rmm][4/6/2:21:55:358]: trans_json info=b=CNBSKy3bZv0ItWYk&s=aG9tZTIxMA==&p=alYkIT4LAV95;key=b=
[./rmm][4/6/2:21:55:359]: trans_json result=CNBSKy3bZv0ItWYk
[./rmm][4/6/2:21:55:360]: rmm got /tmp/got_wpa ssid(home210) pwd(Rongmang1) bind(CNBSKy3bZv0ItWYk)
[./dispatch][4/6/2:21:55:366]: invalid msg 0x1005
[./rmm][4/6/2:21:55:370]: got RMM_SPEAK_SCAN_OK[./rmm][4/6/2:21:55:371]: msg snd success[./dispatch][4/6/2:21:55:374]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-h19, dlproto = qiniu
[./rmm][4/6/2:21:55:375]: msg snd success[./dispatch][4/6/2:21:55:445]: msg snd success[./dispatch][4/6/2:21:55:446]: invalid msg 0x1004
[./rmm][4/6/2:21:55:450]: got RMM_SPEAK_CONNECTTING[./dispatch][4/6/2:21:56:469]: wifi disconnected, now reconnect wifi
[./watch_process][4/6/2:22:4:431]: cloud crashed![./watch_process][4/6/2:22:4:431]: p2p_tnp crashed![./dispatch][4/6/2:22:4:789]: wpa connected , now dhcp
[./dispatch][4/6/2:22:5:172]: wpa connected , now dhcp finish
[./dispatch][4/6/2:22:6:203]: bssid(fc:3f:7c:29:0d:94)[./dispatch][4/6/2:22:6:203]: ip(192.168.1.94)[./dispatch][4/6/2:22:6:227]: gw(192.168.1.1)[./dispatch][4/6/2:22:7:294]: gwmac(FC:3F:7C:29:D:8B)[./dispatch][4/6/2:22:7:319]: mask(255.255.255.0)[./dispatch][4/6/2:22:7:386]: mac(B0:D5:9D:7C:8A:AA)[./dispatch][4/6/2:22:7:464]: signal_quality(85)[./dispatch][4/6/2:22:7:464]: invalid msg 0x1006
[./rmm][4/6/2:22:7:467]: got RMM_SPEAK_WIFI_CONNECTTED[./dispatch][4/6/2:22:7:468]: msg snd success

My camera IP is 192.168.1.94, but I cannot connect to it at all.

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@add210

If you are still getting the alert "This camera can only be used within China", then both images haven't flashed successfully.

Please ensure the following:
(1) you have Yi black dome camera 1080p
(2) you are using SD card of 16GB or less
(3) your SD card is formatted to FAT32
(4) the file names stored on SD root are exactly "rootfs_h20" and "home_h20"
(5) sometimes if you use Windows computer it tends to rename downloaded files to e.g. "rootfs_h20 (2)" etc. Make sure your files on SD card are named exactly "rootfs_h20" and "home_h20"
(6) Insert the SD card, power cycle the camera and ensure that you don't interrupt the process.
(7) After booting up again, it shouldn't give you that annoying alert again. Now it's time to change the config file as shadow-1 explained in his tutorial.

Good luck

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

The files can be downloaded from:
https://github.com/shadow-1/yi-hack-v3/releases

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@batrarobin is absolutely correct with the procedure.

@add210
I have noticed you mentioned that you have a Yi Dome camera.

At the moment, only the Yi 1080p Dome (black) camera is supported. I have also gotten it to work on the Yi 1080p Home v1 camera with help from others and will update this repository to officially support it.

To support the Yi Dome (white) camera. I will need a little help from someone with terminal access through serial port. There are small differences between the 1080p and the 720p Dome cameras. I only have the Yi 1080p Dome camera to test with.

from yi-hack-v3.

add210 avatar add210 commented on August 13, 2024

Yes, mine is Yi Dome Camera. I read somewhere that they are pretty much the same in term of hardwares and thought this FW would work for both 720p Dome and 1080p Dome.

I am very new to this and not sure what I need to do to help you on this. If you have step by step guide, may be I can be of help.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@add210
You are right that they are very similar cameras. However they are different enough that I will need to create a separate firmware for the Yi Dome.

For me to be able to create a custom firmware, I need a full backup image of the camera. This can only be done through the terminal. With the default firmware, there is no easy way to activate telnetd so the terminal is accessible over wifi. So you have to get access to the terminal through the serial port.

If you can help. These are the initial steps that need to be followed:

  1. Open up the camera.
  2. Solder wires onto the serial port pads on the main circuit.
  3. Using a USB to Serial converter, connect the camera to a computer.
  4. Use a terminal application like PuTTY to access the cameras terminal.

Once you get there, I can help you with regards to what commands to type in to copy the files I need to create the y-hack-v3 firmware for the Yi Dome.

Keep in mind, this only needs to be done once so I can create the initial firmware.

from yi-hack-v3.

mikeschi avatar mikeschi commented on August 13, 2024

I'm a bit lost. Can anyone help? What is expected here "Note: The camera will not be fully operational through the smartphone app until a valid configuration has been entered for Proxychains-ng or Proxychains-ng is disabled."

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@mikeschi
What this mean is:

If your camera is not region banned, you do not need ProxyChains-ng and it can be disabled through the System Config page on the web interface. Once disabled, the camera will work through the smartphone app.

However if your camera is region banned, you need to setup ProxyChains-ng. Once setup, the camera will work through the smartphone app.

from yi-hack-v3.

add210 avatar add210 commented on August 13, 2024

I just ordered USB-Serial Converter online. It should arrive in a few days. I will see what I can do.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@add210
Thanks for the help!

Another alternative for others to consider is to use an Arduino as a USB to Serial converter. I had an old Arduino and used that as a USB to Serial converter. Luckily the Yi Dome cameras utilise 0-5V signal which is compatible with Arduino.

from yi-hack-v3.

mikeschi avatar mikeschi commented on August 13, 2024

Ok my YI 1080P (black) dome camera is country locked to China. Need to configure ProxyChains. May have already made too many changes to the Proxychains adding proxy addresses as well as testing: dynamic_chain or strict_chain or round_robin_chain.

How can I get back to the virgin ProxyChains file? I've already tried reflashing with your firmware: home_h20 and rootfs_h20.

Also is this the correct format for adding in proxy servers:
socks4 218.20.227.18 1080
socks4 115.29.192.194 1080
socks4 192.168.1.49 1080

Any help how to make this silly camera work in USA would be sincerely appreciated.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@mikeschi
Default configuration which comes with ProxyChains-ng is located in the source of my repository. Link below:
https://github.com/shadow-1/yi-hack-v3/blob/master/src/home/app/proxychains.conf

Yes that is the correct format for adding proxy servers. However make sure if you are adding a socks5 server to change the configuration to read socks5.

The trick is finding a working proxy server that resides in mainland china. In future releases of the firmware I will include a facility to check ProxyChains-ng configuration on the camera itself. At the moment, the easiest way to check your configuration is to change the proxyserver on your computer and browse to a website like https://whatismyipaddress.com/ to check whether the proxy server works and whether it is located in China.

I'm not sure where you got those proxy servers. However they do not appear to be working when I tested them.

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@shadow-1
Nice work on Yi Dome 1080p!
I tried to set proxychina with "socks4 59.51.73.213 1080", tested this proxy works fine, but the setup failed saying "connection error".
I telnet in and found below in "/tmp/log.txt"
[./cloud][4/8/9:50:37:363]: yi_sync_time fail!
[./cloud][4/8/9:50:40:373]: cmd=/home/app/cloudAPI -c 136 -url http://api.xiaoyi.com/v2/ipc/sync_time
[./cloud][4/8/9:50:41:464]: req_info=http://api.xiaoyi.com/v2/ipc/sync_time?hmac=BIke7GBrJXU6Qe41glDqGUkYNp8%3D&seq=9

when I run "/home/app/cloudAPI -c 136 -url http://api.xiaoyi.com/v2/ipc/sync_time" manually, I got below error
~ # /home/app/cloudAPI -c 136 -url http://api.xiaoyi.com/v2/ipc/sync_time
[proxychains] config file found: /home/app/proxychains.conf
[proxychains] preloading /home/app/locallib/libproxychains4.so
proxychains can't load process....: No such file or directory

any idea? is there anything missing for proxychain?

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@wanwe
I have tested the proxy server. It appears that this particular proxy server does not support proxy dns requests. So make sure that in your configuration you are not using the dns_proxy setting and not using the remote_dns_subnet setting.

It also appears that it is not the most reliable proxy server, I had to retry a few times before it worked fine. For the purposes of defeating the region ban, even if the proxy server is a bit slow or a bit unreliable it will work (may take a little longer to initialise when you first start up the camera).

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@shadow-1
Thank you so much..I just grabbed a free proxy server from google, now searching for a more reliable one.
if the proxy server works, shall I see the proxy server address at "my wan IP"??
[./p2p_tnp][4/9/11:29:36:97]: My Wan IP :
[./p2p_tnp][4/9/11:29:36:98]: My Lan IP : 192.168.0.169

just curious, is it possible to integrate with hacks from this page? then no proxy is required
https://diy.2pmc.net/solved-xiaomi-xiao-yi-ant-home-camera-can-used-china/

I tried to sed check_did part to sth else, but seems not working, log says "./cloud crashes", wonder whether it has some filechecksum in latest version of firmware

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@wanwe
Unfortunately that hack no longer works. It will stop the annoying ban message from being played. However the camera will not be able to be used with the smartphone app.

Xiaomi have changed something at their servers around December 2016 which caused most people who used that style of hack to no longer be able to use their region locked cameras through the smartphone app.

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@shadow-1
one more question, just found that the firmware seems not working with my another camera, which is on firmware version 1.9.2.0D_201612191901home_h20m, any idea?

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@wanwe
I am using the shadow-1's hack on version D firmware without any problems. Just ensure both files have successfully flashed. Check and ensure the 7 items that I mentioned in my comment above for a successful flashing.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@wanwe
As you are using the firmware on one camera, it is a little unusual that your second camera did not flash. A few generic tips to look out for:

  1. Make sure that the filename didn't get changed. The firmware filenames for the Yi 1080p Dome camera must be home_h20 and rootfs_h20.
  2. Try flashing the camera with the same microSD card as with the camera you successfully flashed. The microSD card must be formatted in FAT32 for it to work. This is largely an issue with high capacity cards (>32gb) which default to being formatted in exFAT.
  3. Make sure that you flash both rootfs_h20 and home_h20. Flashing one without the other will not allow the features of this firmware to work.

To help further, I will probably need to know more details about the issue. For instance, when you started the camera with the firmware files on it, did the yellow light flash for roughly 30 seconds (this is the indicator that the firmware is being flashed)?

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

Hello Guys,

I have Yi dome 1080p black edition camera and after flash firmware with this files i'm still can't set-up wifi connection always prompt me fail to connect please reset your camera maybe i made some mistake below is my procedure:

  1. Format microSDcard as fat32
  2. Copy two files home_h20 and rootfs_h20
  3. Plug power to camera
  4. pull sd card inside and wait for flashing procedure
  5. try to connect using yi home app
  6. scan QR code everything should be okay because camera spoke in chinese "Wait for wifi connection"
  7. Wait 2 minutes and received information is FaileD!!!!

I'm really confused about this, please help me.

Regards
Kamil

https://github.com/shadow-1/yi-hack-v3/releases

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@szefkamil
You are almost there. Just a couple of things:
I would insert the microSD card into the camera before powering up the camera. The internal check for a firmware update occurs right towards the start of the boot procedure. You will know that it is flashing as it will take roughly 30 seconds longer than usual for the camera to start moving. In addition the yellow light flashes.

Since you have not setup your cameras wifi settings yet. You will need to complete the initial setup using the smartphone app. However as you mentioned, it will fail to pair. This is because ProxyChains-ng has not been setup and is blocking communication between the camera and the Xiaomi server. However by going through the procedure, wifi on the camera has been setup. This can be confirmed as the blue light is turned on and solid if it has been setup and is connected.

Once wifi has been setup on the camera, you need to find the IP address of the camera. The easiest place to find it is on your routers setup page. However there are network scanning apps available as well. Enter the web interface of the camera by entering the IP address of the camera into your web browser. You will then see the custom firmware configuration page and be able to setup ProxyChains-ng as shown below. Once setup, your camera will pair using the smartphone app and be accessible without issues.
Alt text

Refer to the "Starting the Camera" and the "Configuring the Camera" sections of the Readme.
https://github.com/shadow-1/yi-hack-v3/blob/master/README.md

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

@xmflsct hi zhiyuan, thanks for all the help so far.

"This can be confirmed as the blue light is turned on and solid if it has been setup and is connected." --> i got this.

i am also logged on to my camera's IP address and have pasted in the following code from @shadow-1:

https://github.com/shadow-1/yi-hack-v3/blob/master/src/home/app/proxychains.conf

Am i suppose to reboot the camera? what additional steps am i missing? adding more proxy servers?

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

A solid blue LED does not mean that you can pair with it. It could also mean that the proxy server does not work, thus the camera also connect receive a ban command from the server.

After enter your proxy and saved the settings, press the reset button to reset the camera, and try to pair it with your phone again. If you have paired before and in your app you can still see your camera, you just need a reboot of the camera.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@junsheng89
As mentioned in the following post; #4 (comment)

You need to add proxy servers which reside in Mainland China to the end of the configuration. I deliberately didn't add any with the firmware as they do change and if one particular server gets too popular, it will probably get shutdown.

As mentioned in the other thread, the best way to ensure that everything will work is to change the proxy server on your web browser to the one you will add to ProxyChains-ng and browse to a website like; https://whatismyipaddress.com/ . If you can successfully browse to the website and the Country comes up as China on the webpage, then you know that this particular proxy server will work with the hack.

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

@shadow-1 @xmflsct can i put multiple addresses?

e.g.
socks4 218.20.227.18 1080
socks4 115.29.192.194 1080
socks4 192.168.1.49 1080

in this example 3 addresses? or are you allow only 1 at each time?

following which, i should follow these steps:
After enter your proxy and saved the settings, press the reset button (physical or the reboot button(ipaddress of your cam) to reset the camera, and try to pair it with your phone again.

If you have paired before and in your app you can still see your camera, you just need a reboot of the camera.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

Using the custom images and setting above proxy address', still I cannot pair the cam with the app, but I have telnet access.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

Google is your best friend, to find what you need. It may take a bit of time trying several proxies before you find one that is working and with good speed.

I can confirm this project fully working, as I have tried it several times with iOS app.

Please note, it is mentioned that only the app from Chinese App Store can be paired with a trick Chinese camera. Same applies to Android app, but .apk is much easier to find and install.

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@szefkamil Try these, they are working:

socks5  27.152.181.217  80
socks5  125.67.236.195   8080

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@xmflsct How can I find out what's wrong with my case?

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

@maysamsh Please refer to my edited comment above. Do you install the right app?

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@shadow-1
yah, it's very weird...one of my camera works, another one does not...I tried to flash offical firmware again and still not working,
Used exact same sd card, not working; formatted and download files again, same result.

when I insert the sd card and power on, it was solid orange led, no flash, for 10+ seconds, then it starts saying "waiting for connection". this is different from my the other camera....no idea why :-(

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@xmflsct If you mean the on the cam, yes. On the iPhone I'm using Mi Home app.

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

@maysamsh @shadow-1

i am using these addresses:
socks5 27.152.181.217 80
socks5 125.67.236.195 8080

and i have the 米家 (green) app on the iphone.

it still fails with the permanent blue light. it does complain about the "not use in china" anymore.

I am guessing the proxy server is the problem. :X

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

what's the firmware version you guys are using ?anyone is using "1.9.2.0D_201612191901home_h20m"?

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

@wanwe "Waiting for connection" means you have to pair with it with Mi app. No?

@maysamsh No, I mean on your phone. I haven't tried with Mi Home app. But I am using Yi Smart app from Chinese App Store.

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@xmflsct
yes, if firmware works, it should take longer before we hear "waiting for connection". I tried to pair, no surprise it connects to wifi, then get region ban message...I couldn't access the http page as well...so confirm the hack is not working on my camera

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

@wanwe
So when you flash the firmware, the orange or yellow LED should blink. For flashing rootfs, it blinks only few times. For flashing home, it blinks for quite a while. This is a way to confirm flashing actually works without terminal output.

Try to boot the cam with an SD card, and see if the system dumps some log in there. If so, can you paste the log somewhere for debugging?

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

Guys which app should i use? from google play store or from chinese market?

another question i add these adresses into proxychain_ng

[ProxyList]

add proxy here ...

meanwile

defaults set to "tor"

socks5 27.152.181.217 80
socks5 125.67.236.195 8080

and isn't working.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@junsheng89 Yes multiple servers can be entered into the configuration.

@szefkamil When you find a socks server to enter, there are always three pieces of information you need. They are:

  • What kind of proxy server; Socks4 or Socks5
  • The IP Address of the proxy server
  • The port address of the proxy server

@maysamsh I tested your proxy servers and they appear to be working. @xmflsct is absolutely correct. You must use the smartphone app from the Chinese App Store for cameras locked to Mainland China. The one on Google App Store will not work on a camera locked to Mainland China. I am currently using the Yi Home app from the Chinese App Store.

@wanwe If you are getting the ban message, the custom firmware has definitely not been flashed onto the camera. With the custom firmware, by default, communication between the camera and the Xiaomi server is blocked, thus the ban message will not play. Not being able to access the http page is also another indicator that the firmware did not flash on your camera.

Another thing you can try is using my initial version of the custom firmware; version 0.1.0 and then upgrade to 0.1.1. I'm not exactly sure why it's not working with your second camera.

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

yup. i have tested and it works with multiple addresses.

YI home app "works" for me but mi jia (mi home) app does not.

Here is what puzzling.

after the sync, the camera said in mandarin that the sync was successful BUT, on the YI Home app, under the page, RETRIEVING PAIRING STATUS > it states, Fail to acquire Please reset the camera > option below are troubleshooting & reset the camera.

@shadow-1 @xmflsct

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

For some weird reasons my Chinese Apple ID is disabled and I cannot download the YI Smart app from the Chinese App Store and neither of [Chinese] YI Home nor [English] YI Smart apps work. Sad!

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@junsheng89
That is quite puzzling. I have never had this kind of issue. I can only think that perhaps the proxy server is a bit unreliable? I guess you can only try again.

From my experience, even if a proxy server is slow, it will work fine but takes a bit longer to pair and a bit longer to initialise when the camera starts up.

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@xmflsct tried to boot camera with a blank sd, no logs dumped

@shadow-1 you are amazing ! 0.1.0 can flash successfully ! I'm trying some socks config now and see if all good, before I try to update to 0.1.1..
anything logs etc you would like to collect now?

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

CORRECTION:

Even though the situation is like the following:
the camera said in mandarin that the sync was successful BUT, on the YI Home app, under the page, RETRIEVING PAIRING STATUS > it states, Fail to acquire Please reset the camera > option below are troubleshooting & reset the camera.

i found that it is actually still works. i just quit out of the app, reopen the app again and its finally working after 4 hours of configuration...

Anyway, A BIG THANK YOU TO @shadow-1, @xmflsct @maysamsh, this is my 1st day on github and i am a converter. :D

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@junsheng89 Are you using Chinese cam with English app?

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@wanwe
The camera does a very crude check to make sure that the firmware file on the SD card doesn't match what is currently on the camera. If the camera thinks the firmware file matches what is currently on the system, it will skip the upgrade.

Perhaps the initial upgrade got interrupted somehow and on subsequent boots the camera thought the firmware file matches what is currently on the system and simply skipped the upgrade?

However an easy fix for this situation is to upgrade to a different version before upgrading back to the latest.

from yi-hack-v3.

wanwe avatar wanwe commented on August 13, 2024

@junsheng89
I think now I have same issue as you :(, YI app stuck at retrieve pairing status page...
Are you using iPhone or android? For iphone, I killed the app when it stuck, open the app, the camera is not listed in the app...

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

I use chinese app and chinese cam proxy servers :
socks5 27.152.181.217 80
socks5 125.67.236.195 8080
socks4 115.29.192.194 1080

Camera isn't working still, I'm give up:(

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

Log.txt at /tmp:

[./dispatch][1/1/0:0:11:631]: hw_type(2)
[./dispatch][1/1/0:0:14:466]: got sn(hNUuY4ulVv2iXCrLIC7rOnZnC9QdnfYI)[./dispatch][1/1/0:0:14:478]: got pwd(somepassword)[./dispatch][1/1/0:0:14:479]: got ssid(MYNET)[./dispatch][1/1/0:0:14:480]: got tnp_init_string(MOFEJKLGIEELKLHOOMEGPAEPGBDKFEHJGFFBLHJOJCBOCIABOBINBFMEOKDCABLEPELMCLOCNICCBPCHALAADOPCNC)[./dispatch][1/1/0:0:14:616]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-y20, dlproto = micn
[./dispatch][1/1/0:0:14:617]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-y20, dlproto = micn
[./dispatch][1/1/0:0:14:640]: init ok, cost time(3009 ms)[./rmm][1/1/0:0:14:693]: f22 or f02
[./rmm][1/1/0:0:14:954]:  0xf
[./rmm][1/1/0:0:14:954]:  0x22
[./rmm][1/1/0:0:15:78]: ai init ok!
[./rmm][1/1/0:0:15:79]: HI_MPI_AENC_AacInitHI_MPI_AENC_AacInit end
[./rmm][1/1/0:0:15:149]: rmm_init_aenc init ok!
[./rmm][1/1/0:0:15:220]: rmm_init_adec init ok!
[./rmm][1/1/0:0:15:222]: 
system call back libsns_f22.so_____________________
[./rmm][1/1/0:0:15:293]: sns_call_backsns_call_back
[./rmm][1/1/0:0:15:295]: HI_MPI_ISP_3A SUCCESS
[./rmm][1/1/0:0:15:911]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =60
[./rmm][1/1/0:0:15:913]: 
_____Gamma test for table 4__________
[./rmm][1/1/0:0:15:914]: modify drc (150), time:15-936282[./rmm][1/1/0:0:15:948]: 
---------Rock_COMM_VENC_BindVpss VeChn = 0, VpssGrp = 0, VpssChn = 0
[./rmm][1/1/0:0:15:950]: rc set success! venc(0)
[./rmm][1/1/0:0:15:967]: 
---------Rock_COMM_VENC_BindVpss VeChn = 1, VpssGrp = 0, VpssChn = 1
[./rmm][1/1/0:0:15:969]: rc set success! venc(1)
[./rmm][1/1/0:0:16:1]: HI_MPI_RGN_Create 3 success![./rmm][1/1/0:0:16:14]: rmm_vpp_create 3 success![./rmm][1/1/0:0:16:15]: rmm_init success[./rmm][1/1/0:0:16:17]: font:/home/base/iso8859-1-24x48.bin
[./rmm][1/1/0:0:16:33]: filesize=36864
[./rmm][1/1/0:0:16:42]: init font /home/base/iso8859-1-24x48.bin ptr size(4)[./rmm][1/1/0:0:16:55]: font:/home/base/iso8859-1-8x16.bin
[./rmm][1/1/0:0:16:57]: filesize=4096
[./rmm][1/1/0:0:16:60]: init font /home/base/iso8859-1-8x16.bin ptr size(4)[./rmm][1/1/0:0:16:62]: load_font success[./rmm][1/1/0:0:16:78]: msg_proc success[./rmm][1/1/0:0:16:82]: 
_____Gamma test for table 1__________
[./rmm][1/1/0:0:16:107]: pid[955][./rmm][1/1/0:0:16:108]: pid[956][./rmm][1/1/0:0:16:112]: pid[957][./dispatch][1/1/0:0:16:125]: invalid msg 0x1002
[./rmm][1/1/0:0:16:130]: got RMM_SPEAK_WAIT[./rmm][1/1/0:0:16:183]: msg snd success[./cloud][1/1/0:0:16:680]: open share mem ok
[./p2p_tnp][1/1/0:0:17:668]: p2p_set_tnp_init_status 1 send_msg ok!
[./dispatch][4/2/10:41:26:154]: DISPATCH_SET_DEFAULT_TIME 1491129686[./watch_process][4/2/10:41:26:155]: check_interval=10
[./watch_process][4/2/10:41:26:587]: process=dispatch;cmd=cd /home/app;./dispatch &;
[./watch_process][4/2/10:41:26:588]: process=cloud;cmd=cd /home/app;./cloud &;
[./watch_process][4/2/10:41:26:589]: process=rmm;cmd=reboot;
[./watch_process][4/2/10:41:26:589]: process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[./watch_process][4/2/10:41:26:590]: process=mp4record;cmd=cd /home/app;./mp4record &;
[./watch_process][4/2/10:41:26:590]: process=arp_test;cmd=cd /home/app;./arp_test &;
[./watch_process][4/2/10:41:26:591]: process=oss;cmd=cd /home/app;./oss &;
[./watch_process][4/2/10:41:36:156]: arp_test crashed![./dispatch][4/2/10:41:46:313]: invalid msg 0x1002
[./rmm][4/2/10:41:46:316]: got RMM_SPEAK_WAIT[./rmm][4/2/10:41:46:318]: msg snd success[./dispatch][4/2/10:42:8:482]: invalid msg 0x1002
[./rmm][4/2/10:42:8:484]: got RMM_SPEAK_WAIT[./rmm][4/2/10:42:8:485]: msg snd success[./rmm][4/2/10:42:14:576]: decoded QR-Code symbol "b=USaS6cpd1wWbqp9C&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw=="
[./rmm][4/2/10:42:14:578]: trans_json MYNETinfo=b=USaS6cpd1wWbqp9C&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=&p=
[./rmm][4/2/10:42:14:579]: trans_json result=VVgzNTIHAV08Zw==
[./rmm][4/2/10:42:14:580]: trans_json info=b=USaS6cpd1wWbqp9C&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=&s=
[./rmm][4/2/10:42:14:582]: trans_json result=TUFZU0FNLVBDX05ldHdvcms=
[./rmm][4/2/10:42:14:584]: trans_json info=b=USaS6cpd1wWbqp9C&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=b=
[./rmm][4/2/10:42:14:596]: trans_json result=USaS6cpd1wWbqp9C
[./rmm][4/2/10:42:14:597]: rmm got /tmp/got_wpa ssid(MYNET) pwd(somepassword) bind(USaS6cpd1wWbqp9C)
[./dispatch][4/2/10:42:14:598]: invalid msg 0x1005
[./rmm][4/2/10:42:14:598]: got RMM_SPEAK_SCAN_OK[./rmm][4/2/10:42:14:599]: msg snd success[./dispatch][4/2/10:42:14:601]: in choose_server, region_id = 17, api_server = https://api.us.xiaoyi.com, sname = familymonitor-y20, dlproto = mius
[./rmm][4/2/10:42:14:603]: msg snd success[./dispatch][4/2/10:42:14:650]: msg snd success[./dispatch][4/2/10:42:14:650]: invalid msg 0x1004
[./rmm][4/2/10:42:14:657]: got RMM_SPEAK_CONNECTTING[./dispatch][4/2/10:42:15:110]: wifi disconnected, now reconnect wifi
[./watch_process][4/2/10:42:16:243]: cloud crashed![./watch_process][4/2/10:42:16:244]: p2p_tnp crashed![./dispatch][4/2/10:42:21:9]: wpa connected , now dhcp
[./dispatch][4/2/10:42:23:77]: wpa connected , now dhcp finish
[./dispatch][4/2/10:42:24:129]: bssid(a0:ab:1b:26:1e:94)[./dispatch][4/2/10:42:24:131]: ip(192.168.1.3)[./dispatch][4/2/10:42:24:159]: gw(192.168.1.1)[./dispatch][4/2/10:42:25:283]: gwmac(A0:AB:1B:26:1E:94)[./dispatch][4/2/10:42:25:314]: mask(255.255.255.0)[./dispatch][4/2/10:42:25:404]: mac(B0:D5:9D:90:BC:E3)[./dispatch][4/2/10:42:25:509]: signal_quality(100)[./dispatch][4/2/10:42:25:516]: invalid msg 0x1006
[./rmm][4/2/10:42:25:519]: got RMM_SPEAK_WIFI_CONNECTTED[./dispatch][4/2/10:42:25:521]: msg snd success[./watch_process][4/2/10:42:26:253]: cloud crashed![./watch_process][4/2/10:42:26:275]: p2p_tnp crashed![./cloud][4/2/10:42:26:310]: open share mem ok
[./cloud][4/2/10:42:26:513]: miio_send send_buf: (null)
[./p2p_tnp][4/2/10:42:26:513]: p2p_set_tnp_init_status 1 send_msg ok!
[./p2p_tnp][4/2/10:42:26:776]: p2p_set_tnp_init_status 2 send_msg ok!
[./p2p_tnp][4/2/10:42:26:777]: p2p_set_tnp_init_status 3 send_msg ok!
[./p2p_tnp][4/2/10:42:26:777]: PPPP_API Version: 2.2.4.2
[./cloud][4/2/10:42:26:778]: miio_udp_send ok!
[./dispatch][4/2/10:42:26:779]: signal_quality(100)[./cloud][4/11/15:30:56:98]: miio_udp_recv ok!
[./cloud][4/11/15:30:56:98]: parse_packet plain_text: 
[./cloud][4/11/15:30:56:102]: msg snd success[./dispatch][4/11/15:30:56:190]: DISPATCH_SET_TIME 1491924656 /home/base/tools/rtctool -s time 2017/4/11/15/30/56[./cloud][4/11/15:30:56:212]: mi_sync_time ok!
[./cloud][4/11/15:30:56:212]: sync_time ok!
[./cloud][4/11/15:30:56:213]: yi_proc ok[./cloud][4/11/15:30:56:215]: cmd=/home/app/cloudAPI -c 311 -url https://api.us.xiaoyi.com/v4/ipc/check_did -uid TNPCHND-099303-CYYGG -keySec 8Fo9zRDvNtQYfZj8
[./dispatch][4/11/15:30:56:217]: set DISPATCH_SET_PANORAMA_CAPTURE_STATE
[./p2p_tnp][4/11/15:30:57:208]: PPPP_NetworkDetect() ret = 0
[./p2p_tnp][4/11/15:30:57:213]: -------------- NetInfo: -------------------
[./p2p_tnp][4/11/15:30:57:214]: Internet Reachable     : YES
[./p2p_tnp][4/11/15:30:57:214]: P2P Server IP resolved : YES
[./p2p_tnp][4/11/15:30:57:215]: P2P Server Hello Ack   : YES
[./p2p_tnp][4/11/15:30:57:215]: Local NAT Type         :[./p2p_tnp][4/11/15:30:57:215]:  Port-Restricted Cone
[./p2p_tnp][4/11/15:30:57:216]: My Wan IP : 94.183.146.185
[./p2p_tnp][4/11/15:30:57:220]: My Lan IP : 192.168.1.3
[./p2p_tnp][4/11/15:30:57:220]: InitStr(MOFEJKLGIEELKLHOOMEGPAEPGBDKFEHJGFFBLHJOJCBOCIABOBINBFMEOKDCABLEPELMCLOCNICCBPCHALAADOPCNC)
[./p2p_tnp][4/11/15:30:57:221]: did(TNPCHND-099303-CYYGG)
[./p2p_tnp][4/11/15:30:57:221]: key(8Fo9zRDvNtQYfZj8)
[./p2p_tnp][4/11/15:30:57:234]: p2p_set_tnp_init_status 4 send_msg ok!
[./rmm][4/11/15:30:57:860]: 
_____Gamma test for table 4__________
[./rmm][4/11/15:30:57:861]: zbar_proc success[./rmm][4/11/15:30:57:862]: pid[937][./rmm][4/11/15:30:57:863]: pid[1156][./rmm][4/11/15:30:57:866]: pid[1157][./rmm][4/11/15:30:57:871]: pid[1154][./rmm][4/11/15:30:57:872]: HI_MPI_RGN_Create 1 success![./rmm][4/11/15:30:57:872]: rmm_vpp_create 1 success![./rmm][4/11/15:30:57:901]: pid[1153][./rmm][4/11/15:30:57:902]: HI_MPI_RGN_Create 0 success![./rmm][4/11/15:30:57:902]: rmm_vpp_create 0 success![./rmm][4/11/15:30:57:903]: pid[1155][./rmm][4/11/15:30:57:903]: AiGetLPCMStream start
 [./rmm][4/11/15:30:57:907]: rmm_vpp_create_bmp 5 success![./rmm][4/11/15:30:57:908]: VencGetH264Stream vechn=1
 [./rmm][4/11/15:30:57:912]: modify drc (180), time:1491924657-933122[./rmm][4/11/15:30:57:921]: rmm_vpp_create_bmp 4 success![./rmm][4/11/15:30:57:922]: VencGetH264Stream vechn=0
 [./rmm][4/11/15:30:58:131]: set ai volume via himm 0x201200d8 0x0d0dc001[./rmm][4/11/15:30:58:194]: set ai volume via himm 0x201200c8 0x23c3c[./rmm][4/11/15:30:58:262]: set ao volume via himm 0x201200d4 0x03032424[./rmm][4/11/15:30:58:891]: ai_get_aacstream: get aenc stream select time out
[./rmm][4/11/15:30:59:907]: ai_get_aacstream: get aenc stream select time out
[./rmm][4/11/15:31:0:63]: got a new motion start 
[./dispatch][4/11/15:31:0:65]: g_dispatch_info.mmap_info->motion_type  =0[./rmm][4/11/15:31:0:69]: msg snd success[./cloud][4/11/15:31:0:258]: 
got a motion event_timeout(0) systick(619) p2p_viewing_cnt(0)
[./rmm][4/11/15:31:2:922]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =70
[./cloud][4/11/15:31:6:803]: 
[./cloud][4/11/15:31:20:502]: 
[./cloud][4/11/15:31:22:318]: cloud_cap_pic send_msg ok!
[./dispatch][4/11/15:31:22:327]: invalid msg 0x1007
[./cloud][4/11/15:31:22:327]: cloud_make_video 6(s)send_msg ok!
[./rmm][4/11/15:31:22:358]: size =678 678
[./rmm][4/11/15:31:22:358]: size =12241 12241
[./cloud][4/11/15:31:23:512]: now do reset 
[./cloud][4/11/15:31:23:512]: cmd = /home/app/cloudAPI -c 139 -keySec 8Fo9zRDvNtQYfZj8 -url https://api.xiaoyi.com/v4/ipc/reset -uid TNPCHND-099303-CYYGG -version 2.1.0.0A_201703071456 -mac B0:D5:9D:90:BC:E3 
[./cloud][4/11/15:31:26:335]: cmd=/home/app/cloudAPI -c 306 -url https://api.us.xiaoyi.com/v5/alert/gen_presigned_url -uid TNPCHND-099303-CYYGG -keySec 8Fo9zRDvNtQYfZj8 -type 0 -sub_type 1 -suffix jpg,mp4 -time 1491924660
[./cloud][4/11/15:31:39:29]: req_info=https://api.xiaoyi.com/v4/ipc/reset?hmac=BRJQ9YERXzNFmnFTXVB8KDS63CA%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924683

[./cloud][4/11/15:31:41:830]: req_info=https://api.us.xiaoyi.com/v5/alert/gen_presigned_url?hmac=VtA7gtKONwlw7jeCvJgkjdLnqy0%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&type=0&sub_type=1&suffix=jpg,mp4&time=1491924660&timestamp=1491924686

[./rmm][4/11/15:31:53:433]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =60
[./cloud][4/11/15:32:2:341]: req_info=https://api.us.xiaoyi.com/v5/alert/gen_presigned_url?hmac=IS8xnB%2FAuxqKYRkIo9B9jBUB4Rk%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&type=0&sub_type=1&suffix=jpg,mp4&time=1491924660&timestamp=1491924707

[./cloud][4/11/15:32:12:504]: req_info=https://api.xiaoyi.com/v4/ipc/reset?hmac=dj126MgrHCyAsFHG0gM1tWTIH5o%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924717

[./rmm][4/11/15:32:12:638]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =70
[./cloud][4/11/15:32:22:957]: req_info=https://api.us.xiaoyi.com/v5/alert/gen_presigned_url?hmac=%2BNQ9n5hjsbPFoYubC%2BSBmi4RZp8%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&type=0&sub_type=1&suffix=jpg,mp4&time=1491924660&timestamp=1491924727

[./cloud][4/11/15:32:44:217]: req_info=https://api.xiaoyi.com/v4/ipc/reset?hmac=aQQSIBPHVk4z76mB4I3DezLUexA%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924748

[./cloud][4/11/15:32:58:228]: webapi_do_reset last_api_server fail[./cloud][4/11/15:32:58:228]: now do reset 
[./cloud][4/11/15:32:58:229]: cmd = /home/app/cloudAPI -c 139 -keySec 8Fo9zRDvNtQYfZj8 -url https://api.us.xiaoyi.com/v4/ipc/reset -uid TNPCHND-099303-CYYGG -version 2.1.0.0A_201703071456 -mac B0:D5:9D:90:BC:E3 
[./rmm][4/11/15:33:10:227]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =60
[./cloud][4/11/15:33:13:703]: req_info=https://api.us.xiaoyi.com/v4/ipc/reset?hmac=BpcImyfTa9ZVOraUj7AQyo53Szw%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924778

[./rmm][4/11/15:33:19:315]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =70
[./cloud][4/11/15:33:46:265]: req_info=https://api.us.xiaoyi.com/v4/ipc/reset?hmac=YznsErYu3t2WGEBlv%2FzHQE2yMBo%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924811

[./rmm][4/11/15:34:5:765]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =60
[./cloud][4/11/15:34:17:720]: req_info=https://api.us.xiaoyi.com/v4/ipc/reset?hmac=wPiZG2OsJihmHvaUVkl%2FmF%2BM9NU%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924842

[./rmm][4/11/15:34:32:42]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =70
[./cloud][4/11/15:34:33:725]: webapi_do_reset fail[./watch_process][4/11/15:34:45:668]: cloud crashed![./cloud][4/11/15:34:45:799]: open share mem ok
[./cloud][4/11/15:34:46:138]: miio_send send_buf: (null)
[./cloud][4/11/15:34:46:140]: miio_udp_send ok!
[./cloud][4/11/15:34:46:413]: miio_udp_recv ok!
[./cloud][4/11/15:34:46:98]: parse_packet plain_text: 
[./cloud][4/11/15:34:46:99]: msg snd success[./dispatch][4/11/15:34:46:206]: DISPATCH_SET_TIME 1491924886 /home/base/tools/rtctool -s time 2017/4/11/15/34/46[./cloud][4/11/15:34:46:217]: mi_sync_time ok!
[./cloud][4/11/15:34:46:217]: sync_time ok!
[./cloud][4/11/15:34:46:218]: yi_proc ok[./cloud][4/11/15:34:46:219]: cmd=/home/app/cloudAPI -c 311 -url https://api.us.xiaoyi.com/v4/ipc/check_did -uid TNPCHND-099303-CYYGG -keySec 8Fo9zRDvNtQYfZj8
[./dispatch][4/11/15:34:46:225]: set DISPATCH_SET_PANORAMA_CAPTURE_STATE
[./cloud][4/11/15:34:46:226]: 
got a motion event_timeout(0) systick(2676) p2p_viewing_cnt(0)

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

@junsheng89 @wanwe
As far as I know, the camera's "connection successful" message does not mean that it is paired. It only means that it connects to WiFi successfully. Only the app will confirm pairing status.

Thus for me, I had tried several (seems to be) working proxies, and the camera has a solid blue LED, which the app times out during pairing process. Once I found one working proxy, the app will show a congratulations page that pairing is successful. This is the iOS case. Android one might be different.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

zrzut ekranu z 2017-04-11 18-36-07
my prt screen of network settings for Yi1080p Dome
screenshot_2017-04-11-18-39-46-556_com ants360 yicamera
screenshot of my app yi home
img_20170411_183750_hdr
My camera

Please help me!!!!

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

screenshot_2017-04-11-18-49-26-055_com ants360 yicamera

When i try to connect i received this information

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@szefkamil
Only I modified the end of it as follow:

socks5  27.152.181.217  80
socks5  125.67.236.195   8080
socks4  115.29.192.194  1080
socks4  127.0.0.1  9050

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

@maysamsh

Not working:(

what should i do?

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@szefkamil I have the same problem. No idea :(

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

Now i remove all data of yi home from my smartphone and try to connect one more time but always when i want to pairing received failed status

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

@maysamsh you have the same situation with app??

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

I spend second day to configure this f****** camera

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

Yes. Using this hack with a Chinese version camera and YI Smart (US version) and YI Home (Chinese version) apps.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

Maybe someone could help us to resolve this issue:)

Thank you for your support , i have request to you when you resolve this issue please sent me the information and solution.

Regards

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

Sure

from yi-hack-v3.

xmflsct avatar xmflsct commented on August 13, 2024

@szefkamil @maysamsh
Guys really, try with the Chinese app Yi Smart, as that is what we have all tested and confirmed working.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@szefkamil @maysamsh
If you are having issues pairing the camera to your smartphone app. The most likely issue is with the proxy server itself. Please ensure you are using the smartphone app from the Chinese app store.

I can not test pairing of a camera using these particular proxy servers on my camera at the moment.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@szefkamil @maysamsh
Try this config for ProxyChains-ng. Keep in mind that the Proxy servers in the list are from you guys. I have not tested them. You can also try removing the proxy_dns and remote_dns_subnet lines.

dynamic_chain

proxy_dns

remote_dns_subnet 224

tcp_read_time_out 15000
tcp_connect_time_out 8000

[ProxyList]
socks5  27.152.181.217  80
socks5  125.67.236.195   8080
socks4  115.29.192.194  1080

from yi-hack-v3.

Jun-Sheng avatar Jun-Sheng commented on August 13, 2024

@maysamsh i am using YI Home app on IOS. (tried and works)

Mi Home app on IOS cannot pair. (tried and failed)

model of my camera is Yi Home Camera 1080p.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@szefkamil
Chinese app here for Android users:
https://drive.google.com/file/d/0Bxkv5bFG68uYaE9iajh2TGdXSEU/view?usp=drivesdk

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

Thanks for all of your work.
@shadow-1
I have been trying the hack with my Yi Home 1080p camera which I bought recently from China. Initially before hack it says 'This camera can only be used in China'. After the hack, it pairs with my home WiFi, but not with the Yi-Home Chinese app. I can able to do telnet and ftp. I do have 2 existing 720p cameras which are working fine with the Yi-Home Chinese app. And every-time I have to pair with the Android app, the WiFi settings are not stored inside the camera. Help please.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@vaidyasr
Once wifi has been setup on the camera. You need to setup ProxyChains-ng through the web interface. You can try the configuration I posted above. However I have not tested whether the proxy servers work.

Once ProxyChains-ng has been setup with working proxy servers, you will be able to pair your camera to your phone successfully.

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

@shadow-1
Yes, I have tried the proxies listed here and none of them is working. The camera is connected, but the app is not. The camera will save the WiFi config only after it pairs with the android app?

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

@shadow-1 - Could you create new firmware with dynamic proxy servers??

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

Maybe exist solution how to change chinese version to international - i suppose that only one flag is responsible for this

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@vaidyasr
The WiFi configuration gets saved into the cameras memory during the pairing process. So even after an unsuccessful pair, you will be able to use the web interface, telnet, ftp etc. even after turning the camera on and off. However to use the camera with the app, you have to successfully pair the devices.

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

@shadow-1
In my case, I was able to connect to camera after 'unsuccessful pair' with app, but when I switched off and on, it is again going to the paring mode, i.e. blinking orange and some Chinese audio 'ready to connect'. so probably wpa_supplicant.conf was not updated properly somewhere in the camera?

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@szefkamil
I can create a firmware with dynamic proxy servers. However I would need an online source that regularly updates proxy servers within Mainland China. I am not aware of any website or service that can provide an updated list in a simple text file.

At the moment, there is no way of converting the Chinese version of the camera into an International version. Perhaps in the future a method could be found.

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@xmflsct I tried the Chinese YI Smart too, it was the same. Here is my log file:

[./dispatch][4/12/9:11:0:536]: hw_type(2)
[./dispatch][4/12/9:11:3:379]: got sn(hNUuY4ulVv2iXCrLIC7rOnZnC9QdnfYI)[./dispatch][4/12/9:11:3:380]: got pwd(mynet2)[./dispatch][4/12/9:11:3:393]: got ssid(my-PC_Network)[./dispatch][4/12/9:11:3:395]: got tnp_init_string(MOFEJKLGIEELKLHOOMEGPAEPGBDKFEHJGFFBLHJOJCBOCIABOBINBFMEOKDCABLEPELMCLOCNICCBPCHALAADOPCNC)[./dispatch][4/12/9:11:3:534]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-y20, dlproto = micn
[./dispatch][4/12/9:11:3:535]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-y20, dlproto = micn
[./dispatch][4/12/9:11:3:558]: init ok, cost time(3023 ms)[./rmm][4/12/9:11:3:694]: f22 or f02
[./rmm][4/12/9:11:3:892]:  0xf
[./rmm][4/12/9:11:3:892]:  0x22
[./rmm][4/12/9:11:4:77]: ai init ok!
[./rmm][4/12/9:11:4:78]: HI_MPI_AENC_AacInitHI_MPI_AENC_AacInit end
[./rmm][4/12/9:11:4:149]: rmm_init_aenc init ok!
[./rmm][4/12/9:11:4:222]: rmm_init_adec init ok!
[./rmm][4/12/9:11:4:223]: 
system call back libsns_f22.so_____________________
[./rmm][4/12/9:11:4:295]: sns_call_backsns_call_back
[./rmm][4/12/9:11:4:297]: HI_MPI_ISP_3A SUCCESS
[./rmm][4/12/9:11:4:921]: isp_set_ae: HI_MPI_ISP_SetExposureAttr  target_lum =60
[./rmm][4/12/9:11:4:923]: 
_____Gamma test for table 4__________
[./rmm][4/12/9:11:4:926]: modify drc (150), time:1491988264-948771[./rmm][4/12/9:11:4:933]: 
---------Rock_COMM_VENC_BindVpss VeChn = 0, VpssGrp = 0, VpssChn = 0
[./rmm][4/12/9:11:4:949]: rc set success! venc(0)
[./rmm][4/12/9:11:4:953]: 
---------Rock_COMM_VENC_BindVpss VeChn = 1, VpssGrp = 0, VpssChn = 1
[./rmm][4/12/9:11:4:954]: rc set success! venc(1)
[./rmm][4/12/9:11:4:959]: HI_MPI_RGN_Create 3 success![./rmm][4/12/9:11:4:972]: rmm_vpp_create 3 success![./rmm][4/12/9:11:4:973]: rmm_init success[./rmm][4/12/9:11:4:974]: font:/home/base/iso8859-1-24x48.bin
[./rmm][4/12/9:11:5:0]: filesize=36864
[./rmm][4/12/9:11:5:22]: init font /home/base/iso8859-1-24x48.bin ptr size(4)[./rmm][4/12/9:11:5:23]: font:/home/base/iso8859-1-8x16.bin
[./rmm][4/12/9:11:5:25]: filesize=4096
[./rmm][4/12/9:11:5:28]: init font /home/base/iso8859-1-8x16.bin ptr size(4)[./rmm][4/12/9:11:5:42]: load_font success[./rmm][4/12/9:11:5:43]: msg_proc success[./rmm][4/12/9:11:5:45]: 
_____Gamma test for table 1__________
[./rmm][4/12/9:11:5:50]: pid[969][./rmm][4/12/9:11:5:63]: pid[968][./rmm][4/12/9:11:5:76]: pid[967][./dispatch][4/12/9:11:5:90]: invalid msg 0x1002
[./rmm][4/12/9:11:5:94]: got RMM_SPEAK_WAIT[./rmm][4/12/9:11:5:95]: msg snd success[./cloud][4/12/9:11:5:619]: open share mem ok
[./p2p_tnp][4/12/9:11:6:510]: p2p_set_tnp_init_status 1 send_msg ok!
[./watch_process][4/12/9:11:7:284]: check_interval=10
[./watch_process][4/12/9:11:7:596]: process=dispatch;cmd=cd /home/app;./dispatch &;
[./watch_process][4/12/9:11:7:596]: process=cloud;cmd=cd /home/app;./cloud &;
[./watch_process][4/12/9:11:7:597]: process=rmm;cmd=reboot;
[./watch_process][4/12/9:11:7:598]: process=p2p_tnp;cmd=cd /home/app;./p2p_tnp &;
[./watch_process][4/12/9:11:7:598]: process=mp4record;cmd=cd /home/app;./mp4record &;
[./watch_process][4/12/9:11:7:599]: process=arp_test;cmd=cd /home/app;./arp_test &;
[./watch_process][4/12/9:11:7:599]: process=oss;cmd=cd /home/app;./oss &;
[./rmm][4/12/9:11:9:315]: decoded QR-Code symbol "b=CNiLNNnRgk3tkkLs&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw=="
[./rmm][4/12/9:11:9:316]: trans_json info=b=CNiLNNnRgk3tkkLs&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=&p=
[./rmm][4/12/9:11:9:317]: trans_json result=VVgzNTIHAV08Zw==
[./rmm][4/12/9:11:9:319]: trans_json info=b=CNiLNNnRgk3tkkLs&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=&s=
[./rmm][4/12/9:11:9:320]: trans_json result=TUFZU0FNLVBDX05ldHdvcms=
[./rmm][4/12/9:11:9:321]: trans_json info=b=CNiLNNnRgk3tkkLs&s=TUFZU0FNLVBDX05ldHdvcms=&p=VVgzNTIHAV08Zw==;key=b=
[./rmm][4/12/9:11:9:326]: trans_json result=CNiLNNnRgk3tkkLs
[./rmm][4/12/9:11:9:333]: rmm got /tmp/got_wpa ssid(my-PC_Network) pwd(mynet2) bind(CNiLNNnRgk3tkkLs)
[./dispatch][4/12/9:11:9:335]: invalid msg 0x1005
[./rmm][4/12/9:11:9:340]: got RMM_SPEAK_SCAN_OK[./rmm][4/12/9:11:9:342]: msg snd success[./dispatch][4/12/9:11:9:345]: in choose_server, region_id = 1, api_server = https://api.xiaoyi.com, sname = familymonitor-y20, dlproto = micn
[./rmm][4/12/9:11:9:346]: msg snd success[./dispatch][4/12/9:11:9:413]: msg snd success[./dispatch][4/12/9:11:9:414]: invalid msg 0x1004
[./rmm][4/12/9:11:9:890]: got RMM_SPEAK_CONNECTTING[./dispatch][4/12/9:11:10:470]: wifi disconnected, now reconnect wifi
[./dispatch][4/12/9:11:16:359]: wpa connected , now dhcp
[./watch_process][4/12/9:11:17:266]: cloud crashed![./watch_process][4/12/9:11:17:267]: p2p_tnp crashed![./watch_process][4/12/9:11:17:267]: arp_test crashed![./dispatch][4/12/9:11:19:90]: wpa connected , now dhcp finish
[./dispatch][4/12/9:11:20:136]: bssid(a0:ab:1b:26:1e:94)[./dispatch][4/12/9:11:20:138]: ip(192.168.1.3)[./dispatch][4/12/9:11:20:172]: gw(192.168.1.1)[./dispatch][4/12/9:11:21:285]: gwmac(A0:AB:1B:26:1E:94)[./dispatch][4/12/9:11:21:321]: mask(255.255.255.0)[./dispatch][4/12/9:11:21:412]: mac(B0:D5:9D:90:BC:E3)[./dispatch][4/12/9:11:21:519]: signal_quality(100)[./dispatch][4/12/9:11:21:525]: invalid msg 0x1006
[./rmm][4/12/9:11:21:526]: got RMM_SPEAK_WIFI_CONNECTTED[./dispatch][4/12/9:11:21:527]: msg snd success[./dispatch][4/12/9:11:22:652]: signal_quality(80)[./rmm][4/12/9:11:25:515]: 
_____Gamma test for table 4__________
[./rmm][4/12/9:11:25:516]: zbar_proc success[./rmm][4/12/9:11:25:516]: pid[949][./rmm][4/12/9:11:25:520]: pid[1155][./rmm][4/12/9:11:25:521]: pid[1154][./rmm][4/12/9:11:25:523]: pid[1153][./rmm][4/12/9:11:25:527]: pid[1152][./rmm][4/12/9:11:25:528]: HI_MPI_RGN_Create 1 success![./rmm][4/12/9:11:25:528]: rmm_vpp_create 1 success![./rmm][4/12/9:11:25:548]: pid[1151][./rmm][4/12/9:11:25:548]: HI_MPI_RGN_Create 0 success![./rmm][4/12/9:11:25:549]: rmm_vpp_create 0 success![./rmm][4/12/9:11:25:549]: AiGetLPCMStream start
 [./rmm][4/12/9:11:25:550]: modify drc (210), time:1491988285-556308[./rmm][4/12/9:11:25:576]: rmm_vpp_create_bmp 5 success![./rmm][4/12/9:11:25:576]: VencGetH264Stream vechn=1
 [./rmm][4/12/9:11:25:580]: rmm_vpp_create_bmp 4 success![./rmm][4/12/9:11:25:595]: VencGetH264Stream vechn=0
 [./rmm][4/12/9:11:25:657]: set ai volume via himm 0x201200d8 0x0d0dc001[./rmm][4/12/9:11:25:698]: set ai volume via himm 0x201200c8 0x23c3c[./rmm][4/12/9:11:25:753]: set ao volume via himm 0x201200d4 0x03032424[./rmm][4/12/9:11:26:550]: ai_get_aacstream: get aenc stream select time out
[./rmm][4/12/9:11:26:879]: modify drc (180), time:1491988286-900450[./watch_process][4/12/9:11:27:304]: cloud crashed![./watch_process][4/12/9:11:27:349]: p2p_tnp crashed![./cloud][4/12/9:11:27:458]: open share mem ok
[./cloud][4/12/9:11:27:828]: miio_send send_buf: (null)
[./cloud][4/12/9:11:27:829]: miio_udp_send ok!
[./p2p_tnp][4/12/9:11:27:834]: p2p_set_tnp_init_status 1 send_msg ok!
[./p2p_tnp][4/12/9:11:29:668]: p2p_set_tnp_init_status 2 send_msg ok!
[./p2p_tnp][4/12/9:11:29:669]: p2p_set_tnp_init_status 3 send_msg ok!
[./p2p_tnp][4/12/9:11:29:670]: PPPP_API Version: 2.2.4.2
[./rmm][4/12/9:11:29:670]: got a new motion start 
[./rmm][4/12/9:11:29:671]: msg snd success[./cloud][4/12/9:11:29:671]: miio_udp_recv ok!
[./cloud][4/12/9:11:29:673]: parse_packet plain_text: 
[./cloud][4/12/9:11:29:674]: msg snd success[./cloud][4/12/9:11:29:674]: mi_sync_time ok!
[./cloud][4/12/9:11:29:675]: sync_time ok!
[./cloud][4/12/9:11:29:675]: yi_proc ok[./rmm][4/12/9:11:29:744]: got a new motion start 
[./dispatch][4/12/9:11:29:801]: g_dispatch_info.mmap_info->motion_type  =0[./rmm][4/12/9:11:29:804]: msg snd success[./cloud][4/12/9:11:30:256]: 
got a motion event_timeout(0) systick(220) p2p_viewing_cnt(0)
[./cloud][4/12/9:11:39:842]: 
[./dispatch][4/12/9:11:52:363]: invalid msg 0x1007
[./cloud][4/12/9:11:52:367]: cloud_cap_pic send_msg ok!
[./cloud][4/12/9:11:52:372]: cloud_make_video 6(s)send_msg ok!
[./rmm][4/12/9:11:52:387]: size =678 678
[./rmm][4/12/9:11:52:388]: size =12691 12691
[./cloud][4/12/9:11:53:623]: 
[./cloud][4/12/9:11:56:384]: cmd=/home/app/cloudAPI -c 306 -url https://api.xiaoyi.com/v5/alert/gen_presigned_url -uid TNPCHND-099303-CYYGG -keySec 8Fo9zRDvNtQYfZj8 -type 0 -sub_type 1 -suffix jpg,mp4 -time 1491988289
[./cloud][4/12/9:11:56:629]: now do reset 
[./cloud][4/12/9:11:56:630]: cmd = /home/app/cloudAPI -c 139 -keySec 8Fo9zRDvNtQYfZj8 -url https://api.xiaoyi.com/v4/ipc/reset -uid TNPCHND-099303-CYYGG -version 2.1.0.0A_201703071456 -mac B0:D5:9D:90:BC:E3 

Have I done anything wrong?

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

[ProxyList]

add proxy here ...

meanwile

defaults set to "tor"

http 42.51.26.79 3128

I use this server - working fine but I'm still can not connect to camera using app

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

maybe problem is with my phone i use xiaomi redmi note 4

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

from yi-hack-v3.

maysamsh avatar maysamsh commented on August 13, 2024

@szefkamil No.

from yi-hack-v3.

shadow-1 avatar shadow-1 commented on August 13, 2024

@szefkamil
I suggest looking for a socks4 or socks5 proxy server. I don't think I ever gotten it to work with a http proxy server yet. More testing through telnet would have to be done to confirm http proxy server works with ProxyChains-ng.

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

People who haven't able to get it working yet are most likely using a proxy which doesn't work.

Try a socks proxy from here:

https://www.socks-proxy.net

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

I tried to use a socks proxy by filtering code to CN, and updated in ProxyChains-ng, but after reboot, no pairing with mobile app and got the message 'This camera can only be used within China'.

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@VaidasR

The most likely reason for that is that your socks proxy is working however it is not based in Mainland China but in other country e.g. Hong Kong, Taiwan etc.

Test your socks proxy on your PC first and see where it is located. (www.whatsmyip.com)

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@VaidasR

Keep trying with different socks proxies until you find one from Mainland China.

http://www.gatherproxy.com/sockslist/country/?c=China

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

@batrarobin
No luck. either the proxy is not working or it says 'This camera can only be used within China'.

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

@vaidyasr

If you remove the proxy from config file and leave it blank and see if it says "This camera can only be..."...That would mean that your custom files rootfs_h20 and home_h20 have NOT flashed successfully.

After removing the proxy, if it does not give that alert, that means your custom files have successful flashed and then what you need is a reliable socks proxy from Mainland China to make it work.

from yi-hack-v3.

batrarobin avatar batrarobin commented on August 13, 2024

Another source to get free China socks proxy:
http://free-proxy.cz/en/proxylist/country/CN/socks/speed/all

Install app "Proxy check" on your phone and test before using.

from yi-hack-v3.

szefkamil avatar szefkamil commented on August 13, 2024

@batrarobin - Thank you very much i will test this today when i comeback home from the office;)

from yi-hack-v3.

vaidyasr avatar vaidyasr commented on August 13, 2024

@batrarobin
I have removed the proxy, i.e. commented the socks5 and still the camera works fine, but not with the android app. So, the rootfs_h20 and home_h20 has been flashed good. Will try the new proxy you have listed.

from yi-hack-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.