yi-hack-Allwinner-v2
yi-hack-Allwinner-v2 copied to clipboard
Yi Dome Guard - RFUS supported !?
Hello,
I have got an Yi Dome Guard with prefix RFUS with Base Version 9.0.46.00_202110081405.
I use the r35gb-hack. It is working, except the Cloud-Disable. If i disable it, no rtsp, snapshots,.. are working.
Is there a solution ?
Hello! I just installed r35 on the very same cam - Yi Dome Guard RFUS.
I am experiencing a similar issue, I can't get RTSP to work, regardless of cloud-disable option.
It also crashes and reboots sometimes.
I think it's not officially supported but let's wait for the dev.
I need a backup to check the file system. Please, share it with me.
Should I reset the camera and follow this procedure? https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Dump-your-backup-firmware-(SD-card)
I just received this particular model, I decided to test it and everything is normal for me

Hello @roleoroleo, when you request the backup, what do you do to see if it works or not? Can you simulate the camera in some virtual environment? I would like to understand this part to see if I can contribute in some way to this project.
I tried to make a Backup before yi-hack, but it seems not to work. But i got logfiles. Where can i upload them ?
PS: with a 2nd cam same problems (backup and cloud)
So I made further testing:
My camera is exactly the same as OP:
-
Base 9.0.46.00_202110081405
-
Serial RFUS
I tried to use this script: the cam keeps saying "Waiting to connect" and does not reboot. However something got inside the SD card under the "backup" folder so I'll attach it LINK REMOVED
An interesting thing I noticed is BOTH cloud options must be disabled to let RTSP work:
- If Disable Cloud and Recording without Cloud are enabled, RTSP does not work
- If Disable Cloud is turned off but Recording without cloud is enabled, RTSP does not work
- If both are turned off, RTSP works
So I made further testing:
My camera is exactly the same as OP:
- Base 9.0.46.00_202110081405
- Serial RFUS
I tried to use this script: the cam keeps saying "Waiting to connect" and does not reboot. However something got inside the SD card under the "backup" folder so I'll attach it LINK REMOVED
An interesting thing I noticed is BOTH cloud options must be disabled to let RTSP work:
- If Disable Cloud and Recording without Cloud are enabled, RTSP does not work
- If Disable Cloud is turned off but Recording without cloud is enabled, RTSP does not work
- If both are turned off, RTSP works
Try:
- Reset to yi-hack default
- Reboot
- Connect again

Here I am connected for more than 7 hours in FullHD transmission
Try:
1. Reset to yi-hack default 2. Reboot 3. Connect again
With defaults doesn't work. I also made an additional reboot, but no RTSP (which is enabled). Snapshots work.
I restored my working settings. RTSP doesn't work. Crap. EDIT: Additional reboot has made it to work. (still using my settings)
@auanasgheps, out of curiosity, what app or what are you using to connect. Depending on your need, I can guide you better.
@auanasgheps, out of curiosity, what app or what are you using to connect. Depending on your need, I can guide you better.
To verify if it works, I use VLC on my PC. After all the firmware does not look super stable/reliable, because I can eventually get to connect.

Working around here... wouldn't your router be congested? Try putting it on the network cable and accessing via the cable's IP.
My router is fine. Maybe you're missing the point that I can connect to the RTSP feed, but only when both "cloud disable" options are not enabled, and not using default config, but might be unrelated.

@auanasgheps It's really strange, here it works with the Cloud on and off
@auanasgheps try this...
Reset, reboot and then follow this step:
- Go to settings, disable only Telnet, save and restart;
Test connects at this step, if it doesn't work:
- Reset, restart and connect again.
I just remember doing it on my camera.
I have the same issue for my camera, don't really know if it's a ressource issue but after some rebooting it does work.
@fernandolcardoso Right now I cannot reset/mess with the camera, I need it to work (and right now it's working).
@IDerr I am experiencing a similar behaviour. Let's wait for the dev to comment, I provided a backup in a comment above
Sorry for the delay in replying.
Should I reset the camera and follow this procedure? https://github.com/roleoroleo/yi-hack-Allwinner-v2/wiki/Dump-your-backup-firmware-(SD-card)
You can follow the procedure without reset the camera.
Hello @roleoroleo, when you request the backup, what do you do to see if it works or not? Can you simulate the camera in some virtual environment? I would like to understand this part to see if I can contribute in some way to this project.
I extract the 3 filesystems and I compare them with other models. If the difference is not big I try to adapt the code to the new model. It's very difficult to simulate the camera with a virtual environment, the software is closely related to the hardware.
An interesting thing I noticed is BOTH cloud options must be disabled to let RTSP work:
* If Disable Cloud and Recording without Cloud are enabled, RTSP does not work * If Disable Cloud is turned off but Recording without cloud is enabled, RTSP does not work * If both are turned off, RTSP works
This behavior is not normal, I will check the backup file.
I tried to use this script: the cam keeps saying "Waiting to connect" and does not reboot. However something got inside the SD card under the "backup" folder so I'll attach it LINK REMOVED
Your cam is a "standard" r35gb and it's supported. I don't know why the rtsp stream doesn't work with cloud disabled. Try the following:
- Enable swap file to extend memory.
- Login with a ssh session and check if the rtsp process is running: "ps | grep RTSP".
@roleoroleo On my cam, RTSP is running as process, when cloud is disabled, but no rtsp-stream is available. With and without, it is not working. only if cloud is enabled, it is working.
rRTSPServer -m r35gb -r both -a no -p 554 -u ... -w ...
Short information: 6708 root 1216 S ./cloud is running without disable, but with disable it is not running. Seems to be okay.
Can you give us some information, what will be done if cloud is disabled ? What will be stopped, oder will some network-trasfer blocked ?
I tried to use this script: the cam keeps saying "Waiting to connect" and does not reboot. However something got inside the SD card under the "backup" folder so I'll attach it LINK REMOVED
You cam is a "standard" r35gb and it's supported. I don't know why the rtsp stream doesn't work with cloud disabled. Try the following:
- Enable swap file to extend memory.
- Login with a ssh session and check if the rtsp process is running: "ps | grep RTSP".
Will enable swap and let you know.
Another thing to bear in mind is that sometimes by simply rebooting the camera a couple of times RTSP starts to work, like @IDerr reported.
The other day I had to reboot the camera, because was online but RTSP stopped working. I basically had no recognition feature and only RTSP was enabled.
Can you give us some information, what will be done if cloud is disabled ? What will be stopped, oder will some network-trasfer blocked ?
When cloud is disabled the following process don't start:
cloud
p2p_tnp
oss
rtmp
watch_process
I don't know what is the role of these processes. The rtsp process reads the stream from the frame buffer. The frame buffer is filled by rmm process. I think the problem is not related to the cloud.
@roleoroleo i figured out: /dev/shm/fshare_frame_buf will be filled, but rRTSPServer do not deliver the data to the port
@roleoroleo Strange behaviour: After disabling snapshot and executing: killall rRTSPServer && /tmp/sd/yi-hack/bin/rRTSPServer -m r35gb -r both -a no -p 554 -u user -w password
it works. After resets it works too
Mmmmmhhh... How do you test the server? I noticed a strange behavior when I start a client: sometimes it doesn't start immediately and I have to run the play command several times before seeing the stream.
Mmmmmhhh... How do you test the server? I noticed a strange behavior when I start a client: sometimes it doesn't start immediately and I have to run the play command several times before seeing the stream.
I use the link from Main-page: rtsp://192.168.178.65/ch0_0.h264 This starts VLC.
When vlc returns an error, try to press play button again and check if it starts.
Connection failed VLC could not connect to "192.168.178.65:554".
i can press it every 3 seconds. not possible to connect.
Are you able to capture the network traffic with wireshark (or tcpdump)?