![]() |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Can you try moving those two files to a different location on MyDocs? Say put them in your Roms directory.
I'm trying to figure out whats wrong, but even if I -do- solve the issue code-wise, it won't help you - You'd have to upgrade to a new version, and thats nigh impossible from your current status - So, we are going to have to see if we can't hack it into working right. Chain rebooting - Hm... Sounds like something to do with the watchdog timer(which reboots things if it thinks things have gotten locked up). With the OS, I'm betting its because the OPTfs is gone or damaged, and it won't boot without it . With my backupmenu, have you had it reboot when you were actually -doing- something, or only after a period of inactivity? |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
just one quick question before making install and back up my stuff, does this app really work i mean to restore verything u backup , OS,apps, setting.....
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
There have been a number of glitches over time though, but I think I fixed them; you should be able to backup and restore with no issues. In order to back everything up, you need to backup both the RootFS and the OptFS. Same for restoring. If you want to check and make sure, make a backup, change a few settings, then attempt to restore that backup - I'd definitely do this, especially with potential problems on non-US-keyboard layouts. Let me know if it doesn't work; I'll fix it. But, unless I know of problems, I can't fix them. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
You're probably right about watchdog because when booting BackupMenu, it says that /dev/twl4030_wdt and /dev/watchdog were not found. It boots anyway and everything seems to work normally, but it reboots after several seconds, without calling a particular fonction to trigger the reboot. So no inactivity nor particular command to get into rebooting state, juste a given delay and *poof*, it reboots. Actually, it doesn't reboot when I am in BackupMenu, it just shutdown. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
That doesn't sound good. I'm pretty sure that means that the low-level OS files on the RootFS are damaged and or missing, at least some of them.
You are probably going to want to: 1. Flash to PR1.2(Do -not- use the eMMC image, just the main image) 2. reboot. Assuming everything goes well, 3. Enable extras-devel and install my application 4. reboot into my app, see if the files are detected -now-. If you are still having trouble, then reboot into your (blank) system, change the names, and try again. Let me know how that goes. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
I finally managed to solve my boot problem using Maemo-flasher 3.5 to flash the RootFS. I did that because it doesn't alter MyDocs, so my boot issue disappeared (as well as my dpkg issue) but my data are still there, including the backups files I created using BackupMenu.
I'll try moving the files into the Roms directory as you said, but if it still doesn't work I think I'll just manually reinstall all my apps, or restore them using the built-in option of the Application Manager. It won't be as good as a full restore from BackupMenu, but it will help. Of course, I'll keep you in touch for the BackupMenu attempts as soon as possible, but for now... Time to prepare my luggage! :D [Edit] Oh, you just answered me to flash when I posted to say I flashed. Cool, happy to see this was the right idea. :D I'm updating Maemo 5 right now but the wifi is extremely slow here and there are 113 MB to download, I'll of course install BackupMenu just after that and try again. |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Ok, great.
Now, just so you know, how my script finds image files to list at that menu is it literally runs(for mydocs): Code:
find /home/user/MyDocs -name "*.img" Edit: As I promised I was going to do: A user sent me a copy of his RootFS and OptFS backups so that I could test them on my N900, see if the whole system works. I have named them "other20100729-backup-rootfs.img" and "other20100729-backup-optfs.img". I have backed up my own OS and files, and will (attempt to) restore them later. 1. I copied both of these files to my N900's MyDocs partition. 2. I rebooted into BackupMenu, version 0.33(0.32 + a minor bugfix I added today). 3. I pressed R for restore, T for both RootFS and OptFS, P for the eMMC. 4. I was asked to select the RootFS image, and I pressed F for the "other....rootfs.img", Same for the OptFS, and I pressed E for the "other....optfs.img". 5. I was asked "are you sure?", with the full location/path to each file shown. The files selected were correct, so I pressed P to proceed. 6. The process started, restoring RootFS first. I'm getting 3-4MB/sec usually. 7.Process finished, attempted to checksum - but no output. Bug in the checksum code I guess. I'll have to figure it out later. 8. I pressed a key to continue, and it started restoring OptFS. 9. Process continued with around 4mb/sec overall, occasionally dropping down to 2 and 1. 10. Um... Some time during this whole process, it started saying "0mb copied, 0% complete" and hanging there. I had to reboot it by removing the battery. 11. With the screen closed, I rebooted it. I got the nokia logo, it hung there for a minute or two, then shut off. Same with the keyboard open. 12. I opened my flasher directory and ran "sudo ./flasher-3.5 -r ../Backups/other20100729-backup-rootfs.img -f" from the console. It started to flash, then I got "usb_bulk_write: resource temporarily unavailable. - Looks like I'm gonna need to flash PR1.2 first. 13. I flashed PR1.2, then with the USB still plugged in, ran the above command. This time, it flashed entirely. I did get: Code:
Finishing flashing... Sending request 0x52 failed! 14. I opened my keyboard, unplugged the USB cable 15. The device rebooted into BackupMenu 0.31! 16. I restored optFS -only- this time, and it finished restoring - It didn't take long enough though, I don't think. 17. I got a checksum of the Backup file, but not of the OptFS itself, so I can't see if they really match or not. 18. Rebooted with the keyboard closed, got nokia screen > blank > reboot loop. 19 Trying to flash the OptFS again. Again, it only got to like 500mb before saying done. why? Only thing I can think of are bad blocks in the OptFS, and DD erroring out. 20. Connected to N900 vis the "read-only usb mass storage device" mode of BackupMenu. All partitions on the eMMC showed up to fdisk -l, and I ran cksum on both my backup file and the optFS partition: 612834623 2147483648 other20100729-backup-optfs.img 2389094843 2147483648 /dev/sdd2 On the one hand, this shows that the checksums are different. On the other, it shows that the -sizes- are the same, so it should have worked. 21. Now I'm going to try the previous steps with my own backup, see if its the method, or if it was a damaged file I got. 22. Flashing PR1.2, then my own rootfs.img. Both completed, and I got: Code:
Bootloader error log follows: 23. Opened keyboard, loaded BackupMenu(ver 0.33 this time). 24. restoring Optfs. I am getting 4mb/sec average. It went over 2024mb, and I think it finished successfully. Cksum of OptFS... blank. I think there's a glitch. 25. Checksum of Backup... Nothing. Yup, some sort of glitch. 26. Rebooted. I got the 5 loading dots, then it shut off. Rebooted, got the 5 loading dots... then it booted fully! I'm guessing it shut off before after FSCKing the optfs, but I dunno. 27. Everything seems to be back where it was before - even the book position in FBreader. This is good. This means that: 1. Potentially, current backups may be more or less tied to the N900 they were made on - due to bad block locations and such. 2. The foolproof method I talked about in the first post -seems- to work. 3. I have bugs in the checksum code, and I think that I'm gonna change the method of backup/restoring the OptFS to solve this problem. I think instead of unmounting the OptFS and copying it byte-for-byte, I think I'll mount it and copy all the files instead using tar. For restoring it, then, I will format the partition(it is EXT3 after all, no big deal), then restore the files. Unless you have every byte filled in your 2GB partition, this should mean that badblocks will be rerouted by the eMMC and or the EXT3 FS. This will mean however that backups made in the next version won't be compatible with older versions(Edit: without mounting the image, copying the files out, adding them to a .tar file, and importing them. It would work, but would require a Linux, and or possibly an OSX box. I doubt you could do it on Windows, at least without Cygwin). |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Can't restore the rootfs image, neither with the tool nor flasher-3.5
Code:
mohammad@mohammad-laptop:~$ sudo flasher-3.5 -r Desktop/20100807-backup-rootfs.img -f |
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
It's strange... i've flashed my rootfs image more than 10 times and everything worked pretty well.... =S
|
Re: [Announce] BackupMenu - Backup & restore OS images(+ other features)
Quote:
Code:
# Create an 256MiB emulated NAND flash with 2KiB NAND page size |
All times are GMT. The time now is 23:15. |
vBulletin® Version 3.8.8