We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

Software-/App-List from Recovery? [answered]

asked 2016-04-30 11:35:42 +0300

Skillmon gravatar image

updated 2018-12-03 22:41:51 +0300

Tanghus gravatar image

Hi there,

Is it possible to obtain a list of installed apps (preferable android and native apps) from within the Recovery mode? I need this because after the last system upgrade was released I tried to upgrade but the device shut down during the btrfs-optimization (on its own) and now it can't boot anymore. I tried to use the btrfs recovery from within Recovery menu but to no success. Now I want to factory reset and want to rescue as much as possible.

Regards Skillmon

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Skillmon
close date 2016-05-01 23:16:44.188217

1 Answer

Sort by » oldest newest most voted
4

answered 2016-04-30 15:23:00 +0300

updated 2016-04-30 15:27:06 +0300

/usr/share/applications/

All the applications' .desktop files are in this folder- should include Android ones, too.

Also take a look at this: https://together.jolla.com/question/81832/full-phone-backup-guide/

edit flag offensive delete publish link more

Comments

Thank you very much. The link is interesting indeed but I'm insecure whether it'd work after a full backup using dd because the device doesn't boot in it's current state. I'd rather do a factory reset and get the software manually. Do you know how to get the android_storage which is mounted in /home/nemo/ during ordinary operation? When I mount home in recovery mode I don't get the android_storage and I wasn't able to find anything on that topic with google.

Skillmon ( 2016-04-30 22:48:55 +0300 )edit

In case anybody else is searching for this: you can mount your rootfs in the recovery shell with: "mkdir /mnt/rootfs" and "mount /dev/mmcblk0p28 /mnt/rootfs" After this the android stuff is in the folder /mnt/rootfs/data

Skillmon ( 2016-04-30 23:44:41 +0300 )edit

There is a .desktop file for each app, so that's a great way to get a list of all installed apps.
About the link, I didn't mean you should do a dd, just check which directories are worth backing up (like the app databases).
I don't use Android Support so I have no idea about any of that. If I understood you correctly, you already found the answer by yourself.
Do you have any other related questions, or shall the question be closed?

jollailija ( 2016-05-01 16:07:52 +0300 )edit

Yes I did. I hope I didn't forget anything. Sadly in my case factory reset doesn't work so I opened a ticket at jolla's. Although I now realize that the /data/ path is mentioned I found it on my own. Sadly the link and the link which is in one of the answeres of the pointed thread only describes a possibility for backing up from within normal operation not from within recovery where many of the paths are not mounted or linked to.

Skillmon ( 2016-05-01 21:58:49 +0300 )edit

Oh and regarding the android apps. The list you can generate with "ls /usr/share/applications/ > applist" contains the installed android apps but with strange names (human readable but with a lot of unnecissary information). So your answer works perfect for my question. -> closing this

Skillmon ( 2016-05-01 23:15:52 +0300 )edit

Question tools

Follow
2 followers

Stats

Asked: 2016-04-30 11:35:42 +0300

Seen: 545 times

Last updated: Apr 30 '16