yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] Dexil:
Can someone make a video of how this works? Can you run lunix apps? Is it running smooth?
[Asus  Eee Pad Transformer Prime] biggem001:
its literally like 3 steps, so a video would be pointless

you can run linux apps

it does run smooth for me
[Asus  Eee Pad Transformer Prime] FunkyMcBain:
This is pretty neat. Sorry don't know much about BT, but can we run chromium in this? That would be sick. In terms of Firefox, does it run flash content like a regular browser? I'm going to try this all out myself just wondering, don't have much time right now as I must do battle with squirrels in my attic
[Asus  Eee Pad Transformer Prime] biggem001:
it does everything that linux does

MAYBE chormium, its very complex, but there is no point in running chromium....its just a browser haha
[Asus  Eee Pad Transformer Prime] FunkyMcBain:
Ya I just like Chrome

Thanks man, I'll have to give er a go :)
[Asus  Eee Pad Transformer Prime] Smasher816:
Got it installed from a linux host. Just cracked open the install file to see what it did, and did that.

Fyi "adb forward tcp:5901 tcp:5901" will let you use a vnc client on your pc connecting to "localhost:5901"

Just one question. what is the 'correct' way to reboot/shutdown BT5?

"sudo shutdown -P now" does not seem to work...
[Asus  Eee Pad Transformer Prime] biggem001:
close terminal :)

since it doesnt neccesarily boot up, its always running as long as TFP is running. the "sh bt" just turns on the VNC server, closing terminal turns it off
[Asus  Eee Pad Transformer Prime] cordell507:
what do you mean by the attached scripts the only file their was to download is the backtrack5forARM file i don't see BT5_install.zip anywhere
[Asus  Eee Pad Transformer Prime] biggem001:
Its attached on my first post
[Asus  Eee Pad Transformer Prime] monkey10120:
It seems to run really slow for me? could it be the vnc viewer? what clients are other people using?

Also how would I install linux apps?
[Asus  Eee Pad Transformer Prime] foboi1122:
Does arp spoofing work with this?
[Asus  Eee Pad Transformer Prime] biggem001:
probably not, read the forum
[Asus  Eee Pad Transformer Prime] biggem001:
use PocketCloud, it works amazing... set the resolution up too

just how you install apps through linux anyways haha.
[Asus  Eee Pad Transformer Prime] Bender B. Rodgriguez:
I don't see why it wouldnt. It works on every backtrack install that I have done on my android phones. (Atrix and Sgs skyrocket). In fact I wrote a script to arp spoof and SSL strip and have never had any issues. However I don't have.my TFP yet but I wouldn't think it would work on those devices and not work on the transformer
[Asus  Eee Pad Transformer Prime] robomo:
misunderstood your question - internet is available through Android- it's *not* a direct connect.

But it *is* internet.
[Asus  Eee Pad Transformer Prime] FunkyMcBain:
Hmm, I'm having some trouble getting this installed :( seems I can't push the scripts.sh to where they belong cause it says ro fs... But then when I try to run ad remount it says operation not permitted, however I do have root
[Asus  Eee Pad Transformer Prime] biggem001:
you cant remount the device, you need to root and you shoudl be fine
[Asus  Eee Pad Transformer Prime] saturn_de:
It is direct Internet. There is no virtual machine inbetween or any other layer. The only thing is, that the wlan interface is managed by android. As soon, as you turn off wlan in android, linux in chroot should be able to handle/manage it just fine.
[Asus  Eee Pad Transformer Prime] foboi1122:
Have you tried running eclipse on it? I do a lot of programming so I'd like to know if any IDE's will run smoothly.
[Asus  Eee Pad Transformer Prime] robomo:
Thank you for the clarification.
[Asus  Eee Pad Transformer Prime] Smasher816:
:(

bash: ./eclipse: error cannot execute binary file

I would also love to see this as I am a developer. I guess we need an ARM compiled eclipse...
[Asus  Eee Pad Transformer Prime] foboi1122:
Hmm interesting... so if I turn off wifi in android though the settings, the it becomes managed by Linux? Does that mean that if android is managing the internet, I would see eth0 as my connection when I ifconfig? And when I disable it in android, I would be seeing wlan0 as my connection?
[Asus  Eee Pad Transformer Prime] saturn_de:
just open a terminal in android... it's all there already
[Asus  Eee Pad Transformer Prime] saturn_de:
$ ls /sys/class/net
dummy0
ip6tnl0
lo
sit0
usb0
wlan0
$ ifconfig wlan0
wlan0: ip 192.168.2.152 mask 255.255.255.0 flags [up broadcast running multicast]
$ ip link show wlan0
7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether c8:60:00:09:e9:3d brd ff:ff:ff:ff:ff:ff
$

Gesendet von meinem Transformer Prime TF201 mit Tapatalk
[Asus  Eee Pad Transformer Prime] compuw22c:
Can't wait til we get an unlocked bootloader so we can simply dual boot and run native :)
[Asus  Eee Pad Transformer Prime] foboi1122:
so when I don't have internet, I can't seem to VNC into BT5. Is this normal? I feel like because it's on your tablet, you should be able to vnc in since it's just localhost. Any ideas?
[Asus  Eee Pad Transformer Prime] amarriner:
This. I'm _extremely_ tempted to run it this way, but I'm a little concerned with a performance hit having ubuntu running all the time under the hood (even though that's freaking awesome :)). I'd love to be able to dual boot. Wonder how "soon" that bootloader unlock will be released?
[Asus  Eee Pad Transformer Prime] foboi1122:
if you're concern about the performance hit, you can always just exit ubuntu in terminal after you're done using it. So far I haven't had any problems running unbuntu in the back ground. metasploit can run (although I haven't really tried any modules), and nmap works. When i exit outta vnc, bt5 is still running in my terminal, and I haven't really experienced any lag. Ofcourse I've only had it running like this for less than a day. I'll report back after a couple days on how it's working out.
[Asus  Eee Pad Transformer Prime] amarriner:
Hmm that's true. Tempting...guess I need to seriously look at rooting in the very near future...
[Asus  Eee Pad Transformer Prime] foboi1122:
by the way, anyone here know why my VNC client can't connect to bt5 when I don't have internet? I'm connecting to localhost so I figured that shouldn't matter. I'm using pocketcloud as my vnc.
[Asus  Eee Pad Transformer Prime] Smasher816:
Any ideas about eclipse for arm?

I know me and a few others would really love it.

Sadly it yells at me saying "bash: ./eclipse: error cannot execute binary file"

Google seems to say that, that the error means you are using the wrong version (32/64/arm). But I can not seem to find an arm version for download.
[Asus  Eee Pad Transformer Prime] pileot:
in all honesty i only read a few pages in so sorry if its been answered.

Is it possible to dualboot linux and android? give an option which to boot at startup? How would i switch between the two?
[Asus  Eee Pad Transformer Prime] Dexil:
No, there isn't since the bootloader is locked. It will only be possible after unlocking it.

I' am also waiting for dualboot since I don't like the VNC method.
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
Yes, not very hard to update to 'stock' Ubuntu if you want, by modifying sources.list for example.
[Asus  Eee Pad Transformer Prime] kodess:
hate asking questions... but o well...

I have no problems up to

su bt

When I enter that command I get:

mkdir failed for /data/local/mnt. File exists
Loop device exists
net.ipv4.ip_forward = 1
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device

So I guess some file exists which is denying the script from changing some driver?
[Asus  Eee Pad Transformer Prime] TStain:
I had the same problem. Turned out that if I just typed su again, it would ask if I wanted to start the vnc server and everything would be fine. I haven't had a chance to look into why it's doing that, but I'm sure it's something stupid.
[Asus  Eee Pad Transformer Prime] kodess:
@TStain: Thanks buddy :)

hmm, changing the resolution to 1280x800?

What about the home/button/notification bar, its always visible...

I have it set to 1280x750, making it fit perfectly :3
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
Could you mirror on another server, Megaupload has some serious problems now... :p
[Asus  Eee Pad Transformer Prime] 95cobby:
Yes somebody please mirror the img
[Asus  Eee Pad Transformer Prime] kodess:
Since megaupload is down, I made a torrent of the image.

http://dl.dropbox.com/u/244489/BT5.zip.torrent

Web DL:

www.binaryburrito.com/BT5.zip

Do

not

take up all my bandwidth :P

Edit:

Please only use the WebDL if you torrenting is blocked. My web DL is on half bandwidth already. My seedbox can still do 1 TB of bandwidth.
[Asus  Eee Pad Transformer Prime] jamba17:
Could someone make some screenshots of Bt5 running? Or a video/photo guide?

Thanks! =)
[Asus  Eee Pad Transformer Prime] kodess:
screenshots of it running are different from a photo guide...

and yes that's me failing to remember that I started in root, not in /sdcard/....
[Asus  Eee Pad Transformer Prime] foboi1122:
Have you gotten ettercap or metasploit to work? Seems that the prime is not capable of arp poisoning. I've also tried a simple reverse tcp with metasploit on my test XP machine with no success. I keep getting stuck on sending stage 1.
[Asus  Eee Pad Transformer Prime] Allamann:
How can you make that vnc viewer/poecketcloud is recognizing the dock and its touchpad for cursor movements? Or is there another viewer which does so?
[Asus  Eee Pad Transformer Prime] 0xicl33n:
for those without adb

since my pc's isnt working, what i did was just copy the bt5.zip over to the sd card, and then read the install.bat

i copied the scripts.sh to the /sdcard directory, ran

chmod 777 scripts.sh

(read/write + all permissions) on it, and simply typed sh scripts.sh into my terminal emulator. it works perfectly :)

thanks for the image
[Asus  Eee Pad Transformer Prime] armyofbear136:
It took some finagling but I got bt5 running! Now i can use gimp to theme on the go! Plus all the other fun stuff bt5 includes

Ty. Sooooo much dude

Beamed from my galaxy to yours for your viewing pleasure, courtesy of the intergalactic data entity.
[Asus  Eee Pad Transformer Prime] geinome:
Found some bits. Check the source, couldn't find a download link but have a route around and im sure you might find something.

http://www.arm.com/products/tools/software-tools/rvds/arm-workbench-ide.php
[Asus  Eee Pad Transformer Prime] kodess:
the keyboard is auto recognized, as its just a custom keyboard.

The touchpad doesn't work with any VNC apps yet, that I know of.
[Asus  Eee Pad Transformer Prime] Deathbyfugu:
The trackpad does work on PocketCloud Remote Desktop Pro - it may work on the free version as well, but I haven't tested that one personally so I can't say for certain. The program mentioned above works flawlessly but for some reason keeps a "mouse" overlay icon in the middle of the screen (perhaps it's for notifying the user that it recognizes a mouse or trackpad input device?).

What I'm curious about is how to get "apt-get dist-upgrade" to work properly and upgrade system components. Also if I install "update-manager" will it function at all?
[Asus  Eee Pad Transformer Prime] kodess:
depends on what you call "working"

you can click with it... dragging/scrolling, anything else does not work.
[Asus  Eee Pad Transformer Prime] Deathbyfugu:
Yeah I guess that's true - after using it more today I discovered that to be the case. I'll give them a mediocre review on the Market and encourage them to update it to support the keyboard dock.
[Asus  Eee Pad Transformer Prime] Dhyneland:
This is great! Thanks OP for the instructions and @kodess for the mirror.

Looking forward to dual booting once bootloader is unlocked.
[Asus  Eee Pad Transformer Prime] 0xicl33n:
ditto, i cant get fasttrack to work, or the postgresql library, or the metasploit gui , letdown didnt work for me either. lots of the onboard apps dont seem to work, the lack of kismet and netdiscover were a downer too (but thats probably because the wireless card isnt totally backtrack friendly yet)
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
I tried an upgrade, and even if the upgrade works, it loads the wrong kernel, and after that it doesn't work good.
[Asus  Eee Pad Transformer Prime] 0xicl33n:
i just ran dist-upgrade as well, it broke my gnome-terminal and firefox wont load, it says cannot execute binary. other then that it seemed to work, fasttrack still dead tho.
[Asus  Eee Pad Transformer Prime] Cothek:
For those of you looking to shutdown, I found a way that kind of works. You can at least kill the vnc server which should reduce some overhead. To do this:

In Terminal Emulator at the running bash command prompt type:

Then look for the line that has "Xtightvnc", and a bunch more crap, and remember its PID which will be the first 4 digit number. Then type:

"XXXX" is the 4 digit PID.

Type:

Again to make sure that "Xtightvnc" is not running.

To start vnc back up:

At this point you should see a list showing: "bin boot dev ...".

If you don't make sure you put a space between "cd" and "..".

Next type:

You should see a list with "Xtightvnc" in it and you are good to go!
[Asus  Eee Pad Transformer Prime] transceiver:
Does this support USB mouse?
[Asus  Eee Pad Transformer Prime] gregnetz18:
i typed adb shell install.bat and i got a message saying premission denied. what am i doing wrong?
[Asus  Eee Pad Transformer Prime] Don Lettrich:
Yes, and even obeys the scroll wheel. Trackpad has very limited functionality, but USB mouse seems to work just as you would expect a regular mouse to.
[Asus  Eee Pad Transformer Prime] kodess:
Right, I know this may seem as bumping this topic but uhm.... this isnt a correct answer.

It totally depends what VNC app you use if the usb mouse is supported, it has nothing to do with the BT5 CHRoot install.
[Asus  Eee Pad Transformer Prime] dpetchy0817:
I installed this as posted with the exception of putting it on the micro sd instead of the internal storage. What would I need to modify to get this to run. If i go to the directory (/Removable/MicroSD/bt5/) and do "sh bt" i get a lot of errors similar to the guy i quoted.
[Asus  Eee Pad Transformer Prime] ztracenyDen:
(Open-)Office

Wow, I've installed openoffice writer via synaptic and it works good... Of course it has some delay and glitches, mostly because of the vnc - for example the control key on dock has some weird behaviour and czech letters don't get a chance to pass through. But that won't bother most of you.

Thanks for the guide :)
[Asus  Eee Pad Transformer Prime] King John:
Looks like we're gonna need a mirror of the Zip. Ya know, since megaupload got taken down...
[Asus  Eee Pad Transformer Prime] dpetchy0817:
This mirror is still live.
[Asus  Eee Pad Transformer Prime] ztracenyDen:
there is one already, I've added another:

http://www.ulozto.net/xfHz8JJ/primelinuxbacktrack5-zip
[Asus  Eee Pad Transformer Prime] kodess:
Yes, I still have them live.

The torrent will stay alive till there is a new build, or we finally have the bootloader and can dualboot.

The WebDL will probably max out your bandwidth, so its pretty fast ;)
[Asus  Eee Pad Transformer Prime] czerdrill:
Nevermind needed to rtfm!
[Asus  Eee Pad Transformer Prime] monkey10120:
IS there anyway to install programs on here? i know its virtual but you can update it, so i wonder if you can install linux apps
[Asus  Eee Pad Transformer Prime] Cothek:
@monkey10120, yes there is. Open terminal and type:

apt-cache search yourprogramhere

Replace "yourprogramhere" with whatever program you want to install.

Then look through the list to find the package name you want and then type:

su
apt-get install packagename

Again replacing "packagename" with the one you picked from the list.

---------------------------------------------------------------------------------

Now for my question.

I am having a problem running the boot script. Everything has been working fine but now I get this when I run the bt script:

# su
root@android:/ # cd sdcard/bt5/
root@android:/sdcard/bt5 # sh bt
mkdir failed for /data/local/mnt, File exists
Loop device exists
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
bt[23]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
bt[24]: cannot create /data/local/mnt/etc/resolv.conf: No such file or directory
bt[25]: cannot create /data/local/mnt/etc/hosts: No such file or directory
Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:
eth0: No such device

chroot: can't execute '/bin/bash': No such file or directory
Shutting down BackTrack ARM
failed: No such file or directory
failed: No such file or directory
failed: No such file or directory
losetup: /dev/loop7: No such device or address
1|root@android:/sdcard/bt5 #

Anyone know what's going on?
[Asus  Eee Pad Transformer Prime] dpetchy0817:
I am getting the same exact error except I installed to the microsd instead or internal. I though that was my problem but I guess it must be something else since I'm not the only one with this error.
[Asus  Eee Pad Transformer Prime] kodess:
Yes, at the end of all the failure and horror, type

su

again. It should then ask the y/n question for starting the VNC Server.
[Asus  Eee Pad Transformer Prime] jaos1:
Two questions

I have two questions:

1) somebody was asking why he cannot connect to Ubuntu through VNC when there is no internet connections and nobody has answered that.. is it because it's working for others, or nobody cares, or nobody knows how to fix it?

i am thinking about buying TF201, but I want to make sure that ubuntu is usable when i am on road (like on a plane) without internet connection

2) has anybody tried to install Emacs and tetex or any other tex installation? at the moment there is no tablet which can compile latex documents on the tablet directly.. this would be a killer feature for me if that works via ubuntu, and i would run to store to get the tablet right now
[Asus  Eee Pad Transformer Prime] Cothek:
@kodess, not sure what you mean but I definitely am running the script as root. You can even see that I typed su at the beginning of my code. Any other ideas?
[Asus  Eee Pad Transformer Prime] kodess:
I had/have the same problem... after it fails I have to set it in superuser mode again.
[Asus  Eee Pad Transformer Prime] lhoki666:
can anyone help? it says "no such file or directory" after typing cd /sdcard/bt5

its definitely in the right area on my TFP, have gone through the tutorial 5-6 times now to no avial :(

Also has anyone tried gaming using linux? is it usable? or (being through a vnc) is it too laggy?

edit : I think its down to when I double click install.bat, only takes a few seconds (says on guide should take longer) any help would be greatly appreciated :D
[Asus  Eee Pad Transformer Prime] spudthedestroyer:
This worked great, thanks for the guides.

One question, I:

su
cd /sdcard/bt5
sh bt

This starts bt5 and gives me a few warnings about not being able to mount and eth0 existing.

Next I try networking

ping somehost_on_interweb

This works fine, but when I create a new user ie. spud, this has no networking available and i get socket permission denied errors.

Anyway to get networking working as non-root?
[Asus  Eee Pad Transformer Prime] aman5007:
Can't connect to bt5 via VNC

Hey guys...

I installed the ubuntu ARM on my TFP first, everything was fine i was able to connect via AndroidVNC.

then i saw this post about bt5 and tried to install this also. this is what i get in terminal while trying to run the "sh bt" command:

mkdir failed for /data/local/mnt, File exists

net.ipv4.ip_forward = 1

Ubuntu is configured with SSH and VNC servers that can be accessed from the IP:

eth0: No such device

and on androidvnc i get this error while trying to connect to bt5 or ubuntu:

VNC connection failed!

failed to connect to /127.0.0.1 (port 5901): connect failed:

ECONNREFUSED (connection refused)

i used port 5901 for both of them which i think made the mess...

Any ideas will be highly apreciated..
[Asus  Eee Pad Transformer Prime] costcutter:
You made sure you used "su" to become root before running the script?

If you can start bt without out vnc, run the command "vncserver :2" and connect with port 5902
[Asus  Eee Pad Transformer Prime] costcutter:
Any tips on changing the locale to en_GB?
[Asus  Eee Pad Transformer Prime] infinity21:
Hey guys, first time posting so go easy on me

I've never used linux before but I'd like to use it on my prime to do some coding on the go if it's possible. Are ARM versions of R, Octave, or Java available? If so, how do I install them?

Thanks :)
[Asus  Eee Pad Transformer Prime] foboi1122:
I find that coding is not very convenient on the prime, even with linux because as far as I know, no IDE works with ARM linux. i.e. you can't get eclipse running just because it supports linux.

In terms of android IDE's there's not too many good ones out there. However, AIDE just came out which is a full IDE on your tablet for developing android apps. I do a lot of C/C++, so I tried out c4droid. Not really an IDE, but does the job if you really really need to edit a program and compile it.
[Asus  Eee Pad Transformer Prime] REAVER117:
Eclipse runs fine for me on the Prime, unfortunately I can't code Android apps because the Android SDK is x86/64 only.
[Asus  Eee Pad Transformer Prime] infinity21:
That looks great, I'll give AIDE a whirl when I get home. Thanks :)

So I take it R and Octave aren't available on ARM linux?
[Asus  Eee Pad Transformer Prime] Dhyneland:
Now that we are able to unlock the bootloader how can I go about getting a dual boot Android + Ubuntu (or other Linux) system setup on my TFP?
[Asus  Eee Pad Transformer Prime] Shawtux:
How do I shut it down ?

Do I need to shut it down?
[Asus  Eee Pad Transformer Prime] flubba86:
Precise Pangolin Beta 2

For those who are interested, I got an ARM (tegra) build of 12.04 Precise Pangolin Beta2 working on my prime. The stock ubuntu Unity interface doesn't want to load, and the "unity-2d" fallback session is visually buggy so I am running in the "gnome-fallback" session which is a quite useable no-effects version of the gnome-classic session.

Heres a link to where I got the filesystem image:

EDIT: cant post a real link, so this is the best I can muster.

cdimage ubuntu com / daily-preinstalled /20120402.1 /

Heres a screenshot.

db tt / nffSCFm7
[Asus  Eee Pad Transformer Prime] Doktaphex:
Just post the link and remove the http and www or substitute the "." for " " in between each part of the URL.
[Asus  Eee Pad Transformer Prime] flubba86:
Thanks. I edited my post.
[Asus  Eee Pad Transformer Prime] Cothek:
Does Chromium or Firefox work for you? On 11 I could get chromium to install but would render anything and firefox never worked.
[Asus  Eee Pad Transformer Prime] flubba86:
Firefox did not work. Crashed upon startup. I didnt really investigate it much. I didn't attempt to install chromium either.

I ran out of disk space while attempting to install eclipse from the repos, because I only allocated 2GB of space to the image file I was using as a ext2 disk image. After that nothing ran properly because I had zero free space.

I will allocate a new image file tomorrow (max of 4GB though, because it is on the FAT32 internal SD storage) and do some more testing.
[Asus  Eee Pad Transformer Prime] Cothek:
Thanks flubba86, let me know what you find.

Does anyone else know how to fix the firefox/chromium issues?
[Asus  Eee Pad Transformer Prime] barryflanagan:
There are a number of versions there - which is the correct one for the Prime?

Also, I presume by working you mean working in chroot and no dual or native boot?!

Thanks
[Asus  Eee Pad Transformer Prime] gazpel:
The screenshot looks like it's chroot. You can see the android softkeys in the bottom.

I'd love to see a working dual-boot android/linux for the TFP.
[Asus  Eee Pad Transformer Prime] Cothek:
Does anyone have a mirror? I can't seem to finish the download from this site.