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

Coboot Android on Gemini PDA?

asked 2020-03-25 11:56:19 +0300

inte gravatar image

With still no Aliendalvik available for the Gemini PDA I wonder if there might be a possibility to access and coboot the Android partition in SailfishOS in a similar manner as it is possible to coboot a Windows partition in Linux through virtualbox? This needn't neccessarily be based on vbox (it is possible to boot android-x86 in virtualbox though). Cobooting Android in SailfishOS might be even easier since it utilizes the same kernel as SfOS. This might also be interesting for the F(x)tec Pro1 (or any other SfOS/Android dual boot setup). DuckduckGo led me to https://github.com/sailfishos/virtualbox, but I don't know what this package does since there is no readme and I don't want to spoil my device. Is there anybody working on this topic?

edit retag flag offensive close delete

Comments

People were successfull using Anbox on other devices, so maybe that's the right route?

JacekJagosz ( 2020-03-26 01:33:43 +0300 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2020-03-25 15:06:08 +0300

olf gravatar image

updated 2020-03-25 21:41:50 +0300

Dual-Boot is already provided by Planetcomputers, see their partition tool and associated instructions.

Note that upgrading Android is a bit more complicated on a dual boot Gemini with an unrooted Android (instructions exist), and I have not yet managed to update Magisk on a rooted Android coexisting with TWRP-recovery and SailfishOS.

edit flag offensive delete publish link more

Comments

3

As far as I understood the original posting, @inte didn't ask for a dual-boot solution where you have only one environment active. Instead he asked to run one environment on a virtual environment as a 'child' of the 'main' environment. This has the advantage that you can have both environments active at the same time and switch between Android apps and Sailfish apps without a reboot.

AFAIA dual boot on Gemini PDA was available from day 1.

jollajo ( 2020-03-25 15:41:33 +0300 )edit
1

Yes, exactely, dual boot is working. The trick would be to start an Android instance from within SailfishOS in order to run native android apps from the android partition under SailfishOS without restarting the device in Android mode. I guess this thought is somewhat obvious for virtually any dual boot setup so I can hardly believe nobody ever came up with this. At least I couldn't find a similar discussion elsewhere...

inte ( 2020-03-25 16:19:15 +0300 )edit
2

Essentially this is what AlienDalvik does for Android-8 emulation. It runs in a LXC-Container which is some kind of separation from the host system. VirtualBox is probably even stricter in the separation as its guest systems even run their own kernel but still there's a analogy of your suggestion and the way how Jolla does it for the official way.

Actually I think it should be possible to run qemu on a Gemini PDA and execute some kind of Android emulation that is available on the desktop, one of the obstacles is probably wayland.

IIRC it was mentioned in one of the previous community collaboration meeting that Jolla is considering on how to make AlienDalvik available for community ports. However it wasn't promised that there will be any kind of offer.

jollajo ( 2020-03-25 17:16:38 +0300 )edit

Thats pretty interesting. However I have not even figured out how to access the Android partition from SfOS which was pretty much the first step to realize such kind of "emulation". I'm not sure if qemu is needed at all since there is no need to emulate a different architecture. Alien Dalvik 8 works great on my XA2, but I wouldn't mind if there was a possibility to boot the android installed on my gemini as a sailfish subprocess too, since it is there anyways... (and there are ways to overcome root detection methods of some banking or streaming apps which do not exist on SailfishOS/AD).

inte ( 2020-03-25 18:13:35 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2020-03-25 11:56:19 +0300

Seen: 305 times

Last updated: Mar 25 '20