Related
First off, thanks to msullivan for providing the BackTrack 5.0 image!
I've made this as easy as possible. Not for novice users.
I chose backtrack as the image (instead of ubuntu) because i LOVE backtrack. I've used it as my main on-the-go linux for a while. Mainly because I hack all the wifi I'm around so i have a constant NET connection
This script requires ADB installed and ROOT!
Required Apps
Busybox - Download and install busybox
Terminal Emulator
Any VNC Client that supports LINUX
Installation
Download the image and attached scripts (BT5_Install.zip)
http://www.ulozto.net/xfHz8JJ/primelinuxbacktrack5-zip
Rename the image to BT5.zip and copy to /sdcard/ - I would copy in the script, but ADB is WAAAY slow.
Unzip BT5_Install.zip into your ADB folder - Or anywhere if you have ADB set with environmental variables
Make sure device connected and responds to adb (adb devices)
run install.bat
This will push the proper scripts, open the image up for use and run necessary scripts
This process does take time. No longer than 10 minutes. Script will notify when complete.
---Linux is now installed!---
Open terminal emulator and type: (do this any time you want to start your linux if you have shut it down or the TFP has restarted)
su
cd /sdcard/bt5
sh bt
Type Y at the prompt
VNC into 127.0.0.1:5901 with password 'root' with any VNC program you like
PROFIT
Change Resolution!!
Open terminal in Linux
Type pico /usr/bin/startvnc
Xhange resolution to 1280x800
Type ctrl x
Yes
restart TFP
Look absolutely AMAZING now
Notes:
If the bt5 folder on /sdcard/ is ever deleted, you will lose your linux and need to re-install!
This has been tested and confirmed by me!
Can you tell I like formatting?? hahaha
Need help with ADB? Click HERE for my guide!
Im using POCKETCLOUD in Windows mode (it connect to linux as well!)
The GUIDE is not finite. Please post anything you feel should be added/corrected to the guide.
Thanks and 5 star would make me feel good inside too!
Yes!!!!I was wondering when we would see this for the TP. I wonder how long it will be till somone asks about monitor mode and packet injection. Let me go ahead and announce it... AIRCRACK WILL NOT WORK!!! Had to do it.. every backtrack thread on this forums is full of kids saying "I can hax0rz wifi?"
Sent from my SAMSUNG-SGH-I727
lol, i know, i wish.. it would only work if we could dual boot. that way, we could potentially have wifi aircrack support and all that!
Agreed.. but chroot is better than nothing I guess. You may want to try the "orbot" app along with backtrack. Its great for using the tor network while using bt.
biggem001 said:
lol, i know, i wish.. it would only work if we could dual boot. that way, we could potentially have wifi aircrack support and all that!
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I727 using XDA App
anyone tried interfacing with any wifi adapters yet with either the dock or a USB ATP to USB adapter? it'd be pretty awesome to get monitor mode on this thing...
Inevitble question. What happesn when we get ICS? Will we just have to reroot?
What's the difference in BT5 and the HD2 image I downloaded from the HD2 forums? Are they different versions of Ubuntu?
Oh yeah, and THANKS a ton for the install guide!
adampdx said:
Inevitble question. What happesn when we get ICS? Will we just have to reroot?
Click to expand...
Click to collapse
theoretically, yes!
tbns said:
What's the difference in BT5 and the HD2 image I downloaded from the HD2 forums? Are they different versions of Ubuntu?
Oh yeah, and THANKS a ton for the install guide!
Click to expand...
Click to collapse
the BT5 image is different than any other linux image. there are several floating (mainly ubuntu). my scripts are only setup for bt5.
if i find a ubuntu image i like, i'll make one for that too
biggem001 said:
the BT5 image is different than any other linux image. there are several floating (mainly ubuntu). my scripts are only setup for bt5.
if i find a ubuntu image i like, i'll make one for that too
Click to expand...
Click to collapse
Ahh, gotcha. I didn't realize this was a different flavor of linux, not a different version of Ubuntu (guess I should have read the thread title). Cool, going to give it a shot.
Thanks for this. I was looking to put some form of Linux on my tp lol. Just have to wait until I get an sd card now.
it doesn't have to be on your sdcard
sdcard means internal memory
there is a removable category for a removabl sdcard.
just transfer the zip to your normal memory root directory
biggem001 said:
theoretically, yes!
Click to expand...
Click to collapse
Oh, that's just the cat's pajamas. Awesome!
tbns said:
Ahh, gotcha. I didn't realize this was a different flavor of linux, not a different version of Ubuntu (guess I should have read the thread title). Cool, going to give it a shot.
Click to expand...
Click to collapse
Yea, bt5 is the security and exploitation flavor of Linux, ubuntu is more of the general purpose version
Sent from my Transformer Prime TF201 using Tapatalk
foboi1122 said:
Yea, bt5 is the security and exploitation flavor of Linux, ubuntu is more of the general purpose version
Sent from my Transformer Prime TF201 using Tapatalk
Click to expand...
Click to collapse
bt5 is ubuntu 11.04 with the penetration app suite and a different wallpaper... lol
Can someone try out LibreOffice and report back how smoothly it does/doesn't run? Will definitely root if LibreOffice runs well. Thanks!
biggem001 said:
it doesn't have to be on your sdcard
sdcard means internal memory
there is a removable category for a removabl sdcard.
just transfer the zip to your normal memory root directory
Click to expand...
Click to collapse
Yeah but I just prefer it on my sd. Personal thing.
Sent from my Transformer Prime TF201 using xda premium
to change resolution in BT5.. in linux
open terminal
type pico /usr/bin/startvnc
change resolution to 1280x800
ctrl x
yes
restart TFP
look absolutely AMAZING now
How does it run on the TFP ? is it responsive etc?
Can it be used as an everyday function? i'm really interested in this, and cant wait to get start messing about with it.
I've got BT5.zip on my sdcard directory, but I keep getting this error when I use the './install.bat' command:
OFF
Installing BackTrack 5 for ARM Devices.
./install.bat: line 3: syntax error near unexpected token `('
./install.bat: line 3: `ECHO Make sure BT5.zip is in your /sdcard/ folder (/sdcard/BT5.zip) NO' removable SD, internal.
Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
I thought you said you were a dev over in the Epic sub forums. If you were a dev, Linux and bootloader installs should be second nature.
Sent from my SPH-D700 using Tapatalk 2
You can use the wubi installer that should be on the ubuntu DVD ISO that you downloaded.
DroidModder said:
Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
Click to expand...
Click to collapse
The Ubuntu installer should handle all that. Since you already have windows you just need to shrink the windows partition to make room for Ubuntu and install Ubuntu to the free space. Once installed Ubuntu uses the grub bootloader which will give you the option of which system to boot into everytime you start up the computer.
As far as commands and installing stuff goes you may as well start reading up on it. You'll need to know how to use the Terminal to develop in Linux. Its not complicated once you learn common commands, etc. Also, I recommend using Gnome classic or kde as your desktop environment if you want something that looks similar to Windows. I'm a KDE person myself.
Sent from my SAMSUNG-SGH-I777 using XDA
1º Windows
2º Ubuntu!
I'm building on12.04 with zero problems...just my $0.02. And like the other's said just install Ubuntu takes care of all that stuff.
Oh and ALWAYS create a backup before you start installing new OS's!
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
DroidModder said:
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
Click to expand...
Click to collapse
When I get on a computer I'll write up how I got my laptop to dual boot Windows and Ubuntu. I've actually got it triple booting Mac OSX as well.
私のEVO 3Dから送信される。
to setup a dual boot system, u only need a free partition to install linux. a very basic linux installation u have to create root partition and swap partition. u can find installation guide online, its not that hard to setup a dual boot between linux and windows.
Okay cool. Because id like to get into Rom development,etc so I need Ubuntu or Mac OS X. Not too sure which ones better though. I assume Ubuntu is because its Linux and that's Android runs on
Droid Syndicate
Leader/Founder
Hi, I have made a Multiboot USB-stick witch contains Win 7 install, Ubuntu Live, Hiren's and many other distros. But is it possible to some how move the files from the external SD-card on my android phone and make the computers boot directly from the phone?
Can you in that case force the phone to use the right usb-mode so that the computer recognizes it as a ordinary bootable USB-stick?
I saw some old post from 2009 where some user managed to get a computer too boot BCD from the phone. But the catch was that he had to click the "mount usb" on the phone directly after the PC started booting. And many computers may have passed the booting point before the USB-mode had finished mounting.
I tried booting Damn Small Linux from my Supersonic earlier with no luck. Android requires certain drivers to mount and the BIOS typically has the bare minimum to boot from USB, DVD, and HDD.
Sent from my PC36100
I'm sorry if this isn't what you are looking for as I don't have an answer to your specific question. But if you're just looking for a way to boot other OS's check out this thread:
http://forum.xda-developers.com/showthread.php?t=1459153
Sent from my MB870 using Tapatalk 2
csking33 said:
I'm sorry if this isn't what you are looking for as I don't have an answer to your specific question. But if you're just looking for a way to boot other OS's check out this thread:
http://forum.xda-developers.com/showthread.php?t=1459153
Sent from my MB870 using Tapatalk 2
Click to expand...
Click to collapse
Well no, I want my android phone to behave as a bootable USB-stick when connected to a computer that is rebooting.
burton6666 said:
Well no, I want my android phone to behave as a bootable USB-stick when connected to a computer that is rebooting.
Click to expand...
Click to collapse
Keep trying man, ure near there.. try multi sd.
burton6666 said:
Well no, I want my android phone to behave as a bootable USB-stick when connected to a computer that is rebooting.
Click to expand...
Click to collapse
Ah I'm sorry. Needed to sleep some more.. it sounds like that would be difficult to do though. You would need the phone to be mounted as USB before the computer even started booting. That's way beyond me though, good luck.
Sent from my MB870 using Tapatalk 2
It seems feasible. Never tried it..
But, i would start by looking for an app called unetbootin. Its a free app that allows you to build a bootable flash drive. I've used is several times with actual flash drives. As long as your device is setup to allow the pc to mount it as a disk, in theory it should work.
As far as android accessing the disk after its been formatted, i have no idea.
I boot in with dual sd and yumi. But I think my boot file configuration is wrong or what..cus I'm trying to boot spotmau 2011. Which is unlisted iso. Anyone can provide a small bootable file so I can try boot it..
Sent from my GT-I9100 using xda premium
csking33 said:
Ah I'm sorry. Needed to sleep some more.. it sounds like that would be difficult to do though. You would need the phone to be mounted as USB before the computer even started booting. That's way beyond me though, good luck.
Sent from my MB870 using Tapatalk 2
Click to expand...
Click to collapse
Mount USB via cwm, simple.
Sent from a sexy turtle.
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
back to win from osx, and I have a quick question
Are there drivers I need to install on my win 7sp1 machine, so that when I plug my phone into my computer, my phone will show up as a device, and allow me to browse the files on my internal and external cards?
On my osx, I never had to install drivers, and, if memory serves me correct, there are drivers you need on a win 7 machine, in order to browse the phone, and to transfer stuff via USB..
thanks, and let the ball busting begin!
Yes there are USB drivers for windows 7. They can be downloaded from the stickied thread on rooting. Unix and Linux require very few if any third party drivers. Just one more aspect of Unix that Apple takes credit for.
Sent from my SAMSUNG-SGH-I717 using xda premium
jpoirier587 said:
Yes there are USB drivers for windows 7. They can be downloaded from the stickied thread on rooting. Unix and Linux require very few if any third party drivers. Just one more aspect of Unix that Apple takes credit for.
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
thanks man, I will search for a noob thread, and install it!
No problem
Sent from my SAMSUNG-SGH-I717 using xda premium
jpoirier587 said:
No problem
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
one question; do you have to be on a touchwiz rom for the mtp driver to initialize?
I downloaded a driver, installed it, and it didnt find the device properly; I tried a different cable, it found the device, started to auto download a driver, started to install it, then got the red X, saying MTP driver did not initialize..
I am using an AOSP rom, and I dont think MTP is included in them...
thanks again!
For stock Touch Wiz you DON'T need to install any drivers yourself on windows 7 for the MTP to function. Those drivers are built in to windows 7 and will install when you plug your phone in and you have it set to function as an MTP device. I would bet that vista and XP are the same. Now drivers are needed for other functions but not for the transferring of files by USB.
If you are having issues then either your drivers on your pc are corrupt or your ROM does not support MTP the way that the stock ROM does.
Thanks; turns out all I had to do was download Samsung Kies, and that installed what it needed to make it work perfectly!
So since beaups has announced that s-off for 2.06 will be for Linux only, a lot of people are preparing by either trying to set up a Linux partition or Live DVD/USB. I just thought I'd make a thread for general info and help getting it working properly. I'm not going to go super in-depth with this because there's a plethora of information online this is more just for some tips to get you started.
Disclaimer: Make sure your computer is backed up before doing this. You shouldn't run into any problems that will screw it up, but you never know what could happen. Better safe then sorry, right? If your computer explodes, it's not my fault.
Some general info about LInux
Essentially, Linux is just a kernel. Android is based off the Linux kernel, and your cable box, router, and most web servers probably are as well... And a lot of other things you might not think of.
Desktop Linux has what are called distrinutions. These are basically the equivalent of Android ROMs, just operating systems based on Linux. If you are just starting out, you probably want to use Ubuntu or Linux Mint as they are the most user-friendly.
Making the Live DVD/USB
-First you obviously need the iso. Here is a link to the Ubuntu download: http://www.ubuntu.com/download/desktop
-Unless you have a computer that doesn't support 64-bit, just get the 64-bit download. If you have a UEFI-based computer, you definitely want the 64-bit iso because it's UEFI native, which will make things easier, and you will also want to read this: https://help.ubuntu.com/community/UEFI
-If you're trying to boot the Live DVD on a Mac, you also want the 64-bit iso, and you need rEFIt: http://refit.sourceforge.net/
-If you just want to boot from the DVD, you can burn it with pretty much any DVD burning software. If you want to make a live USB, use unetbootin: http://unetbootin.sourceforge.net/ or Pendrive Linux: http://www.pendrivelinux.com/category/usb-creator/
Installation
-If you only plan on using Linux once to s-off your phone, you don't really need to do this, just use the Live DVD.
-If you haven't already, you probably want to hook up an ethernet cable to your computer in case the wireless drivers aren't available.
-If you actually want to install it on a PC, it's pretty straightforward, just use the "Install Ubuntu alongside Windows" option, unless you want to partition it manually with the "Something else" option (I won't go into that here).
-If you want to install it on a Mac, you will need rEFIt, which I already mentioned. You also need to add a fat32 partition to your drive that you will reformat to ext4 with the Ubuntu installer. Install rEFIt, reboot twice and then you should see the rEFIt boot menu where you can choose your live disc. One very important thing about this: If you are installing Linux to the same drive as an OS X installation, DO NOT choose the "install alongside" option. It will break your install. Use the "Something else" option. By default, Linux wants to install grub to the MBR, but you need to reformat your fat32 partition to ext4 instead and install it to that partition. Then you can just boot into it with rEFIt. The rest is pretty much the same as installing it on a PC.
Post-install
-At this point, it's going to want to install some updates and maybe some proprietary drivers it may need and that's it. Really all you need to do after this is install the android drivers. The easiest way is to use apt-get which is basically a package installer for everything in Ubuntu's software repos. Open up Terminal, and type in: sudo apt-get install android-tools-adb android-tools-fastboot. Hit enter, type in your password, then it will ask you to confirm and blah blah blah and then it will download and install it. That's really it. I don't know what else may be necessary at this point since the s-off tool hasn't been released yet.
Some other links that may be helpful:
-Dual-boot on PC: http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/
-Dual-boot on Mac: http://lifehacker.com/5934942/how-t...-and-take-back-your-powerhouse-apple-hardware
-Triple-boot on Hackintosh: http://lifehacker.com/5698205/how-to-triple-boot-your-hackintosh-with-windows-and-linux
-If you want to build a ROM from the source (Ubuntu 12.04): http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
-Linux forums, the folks here are very helpful: http://www.linuxforums.org/forum/
-Terminal basics: https://help.ubuntu.com/community/UsingTheTerminal
I hope this is helpful. If anyone has any suggestions to add to this post feel free.
EDIT: One more thing! If you are asking for help, please post what computer you are using, the specs, and whether it is BIOS-based or UEFI-based.
Nice write up thanks for sharing this will help a lot of folks
Sent from my Liquid Smooth Nexus 7
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
deathrow1992 said:
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
kern3l said:
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
Click to expand...
Click to collapse
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
I think he took it as "if its Linux only then the method sucks" while I can see that your just trying to say you wish it was on windows as well but whatever, it can be taken as as much more negative thing... Remember attacking back only causes more hostility let's all please get along.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
He never really said it's Linux only... Simply hinted it. For all we know he may be delaying to get a windows version working.
Sent from my HTC6435LVW using xda app-developers app
Ok so I am trying to dual boot windows 8 and linux mint 15. I have an ASUS X55C laptop that cane preloaded with Windows 8. I made a liveusb that works great but now is like to dual boot. After i install linux mint I restart and choose to run mint as the os. Then I get this message. Also here is the guide I followed to install mint
http://www.howtogeek.com/99060/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc/
Windows has failed to start. A recent hardware or software change might be the cause. To fix the Problem
1. Insert Windows installation disc and restart your computer. 2 Choose your language settings and click next. 3, Click repair your computer.
If you do not have this disc, contact your system administrator or computer manufacturer for assistance
File: \linuxmint\winboot\wubildr.mbr
Status 0xc000007b
Info: The application or operating system couldn't load because a required file is missing or contains errors
EvolutionXJ
Level 1
*
Posts: 3
Joined: Wed Jun 05, 2013 3:58 pm
Sent from my HTC6435LVW using xda app-developers app
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Using Android Tools on Ubuntu 12.04
Native Ubuntu 12.04 installed on a bootable memory stick needs also to reference the repository that the tools are located.
Once you have booted into Linux, then execute the following commands from a terminal window
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
lol i forgot about androidforums, that was the first place i used to post
i eventually came over to xda cuz all the developers at the time only supported their work here
EvolutionXJ said:
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Click to expand...
Click to collapse
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
EvolutionXJ said:
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
Click to expand...
Click to collapse
Hopefully someone else will have some more insight, for now I have to go to class. I'll look into it more when I get home.
Sent from my DNA using Tapatalk 2
I didn't see anything about Linux only in the new moonshine thread. Is this still necessary?
If the other guy is like me rooting a phone is the absolute limit of our technical abilities. Now I have to learn to change things on my desktop? I'm grateful, but I'd rather pay for a windows version than go messing around with my desktop. I guess I'll try to learn what livecd is now.
@EvolutionXJ something just occurred to me. Since your PC more than likely has GPT instead of MBR, you may need to use gptsync to sync the partition tables. To so this, boot into your live disc, open the terminal, and type sudo apt-get install gptsync. After it installs, do sudo gptsync /dev/sda. I had an issue similar to yours trying to triple boot my netbook and that was the solution. Let me know if you get stuck again.
Also are you using windows boot manager to boot Linux or are you using GRUB (it might be lilo in the case of uefi)
Sent from my DNA using Tapatalk 2
Forget the gptsync thing, I don't think that's the issue. Don't think you would need to do that with a uefi pc
Sent from my DNA using Tapatalk 2
I have Ubuntu booting on my mac through a virtual box and I've never been able to get it to recognize any of my devices. It's usually why I just wait for a Mac method, but I'm super excited to get this bad boy dialed.
Any ideas? I've tried reinstalling Ubuntu and adb multiple times through different methods, but no dice. And yes, I have usb debugging checked. I've also tried 3 different cables and all of my usb ports. Thanks for any help!
Sent from my DNA all in ya mouf