LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   Slackware as Android replacement possible?? (https://www.linuxquestions.org/questions/slackware-arm-108/slackware-as-android-replacement-possible-4175649283/)

Stuferus 02-28-2019 05:07 PM

Slackware as Android replacement possible??
 
hi,

just a general question.. im sorry if i am in the wrong place here.

Is Slackware as Tablet or better Smartphone replacement OS (replacing android) even possible?? how would dialing for phone conversations work? :)

greetings
stuferus

frankbell 02-28-2019 08:55 PM

My initial reaction is probably not. I would expect major issues regarding the hardware architecture in attempting to put Linux on a tablet. I once bricked a tablet trying to put Debian on it.

If you have a spare (I emphasize "spare") tablet to throw at this project, I'd say give it a try and tell us how it worked.

You may find this link helpful: https://tablet.ninja/can-you-install-linux-on-a-tablet/

mralk3 02-28-2019 09:29 PM

Slackware as Android replacement possible??
 
There has been some discussion about Slackware arm on smart phones a while back. I suggest you search the Slackware ARM sub forum for more information. In short,. it will require a lot of work and appropriate hardware to do so. You are better off with Android on devices designed for Android, etc.

drmozes 03-01-2019 03:10 AM

Quote:

Originally Posted by Stuferus (Post 5968401)
hi,

just a general question.. im sorry if i am in the wrong place here.

Is Slackware as Tablet or better Smartphone replacement OS (replacing android) even possible?? how would dialing for phone conversations work? :)

Anything's possible if you have time time and skill to pull it off.
The key things are:
1. Is the target you have in mind meant for such a project - does the vendor make it easy to put your own OS on it: can you access the boot loader. Does the Kernel need to be 'signed'. If it's not, you end up like the Google Chromebook where you either mess around with unscrewing the case, soldering the board or risking bricking the device.
2. Is there upstream support for the device in mainline Kernel? e.g. Raspberry Pi didn't have support for _years_ which meant it was always outside of the ecosystem, and you were locked in to their own Kernel releases, and all of the pain that causes.
3. Are the graphics drivers available ?
4. Is there anyone else doing this who could help when you get stuck (probably not - at least not on this forum AFAIK).

Slackware ARM's goal is to be general purpose OS - primarily for server and desktop usage. It succeeds at the former well, and the desktop is getting there as the ARM devices become more powerful.
Personally apart from if I wanted a project to hack on something, I can't see any reason why I'd put Slackware on either a tablet or a smart phone because those devices are (for me) utilities with minimal extra usage.
The Chromebook is a laptop - keyboard and screen, so it made sense to get Slackware working on it as I can use it as a 'desktop' and have the Slackware experience; where as with a smart phone/tablet you won't get that.

abga 03-01-2019 10:47 AM

@Stuferus

Just adding some details to drmozes' valid points. The commercial smartphones/tablets are vendor locked and not opensource, you'll have a hard time to get into (hack) or substitute the bootloader and then there are device drivers unavailability issues, not only video drivers, but also core connectivity ones - mobile network modem, WiFi/BT, then cameras, touchscreen, GPS &co.
If you want to experiment with building a "smartphone" form scratch with the help of Slackware ARM, get some inspiration from these projects:
http://www.davidhunt.ie/piphone-a-ra...ed-smartphone/
https://hackaday.com/2018/10/29/crea...pi-smartphone/
https://blog.hackster.io/the-zeropho...i=605b29bbae74
https://wiki.zerophone.org/index.php/Main_Page
This would be helpful to identify mobile network modems with voice support:
https://github.com/bg111/asterisk-ch...nd-Limitations

For getting help into hacking the bootloader & obtaining some device drivers for the usual Android devices, this is a good place to start:
https://forum.xda-developers.com/
This recovery tool might be also useful to get you started in your hacking endeavor:
https://www.xda-developers.com/how-to-install-twrp/
https://twrp.me/about/
There are already some opensource alternatives to Android:
https://itsfoss.com/open-source-alternatives-android/
And some HW platforms you might want to consider:
https://en.wikipedia.org/wiki/List_o..._mobile_phones
Purism looks interesting/promising:
https://en.wikipedia.org/wiki/Purism,_SPC

The hints & links form this post could also help:
https://www.linuxquestions.org/quest...ml#post5860461

Be advised that even if you manage to build your own image, form security POV, you still have to rely on some closed source binary blobs (firmware) that you cannot control and that might be vulnerable. For example:
https://www.wired.com/story/at-comma...vulnerability/
https://fossbytes.com/android-smartp...h-at-commands/
Broadcom WiFi vulnerabilities:
https://arstechnica.com/information-...g-worm-attack/

Desiderius 03-04-2019 07:52 AM

@Stuferus

If you are looking for an Open Source tablet running Slackware , here it is :

https://www.diskiopi.com/

It runs Slackware ARM on Raspberry Pis :

http://sarpi.fatdog.eu/

Desiderius


All times are GMT -5. The time now is 03:31 PM.