alienatedsec / yi-hack-v5

Even newer Custom Firmware for Xiaomi Cameras based on Hi3518ev200 Chipset. It includes free RTSP, ONVIF and other improvements based on the work by roleoroleo
GNU General Public License v3.0
739 stars 87 forks source link

[0.4.1.e] - Yi Home 27US - Unable to Flash #334

Closed Minims closed 4 months ago

Minims commented 5 months ago

Describe the bug

I have follow the how to and format a 16GB in FAT32. I have tried the windows solution, but also with my own tools. I have tried more than 10 times and everytime the led stay yellow. I have wait about 30min.

there is no new files on the SD.

On reboot without the sd card or with the 0.4.1d sd, it’ok.

To Reproduce Steps to reproduce the behaviour: Follow the 0.4.1e guide

Expected behaviour be able to flash

alienatedsec commented 5 months ago

@roleoroleo is your model also not flashing with the release files?

roleoroleo commented 5 months ago

Not tested yet. I'll let you know as soon as possible.

EDIT

I can confirm, it doesn't work for my yi_home. Yellow light stable. Tried to flash 0.3.8 and then 0.4.1.e but no luck.

alienatedsec commented 4 months ago

I will need to make the home image smaller - it's too big to accept flashing

roleoroleo commented 4 months ago

I compared your image with mine and there is a big difference in size: about 1,5 MB. The main problem is the library /home/app/libcrypto.so.1.1 I don't know why but in my image is not present.

alienatedsec commented 4 months ago

I'll have a look in the evening.

alienatedsec commented 4 months ago

The main problem is the library /home/app/libcrypto.so.1.1

@roleoroleo did you mean /home/lib/libcrypto.so.1.1? It must be there as needed by the latest WPA unless you are not compiling it and it's not being replaced.

image

alienatedsec commented 4 months ago

New release - 0.4.1f

Minims commented 4 months ago

Thanks, i was able to flash the camera. It seems working excepted the known bug of the pre-release.

alienatedsec commented 4 months ago

@Minims is 0.4.1g also flashing and not connecting on your 27US?

Minims commented 4 months ago

@alienatedsec 0.4.1g is flashing and wifi is ok on my side with wpa2

i will keep the camera on longer to validate connection is reliable

alienatedsec commented 4 months ago

@Minims When you type wpa_supplicant in the console, does it report v2.10?

Minims commented 4 months ago

@alienatedsec Yes

/home/yi-hack-v5 # uptime
 14:48:36 up 44 min,  load average: 4.97, 4.79, 4.39

/home/yi-hack-v5 # cat /tmp/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="********"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="********"
}

/home/yi-hack-v5 # wpa_supplicant
Successfully initialized wpa_supplicant
wpa_supplicant v2.10
Copyright (c) 2003-2022, Jouni Malinen <j@w1.fi> and contributors