Skip to content
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

US version firmware 1.8.7 cant hack for RTSP #166

Open
dwr555 opened this issue Apr 21, 2017 · 44 comments
Open

US version firmware 1.8.7 cant hack for RTSP #166

dwr555 opened this issue Apr 21, 2017 · 44 comments

Comments

@dwr555
Copy link

dwr555 commented Apr 21, 2017

i got the cam with firmware 1.8.7 tried all solutions found to change the firmware to RTSP support but couldnt make it work...
when i turn the cam on with the SD + the firmware files on root... it keeps go to "Waiting for conection" i have reset several time but with no luck to update the firmware
anyone had a success to make yi home works on with RTSP when it has the 1.8.7 firmware?
(i couldnt even downgreade the firmware)

@fredanaman
Copy link

Hi
i have exactly the same issue. Hope it gets resolved.

@brumsterino
Copy link

Same here. no updates?

@ekos2001
Copy link

Me too

@keith721
Copy link

The 1.8.7 firmware doesn't appear to activate the script /test/equip_test.sh on the SD card. Additionally, the U-Boot distributed with this firmware doesn't allow interrupting the boot process. If you change the filename on the SD card from 'home' to 'home_y18' it WILL downgrade the firmware, but still doesn't execute the equip_test.sh script to perform the hacks. :(

@AdySan
Copy link

AdySan commented May 30, 2017

@keith721 I just bought a 4 pack of these. Don't know what firmware version is on them yet. Hope you can figure out some way to downgrade and make RTSP work.

@dwr555
Copy link
Author

dwr555 commented May 30, 2017 via email

@keith721
Copy link

In order to hack these, we'll need someone with telnet/ssh access to their camera, and a fairly recent 1.8.5 or 1.8.6 version of the firmware with the hacks working. Then, they'd need to use the 'dd' utility to dump all the MTD partitions to the SD card. From there we'd update the other non-'home' partitions to restore the equip_test.sh script execution. Then use the U-Boot 'mkimage' command to package the partition into a U-boot wrapper, which the firmware loader expects.

@ekos2001
Copy link

I was able to load 1.8.6.1B_rtspfix from http://xiaoyi.querex.be/firmwares

@keith721
Copy link

I was able to load 1.8.6.1B_rtspfix from http://xiaoyi.querex.be/firmwares

How can you download anything from that site without getting the ad.fly advertising infection?

@AdySan
Copy link

AdySan commented May 30, 2017

nothing seemed to persist on my computer, unless I'm missing something.. after the few seconds of wait, the button on top right starts the download.

@dwr555
Copy link
Author

dwr555 commented May 30, 2017 via email

@ekos2001
Copy link

How can you download anything from that site without getting the ad.fly advertising infection?

After some time "Please wait" in the top right corner will change to "Skip Ad" and you should be able to download it.

You managed to use this firmware with the normal load? (Reset,sd,boot)

I followed their instruction page: http://xiaoyi.querex.be/instructions/

Are you using the US or international based model?

US version (sn: 22US…)

@haideramn
Copy link

haideramn commented Jun 8, 2017

@keith721 I have access to a camera that took the hack. I bought a 4 pack from Amazon and one of the 4 cameras took the hack....the others dont.

Anything I can help with providing from my working camera?

@AdySan
Copy link

AdySan commented Jun 9, 2017

@haideramn thats interesting, and can you confirm the firmware versions that were on these cameras before you applied the hack?

@haideramn
Copy link

haideramn commented Jun 9, 2017 via email

@haideramn
Copy link

haideramn commented Jun 9, 2017 via email

@haideramn
Copy link

haideramn commented Jun 9, 2017 via email

@daweeze02
Copy link

I have 2 white ones from Amazon with 1.8.7.0A and have tried the hacked but it does not work. I've tried with the original WPA settings and adjusting them to match my WPA2 AES encryption but I just end up with a flashing orange light after the solid blue for a few seconds

@daweeze02
Copy link

UGH after an hour I found out my issues. My SSID is in all caps and but I didn't type it that way in the config FML

@haideramn
Copy link

haideramn commented Jun 12, 2017 via email

@AdySan
Copy link

AdySan commented Jun 12, 2017

@haideramn just to confirm, it's still not possible to downgrade from 1.8.7.0A, or were you able to?

@haideramn
Copy link

haideramn commented Jun 12, 2017 via email

@AdySan
Copy link

AdySan commented Jun 12, 2017

@haideramn thanks, that is good to know. Will try. since there's a bunch of variations now, can you please describe the exact process you followed, did it involve renaming any files, modifying anything?

@haideramn
Copy link

No change to any filename, except your SSID/network config in TEST>WPA SUPPLICATION.CONF & Yi-Hack settings such as no cloud, no led, etc in TEST>YI-HACK.cfg.

I used these specific files each time and it worked like a charm.

Cam Files.zip

@AdySan
Copy link

AdySan commented Jun 13, 2017

@haideramn unfortunately these files also make the camera go directly to "Welcome to Yi Home Camera....Waiting to connect"

Maybe I'll open one more and try, but I doubt its gonna work.

UPDATE: same with the second camera too. I did get this log file though.
log_init.tar.gz

@haideramn
Copy link

haideramn commented Jun 13, 2017 via email

@AdySan
Copy link

AdySan commented Jun 13, 2017

@haideramn oh that's interesting. Can you tell me roughly how long should I wait or how many time does it say Waiting to Connect before it finishes applying the hack? Any specific LED activity to look for?

@haideramn
Copy link

haideramn commented Jun 13, 2017 via email

@AdySan
Copy link

AdySan commented Jun 13, 2017

@haideramn perhaps my WPA2 settings are wrong. @daweeze02 can you share yours please?

@ygator
Copy link

ygator commented Jun 18, 2017

if [ -f "/home/hd1/test/equip_test.sh" ]; then /home/hd1/test/equip_test.sh exit fi
The above is in init.sh on all versions of firmware I have including home.1.8.7.0A_201702081101us

@dwr555
Copy link
Author

dwr555 commented Jun 18, 2017

i have tried the files from @haideramn powerede on the camera and hold the reset button but it keeps saying waiting to "connect".
mine is the single cam US version...
any idea how do force the firmware update?

@ccantill
Copy link

I just got my camera today and it had the same firmware. I tried renaming the 'home' file to 'home_y18' but it looks like that bricked my camera. Now if I turn it on without an sd card the led is stuck to orange. I've tried other firmwares on the sd card (as home_y18) and that just turns the orange led blue occasionally, but doesn't seem to be doing much else. Any ideas anyone?

@imrich82
Copy link

now i;m having the same issue like @ccantill, i rename the version 1.8.5.1K_201508311131 home into home_y18 and insert the sdcard, how i'm stuck to orange too. please help me fix this problem?

@haideramn
Copy link

haideramn commented Jun 26, 2017 via email

@dexy86
Copy link

dexy86 commented Jun 26, 2017

Is there a hack for 22us version ?

@jun3280net
Copy link

jun3280net commented Jul 29, 2017

Hello there. Hopefully, this can useful to some of you. While I can not comment specifically on THIS RTSP fix, I was successful in loading a different one (probably an older version) onto 5 x Yi Home 720P Cameras (US model). I used the hack made for the Chinese model noted here : http://en.miui.com/thread-196713-1-1.html.

Supplemental details can be found here : http://xiaoyi.querex.be/instructions/

The instructions and process are pretty straightforward, but this is the process I used.

Downgrade firmware :

  1. Use your Yi Home camera to format an SD Card (Yi Camera doesn't always agree with the Windows formatting).
  2. Once formatting is complete, unplug the power to the camera (do not reset the camera).
  3. Remove the SD Card from the Yi Home Camera and insert in your computer.
  4. Delete (not format), the files and folders from the card.
  5. Copy the firmware onto the SD Card and rename the file to "home" (all lowercase).
  6. Plug the SD Card back into the camera, and plug in the power.
  7. The camera's yellow light should start blinking for a few minutes (as it is loading the firmware). When it completes, it blue light should turn on, and you should be able to connect to the mobile app and confirm that the firmware updated.
  8. If u are unsuccessful loading 1.8.5, try loading 1.8.6 onto the camera first, and then load 1.8.5 afterwards. I needed to do this for one of my cameras.

Load RTSP Hack

  1. Complete Steps 1 - 4 from Downgrade firmware section.
  2. Copy the folder "test" from the test-rtspfix-07.zip file onto the SD Card. I did not modify any of the code for the timezone in the .SH file as suggested. Mine worked fine and I'm in UTC - 7.
  3. Plug the SD Card back into the camera, and plug in the power.
  4. The camera's yellow light should start blinking for a few minutes (as it is loading the firmware). When it completes, it blue light should turn on.
  5. From your computer Telnet the IP of the camera. If you are successful, it should ask you for your login (root) and password (1234qwer).
  6. Once logged in, change the root password from Telnet typing "passwd"
  7. You should be able to see your RTSP feed
    Main stream: rtsp://ipaddress:554/ch0_0.h264
    Minor stream: rtsp://ipaddress:554/ch0_1.h264
    Audio stream: rtsp://ipaddress:554/ch0_3.h264
  8. If you are loading multiple cameras - repeat steps 1-7, as reusing the SD Card sometimes doesn't work.

With RTSP enabled, I have all 5 Yi Home Cameras running through Blue Iris :
blue iris

UPDATE (Aug 1, 2017) : As I did not update the .SH file as suggested, it appears the ability to look back in the video timeline breaks (assuming you are recording to SD Card). In order to fix this, telnet into your camera.

  1. Type login (root) / password (1234qwer) to gain access and then type : echo "GTM+0" > /etc/TZ
  2. Now check that the change was committed to the file using your browser to ftp://ipaddress /etc/TZ
  3. If you see the TZ file shows GTM+0, go into your Yi Home application on your phone and format the card. It will clear the card and reboot the device.

I've included all files I used for your convenience.

Regards,

J

Yi Home Firmware Older Versions.zip
test-rtspfix-07.zip

@mdisieno
Copy link

mdisieno commented Aug 9, 2017

@jun3280net I tried both 1.8.5 and .6 and sadly my Yi doesnt blink amber, just blinks blue for a second or two. My version # is 1.8.7.0A_201702081101

@jun3280net
Copy link

jun3280net commented Aug 9, 2017 via email

@mdisieno
Copy link

mdisieno commented Aug 9, 2017

@jun3280net Yes I did. The only peculiarity might be I did this all on a linux laptop, but that shouldnt really matter.

@jun3280net
Copy link

jun3280net commented Aug 9, 2017 via email

@jaymiracola
Copy link

I believe the core issue of your procedure to downgrade is that the camera's newer firmware no longer looks for "home" to boot. There is all a line to which you could feasibly download to given the change in hardware.

@Hokiecow
Copy link

Hokiecow commented Dec 2, 2017

Has anyone been able to get the black Yi Home 22US working with Blue Iris?

@haideramn
Copy link

haideramn commented Dec 2, 2017 via email

@mdisieno
Copy link

Forewarning, the newest revision software updates itself after a while. I was in A revision and now I'm in D :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests