Ubuntu linux on atrix 4g (mb860/olympus) - Atrix 4G Android Development

Hi want backtrack on your mb860
http://stuffresearch.tor.hu/?p=245 this guide will work. And uses the official arm img. You will end up with a chroot ubuntu. Which basically means they "share" root.
If you need help ill help. After you got it all working i recommend running an ssh server on android so you can ssh into your android from ubuntu.

leathan said:
Hi want backtrack on your mb860
http://stuffresearch.tor.hu/?p=245
If you need help ill help. After you got it all working i recommend running an ssh server on android so you can ssh into your android from ubuntu.
Click to expand...
Click to collapse
(obviously you dont need internet to run the ssh server)
The guide might be hard. But i can break it down to even a 5 year old. So post if u think its too hard. Running backtrack n my tiny phone and booting up etherape and watching my android connections is just plain fun! And i want you guys to get it too!
You do not need linux to do this... but for obvious reasons use linux.
I wrote all my scripts but they are just optimized and expanded from whats in the link.

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

ubuntu installed on rom sgs

Is there somebody that could post a rom with ubuntu already installed on it?
I tried verry hard but i keep getting a grey screen?
I have the latest darky rom and speedmod kernel.
http://www.youtube.com/watch?v=cWLOqVdtbkw&feature=related
It's not Ubuntu on Android neither a Rom, it's a VNC remote connection to an Ubuntu PC.
flexoduss said:
Is there somebody that could post a rom with ubuntu already installed on it?
I tried verry hard but i keep getting a grey screen?
I have the latest darky rom and speedmod kernel.
http://www.youtube.com/watch?v=cWLOqVdtbkw&feature=related
Click to expand...
Click to collapse
ttf said:
It's not Ubuntu on Android neither a Rom, it's a VNC remote connection to an Ubuntu PC.
Click to expand...
Click to collapse
I'm sorry but I guess ubuntu is indeed running on the SGS.
See that it connects to localhost, and not some other IP address. Unless he has somehow modified android's hosts file, if there is any, and in which case I guess would break android itself.
tfvaldo said:
I'm sorry but I guess ubuntu is indeed running on the SGS.
See that it connects to localhost, and not some other IP address. Unless he has somehow modified android's hosts file, if there is any, and in which case I guess would break android itself.
Click to expand...
Click to collapse
Humm my bad, you right, interesting, have not spotted the localhost part.
Look like he used a Chrooted environment to perfom that, will investigate more =).
So, appologize to the OP.
EDIT:
Ok after searching a little here what you need to perform it (not tested yet, but ASAP)
Here the Unbuntu arm image : http://www.megaupload.com/?d=YKUX4Q89 326.48Mb file
And
Here the howto: http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
EDIT 2:
Ok sweet got it working, following that howto:
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
Pretty nice btw!.
I will try soon with backtrack =D
Another how to..
http://forum.xda-developers.com/showthread.php?t=962023
Thanx a lot dudes

can i install Ubuntu and run it on my windows desktop??

i wanted to kno if i could run ubuntu on my windows pc?? i dont need to use it rite now but i would like to learn how to use it in case i ever need it... thanks
evo401 said:
i wanted to kno if i could run ubuntu on my windows pc?? i dont need to use it rite now but i would like to learn how to use it in case i ever need it... thanks
Click to expand...
Click to collapse
Yes you can you can either dual boot windows and linux or run it in a virtual machine or you can use a special installer that essentially allows you to install linux like any other windows application and uninstall it when you want to get rid of it.
I assume you want to get into android development maybe compile android from source. I'd recommend ubuntu and until the kinks are worked out I'd go with ubuntu 11.10 which you can get here:
http://releases.ubuntu.com/11.10/
Information on dual booting windows and linux:
http://www.linuxbsdos.com/2011/10/27/dual-boot-ubuntu-11-10-windows-7-on-a-pc-with-2-hard-drives/2/
https://help.ubuntu.com/community/WindowsDualBoot
Running linux in a virtual machine:
https://www.virtualbox.org
Install linux using special installer (wubi):
http://releases.ubuntu.com/11.10/wubi.exe
Hope this helps you if you need any help feel free to ask or if you want some guides on developing android on linux (compiling from source, kernels, etc.) I can help with that to
Sent from my SCH-I535 using xda premium
sweet!!!! good looking out bro!! just what i was looking for :good:
evo401 said:
sweet!!!! good looking out bro!! just what i was looking for :good:
Click to expand...
Click to collapse
Always glad to help let me know like I said if you want some guides on compiling linux on android and suff like that ... oh what the heck here are some guides:
Official Google guide to building Android from source on Linux
Official Google guide to building Android Kernel from source on Linux
Build Cyanogenmod from Source
How to use Github for Android Development
Basic commands for Linux and Android
Moved to Off-topic.
The easiest way to install Ubuntu is to use Wubi. It lets you install Ubuntu like a regular application in Windows.
- Download Wubi
- Choose Ubuntu in the list
- Click install
- It'll download and install Ubuntu for you
- Reboot and choose Ubuntu at boot
- You're done.
If you want to remove Ubuntu from your computer, you simply boot into Windows and uninstall it like a regular application If you decide to permanently keep it i recommend you install it by itself on a separate partition. That way it'll run better. But if you just plan to try it and you're not planning on running some heavy stuff (games etc.), then Wubi will do it just fine.

[QPAIR/LOA] - LinuxonAndroid GPad support

This will be used to detail how to get LinuxonAndroid running on the GPad and the process of QPair support to bring new and interesting features to the project as a whole.
Step 1 - Install Linux on the tablet
We shall start by using the standard Complete Linux Installer to install and run Linux with the GUI pumped over VNC (Frame buffer method coming soon!), this method works on most devices and is the most universal but as the project develops in the coming weeks a better method for the GPad will be developed.
Anyway on with installing!
Root
First things first you will need to root your tablet, currently my tablet is running Stock V50020d with root.
The below will most likely work on other ROMs as long as you have root it should work!
(A custom ROM may be developed for further features.. watch this space)
Download
Now we have root you will need to download the below:
Complete Linux Installer
Terminal Emulator
VNC View (I recommend PocketCloud)
Finally download A Linux .img file from our source forge site HERE, I recommend and will be using Ubuntu 13.10 Small ext4. Once downloaded extract the .zip file and copy the .img to your devices memory (internal memory or sdcard).
XDA:DevDB Information
LinuxonAndroid - GPad, Device Specific App for the LG G Pad 8.3
Contributors
zacthespack
Version Information
Status: Testing
Created 2014-11-01
Last Updated 2014-11-12
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
yoavst said:
Let me understand, you want to port QPair to linux that will run on the G pad?
Disclaimer: I'm also in the challange but the idea of running linux on the tablet is really interesting.
Click to expand...
Click to collapse
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
SferaDev said:
I guess @zacthespack wants to use linuxonandroid on tab and sync stuff with a third party such as keyboard, etc using QPair.
Another Disclaimer here Good luck to everyone!
Click to expand...
Click to collapse
Bingo!
With linuxonandroid running on the tablet we could then use QPair to allow the user to have a phone (or another tablet..?) as the mouse/keyboard for Linux
posted first steps in OP to start getting LoA running on the tablet.
Everything is running very well, I shall finish the guide shortly to get LoA running but really the app install guide will work perfectly.
Next step I will be releasing a special Ubuntu 14.10 image which will be the supported image for QPair features and other changes for the GPad.
it say I need a loopable kernel which I didn't find for stock LG rom...
yoavst said:
it say I need a loopable kernel which I didn't find for stock LG rom...
Click to expand...
Click to collapse
Stock LG kernel does have loop support so you should have no issue here, if you are having another issue getting linux to start let me know, shall be updated the OP in the next few days
As you know voting is now live so please do vote for the project!
http://forum.xda-developers.com/dev...-voting/xda-lg-contest-voting-thread-t2978598
Howdy, cool project. Couple of questions. I'm looking for a reason to install Linux on my tablet, but also understand that I can remotely view my home system with vnc. So what would be the benefit?
Is there more control using Linux to Linux?
Does this mean I could open into my home system, make changes to my kernel, compile, and upload to a server from my tablet?? Late night insomnia while in the mountains would be awesome. I would have to tether my tablet to my phone for WiFi, and run through Linux? This sounds pretty awesome.
Tell me the reasons it won't work.
Pretty awesome OP. Thanks!
Cant log in ubuntu
Can somebody tell me why im not able to boot?im running lollipop with red kernel and before i was running kitkat and still the same.Im my g2 there is no problem but on tab doesn work.I download complete linux installer,busybox,terminal and vnc and i never get the @root.i trh also a differend image but nothing.Any help will be appreciate

Categories

Resources