Ask / Submit

[SOLVED] Bricked, unable to mount mmcblk0p28 for backup [answered]

asked 2014-12-23 17:28:11 +0300

chroniz gravatar image

updated 2014-12-28 16:28:25 +0300

A new Jolla owner here, having got used to the phone for one week. So yesterday I happened to install newest system update, which worked fine until this morning. After some slowdowns & Android-apps seemed to keep crashing, I restarted phone and it got stuck on the main logo screen. As a new user, I weren't yet aware that I would have to disable OpenRepos before installing system update, which may have been the reason for the eventual bricking.

At any rate, I'm able to enter into recovery mode through telnet. Btrfs recovery doesn't work, but I'm able to either use shell or try resetting flash to factory defaults.

Before trying factory reset, I'd like to copy some of the pictures and music files I had installed on the system first to my SD (FAT32). But as soon as I'm trying to mount /dev/mmcblk0p28 to /mnt/home with the instructions here , terminal stops responding to any commands. Connecting with telnet again without shows that /mnt/sd has been mounted, but mnt/home not. How should I try to proceed from here, if I'd like to still backup some keyfiles (pictures at least) before trying to reset phone to factory settings?

From Jolla Care, I got also a reply suggesting to try repairing file system with the command, before trying factory reset:

btrfs check --repair /dev/mmcblk0p28

This fails, printing the following note to the terminal:

enabling repair mode Checking filesystem on /dev/mmcblk0p28 UUID: 86180ca0-d351-4551-b262-22b49e1adf47 checking extents btrfs: ctree.c:267: __btrfs_cow_block: Assertion `!(root->ref_cows && trans->transid != root->last_trans)' failed. Aborted

Edit: Issue solved with the guidance on IRC

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by eric
close date 2014-12-29 10:17:48.780052


Do you mean that new Jollas are still shipped with a version <= 1.0.4?

Giacomo Di Giacomo ( 2014-12-26 12:24:02 +0300 )edit

I got my second Jolla last week and it has also version

DiosDelRayo ( 2014-12-26 14:08:57 +0300 )edit

Many thanks to the people on IRC! I got it solved a few days ago by replacing mmcblk0p28 with a working factory image. All other commands I had tried (on recovery menu and shell) weren't able to fix the issue.

After copying an image, I updated immediately to Vaarainjärvi successfully and got the phone working normally again. Unfortunately due to nature of the fix, I don't suppose I'm able to post further details on public.

chroniz ( 2014-12-28 16:26:32 +0300 )edit over night system broken. Boot up, then crash. ssh not working anymore. Recover gives error "readonly partition". I now have a "first one brick" :-(

balance fi show says 9.xx of 14.xx used.

When i tried to copy partition to sd card (ext4 32gb copy with dd) phone reboots - but with fastboot i was able to copy partition. On ubuntu btrfs can't fix partition. With btrfs recover -s i copied the subvolumes, and create a new partition-image. Insert the subvolumes, correct the uuid in fstab, but phone still won't boot.

With photorec i rescued the pics from last 14 days (only a part, the others are unreadable)

Do you have the working image from jolla ?

torti17 ( 2015-08-31 11:34:38 +0300 )edit

@chroniz By any chance do you still happen to have that recovery image. I have the same problems and btrfs check --repair /dev/mmcblk0p28 is not working for me also. I know this image is not public but I think it is the only way to recover my phone. Thank you, Florian

cocof2001 ( 2017-03-03 07:54:27 +0300 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-12-26 07:47:53 +0300

c0ck4m0u53 gravatar image

I had a similar issue when I couldnt mount root partition trough telnet. The suggested (mount /dev/mmcblk0p28 /mnt/rootfs) command for mounting root partition, used in this howto returned

cant find /dev/mmcblk0p28 in /etc/fstab

I have managed to save the problem with a modified command found here

mount -t btrfs /dev/mmcblk0p28 /mnt/rootfs

P. S. Of course you should change used mount points so they corelate to the ones you created.

edit flag offensive delete publish link more

Question tools



Asked: 2014-12-23 17:28:11 +0300

Seen: 1,493 times

Last updated: Dec 28 '14