Linux desktop on Android

Post Reply
Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Linux desktop on Android

Post by Vasant »

Hi,

We have a new release of VolksPC OS based on Debian Buster XFCE. This release is completely portable and
can run on any rooted Android device. It behaves more like an Android application.
Here is a clip of VolksPC OS running on ODROID-N2:

https://www.youtube.com/watch?v=RbVtqfnRhwI&t=13s

And also on ODROID-C2:

https://www.youtube.com/watch?v=mNzru9WAoYg&t=17s

Vasant
These users thanked the author Vasant for the post (total 4):
odroid (Wed Nov 06, 2019 12:24 pm) • BadPritt (Fri Nov 08, 2019 8:23 am) • RunningDad (Sun May 30, 2021 6:08 am) • Nuts_ (Mon Feb 07, 2022 4:18 pm)

Truly
Posts: 30
Joined: Sun Nov 03, 2019 8:53 am
languages_spoken: english
ODROIDs: N2
Has thanked: 19 times
Been thanked: 2 times
Contact:

Re: Linux desktop on Android

Post by Truly »

Very interesting and now I'm thinking what can I use this for?

Got a rooted Google Nexus laying around with Linage OS 9, so I can use it to try this out.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Sorry maybe my post was not very clear. It is portable but the Installer app still needs driver matched for the target platform. In other words there is not one solution that will cover every platform. In the Linux world drivers have to be matched to kernel versions.

User avatar
meveric
Posts: 11806
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: Linux desktop on Android

Post by meveric »

as long as it doesn't have desktop hardware gpu acceleration it's a nice gimmick but not so useful in my opinion.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Sav
Posts: 259
Joined: Mon Sep 02, 2019 2:33 am
languages_spoken: english
ODROIDs: odroid-n2
Has thanked: 81 times
Been thanked: 26 times
Contact:

Re: Linux desktop on Android

Post by Sav »

meveric wrote:
Fri Nov 08, 2019 5:21 pm
as long as it doesn't have desktop hardware gpu acceleration it's a nice gimmick but not so useful in my opinion.
I agree. The real step forward for the N2 must be a truly usable (and hardware accelerated) desktop OS.

User avatar
istanbulls
Posts: 739
Joined: Tue May 14, 2019 10:18 pm
languages_spoken: Turkish
ODROIDs: ODROID; N2, C4, XU4, N2+, CH4
Location: Istanbul-Turkey
Has thanked: 439 times
Been thanked: 131 times
Contact:

Re: Linux desktop on Android

Post by istanbulls »

I would love to try, but you only have the option to purchase. is not an experienced user and would love to know what I'm getting.

User avatar
rooted
Posts: 9509
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 487 times
Contact:

Re: Linux desktop on Android

Post by rooted »

meveric wrote:as long as it doesn't have desktop hardware gpu acceleration it's a nice gimmick but not so useful in my opinion.
It's still useful to run Linux services and such, nothing that can't already be done by other methods of course.

Hardware acceleration would make a huge difference in useabilty I agree.

User avatar
mad_ady
Posts: 10649
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 916 times
Contact:

Re: Linux desktop on Android

Post by mad_ady »

Let's not forget that native linux on N2 doesn't have hardware acceleration yet, so, apart from maybe a few kernel differences, this hybrid approach should be as good as native linux for desktop. Also, the N2 is a beast and can play 1080p video in a browser without acceleration (I think).
One thing that might make integration better would be having xdg-open or the browser fire android intents - e.g. clicking on a youtube link could start and switch to the android youtube app.

everlasting
Posts: 48
Joined: Thu Mar 28, 2019 7:10 am
languages_spoken: english
ODROIDs: N2
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: Linux desktop on Android

Post by everlasting »

mad_ady wrote:
Sat Nov 09, 2019 6:07 pm
Also, the N2 is a beast and can play 1080p video in a browser without acceleration (I think).
it can play it and no dropped frames, but if you take the same video from youtube and play in in coreelec/android theres a big difference.
the browser experience is inferior

User avatar
meveric
Posts: 11806
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: Linux desktop on Android

Post by meveric »

mad_ady wrote:
Sat Nov 09, 2019 6:07 pm
Let's not forget that native linux on N2 doesn't have hardware acceleration yet....
Well you can run hardware accelerated OpenGL Desktop applications to a certain degree, just not OpenGL ES Desktop applications :D
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Hi,

Most of us are in quarantine these days. From a geeks point of view, it is a good time to try out new technologies.
To that end we are making our ODROID-N2 VolksPC distribution available as a free download for evaluation purposes.
Just go to our home page volkspc dot org.

What is new with the latest release ?
1. Fixed many compatibility issues.
2. We switched to Chromium browser as it seems faster. Also Vivaldi browser works very well on the ODROID-N2.
3. We did our first port to a budget Android Phone Xiaomi Redme 6. Even this is available for free.

So stay safe and healthy and give our software a spin.

Vasant
These users thanked the author Vasant for the post (total 3):
rooted (Fri Apr 17, 2020 6:19 am) • odroid (Fri Apr 17, 2020 9:25 am) • istanbulls (Sat Apr 18, 2020 4:09 pm)

User avatar
mad_ady
Posts: 10649
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 916 times
Contact:

Re: Linux desktop on Android

Post by mad_ady »

Great work, vasant!

m8kbv
Posts: 124
Joined: Thu Nov 14, 2019 6:27 pm
languages_spoken: English
ODROIDs: 2x Odroid N2 4GB
Odroid Go Advance
Location: Poland
Has thanked: 35 times
Been thanked: 17 times
Contact:

Re: Linux desktop on Android

Post by m8kbv »

VolksPC: On LineageOS 16 after installing the program and downloading the image and clicking on start, the loading circle turns up and the message pops up to restart and try again. Either I do something wrong or there is a mistake on LineAgeOS. I have not tested on other versions of android because it was late.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

m8kbv wrote:
Fri Apr 17, 2020 5:57 pm
VolksPC: On LineageOS 16 after installing the program and downloading the image and clicking on start, the loading circle turns up and the message pops up to restart and try again. Either I do something wrong or there is a mistake on LineAgeOS. I have not tested on other versions of android because it was late.
I just tried the 64bit Lineage OS Version 0.3 release dated 2/22. It worked for me. Please make sure that root access is enabled for Apps and ADB. It is one of the settings in developer mode. If it still doesn't work I will need logcat output - logcat | grep VolksPC.

m8kbv
Posts: 124
Joined: Thu Nov 14, 2019 6:27 pm
languages_spoken: English
ODROIDs: 2x Odroid N2 4GB
Odroid Go Advance
Location: Poland
Has thanked: 35 times
Been thanked: 17 times
Contact:

Re: Linux desktop on Android

Post by m8kbv »

https://ibb.co/hW3NZPy
https://ibb.co/HFNTMqP
this is it? sorry for the form (I write with a smartphone).
root access for Apps and ADB Is enabled.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

I suspect that the root files system is corrupted. I have seen USB errors on ODROID-N2 when you transfer volkspcimg.zip which is a large file- about 1.4GB.
Try not to install it from USB drive. If you don't have SD slot free use adb - adb push volkspcimg.zip /sdcard/Download. From VolksPC Installer application uninstall current image
and install again. It will install from /sdcard/Download/volkspcimg.zip.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

We have updated the Debian rootfs (volkspcimg.zip) to support MESA 3D graphics. It is software rendered on the ODROID-N2 but the speed is quite impressive. Take a look:
https://www.youtube.com/watch?v=w-vRHIaoTwo&t=19s
These users thanked the author Vasant for the post (total 3):
rooted (Fri May 29, 2020 2:31 pm) • istanbulls (Fri May 29, 2020 5:57 pm) • Nuts_ (Mon Feb 07, 2022 4:21 pm)

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

We have updated our Android release for ODROID-N2. With this release you can
cut and paste between Android and Linux desktop applications. Here is the clip
showing this is action:

https://www.youtube.com/watch?v=CL9T1PWejok&t=6s


For this to work you will need an Android installation with touch screen support.

Regards
Vasant
These users thanked the author Vasant for the post (total 2):
superpowter77 (Tue Sep 22, 2020 11:29 am) • odroid (Tue Sep 22, 2020 12:18 pm)

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Hi,

VolksPC OS is now based on Debian Bullseye XFCE 4.16 and runs on ODROID-N2 with Voodik's Lineage OS 17.1
as well as Android-x86 Pie. Here is a clip:

https://www.youtube.com/watch?v=HDiwEIFn6-E&t=34s


If you are wondering about graphics performance of VolksPC desktop running on top of Android,
here is a detailed comparison:

https://www.youtube.com/watch?v=MXXOIvcm2ws&t=124s

You can download this release for both Android-x86 and LineageOS 17.1(ODROID-N2) from volkspc.org.

Thanks
Vasant
These users thanked the author Vasant for the post:
odroid (Tue Feb 16, 2021 10:45 am)

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Oure latest release supports both LineageOS-17.1 (Android 10) as well as LineageOS-18.1 (Android 11).
These users thanked the author Vasant for the post:
odroid (Tue Mar 16, 2021 11:14 am)

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

VolksPC OS is now a 64bit distribution based Debian Bullseye XFCE 4.16. Here is a clip:

https://www.youtube.com/watch?v=jkaQW6E ... el=VolksPC

These users thanked the author Vasant for the post:
istanbulls (Wed Apr 28, 2021 8:59 pm)

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

We made a new release with many bug fixes.
While most applications run fine with our graphics stack, it is impossible to provide 100% compatibility.
So we created a nested desktop environment that runs the original X11 Xorg server. Here is a video
showing it in action:
https://www.youtube.com/watch?v=sq20J_6 ... el=VolksPC

User avatar
mad_ady
Posts: 10649
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 916 times
Contact:

Re: Linux desktop on Android

Post by mad_ady »

That looks great! But what is the graphical performance when running a browser (or glmark2-egl) in the native environment or through vnc?

User avatar
rooted
Posts: 9509
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 487 times
Contact:

Re: Linux desktop on Android

Post by rooted »

mad_ady wrote:That looks great! But what is the graphical performance when running a browser (or glmark2-egl) in the native environment or through vnc?
When you say native environment you mean Android? Linux isn't hardware accelerated unless something changed since I last tested it.

If you need hardware acceleration you have to use a browser in the host Android.

User avatar
mad_ady
Posts: 10649
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 916 times
Contact:

Re: Linux desktop on Android

Post by mad_ady »

No, by native I meant Debian with the custom x11 stack.
I had forgotten about acceleration status...

LiveMeatbag
Posts: 11
Joined: Thu May 21, 2020 2:52 pm
languages_spoken: english
ODROIDs: N2+, XU4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Linux desktop on Android

Post by LiveMeatbag »

I can't seem to interact with volkspc when I start it up. I tried two different kinds of keyboards and mice, but the only thing working is the esc button exiting out to android.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

That is indeed strange. I am assuming keyboard and mouse works correctly with Android. Are you running Lineage OS 18.1 ?.

LiveMeatbag
Posts: 11
Joined: Thu May 21, 2020 2:52 pm
languages_spoken: english
ODROIDs: N2+, XU4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Linux desktop on Android

Post by LiveMeatbag »

Wish I was, couldn't figure out how to root it. I'm using the latest version of android pie Hardkernel is using.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Okay, I see the problem. Android Pie has the same kernel version as Lineage OS 18.1 but it is running a slightly older kernel.
So even though the our driver loads, it is not fully functional and is therefore not capturing the keyboard/mouse events.
If you run dmesg you will see errors related to unresolved symbols with driver x11.ko.

Simple solution is to move to Lineage OS 18.1. Rooting is quite easy and I have tested with Magisk-v21.4.zip. Copy this file to /sdcard/Download, get into recovery
(adb reboot recovery), install this zip and reboot.
These users thanked the author Vasant for the post:
Nuts_ (Mon Feb 07, 2022 4:23 pm)

LiveMeatbag
Posts: 11
Joined: Thu May 21, 2020 2:52 pm
languages_spoken: english
ODROIDs: N2+, XU4
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Linux desktop on Android

Post by LiveMeatbag »

Might have to reupload that file you're trying to send, but thank you.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

You can download the Magisk zip file from https://github.com/topjohnwu/Magisk/releases

Nuts_
Posts: 46
Joined: Thu May 20, 2021 4:09 pm
languages_spoken: english, russian
ODROIDs: XU4, N2
Has thanked: 66 times
Been thanked: 0
Contact:

Re: Linux desktop on Android

Post by Nuts_ »

Vasant wrote:
Sat Jul 24, 2021 4:21 am
We made a new release with many bug fixes.
Tons of youtube but no easy answer for: where te get .apk for N2

User avatar
mad_ady
Posts: 10649
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 916 times
Contact:

Re: Linux desktop on Android

Post by mad_ady »

Start here: https://www.volkspc.org/, but note - it's a paid application.

Nuts_
Posts: 46
Joined: Thu May 20, 2021 4:09 pm
languages_spoken: english, russian
ODROIDs: XU4, N2
Has thanked: 66 times
Been thanked: 0
Contact:

Re: Linux desktop on Android

Post by Nuts_ »

mad_ady wrote:
Tue Feb 08, 2022 8:19 pm
Start here: https://www.volkspc.org/, but note - it's a paid application.
Well i guess, but.. the "shop" is empty (m.b. for RU )
i can see only "No products were found matching your selection."

User avatar
rooted
Posts: 9509
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 761 times
Been thanked: 487 times
Contact:

Re: Linux desktop on Android

Post by rooted »

@Vasant may let you test drive it, he has done so for me a couple of times.

Vasant
Posts: 151
Joined: Mon Jan 19, 2015 3:44 pm
languages_spoken: english
ODROIDs: Odroid-c1
Has thanked: 0
Been thanked: 23 times
Contact:

Re: Linux desktop on Android

Post by Vasant »

Nuts_ wrote:
Wed Feb 09, 2022 6:21 am
mad_ady wrote:
Tue Feb 08, 2022 8:19 pm
Start here: https://www.volkspc.org/, but note - it's a paid application.
Well i guess, but.. the "shop" is empty (m.b. for RU )
i can see only "No products were found matching your selection."
I had to take it down temporarily as it was outdated and we were busy with other platforms. Anyway we just made a new release for ODROID-N2 based on our latest code base.
It runs well on both Lineage OS 18.1 and Lineage OS 19.1.
These users thanked the author Vasant for the post (total 2):
odroid (Tue Jun 14, 2022 9:41 am) • Nuts_ (Fri Jun 17, 2022 3:15 pm)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests