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
Mijia firmware 3.3.9_0121 support #190
Comments
great info thank you |
Xiaomi MiJia is a different device! This project is about the Xiaomi XiaoFang camera. I don't have a MiJia so no idea if it even uses similar hardware. Would be interesting to find out, if it's similar to XiaoFang maybe we can support it. |
Yeah, i've just noticed it is a different device :/ Samtap - how can i assist you with "finding out" if it is similar ? |
First thing would be find out which hardware it uses. If it is similar to XiaoFang there's a SNX98600 SoC and maybe the software is compatible. But most likely it uses completely different hardware. You could take it apart and take pictures of all the chips etc, see if you can find serial console access and take it from there. |
i have a mijia too, and i want so hard to get RTSP video out of it. |
samtap - i would love to help - but i'm no "hardware" man (more software like to be honest) If there is no screw and i cannot use screwdriver - i'm doomed :) And this is the case (there are no screws in this camera and i don't know how to dismantle it) Maybe there is someone else with Mijia 1080P camera (beware - they have also Mijia 360 camera and Mijoa car DVR camera - this thread is about "pure" 1080P Smart camera IP) with proper skills to dismantle it ? Me and theDoc5655 will be most welcome. :) And really, samtap (and maybe someone who can help us with our camera) - consider some crowdfunding/patronate or plain donation portal - there will be many, who will want to reward you for your good work! ;) |
don't let this thread die pls :v |
I'll leave the thread open, I don't have a Mijia cam but maybe somebody else can contribute |
I've some Mijia atm but same problem of Filipowicz251 here |
Mijia camera is also made by XiaoYi camera, maybe it helps for you: https://github.com/fritz-smh/yi-hack |
Hi, |
if this can help to make a custom firmware for the mijia 1080p standard i'll build you a statue! |
But this is for mijia 360 1080p. It is not the same as just mijia 1080p. I suppose the hardware is different - so the hack would be also different :/ |
I also want a hack for the sxj01zm ( Mijia 1080p ) to get acces to RTSP |
@samtap what are chances, that you could make use of it and create Mijia Xack ?:) |
Chances are slim since it's not the same SNX chip as in the Xiao Fang, but this one: http://www.grain-media.com/html/8136S_8135S.htm. So the software is completely different :( Xiaomi sure is busy putting new cheap cameras on the market lately: |
@Filipowicz251 is there any firmware available to download? So that it can be analyzed? If there is no possibility to get into console, it would be needed to extract firmware and see if there is any chance to easily start scripts (maybe with root priviledges). |
@snoerenberg - nothing that I'm aware of. firmware is being downloaded automatically by the application. I didn't see any url with firmware to download :/ |
@Filipowicz251 I triggered the FW download in the Mi app and captured on my router (Fritz.Box) the internet connection. So I was able to see the HTTP calls which have been issued by the webcam. Than I downloaded the FW on my PC after analyzing the packets with wireshark. |
@snoerenberg - so you have the firmware? great news :) Maybe post it here - so, that anyone (who knows how to do it:) ) can "try" to find hack? |
@Filipowicz251 no from the Xiaofang I could capture the FW download. I ordered now a Mijia as well... will take some time to Germany. |
Good |
We should start a new project only for the mijia 1080p camera. |
@niighthawk we'll see if there is any easy entry point to create a hack. What is urgently needed? Rtsp? The camera should work outside China with Mi app or? |
I think everyone want it's a RTSP and put cloud system off like others hack, also an option to put the blue light off and also the night mode off. |
I urgently need the support to RTSP, thanks guys :D |
Just want to chime in that I'll receive a Mijia in a month or so and will do my best to help here. Meanwhile, was there any github project created for Mijia camera specificaly? |
Hi, Can someone in the meanwhile make a port scan on the Mijia? Links:
Stephan |
Within the SDK is a compiled "rtspd" at least. |
Hi I've created github project for hacks for Mijia 1080p. https://github.com/Filipowicz251/mijia-1080P-hacks I've created also a topic for this: |
@ferdydek can you try to find the UART (if there is any)? Maybe you can check it as well, following a nice summary how to find the right pins (hopefully). From my point of view, suspects could be the following: Maybe they are all just ground ... may be the two green ones on the right side!? |
Hi, When you look at the traces they go straight to the CPU legs. Thanks |
thank you all guys. ill follow this with great optimism. |
@snoerenberg, good find! I'm 99% sure the UART is the top most 2 test point on your 2nd photo. They seem to be attached to pin 86 and 87 on the chip, which are UART0_SIN and UART0_SOUT. If I'm not mistaken, the left test point would be IN and right one would be OUT. Edit : Forgot to share the datasheet : http://caxapa.ru/thumbs/655229/GM8136S_GM8135S_Data_Sheet_V0.2.pdf page 38-39 |
I don't know if this is any news for you, but on on the SD-Card (for saving videos) there are logs saved from camera as well. (linux kernel log) |
@kollaesch would be nice. Mine is still in transit. No one with an USB-UART Adapter here to check if a writable root shell is present? :) Thanks |
Mine is in transit as well. As soon as it arrives I will give it a go. |
@snoerenberg I have an USB-TTL at home. |
@ferdydek How did you open the cam? |
the logs from the boot of the cam are listed here: |
Log looks good: Jan 1 08:00:02 kernel: [ 0.000000] Kernel command line: mem=128M gmmem=90M console=ttyS0,115200 user_debug=31 init=/squashfs_init root=/dev/mtdblock2 rootfstype=squashfs So a console should be present on UART. Seems also that the encrypted Miot traffic is dumped to this log. 👍 |
@kollaesch simple plastic priming tool, wasn't difficult at all. It left super small wite trace in one place. No biggy. |
@snoerenberg it may take me a while, my multimeter burned waiting for new one to arrive. |
I've pre-ordered one of these: http://www.gearbest.com/ip-cameras/pp_693217.html |
@samtap this "issue" is focusing on the mijia 1080P, you'll have better chance to create a new one for this specific camera. Side note, should we all move over to https://github.com/Filipowicz251/mijia-1080P-hacks for further chat about the Mijia? Edit : I'm retarded, didn't realize @samtap is the man! Welp, that other camera sure look promising |
@ferdydek I got it open. The plastic tube is the cover for the long led-glas-tube. Put it over/around again :) |
@kollaesch maybe you can make a picture how to open it or point out where the clips are. Thank you |
So, guys - thanks for all the previous hints! - I can confirm ... It's alive ;) Referring to the picture last picture in snoerenberg's post pictures and boot-uart-log follow. |
I'm switching to "Filipowicz251/mijia-1080P-hacks" right now. Follow us/me there. |
@Filipowicz251 close this issue so we don't carry on this discussion here :) |
You are right :) I'm closing it. |
Hi
Yesterday i've received my "Xiaomi mijia 1080P Smart IP Camera" I've read about "Fang Hacks" - so i was sure i can enable its "full power"
First of all i've tried to connect camera to my wifi network. There were problem because i've tried to connect it to 5GHZ network and it cannot be connected this way. But it finally worked. At the begining i've tried to use APP, which was downloaded after i scan QR code for application (attached in Guide shipped with camera) It was not successful (because of 5GHZ - i didn't noticed it back then) - then i've tried to download another app called "YI home" But i cannot connect camera with this app either (but i realised it was wrong wifi type) Then i go back to this application from guide (on my iphone - application name is in china - but i've used "google translate" and it is saying it is just "MI" application)
I've moved to second step: "Installing hack to sd card". I've used Win32 Disk Imager (attaching PrtScr)
After saving image to sd card (i'm using sd card adapter for micro sd card - if it's matter) i see two partition created (PrtScr attached) - one is normally display, second one is undiscovered.
[Update] I've installed "Ext2 File System Driver for Windows" - now i can see also the second "data" partition (PrtScr attached)
After that i've insert sd card to camera but... there was no effect. No sound of inserted sim card (as it has been mentioned) Nothing... In Mi application i see - that sd card is being discovered but apparently hack is not being applied (attaching PrtScr)
hxxp://192.168.0.20/cgi-bin/hello.cgi is not working. Of course i've checked - my computer is connected to the same wifi network (not the 5 GHZ but 2,4 GHZ) and i've checked on the router camera ip - it is "0.20"
hxxp://192.168.0.20/cgi-bin/status is not working as well. I cannot connect using telnet (but of course i've the camera is not hacked - it is somehow obvious, isn't it ? )
What am i doing wrong ? Is this a matter of a new firmware ?
Attaching Printscreens:
6 Informationa after clicking Verify only (after saving image)
The text was updated successfully, but these errors were encountered: