InSamsung Galaxy S (Captivate)Install OnBT5 ARM
Hello everyone
First, congratulations to the BT team. They are so excited (they can have a system that supports the ARM series CPU)
This is an article about how to install ARM BT5 on Samsung Galaxy S (SGS-Captivate), but this method should also be feasible on other devices of the same type (android.
Mobile phone preparation
1. A new microSD card with more than 8 GB.
2. ROOT permission. I used z4root to get it on the machine.
3. Busybox,
(If you have installed titanium backup, busybox will also be installed)
4. An Android terminal simulator (I use ConnectBot)
5. VNC client
Start Installation
1.First, we need to find the device mount file to mount it.MicroSDCard
Install the SD card on your mobile phone and connect it to your mobile phone using ConnectBot.
The Android system will automatically mount the SD card
Now let's check which device files are used.
Code:
Su
Mount
Find the file on which the SD card is mounted. This varies with the ROM of your machine. My ROM is Cognition 3.03.
The file mounted on my mobile phone is
Code:
/Dev/block/vold/179: 9
Need to usePCMachine down
LINUX is required for PC systems)
2.SetSDCard hitPCAnd mounted to the file system.
I am using a usb-microSD adapter, so my SD card mount file is/dev/sdb1
3.FormatSDCard isExt2Format
As the question (so it is the same if you use the disk tool to format it to ext2 without using LINUX)
Code:
Mkfs. ext2/dev/sdb1
4.HangingSDCard
Code:
Mkdir/mnt/sdb1
Mount-t ext2
/Dev/sdb1/mnt/sdb1
5.CreateBT5And decompressBT5Of7zPackage
Code:
Mkdir/mnt/sdb1/BT5
Cp bt5-arm.7z
/Mnt/sdb1/BT5
Cd/mnt/sdb1/BT5
7z e bt5-arm.7z
6.Decompress the image file
Code:
Gunzip bt5.img.gz
7.Modify the boot file (Boot Loader)
Modify as follows (TRANSLATOR: here should be the modification and decompress the boot file in the BT5 System)
Modify row 6th to: export kit =/data/local/sdcard/BT5
If you want to display (start) device information, you need18Modify rowBusybox 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/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
$ 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
Use yourSamsung Galaxy S
(Captivate)Mobile phone
8.SetSDCard installation back Mobile phone
Because the SD card is an ext system, the mobile phone cannot be correctly identified.
9.SetSDCard mounted/Data/local/sdcard (You can create a folder without folders.)
Now we need to hook our SD card and use the first step.
Code:
Mkdir
/Data/local/sdcard
Mount-t ext2
/Dev/block/vold/179: 9/data/local/sdcard
10.SwitchSDCard directory (because we putSDKMount/Data/local/sdcardDirectory, so this directory correspondsSDCard root directory)
Code:
Cd
/Data/local/sdcard/BT5
11.GuideBTSystem
Code:
Sh bootbt
If you return the following information:
Code:
Root @ localhost /#
Congratulations, you have started working on the BT system.
Now let's get started with the interface.
12.ModifyStarvncSet the file resolution800x480,Because this is Mobile phone Resolution.
You can also choose not to change it, but if you change it to/usr/bin/startvnc, you have to change it to the following:
Code:
#! /Bin/bash
Rm-rf/tmp/. X1 *
Vncserver-geometry
800x480
13.Obtain Environment Variables
Now you can run startvnc, but there will be some errors, so I suggest you first lay the following code ::
Code:
Su-
14.RunStartvnc
Code:
Export USER = root
Vncpasswd
Startvnc
If you have not12Step:
Code:
Tightvncserver
-Geometry 800x480
15.UseAndroidOfVncConnect to Local Machine
Connect to your mobile phone using VNC
Code:
Nickname: BT5 ARM
Password :*******
(Whatever you chose)
Address: localhost
Port: 5901
Colof-Format:
24-bit (Recommended)
16.Delete the message and shutdown tray icon from the top panel
When I use a keyboard to control the VNC to connect, I cannot use some letters, such as s or m. I just need to use the mouse to kill those programs (that's it ).
17.Enjoy yourBT5System
Any comments are welcome.
Original article address:
Http://www.backtrack-linux.org/forums/backtrack-5-how-tos/40719-installing-bt5-arm-samsung-galaxy-s-captivate.html? Langid = 8
To put it bluntly, step 2 is important. After guiding BT5, it is basically OK. The following VNC is used to obtain a graphical interface for control.
Postscript:
After formatting ext2 according to the tutorial, the old D cannot mount it on the mobile phone. Error: No such Devive.
Later, we discussed the estimated cause of the system. The driver was OK. We took the SD card and put it in/dev/block/vold/with a new file.
Put the SD card back into UBUNTU and format it as Ext3, then put it back on the phone and then hung up.