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

Can 3.3.0.16 "map" /home/nemo/android_storage to sd card?

asked 2020-05-23 19:11:40 +0200

UweLabs gravatar image

In earlier version before 3.2 it was possible to kind of map /home/nemo/android_storage to sd card with an appropriate entry in /var/lib/lxc/aliendalvik/extra_config. Is this (or a similar method) possibe again in 3.3.0.16? Best regards, Uwe.

edit retag flag offensive close delete

Comments

This seems to be a duplicate of the question https://together.jolla.com/question/203539/guide-externalising-android_storage-and-other-directories-files-to-sd-card/?answer=204318#post-id-204318
Cannot be sure without the device used (or AlienDalvik version) being mentioned.

olf ( 2020-05-24 16:12:15 +0200 )edit

Not really a duplicate, because this old thread was for 3.1.0 where the lxc-entry was working; but not since 3.2.0. I would like to find out how a solution can be done in 3.3.0.16 (XA2 and aliendalvik-8.1.0.73.6-1.13.1.jolla.armv7hl). Do you know how this can be done? Best regrads, Uwe.

UweLabs ( 2020-05-24 19:37:23 +0200 )edit

Not really a duplicate, because this old thread was for 3.1.0 where the lxc-entry was working; ...

No, the thread is about "Externalising android_storage and other directories / files to SD-card". It is not specific to any SailfishOS version; quite the opposite, it (is supposed to) cover(s) all versions since SailfishOS 2.2.0.

While the guide proper does not cover AlienDailvik-8 at all (because obviouisly things are still in flux), the sub-thread started by this specific answer does provide a pointer to the AlienDalvik start-up script which fails: /bin/start-aliendalvik-preinit.sh
One may analyse this failure (as a starting point), if this is important for him/her. Apparently it was not important enough for somebody to do that, yet.

I concur, that a solution for externalising android_storage to SD-card on SailfishOS 3.2.0 and later with AlienDalvik-8 would be nice.
Still I would prefer to keep the information (including failures and their analyses) how to externalise android_storage to SD-card on all AlienDalvik and SailfishOS versions (since 2.2.0) in one thread, instead of spreading it over multiple ones, making them hard to find. Hence please continue to report any new insights WRT "externalising android_storage to SD-card on AlienDalvik-8" as comments to the aforemetioned answer, regardless if they address SailfishOS versions since 3.2.0 or before that.

P.S.: Repetitively asking for a solution in as many places as possible does not get anyone closer to such a solution. ;)

olf ( 2020-05-25 23:43:52 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-05-24 00:02:50 +0200

Nerevareeeeeeee gravatar image

can't you just edit "#Mount /data" entry in "/var/lib/lxc/aliendalvik/config"?

edit flag offensive delete publish link more

Comments

Thank you very much for answering. Do you mean this block?

# Mount /data - always /home/.android now
lxc.mount.entry = /home/.android/data data none bind 0 0
# android_storage
lxc.mount.entry = /home/nemo/android_storage data/media/0 none bind,create=dir 0 0
...

Do you know what I would have to change there? And is this valid for 3.3.0.16?

I'm very curious for your answer... Best regards, Uwe.

UweLabs ( 2020-05-24 13:12:10 +0200 )edit

I try again asking ... and try hoping that there is someone in this forum who knows what to do... To change the line

lxc.mount.entry = /home/nemo/android_storage data/media/0 none bind,create=dir 0 0

to

lxc.mount.entry = /run/media/nemo/SDKARTE/Android  data/media/0 none bind,create=dir 0 0

where SDKARTE is the sd card and Android a folder there, did not help. After restart of Aliendalvik I checked this with e.g. OpenCamera, which did not work with this. Any idea? Best regards, Uwe.

UweLabs ( 2020-05-25 20:06:51 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2020-05-23 19:11:40 +0200

Seen: 338 times

Last updated: May 24 '20