1.1.4 (the "ä" update) broke phone. Fix? Backup remotely?

asked 2015-06-15 03:50:20 +0300

Olle Jolle gravatar image

updated 2015-06-16 05:36:18 +0300

I'm in China, regular release channel. Downloading failed several times due to bad connection to the Store. When it finally finished and I installed it I got "Installation failed. Try again." So I did.

Now, my phone is completely messed up. Apps jumbled around, stock app icons missing, no Android app launching; Settings app is also missing icons and says I'm stuck in flight mode (can't turn off the indicator light) but I can still receive calls; lock screen clock says it's 1:00, clock app says it's 17:00; many Sailfish apps not working. Sometimes I get a message saying there's a serious problem with the app registry. Whatever that means.

Quite infuriating. How can this happen? Jolla controls hard and software. Can't they build enough safeguards in there that sth like this won't happen??

Problem is I didn't run a backup right before the update. Now Backup from within Settings isn't working, shows spinner and every few moments "Settings is not responding. Wait / Close".

Two questions:

1.)
Can I fix the phone without the major PITA of wiping everything? I saw posts like:
https://together.jolla.com/question/22079/howto-all-computer-users-recover-or-reset-a-device-that-is-stuck-in-boot-loop/?answer=45710#post-id-45710
or
https://together.jolla.com/question/91900/no-gui-after-114-update/

But I can't get those to work. I'm a normal user, not a Linux geek. "btrfs" to me sounds like it has something to do with breakfast. I have a Mac. I'm comfortable dabbling around in Terminal, but I need good instructions that work on a Mac. E.g. the first link mentions:

"Do in the computer"

sysctl net.ipv4.ip_forward=1 
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Don't know how to do this. My Mac apparently has no iptables command. The other link doesn't seem to work in recovery mode shell. I tried SSH via USB, but it's asking a password and I don't recall ever setting any.

If it's possible to fix, can someone please post step-by-step instructions?

2.)
If this fails and I have to bite the bullet and do a full reset, is there a way to trigger a backup remotely and pull the file out? I'd like to keep my notes, for instance. I can get into Recovery Mode shell via USB.

edit retag flag offensive close delete

Comments

1

SSH is asking for a password everywhere! You can set that in Settings -> Developer Mode. You have some options now, depending on your state you may setup that password and become root on the device eg open terminal devel-su and do a manual upgrade pkcon refresh and then version --dup, it will either run through and install some missing dependencies or it will cry out loud, see journal or dmesg and terminal output for error messages that might tell you what to remove or what has an issue (you can come back with that info here or better join IRC freenode #jollamobile for help), if you are already far away from that so you only have recovery-mode left as final option, there you could mount the home subvolume and your uSD to save to...

chemist ( 2015-06-16 09:48:07 +0300 )edit

Im using Terminal app on Jolla. devel -su gives:

devel: command not found

pkcon refresh gives:

Refreshing cache
Waiting in queue
Waiting for authentication
Waiting in queue
Starting
Fatal error: Rpm Exception

Repeating pkcon refresh gives:

Refreshing cache       [       ] (0%) The deamon crashed mid-transaction!

version --dup gives:

REFRESHING CACHE
[W]QDBusConnectionPrivate::serviceOwnerChangedNoLock:1280 - QDBusConnection: name 'org.freedesktop.PackageKit' had owner '' but we thought it was ':1.2476'
Preparing
Error: Rpm Exception
Finished transaction (status=2, runtime=0ms)
UPGRADE NOT COMPLETE - Retry 1 of 3
Waiting 1 seconds before retry.
REFRESHING CACHE
Finished transaction (status=2, runtime=0ms)
UPGRADE NOT COMPLETE - Retry 2 of 3
Waiting 3 seconds before retry.
REFRESHING CACHE
Finished transaction (status=2, runtime=0ms)
UPGRADE NOT COMPLETE - Retry 3 of 3
Waiting 5 seconds before retry.
REFRESHING CACHE
[W] PackageKit::Transaction::parseError:803 - Transaction::parseError: unknown error "'org.freedesktop.DBus.Error.NoReply"' 
Finished transaction (status=2, runtime=0ms)
FINISHING

The upgrade could NOT be finished. Make sure you have a working Internet Connection and SSU is properly set up. In
case the repos are changing rapidly (e.g. during development),
just restarting the upgrade might fix the issue.

REBOOT AT YOUR OWN RISK

"see journal or dmesg" - I don't know what that means.

Olle Jolle ( 2015-06-21 20:08:37 +0300 )edit

it is devel-su not devel -su - first of all, if you are not familiar with the command prompt, how about NOT just doing all things one after another when the first command returns an error already? Something in your setup is not working, it can be a broken Jolla Account, ssu isn't setup correctly and so on...Are you able to install apps from store?

chemist ( 2015-06-21 20:35:04 +0300 )edit

Well, you said you wanted to see "output for error messages that might tell you what to remove or what has an issue (you can come back with that info here" In that case, I'd assume I should collect all the errors and not stop "when the first command returns an error already". Sorry if I misunderstood.

Store launched at first and I tried to install a random Sailfish app. It gave me the little "Waiting" note in the app listing, then "Store is not responding. Wait / Close". I waited and it eventually crashed. Now, when I try to open Store again, I see this:

Your Jolla account needs to be updated

When I go to Settings|Accounts, either Settings app crashes as soon as I tap on "Accounts" or it opens,I try to re-login to my Jolla account and get:

Could not store app keys

BTW, trying to get to the developer mode panel in Settings just shows these marching light dots forever:

Dev mode panel stuck

On the upside, I finally remembered my dev mode password. So here is the output when executed in root. Stopping after the first error:

pkcon error output

Olle Jolle ( 2015-06-22 05:18:12 +0300 )edit

Could it be that your internal storage is full? It sounds like either your filesystem is not writable or your accounts got shredded. I have no clue about recovering accounts (lookling into it now), btrfs recovery on the other hand is try to delete some bigger files then balance btrfs. If you are unable to delete files you may try to ZERO them with true > $path_to_file then reboot and try to delete them again, after that, balance (might take a while). Balancing is btrfs balance start /

chemist ( 2015-06-22 13:20:10 +0300 )edit