niclet / yi-hack-v2

Xiaomi Yi Ants Camera 2 hack
124 stars 34 forks source link

Yi2 1080p camera doesn't work anymore outside of China :( #9

Open Comraddm opened 7 years ago

Comraddm commented 7 years ago

Hello! 10 days already since the camera stopped to show live video :( Not only my camera, many people say the same. Do you have the same problem?

atmirr commented 7 years ago

Hi, I have the same problem. Yi Home app doesn't pair with camera and show following error: "Network connection failed, please check network setting and reconnect it (-20009)" Any solution?

niclet commented 7 years ago

Hi,

I can't check on my side for now, but many people have same issue. A friend of mine has the v1 (780p) and yihome app doesn't work anymore, he must use mihome app. But as far as I know, mihome doesn't support v2 on iOS.

atmirr commented 7 years ago

I've also checked with Mi Home app but doesn't work same as Yi Home.

niclet commented 7 years ago

For v1, even MiHome app doesn't work often correctly. MIHome crashes for universal remote. XIaomi connected LED has burned after one day... Seems xiaomi quality is not on the right way.

niclet commented 7 years ago

Actually, Xiaomi may have upgraded their servers to force us to upgrade camera firmware. Are you using original old firmware ?

Comraddm commented 7 years ago

Yes, we all use old firmware. Don't you have Yi2 now, why can't you check it?

atmirr commented 7 years ago

I'm also using old firmware (2.1.1_20160429113900) and had no problem until 10 days before.

img_2016-12-19 11 27 26

niclet commented 7 years ago

Since I don't have enough time to work on these projects for now, I have temporarily given my cameras to a colleague, that's why I can't test it myself.

Comraddm commented 7 years ago

Can you at least tell where to download the newest firmware for it?

Comraddm commented 7 years ago

Tested the latest CN, USA and EUR firmware with Chinese app and with English app, but without success. Every time it says the camera can't work outside of China. Only the old April's firmware works, but still no live video from the camera.

Comraddm commented 7 years ago

Also tested your hack with the camera, it works like it should. Opens FTP, Telnet and RTSP flow. As I understand, when I switch on RTSP flow, the camera stops writing files to the SD card? Can it work simultaneously RTSP flow and SD card files writing? I want to watch live video by another app and copy video files from camera by FTP.

TommyChausson commented 7 years ago

It's the /home/web/ipc script who makes all automatics actions : -> Detect Move and save to sd card -> Adjust image (night vision included) -> send informations to external servers

When you launch the startup_modified, this script is not launched... that's why you cannot (for the moment i hope...) do the both at the same time...

niclet commented 7 years ago

Both can't run at the same time. The camera can probably be accessed by only one process at a time. Sorry, I don't have time anymore to keep on working on these projects, but you're welcome to improve them :)

ykhandler commented 7 years ago

Hi niclet. If you dont mind, Can we get source code of the libyihackv2.so? So we can improve them...

atmirr commented 7 years ago

Any recent solution guys?

atmirr commented 7 years ago

Dear @niclet We're still have the issue, it's good to know that our 50 pcs of these cameras stop working. We're even ready to pay you to fix this problem. Please keep in touch with me. Thank you

niclet commented 7 years ago

Hey, Thanks for proposal, but I don't do that for money :) My children are taking all my time. It would be interesting to check if an "international" version of the camera still works outside China. And if someone owns one, we could dump all the camera files and find what is the difference between a Chinese and an international version. I already know that the serial number contains a country identifier, would need a valid international serial to check. As far as I know the firmware is the same for both Chinese and international versions.

ykhandler commented 7 years ago

I can say that the international version works well. How can i tell that? I got xiaoyi dome china and international. The day ants2 got -20009 error, dome also got the same error. While the dome international still working. As i know, there is nothing difference between the hardware and software in the same kernel.

niclet commented 7 years ago

So it's probably only the serial number which is different. We can change the serial number of the camera, but at the time I did it, it was not working at all, as if Xiaomi was able to check if serials are valid.

ykhandler commented 7 years ago

You got that right. Not only serial is the validation. There are 2 other key is for the validation. I hope i could know how it was generated. The best solution is to create our own program. So we can use it over ddns than depends on other server.

ashmodai6 commented 7 years ago

I do own both a Chinese and an International version of this camera. Happy to provide any information needed to help making this cam Yi-independent ;) Just tell me what you need and how to get it

atmirr commented 7 years ago

I also have 2 Chinese and International too. Ready for any experiment.

jasoon88 commented 7 years ago

I just ordered 4 Xiaomi Yi 1080p from china, i loaded the hack firmware to remove "camera can only be used in china message" Successfully added camera to the chinese Yi app but i can never get the camera to load image. "Network connection failed, please check network setting and reconnect it (-20009)" However when i check the sd card i can see video clips of the camera stored i guess via motion detection. Can anyone tell me how to get it running with the app??!

AlexKholodkov commented 7 years ago

@jasoon88 unfortunately moved to China, will be there to work with the original application only

xmflsct commented 7 years ago

@atmirr any luck till now?

atmirr commented 7 years ago

@xmflsct unfortunately not. It seem that someone working on it here: https://github.com/fritz-smh/yi-hack/issues/141

xmflsct commented 7 years ago

Thanks @atmirr! I will follow that thread.

ykhandler commented 7 years ago

Check this out: https://m.youtube.com/watch?v=HssoXD_U7eA

fjkum commented 7 years ago

Why everyone still using the China version of it when there is an International version of it from the official Yi.

fjkum commented 7 years ago

Sure. Again, this might not be the right place to do that. We shouldl help those ppl who needs it for NO FEEs involve.

So guys, here are the steps: Visit this: http://tomascrespo.sofiytommy.com/how-to-use-yi-home-camera-2-1080p-outside-of-china/

niclet commented 7 years ago

@ykhandler We have clearly understood that you claim to provide commercial support to hack non international cameras which are blocked outside China. This is not the aim of this repository, especially on GitHub.

I have deleted some comments which are useless on this repository.

fjkum commented 7 years ago

@niclet I totally agreed! Hope to see more features out from your source. I am looking forward to RTSP

niclet commented 7 years ago

@fjkum This is exactly the method exposed in the main page of this repository ;)

fjkum commented 7 years ago

@niclet, ah! Silly me! :D

fjkum commented 7 years ago

@niclet, will this still work on the latest official firmware?

niclet commented 7 years ago

Unfortunately, I can't certify it. Maybe new firwmares don't allow to downgrade, or maybe Xiaomi now sells cameras which are not exactly the same as mine when creating this repo.

fjkum commented 7 years ago

@niclet, thanks for clarifying. Can we hook up USB to Serial for accessing to debug ?

niclet commented 7 years ago

I'm afraid USB is only available to supply power, but don't know how to be sure.

ykhandler82 commented 7 years ago

You don't need to banned me @niclet. I will say, even you use the latest firmware, you still able to downgrade the firmware.

niclet commented 7 years ago

You can now make your camera work outside China if you find a working proxy in China. You just have to value the YI_HACK_PROXY variable in the configuration file Format is: YI_HACK_PROXY=socks5h://127.0.0.1:1080 You will have to remove the camera from your application and make association again.

niclet commented 7 years ago

I'm currently working on a way to make the camera find itself a working chinese proxy.

zhen-pan commented 6 years ago

Hi @niclet Thanks for working on this! Do you have any update on the chinese proxy self searching feature? Thanks

n8henrie commented 6 years ago

@niclet -- would love to get the source code of libyihackv2.so, especially since it looks like this repo is no longer under maintenance.