Welcome! Log In Create A New Profile

Advanced

Restoring GoFlex Home Stock system

Posted by balanga 
Restoring GoFlex Home Stock system
June 12, 2018 12:22AM
If I kwboot my GoFlex Home unit, which still has the original Stock firmware on it, can I backup the system to an external device and restore it if necessary?
Re: Restoring GoFlex Home Stock system
June 14, 2018 03:33AM
balanga Wrote:
-------------------------------------------------------
> If I kwboot my GoFlex Home unit, which still has
> the original Stock firmware on it, can I backup
> the system to an external device and restore it if
> necessary?

Looking at this topic seems to move me in the right direction:-

https://forum.doozan.com/read.php?3,16789,16789#msg-16789

Backup and Restore NAND mtds - Pogoplug V4 original MTD partitions

Not sure if this can be adapted to GoFlex Home...
Re: Restoring GoFlex Home Stock system
June 14, 2018 12:38PM
For each mtd on the list

cat /proc/mtd


You would do

nanddump --noecc --omitoob  -f mtd0.gfh  /dev/mtd0
nanddump --noecc --omitoob  -f mtd1.gfh  /dev/mtd1

and so on.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restoring GoFlex Home Stock system
June 23, 2018 12:42AM
Just found an interesting tutorial on the subject....

https://cyanlabs.net/tutorials/recovering-a-seagate-goflex-via-serial/
Re: Restoring GoFlex Home Stock system
June 27, 2018 04:22AM
what i find most interesting from the link provided.

Now we enter some commands in the unit (if you didn’t interupt boot then reboot the system and interupt the boot. (Replace the IP’s with IP’s appropiate for you)

setenv ipaddr 192.168.1.210 # Has to be in your ip range

setenv serverip 192.168.1.36 # IP address of your TFTP server (This computer)

Now that we have the TFTP setup, We need to run the previously extracted PumpKIN.exe With both the .KWB and PumpKIN.exe in the same folder will now type the following in to the serial console window.

tftpboot 0x800000 goflexhome.kwb

PumpKIN should pop up asking whether you want to grant access or not, Make sure to grant access. Make sure the output says “Bytes transferred = 524288 (80000 hex)” then type

nand erase 0x0 0x80000

Make sure the output contains “OK” then

nand write.e 0x800000 0x0 0x80000

Make sure the output contains “524288 bytes written: OK” then

reset

@bodhi - could we utilise this approach for other devices that have been soft-bricked or do not support the loading of kwboot from the serial console?



Edited 1 time(s). Last edit at 06/27/2018 04:24AM by Gravelrash.
Re: Restoring GoFlex Home Stock system
June 27, 2018 01:03PM
@Gravelrash,

There is nothing new in that post. We covered this a few times in this forum already.

The Wiki thread "Backup and Restore NAND mtds - Pogoplug V4 original MTD partitions" describes a similar process.
https://forum.doozan.com/read.php?3,16789,16789#msg-16789

Note that of loading uboot image (in this case, the entire mtd0 is the uboot image) from USB or tftp achieves the same thing.

Quote

3. Start the USB drive

usb start
Expected output

starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
scanning usb for storage devices... 1 Storage Device(s) found

4. Load the backup mtd0. Here the stock mtd0 backup file name was mtd0.pogo_v4

ext2load usb 0:1 0x800000 /mtd0.pogo_v4
Expected output
2097152 bytes read in 1318 ms (1.5 MiB/s)


5. Erase mtd0

nand erase 0x0 0x200000
Expected output
NAND erase: device 0 offset 0x0, size 0x200000
Erasing at 0x1e0000 -- 100% complete.
OK

6. Flash mtd0.pogo_v4 to NAND mtd0

nand write 0x800000 0x0 0x200000
Expected output

NAND write: device 0 offset 0x0, size 0x200000
2097152 bytes written: OK

7. Reset the box to boot with stock u-boot
reset


Somewhere in this forum I have shown how do this using tftp, and forgot to save that link :)

The bottom line is for this to work, uboot must be still intact on mtd0 and can be started (even if its envs are all gone or messed up). If uboot itself is messed up, then the only way to recover is kwboot or JTAG.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Restoring GoFlex Home Stock system
June 27, 2018 04:34PM
@bodhi
Thanks for the education :)


... ill get back in my corner now... :))))
Re: Restoring GoFlex Home Stock system
June 27, 2018 04:53PM
Gravelrash Wrote:
-------------------------------------------------------
> @bodhi
> Thanks for the education :)
>
>
> ... ill get back in my corner now... :))))

Not at all:) that’s a good question that cleared up a few things for some users.

We certainly need a diagram to describe all possible paths in the boot process.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 06/27/2018 04:53PM by bodhi.
Re: Restoring GoFlex Home Stock system
August 14, 2018 03:48AM
Another useful link is this:- https://archlinuxarm.org/forum/viewtopic.php?f=53&t=4334

which show how to bypass the registration process and reset root password when installing. I think it depends on a previous version of the firmware - goflex_2_7_1_firmware.zip which no longer seems to be available anywhere. If anyone does know where to find it, please let me know.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: