roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
844 stars 112 forks source link

Support for 6FCN cameras #33

Closed camonice closed 4 years ago

camonice commented 4 years ago

Hello,

I manage to flash this firmware on a Chinese version 6FCN camera, but with a few issues. The main one is the geo-lock which could potentially be overcome by Yi-Hack-V4 firmware. However, such feature is not carried on in this firmware for 6FUS cameras which have no geo-lock. Is there any plan to include proxy-chain function in future versions for 6FCN cameras? Or any suggestions for me to include it based on the current version?

Many thanks, Camonice

roleoroleo commented 4 years ago

I think it's possible to port the feature from yi-hack-v4 sources. Are you able to make a PR?

camonice commented 4 years ago

I think it's possible to port the feature from yi-hack-v4 sources. Are you able to make a PR?

Hi roleoroleo,

I am not sure if I have made a PR successfully. What I did was to find the files from Yi-hack-v4 sources which refer to proxy-chain and copy them to the camera, then change related directory. But it doesn't work yet. The only way I can bypass the geo-lock is by turning off the Yi cloud.

Other issues related to 6FCN cameras are that the wifi setting is not saved when restart, and I don't seem to be able to save videos in SD card nor detect motion yet. I don't seem to be able to control status light etc, but I can log into the camera from a browser and capture snapshots.

Thanks, Camonice.

roleoroleo commented 4 years ago

Do you remember the version of the original firmware? Is it home or dome?

camonice commented 4 years ago

Do you remember the version of the original firmware? Is it home or dome?

I bought it recently from China, and it was manufactured in 2019. I never manage to pair it with my phone due to geo-lock so I don't know how to check the firmware version. Maybe I can check its package? If you teach me how to do it without the Yi app, I do have a second 6FCN camera with store firmware. It is a home 1080p camera.

Many thanks, Camonice

roleoroleo commented 4 years ago

Without the app, the only way is using a serial adapter connected to the uart pads. It would be useful if you could dump the bootlog and file systems as described here: https://github.com/roleoroleo/yi-hack-6FUS_4.5.0/issues/10

camonice commented 4 years ago

Without the app, the only way is using a serial adapter connected to the uart pads. It would be useful if you could dump the bootlog and file systems as described here:

10

Hi roleoroleo,

I can confirm that the new firmware you sent works for 6FCN cameras! I can pair it with the Yi app and save the wifi info now. I look forward to its release.

Thank you so much. Camonice

roleoroleo commented 4 years ago

Let me know if proxychains-ng works.

camonice commented 4 years ago

Let me know if proxychains-ng works.

@roleoroleo Yes, it does work perfectly. 6FCN cameras can be added to the list.

Many thanks!

linsong837 commented 4 years ago

@camonice Were you able to pair camera with the Yi app? I have the same model - 6FCN. However, I can't pair it.

ShikyC commented 4 years ago

Hi, can anybody here give me a hint how to get it working? I have a brand new 6FCN model out of box and I can't get it connected while I'm here in the U.S. I copied the home_y203c and sys_203c file to the root folder and connected the camera but nothing happened, the camera just booted as usual and repeated saying "waiting to connect..."

linsong837 commented 4 years ago

Here is what I did. Have a formatted sd card ready Copy those two files into sd card. Plug sd card into camera. Power on camera Open Yi home app, select to add a new camera. Follow the instruction to generate qr code for wifi. Scan qr code to connect WiFi. Pairing camera with app. Now, it's failed at pairing step.

linsong837 commented 4 years ago

@camonice @ShikyC Were any of you able to pair 6FCN with Yi Home app? I never paired successfully.

ShikyC commented 4 years ago

@linsong837 Neither do I. We can't pair it before we get the firmware flashed. I'm still looking for a workaround.