-Found this little gem posted in this thread, located under the AT&T Samsung Galaxy S II Android Development Forum. So I decided to installed it on my phone and SURPRISE SURPRISE, turns out it works great on our Epic Touch 4G too !
-Anyways, you can follow the instructions which I've quoted right below, and they are also found in the link above. This installation/setup takes all but 5-10minutes if not less!!! Hardest part, if you wanna call it that(its really just the longest part), is downloading the required files. Once you've downloaded all 10 7zip files into a single location, just open ONE OF THEM and extract it by double clicking it and then dragging the bt.img file to your computer. AND you only have to do this to ONE of the downloaded files, no need to open each of them and drag out the bt.img 10 different times, BUT you do need to have all 10 of them copied into the same folder in order for the full image to extract correctly!
-Also, the instructions stated to run the following command:
but they were made for the AT&T version, so on our phones you need to either:
a)copy the bt folder off of /sdcard/external_sd to /sdcard instead; or
b)use the following commands instead:
-If you make use of it, please be sure to thank the originator of it, anantshri, on his thread here, and DooMLoRD on his thread here for assisting in porting it over from the Xperia10 to the SGSII! Good things!
-Anyways, you can follow the instructions which I've quoted right below, and they are also found in the link above. This installation/setup takes all but 5-10minutes if not less!!! Hardest part, if you wanna call it that(its really just the longest part), is downloading the required files. Once you've downloaded all 10 7zip files into a single location, just open ONE OF THEM and extract it by double clicking it and then dragging the bt.img file to your computer. AND you only have to do this to ONE of the downloaded files, no need to open each of them and drag out the bt.img 10 different times, BUT you do need to have all 10 of them copied into the same folder in order for the full image to extract correctly!
-Also, the instructions stated to run the following command:
Code:
su
cd /sdcard/bt
sh installbt.sh
startbt
bt
a)copy the bt folder off of /sdcard/external_sd to /sdcard instead; or
b)use the following commands instead:
Code:
su
[B]cd /sdcard/external_sd/bt[/B]
sh installbt.sh
startbt
bt
\\----[ Announcement ]----//
[12/July/2011] Updated with new package (bt5_sgs2_shell_scripts_v2.zip) containing shell scripts & busybox
//----[ Announcement ]----\\
hi guys DooMLoRD & anantshri present to u:
BACKTRACK 5 on SGS2
all the work was done by anantshri, i mostly assisted by testing it on my SGS2 and modding it slightly so that it will work properly for SGS2... dont forget to thank him!
i will try n keep it short and simple...
for more details u can read the original thread at X10 sub-forums...
[DEV] BACKTRACK 5 on Xperia X10 chroot
[ Screenshots ]
on startup (shell):
in GUI:
phone + BT5 GUI:
[ Requirements ]
- rooted device with busybox installed, if u are using CF-root kernel then u already have busybox installed
- Some apps from Android Market:
- Android Terminal Emulator
- androidVNC
- [optional] highly recomended keyboard: Hacker's Keyboard
- 7zip (for PC), for extracting the files
- around 3.3 GB free on internal sdcard (/sdcard/)
[ How To : File Setup ]
u need to do this only once
- download the files from the links provided in this thread
- extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
- connect ur SGS2 to PC and mount USB storage
- create a folder named 'bt' (without quotes) in the root of ur sdcard and copy the bt.img in that folder
- also place the file bt5_sgs2_shell_scripts_v2.zip in root of sdcard, this file has to be flashed via recovery
- once u verify that the above is correct then un-mount usb storage
- reboot into recovery and flash the file bt5_sgs2_shell_scripts_v2.zip stored in root of sdcard (or if u are using CWM app then just select the file for flashing and the app will do the rest )
- once ur phone reboots into OS just check the /sdcard/bt folder
- final directory structure should look like this:
- /sdcard/bt/bt
- /sdcard/bt/bt.img
- /sdcard/bt/installbt.sh
- /sdcard/bt/startbt
- /sdcard/bt/stopbt
- once u verify that the above is correct then u can proceed
[ How To : Launch BT ]
- start Terminal Emulator app on ur SGS2 and enter the following commands step by step (accept/allow any SuperUser request/popup that u may receive)
- su
- cd /sdcard/bt
- sh installbt.sh
- startbt
- bt
- now u are in BackTrack5 shell
- 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)
- 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.)
- and then press connect... now u are in BackTrack GUI!
- 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 ]
- 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_sgs2_shell_scripts_v2.zip (~800KB)
- main bt.img
these links are 7zip archives split into 50mb files, u will need to download the following:
total size: 486MB
- bt.7z.001 (50 MB)
- bt.7z.002 (50 MB)
- bt.7z.003 (50 MB)
- bt.7z.004 (50 MB)
- bt.7z.005 (50 MB)
- bt.7z.006 (50 MB)
- bt.7z.007 (50 MB)
- bt.7z.008 (50 MB)
- bt.7z.009 (50 MB)
- bt.7z.010 (36 MB)
also uploading to mediafire for mirroring...
Mediafire Folder: http://www.mediafire.com/?f9gk3p3t9wip5
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
ENJOY!
Last edited: