[DEV] BACKTRACK 5 on SGS-SL i9003 (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 SGS-SL i9003


most of the work was done by anantshri, i have only modified it slightly so that it will works properly on SGS-SL i9003... 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


phone + BT5 GUI:

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_sgsl-i9003_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_sgsl-i9003_shell_scripts_v1.zip stored in root of sdcard
  8. once ur phone reboots into OS just check the /sdcard/external_sd/bt folder
  9. final directory structure should look like this:
    • /sdcard/external_sd/bt/bt
    • /sdcard/external_sd/bt/bt.img
    • /sdcard/external_sd/bt/installbt.sh
    • /sdcard/external_sd/bt/startbt
    • /sdcard/external_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/external_sd/bt
    • sh installbt.sh
    • startbt
    • bt
  2. now u are in BackTrack5 shell

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

    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)
    vnc.jpeg

    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_sgsl-i9003_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

  • IMG_1056.jpg
    IMG_1056.jpg
    48.7 KB · Views: 9,272
  • IMG_1058.jpg
    IMG_1058.jpg
    46.4 KB · Views: 9,270
  • bt5_sgsl-i9003_shell_scripts_v1.zip
    736.4 KB · Views: 614
  • sgsl-bt5-1.jpg
    sgsl-bt5-1.jpg
    25.6 KB · Views: 9,216
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,187
39,710
Pune
[ Tips n Tricks! ]

  1. if u have ur device (SGS-SL i9003) connected over wifi u can connect to the BT5 vncserver running on ur phone!! u will just need to connect to
    <ip_address_of_phone>:<portno>

    attachment.php


  2. most of the startup/launching commands can be executed even through adb shell
 

Attachments

  • sgsl-bt5-2.jpg
    sgsl-bt5-2.jpg
    65.1 KB · Views: 7,455
Last edited:
A

anna0811

Guest
can you kindly tell me what is backtrack 5 ? and what is its use ?
 

xarolx

Member
Apr 20, 2011
48
8
I think BT have advantage to track wifi rec. :p

this might be usefull ..

Sent from my GT-I9003 using xda
 
A

anna0811

Guest
will this format the phone ? can i install it on any custom rom or only on stock rom?
after installing this will it convert the phone to linux os and android will be gone ?
 

sakindia123

Inactive Recognized Developer
May 6, 2011
4,043
9,548
Noida
will this format the phone ? can i install it on any custom rom or only on stock rom?
after installing this will it convert the phone to linux os and android will be gone ?
this boots of sd card,so ur eMMC will be safe
and doomlord,this contains i9003 kernel?so if i swap the kernel,will it work with other phones?(same screen size and res)
 

vishal24387

Inactive Recognized Contributor
May 11, 2011
3,936
1,976
37
Solapur, Maharashtra
will this format the phone ? can i install it on any custom rom or only on stock rom?
after installing this will it convert the phone to linux os and android will be gone ?

If anybody who dont understand what is backtrack 5 then its better that they must search on net about it & then come here. Before just throwing question ask urself that do u really need this, do u really understood meaning of it. If yes then only go ahead :)
 

sakindia123

Inactive Recognized Developer
May 6, 2011
4,043
9,548
Noida
not really.I didn't see much that cud me added w/o kernel not compiling.
Even adding SQLB allocator caused WiFi to become unstable(and it wasnt fixed with a new module)
 

ivAnash

Senior Member
Aug 15, 2011
465
79
Bangalore
OnePlus 3
OnePlus 3T
I have my sd cards swapped.. Is there anyway to keep the files in the current int sdcard (16 gb) instead of the external (coz u have mentioned that it requires nearly 3gb in the external card)..

Anyway thanks a lot for getting it to our device.. Doom u rock..
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    hi guys here is BACKTRACK 5 on SGS-SL i9003


    most of the work was done by anantshri, i have only modified it slightly so that it will works properly on SGS-SL i9003... 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


    phone + BT5 GUI:

    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_sgsl-i9003_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_sgsl-i9003_shell_scripts_v1.zip stored in root of sdcard
    8. once ur phone reboots into OS just check the /sdcard/external_sd/bt folder
    9. final directory structure should look like this:
      • /sdcard/external_sd/bt/bt
      • /sdcard/external_sd/bt/bt.img
      • /sdcard/external_sd/bt/installbt.sh
      • /sdcard/external_sd/bt/startbt
      • /sdcard/external_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/external_sd/bt
      • sh installbt.sh
      • startbt
      • bt
    2. now u are in BackTrack5 shell

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

      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)
      vnc.jpeg

      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_sgsl-i9003_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!
    7
    [ Tips n Tricks! ]

    1. if u have ur device (SGS-SL i9003) connected over wifi u can connect to the BT5 vncserver running on ur phone!! u will just need to connect to
      <ip_address_of_phone>:<portno>

      attachment.php


    2. most of the startup/launching commands can be executed even through adb shell
    1
    can you kindly tell me what is backtrack 5 ? and what is its use ?

    http://bit.ly/z23em2
    1

    should work..

    P.S.: ur kernel for that device looks a lot like my ARC kernel... ported some stuff from it?
    1
    Hey Doomlord.. I'm trying to run Backtrack 5.. The first image is the 'bt' folder in my external sd..

    The second img is the error I get everytime I try to the run the command "cd/sdcard/external_sd/bt "

    What do I do now..

    Stock xxkpq, uc kernel v7 non oc.

    "cd /sdcard/external_sd/bt"

    SPACE