-
Notifications
You must be signed in to change notification settings - Fork 101
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
Beta testing #3
Comments
@lassieee |
sorry for the delay. /tmp/sd/wd_rtsp.log contains: so I killed {wd_rtsp.sh} /bin/sh /tmp/sd/yi-hack/script/wd_rtsp.sh and I tried starting rRTSPServer -d 2>&1 but it quits saying port already in use. There is no other rRTSPServer process. I started rRTSPServer on port 555 in debugging, made a few connections and copied /dev/shm/fshare_frame_buf. How do you read the contents of this shm file? Do you use shmcat? |
This file is a custom buffer filled with the h264 stream. When you receive the message that the port is already in use you have to wait 20 secs. I use an hex editor. |
The file is empty: all "00". |
thank you for the explanation. I tried a couple times, but every time the file is as good as empty: I tried without intervention, I tried with killing wd_rtsp.sh, sourcing env.sh and starting wd_rtsp.sh, and I tried with running rRSTPServer -d. In each case the file was empty. |
How do you copy the file? Try also to kill rmm before the copy. Check if rmm is running. |
I tried multiple times, copying the file to /tmp and using ftp to get it to my laptop. The result is everytime the same. When I kill rmm the camera restarts in about 5 seconds. starting rRSTPServer and connecting with mplayer: "ch0_0.h264" stream, from memory $ mplayer rtsp://10.75.0.50:554/ch0_0.h264 Playing rtsp://10.75.0.50:554/ch0_0.h264. Couldn't resolve name for AF_INET6: 10.75.0.50 librtsp: server responds: '' When starting the rtsp server it say's "closing the file /dev/shm/fshare_frame_buf". Could that be the reason it is empty? |
h264grabber opens the file, maps it into memory and closes it. The problem is that fshare_frame_buf is empty while rmm is running. |
I'm not at home this week, but I took the camera with me. I think I kinda messed up. Instead of trying to change the wifi network, or making a hotspot with the same ssid and password, I pressed the reset button on the camera. I only get a blinking orange light now. I was able to get a full boot log for the first time, with the sd card reformatted and the hack in place: I noticed that somewhere in the logs I saw a line that read "hit any key to stop autoboot", but for some reason it is not in the logs, and it doesn't respond to key presses. |
Yes, normally you have to press ENTER to stop u-boot. |
Ok, that'll have to wait until I'm back home and I receive the Flux I ordered. I also found some solder with resin core so I hope I'll be able to solder the wires properly. |
I've been able to interrupt the boot proces, but I've no idea where to go from here: Nothing updated, start normal boot It also seems /backup/init.sh on the camera is broken: Factory/config.sh isn't triggered to copy a good version, so at this point I don't know what to try next. |
Probably this is the problem.
Follow this wiki:
backup partition starts from |
Thanks for the info, unfortunately I didn't make a backup :-( |
I will send you the file. |
Thank you, much appreciated. |
Here it is: |
Thanks! I have to give up for now though. I've been fiddling with my taped wires for two hours now, but the connections aren't stable. I really need to solder them. I'll be home next week to give the soldering a try. |
Hi @roleoroleo |
Follow this wiki to make a backup: |
Ok, perfect, manually done via telnet. |
The last mtd block is empty. |
I have a dump made with hexdump and another with dd, which one is the right that you want ? |
Here it is :-) |
Thanks. |
I updated the sources based on your frame buffer file -> b6136e6 EDIT Here it is: |
Great, happy to be useful 👍 :-) |
BTW I have to delete all is on the SD card and untar the new hack, correct ? |
I am unfortunately not familiar with iobroker, but maybe this is helpful: or this (german) |
Fixed here: |
Open new issues if you need help. |
I've got BFUSY440KE should I test this solution? What should I do? |
Use the released version. |
Thx.. this worked: https://github.com/roleoroleo/yi-hack-Allwinner-v2 y21ga_0.1.2.tgz |
Hi initial step: Backup of the camera as described in the wiki -> backup worked. 1st procedure
2nd procedure
-->
4th procedure
Was there a step missing? Regards |
Did you try to connect to the web page? |
Yes - as soon as I insert the sd card and boot the camera, it does not connect to my wifi. Just a yellow led. Looks like nothing happend. The SD card works fine. (sandisk 16GB) |
any other ideas regarding Yi Home 1080p BFUSY44EZS? |
Other firmware than 9.0.19.02_202007141512 ? |
Same firmware. As mentioned just yellow light with SD Card and hack - no wifi. Wifi only without SD Card (therefore extended www not accessible under 8080 port)
Am 22.11.2020 um 22:17 schrieb cebik <[email protected]>:
Other firmware than 9.0.19.02_202007141512 ?
(Extended www is under 8080 port.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#3 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACWAZ64FZAULTR7H7F3MT23SRF5VZANCNFSM4SKFDMLA>.
|
Try format sdcard from camera. After this remove card and copy (I don't remember) unpacked content of this file opened and copy with total commander to sdcard... Newest 7zip unpacking with errors that's why I done this with total commander. |
unfortunately no success... I think I send it back to Amazon. Nevertheless thanks for your great work! Seems that yi made it bulletproof with this version of the camera :-( |
It's double packed. Did you unpacked both files? |
Maybe we´re talking about different files? I took this one which ich not double packed: https://github.com/roleoroleo/yi-hack-Allwinner-v2/releases --> y21ga_0.1.2.tgz. Folders (including files for sure):
File in main folder: I copied these as usual (previous versions of the yi-cameras to sd card as mentioned above. |
No, It's ok. Maybe I got it wrong. |
Thanks cebrik. Telnet is obviously not available... |
Offcourse there is no wifi :D |
Hmm. Maybe I did something fundamentally wrong. Sorry for asking, but could you please write down in short steps how you did it?
Really step-by-step (1. Unpacking camera 2.setup sd-card (formatting, copy unpacked stuff on it), 3. put sd-card into factory-new-camera 4. Power-on camera (insert usb cable) 5. Enjoy!
This should be the steps, right? Or did you anything else? – Thanks, Cebik!
|
Before inserting the SD you have to turn on the cam and connect WiFi via YI app for once. than proceed as described. |
True. I also first paired camera with standard application. Btw rtsp don't want to work with domoticz :/ |
I think it is already working for him, since he has not spoken anymore. |
Hi, sorry its still not working... have no idea on what to try else...
|
Please open a new issue. |
I open this issue to continue this thread
roleoroleo/yi-hack-Allwinner#157
in the right place.
The text was updated successfully, but these errors were encountered: