-
Notifications
You must be signed in to change notification settings - Fork 340
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
Xiaomi 1080p Dome 360 Camera - Black colour #124
Comments
Can you get a dump of the file system? I tried and failed a couple times at extracting the data from the firmware image. Appears it is encrypted. |
I have managed to unpack the firmware file for a number of firmware images for the Yi Dome and Yi Dome 1080p cameras. I have uploaded them at the link below. https://app.box.com/s/cibs7n1mgvhqaqjlidtveegu1uajt5yr With regards to getting telnetd working on the Yi Dome and Yi Dome 1080p. The issue is that the version of BusyBox included on these cameras is severely limited. The Yi Home, Yi Dome and Yi Dome 1080p cameras are all based on the HiSilicon Hi3518 chip. So it should be possible to copy BusyBox from the Yi Home and use it on the Yi Dome cameras. Alternatively BusyBox can be compiled from source. I managed to find the HiSilicon Hi3518 SDK online. |
@shadow-1 can you explain how you were able to get the dome camera firmware extracted? |
@death2all110
The 7zip file can be extracted normally using any program compatible with 7zip archives. |
@death2all110 I currently have the Xiaomi Yi Dome 1080p camera which is region locked to mainland China. When I boot up, I get the message "This camera can only be used within China". The usual hacks I managed to find online do not seem to work with this camera (I still want to use the Xiaomi app). If you have the same camera, do you happen to have firmware version 1.9.2.0A_201609281601 installed? If you do, can you share the filesystem from your camera or the firmware file if you have it saved? I want to downgrade my firmware and see if I can defeat the region ban on the older firmware. However I can't seem to find the firmware file for download anywhere online. |
So I have a full dump of the flash for the Yi Dome (not 1080p). I'm impressed @shadow-1 that you reversed that for the update file. Did you look at extpkg.sh for this or found it out some other way? As you mentioned the firmware files provided by Yi only update "home" which is related to the cloud services and other Yi services. It does not touch the busybox system or auxiliary at all. I've also found the current busybox distribution on the cameras severely limited as many functions are not there including telnet. I've tried to replace the entire system with my own compiled version of busybox with no success/fails to boot and drops to U-boot. Same with any form of RTSP server. So if anyone can compile for the chips mentioned above I could give it a try. For anyone exploring that does not want to fiddle with soldering leads to TX/RX pins. I can say that I've noticed that the system looks for /test/factory_test.sh on the SD card at boot. So a similar non-intrusive hack as this was originally should be possible as well. The camera also looks for these files at boot. For people who want to dump the entire flash of the camera this is the pattern of the SPI flash that I found. So if anyone as questions/suggestions, drop a line here and I'll se what I can help with. Because I also really want to get this thing working. As for region block, I have a EU/US version so I haven't seen that issue. But I can see that functions dispatch and cloud does check for region and ban. /////More data dump if it helps anyone: Booting kernel from Legacy Image at 81000000 ... Linux version 3.4.35 (chenshibo@ANTS-SH-SV02) (gcc version 4.8.3 20131202 (prerelease) (Hisilicon_v300) ) #1 Wed May 25 19:18:17 CST 2016 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 Kernel command line: mem=22M console=ttyAMA0,115200 root=/dev/mtdblock4 rootfstype=jffs2 mtdparts=hi_sfc:256k(boot)ro,64k(env),64k(conf),1600k(os),1280k(rootfs),12992k(home),64k(vd1),64k(ver) ominivision ov9732 sensor 720P30fps ///// |
Anyone have some guidelines for combining the RTSP server for a new platform chip? I might have made progress with the dome camera. |
@felixekman Yes I studied extpkg.sh to determine how the firmware file is being unpacked. I have cheated a bit and transfered busybox from the Yi Home and found that it works perfectly on the Yi Dome/Yi Dome 1080p. I have placed a copy of this implementation of busybox on the link I posted above. I am also trying to develop some programs on the Yi Dome. I suspect that the SDK I currently have is not compatible with the Operating System installed on the camera. I have tried finding newer versions of the SDK, however I don't think I found the appropriate cross-compiler yet. I also added the SDK's I managed to find on the link I posted above. I am looking for the arm-hisiv300-linux cross-compiler as this is what is required to develop applications for the Yi Dome 1080p. I suspect this is required for the Yi Dome too. |
@shadow-1 how did you go about actually transferring the busybody from the regular home to the dome? I've tried a few ways but have been met with kernel panic upon boot and thrown back out to u-boot. I don't know if you tried these but they might give you some directions: |
@felixekman I haven't tried replacing busybox on the Yi Dome. I just ran the tools manually from the SD card and confirmed that they work properly. For example, telnetd works perfectly. |
Ah alright, makes sense. I've tried that as well with success, but not replacing the running system. |
@felixekman I managed to find the proper SDK for this platform. The chipset for the Yi Dome and Yi Dome 1080p is the HiSilicon Hi3518E V200. The SDK I got includes full documentation, including a guide on how to compile and deploy BusyBox. The cross-compiler that is required to be used is arm-hisiv300-linux. I am currently uploading the SDK on the same link as above to share. However my Internet upload speed is very limited and it will take a little while to upload. Box.com has a maximum file size of 250mb on their free account, so I had to split the archive into six pieces. |
Another way to extract the firmware via serial port (or via sd card/test/factory_test.sh) is: |
@felixekman |
@phucn @batrarobin @felixekman The firmware is available here: I can adapt the firmware for the original Yi Dome (white) and the Yi Home 1080p v1 with a little help. They are all very similar cameras based on the same chipset. However I can't do any testing as I don't have these cameras. I also have some ideas on getting RTSP streaming working at the same time as the Xiaomi cloud service. However I haven't had much time to develop it at this stage. |
@shadow-1 , i try to know sdk version of the camera, since have a lot of hi3518eV200 SDK |
@phucn I have successfully used Hi3518E_V200R001C01SPC030 SDK. I have compiled many programs for Hi3518EV200 chipset without issues. I think Hi3518E V200R001C01SPC040 has been released. However I don't have a copy of it. |
@shadow-1 , pls help me to find sdk version by cat /proc/umap/venc. do you know the IPC sensor chipset? |
[VENC] Version: [Hi3518EV200_MPP_V1.0.4.0 B050 Release], Build Time[Nov 25 2016, 21:56:23] -----MODULE PARAM-------------------------------------------------------------- -----VENC CHN ATTR 1------------------------------------------------------------- -----VENC CHN ATTR 2------------------------------------------------------------- -----VENC CHN RECEIVE STAT------------------------------------------------------------- -----VENC VPSS QUERY----------------------------------------------------------- -----VENC SEND1---------------------------------------------------------------- -----VENC SEND2---------------------------------------------------------------- -----VENC PIC QUEUE STATE------------------------------------------------------ -----VENC CHNL INFO------------------------------------------------------------ -----VENC CROP INFO------------------------------------------------------------ -----VENC STREAM STATE------------------------------------------------------------ |
thanks @shadow-1 . the IPC is using SDK Version Hi3518EV200 SPC. V1.0.4.0 |
Is there any Discord channel or something that we can openly talk about and maybe cooperate? Really looking forward to have this hack working on my dome. |
Have you tried shadow-1`s hack for 1080p dome camera? It's a working hack and quite simple to flash. |
To all those who have been working hard but I need help soo plzz I m noob I need guidance plzz hope people and community are here to help .... So now listen my brother brought from China we want to use this in India cn anyone help me how to unlock the firmware or get compatible toh my region plzz thanks in advance it will of total waste of money plzz.... Hope any one understand it's Yi dome camera white colour asap |
@amitnavik Read @shadow-1's last comment in this post: You will need to attach wires as shown in photos here: |
Thanks for the help @batrarobin. Either way i was expecting no wiring involved. Thought it would be as easy as copying file to the SD card like other hacks. |
@diogoribeiro09 If you can help. I have detailed the initial steps that need to be done in my post below: |
What further procedure to do after soldering all detailed steps |
@batrarobin what after wiring stuff...? Explain in detail which os to use Linux windows and all that memory card stuff rootfs kind n ol |
@amitnavik No Linux required, just a Windows computer with PuTTY installed will work. |
@shadow1 can u explain me how can I or what cn I do to make camera work in India here how to do all that 8 points strip 22 bit from here I just don't get it |
@amitnavik I will write the following instructions as if you are using PuTTY on Windows.
Once this is done, you will need to send me the files mtd0, mtd1, mtd2, mtd3, mtd4, mtd5, mtd6, mtd7 from your microSD card. From those files I can create a custom firmware compatible with Yi Dome (white). |
Hi! I have the Yi Dome Camera 1080P. Can you help me update/ have a firmware that will work in the philippines? I also have the same problem as you. camera says "This camera can only be used in China" Thanks in advance!! |
Time to do a bit of a reading: |
@batrarobin thanks! will try reading it tomorrow. its late here. Didn't understand this thread that much. sorry for being noob :) just 1 question. can I do it without rewiring? :) |
Yes, no wiring required. It's a simple process to flash the custom firmware, all you need is a microSD card of capacity 16GB or less. |
@batrarobin Got it working! Thanks!!! :) |
@shadow-1 i soldered now what??????????? after i connect this usb it show usb device not recognized and will i have to buy serial to usb converter |
@amitnavik However someone who had terminal access helped and I created a custom firmware for this camera. It is available here: Make sure you do some reading as some configuration is required to defeat the region ban. |
@shadow-1 |
all these thing is damn confusing what is all rootfs 20 home and all that stuff plzzz make me understand and how will i access all these things can any1 make video on this or anything plzzzz itz has to be like ato z how when like this...!plzzz and thaks for support each and every one |
I think @amitnavik is right can you plz make a video for demonstration because we are new and stuck buying this product although it was best in china but sucks in india its a humble request to you guys plz make a video or something easier to follow so that any one can follow and make is camera work again and thank for this much help |
@amitnavik @danishno1 Feel free to have a go. Be sure to read each step carefully. Unfortunately at this stage I can not make a video demonstration. However perhaps someone else will in the future. |
Hi @shadow-1 , Thank you so much for taking the time to hack this and provide the solution for everyone else. It took a few tries, but I was able to get this working. |
@johnnyxvii When posting an issue, can you explain exactly at which step you are having trouble with. |
Hi @shadow-1 , i having issue in finding ProxyList , it cannot be connect. How to know when it connected? |
I can only tell you that you're posting in a wrong thread that was closed a long time ago. |
@shadow-1 - i have an international version of YI 1080p Dome 360 Camera i want to convert it to Chinese version to support the auto save video to my mi router 3. is it possible to convert it? |
Hi, I'm trying to do the same with Dome Cloud camera but factory_test.sh or equip_test.sh doesn't work. I tried to rename factory_test.sh in wl but I guess wl is a binary and not a script. Any idea ? :) |
I bought this camera from China and would like to use it overseas. When I connect to it it starts saying "This camera can only be used in China". I have been looking into various hacks that have been done to previous models but none of them have seemed to work on this one.
I have connected fly leads to the serial port and have connected via serial link. I have tried to start "telnetd" service but it gives me an error saying "not found".
Is anybody able to help with providing "telnetd" file from the previous model cameras so I can atleast get the telnetd access working.
The text was updated successfully, but these errors were encountered: