Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing gentoo on a mobile phone
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1367

PostPosted: Tue Nov 09, 2021 10:31 am    Post subject: installing gentoo on a mobile phone Reply with quote

I want to install and run gentoo natively on several mobile phones, Ideally I want to run gentoo instead of android, preferably have the option to install gentoo on the memory card while still having android bootable, if not then I do not mind removing android and installing gentoo on the ROM.

I have a sony c2005 phone with cyanogenmod installed and the bootloader unlocked.
What documentation should I follow?

having a gentoo with UI is a long term goal, I would be satisfied with the mobile phone running gentoo, connected to wifi and ssh-able.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 2505

PostPosted: Tue Nov 09, 2021 12:02 pm    Post subject: Reply with quote

First step should be to make sure phone can boot sd card.
Then You've have to build kernel and install on sd card so that it boot.

Don't know about specific phone you mentioned, bit most hardware IT subunits are likely not to be included generic kernel.

So you'll have to go into the process of creating at external table that describes the phone motherboard sub units that should be involved.
Most of these subunits have binary blob drivers which you will have to hunt for.
You've have to layout everything so that kernel builds, install & boots.

Expect such a first step to be VERY time consuming, and COMPLEX enough that you may finally give up.

An alternative could be to go for phone that are linux RTM, e.g. Pinephone, or Sharp Zaurus if you can find one second hand.
Another way could be a Chrome tablet with phone SIM card support, as it seems latest ChromeOS allows booting to external SD card, IIRC.

In all cases, expect a long and steep learning curve.

Thks 4 ur attention, interest & support.
_________________
Unique LP assert induced thought agreed upon here: Poor testing hurts everyone... climate diversity included. ;)


Last edited by CaptainBlood on Tue Nov 09, 2021 12:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 49862
Location: 56N 3W

PostPosted: Tue Nov 09, 2021 12:29 pm    Post subject: Reply with quote

Adel Ahmed,

You probably need to write the documentation as you go.

Gentoo on Android is as close as you will get for now.
The probability of finding kernel source code for any phone today is zero or less. They will all need kernel version tied binary blobs.
The exception being phones that are designed to be open from the outset.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1367

PostPosted: Fri Jan 14, 2022 10:41 am    Post subject: Reply with quote

thanks everyone for your help
I have taken teh first step and have used:
https://wiki.gentoo.org/wiki/Project:Android/tarball

to install gentoo, stopping android has made a huge difference in saving memory.
I'm currently working on getting portage working, then I will try to configure module loading.
once I get that up and runnign I will try and see if I can use the kernel android is using to load gentoo natively, and eventually try to compile my kernel.

I will try to document as much as possible and add to the wiki
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8652
Location: ~Brussels - Belgique

PostPosted: Fri Jan 14, 2022 12:03 pm    Post subject: Reply with quote

Hi!

The Pinephone and Pinephone Pro are based on Linux, but are still under heavy software development.

This article list some other linux based smartphones

My 2 cents ;-)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1367

PostPosted: Sat Jan 15, 2022 3:11 am    Post subject: Reply with quote

thanks xavier, but I want to install gentoo on my old mobile phones that I no longer actively use.
I have the following devices which I will install gentoo on in the following order:
sony xperia M
samsung galaxy note3
sony xperia Z
samsung N5100
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum