View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1526
|
Posted: Tue Nov 09, 2021 10:31 am Post subject: installing gentoo on a mobile phone |
|
|
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 |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3661
|
Posted: Tue Nov 09, 2021 12:02 pm Post subject: |
|
|
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. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Tue Nov 09, 2021 12:33 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Tue Nov 09, 2021 12:29 pm Post subject: |
|
|
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 |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1526
|
Posted: Fri Jan 14, 2022 10:41 am Post subject: |
|
|
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 |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8711 Location: ~Brussels - Belgique
|
Posted: Fri Jan 14, 2022 12:03 pm Post subject: |
|
|
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 |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1526
|
Posted: Sat Jan 15, 2022 3:11 am Post subject: |
|
|
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 |
|
|
|