Is it possible at all for Ubuntu to work on Milestone? - Motorola Droid and Milestone Q&A, Help & Troublesh

They've done it on the Droid already. My question is, is this possible with our locked bootloaders?
If this post should be moved to General Discussion then please move it and sorry for the inconvenience.

Ubuntu boots on the Droid? Interesting. Care to link me to that achievement?

Coburn64 said:
Ubuntu boots on the Droid? Interesting. Care to link me to that achievement?
Click to expand...
Click to collapse
There is a Youtube clip:
There is a chroot method to install Debian LXDE on the Milestone here:
http://www.android-hilfe.de/anleitu...debian-chroot-mit-lxde-auf-dem-milestone.html

I've not tried it yet, but did not see something wrong for the Milestone. Look at this tuto.

geekygrl said:
...
There is a chroot method to install Debian LXDE on the Milestone here:
http://www.android-hilfe.de/anleitu...debian-chroot-mit-lxde-auf-dem-milestone.html
Click to expand...
Click to collapse
Hi!!
I Actually run Debian on my Milestone thanks to tuto above. But I want Ubuntu. Somebody knows ubuntu arm repositories urls in order to create a .img file like the tuto said?.
Thanks!!

Why not run Ubuntu x86 inside a QEMU version for Android?

I realize this is a necropost, but I think it makes more sense than starting a new topic.
Neither of the suggested tutorials help because the Milestone kernel doesn't support loop devices. Is there another way to get Ubuntu running?

You need ROM with kernel with support loop devices. Older versions of MIUI (2.1.20 for example) support that. Try to find Ubuntu installer in Android Mrket / Play Store

I don't think any version of MIUI (or any other ROM) would have support for loop devices considering the fact that the Milestone's kernel cannot be swapped. Thanks for the reply though.

Related

[Q] Installing Linux on Android

I have installed Ubuntu on my android phone by following the nexusonehacks.net guide. All is working well. The reason I am creating this thread is because in nexusonehacks.net guide he mentions that he got his ubuntu.img from some guys at the xda forums.
I am wanting to get an ARM img of mint linux (LXDE version) and while I have spent countless hours trying to figure out how to install mint linux with an ARM emulator it appears to be above my linux knowledge.
I know that mint linux is based on ubuntu and should have the latest linux kernel and therefor has ARM support built in already, so that is not a problem, no need to compile a kernel with support for ARM.
Basically I am just looking for someone who is running an ARM emulator or has an ARM based laptop to install mint linux (LXDE version) and do a disk dump of the HDD into an image file I can then use to replace the ubuntu.img file I am currently using on my phone.
If this would be a simple task for someone to do and upload the image, I would be most appreciative.
It would be best if I could have the dev who provided the original ubuntu.img file to nexusonehacks.net do the dd of mint linux as I am sure he knows all of the details of how to do a proper dd for use on an android phone. If anyone can point me in the direction of that particular dev, that would be great, thanks!
Buddy of mine was working on gentoo for his N900, which is an ARM proc. Ubuntu has an emulator for that, he said that it seems only ubuntu does, but you run a virtual machine with an ARM emulator. Thing is that I'm not sure if a standard ARM emulator would work too well, the chip on the N1 has some extra stuff on it apparently
It sounds to me complicated because Linux Mint is not distributed for ARM...
Take Debian
I know I did not helped, I just gived my advice on how to get Linux on Android phones: get debian which is available for tons of architectures, including ARM, natively.
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Getting debian and LXDE running on the N1 is pretty easy to do. There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
jairuncaloth said:
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Click to expand...
Click to collapse
I guess you were talking about Ubuntu, not Debian?
jairuncaloth said:
Getting debian and LXDE running on the N1 is pretty easy to do.
Click to expand...
Click to collapse
Very easy: Debian is available for ARM:
[alpha][amd64][arm][armel][hppa][i386][ia64][mips][mipsel][powerpc][sparc][s390][source][multi-arch]
jairuncaloth said:
There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
Click to expand...
Click to collapse
I would love to see that.
Well this pretty much answers my question. Thank you very much. At least I have ubuntu running on it, I will be happy with that.
Sent from my Incredible.

XBMC on WebTop

Now that we know that it is running custom version of ubuntu, anybody want try compiling and running xbmc on it ?
XBMC trunk already contains most of the patches for tegra 2 and more will applied soon according XBMC developer ( davilla ). We should be able to test it now ..
<davilla> ssh in, install build tools, git install xbmc trunk, build for tegra2 and see if it works
That would be AWESOME!! I myself was wondering about running XBMC on webtop.
I tried installing git, but apt-get threw a bunch of dependency errors. I tried "apt-get -f install" but it wanted to remove most of the installed packages because they were not needed.
Any updates ?
Instead of trying to install via git why not download the tar of it and extract it ...
Hey guys!
Any news about it?
I really would like to see XBMC on webtop´s atrix!
I found this for the bravehearts.
http://wiki.xbmc.org/index.php?title=HOW-
TO_install_XBMC_for_Linux_on_Ubuntu,_a_Step-by-Step_Guide
NOTE: I have not tried it. You are in the DEV section, any mod attempts that YOU make to YOUR phone are YOUR own responsibility.
It is not listed here .... https://launchpad.net/ubuntu/jaunty/armel?text=xbmc
So it probably has not been attempted.
I already did this steps but can´t work.
The XBMC is the most important thing to work for me on Atrix. I´ll wait for someone do that work,
brunnogama said:
I already did this steps but can´t work.
The XBMC is the most important thing to work for me on Atrix. I´ll wait for someone do that work,
Click to expand...
Click to collapse
I tried a couple of steps too, dependency hell. Not sure if it will be figured out in DEV section since it's more of an app thing.
I thought I saw a VM once that dev work could be done on. I'm on travel next week 10 hours of flight time plus sitting in Chicago for 3 hours both ways. Maybe I'll get motivated.
Oh man!
I hope you get motivated!
Really thanx!
You would need an x86 emulator or VM to run this I believe as it is only coded for x86. Running it through an emulator would be slow and unreliable or just plain broken most likely. Not to discourage anyone from trying.
XBMC Official Hardware Support List
Asking for a port of it would go in XBMC dev forums
the2dcour said:
You would need an x86 emulator or VM to run this I believe as it is only coded for x86. Running it through an emulator would be slow and unreliable or just plain broken most likely. Not to discourage anyone from trying.
XBMC Official Hardware Support List
Asking for a port of it would go in XBMC dev forums
Click to expand...
Click to collapse
Nope I've seen XBMC running on a beagleboard native, As well it ran very well. We have 2x the ram and 400mhz x2 more speed. So it should run.
I downloaded the XBMC through official site and one of the Readme file (README.armel) talks:
"
This is a port of XBMC for use on ARM Architecture.
As this is not an official version of XBMC, in-depth testing on various setups has not been done. USE WITH CAUTION!
For the purpose of this port, the following Hardware and Software was used.
Software: Scratchbox (cross-compiler) on a Linux (Ubuntu) machine.
Hardware: BeagleBoard (ARM Cortex-A8 with IMG POWERVR SGX).
The source code is based on XBMC for Linux - version 9.11 (Camelot)."
So, I think its possible to run on Atrix, correct? But I have to do a lot of hard things to try it and I´m not able to do it, but it´s a good news.
I think I'm getting lost here....
What is the intention for using XBMC within webtop? Streaming to or streaming from phone?
I've found these apps
https://market.android.com/details?id=com.plexapp.android
https://market.android.com/details?id=com.psa.android.media
http://code.google.com/p/android-xbmcremote/
Longterm features
Download media locally to device's SD card
Stream media to device
And here's the VM http://forum.xda-developers.com/showthread.php?t=992178
xPerfect virtual appliance - Android SDK r10 / NDK r5b - dev
dicksteele
I´ll try to explain (sorry, bad english)
I´ll conect my Atrix on dock HD and 2 hd extern (plugged on dock usb´s port).
So, trought the webtop, I open the XBMC and this show me the files (movies and tv series) on my HD´s.
XBMC has a nice e configurable interface.
I´ll look this apps!
Thanx!
Interesting......
I'd try it but going on travel tomorrow and I need my phone
http://www.debian-multimedia.org/dists/stable/main/binary-armel/package/xbmc.php
Hi man.
I´d tried it (the armel version) but appears a lot of dependecies and I could´t try to install it.
Here is xbmc dev forum with it but for tegra 2 reference board though:
http://forum.xbmc.org/showthread.php?t=71297&highlight=tegra
Is the Ubuntu running as a VM on Atrix4G ?
brunnogama said:
Hi man.
I´d tried it (the armel version) but appears a lot of dependecies and I could´t try to install it.
Click to expand...
Click to collapse
You need to use xbmc trunk which contains all the patches for tegra 2. Can you post what you have tried ? Any errors ?
GhostXtreme said:
Here is xbmc dev forum with it but for tegra 2 reference board though:
http://forum.xbmc.org/showthread.php?t=71297&highlight=tegra
Is the Ubuntu running as a VM on Atrix4G ?
Click to expand...
Click to collapse
I don't believe it's running as a VM, it's running as a full instance.
From what I can read on the XBMC threads there are some problems.
But I found a guide for the BeagleBoard that might help people get going, dont think it will run out-of-the-box with this guide.
http://elinux.org/BeagleBoard/GSoC/2010_Projects/XBMC

MetaSploit on Galaxy Tab

Since we have the ability to install the full ARM-based distribution of Ubuntu Linux (in a "chroot", similar concept to a Virtual Machine), I think we may have the ability to install MetaSploit on the Galaxy Tab.
Can anyone provide any pointers on how to get started with this kind of effort? The instructions to install full Ubuntu Linux in a chroot are at http://forum.xda-developers.com/showthread.php?t=836022&page=4
From within this Ubuntu Linux environment we can "apt-get install" just about anything from the ARM-architecture based Ubuntu Linux repositories using the Terminal Emulator. This means we could probably "apt-get install" most of the MetaSploit components, if they are available in ARM-architecture form.
Any thoughts on this are much welcomed. Thank you.
This should be no problem, it has been done on other devices, for pieces that are not already in package form you'll have to find and compile source....a good hint for the packages you'll want to look for a guide on how to install it on a Nokia N900
What has this got to do with Android development??
This should be in Genera section.
hey dude, i've been looking to port this for awhile without success, i can't understand how the guys at rapid7 did the port for IOS and not for Android... I've read that the key is to get ruby working on Android so far there is jruby i believe that isn't fully functional yet...
I heart your name atheist
Sent from my SCH-I800 using XDA App
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Update:
I got MetaSploit working on the Tab! I needed to follow the instructions mostly from http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
I did have to install ruby ("apt-get install ruby" at the command line) and Ruby Gems (search for the exact apt-get name) inside the chroot'd Ubuntu environment though.
I was able to enlarge the 2 GB Ubuntu image to almost 4 GB using the instructions posted on the blog shown above which provided plenty of space to install MetaSploit and other InfoSec tools.
The next goal is to get BackTrack 5 (ARM) running.
http://www.androidng.com/install-backtrack-5-linux-on-android-phone
Any input is welcome.
mail_e60 said:
I found a link to an article which seems to explain how to do this...
http://r00tsec.blogspot.com/2011/05/metasploit-on-android-htc-desire-hd.html
We should try this on the Tab.
Click to expand...
Click to collapse

[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Hi,
I have just bought a new Xperia Pro and Here is My first Contribution.Hope you guys like it.
I have tested it personally on the Unoffical MIUI port for PRO.But it should work on other Kernels and Xperia Devices as well.
I am posting a few Screens for you guys and as you can see lxde is already pre-installed for you guys.
Feel Free to comment
Disclaimer:-
I am Not responsible if anything Happens to your Phone.You do it at your own Risk and Responsibilty,
If you Screw Up then dont Blame Me.
I am not responsible for Anything.
What is chroot?
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.
Things required:-
1)Terminal
2)Root
3)Sdcard with atleast 2GB of free space
4)A Brain
Please Consider Donating to add to my late night coffee and Books Fund.
Link:-
https://www.dropbox.com/s/4k1f5l9jxy2nr9n/debian.7z
Mirror:-
http://www.4shared.com/archive/uNEXsuNS/debian.html?refurl=d1url
Note:
Please read the ReadMe.txt file attached to this post first for instructions.
A special request to all those who are donatinglease send me a P.M so that i know who you guys are.
Donators:-
None So Far
Thank you.
Posting Ubuntu over Here
Remember to Read the Read Me File First.
Link:-
https://www.dropbox.com/s/z7ekya7u7zo19p8/ubuntu.7z
Mirror:
http://www.4shared.com/archive/Qv0u_lWN/ubuntu.html
Mirror:
http://min.us/mZVpflpS5
Posting Back Track 5 Linux
Remember to Read the Read Me
Back Track linux Temp mirror(From My O2x Thread)
https://www.dropbox.com/s/ccf7lhfazl7li7u/btl.7z
Mirror:-
http://www.4shared.com/archive/EoGkvPD9/btl.html?refurl=d1url
NOTElease Download the file btl attached to this post and extract it on your computer and copy the btl file within and paste it in the btl directory downloaded from the above hosts replacing the old one.Now the chroot should run.
added a new Script and deleted the old one.Please use that now.I tested it personally on Stock and it is working perfectly.
As soon as it boots it asks if you wanna start VNC server?Press N and then follow the readme file.
Incase of any probs please let me know
and another
One More
Final Reserve
Nice Run..! First..
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
xperiap said:
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
Click to expand...
Click to collapse
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Riyal said:
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Click to expand...
Click to collapse
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
manasgirdhar said:
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
Click to expand...
Click to collapse
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Riyal said:
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Click to expand...
Click to collapse
Already Did.Will upload it sometime Later today or tomorrow.
Debian and Ubuntu both have lxde pre-installed.
Edit:-BT5 UP.
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Riyal said:
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Click to expand...
Click to collapse
THANKS for the link...Meego wont chroot..tried it on the optimus a few months ago and failed..problem with zephyr..will give it a go later.fedora I had as well..but the thing is ...Does anyone except me even use these here????
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
In theory yes its possible.but changes will have to be made to the arm kernel to chroot.when u type uname in terminal the output inside the chroot is different than the android kernel.but I think native booting will be better than chrooting..not being interested is just odd....its so much fun having linux on the go
manasgirdhar said:
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Click to expand...
Click to collapse
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
ameer1234567890 said:
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
Click to expand...
Click to collapse
Thanks for the advice.added to first post...not good with explanations
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
Actually I know I am going to say something Off-Topic
1) People on XDA are now the people who have got a smartphone just because they can afford one and wanna make their phone look "kewl" than the others with the same device
2) People do dumb things like cross flashing kernels.. They dont even read carefully what the OP says..
3) Running linux on a phone would be the best thing.. specially on an xperia pro where you get a harware keyboard..
I would like all noobs to see this - http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
and this - http://forum.xda-developers.com/showpost.php?p=15826094&postcount=45

Ubuntu Touch?

Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
If you flash it, do share the results here.
n00bDroid said:
Would the 7 plus survive an attempt to flash ubuntu touch gsi rom, or must the kernel be adapted? In general I think the latter, but having my fingers crossed..
Click to expand...
Click to collapse
Is Ubuntu touch the same as Ubuntu for PC?
2gg1 said:
Is Ubuntu touch the same as Ubuntu for PC?
Click to expand...
Click to collapse
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
n00bDroid said:
Yes, more or less. It's an os made out of ubuntu solely for mobile devices. But unfortunately there are few supported devices. I'm hoping the gsi rom will be a gamechanger for UT.
https://devices.ubuntu-touch.io/
https://www.xda-developers.com/ubpo...-any-project-treble-supported-android-device/
"This part is a little bit complicated, as there is no way to patch the existing boot image of your Android device on-the-fly as of yet. You can either build halium-boot from source or compile a standalone modified version of your stock kernel by manually applying the appropriate patches on top of the kernel source."
https://forum.xda-developers.com/pr...development/gsi-ubuntu-touch-ubports-t4110581
Click to expand...
Click to collapse
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
2gg1 said:
I really don't know much about it but there are methods with using termux to get Ubuntu. Look on yt
Click to expand...
Click to collapse
I had a look. It seems to be a virtual Linux running on the phone, that you can view from your android phone using vnc. Need to have a keyboard and prefferably a mouse. Also, not a Linux Phone, but Linux on a phone. But it's cool that it's doable

Categories

Resources