shadow-1 / yi-hack-v3

Alternative Firmware for Xiaomi Cameras based on Hi3518e Chipset
GNU General Public License v3.0
1.15k stars 152 forks source link

rootfs_h20 and home_h20 #1

Closed add210 closed 7 years ago

add210 commented 7 years ago

I am very new to this. How do I hack my Yi Dome camera step by step. I cant figure out what the rootfs_h20 and home_h20 are.

Thank you, Ed

szefkamil commented 7 years ago

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:(

maysamsh commented 7 years ago

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)
xmflsct commented 7 years ago

@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.

szefkamil commented 7 years ago

Maybe i made some mistake , please sent me prtscr od you proxychain_ng

11.04.2017 5:36 PM "maysamsh" notifications@github.com napisał(a):

Log.txt at /tmp: `

[./dispatch][1/1/0:0:14:466]: got sn(hNUuY4ulVv2iXCrLIC7rOnZnC9Qdnf YI)[./dispatch][1/1/0:0:14:478]: got pwd(maysamnet2)[./dispatch][1/1/0:0:14:479]: got ssid(MAYSAM-PC_Network)[./dispatch][1/1/0:0:14:480]: got tnp_init_string(MOFEJKLGIEELKLHOOMEGPAEPGBDKFE HJGFFBLHJOJCBOCIABOBINBFMEOKDCABLEPELMCLOCNICCBPCHALAADOPCNC)[./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: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 libsnsf22.so____

[./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 targetlum =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: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: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]: msgproc success[./rmm][1/1/0:0:16:82]: Gamma test for table 1____

pid[956][./rmm][1/1/0:0:16:112]: pid[957][./dispatch][1/1/0:0:16:125]: invalid msg 0x1002

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!

1491129686[./watch_process][4/2/10:41:26:155]: check_interval=10

/home/app;./dispatch &;

/home/app;./cloud &;

/home/app;./p2p_tnp &;

/home/app;./mp4record &;

/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

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 info=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(MAYSAM-PC_Network) pwd(maysamnet2) 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

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!

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

HJGFFBLHJOJCBOCIABOBINBFMEOKDCABLEPELMCLOCNICCBPCHALAADOPCNC)

[./p2p_tnp][4/11/15:30:57:234]: p2p_set_tnp_init_status 4 sendmsg 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

=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

com/v4/ipc/reset?hmac=BRJQ9YERXzNFmnFTXVB8KDS63CA%3D&seq=9&uid= f582e1416961d9b5cc5d3062ed557b6e&timestamp=1491924683

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

xiaoyi.com/v5/alert/gen_presigned_url?hmac=IS8xnB% 2FAuxqKYRkIo9B9jBUB4Rk%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b 6e&type=0&sub_type=1&suffix=jpg,mp4&time=1491924660&timestamp=1491924707

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

xiaoyi.com/v5/alert/gen_presigned_url?hmac=%2BNQ9n5hjsbPFoYubC% 2BSBmi4RZp8%3D&seq=9&uid=f582e1416961d9b5cc5d3062ed557b 6e&type=0&sub_type=1&suffix=jpg,mp4&time=1491924660&timestamp=1491924727

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

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

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

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

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)

`

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293302805, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhs6oLOiSk8HMWlTCVlW5Alh7DgFxks5ru53lgaJpZM4M0_yB .

szefkamil commented 7 years ago

Sorry but i use my phone and directory change some Worda

11.04.2017 5:49 PM "Zhiyuan" notifications@github.com napisał(a):

@junsheng89 https://github.com/junsheng89 @wanwe https://github.com/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.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293306998, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhknaFsBH_23yoWQkZBzD26MkLHR6ks5ru6D4gaJpZM4M0_yB .

szefkamil commented 7 years ago

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!!!!

szefkamil commented 7 years ago

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

When i try to connect i received this information

maysamsh commented 7 years ago

@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
szefkamil commented 7 years ago

@maysamsh

I'm trying already

2017-04-11 21:07 GMT+02:00 maysamsh notifications@github.com:

@szefkamil https://github.com/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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293369473, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhqureuVGBcXpjWhKa33WbQEU48_tks5ru8-OgaJpZM4M0_yB .

szefkamil commented 7 years ago

@maysamsh

Not working:(

what should i do?

maysamsh commented 7 years ago

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

szefkamil commented 7 years ago

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

szefkamil commented 7 years ago

@maysamsh you have the same situation with app??

szefkamil commented 7 years ago

I spend second day to configure this f** camera

maysamsh commented 7 years ago

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

szefkamil commented 7 years ago

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

maysamsh commented 7 years ago

Sure

xmflsct commented 7 years ago

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

shadow-1 commented 7 years ago

@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.

shadow-1 commented 7 years ago

@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
Jun-Sheng commented 7 years ago

@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.

szefkamil commented 7 years ago

Please sent me link to downloader this chinese app yi smart

11.04.2017 11:59 PM "Zhiyuan" notifications@github.com napisał(a):

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293412888, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhkwjMSmdaw841iTtnrGp0PjVaslzks5ru_epgaJpZM4M0_yB .

batrarobin commented 7 years ago

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

szefkamil commented 7 years ago

Done, i Will check when i comeback home

12.04.2017 6:29 AM "batrarobin" notifications@github.com napisał(a):

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293471108, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhskgUbBhkTRrRs7XdHAepQhNn5N1ks5rvFMxgaJpZM4M0_yB .

szefkamil commented 7 years ago

Please check this app masmayh

11.04.2017 10:28 PM "maysamsh" notifications@github.com napisał(a):

Sure

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293390352, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhjHS8TAoX8rKD531dLaqu4h-IEN5ks5ru-JogaJpZM4M0_yB .

vaidyasr commented 7 years ago

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.

shadow-1 commented 7 years ago

@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.

vaidyasr commented 7 years ago

@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?

szefkamil commented 7 years ago

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

szefkamil commented 7 years ago

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

szefkamil commented 7 years ago

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

shadow-1 commented 7 years ago

@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.

vaidyasr commented 7 years ago

@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?

shadow-1 commented 7 years ago

@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.

shadow-1 commented 7 years ago

@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.

maysamsh commented 7 years ago

@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?

szefkamil commented 7 years ago

[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

szefkamil commented 7 years ago

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

szefkamil commented 7 years ago

@maysamsh- any progress? Have you connected?

12.04.2017 11:14 AM "maysamsh" notifications@github.com napisał(a):

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

[./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: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 libsnsf22.so____

[./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: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: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: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

_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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shadow-1/yi-hack-v3/issues/1#issuecomment-293520177, or mute the thread https://github.com/notifications/unsubscribe-auth/AZZHhl7u59jo4gHC7CRqO8iu_9SNgb6lks5rvJX1gaJpZM4M0_yB .

maysamsh commented 7 years ago

@szefkamil No.

shadow-1 commented 7 years ago

@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.

batrarobin commented 7 years ago

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

vaidyasr commented 7 years ago

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'.

batrarobin commented 7 years ago

@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)

batrarobin commented 7 years ago

@vaidasr

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

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

vaidyasr commented 7 years ago

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

batrarobin commented 7 years ago

@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.

batrarobin commented 7 years ago

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.

szefkamil commented 7 years ago

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

vaidyasr commented 7 years ago

@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.