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

Safe way of removing Android compatibility layer from SailfishOS? [answered]

asked 2014-11-01 15:39:54 +0300

updated 2014-11-26 10:54:56 +0300

eric gravatar image

I tried many times, across several versions, by removing the packages listed bellow, but for some reason the phone is broken afterwards -- unable to boot, and in need of recovery.

droid-system-packager droid-system-sbj droid-system-sbj-users

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by VDVsx
close date 2014-11-11 11:03:44.175346

Comments

I'm curious, why do you want to remove the Android side of the phone?, for what purpose?

Regards,

Spam Hunter ( 2014-11-01 18:01:49 +0300 )edit

2 Answers

Sort by » oldest newest most voted
4

answered 2014-11-02 17:14:09 +0300

Philippe De Swert gravatar image

updated 2014-11-02 17:20:21 +0300

Just remove it using the store. That will remove the android comatibility layer. Some of the packages you mentioned and remove manually are needed for the hybris adapatation layer that helps us using the android drivers (so we don't have to write everything from scratch without docs). So it's a completely different thing than the android adaptation layer which is based around a VM.

edit flag offensive delete publish link more

Comments

Thanks for the reply. I was only enquiring about the Android compatibility layer (or hybrid adaptation layer, as you call it) upon which the Alien Dalvik VM is being installed (which I never installed by the way). The reason I asked this is that I want to eventually use a pure blood implementation of SailfishOS rather than the current half-breed one. Is there any work being done on that -- writing native drivers I mean?

AnonUser3670 ( 2014-11-02 17:54:26 +0300 )edit

@Philippe De Swert Let me see if I got this right: hybris allows Sailfish to run on a Qualcomm SoC using android drivers written for it. And Dalvik / Android Runtime (ART) allows apps written for android to run on Sailfish. So does that mean that I could remove Dalvik/ART without affecting anything else? You say: "Just remove it using the store." I don't understand. Where is it in the store? Does the Settings > Android Support option toggle Dalvik/ART ?

kat6 ( 2016-07-31 18:32:55 +0300 )edit

I am on 2.0.3.14 and i cant find any option in store to remove it. If you can update your answer for my release build? Thanks in advance

DC ( 2016-09-14 14:18:29 +0300 )edit

Strangely, though I removed the compatibility layer in the Jolla store, the Android compatability and other Android settings remain in the SFOS settings. Also, I can't delete the Yalp store of fdroid. The Android ProtonMail app flaked out on me beginning with 3.0.0.8, so I'm stuck using the browser for mail anyway, which means I'm free to remove things Android, which I didn't like and didn't want except for ProtonMail anyway. But I can't get rid of the Android stuff, such as the two mentioned repos -- they stick around like an unremovable wart. Advice?

depscribe ( 2018-11-23 03:01:37 +0300 )edit
3

answered 2014-11-01 18:23:03 +0300

midnightoil gravatar image

updated 2014-11-01 18:30:00 +0300

You can't "remove Android" per se, can you? I'm under the impression that the Linux kernel that Sailfish uses on the Jolla is a modified Android kernel, or one with Android bits. Drivers for much of the phone are also Android ones. So in deleting those folders, you may be deleting files vital to Sailfish or bits of the kernel, as opposed to just Alien Dalvik which I assume is what you want to remove. Not sure why you're so keen to remove it ... as if you don't wish to use it, don't install the corresponding App from the Jolla Store (or uninstall it).

edit flag offensive delete publish link more

Comments

2

At risk of sounding rude, this is not an answer, this is a comment. Rather than vote you down, as many like to do, I ask that you repost this a comment.

Regards,

Spam Hunter ( 2014-11-01 19:01:25 +0300 )edit
1

The implication is that there probably isn't a safe way of doing it, since bits of Sailfish or the kernel most probably expect those 'droid' files to be there, even if not actively being used or shared. I highly doubt if you can remove it.

midnightoil ( 2014-11-01 19:14:32 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-11-01 15:39:54 +0300

Seen: 1,202 times

Last updated: Nov 02 '14