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
Related
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.
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
Please note that this is a guide to how to setup an environment to create your own ROM, and to build a test AOSP ICS Rom that will work on an emulator. While it is possible to do all this in 32-bit Win 7, you will find it much (!) easier in 64-bit Win 7. The intention is to allow all the folks who have said they'd like to work on a ROM to get their feet wet. If you complete all the steps in this guide you will have a Vanilla ICS Rom that works in the Android Emulator. You would still need to modify the kernel for the Tegra and add the special radio and other drivers before porting to the Streak.
Of course you can skip step 4 if you are willing to either dual-boot Ubuntu, or go into Ubuntu full time. However I figure a lot of folks on here are still on Windows for one reason or another.
1) Make sure that the ROM for your Windows 7 computer is set to allow Virtualization. If you have a Core i7 this will be the default. Otherwise you will need to make sure to set it manually through the Setup that should come up before BOOT.
2) Download VirtualBox 4.1.8
DL Link here for VB:
http://download.virtualbox.org/virtualbox/4.1.8/VirtualBox-4.1.8-75467-Win.exe
DL Link here for VB Extensions (necessary for USB, shared folders, etc):
http://download.virtualbox.org/virt...alBox_Extension_Pack-4.1.8-75467.vbox-extpack
3) Download Ubuntu 11.04 64-bit
DL Link here:
http://www.ubuntu.com/download/ubuntu/download
Make sure (!) to select the 64-bit version before clicking download
4) Install VirtualBox and Ubuntu:
Install and Setup Guide:
http://www.sevenforums.com/tutorial...ndows-7-virtual-machine-using-virtualbox.html
(Note that some of the images from this guide are from an earlier version of Ubuntu)
I personally recommend that as long as you have at least a Quad Core that you give your VB machine Two Cores and Two Gigs of RAM. For the HD size of your Virtual HD remember that the Android Source Code is almost 16 Gigs. For speed and other purposes I suggest creating a fixed size 80 Gig (or larger) Virtual HD. While this can be on an external drive, if you have room on an internal drive that will also improve performance.
5) Install the Toolchain (Android Build Environment):
http://mjanja.co.ke/2011/11/building-android-4-0-on-ubuntu-11-10/
The first three steps will take between 1-2 hours. Step 4 will take an hour or so as well. Step 5 takes multiple hours due to the size of the Android repo source library. Plan accordingly
Hope this helps!
Looks good, but its way easier to use a direct Ubuntu installation, dude.
So far as i can see, you can use the sdk on 32-bit, too.
Mind everyone he said this was for AN EMULATOR
giveen said:
Mind everyone he said this was for AN EMULATOR
Click to expand...
Click to collapse
And that it still requires tuning for the Tegra chip and the custom radios. This is not a new ROM, rather it is what you would need to do to setup an environment to create a ROM.Just saw so many folks saying they would like to help, that it seemed to make sense to show them how to get started. If anyone has gone through this and is ready to take that next step, this would be a good place to let folks know.
exebreez said:
Looks good, but its way easier to use a direct Ubuntu installation, dude.
So far as i can see, you can use the sdk on 32-bit, too.
Click to expand...
Click to collapse
Support on 32-bit is "experimental" according to Google. As for a direct install, that'sonly true if you are ready to convert to Linux or dual boot. On a fast machine having the VM is actually pretty quick, and allows you to mess up without impacting everything else.
It's a tuto to creat a ROM for a smartphone or a computer?
Samoht59 said:
It's a tuto to creat a ROM for a smartphone or a computer?
Click to expand...
Click to collapse
This is more of a guide on how to build an environment were you can begin to build android.
How to Compile Skia Rendering Engine to a rom. (for Indic Support)
rahulsby said:
How to Compile Skia Rendering Engine to a rom. (for Indic Support)
Click to expand...
Click to collapse
Missing a link?
Hi guys,
If you're, like me, greatly excited to get Ubuntu Touch onto your phone, and/or tablet, here is a guide to port it!
It helps you get started on a port:
https://wiki.ubuntu.com/Touch/Porting
Also:
This is not a thread for eta:s for your device port. Nor is it a thread to ask for a port. Both of which you'll have to go to each device's own forum.
This is a thread for discuss ports, get help on them and to share experiences.
For Ubuntu Touch specific questions, see other threads.
FAQ:
Can you port device X?; Ask in your device X's forum. Or even better, try it yourself! It's not that hard, actually. See link above.
Does Ubuntu Touch run Android Apps?; No.
Will it?; Maybe. If anyone cares to actually make it work.
Do I need to have X; run Y; or do Z?; Check the Port guide! https://wiki.ubuntu.com/Touch/Porting
Sent from my GT-I9300 using xda app-developers app
Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.
Sv: Port Ubuntu Touch
Markk29 said:
Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.
Click to expand...
Click to collapse
Well, it is a dev release for developers and Ubuntu enthusiasts, so they probably already run Ubuntu. And if not, it's a 20 min install.
And porting it is still a large project by itself, so it'll go nicely hand in hand until the stable release of Touch, I think.
Sent from my Transformer using xda app-developers app
coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj
Kalashnikitty said:
coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj
Click to expand...
Click to collapse
is that S3 , in the pic if i am not wrong?
Porting posted:
https://wiki.ubuntu.com/Touch/Porting
S3 already has it: http://www.omgubuntu.co.uk/2013/02/ubuntu-phone-up-running-on-samsung-galaxy-s3
Just been reading through the process and if seems relatively straightforward to port so I can't wait to see what comes out of this
can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?
termagazis said:
can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?
Click to expand...
Click to collapse
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Actually pending when canonical gets to compile drivers for particular phones which incidentally is probably going to be for only their oem devices, they use the cm base.
Essentially just the drivers and hal layer.
Its not based on CM. It takes advantage of CM base. Its direct ubuntu.
And from what iv seen you can forget about lag. The alpha is awesome compared with android alphas
Sent from my GT-N7000 using xda premium
edy_3dz said:
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General
Click to expand...
Click to collapse
yes i have read this but my english isnt perfect so i maybe didnt understant something.so because ubuntu and android are based in Linux kernel,they taking some stuff "ready" for more easyness.something like that?
Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).
blackout23 said:
Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).
Click to expand...
Click to collapse
thats what i mean.so they took the allready existing stuff from cm10.1 because it will work with ubuntu (or with some small changes) because both OS are based on Linux kernel.i understand right?
fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"
TingTingin said:
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"
Click to expand...
Click to collapse
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel. Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.
BukaKing said:
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel.
Click to expand...
Click to collapse
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.
Click to expand...
Click to collapse
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"
TingTingin said:
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"
Click to expand...
Click to collapse
You didn't say android was a Linux distro but he did, I was just adding to the conversation.
I think I may understand what you're thinking though. Mac and Windows are not open source and you cant build your own version, so they are not as comparable in that sense, they are binary distributions. But you can build your own Linux configured the way you want outside of any distro, a distro is just a packaged version of Linux with additional packages and configurations.
Had angie tried to pull the source code? It's ridiculously slow on my end. About 15gb at 9 to 152kbs... I guess every dev in the world is trying to pull it...Lol...too bad there's no way to speed it up
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Actually, Linux is a clone of the UNIX kernel. Ubuntu is an operating system (or Linux distribution) with a Linux kernel. Android could be considered a Linux distribution as well, even though it's mostly Java stacks on top of a Linux kernel.
Sent from my Galaxy Nexus using Tapatalk 2
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