Getting a true open-source only OS running on a phone? Android?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I've read a lot, and heard both sides, but still slightly in the cloud when it comes to android. Android is a open source OS, but when I buy a phone, it comes preloaded with google services and apps that are clearly not open-source, and are integrated at such a level a cannot remove them. Only "disable" them.
If android is truly open source, can I compile my own image and flash it to my phone so that I am running a 100% open-source code OS on a mobile platform?
(I'm thinking in the mindset of Debian, where all code is open source and available to the end user)
linux firmware opensource-projects phone
add a comment |Â
up vote
1
down vote
favorite
I've read a lot, and heard both sides, but still slightly in the cloud when it comes to android. Android is a open source OS, but when I buy a phone, it comes preloaded with google services and apps that are clearly not open-source, and are integrated at such a level a cannot remove them. Only "disable" them.
If android is truly open source, can I compile my own image and flash it to my phone so that I am running a 100% open-source code OS on a mobile platform?
(I'm thinking in the mindset of Debian, where all code is open source and available to the end user)
linux firmware opensource-projects phone
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I've read a lot, and heard both sides, but still slightly in the cloud when it comes to android. Android is a open source OS, but when I buy a phone, it comes preloaded with google services and apps that are clearly not open-source, and are integrated at such a level a cannot remove them. Only "disable" them.
If android is truly open source, can I compile my own image and flash it to my phone so that I am running a 100% open-source code OS on a mobile platform?
(I'm thinking in the mindset of Debian, where all code is open source and available to the end user)
linux firmware opensource-projects phone
I've read a lot, and heard both sides, but still slightly in the cloud when it comes to android. Android is a open source OS, but when I buy a phone, it comes preloaded with google services and apps that are clearly not open-source, and are integrated at such a level a cannot remove them. Only "disable" them.
If android is truly open source, can I compile my own image and flash it to my phone so that I am running a 100% open-source code OS on a mobile platform?
(I'm thinking in the mindset of Debian, where all code is open source and available to the end user)
linux firmware opensource-projects phone
edited Jun 14 at 9:27
user2066657
379110
379110
asked Jun 14 at 1:57
TrevorKS
1068
1068
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21
add a comment |Â
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Yes and no.
You could run https://www.lineageos.org/ to have a completely FOSS operating system. You would still want some sort of app marketplace. You can put "gapps" on your LineageOS phone, or you could use https://f-droid.org/.
However, "thinking in the mindset of Debian," this is like running Linux on a laptop in 2001: you may still need closed-source components for firmware or hardware drivers.
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
add a comment |Â
up vote
0
down vote
There are several aspects to consider...
Yes, Android is open source, at least as provided by the Android Open Source Project. However as you mention more and more of the platformsâ features are provided as non-open source components, e.g. in Google Services; this includes somewhat basic features such as the swiping keyboard, and more complex subsystems such as Android Auto. And most phonesâ kernels include proprietary modules whose source code isnâÂÂt available...
Yes, you can rebuild your own version of Android. See for example the LineageOS build instructions (look up any supported device there, and youâÂÂll find build instructions).
Whether you can flash your build onto your phone depends on the specific model of phone you have. Many phones attempt to prevent their operating system from being replaced by images which arenâÂÂt signed by the manufacturer; flashing those relies on someone finding a hack. LineageOS also has instructions for supported devices, and youâÂÂll find others on Android forums.
The result is rarely fully open source: as mentioned above, the kernel typically includes proprietary blobs, which means youâÂÂre often stuck on whichever version the manufacturer shipped, and thereâÂÂs usually a number of pieces of proprietary firmware (including the boot firmware). There are projects which attempt to address this, such as Replicant (an Android variant with the emphasis on freedom and security) and postmarketOS (an Alpine Linux-based phone-optimised distribution with reverse-engineered support for a surprising amount of hardware); both of these target older phones so they might not be relevant for you.
On the application side, F-Droid documents how to build all the hosted applications.
So it is certainly possible to run a largely open source system on many phones, but in the vast majority of cases itâÂÂs still a compromise. In particular, the security story on phones is really bad; LineageOS used to try to track relevant CVEs on supported devices, but there are thousands and theyâÂÂve stopped for the time being.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Yes and no.
You could run https://www.lineageos.org/ to have a completely FOSS operating system. You would still want some sort of app marketplace. You can put "gapps" on your LineageOS phone, or you could use https://f-droid.org/.
However, "thinking in the mindset of Debian," this is like running Linux on a laptop in 2001: you may still need closed-source components for firmware or hardware drivers.
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
add a comment |Â
up vote
1
down vote
Yes and no.
You could run https://www.lineageos.org/ to have a completely FOSS operating system. You would still want some sort of app marketplace. You can put "gapps" on your LineageOS phone, or you could use https://f-droid.org/.
However, "thinking in the mindset of Debian," this is like running Linux on a laptop in 2001: you may still need closed-source components for firmware or hardware drivers.
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Yes and no.
You could run https://www.lineageos.org/ to have a completely FOSS operating system. You would still want some sort of app marketplace. You can put "gapps" on your LineageOS phone, or you could use https://f-droid.org/.
However, "thinking in the mindset of Debian," this is like running Linux on a laptop in 2001: you may still need closed-source components for firmware or hardware drivers.
Yes and no.
You could run https://www.lineageos.org/ to have a completely FOSS operating system. You would still want some sort of app marketplace. You can put "gapps" on your LineageOS phone, or you could use https://f-droid.org/.
However, "thinking in the mindset of Debian," this is like running Linux on a laptop in 2001: you may still need closed-source components for firmware or hardware drivers.
answered Jun 14 at 2:26
Jon Wolski
1962
1962
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
add a comment |Â
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
That's a great last comment, @Jon. It's important for Trevor to decide, if it comes down to it, whether he wants a phone that works or an open-source flag to wave; for just because open-source code is in the base , doesn't eliminate the potential need for drivers on top which are definitely closed. So the "do I want to be a purist or do I just want to make a phone call today" question may become relevant.
â user2066657
Jun 14 at 5:44
add a comment |Â
up vote
0
down vote
There are several aspects to consider...
Yes, Android is open source, at least as provided by the Android Open Source Project. However as you mention more and more of the platformsâ features are provided as non-open source components, e.g. in Google Services; this includes somewhat basic features such as the swiping keyboard, and more complex subsystems such as Android Auto. And most phonesâ kernels include proprietary modules whose source code isnâÂÂt available...
Yes, you can rebuild your own version of Android. See for example the LineageOS build instructions (look up any supported device there, and youâÂÂll find build instructions).
Whether you can flash your build onto your phone depends on the specific model of phone you have. Many phones attempt to prevent their operating system from being replaced by images which arenâÂÂt signed by the manufacturer; flashing those relies on someone finding a hack. LineageOS also has instructions for supported devices, and youâÂÂll find others on Android forums.
The result is rarely fully open source: as mentioned above, the kernel typically includes proprietary blobs, which means youâÂÂre often stuck on whichever version the manufacturer shipped, and thereâÂÂs usually a number of pieces of proprietary firmware (including the boot firmware). There are projects which attempt to address this, such as Replicant (an Android variant with the emphasis on freedom and security) and postmarketOS (an Alpine Linux-based phone-optimised distribution with reverse-engineered support for a surprising amount of hardware); both of these target older phones so they might not be relevant for you.
On the application side, F-Droid documents how to build all the hosted applications.
So it is certainly possible to run a largely open source system on many phones, but in the vast majority of cases itâÂÂs still a compromise. In particular, the security story on phones is really bad; LineageOS used to try to track relevant CVEs on supported devices, but there are thousands and theyâÂÂve stopped for the time being.
add a comment |Â
up vote
0
down vote
There are several aspects to consider...
Yes, Android is open source, at least as provided by the Android Open Source Project. However as you mention more and more of the platformsâ features are provided as non-open source components, e.g. in Google Services; this includes somewhat basic features such as the swiping keyboard, and more complex subsystems such as Android Auto. And most phonesâ kernels include proprietary modules whose source code isnâÂÂt available...
Yes, you can rebuild your own version of Android. See for example the LineageOS build instructions (look up any supported device there, and youâÂÂll find build instructions).
Whether you can flash your build onto your phone depends on the specific model of phone you have. Many phones attempt to prevent their operating system from being replaced by images which arenâÂÂt signed by the manufacturer; flashing those relies on someone finding a hack. LineageOS also has instructions for supported devices, and youâÂÂll find others on Android forums.
The result is rarely fully open source: as mentioned above, the kernel typically includes proprietary blobs, which means youâÂÂre often stuck on whichever version the manufacturer shipped, and thereâÂÂs usually a number of pieces of proprietary firmware (including the boot firmware). There are projects which attempt to address this, such as Replicant (an Android variant with the emphasis on freedom and security) and postmarketOS (an Alpine Linux-based phone-optimised distribution with reverse-engineered support for a surprising amount of hardware); both of these target older phones so they might not be relevant for you.
On the application side, F-Droid documents how to build all the hosted applications.
So it is certainly possible to run a largely open source system on many phones, but in the vast majority of cases itâÂÂs still a compromise. In particular, the security story on phones is really bad; LineageOS used to try to track relevant CVEs on supported devices, but there are thousands and theyâÂÂve stopped for the time being.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
There are several aspects to consider...
Yes, Android is open source, at least as provided by the Android Open Source Project. However as you mention more and more of the platformsâ features are provided as non-open source components, e.g. in Google Services; this includes somewhat basic features such as the swiping keyboard, and more complex subsystems such as Android Auto. And most phonesâ kernels include proprietary modules whose source code isnâÂÂt available...
Yes, you can rebuild your own version of Android. See for example the LineageOS build instructions (look up any supported device there, and youâÂÂll find build instructions).
Whether you can flash your build onto your phone depends on the specific model of phone you have. Many phones attempt to prevent their operating system from being replaced by images which arenâÂÂt signed by the manufacturer; flashing those relies on someone finding a hack. LineageOS also has instructions for supported devices, and youâÂÂll find others on Android forums.
The result is rarely fully open source: as mentioned above, the kernel typically includes proprietary blobs, which means youâÂÂre often stuck on whichever version the manufacturer shipped, and thereâÂÂs usually a number of pieces of proprietary firmware (including the boot firmware). There are projects which attempt to address this, such as Replicant (an Android variant with the emphasis on freedom and security) and postmarketOS (an Alpine Linux-based phone-optimised distribution with reverse-engineered support for a surprising amount of hardware); both of these target older phones so they might not be relevant for you.
On the application side, F-Droid documents how to build all the hosted applications.
So it is certainly possible to run a largely open source system on many phones, but in the vast majority of cases itâÂÂs still a compromise. In particular, the security story on phones is really bad; LineageOS used to try to track relevant CVEs on supported devices, but there are thousands and theyâÂÂve stopped for the time being.
There are several aspects to consider...
Yes, Android is open source, at least as provided by the Android Open Source Project. However as you mention more and more of the platformsâ features are provided as non-open source components, e.g. in Google Services; this includes somewhat basic features such as the swiping keyboard, and more complex subsystems such as Android Auto. And most phonesâ kernels include proprietary modules whose source code isnâÂÂt available...
Yes, you can rebuild your own version of Android. See for example the LineageOS build instructions (look up any supported device there, and youâÂÂll find build instructions).
Whether you can flash your build onto your phone depends on the specific model of phone you have. Many phones attempt to prevent their operating system from being replaced by images which arenâÂÂt signed by the manufacturer; flashing those relies on someone finding a hack. LineageOS also has instructions for supported devices, and youâÂÂll find others on Android forums.
The result is rarely fully open source: as mentioned above, the kernel typically includes proprietary blobs, which means youâÂÂre often stuck on whichever version the manufacturer shipped, and thereâÂÂs usually a number of pieces of proprietary firmware (including the boot firmware). There are projects which attempt to address this, such as Replicant (an Android variant with the emphasis on freedom and security) and postmarketOS (an Alpine Linux-based phone-optimised distribution with reverse-engineered support for a surprising amount of hardware); both of these target older phones so they might not be relevant for you.
On the application side, F-Droid documents how to build all the hosted applications.
So it is certainly possible to run a largely open source system on many phones, but in the vast majority of cases itâÂÂs still a compromise. In particular, the security story on phones is really bad; LineageOS used to try to track relevant CVEs on supported devices, but there are thousands and theyâÂÂve stopped for the time being.
edited Jun 14 at 5:09
answered Jun 14 at 4:50
Stephen Kitt
139k22301363
139k22301363
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f449705%2fgetting-a-true-open-source-only-os-running-on-a-phone-android%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
".. and are integrated at such a level a cannot remove them." Sure you can; root the phone.
â Ignacio Vazquez-Abrams
Jun 14 at 2:01
This is probably better suited for android.stackexchange.com
â Patrick
Jun 14 at 3:21