Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yi-outdoor] 64GB sd card does not updates from yi-hack-4 #46

Closed
majkers opened this issue May 4, 2021 · 9 comments
Closed

[yi-outdoor] 64GB sd card does not updates from yi-hack-4 #46

majkers opened this issue May 4, 2021 · 9 comments

Comments

@majkers
Copy link

majkers commented May 4, 2021

Just like it is mentioned in #39 and I think we should take care of it. Seems that big sd cards like 64 GB fail to boot and load y-hack-v5 although yi-hack-v4 was working and booting just fine.

@alienatedsec
Copy link
Owner

@majkers

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.

insert microSD card into PC card reader
open Disk Management (e.g. Win+x, k)
Disk Management: delete all partitions on the microSD card
right click each partition > "Delete Volume..."
repeat until there are no partitions on the card
Disk Management: create a new FAT32 partition
right click on "Unallocated" > "New Simple Volume..."
Welcome to the New Simple Volume Wizard: click "Next"
Specify Volume Size: 4096 > "Next"
Assign Drive Letter or Path: (Any) > "Next"
Format Partition: Format this volume with the following settings:
File system: FAT32
Allocation unit size: Default
Volume label: Something
Perform a quick format: ☑
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.

fdisk -l

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1    0,0,17      1023,254,63         16   62333951   62333936 29.7G  c Win95 FAT32 (LBA)
/home/yi-hack-v5 #

@alienatedsec
Copy link
Owner

You only need a FAT32 partition to flash the firmware to 0.3.1, then you can use any card but please keep the yi-hack-v5 folder.

I don't plan to add anything to rootfs or home partition in the future and the normal upgrading process through WebUI should be more than sufficient.

@majkers
Copy link
Author

majkers commented May 4, 2021

It is formatted via yi app so I assume it is Fat32. This the same card formatted in the same way before apllying yiHackV4

@alienatedsec
Copy link
Owner

@majkers run fdisk -l from the console

@majkers
Copy link
Author

majkers commented May 4, 2021

Device Boot StartCHS EndCHS StartLBA EndLBA Sectors Size Id Type
/dev/mmcblk0p1 0,1,1 1023,254,63 63 125042687 125042625 59.6G 83 Linux

@alienatedsec
Copy link
Owner

@majkers you need FAT32 to flash rootfs and home files onto internal memory. The same is stated on yi-hack-v4 page

image

@majkers
Copy link
Author

majkers commented May 4, 2021

so I really do not get it how it worked the first time I applied yi-hack-4. So what should I do with the rest of space left on card besides this fat32 partition?

@alienatedsec
Copy link
Owner

@majkers

You only need a FAT32 partition to flash the firmware to 0.3.1, then you can use any card but please keep the yi-hack-v5 folder.

I don't plan to add anything to rootfs or home partition in the future and the normal upgrading process through WebUI should be more than sufficient.

@majkers
Copy link
Author

majkers commented May 5, 2021

OK closing for now cause I have no time to physical access my camera.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants