Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
anantshri
Old
(Last edited by anantshri; 28th September 2011 at 04:46 AM.) Reason: added mediafire links
#1  
Senior Member - OP
Thanks Meter 310
Posts: 672
Join Date: Feb 2011
Location: Bangalore

 
DONATE TO ME
Default [DEV] BACKTRACK 5 on Xperia X10 chroot

==================== WIFI / WEP / WPA2 CRACKING Questions will not be answered ========
============== Already Stated many times monitor mode and packet injection is not working. ========


==================== POST 3 updated with some FAQ ===============================

==================== DETAILED INSTRUCTIONS UPDATED ===========================

==================== DOWNLOAD LINK UPDATED : Alternate Download Links ===============

========== PROJECT PAGE CREATE : http://hackomania.com/BT5/ ====================

Hi all,

Based on my work here DEVELOPMENT : Ubuntu Lucid CHROOT: updated script
I have been successful on Making Backtrack run on Xperia X10i.

Wanted to be the first one to report it so the thread here.

will start uploading the files once i get get all pieces together.

posting some screenshots for non believers.

Stay tuned for complete instructions on how to set up on X10i complete with custom scripts and all codes will be open sourced for your reference.

and this time it will be completely from gscript if you don't want to type commands.

Teaser screenshots for you.

Now will need support from the fellow developers in establishing what all tools are running fine and what not.

once i upload the image i will also post this on all social network so that we can gather as much support as possible.

File size : under 500 MB

======== FILE DOWNLOAD LINK================
DROPBOX links Bitlied for download count track
Alternate link from personal server.
Please do not create mirror : just want to keep a count on download's

PART 1 : Download Link : http://bit.ly/p1BT5
PART 2 : Download Link : http://bit.ly/BT5p2
PART 3 : Download Link : http://bit.ly/BT5p3


bt7z.001: http://www.mediafire.com/?x9cgxzdx84vc6uj
bt7z.002: http://www.mediafire.com/?xaoidipkg1o7vgo
bt7z.003: http://www.mediafire.com/?po3nznbxgvdipur


MD5 Sum : Thanks to DooMLorD
558ecb1f0e5feb1da86526df8761e6cc bt.7z.001
247842fd0d3ebb39454f76f4704d1537 bt.7z.002
f74d2f744434a7182b13287d9f8165e7 bt.7z.003

Bundle Link : http://bit.ly/iNHTS0 <- contains list of all 3 files in one bundle.

Note : uploading in one alternate location : mediafire will give its link soon.

======== Instructions =============

*********** ESSENTIALS ******************
  1. Rooted Android. tested on 2.2 however should work on 2.1 and 1.6 also. (if you use custom rom's you meet the criteria)
  2. Busybox configured (although it gets automatically configured @ rooting)
  3. Android terminal application. (I use android terminal emulator)
  4. Android VNC Viewer
********************************************

********** STEP's *************************

  1. download all 3 parts of image and place them in single folder.
  2. extract using first file and you will get following files
    1. bt
    2. bt.img
    3. startbt
    4. stopbt
    5. installbt.sh
  3. Copy these files on your phone under /sdcard/bt
  4. using terminal emulator run following commands
    Code:
      su
      cd /sdcard/bt
      sh installbt.sh
  5. Now your BT should be configured automatically.
  6. to use your BackTrack you can use following commands.
    1. startbt <- mounts and prepares the system for usage.
    2. stopbt <- unmounts and free up all resources.
    3. bt <- a command line version of BT chroot.
  7. Inside bt shell.
    1. ui <- will start vncserver (default password is 12345678, you can change it using vncpasswd command on bt shell)
    2. killui <- stops the running vncserver.
  8. Any Available VNC client can be used to connect to the BT GUI.
    1. Nick : BackTrack (bt for short)
    2. address : localhost
    3. port : 5901
    4. password : 12345678
    5. inside vnc window select input mode (following works best for me)
      1. Touch Mouse; D-Pad Pan
      2. Mouse pointer control mode
      3. TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
*********** DO CHECK POST 3 after tonight ******************
Post 3 will be updated to be used as a catalogue of tips and tricks for all things related to this distro..

========= TIPS and TRICKS ==================
this section is for those who want to make simmilar image from base image on backtrack.

ohk so the basic challenge is
1) BacckTrack image is for Xoom and have following limitation w.r.t. Xperia X10.
a) File is 4.9 GB (vfat has limitation of 4 GB max)
b) vncserver resolution is 1280x800 per xoom.
2) installation script and setup script doesn't allow you to move in and out of BT.
3) it used loop2 for image mounting which conflicts with APP2SD.


so I have made following changes.
1) resized image to 3.3 GB (if space get filled we can extend image to upto 700 mb more.)
2) inserted my custom ui and killui code i use @ ubuntu.
3) provided startbt stopbt bt and installbt.sh scripts for all work.
4) changed loop no to 254 and hence this code is compatible with my ubuntu image effectively you can keep both in same sdcard...

I am attaching a log file for part 1 of the image work as this is very tricky.
The trick is if you create a new file of 3.3 GB you get limited set of inodes which get filled easily. so the command mke2fs must be supplied with inode numbers that you want to be build.

check attached txt for details.
Attached Files
File Type: txt BT5 on X10.txt - [Click for QR Code] (5.3 KB, 3795 views)
whoami : Technology Enthusiast : My Website | MY Blog

My Work
DROIDCAT : Information Security Application Collection
Whitepaper : Security Issues in android custom ROMs

My Threads :
DEVELOPMENT : Ubuntu Lucid CHROOT: updated scripts
[DEV] BACKTRACK 5 on Xperia X10 chroot

My Devices
Phone : Xperia X10i (Self customized 2.3.3)
Tablet : Kindle Fire 6.3 (Stock rooted)
Music Player : iPod Touch 4G (8GB) - Jailbroken(5.1.1)
The Following 49 Users Say Thank You to anantshri For This Useful Post: [ Click to Expand ]
 
anantshri
Old
#2  
Senior Member - OP
Thanks Meter 310
Posts: 672
Join Date: Feb 2011
Location: Bangalore

 
DONATE TO ME
============ SCREEN SHOTS =================


whoami : Technology Enthusiast : My Website | MY Blog

My Work
DROIDCAT : Information Security Application Collection
Whitepaper : Security Issues in android custom ROMs

My Threads :
DEVELOPMENT : Ubuntu Lucid CHROOT: updated scripts
[DEV] BACKTRACK 5 on Xperia X10 chroot

My Devices
Phone : Xperia X10i (Self customized 2.3.3)
Tablet : Kindle Fire 6.3 (Stock rooted)
Music Player : iPod Touch 4G (8GB) - Jailbroken(5.1.1)
The Following 20 Users Say Thank You to anantshri For This Useful Post: [ Click to Expand ]
 
anantshri
Old
(Last edited by anantshri; 14th May 2011 at 10:22 AM.)
#3  
Senior Member - OP
Thanks Meter 310
Posts: 672
Join Date: Feb 2011
Location: Bangalore

 
DONATE TO ME
========= FAQ plus TIPS and TRICKS =====================

Q : Installbt.sh script not working properly i am recieving errors?

A: please cross check all steps if you have missed any.. otherwise post the output of error's in thread.

Q : sh installbt.sh works fine now i am getting errors in startbt or bt command.

A : please check following steps.
  • Try rebooting the device and see if startbt and then bt works. if still error post the error output on thread.
  • post output of following command
  • mount
  • echo $PATH
  • busybox
  • which busybox
Q: what is the use of all the files besides bt.img
A : Listed is the description of all files.
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.
whoami : Technology Enthusiast : My Website | MY Blog

My Work
DROIDCAT : Information Security Application Collection
Whitepaper : Security Issues in android custom ROMs

My Threads :
DEVELOPMENT : Ubuntu Lucid CHROOT: updated scripts
[DEV] BACKTRACK 5 on Xperia X10 chroot

My Devices
Phone : Xperia X10i (Self customized 2.3.3)
Tablet : Kindle Fire 6.3 (Stock rooted)
Music Player : iPod Touch 4G (8GB) - Jailbroken(5.1.1)
The Following 3 Users Say Thank You to anantshri For This Useful Post: [ Click to Expand ]
 
jpminou
Old
#4  
Account currently disabled
Thanks Meter 56
Posts: 182
Join Date: Feb 2010
Quote:
Originally Posted by anantshri View Post
Hi all,

Based on my work here DEVELOPMENT : Ubuntu Lucid CHROOT: updated script
I have been succefull on Making Backtrack run on Xperia X10i.

Wanted to be the first one to report it so the thread here.

will start uploading the files once i get get all pieces together.

posting some screenshots for non believers.

Stay tuned for complete instructions on how to set up on X10i complete with custom scripts and all codes will be open sourced for your reference.

and this time it will be completely from gscript if you don't want to type commands.

Teaser screenshots for you.

Now will need support from the fellow developers in establishing what all tools are running fine and what not.

once i upload the image i will also post this on all social network so that we can gather as much support as possible.

=========RESERVED for instructions =============
Nice work keep going.

Sent from my X10 TripNMiUI
The Following User Says Thank You to jpminou For This Useful Post: [ Click to Expand ]
 
realunited123
Old
#5  
Senior Member
Thanks Meter 199
Posts: 1,005
Join Date: Jun 2010
Location: Bhubaneswar
Is it for real ?! Wow! Can't wait!!!
 
bseuhgm
Old
#6  
bseuhgm's Avatar
Member
Thanks Meter 0
Posts: 74
Join Date: Nov 2010
Location: Minsk
hoho it will be great
 
DooMLoRD
Old
(Last edited by DooMLoRD; 11th May 2011 at 06:03 PM.)
#7  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 20717
Posts: 10,106
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Brilliant work my friend!!!

Does it still require VNC server/client?

Does pen-testing work? What about arp poisoning and promiscus mode to gather data packets?

sent from FreeX10_beta4+CM6 settings
Like my work? Please consider donating via PayPal

Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)
 
anantshri
Old
#8  
Senior Member - OP
Thanks Meter 310
Posts: 672
Join Date: Feb 2011
Location: Bangalore

 
DONATE TO ME
Quote:
Originally Posted by DooMLoRD View Post
Brilliant work my friend!!!

Does it still require VNC server/client?

Does pen-testing work? What about arp poisoning and promiscus mode to gather data packets?

sent from FreeX10_beta4+CM6 settings
slow down buddy.... just got the image up and running tools still need to be tested.....

and ya it still needs vnc that's why still chroot.
whoami : Technology Enthusiast : My Website | MY Blog

My Work
DROIDCAT : Information Security Application Collection
Whitepaper : Security Issues in android custom ROMs

My Threads :
DEVELOPMENT : Ubuntu Lucid CHROOT: updated scripts
[DEV] BACKTRACK 5 on Xperia X10 chroot

My Devices
Phone : Xperia X10i (Self customized 2.3.3)
Tablet : Kindle Fire 6.3 (Stock rooted)
Music Player : iPod Touch 4G (8GB) - Jailbroken(5.1.1)
 
Neo
Old
#9  
Neo's Avatar
Senior Member
Thanks Meter 125
Posts: 733
Join Date: Dec 2010
Location: Gods Own Place

 
DONATE TO ME
OMG MAN! I remember asking backtrack in your thread long time back for WEP cracking!

You are the best man! I love your work!

Thank you for listening!
Morpheus: [to Neo who is choosing the red pill] Remember... all I'm offering is the truth. Nothing more.
 
OmegaRED^
Old
#10  
OmegaRED^'s Avatar
Senior Member
Thanks Meter 571
Posts: 2,559
Join Date: Oct 2010
WOOOOOOOOOO.
Awesome work!


-Too many phones to list-
̿̿'̿'\̵͇̿̿\=(•̪●)=/̵͇̿̿/'̿̿ ̿ ̿ <"Guns? no um these are... power tools.. hi mam I'm from tech support, I'm here to check your Ethernet port"
The human body is merely a medium.. the mind is GOD

 
Post Reply+
Tags
backtrack, bt5, chroot
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...