Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,012 Members 54,179 Now Online
XDA Developers Android and Mobile Development Forum

[DEV] BACKTRACK 5 on HTC Flyer (chroot) [Dt: 14/Jan/2012]

Tip us?
 
DooMLoRD
Old
#1  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37989
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Angry [DEV] BACKTRACK 5 on HTC Flyer (chroot) [Dt: 14/Jan/2012]

hi guys here is BACKTRACK 5 on HTC Flyer


most of the work was done by anantshri, i have only modified it slightly so that it will works properly on HTC Flyer... dont forget to thank him!

i will try n keep it short and simple... this is running in chroot environment and doesnt boot as a separate OS... it can be accessed through shell or via a VNC client..

for more details u can read the original thread at X10 sub-forums...

[DEV] BACKTRACK 5 on Xperia X10 chroot


if u dont know what Backtrack is read this: http://bit.ly/z23em2


[ Screenshots ]


on startup (shell):




in GUI:



BT5 on tablet:





[ Requirements ]


[ How To : File Setup ]

u need to do this only once
  1. download the files from the links provided in this thread
  2. extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
  3. connect ur device to PC and mount USB storage
  4. create a folder named 'bt' (without quotes) in the root of ur external sdcard and copy the bt.img in that folder
  5. also place the file bt5_flyer_shell_scripts_v1.zip in root of sdcard, this file has to be flashed via recovery
  6. once u verify that the above is correct then un-mount usb storage
  7. reboot into recovery and flash the file bt5_flyer_shell_scripts_v1.zip stored in root of sdcard
  8. once ur phone reboots into OS just check the /sdcard/ext_sd/bt folder
  9. final directory structure should look like this:
    • /sdcard/ext_sd/bt/bt
    • /sdcard/ext_sd/bt/bt.img
    • /sdcard/ext_sd/bt/installbt.sh
    • /sdcard/ext_sd/bt/startbt
    • /sdcard/ext_sd/bt/stopbt
  10. once u verify that the above is correct then u can proceed


[ How To : Launch BT ]
  1. start Terminal Emulator app on ur device and enter the following commands step by step (accept/allow any SuperUser request/popup that u may receive)
    • su
    • cd /sdcard/ext_sd/bt
    • sh installbt.sh
    • startbt
    • bt
  2. now u are in BackTrack5 shell

  3. to launch GUI (vncserver) enter the following command
    • ui

    now note the number N shown localhost:N
    e.g. as u can see from the above image that "New 'X' desktop is localhost:1", so N=1
    the vncserver is running at (5900 + N, N=1 ; so server port is 5901)

  4. now launch androidVNC app on phone and fill in the detials as follows
    • Nick : bt
    • Address : 127.0.0.1
    • Port : 5901
    • Password : 12345678
    • Username : <leave it blank>
    • Color Format : 24-bit color (4 bpp)

    inside vnc window select input mode (i personally recommend the following)
    • TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
  5. and then press connect... now u are in BackTrack GUI!

  6. if u want to exit/close BT5 then u need to follow these steps:
    • close the androidVNC app (Menu -> Disconnect)
    • go back into Terminal Emulator app and enter the following commands
      u should be at this shell root@localhost:~#
      • killui
      • exit
    • now u will get back to this shell> #
    • now enter the following commands to stop bt and exit
      • stopbt
      • exit
      • exit
    • u can now exit the Terminal Emulator app
    • i would also recommend that u reboot ur phone


[ Important Info ]

root password is 12345678



[ Download Links ]

  1. update.zip package containing shell scripts, busybox (which gets installed to temporary location) [to be flashed via recovery]
    this will not disturb/conflict with busybox of ur ROM/CF-Root kernel

    bt5_flyer_shell_scripts_v1.zip (~800KB)

  2. main bt.img

    there are two sets of files... for those who dont have a very stable connection i have provided small 50MB (x 10) packages while for others who have a stable connection i have provided 250MB (x 2) packages... both contain the same file bt.img but for the convenience of users i have created these two sets... if u have already downloaded one set u do not need the other set...


    KINDLY DO NOT MIRROR OUR FILES

    SET 1

    these links are 7zip archives split into 50mb files, u will need to download the following:
    total size: 486MB

    md5 hashes:

    Code:
    Select Code
     bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
     bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
     bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
     bt.7z.004 8ad487a01e4d149f0247ad9288201f32
     bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
     bt.7z.006 ba6a28de70a1115dc316f45cea508215
     bt.7z.007 f59757e891631607e1a35abadb231b3b
     bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
     bt.7z.009 426d892f872679e3d53d0ebb0376e138
     bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39

    i am also uploading a different set where-in the files are split into 250MB parts... but that upload is taking time :P


    OR


    SET 2

    these links are 7zip archives split into 250mb files, u will need to download the following:
    total size: 486MB
    1. part1
    2. part2



    md5 hashes:

    Code:
    Select Code
     bt.7z.001 fea6299bfa1677bd344d478108d458b2
     bt.7z.002 b3897170d1f05dd0fb812fd092411203




ENJOY!
Attached Thumbnails
Click image for larger version

Name:	flyer-bt5-1.jpg
Views:	5986
Size:	29.6 KB
ID:	856461   Click image for larger version

Name:	flyer-bt5-2.jpg
Views:	6008
Size:	29.3 KB
ID:	856462   Click image for larger version

Name:	flyer-bt5-3.jpg
Views:	5989
Size:	18.4 KB
ID:	856463   Click image for larger version

Name:	flyer-bt5-4.jpg
Views:	5995
Size:	29.7 KB
ID:	856464   Click image for larger version

Name:	IMG_1064.jpg
Views:	6259
Size:	61.5 KB
ID:	856481  

Attached Files
File Type: zip bt5_flyer_shell_scripts_v1.zip - [Click for QR Code] (736.4 KB, 372 views)
The Following 9 Users Say Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
DooMLoRD
Old
#2  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37989
Posts: 13,045
Join Date: Jul 2010
Location: Noida
reserved for later
 
AidenM
Old
#3  
AidenM's Avatar
Senior Member
Thanks Meter 316
Posts: 1,139
Join Date: Mar 2011
Location: Look behind you...
Nice job! Will this also work on GB?
mkdir android ; cd android ; repo init -u https://android.googlesource.com/platform/manifest ; repo sync ; make

Mirrors for Nexus 7 Files
 
DooMLoRD
Old
#4  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37989
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by AidenM View Post
Nice job! Will this also work on GB?
yups should work irrespective of android OS version
The Following User Says Thank You to DooMLoRD For This Useful Post: [ Click to Expand ]
 
AidenM
Old
#5  
AidenM's Avatar
Senior Member
Thanks Meter 316
Posts: 1,139
Join Date: Mar 2011
Location: Look behind you...
Quote:
Originally Posted by DooMLoRD View Post
yups should work irrespective of android OS version
Cool beans trying it out now

mkdir android ; cd android ; repo init -u https://android.googlesource.com/platform/manifest ; repo sync ; make

Mirrors for Nexus 7 Files
 
devator22
Old
#6  
Senior Member
Thanks Meter 65
Posts: 338
Join Date: Dec 2010
I was just wishing someone would port Linux to the flyer the other day, and here it is, like magic. I'm glad we have you as a dev, you always seem to think outside the box. I'm kinda sad it came at the end of my break, but I will definitely be giving this a try next time I have some spare time. Thanks!

Sent from my mobile typewriter with tapatalk
Remember, clicking the thanks button encourages me to help more
 
robeppef
Old
#7  
Member
Thanks Meter 2
Posts: 32
Join Date: Oct 2011
Thumbs up thx

Works fine on GB flyer
 
jaguaralani
Old
#8  
jaguaralani's Avatar
Senior Member
Thanks Meter 582
Posts: 2,064
Join Date: Aug 2007
Location: Perth

 
DONATE TO ME
Very Nice........

First, I would like to show me appreciation for this nice piece of art!
Second, would it be ok if I copied the script files manually on me rooted device instead of flashing it ?

Thanks again.........
 
DooMLoRD
Old
#9  
DooMLoRD's Avatar
Recognized Developer - OP
Thanks Meter 37989
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by jaguaralani View Post
Very Nice........

First, I would like to show me appreciation for this nice piece of art!
Second, would it be ok if I copied the script files manually on me rooted device instead of flashing it ?

Thanks again.........
I recommend that u should flash them via recovery...

Sent from my HTC Flyer P510e using XDA App
 
devator22
Old
#10  
Senior Member
Thanks Meter 65
Posts: 338
Join Date: Dec 2010
So, I can't open the second part of the two 250mg files. It tells me it can't be opened as an archive. The first part works.
Remember, clicking the thanks button encourages me to help more

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more

Modernize Your Emails with Email Popup

SMS andHangouts messages likely won’t ever replace traditional Emails for more formal … more

Change Your Toast Notification Style with XToast

Android uses multipletypes of notifications. One of these isknown as a toast notification. … more