Support and General Use > Hardware

AIGO EROS Q Version 2.2 HW4 and restoring my rootfs and bootloader manually

<< < (2/2)

disrel:
Haha I think this deserves a post of it's own.

So guess who fucked up their rootfs and bootloader while they were messing around (me lol)

From my flash.img, you can carve out the uboot.img, uimage.bin using these commands:

--- Code: ---dd status=progress conv=notrunc,noerror,sync if=flash.img of=uimage.bin bs=1 skip=0 count=353924
dd status=progress conv=notrunc,noerror,sync if=flash.img of=uimage.bin bs=1 skip=3145728 count=2397712

--- End code ---

For system.ubi

--- Code: ---ubireader_extract_files -k flash.img
cd ubifs-root/0
mkfs.ubifs -e "124KiB" -c "1024" -m "2048" -j "8192KiB" -U -v -o "SYSTEM.UBI" -r "rootfs"

--- End code ---

I put them all in a directory called 'update', salvaged the manifest from Surfans F20 v3.4 Hosted Port and added the bootloader to the manifest. Changed md5 hashes ofc.

--- Code: ---mkisofs -volid "CDROM" -o update.upt update

--- End code ---

and this is how I "unbricked" my OF for EROS Q v2.2. Here is the update file - https://drive.proton.me/urls/7CNTWMQ904#Yb1mlhIROA7i

rednakes:

--- Quote from: disrel on March 02, 2025, 10:37:48 PM ---Haha I think this deserves a post of it's own.

So guess who fucked up their rootfs and bootloader while they were messing around (me lol)

From my flash.img, you can carve out the uboot.img, uimage.bin using these commands:

--- Code: ---dd status=progress conv=notrunc,noerror,sync if=flash.img of=uimage.bin bs=1 skip=0 count=353924
dd status=progress conv=notrunc,noerror,sync if=flash.img of=uimage.bin bs=1 skip=3145728 count=2397712

--- End code ---

For system.ubi

--- Code: ---ubireader_extract_files -k flash.img
cd ubifs-root/0
mkfs.ubifs -e "124KiB" -c "1024" -m "2048" -j "8192KiB" -U -v -o "SYSTEM.UBI" -r "rootfs"

--- End code ---

I put them all in a directory called 'update', salvaged the manifest from Surfans F20 v3.4 Hosted Port and added the bootloader to the manifest. Changed md5 hashes ofc.

--- Code: ---mkisofs -volid "CDROM" -o update.upt update

--- End code ---

and this is how I "unbricked" my OF for EROS Q v2.2. Here is the update file - https://drive.proton.me/urls/7CNTWMQ904#Yb1mlhIROA7i

--- End quote ---


Nice!  I need help doing the same for my hw4 Hifi Walker H2 V2.0 (same device, just re-branded).   Thanks for these instructions..  I think you made a typo in your first command - it should be uboot.bin, not uimage.bin?

The only problem I have is that I don't have Linux, I'm using a Mac so I don't have access to "mkfs.ubifs".  Any chance you can help me out?

I have a flash.img and the stock boot loader.



EDIT:  Never mind, I did it!  Thanks for the instructions!  I had to install an Ubuntu Server VM using UTM.  I used the flash.img for the H2 V2.0.

I also used your UPDATE.TXT and updated the MD5 sums.

Navigation

[0] Message Index

[*] Previous page

Go to full version