yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] caribpapi:
For anyone that has this successfully running off of their external_sd folder, would they mind sharing their bt file? If you can read my previous posts, you can see what I've tried since I can't get this to work. :(
[Android Software/Hacking General [Developers Only]] prscarp:
Based on the ubuntu boot script, i edited the backtrack boot script and it "should" work no matter where you put the bt folder. Let me know how it works.

As always, download this bt file and replace the one you have in the bt folder.

http://db.tt/CYsAtXQY

EDIT: The script is working fine for me except it is unable to unmount /data/local/bt5 or the loop device because it reports the device or resource is busy. It doesn't effect how backtrack runs at all but I don't know if it has any side effects.
[Android Software/Hacking General [Developers Only]] caribpapi:
Sorry for the late reply, but that worked like a charm! Thank you so much! :D
[Android Software/Hacking General [Developers Only]] kulkarnichanakya:
i am new at xda trying to cope up

what is chroot???
[Android Software/Hacking General [Developers Only]] Pons:
http://lmgtfy.com/?q=chroot
[Android Software/Hacking General [Developers Only]] bertscookie:
BWAAHAHAHAHAH!!! Classic.
[Android Software/Hacking General [Developers Only]] AsylumServe:
Hosting Mirror

Hello,

I can provide stable & reliable hosting for the content of this project.

If you would like me as a mirror ect, contact me.

support[at]asylum-serve[dot]com
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey, i just found this really nice thread :)

But, damn that this project is offline^^

If you need space, ill give you some for free ;)

Contact me webmaster AT sg-webdesigne DOT de
[Android Software/Hacking General [Developers Only]] ksigler:
Samsung Note

I was able to get this distribution working fine with the Samsung Galaxy Note. It's fast too.

I dl'ed the image from the 3-part 7zip file on the 1st post.

I had to make a couple of modifications to the 'bt' script.

As many people have found I had to change:

export kit=/sdcard/bt5

to:

export kit=/sdcard/external_sd/bt5

I also had to modify the losetup, as it's pointing to the wrong dev file.

It was:

losetup /dev/block/loop7 $kit/bt5.img

I removed the non-existent "block" directory:

losetup /dev/loop7 $kit/bt5.img

I cheated and used the Busybox Installed from the Play Store.

I use ConnectBot as my terminal emulator (allows "local" connections)

finally I use Jump as my VNC client.

Hope this helps someone.
[Android Software/Hacking General [Developers Only]] jerilmg:
error on my sgs , can't create a dir data/local/bt' file exists.........

and

startbt not found.....

pls hep me....
[Android Software/Hacking General [Developers Only]] k1ll3r8e:
Hey there :)

try this sh file to start BT ;) o my HTC Sensation it will work really great :)

But... you dun have Aircrack, Reaver or such an tool for wlan att... coz the most W-Lan cards in our smartphone are not able to go in Monitor mode...

so i think its a nice idea but useless for the most smartphones...

Best way, buy an W-Lan Stick and use an Notebook for cracking the WiFis for your phone ;)
[Android Software/Hacking General [Developers Only]] Antoo:
problem?

aaaa

---------- Post added at 01:02 PM ---------- Previous post was at 12:50 PM ----------

I use huawei u8650 CPU 600MHz 256RAM. I did everything described above, and

I get this:

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

net.ipv4_forward = 1

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

eth0: ip 192.168.1.xxx mask 225.225.225.0 flags [up broadcast running multicast]

[1] Segmentation fault busybox chroot $...

Shutting doen BackTrack ARM

losetup: /dev/loop7: Device or resurce busy

#

now what?

---------- Post added at 01:14 PM ---------- Previous post was at 01:02 PM ----------

I use huawei u8650 CPU 600MHz 256RAM. I did everything described above, and

I get this:

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

net.ipv4_forward = 1

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

eth0: ip 192.168.1.xxx mask 225.225.225.0 flags [up broadcast running multicast]

[1] Segmentation fault busybox chroot $...

Shutting doen BackTrack ARM

losetup: /dev/loop7: Device or resurce busy

#

now what?
[Android Software/Hacking General [Developers Only]] Armageddon97:
same here help pls
[Android Software/Hacking General [Developers Only]] MobileCall:
Error, expecting then

wrong syntax??
[Android Software/Hacking General [Developers Only]] altmanfilm:
Hi there! I have a error when i make "sh bt" Can you help me? Screenshot of my LG in the link. Also vnc does not connect but server is running and IP right. I have a Screenshot as link if you want.

Greetings Rene
[Android Software/Hacking General [Developers Only]] prscarp:
What is the exact error that pops up in the terminal? What phone are you trying this on?

What screenshot? and what is the error? You need more info
[Android Software/Hacking General [Developers Only]] MasterMopho:
Noob asking probably which is a noob question...

...which would be suitable for my first post correct?

BT5 on a droid sounds awesome, but my question is:

Would it be possible to have ONLY BT5 run on a droid without the underlying operating system, without VNC?

I'm sure "anything" is possible, but is there a feasible way that this can, or has already been done?

I have a few old droids laying around and would love to have one that just has BT5 on it without the original droid OS...

Any inputs on this will be appreciated, especially so if its noob bashing being that I'm due for my beat in...
[Android Software/Hacking General [Developers Only]] Negative Nancy:
HTC Desire CM7 command not found

Hi, got the UI working on HTC desire CM7 easily enough, unfortunatly all of the commands are met with 'command not found'. Ive seen the question asked a couple of times but no fix offered. Anybody have any luck?
[Android Software/Hacking General [Developers Only]] z3nful:
Your path was not properly set before logging in.

Check that PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH and they should work :)

(If not, check that all the files in /bin aren't zipped or missing. I accidently zipped my bin file when I was drunk once, took me two days to realize it lol)
[Android Software/Hacking General [Developers Only]] Negative Nancy:
Those directories are all listed in the path string inside backtrack so i assume that fine?

As i say the UI works great, Firefox all the apps etc, just the stuff within the Backtrack menu. But no worries just curious to see if it worked, as it doesnt i wont lose any sleep over it... :)
[Android Software/Hacking General [Developers Only]] z3nful:
In that case, one thing you can try is to uncheck all the repositories in synaptic except for the backtrqck ones, and try running

apt-get update && apt-get upgrade

To update just everything from backtrack. Thqt might get the menu links working again
[Android Software/Hacking General [Developers Only]] Negative Nancy:
Updated and upgraded from the bt repositories with seemingly no issue, but it didnt solve anything. Same thing when i try to reinstall individual things like aircrack-ng.

I can read the intro and man of most things, but when it comes to run anything its "command not found", some things half work like the ettercap ui, until you try to scan for hosts or something, then it crashes.

Not to worry, thank for your suggestions.
[Android Software/Hacking General [Developers Only]] z3nful:
Try this from the root directory:

find ./ | grep aircrack-

Note the folder the binary is located at, and check if its in the PATH

from what I remember from working on this os is that most of backtracks binarys are in the opt directory or the pentest directory
[Android Software/Hacking General [Developers Only]] Negative Nancy:
The only output from that is from the folders ./var/lib/dpkg/info and ./var/backtrack/sources/aircrack-ng from the source i got earlier (thought it might help...:o). Added them to the path anyway and made no difference.

I give up anyhow, might return to it later after ive got some real work out of the way and can devote some attention to it!
[Android Software/Hacking General [Developers Only]] z3nful:
One other thing I cqn suggest is the cutomized backctrack image I made for the hd2 about 6 months back. I never had issues with any of the backtrack programs on it when I was working on it

here's a link

http://xdaforums.com/showthread.php?t=1158763

It (for the most part) has to be installed to w 3rd partition on your sdcard, but the build mat work for you :)
[Android Software/Hacking General [Developers Only]] vlskh:
ROMS??

which ROM shud i use if not for the cm roms?? and i've a 4 gig sd card and a 16 gig... is it ok if i run it off the 4 gig one??
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
Having issues following guide verbatum. when I run bt.sh it halts like I don't have permission as root to run. Do I have to chown => root in laptop ? :confused:
[Android Software/Hacking General [Developers Only]] vlskh:
worked fine on the n1 running texasice ROM...
[Android Software/Hacking General [Developers Only]] chaingang_100:
can this work if i put the image on the internal memory of the phone?
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
I just noticed that in gplay there is an app to install bt5. What I don't get is that the img from sourceforge is barely 800Mb as a single file. Yet the img posted in this site is close to 1.3Gb and in multiple parts . Obviously separate versions ie lite & full. Does one work better than the other?
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
As a further question, do I setup vnc to connect to my PC? I thought vnc for bt5 would need info to connect to and use the phone ip, mac, etc. Can I plz get clarification on which vnc needs I have not cfg'd vnc before.
[Android Software/Hacking General [Developers Only]] Pons:
Where you're running BT to and from. I have BT running on my phone and use vnc to connect to the gui of BT from my phone.
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
That's what I want to find out. VNC is not configured nor running. Using the bt install guide from gplay it sounds like I configure vnc to connect to a remote system, not the android host. I use vbox to host multiple os's for my pc. If my rough guess is correct that android is the host to bt through vnc. Then in order for bt to be able to access the hardware vnc should be set for the ip and mac of the phone. Perhaps it's just me but the guide seems to infer that I don't use the phones hardware addresses but a remote system.
[Android Software/Hacking General [Developers Only]] z3nful:
You can connect to BT on the device by going to "localhost:590*" (last digit changes if vnc wasn't killed properly)

You can also connect to BT from your PC using "device ip address:590*"

Hookup Cellular - the repair shop supply store - www.hookupcellular.com

Linux Autoloader - Highly flexable Linux loader for android - http://xdaforums.com/showthread.php?t=1645257
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
Ah, ok ty so I configure it just as I thought. Must be the wording then. :D
[Android Software/Hacking General [Developers Only]] mitchboy007:
wth?

I'm getting this kinda **** at the end:

sagmentation fault:

shutting down backtrack arm

losetup: dev/loop7: no such device or address

Can anyone tell me what i have to do or that it just doesn't work for my phone?
[Android Software/Hacking General [Developers Only]] z3nful:
Usually if it segfaults when tryig to run chroot, its because your phone doesn't have an armv7 processor.

Chances are you have a phone with armv5, which backtrack is not officially supported on. One thing you can do though is take an armv5 install of debian, and load the backtrack repos into it.

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

Hookup Cellular - The repair shop supply store - www.hookupcellular.com

Linux Autoloader - Highly flexable Linux loader for android - http://xdaforums.com/showthread.php?t=1645257
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
I get similar errors, so I wonder, what roms support loopback? Is it a feature that just needs to be enabled?
[Android Software/Hacking General [Developers Only]] Pons:
Should be the kernel, not ROM.
[Android Software/Hacking General [Developers Only]] gamax92:
I'm having an issue with the running of the program.

Yes I have root, su works.

Yes I have BusyBox, busybox worked.

Heres is a log of the commands that dont work for me.

the " - " are the output of the commands, and the "; " are comments not from the bt script.

Oh and I'm using a ZTE Score phone from Cricket.
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
Ah ok. It seems it depends on which sh file is used then. Now my next question is how do I open ports in android for vnc & bt to see & use?
[Android Software/Hacking General [Developers Only]] gamax92:
Okay, I just did a little quick research on eth0, am I correct in my understanding that to use BT, I need an ethernet connection??? :confused:
[Android Software/Hacking General [Developers Only]] NoobDev:
You are having a permissions issue.

Follow the tutorials associated with my earlier posts.
[Android Software/Hacking General [Developers Only]] fotak-x:
So is it support ARM V6 devices ?
[Android Software/Hacking General [Developers Only]] Jeffreycat:
Does anyone know how to get OTG/USB Host Mode working for the E4GT? If I can get it working, then I will have a real reason to use this :D
[Android Software/Hacking General [Developers Only]] kitsuneaerin:
Just got this running, with no hassles, on my Samsung Captivate SGH-i897 running CM9 nightly (20120615) with the image on my internal SD card. I'm using Terminal Emulator to run it, and I'm using the free version of Pocket Cloud as a VNC terminal.

However, it does complain with the following text:

app_6@android:/ $ export PATH=/data/local/bin:$PATH
app_6@android:/ $ su
app_6@android:/ # cd /sdcard/bt5
app_6@android:/sdcard/bt5 # sh bt
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 f
rom the IP:
eth0: No such device

* Starting OpenBSD Secure Shell server sshd
[ OK ]
Do you want to start a VNC server? [y/n] y

New 'X' desktop is localhost:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost:1.log

root@localhost: #

Now, I'm experienced enough in Linux to install Gentoo from memory and get to full graphical, but I have no idea how to fix that particular error. All the networking tools I know of don't seem to exist on Android, or it could be something CM specific.

Also, like other chrooted debian-based environments, there seems to be some problems with apt-get, or more specifically dpkg:

root@localhost:~# apt-get update
...
[successful]
root@localhost:~# apt-get upgrade
...
[Fetches work fine]
Fetched 11.7MB in 1min 19s (224kB/s)
dpkg: warning: 'ldconfig' not found on PATH.
dpkg: warning: 'start-stop-daemon' not found on PATH.
dpkg: 2 expected program(s) not found on PATH.
NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
localepurge: Disk space freed in /usr/share/locale: 0KiB
localepurge: Disk space freed in /usr/share/man: 0KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0KiB
localepurge: Disk space freed in /usr/share/omf: 0KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (2)
root@localhost:~#

Any suggestions?
[Android Software/Hacking General [Developers Only]] Goofycoolguy:
Hmmm can i ?

i have root and busybox installed. when i do the modprobe ext2 i get "modprobe: chdir(/lib/modules): No such file or directory" im on the hp touchpad running AOKP 4.0.4 build 38 can i install backtrack 5?
[Android Software/Hacking General [Developers Only]] BloggerFreak:
very unstable not like it! :/
[Android Software/Hacking General [Developers Only]] Pons:
Perhaps you didn't read the thread title?
[Android Software/Hacking General [Developers Only]] rmccurdy:
cm7.1

UPDATE:

I tried Vortex ROM same thing .. http://goo.im/devs/SlothlyDX/ROM/VorteX_Reloaded_1.0.zip

cyanogenmod 7.1

DROIDX

BusyBox v1.20.1-Stericson (2012-06-09 23:21:47 CDT) multi-call binary. ( also tried with BusyBox v1.19.1-cm71 bionic )

kernel:

Linux localhost 2.6.32.9-g34b306d #1 PREEMPT Sat Aug 20 10:40:49 IST 2011 armv7l

GNU/Linux

I dont see any .ko or ext* modules .. in all of / ? but EXT2 is mounted so I assume its fine ...

I can never get the image to mount no matter what loop commands I run ...

do I need to change kernels ? URL ?

cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
nodev ramfs
vfat
msdos
nodev ecryptfs
yaffs
yaffs2

# mknod /dev/block/loop254 b 7 254
mknod /dev/block/loop254 b 7 254
mknod: /dev/block/loop254: File exists
# losetup /dev/block/loop254 /data/bt/bt5.img
losetup /dev/block/loop254 /data/bt/bt5.img
# mount -t ext2 /dev/block/loop254 /data/bt
mount -t ext2 /dev/block/loop254 /data/bt
mount: mounting /dev/block/loop254 on /data/bt failed: No such device
#
[Android Software/Hacking General [Developers Only]] z3nful:
You need a kernel that supports ext2. From the list of supported filesystems, yours does not support ext2, so you will need to switch kernels for it to work :)

If your main android system is mounted as ext2, it does not necessarily mean it is usable in userspace.
[Android Software/Hacking General [Developers Only]] Oinquer:
very nice! keep developing, i really wanted this stable enough to develop...
[Android Software/Hacking General [Developers Only]] Ph3arr3t:
kernel update

So just how does one update the kernel? Mine is a rooted stock Rogers ROM. I haven't gotten brave enough to flash another rom as I am still trying to figure out how / where to make the rom I am using as a fallback.

:confused:
[Android Software/Hacking General [Developers Only]] z3nful:
If your already rooted, all you need is a kernel built for your phone, and Clockworkmod Recovery (or an equivalent). Search through the Android Development threads on here and you can find a good solid kernel :)

The process is basically: Download kernel .zip file, reboot into recovery, DO NOT clear any caches or user data, select install zip from sdcard, then choose the .zip.

And just to be safe, its always a good idea to find a copy of your current kernel (i dont trust CWM backups lol, have lost to much data) and keep it on your sdcard so you can reinstall it, just in case the kernel you flash doesnt work for whatever reason :)
[Android Software/Hacking General [Developers Only]] rmccurdy:
Can you suggest a kernel that would work I have CM7/DROIDX ?
[Android Software/Hacking General [Developers Only]] z3nful:
Sorry, I can't, I haven't used that phone personally, so I couldn't tell you which ones are better
[Android Software/Hacking General [Developers Only]] rmccurdy:
I dont care about 'better' i just want it working...

I also have a rooted modded/stock Exhibit II it appers to have ext4 so would that work ?? lsmod shows nothing ext...:

mount
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p15 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
/dev/block/mmcblk0p12 /persist ext4 rw,nosuid,nodev,relatime,barrier=0,data=orde
red 0 0
/dev/block/mmcblk0p16 /cache ext4 rw,nosuid,nodev,relatime,barrier=0,data=ordere
d 0 0
/dev/block/mmcblk0p27 /efs ext4 rw,relatime,barrier=1,data=writeback 0 0
/dev/block/mmcblk0p17 /data ext4 rw,nosuid,nodev,noatime,errors=continue,barrier
=1,data=ordered 0 0
/dev/block/vold/179:28 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,n
odiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp43
7,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/sdcard/external_sd vfat rw,dirsync,nosuid,nodev,noex
ec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,c
odepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,noat
ime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage
=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/external_sd/.android_secure tmpfs ro,relatime,size=0k,mode=000
0 0
[Android Software/Hacking General [Developers Only]] rmccurdy:
use NetworkSpoofer scripts?

I am downloading it now

http://netspoof.bzr.sourceforge.net/bzr/netspoof/debimg/trunk/files

This is .img file mounting . I hope this can get around the issues i have with the loop mount etc.. or is it the same method of mounting
[Android Software/Hacking General [Developers Only]] vendeta1116:
Droid X

OK i see people are talking about it already. What I'm trying to figure out is your saying i have to flash to a new ROM because the stock ROM does not have ext2. Everything is becoming so confusing because I've been working on this for 2 days with 5 hours of sleep.. I never really give up.. anyways can you look at what i got on a stock ROM so far following every single step (regarding to Droid X) in this forum and I' so freaking close i cant taste it (Literally).... Yes i have read all 58 pages.. I deleted everything off my sdcard (fomatted 2x) and moved the file to my phone /data

View attachment bt.txt original code

View attachment bt2.txt my version

With the code i messed with i changed all the /dev/loop7 to /dev/block/loop7 and that got rid of the loop problem the mkdir $mnt

this is with original code

this is my version of the code

it used to say mount: no such device and some other mount: 5 times until later today and the same thing with the failed. part

plzzz.... help bout to rip my hair out