TGS Forum
Hello Guest,

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features.

By joining this community for FREE, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, & many other special features.

Registration is fast, simple & absolutely free, so please, join our community today!
TGS Forum
Hello Guest,

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features.

By joining this community for FREE, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, & many other special features.

Registration is fast, simple & absolutely free, so please, join our community today!
TGS Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


 
PortalHomeLatest imagesRegisterLog in

 

 Installing Backtrack 5 on Samsung Galaxy Tab/Android

Go down 
4 posters
AuthorMessage
ungli
Moderator
Moderator
ungli


Points : 497
Posts : 222
Join date : 2011-04-05
Age : 33

Installing Backtrack 5 on Samsung Galaxy Tab/Android Empty
PostSubject: Installing Backtrack 5 on Samsung Galaxy Tab/Android   Installing Backtrack 5 on Samsung Galaxy Tab/Android Icon_minitimeTue Oct 25, 2011 11:36 am

[You must be registered and logged in to see this image.]


DISCLAIMER : BEFORE PROCEEDING PLEASE MAKE SURE THAT YOU HAVE ALL THE BACKUP AND THIS THREAD HAS BEEN TAKEN FROM OTHER SOURCES .. EVERY EFFORT HAS BEEN TAKEN TO ERADICATE ERRORS.. TRY IT AT YOUR OWN RISK ..


LETS START

THE PROCESS REMAINS SAME FOR SAMSUNG GALAXY S AND GALAXY TAB ... THIS ONE IS SAMSUNG GALAXY S WTF

Prerequisites for your SGS

1. A new microSD, 8 GB or more. We need to format it.
2. Root, I recommend z4root only for samsung galaxy s
3. Busybox, (if you install titanium backup you get busybox)
4. Terminal Emulator for your Android(I recommend ConnectBot)
5. VNC client


Installing

1. First we need to get device file used to mount the microSD.
Insert your microSD in your SGS, and using ConnectBot, connect to your SGS.
The Android system automatically mount the microSD
Now we need to check what file device is used.

cODE:

su
mount


Search what device file is used to mount the microSD card, this could be variable from your ROM. I am using Cognition 3.03

With my SGS I got:

Code:

/dev/block/vold/179:9


Using your PC
Now use a PC with Linux
2. Insert your microSD into PC with Linux
I am using a usb-microSD adapter so my microSD device is /dev/sdb1

3. Format microSD with ext2 filesystem
Format your microSD with ext2 filesystem

Code:

mkfs.ext2 /dev/sdb1

4. Mount microSD
Code:

mkdir /mnt/sdb1
mount -t ext2 /dev/sdb1 /mnt/sdb1


5. Create BT5 directory and uncompres 7z


cODE :

mkdir /mnt/sdb1/BT5
cp bt5-arm.7z /mnt/sdb1/BT5
cd /mnt/sdb1/BT5
7z e bt5-arm.7z


6. Uncompress IMG

cODE:

gunzip bt5.img.gz (REMEMBER !! YOU SHOULD PUT HERE FILENAME !)

7. Modify bootbt
Now we need to modify bootbt file
Modify line 6 to: export kit=/data/local/sdcard/BT5

If you get a message about some loop device you need to modified line 18: busybox mount -o loop,noatime -t ext2 $kit/bt5.img $mnt

Code:

perm=$(id|cut -b 5)

if [ "$perm" != "0" ];then echo "This Script Needs Root! Type : su";exit;fi

mount -o remount,rw /dev/block/mmcblk0p5 /system
export kit=/data/local/sdcard/BT5
export bin=/system/bin
export mnt=/data/local/mnt
mkdir -p $mnt
export PATH=$bin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=linux
export HOME=/root
if [ -b /dev/loop2 ]; then
echo "Loop device exists"
else
busybox mknod /dev/loop2 b 7 0
fi
#busybox mount -o loop,noatime -t ext2 $kit/bt5.img $mnt
mount -o loop,noatime -t ext2 $kit/bt5.img $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
busybox sysctl -w net.ipv4.ip_forward=1
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "127.0.0.1 localhost bt5" > $mnt/etc/hosts
busybox chroot $mnt /bin/bash

echo "Shutting down BackTrack ARM For Xoom"
umount $mnt/dev/pts
umount $mnt/proc
umount $mnt/sys
umount $mnt



Using your Samsung Galaxy S (Captivate)

8. Insert your microSD into SGS
Because the microSD is with ext2, SGS does not detect correctly the microSD


9. Mount your microSD in /data/local/sdcard (mkdir the directory)
Now we need to mount our microSD using the step 1

Code:

mkdir /data/local/sdcard
mount -t ext2 /dev/block/vold/179:9 /data/local/sdcard



10. Change to the microSD directory

Code:

cd /data/local/sdcard/BT5


11. Boot BackTrack

Code:

sh bootbt

If you get something like:
Code:

root@localhost / #

you have your BackTrack working. Congratulations

Now the GUI
12. Modify startvnc geometry to 800x480, because this is the resolution of SGS
Once you modify /usr/bin/startvnc , tha content is the next
Code:

#!/bin/bash
rm -rf /tmp/.X1*
vncserver -geometry 800x480

13. Get enviroment variables
Now you can execute startvnc, but I got some errors, I recommend:
Code:

su -

14. Execute startvnc

Code:

export USER=root
vncpasswd

startvnc

If you could not do step 12, do next:
Code:

tightvncserver -geometry 800x480

15. Use androidvnc to connect to localhost
Now use androidVNC to connect to our SGS

Code:

Nickname: BT5 ARM
Password: ******* (whatever you chose)
Address: localhost
Port: 5901
Colof-Format: 24-bit (Recommended)

16. Remove trayicons from top panel: messaging and shutdown
When I try to use the keyboard with into VNC connection, I could not use some letters, like minus s o minus m. Use your mouse pointer to remove applets from to panel.


17. Enjoy your BT5

wave ORIGINAL SOURCE HERE !! wave

SOURCE 1

SOURCE 2
Back to top Go down
BestGeeK
Global Moderator
Global Moderator
BestGeeK


Points : 186
Posts : 128
Join date : 2011-04-05
Age : 36
Location : Hyderabad
OS Used : Windows 7, Windows 8 Dev Preview
Mobile : Nokia 5230, iPhone 4, Blackberry 9930, Galaxy S2, HTC HD7
Browser : Opera

Installing Backtrack 5 on Samsung Galaxy Tab/Android Empty
PostSubject: Re: Installing Backtrack 5 on Samsung Galaxy Tab/Android   Installing Backtrack 5 on Samsung Galaxy Tab/Android Icon_minitimeTue Oct 25, 2011 1:56 pm

Nice!
Back to top Go down
http://bikasv.wordpress.com/
L30_Ph3niX
Grade - 2
Grade - 2
L30_Ph3niX


Points : 113
Posts : 56
Join date : 2011-08-12
Age : 32
Location : Greater Noida

Installing Backtrack 5 on Samsung Galaxy Tab/Android Empty
PostSubject: Re: Installing Backtrack 5 on Samsung Galaxy Tab/Android   Installing Backtrack 5 on Samsung Galaxy Tab/Android Icon_minitimeTue Oct 25, 2011 4:25 pm

KEWL :)
Back to top Go down
http://www.encode.co.in
snehal.tayde13
Grade - 1
Grade - 1
snehal.tayde13


Points : 48
Posts : 34
Join date : 2011-08-09
Age : 31
Location : Pune

Installing Backtrack 5 on Samsung Galaxy Tab/Android Empty
PostSubject: Re: Installing Backtrack 5 on Samsung Galaxy Tab/Android   Installing Backtrack 5 on Samsung Galaxy Tab/Android Icon_minitimeSun Nov 27, 2011 3:16 pm

have any1 tried it????? :( i guess this is enough to kill my phone :'(
Back to top Go down
http://studybca.co.cc
Sponsored content





Installing Backtrack 5 on Samsung Galaxy Tab/Android Empty
PostSubject: Re: Installing Backtrack 5 on Samsung Galaxy Tab/Android   Installing Backtrack 5 on Samsung Galaxy Tab/Android Icon_minitime

Back to top Go down
 
Installing Backtrack 5 on Samsung Galaxy Tab/Android
Back to top 
Page 1 of 1
 Similar topics
-
» Samsung and Google unveil Android 4.0 Ice Cream Sandwich - Galaxy Nexus
» Samsung Galaxy Skin
» Samsung to launch Android 4.0-based Nexus Prime
» Run your applications without installing them!
» Use XP, Office and Ubuntu (6.06 and 8.04) without installing anything.

Permissions in this forum:You cannot reply to topics in this forum
TGS Forum :: Tips & Tricks :: Mobile Tips & Tricks-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com