roleoroleo / yi-hack-Allwinner-v2

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
752 stars 90 forks source link

SD card dead after installing hack #879

Closed gl2007 closed 1 month ago

gl2007 commented 1 month ago

Ok some context first. I had 8 of these Yi Home Camera (BFUS with 9.0.19.* version) working earlier with AT&T. Last year when I moved to Spectrum I just forgot to reconfigure them with new SSID/pwd. Anyways, they weren't working as Wifi wasn't connected. Yesterday, was trying to get one of them working. After several trials, I found out that after removing the SD card, resetting, it was able to connect to Wifi and was able to add into the Yi mobile app. I concluded that the hack no longer worked with my spectrum router.

Today, I came to this Github, downloaded the latest version of y21ga file, configured wifi creds, and updated the SD card by removing everything before and installing this hack.

The Yi camera didn't seem to recognize the hack or just continued the usual "Waiting to connect.." way. Removed the SD card and wanted to check it again in my Windows 11 PC, if the Factory was changed to Factory.done. Seems that the SD card is dead.

Tried formatting several times, Windows 11 just says it was unable to format it Fat32. However, earlier I tried to get the original firmware backed up, after I rebooted, I saw the same issue but after Windows reboot, was able to see the backup folder in the SD card.

So, this time, even after reboot, the SD card shows up corrupted.

Any ideas what is going wrong? If you need any info, please guide me to get that for you.

Update: MicroSD card with the same Card reader but with Windows 10 Professional formatting worked, so don't know why Windows 11 with USB 3.1 is not able to do it? Trying the hack again now. Will post back.

gl2007 commented 1 month ago

Seems like Windows 10 formatting wasn't liked by the Camera. Had to format it using the Kami app (alternative to Yi app, its seems to be the same though). After that, I copied the hack folders/files alongside the log/record folder created by the camera and reinserted into the camera. Bingo! I am now able to access the camera at http://camip.

Note this time, I also used the laptop's SD card directly instead of the card reader.

So not sure if cardreader (same one worked 2 years back), Windows 11 or USB3 was the culprit.