![]() |
Help needed to do a backup
Hi everyone!
Can anyone make dd backup of /dev/mmcblk0p28 of factory resetted device to help me unbrick my Jolla partition? |
Re: Help me guys!
That's how it goes when there is no OS image to flash device. And Jolla talks something about openness.... what a bs...
|
Re: Help me guys!
So what I'm hearing is, if I ever get a Jolla, the first thing to do is dd to make a backup.
Meanwhile, may I ask: 1. 2. The techstaff to add a filter to ban this kind of thread title. |
Re: Help me guys!
I would like to add here, that while Jolla will (can) not distribute such an image, they (stskeeps) have now agreed to - and is - giving assistance in community efforts on creating this image, just as actively (on IRC) been seriously taking this issue up for discussion as to what possible solutions could be.
|
Re: Help me guys!
Can you enter recovery ?
https://together.jolla.com/question/...-in-boot-loop/ If so, do a factory reset from there, and update device afterwardd. A full dd of mmcblk0p28 is ~16Gb a bit much for uploading somewhere. for a system flashable image. It should become far smaller as a dd is not needed, but should be created from filesystem. Not including blank - not used space |
Re: Help me guys!
@nieldk i tried to help him, but recovery is not possible because a lot of errors in btrfs and volume can't be mounted. btrfs check --repair log: http://paste.ubuntu.com/8333525/
P.S. dd if=/dev/mmcblk0p28 for me is 4.1GB |
Re: Help me guys!
Quote:
that partition is 14.8 GB big http://talk.maemo.org/showpost.php?p...&postcount=243 |
Re: Help needed to do a backup
but dd dump /dev/mmcblk0p28 still 4.3 GB, not 14.8, even after seeing this parted information it didnt changed :P
|
Re: Help needed to do a backup
Quote:
Unless You did some magic, the partition on Jolla is 14.8 Gb and doing a 1/1 dump will make a dd copy that size. Will see if tar/gz can compress, but that will make a few further steps required for putting it on device ;) |
Re: Help needed to do a backup
Quote:
|
Re: Help needed to do a backup
@nieldk mmcblk0p28 on N9? you smoking weeds? just do dd dump yourself before writing more answers please ;)
|
Re: Help needed to do a backup
I have dd dump from the very start, and also, it wouldnt be a dd dump if the size was not equal to the actual partition - it is a RAW partition copy dude, read up on it ;)
|
Re: Help needed to do a backup
please do sudo dd if=/dev/mmcblk0p28 of=/media/sdcard/yoursdcard/image.bin now and tell it's size :)
|
Re: Help needed to do a backup
Quote:
The filesystem on your SD card does not have a 4GB file size limit, like FAT32? That would explain why you only get a file of ~4GB size. |
Re: Help needed to do a backup
Quote:
@coderus, I do a dd after every update, and you are wrong! I DARE you to do a dd if=/dev/random of=/dev/mmcblk0p28 ;) then dd if=yourbackup.bin if=/dev/mmcblk0p28 If your filesize is 4Gb , youre probably screwed ;) |
Re: Help needed to do a backup
hm, that explain everything. Thanks D:
|
Re: Help needed to do a backup
Quote:
You should create a new backup |
Re: Help needed to do a backup
I have not enough storage to do that.
So, is there any way to restore this broken partition like recreating fs without using raw dump? |
Re: Help needed to do a backup
Quote:
Then you can untar that for restoring. that would probably fit within 4Gb size or, you could create the dd through ssh tunnelling to your PC |
Re: Help needed to do a backup
Quote:
|
Re: Help needed to do a backup
thanks, i mean restoring partition WITHOUT using backup is possible or not? Currently mmcblk0p28 failed to mount, filesystem is very damaged. Is there any way to recreate it with no backups?
|
Re: Help needed to do a backup
hmm
wonder if something like setting version to say 1.0.2.5 (ssu) and then doing version --dup would make a difference |
Re: Help needed to do a backup
@nieldk what are you talking about when mean ssu?
|
Re: Help needed to do a backup
ssu re 1.0.2.5
ssu ur version --dup perhaps that would force a download and fresh install of files, and give you a functional filesystem |
Re: Help needed to do a backup
Fillip you have one warning, one, derail this thread once more & your posts will be removed, that goes for anyone else.
And no I won't waste my time relocating them to a new thread in the off-topic sub-forum, they will just be deleted... N.B. I'm not subscribed to this thread so if the BS continues please use the report facility, going to bed in about ~30min so I may not respond quickly. |
Re: Help needed to do a backup
Quote:
IOW, a 14GB file will not magically turn into a 4GB file when copied to a compressed FS. It will still be a 14GB file, albeit it may occupy only 4GB (or less) real space. |
Re: Help needed to do a backup
@nieldk please read carefully: mmcblk0p28 cannot be mounted, because of filesystem errors! we need solution to restore filesystem to working state to be able to mount it and restore factory image.
|
Re: Help needed to do a backup
Quote:
|
Re: Help needed to do a backup
so, there are no way to just recreate filesystem on mmcblk0p28 device? i think factory btrfs snapshot was not damaged and can be restored as soon as mmcblk0p28 can be mounted. is there any way to fix filesystem without using dd image?
|
Re: Help needed to do a backup
if btrfs is not damaged You should be able to use recovery to factory reset the device (perhaps even the btrfs repair option)
|
Re: Help needed to do a backup
for more on the btrfs and how it perhaps can help
https://together.jolla.com/question/...ious-problems/ |
Re: Help needed to do a backup
@nieldk at first page i already posred result of [btrfs check --repair /dev/mmcblk-p28] output: http://paste.ubuntu.com/8333525/
btrfs recover failed too |
Re: Help needed to do a backup
then you will need either
1 that dd copy (i will see) or 2 send to Jolla |
Re: Help needed to do a backup
so it means there are no btrfs tool to recreate empty partition? o_O
|
Re: Help needed to do a backup
ok, talking about restoring dd backup back to device. the only option os using ext4/btrfs formatted sd card?
|
Re: Help needed to do a backup
story ends. author successfully received dd backup and restored it.
|
Re: Help needed to do a backup
Hi!
Do you have the backup of the mmcblk0p28 left? If you have, are you willing to send it to me? |
Re: Help needed to do a backup
Hey guys, new here but in dire need of help. I got the corrupted app registry error and trying to save the phone I tried to create a bootable SD with sailfish .19 and pretty much destroyed my phone. It seems my problem is akin to what you guys just managed to fix. When in telnet and in shell I get:
# btrfs check --repair /dev/mmcblk0p28 # enabling repair mode # No valid Btrfs found on /dev/mmcblk0p28 # Couldn't open file system So can you guys help me with a factory img and the instructions on how to restore it... Thanks in advance. |
Re: Help needed to do a backup
|
Re: Help needed to do a backup
Quote:
2) Unpack jolla-sailfish-1.0.8.21.tar.xz and put jolla-sailfish-1.0.8.21.img to sdcard unpack the tar.bz2 file... so I unpack it to the ext4 formatted SD, but what exactly is the second part? Should I label the SD jolla-sailfish-1.0.8.21.img should I unpack it to that named folder in the SD or should I convert the tar to an .img under that name? I know it's very basic stuff, but having a toasted jolla in less than a month has me down... thanks to that "critical app registry" error and not knowing on my behalf how to follow instructions. Thanks in advance once again |
All times are GMT. The time now is 12:44. |
vBulletin® Version 3.8.8