Specifics of the yi-hack-v5 firmware and flashing #267
Replies: 2 comments 3 replies
-
Hi friend, first thanks to your incredible work. |
Beta Was this translation helpful? Give feedback.
-
I was looking to update one of my cameras today (Hardware ID: 47US), because it's running hack (SD) firmware version 0.4.0 with baseline firmware version 0.3.8. In the web UI, this version doesn't show as available (blank). IIUC, I need to do an install from scratch following the above steps and use the Yi app. Does the desktop version of the latter work for this? I have no desire to use their mobile app. This project's versioning is a bit misleading. The .z in x.y.z is a revision increment. This update sounds like a whole major version based on the procedure I'm reading. Is this going to be the same process every time you update the baseline version? If so, I'm not seeing the benefit of upgrading, because this seems painful. |
Beta Was this translation helpful? Give feedback.
-
[Updated] 2024/03/01
There are certain complexities with the project and what it was based on;
yi-hack-v3
, andyi-hack-v4
.The above versions are optimal for what was required at the time and reside within the device's
rootfs
andhome
partitions.This has evolved with
yi-hack-v5
- therootfs
is too small to hold all binaries, andhome
is not flashing when packed with more files. As an outcome, theyi-hack-v5
folder is located on the SD Card; however, theyi-hack-v5
needs the initial baseline hack torootfs
andhome
partitions too.0.4.1
.The
yi-hack-v5
comes with several challenges:rootfs
andhome
partitions, you need to prepare the SD Card for it. The below text was copied from the project site.You can get a microSD card, preferably of capacity 16gb or less and format it by selecting File System as FAT32.
IMPORTANT: The microSD card must be formatted in FAT32. exFAT formatted microSD cards will not work.
I have not formatted any of my 32GB cards to load the firmware. Just copy files directly and it should work.
For microSD cards larger than 32 GB, Windows 10 only gives you the option to format as NTFS or exFAT. You can create a small partition (e.g 4 GB) on a large microSD card (e.g. 64 GB) to get the FAT32 formatting option.
You should now have a FAT32 partition on your microSD card that will allow the camera to load the firmware files to update to
yi-hack-v5
.Example: 4 GB FAT32 partition on 64 GB microSD card
Alternative way:
IMPORTANT STEPS
yi-hack-v5
folder, it will flash with the initial baseload files.YI App
.yi-hack-v5
folder for the hack to work again. You can simply copy the folder over FTP as this will be enabled if theyi-hack-v5
folder does not exist during a bootup process.fat32error.txt
in/tmp/sd
then your version file does not exist and your firmware was flashed incorrectly../script/launch.sh
from the console to check the versions installed0.4.1
and this will unlikely change, unless we find theBusybox 1.36.1
buggy and need updating again.Beta Was this translation helpful? Give feedback.
All reactions