yashsingh1/xdaforums huggingface dataset:
[XPERIA X10 Android Development] depulle87:
Any Available VNC client can be used to comment to the BT GUI.

typo : comment = connect
[XPERIA X10 Android Development] depulle87:
mount : device or recourse busy

had it running but unable to connect my vnc server to it

This is goig to be great
[XPERIA X10 Android Development] fauz33:
when running "startbt", this is the output:

this is the output when running "/system/xbin//busybox chroot /data/mnt/bt /bin/bash"

when running "bt" command this is the output:
[XPERIA X10 Android Development] Makz121:
+1 to this. already Dling. Will report bugs soon. (if any) ;)
[XPERIA X10 Android Development] ayamati:
after i've done all that till i typed 'ui', my phone restarted...

:(

p/s : how do i get it running to Backtrack GUI? :(
[XPERIA X10 Android Development] niezamema:
how to control the mouse in vnc?...the bt already run but cannot control the mouse in vnc :confused:

edit: done already,using the remote vnc pro 1.7.8
[XPERIA X10 Android Development] anantshri:
Ohk this is strange... just to confirm

root@localhost \ # <- this was the prompt when you typed ui.

Ohk if that's right do tell me following things.

1) which ROM are you using.

2) which version of busybox

run following set of commands and dump the output here

`which busybox`

`echo $PATH`

`busybox`

4) did you do su before going to `bt`

5) also on your normal android prompt i want output of

`mount`

Please provide this and i will see what i can doo...

also do you have any vnc server (not vnc client) running on your phone in android.

hey buddy i got your problem... the basic reason why you have problem is coz your busybox version is at different location. although it has all the necessary templates....

ohk let me see what i can do...

1) either i will try including all the possible path's or

2) i will also include my version of busybox just like BT guys have done in original package.

just give me a day, lots of pending work for the weekend:mad:

Thanks for correcting the typo updating it the instructions also.

now regarding the error you are getting please post your details simmilar to what i have requested above.

That will help in debugging...
[XPERIA X10 Android Development] chigz:
ohhh k...anantshri congo for your hardwork ur work seems truely amazing..i havnt downloaded this stuff yet..waiting untill it gets stable and i had one request or a doubt if u consider it as.."can this be made as a .zip? so that it becomes much more simpler to flash..i mean as of now i can see u have made it quite simple already..but u know us right we ANDROID guyz we are very used to frequent flashing and changing ROMs ..this is just my point of view but i also think its very early to try and go for a zip.. i think u are still testing the tools..but only if poss try a zip..anyway you are doing a greaaaaat job keep it up..and thanks a lot for taking the pains to keep the Dev going..
[XPERIA X10 Android Development] fauz33:
ok2.....

take your time.....

thanks a lot for your help.....
[XPERIA X10 Android Development] Gam3-KiNG:
Fixed mounting problem by su permission.

Now stuck on next step on startbt. Same error as fauz33

Sent From My Xperia X - 10, BB. 54, Rom Free X 10 2.2.1
[XPERIA X10 Android Development] anantshri:
ohk based on the ROM per your signature... your xperia is already rooted.

su is the command that shifts you to superuser mode ....

in your android terminal / adb shell / adb hell (which ever you like)

$ su
# cd /sdcard/bt
# sh installbt.sh

If this is also giving some errors that that might be coz of busybox location.

in that case if you recieve any error then do post back output of following commands on this forum

mount
busybox
which busybox
echo $PATH
[XPERIA X10 Android Development] anantshri:
refer my post above please provide the output.....
[XPERIA X10 Android Development] anantshri:
500 MB ZIP would be a bit inconveneint for all... :D

moreover for zipping i will need some expert tips .... let me check the possibility....
[XPERIA X10 Android Development] Gam3-KiNG:
And this is what happens when I run startbt, full log below.

$ su

#cd sdcard

# cd bt

# sh installbt.sh

BackTrack CHroot v0.1 for Xperia X10

This process does NOT damage Android OS!

based on Xperia Customization by Anant http://anantshri.info

Cleaning up old Chunks . . .

Creating necessary directories

Setting up files

BackTrackk is now configure!

to Start BackTrack type 'startbt'

once BT started use 'bt' to gain shell

when you want to shutdown type 'stopbt'

# startbt

mknod: /dev/block/loop254: File exists

losetup: /dev/block/loop254

mount: cannot setup loop device: No such file or directory

mount: No such file or directory

mount: No such file or directory

mount: No such file or directory

net.ipv4.ip_forward = 1

Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4

startbt: cannot create /data/local/bt/etc/resolv.conf: directory nonexistent

startbt: cannot create /data/local/bt/etc/resolv.conf: directory nonexistent

startbt: cannot create /data/local/bt/etc/hosts: directory nonexistent

BackTrack Loader by Anant based on ubuntu loader

BackTrack is ready just type 'bt'

Sent From My Xperia X - 10, BB. 54, Rom Free X 10 2.2.1
[XPERIA X10 Android Development] anantshri:
Everything else looks fine let me recheck my files in the mean time can you do one thing...just restart the phone.

after restart you can open android terminal and type `startbt` and tell me if you still recieve all the errors.
[XPERIA X10 Android Development] anantshri:
also one simple thing just give me the ls -l /sdcard/bt

as this is where the files are... if i am not wrong.
[XPERIA X10 Android Development] kommonk:
Just to let you know I'm on trips miui 2.3.4 Rom and have it working fine. Bb49

Can't confirm any tools as I have no idea how to use but can test if DETAILED instructions are given (i have no experience with this)

Can confirm FireFox and 3g working :-) donating a beer or two soon as poss :-)
[XPERIA X10 Android Development] Gam3-KiNG:
Here the log again,

su

$ su

#ls -l sdcard/bt

----rwxr-x system sdcard_rw 335 2011-05-12 01:26 bt

----rwxr-x system sdcard_rw -793967296 2011-05-12 02:58 bt.img

----rwxr-x system sdcard_rw 857 2011-05-12 01:35 installbt.sh

----rwxr-x system sdcard_rw 927 2011-05-12 01:29 startbt

----rwxr-x system sdcard_rw 727 2011-05-12 01:26 stopbt

#

Sent From My Xperia X - 10, BB. 54, Rom Free X 10 2.2.1
[XPERIA X10 Android Development] Gam3-KiNG:
Reboot worked for me, all set. Thx

Sent From My Xperia X - 10, BB. 54, Rom Free X 10 2.2.1
[XPERIA X10 Android Development] anantshri:
Thanks for the confirmation bro... I will start making a list of all confirmation's...

Also instructions oon how this can be used i will start providing as soon as possible. (may be next weekend.)
[XPERIA X10 Android Development] anantshri:
Good ......
[XPERIA X10 Android Development] depulle87:
running

This is what I get after reboot, the only problem now is that I can not connect to it
[XPERIA X10 Android Development] Tony84:
Hi, I'm not able to run the commands

su

cd /sdcard/bt <-- it says "can't cd to /sdcard/bt

sh installbt.sh
[XPERIA X10 Android Development] depulle87:
what happens when you do?
[XPERIA X10 Android Development] Tony84:
can't cd to /sdcard/bt ^^
[XPERIA X10 Android Development] anantshri:
few quick questions

1) did you downloaded the bt5.7z.001 to 003

2) did you extracted the file and got a folder with file : bt startbt stopbt installbt.sh bt.img

3) did you copied all the files to SDCARD under folder names bt

if you miss any of these steps you will get error
[XPERIA X10 Android Development] Tony84:
off course I did :) I have a folder with 3.3 gb and the 5 files
[XPERIA X10 Android Development] anantshri:
ohk so everything is running on your machine buddy.

all you need is to type ui and then you can connect on vncviewer in your phone.

You get kind of scrambled output because of use of windows command prompt.

ohk some quick tips will update them on front also.

1) sh installbt.sh is to be only used once in liftime. till you flash a new rom.

2) startbt is to be used once after every reboot.

3) bt is command to be used everytime after first use of startbt to get command prompt.

4) stopbt is to be used when you want to stop the bt service which is running in the background.

4) and inside the root@localhost prompt you can use ui and killui command to start and stop the vncserver.
[XPERIA X10 Android Development] anantshri:
ohk can you post the output of this command

ls -l /sdcard/bt

also

ls -l /sdcard

do you see bt or BT
[XPERIA X10 Android Development] Tony84:
btw now I remounted the sdcard on ubuntu and sow the bt folder war renamed as it was before, "Backtrack". I've allready changed it in "bt", now I try again

yes now It works, maybe the folder wasn't well renamed before.
[XPERIA X10 Android Development] Tony84:
now other problem:

after the startbt command I put the bt command and I get: chroot: can't change root directory to /data/loacl/bt: Operation not permitted
[XPERIA X10 Android Development] depulle87:
It works :

ROM : Cyanogen CM7.0.3 J020a K010 Gingerbread 2.3.3

BB : the .52 midified BB in ROM package

Kernel : custom kerneel 009

Just let me know what you need tested

and thanks alot anantshri

@doomlord you are everywhere on the x10 forum at anytime always helping people thanks for that
[XPERIA X10 Android Development] DooMLoRD:
@anantshri

just prepare some gsctipt shell scripts to do bug hunting (ls -l OR mount points OR path OR busybox)... dump logs to /sdcard/ubuntu_log (or something similar) then just tell ppl to upload logs here...
[XPERIA X10 Android Development] Tony84:
ok now I managed how to do and I was able to start the ui command after the bt. no errors and problems, it says that he set the vcn server config. now how it works vcn? how to start backtrack?
[XPERIA X10 Android Development] anantshri:
are you in su

and alsoo is it a typo or you actaully get this error

/data/loacl/bt

should be /data/local/bt
[XPERIA X10 Android Development] Tony84:
now It's ok as I said, i'm able to start with no errors th ui, but I don't know how to make vnc work to use backtrack

That's what I get after ui command:

New "X" desktop is localhost:1

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/localhost:1.log
[XPERIA X10 Android Development] somdevanand:
sorry i m a noob here

can u plzzz suggest me wat i hav to do after issue ui command

it shows local host started

but nothing happinig

wat is vnc

is it any software>>

thanx
[XPERIA X10 Android Development] depulle87:
Get androidVNC from market it is free

Start androidVNC

Nickname : Bt

Password :12345678 (first post)

Adress : ''leave it empty''

port : 5901

Username : '' your name"

Then press connect

In BT5

press setting button on phone

then input mode

then touchpad

good luck and report back if worked and on what ROM etc.
[XPERIA X10 Android Development] Tony84:
great! it works! it gave me error because didn't know that the port was 5901, now I got the bt5 home screen et it works :D

For info I'm on tripnmiui iris 0.1.8 (the last one trip released) with bb 49 and off course stock kernel
[XPERIA X10 Android Development] DooMLoRD:
tip:

if u have ur phone connected via WIFI to ur desktop/laptop computer n/w then from any laptop/desktop on the same lan segment u can use PC VNCclient software to access the BT5 VNC server on ur phone!

just connect to:

I.P.: <ip_address_of_ur_phone>

PORT: 5901
[XPERIA X10 Android Development] Tony84:
how to connect to wifi on bt5? and also how to write any text on terminal for example? it's the options "tesxt entry"?
[XPERIA X10 Android Development] anantshri:
in android vnc viewer i get an option to input text... .that's what you can use to input text.

also wifi as soon as you switch on is available inside bt also... you can check by either pinging to any ip / domain or by opening firefox.
[XPERIA X10 Android Development] tonno16:
can i use alternative vnc apk???

because it coast 4 € and I must buy server and client.

so it work, ::))
[XPERIA X10 Android Development] anantshri:
https://market.android.com/details?id=android.androidVNC&feature=search_result

FREE

and yes you can use any VNC viewer for viewing the display.

and ya you can use any terminal emulator too...
[XPERIA X10 Android Development] depulle87:
Thats the one I use works good
[XPERIA X10 Android Development] tonno16:
thanks a lot.

Now i Install "vnc for android".

I type: startbt.....it works

now terminal output is: "backtrack is ready just type "bt"

I type "bt" and the output is command line of backtrack....yes it works.

but how can I use desktop?? i Type "ui" but this is the output:

"new 'X' desktop is localhost:1"

what I need to do???
[XPERIA X10 Android Development] anantshri:
just start vnc viewer

in vnc viewer setting.

setting's for vnc viewer

address : localhost

port : 5901

password : 12345678
[XPERIA X10 Android Development] Tony84:
now open vnc set as name bt

then pw 12345678

then port 5901

then leave empty address field

then set your name

then "connect"

I can confirm wifi internet connection working inside bt, just firefox makes a little longer to start.

All applications tested till now working. if you select as type of mouse selection one of the two last in the list you get more control over the arrow.
[XPERIA X10 Android Development] anantshri:
Lots of question on how to setup VNC viewer so provided the steps in step 8 on first post.
[XPERIA X10 Android Development] tonno16:
ok now all work. But I never seen BT5 but i used bt3 and 4. Why this versione of BT5 is = of ubuntu linux??? the main manu??
[XPERIA X10 Android Development] ayamati:
1 - just now, i was experimenting w/ ROMs that can be used to load till the GUI appears...so, was using CM7 jerpelea's 2.3 ROM...

[my bad...didn't notice you're using 2.2] :P

btw, i think it's better you state which 2.2 ROM (or your phone's configuration such as ROM version, VNC server type, busybox version etc) you're using, it'll be nice...

flashing ROMs isn't really a problem since i've been using my x10 for experimental purposes...flashed ROMs thousands of times and the x10 is still up and running like new/normal x10...
[XPERIA X10 Android Development] DooMLoRD:
when ever u get: "new 'X' desktop is localhost:N"

the port to connect to vnc sever is 5900+N

so if N=1 then port to be used is (5900+1=)5901
[XPERIA X10 Android Development] Makz121:
Works fine on 2.1 Ew. Friggin awesome. Although slow,

Fully working. Havent tried wifi yet.
[XPERIA X10 Android Development] zlive:
fully working.. using bb.52 1.0.63 TripNRaveR...

starting to explore how to use it... a bit slow..
[XPERIA X10 Android Development] depulle87:
Like said before it is running good on Cyanogen CM7.0.3 J020a K009Gingerbread 2.3.3
[XPERIA X10 Android Development] anantshri:
Buddy i don't think there is any restriction with regards with ROM....
[XPERIA X10 Android Development] tonno16:
I've got an acer liquid meta and there is no problem
[XPERIA X10 Android Development] Nok005:
Reporting as working on the Samsung Galaxy S aswell. With a little help from this site.

Cheers
[XPERIA X10 Android Development] juviman35:
hi my friend

thank you for the wondrefull work <

but i wonder what the wrong i made i try to extract the fils but they give me error

t try agian to dowload it again and agian fron the ather linls but the same erorr

please can you help me
[XPERIA X10 Android Development] DooMLoRD:
u can cross check the MD5 hashes using http://www.md5summer.org/download.html

here are the MD5HASHES of the files i downloaded...

558ecb1f0e5feb1da86526df8761e6cc bt.7z.001
247842fd0d3ebb39454f76f4704d1537 bt.7z.002
f74d2f744434a7182b13287d9f8165e7 bt.7z.003
[XPERIA X10 Android Development] juviman35:
sorry but i dont know where i go wrong the hash num the same . is ther any thing els i should know or to do ????
[XPERIA X10 Android Development] DooMLoRD:
u r using the latest 7zip app right?
[XPERIA X10 Android Development] juviman35:
now i use >>> hhhhh
[XPERIA X10 Android Development] OmegaRED^:
Running like a dream.

Awesome work. :)
[XPERIA X10 Android Development] kommonk:
hey :) i can confirm

3g

firefox

wifi (through firefox)

transmission (torrent)

all working fine :)

few questions . . .

ive downed a torrent and was wandering how i can get it to my laptop/sdcard?

im guessing ill have to open the bt.img? oh im on window so .... : /

and how would i go about getting the vnc server to work backwards so i "see" BT5 on my laptop ?

Bugs

cant change the time and is an hour late

anything from the backtrack menu says command not found

big thanks to the dev amazing work :)
[XPERIA X10 Android Development] anantshri:
Thanks for the confirmation ... I am yet to test the environment more throughly...

also to access the files inside bt.img

the simplest way would be to not mount sdcard on windows rather use any adb manager software or use adb push and pull commands to get data out.

after you have typed startbt

data is placed /data/local/bt

and can be accessed as root user....

note : alternate method would be to mount sdcard inside bt also ...

let me check that and give you an updated script later tonight.
[XPERIA X10 Android Development] kommonk:
you continue to amaze me my friend :) my phone is at your disposle :D.

FYI I have juwt changed Rom (wolfbreaks) and bb (now 58) so I could use another vnc viewer I had paid for as it didn't work with trips gb Rom and Backtrack is now near enough instant! its so quick I can't believe it!
[XPERIA X10 Android Development] DooMLoRD:
@anant

the .img file is ext2/4 fs right?

then u can just connect ur sdcard to PC and use the app:

Gizmo Drive

u can mount ext2/4 img files as separate drives using that app in windows...
[XPERIA X10 Android Development] anantshri:
Yup that you can doo.... didn't knew it and didn't needed it actually ;).
[XPERIA X10 Android Development] Saoulos:
I believe i've read all posts before asking.

I haven't tryied yet. (awesome work by the way)

But i wanna know if anyone has tried backtrack tools?

For example:

Is wifi card working on monitor mode? Can we use bt for wep?
[XPERIA X10 Android Development] boromkeurgui:
hi

i got a problem here

i follow all steps and after ui nothing happened, backtrack dont starts .

i got an error : couldn't start xtighvnc process
[XPERIA X10 Android Development] anantshri:
thanks for trying..... can you please copy this script file on your phone and run sh debug.sh. on terminal.

please provide me the output file you get at /sdcard/debug_log.txt
[XPERIA X10 Android Development] anantshri:
WEP not yet till we get the custom kernel working fully coz as far as i remember we don't have monitor mode in current drivers..
[XPERIA X10 Android Development] h4waii:
Can somebody post the contents of the install scripts to pastebin? I'm looking for installbt, startbt and stopbt.

Thanks.
[XPERIA X10 Android Development] anantshri:
Please wait till say an hour or so....

I am updating some scripts and will be providing an updated script set without bt5.img so small download size of few kb's.

In the mean time you can check the lucid thread in my signature.

Starttux -> startbt

stoptux -> stopbt

tuxcmd -> bt

ubuntu.sh -> installbt.sh

with changes in folder location from /data/local/mnt to /data/local/bt

and some minor cleanup's.
[XPERIA X10 Android Development] juviman35:
hi my friend sorry for my many q !

but my phone steck in

root@localhost

and didnt take any comman and tell me command not found ????
[XPERIA X10 Android Development] redincali:
Download a vnc viewer for windows, or whichever os your on. I used tightVNC. You can download it for free. After running the 'ui' in the terminal, type 'ifconfig' to view your ip if you don't know it. On tightvnc just enter the ip followed by :1 and connect. For example: 192.168.1.16:1 Once connected you'll just need to enter the password, 12345678. I was connected to the router at the time, not sure if you can connect without being on the same network.

As far as the time issue goes, I haven't tried changing it but its 7hrs off for me. I assume its just the time zone off so I didn't bother. I'm on a stock firm atm and its working. A little slow but expected. Some times the clock, the multi screen selector, and a few other scripts would fail to load, when starting, and would error with the option to delete. I didn't delete them the first few times but I did after a while and now it loads 3 times faster.

- X10a 2.1 / JIT ~ via XDA App
[XPERIA X10 Android Development] anantshri:
if you don't have wifi connection i would suggest a more simpler trick

connect your phone in usb debugging mode to pc.

On your desktop run following commands

adb forward tcp:5901 tcp:5901

adb forward tcp:5801 tcp:5801

now use any vncviewer you can find for your os.

connect to localhost@5901. password : 12345678

on your desktop
[XPERIA X10 Android Development] redincali:
Is there anything that can be entered into the terminal to mount the sd card or does it have to be in a script? Thanks by the way. Great progress so far.

- X10a 2.1 / JIT ~ via XDA App
[XPERIA X10 Android Development] criticalmass24:
that is amazing. do you care if i add a article about this on my site
[XPERIA X10 Android Development] coolshah:
i think i am in love with u lol as a friend
[XPERIA X10 Android Development] chigz:
--------

ohh k buddy take your time i was considering .zip coz i thought that might decrease the size and make it much more simpler as in we can just go to recovery and flash..it..i donno if this is possible and that simple to make it work through a zip just like our other ROMs..anyway..u r doing a great work..thanks man..:D
[XPERIA X10 Android Development] DooMLoRD:
the img file is actually ~3.5GB compressd down to ~500MB using 7zip lzma ultra high compression... i highly doubt u can "zip" it further.... also there is no point creating a ~3.5GB update.zip if u will be reading it from sdcard & output will still be on sdcard...
[XPERIA X10 Android Development] boromkeurgui:
it works now , big thanks to you anantshri
[XPERIA X10 Android Development] DooMLoRD:
http://xdaforums.com/showthread.php?t=1079898
[XPERIA X10 Android Development] kommonk:
Will you be making a kernel for this? :-)
[XPERIA X10 Android Development] shahkam:
Sorry for this question but is backtrack some kind of mobile platform? Like android ? What is it exactly and what is good in it or not have no clue because I never heard of backtrack lol.
[XPERIA X10 Android Development] slimm609:
no. backtrack is a version of linux for pentesting and security professional. It is very specific in nature for its purpose.
[XPERIA X10 Android Development] morning_wood:
as a BT founder and developer ( former non active), the ARM version of this distro is just great.

OP, you can add some links to your post...

Main BT5 forums:

http://www.backtrack-linux.org/forums/backtrack-5-forums/

BT5 ARM forum * Galaxy:

http://www.backtrack-linux.org/foru...lling-bt5-arm-samsung-galaxy-s-captivate.html

as a general rule, if you dont know what Backtrack is ( or for ) then you dont need it.

If you want a usable Ubuntu try another ARM distro as BT is solely geared for SECURITY/VULNERABILITY/PENETRATION testing
[XPERIA X10 Android Development] DooMLoRD:
good to hear from u....

we are working on creating a custom ramdisk which will allow us to boot BT5 directly (no need of booting into android OS and then using VNC)....

can u provide any pointers as to how this can be achieved (ramdisk/init scripts/ HW & EGL libs) ?

also is there any way to activate monitor mode on the Atheros AR6000 wifi module (this is the one which is present on X10 [QSD8250])?

Thank you
[XPERIA X10 Android Development] slimm609:
Please take a look at my sig link. I have it running native on a tablet. The way the bootloader works you have to do it much different then the std linux ramdisk