-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region ban still an issue? #8
Comments
Hi, I have no idea how this region ban works... So I would say "try" and tell ++ On Tue, Mar 29, 2016 at 12:48 PM, Pawel Janisio [email protected]
|
After succesfull flash of firware, camera is connecting https://api.xiaoyi.com and checks camera version. If chinese version is found (serial numer check vs wifi settings or domain or whatever) than it shut down with chinese message that this is hardware for China mainland only :) I already figured out to have RTSP, telnet, ftp for firmware version "L" working like a charm so im aware to check with your scripts as it overwrites some files permamently. Maybe some other brave user will check that ;-) |
I can confirm that Regional ban is still an issue, the attached "M" version only works assuming you're using the US/EU version. i'm trying to fiddle around with it - trying to bypass this limit by either blocking Xiaomi's sites on host level or emulating the json respond with a localhost copy, if i'll have any actual success i'll make a pull request. |
@d3bugg3r keeping fingers crossed. |
Nobody got a solution yet? |
@fritz-smh i've tried to block communication to "home" server via firewall or host but it didn't help - i might be missing callback addresses or barking the wrong tree.. if anyone has any other idea it would be great. |
Hello, I happened to get working the camera I bought last week without it turning off automatically because of the region ban. I have 1.8.6.1B version installed. The way I blocked it was pointing to an internal DNS server, pretty much as a local host file. |
Good news indeed! Please share your script when its done. And can you say a litlle more about this DNS server? Did you managed to point to your DNS server to avoid asking xiaoyi servers? If so, than you needed to launch a DNS server on your router or server? |
This was a quick and dirty test to confirm how the ban works, I started off checking the traffic that the camera generates once it is turned on until I get the english message saying that the camera is only for use in china and disconnects. I happened to have a raspberry pi in my internao network which has pi-hole installed, this helps a lot to see the traffic that is being generated by the camera. I saw several dns requests for amazon web services and as you well mentioned api.xiaoyi.com and the other one. I first blocked the api but the camera kept turning off then I blocked the second dns (not sure if both need to be blocked), since it worked i left it as it is. When I say block I really mean when ever the camera makes a dns query to my dns server (rpi) the raspberry will resolve the ip of the raspberry instead of the orginal ip address. I suppose the camera understands this as the site is up but has nothing to report back (luckly). That is pretty much what i did, as soon as I have some time (which I don't lately) would like to try to adapt the scripts already in place ( thanks to fritz-smh!!!!) to suit our needs with this version. With earlier firmware versions it seems the network adapter is not found therefore it doesn't register an ip. Any ideas are always welcome. |
Thanks for explanation. As you said luckly it is enough to check by camera that the site is up and nothing has to be returned back. Anyway I think the best solution would be to localize file, or string in the binary where serial number with "CN" is stored (or any flag that says it is chinese version) and replace it with international serial number. Than no blocking of traffic would be needed. |
See https://diy.2pmc.net/solved-xiaomi-xiao-yi-ant-home-camera-can-used-china/ All credit to the original author, looks as if modifying /home/cloud did the trick p.s. Thanks for the great firmware |
Hi, https://diy.2pmc.net/solved-xiaomi-xiao-yi-ant-home-camera-can-used-china/ |
I added your last link in the README. As I have not this model, could someone summarize what can be done and if it works fine ? |
I have the same problem but with a Smart Camera 2 {1080p) Could the DNS trick work? Update: I tried to aliases DNS of ot.io.mi.com api.xiaoyi.com from my local DNS (dd-wrt) resolving them to 192.168.1.1 with no luck for pairing a Yi Cam 2 (1080p) Thank you anyway |
Hi.I have 1.8.6.1B installed and working with rtsp telnet FTP and http. To enable i did the following. Enable telnet and login. ps | grep /home/watch_process | grep -v "grep" | awk '{print $1}' | xargs kill -9ps | grep /home/cloud | grep -v "grep" | awk '{print $1}' | xargs kill -9sed -i 's|api.xiaoyi.com/v4/ipc/check_did|api.xiaoyi.cox/v4/ipc/check_did|g' /home/cloudrebootEverything working |
Hi guys, I just bought this camera yesterday, and i still cant connect it to my phone after a lot of hours i put into it. i've tried upgrade and downgrade firmware from 1.8.5.1 B to 1.8.5.1 N, all firmware cant connect to my wireless router and i get this Log in my sd card saying pasword error. |
Hello pls, someone can create a video tutorial to remove ban region ? |
Just quick update - xiaomi moves on - from 17CN**160622 versions there is no way how to downgrade - seems like there is some kind of HW lock. And blocking the above DNS did not help either... |
Yep - I just received a CN camera and it is not possible to downgrade. Hoping someone figures it out but it is looking like a bricked device at this stage :(. |
@sumnerboy12 May be you can give this method a shot? - http://en.miui.com/thread-226141-1-1.html .. ignore if you have already tried. |
Yes - I had come across that thread and tried it. The problem seems to be the latest version has disabled the ability to load new firmware (either upgrade or downgrade) from the SD card. So there is no way to alter the firmware on the camera. |
Well, unless that specific firmware is not dumped or avail for download somewhere, nobody can do/say anything then guess... |
Yep - I have spent ages trying every different method I could find online to re-flash this one and it just won't even attempt to upgrade/downgrade. I had two earlier versions of this camera which I got working fine using the techniques described so something has definitely changed. I managed to brick one of the originals (which is why I bought this new one) buy stupidly disabling the |
Have a look here http://felipe.astroza.cl/hacking-hi3518-based-ip-camera/ |
I bought two of these and stupidly upgraded them to whatever the latest firmware is. None of the SD card methods seem to work. So I opened one up and lo and behold there is what appears to be a serial port. I ordered some Micro 1.25mm T-1 4-Pin JST Connectors from eBay and am currently tying to see if I can get root / bootloader access. If this works I have a older un-upgraded camera I can dump the root file system from and just copy that over. To be honest though I will probably just build something without Xiaomi's craptastic software. On a completely unrelated noted Walmart has started stocking this Momentum Camera for $36. Might grab one of these to see how it works, or I might just buy some Nest cameras and be done fucking about with Chinese crap. |
17CN hack the number behind the qrcode is important to determine way to hack or version to be flash. |
very smart! i check the code a bit. looks like a bypass but gosh, how do you know what file to change! @heavenf thanks! |
@DevinWatson That is the way to go... |
I have Xiaomi YI 12CH-version which has "can only be used in China" problem. I tried this hack, but it doesn't seem to work. The camera gets fixed blue light (WiFi connection) for a few seconds, but then it starts to flash yellow again. I've tried the telnet trick above and several firmwares but I haven't got past this. Excellent hack though, only if it had worked on my device! |
Hello @some1563 i have this problem too, i solve with a ready-to-go firmware i downloaded Download here: http://www27.zippyshare.com/v/nXZP3NJY/file.html Source comments of: http://diy.2pmc.net/solved-xiaomi-xiao-yi-ant-home-camera-can-used-china/ |
Hi fritz-smh, I tried adding: ps | grep /home/watch_process | grep -v "grep" | awk '{print $1}' | xargs kill -9 into the top of the equip_test.sh file and it worked! |
Is there any working hack for 18CN upgraded cam? I've tried everything with no luck. |
Sorry, mine is the old version.
…On 2/4/2017 7:07 PM, maysamsh wrote:
Is there any working hack for 18CN upgraded cam? I've tried everything
with no luck.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXFif5Frc9trfqz3bH5d7KVKuoBX8w39ks5rr4FkgaJpZM4H6m8c>.
|
Hello everybody, |
Cameras produced after 11 Nov has a region ban while using firmware newer than "L" version.
I saw that you removed cloud feature so region ban will not happen after flashing with your firmware?
The text was updated successfully, but these errors were encountered: