used:
connectbot to run the command line it can be downloaded from market
rooted SGS2
bt.img from first post
some other files
made easy if you connect with putty to you andriod for typing in the commands.
http://xdaforums.com/showthread.php?t=1274635
Here is the way to run backtrack from micro sd
http://www.backtrack-linux.org/forum...captivate.html
I first partition my spare 8gb micro sd following with mini tool partition wizard
info:
http://xdaforums.com/showthread.php?t=764491
additional info:
http://www.omappedia.org/wiki/Android_SD_Configuration
6gb ext2 for backtrack
1gb fat32 So I can use the micro sd as external storage for my SGS2 ....
480mb linux swap (experimental)
I inserted my micro sd in the phone and typed:
what you see her is the partitions that I made
179:19
179:18
179:17
179:16
179:11
Done the same without the micro sd inserted
I got only
179:11
So I know witch one was my micro sdcard.
I typyed
here you see that
179:19 is already mounted thats my fat32 partition.
ext2 partition cant be seen in windows and not in android untill you mount it.
that's the linux way...
I discovered that my ext2 partiton is 179:17 so I mounted that
first have to make the map
Code:
su mkdir
mkdir /data/local/sdcard
mkdir /data/local/mnt
then mount the partition (basic mount command ....)
Code:
mount -t ext2 /dev/block/vold/179:17 /data/local/sdcard
you can check again with
mount command to see if it mounted.
this mean you ext2 partition is accessibly from
/data/local/sdcard
Now you can work in the ext2 partition
now make BT5 folder in
/data/local/sdcard
use the command
Code:
mkdir /data/local/sdcard/BT5
or jest make on with root explorer (be car full linux is case sensitive)
oke now you have to put the
bt5.img to the mounted partition.
extract the zip so you get
bt.img
Rename it to
bt5.img
copy the
bt5.img form first post to you internal sdcard or you fat32 partition
best way is to make a folder there and copy
download the following link and copy those file IN there to
http://www.filesonic.com/file/1674589764
now I used root explorer to copy everthing from my sdcard witch I copied bt5.img and files from the links to the mounted ext2 directory
/data/local/sdcard/BT5
it should look like this
(copying can be also be done with command)
now open connectbot again
type in
Code:
cd /data/local/sdcard/BT5
sh bootbt
what this will do is mount the bt5.img to
/date/local/mnt
(you running now mounted ext2 in there
bt5.img mounted in
/date/local/mnt
It has to be like this cus it is img ((cdrom) witch has to be mounted (outomount exits to...)
if you get file already exist jest ignore
we are almost there
type
open you vnc client
connect
server: 127.0.0.1 or localhost
port: 5901
username: bt
passwd: 123456789
you have to run thise commaned evertime you reboot you phone.
mount:
mount -t ext2 /dev/block/vold/179:17 /data/local/sdcard
got to pad:
cd /data/local/sdcard/BT5
start backtrack:
sh bootbt
start vnc:
startvnc
connect with vncclient
witch is no problem it can be put in to little script
feel free to make one I will make one when I have time.
(if you get in any of those command file not found or permission denied inform me I will edit this post)
It's about time to buy 32gb micro sd
I had my 16gb for a week or so