Installing Linux to an old phone - General Questions and Answers

I'm a bored tech enthusiast/programmer with an old pixel 1 phone that's just laying around. I thought it would be hilarious if I could install an arm version of a standard Linux distro like Ubuntu or Debian. I'm wondering if anyone has any ideas on how to go about it. I could try porting hallium but I'm more looking to run a desktop version just for the laughs. Can you just boot from a Linux iso with fastboot? Would fastbooting a different kernel first work? Any help appreciated (aside from "don't do that use this instead" or "just run Linux inside Android")

Related

[Q] Running a Linux Distro from boot?

Besides the Nexus i got this "Brick" called Motorola Milestone.
I was wondering if anybody has experience or a good tutorial on howto run Linux from boot or custom recovery, meaning "native" instead of a sdcard loop on top of Android OS. - Yes Android is Linux as well.. but I'd like to (ab)use my Milestone for a Debian Distro.
Thanks for any hint.

Can one access or use the underyling linux O/S in an Android device?

Maybe I'm misinterpreting what I've read, but my understanding is that Android "O/S's" are a VM (via Dalvik?) that runs within a pared down linux O/S. Assuming that's not too far off, is it possible to add packages or programs to that Linux O/S? Could I, for example, add regular old Wireshark to it? Obviously the programs would have to be compiled for the correct cpu platform.
Thanks.
The kernel is Linux one... As for your question, provided you have rooted your phone, you can create a chroot there and run Linux apps on your phone.
A howto for Debian here: http://forum.xda-developers.com/showthread.php?t=996746

Not sure which os

hi everyone well im getting a custom built pc soon but not sure which os so what do you think (also i have heard there are also driver problems and ubuntu is not for gaming)
Run Ubuntu then run windows inside of it
Run Windows then run ubuntu inside of it
only thing is i cant burn windows straight away so ubuntu is probably the way to go
all input would be appreciated
Ryan Stampton said:
hi everyone well im getting a custom built pc soon but not sure which os so what do you think (also i have heard there are also driver problems and ubuntu is not for gaming)
Run Ubuntu then run windows inside of it
Run Windows then run ubuntu inside of it
only thing is i cant burn windows straight away so ubuntu is probably the way to go
all input would be appreciated
Click to expand...
Click to collapse
Neither. Dual-boot it so that both Linux and Windows are both running natively as it's a much better way to run them.
SimonTS said:
Neither. Dual-boot it so that both Linux and Windows are both running natively as it's a much better way to run them.
Click to expand...
Click to collapse
Thanks i forgot you could duel boot
Ryan Stampton said:
Thanks i forgot you could duel boot
Click to expand...
Click to collapse
Not a problem. It is slightly trickier installing Linux first, then Windows - but not a real problem. You will just have to make sure that you keep your Linux Live image handy so you can re-install the Linux bootloader afterwards as Windows doesn't like sharing with anything else
Yeah, definitely dual-boot if you must have Linux, though I find it's a rather irrelevant operating system.
Mrbadboy3 said:
Yeah, definitely dual-boot if you must have Linux, though I find it's a rather irrelevant operating system.
Click to expand...
Click to collapse
Irrelevant? Really? Do you have an Android phone? You are aware that Android wouldn't exist without Linux and the Linux kernel ... aren't you?
SimonTS said:
Irrelevant? Really? Do you have an Android phone? You are aware that Android wouldn't exist without Linux and the Linux kernel ... aren't you?
Click to expand...
Click to collapse
Android and GNU+Linux are largely unrelated. That said, it's hard to see how he could call the latter "irrelevant". It's really only "irrelevant" if you are a hardcore gamer (and even then, there are pretty decent stopgap solutions for many games, and steam is also coming).
SimonTS said:
Irrelevant? Really? Do you have an Android phone? You are aware that Android wouldn't exist without Linux and the Linux kernel ... aren't you?
Click to expand...
Click to collapse
I often work with Windows 7, then install Wubi to create a dual-boot system with Ubuntu (except that the Ubuntu disk is stored inside a virtual disk file on the host filesystem, whilst still running on its own).
Try it, super easy, simple and safe
francocm said:
I often work with Windows 7, then install Wubi to create a dual-boot system with Ubuntu (except that the Ubuntu disk is stored inside a virtual disk file on the host filesystem, whilst still running on its own).
Try it, super easy, simple and safe
Click to expand...
Click to collapse
Wubi is more vulnerable to corruption in the event of a hard reboot, and is naturally slower.
The problem with ubuntu (alone) is that the first things you do is to install WINE (or else it does not last long).
If you install a dual boot and if you are accustomed to windows most of the time you will use windows.
for a time I had windows and ubuntu installed but it was really useless however do it if you want it costs nothing more (first install windows and next ubuntu, it's easier in this order)

[Q] How do I get started with Linux ?

So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
systemshock1993 said:
So guys I am new to Linux and the OpenSource ideology. Is there a ' - for Dummies' kind of guide which you people know of so that I can get started. I have questions in mind like - "How is Linux different from Windows ?". So, to cut a long story short, how and from where do I get started ?
(By the way, I am running Ubuntu Linux in a virtual machine via vmware player. So until I am comfortable enough with Linux, I can't even think of installing it directly onto my hard drive.)
Click to expand...
Click to collapse
You can look at the Ubuntu wiki, which is very well made and self-explanatory.
I think the Ubuntu wiki is a good place to start for those high-level questions. I'd also highly recommend at least getting comfortable with using the command line. You don't need to learn every command, but it's a very useful tool.
Try using www.linuxsurvival.com
I'm sure it will help you.
Sent from my HTC One X+ using XDA Premium 4 mobile app
I would recommend you install Gentoo or Arch to learn the fastest. Installing ubuntu is too "easy"

Installing Linux on chinese android tablet

Hello,
Hopefully can find further help here...
Obtained Keypoon K30s Pro tablet from China. It is running Android 10 as its oem OS. I want to set it up with a linux distro instead of android.
Ofcourse due to exotic make I have not been able to find any threads of information on this topic for this brand tablets.
Only guide so far has been hardware specs...
It is running on Unisoc SC9863a 64bit ARM Cortex A-55 cpu at 10 cores.
10GB RAM
512GB internal storage
PowerVR Rogue GE8322 integrated graphics card
It successfully connects with windows 10 cmd adb bridge.
As I understand, I would need a linux distro img format file to try and boot it from bootloader via ADB, however official sources only offer ISO downloads.
PS I am open to any linux distro which would offer best compatibility to the hardware. From what I can see Debian seems to be a good choice. (as this brand is not
part of the supported device list for ubports of ubuntu touch couldnt get past that either)
Any advice would be greatly appreciated
Thank you
Try this
Andronix - Linux on Android – Apps on Google Play
Andronix lets you install Linux on Android without root.
play.google.com
jwoegerbauer said:
Try this
Andronix - Linux on Android – Apps on Google Play
Andronix lets you install Linux on Android without root.
play.google.com
Click to expand...
Click to collapse
Thank you for reply.
Looks like Andronix is a Linux emulator and backbone still remains Android.
with this also comes certain limitations...
I was looking to completely replace Android with a Linux distro.
Any suggestions?
Android IS Linux tailored to the mobile's hardware
jwoegerbauer said:
Android IS Linux tailored to the mobile's hardware
Click to expand...
Click to collapse
Yes, you are correct there. Andoid is built off the linux kernel.
However, it is still limited in what you can do, you have proprietary bloatware bogging down your device and the biggest issue for me is that google is the manager of it all.
So I am strongly coming from privacy side as well.
I have seen quite a few options similar to Andronix on play store. Correct me if im wrong- they are like a virtual machine on windows..? Not sure how this setup works, if you are able to save your OS state, packages etc, or its a clean slate everytime you fire up the vnc server and connect to the distro of choice...
So I am really interested to see if its possible to fully get rid of android and try linux. (Cant install windows as ARM cpu's are not supported, not that I wanted windows anyway)
Many thanks

Categories

Resources