Active Topics

 



Notices


Reply
Thread Tools
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#761
Why not just blow it all away, dd /dev/urandom over it and then mkfs.ext3?
 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#762
In my opinion, formatting rootfs isn't worth it and probably won't work anyway, because the partition is marked as in use by ubifs - at least, I couldn't get any of nandwrite, ubirmvol, ubimkvol to do anything. Also, if we completely nuke rootfs and then the battery dies or we reboot by accident then we're hosed, as BackupMenu itself wouldn't load (until such a time as Fabry hopefully gets a u-boot version to work - I'd love to try myself, but I'm snowed under at the moment). Of course, the ideal solution would be to get BackupMenu to use fiasco-flasher or similar instead, as this would do exactly what flasher-3.5 does with the -r argument, but I'm not sure it's possible to do this as my previous attempts have failed.
 

The Following 3 Users Say Thank You to Tigerite For This Useful Post:
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#763
If it does do it drom scratch it's basically flashing and we use known-clean FS. Fresh format and unpack files. Not that we have many an instance where that matters.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#764
Originally Posted by Tigerite View Post
In my opinion, formatting rootfs isn't worth it and probably won't work anyway, because the partition is marked as in use by ubifs - at least, I couldn't get any of nandwrite, ubirmvol, ubimkvol to do anything. Also, if we completely nuke rootfs and then the battery dies or we reboot by accident then we're hosed, as BackupMenu itself wouldn't load (until such a time as Fabry hopefully gets a u-boot version to work - I'd love to try myself, but I'm snowed under at the moment). Of course, the ideal solution would be to get BackupMenu to use fiasco-flasher or similar instead, as this would do exactly what flasher-3.5 does with the -r argument, but I'm not sure it's possible to do this as my previous attempts have failed.
If you look at Robbiethe1st code, rootfs gets wiped out before restoring it, through rm -rf *, so it's as risky as formatting.
I didn't think rootfs is mounted and cannot be unmounted, though, so maybe better give up on this issue.
__________________
Ernesto de Bernardis

 
Posts: 284 | Thanked: 320 times | Joined on May 2010 @ Peterborough, UK
#765
It's not that it's mounted (BackupMenu itself actually mounts it to /tmp/rootfs I believe), but rather that the ubi module has already marked the rootfs partition of the NAND as being in use and therefore refuses to allow nandwrite or any of the ubiformat/mkvol/rmvol/updatevol to work. I didn't fully test the flasher route, but I couldn't get it to do much of anything with my rootfs zlib image, presumably it's hitting the same problem with the ubi layer somewhere?
 

The Following 2 Users Say Thank You to Tigerite For This Useful Post:
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#766
@debernardis:
Sorry for not reading the topic in so long. I'll take a look at your mod and add it.

@Tigerite:
I /heard/ that someone was able to flash a converted BM image via one of those ubufs tools, so it may be possible. Still, the ubifs doesn't fail to the point of needing a format usually - Optfs does, however, so I'm going to be adding the above patch soon.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 

The Following 4 Users Say Thank You to RobbieThe1st For This Useful Post:
Posts: 536 | Thanked: 81 times | Joined on May 2011 @ Russia
#767
hello robbie. i would like to ask u one thing. like my friend wants my applications and overclocking settings etc. i told him that i could give him it through backuping up my phone and then transferring the 2 files in his phone and then he can restore it. can u please tell me out of the 2 files, which one is for settings and applications etc? because he doesnt need my contacts and conversations etc. and if he restores it than his current conversations and applications are gonna stay right? its not gonna get deleted right?
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#768
Um. Use the built-in Backup tool for that.

BackupMenu creates a filesystem snapshot, which is not what you want.
 
Posts: 536 | Thanked: 81 times | Joined on May 2011 @ Russia
#769
i actually restored my phone with this after flash. the existing backup manager doesnt backup all settings, command, queenbeecon widgets, overclocking, linux enhanced kernel ETC.
 
Posts: 536 | Thanked: 81 times | Joined on May 2011 @ Russia
#770
so which files out of the two are just for apps and settings?
 
Reply

Tags
backup, backupmenu, cssusupplement, max(useful), rescue-console, restore, system


 
Forum Jump


All times are GMT. The time now is 12:59.