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

Search This thread

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
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):

attachment.php



in GUI:

attachment.php


BT5 on tablet:

attachment.php




[ 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
    attachment.php

    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)
    attachment.php

    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:
     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:
     bt.7z.001 fea6299bfa1677bd344d478108d458b2
     bt.7z.002 b3897170d1f05dd0fb812fd092411203


icon8.gif



ENJOY!
 

Attachments

  • bt5_flyer_shell_scripts_v1.zip
    736.4 KB · Views: 464
  • flyer-bt5-1.jpg
    flyer-bt5-1.jpg
    29.6 KB · Views: 6,333
  • flyer-bt5-2.jpg
    flyer-bt5-2.jpg
    29.3 KB · Views: 6,339
  • flyer-bt5-3.jpg
    flyer-bt5-3.jpg
    18.4 KB · Views: 6,340
  • flyer-bt5-4.jpg
    flyer-bt5-4.jpg
    29.7 KB · Views: 6,323
  • IMG_1064.jpg
    IMG_1064.jpg
    61.5 KB · Views: 6,618

devator22

Senior Member
Dec 16, 2010
342
65
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
 

jaguaralani

Senior Member
Aug 3, 2007
2,233
634
51
Perth
jaguaralani-pda.forumms.net
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

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
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

Senior Member
Dec 16, 2010
342
65
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.
 

HJ200

Inactive Recognized Developer
Dec 28, 2008
393
464
Thanks a lot! I've edited the scripts a bit and managed to run this from internal sd card (my ext_sd is just 2GB). It's all working fine, when I'll get home from work I will try to find out how usefull this can be :p

PS: Never thrust a bit.ly link, it's almost always a lmgtfy link :D
 

cmantis

Member
Dec 31, 2008
36
1
Thanks for all the info I got everything setup and working. Can we put the wifi into monitor mode? Not really sure where to go from here. Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    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):

    attachment.php



    in GUI:

    attachment.php


    BT5 on tablet:

    attachment.php




    [ 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
      attachment.php

      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)
      attachment.php

      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:
       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:
       bt.7z.001 fea6299bfa1677bd344d478108d458b2
       bt.7z.002 b3897170d1f05dd0fb812fd092411203


    icon8.gif



    ENJOY!
    1
    Nice job! Will this also work on GB?

    yups should work irrespective of android OS version :)
    1
    Bump?

    Sent from my mobile typewriter with tapatalk

    second part cant be seperately opened...

    open the first file and it will open all further parts