Anda di halaman 1dari 8

[HOW-TO] Backtrack 5 on Motorola Xoom (with Gnome UI via TightVNCServer)

After much frustration I have gotten the GUI part of the backtrack 5 arm release working with the Motorola Xoom. Pre-requisites: - Rooted Motorola Xoom (this may work with other devices, other honeycomb tablets, and probably the dual-core phones like the Atrix and G2X, but it's untested at the moment) - androidVNC from the Android Market - Backtrack 5 for ARM with Gnome downloaded and setup - Terminal Emulator from the Android Market (which you should already have) Launch the terminal emulator and enter the following commands: Code:
cd /sdcard/BT5 (this is assuming you copied it to the default location) su sh bootbt

BackTrack will start up in shell. You will get a red line that says "root@localhost:". To verify if you type: Code:
ls pentest

It should echo back the folders in pentest, stuff like 'backdoors','database',etc. At this point enter the following commands: Code:
export USER=root vncpasswd

[Edit] The second line of code ('vncpasswd') is actually optional. If you do not set a passwd for vnc, the default is 'toortoor' When you type in 'vncpasswd' this is to the the password for the tightvncserver. Since I only connect locally I just use 'qwerty' for my password, and then confirm the password. When it asks if you want to create a view only password just type 'n' and hit enter. After you have your password setup for vnc start the server up. Code:
tightvncserver -geometry 1280x800

When this happens you will get a message confirming that "New 'X' Desktop is localhost:1" and a bunch of other random stuff below it (it isn't important unless there are errors listed). At this point, press the "HOME" button on the Xoom and then open the application "androidVNC". In the "Nickname" box, you can name it whatever you like. In the "password" entry, use your password (mine is 'qwerty'). In the "Address" box you can type in localhost (or leave it blank). ****Change the port from 5900 to 5901. I also recommend setting the color-depth to 24-bit. After that press the "connect" button, and bam! You're rocking Backtrack 5 on your motorola xoom!! You're welcome to repost this on other message boards of on your website, please just give me

credit though. Thank you and enjoy! I couldn't post this in the How-To section. I think it's because my account has next to no posts at all!

[Edit] Apologies... Gnome is a Desktop Manager. Cannot correct topic name

Universal Xoom Root


Thats right, this method will work for any xoom on any update - Including future updates!!! Note: Unlike the similar method floating around on here, this also gives you an unsecured boot image.

-- Please Note: this thread is still a work in process and has been sped up by the arrival of the 4g Xooms --

Current requirements: adb & fastboot have been setup and you have an external sdcard for your xoom.

1. Setting up adb & fastboot


Easy ADB Install Use this method if you will not be developing with SDK I kanged this from TheFredElement, but I added a few files. One for screenshots and the other just in case. Download -> EasyADB Ensure USB Debugging is on. Settings/apps/development 1. Download the EasyADB zip 2. Extract the files 3. Copy SDK Tools folder 4. Navigate to C: drive 5. Paste SDK Tools folder on root of C: drive 6. Open command prompt in Windows Start icon (in search textfield type in cmd and press enter) 7. In command prompt type in Code: cd C:\SDK_tools 8. cd C:\SDK_tools is your path. Now enter: Code: adb.exe 9. ADB will execute and start

10. Connect XOOM via USB and wait for drivers to install. If not then install these Drivers 11. Type in: Code: adb devices 12. Daemon will start and your XOOM should now be recognized. An alphanumeric string will denote the presence of your device.

Installing SDK and ADB for Development Download and install these files: Drivers Android_SDK Instructions: 1. The SDK file is an executable so just run it and it will install. It will install Java Dev Kit if you don't have it. 2. After it's done you might get a java path error (I did). No worries though. 3. Go to where android-sdk-windows was installed. (default is program files (x86) on the C drive) OR (android) Either way its in a folder on the c drive 4. Copy the android-sdk-windows 5. Paste on root of the C drive 6. Open android-sdk-windows 7. Copy all files from the tools folder and paste in the platform-tools folder (or vice versa) 8. Open command prompt in windows icon, in search bar, enter cmd and press enter 9. Connect XOOM via usb. 10. Let it install all drivers. 11. If it doesn't install all of them, direct it towards the driver folder and select the drivers. 12. After all drivers are installed, in cmd window enter: DON"T COPY RED cd C:\android-sdk-windows\platform-tools <enter> <-this is if you put everything in the platform-tools folder. If you put it in tools then just put tools adb.exe <enter> <-ADB menu will start and run adb devices <enter> <-daemon will start successfully and spit out a string of about 20 letters and numbers. this is your device adb reboot <enter> <-The XOOM will reboot

You will have to enter the path (cd C:\android-sdk-windows\platform-tools) and (adb.exe) everytime you want to use adb. You can go to Environmental Variables to set add the path. 1. Right click My Computer

2. Advanced system settings 3. Environmental Variables 4. System Variables -> Path 5. ;C:\android-sdk-windows\platform-tools OR if ADB is in tools ;C:\android-sdk-windows\tools Copied from Droid_Xer's post - Setting up ADB on Windows 7 64 bit (and other Windows platforms)

2. Downloading the rooting-update zip file.


Download the zip file from here. Now place this on your external sdcard. - Sorry this is a requirement at the moment, like I said this is a bit rushed.

3. Flashing recovery
1. Download this Recovery image. 2. If your device is locked, now is a good time to unlock it. Code:
adb reboot bootloader fastboot oem unlock fastboot reboot

3. Flash recovery Code:


adb reboot bootloader fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.img

Once you have verification on your device that this has been flashed, reboot your device by holding volume up + power. Then 3 seconds after you see the Motorola logo, hit volume down. You should now see "Android Recovery" in the top left corner. Hit volume up to boot into recovery.

4. Flashing the Xoom-Universal-Root.zip file.


If you're in clockwork mod recovery you can continue (This recovery image will say it is clockwork mod) . If you're not looking at clockwork mod, then you need to repeat step 3 again.

In cwm, go into "install zip from sdcard" -> "Choose zip from sdcard", then select the XoomUniversal-Root.zip file you downloaded. Note: use the volume buttons to navigate and the power button to select

Reboot your device and then welcome to your rooted device!

Downloads

Setting up ADB on Windows 7 64 bit (and other Windows platforms) Easy ADB Install
Use this method if you will not be developing with SDK
I kanged this from TheFredElement, but I added a few files. One for screenshots and the other just in case.

Download -> EasyADB Ensure USB Debugging is on. Settings/apps/development


1. Download the EasyADB zip 2. Extract the files 3. Copy SDK Tools folder 4. Navigate to C: drive 5. Paste SDK Tools folder on root of C: drive 6. Open command prompt in Windows Start icon (in search textfield type in cmd and press enter) 7. In command prompt type in

Code:
cd C:\SDK_tools 8. cd C:\SDK_tools is your path. Now enter:

Code:
adb.exe 9. ADB will execute and start 10. Connect XOOM via USB and wait for drivers to install. If not then install these Drivers 11. Type in:

Code:
adb devices

12. Daemon will start and your XOOM should now be recognized. An alphanumeric string will denote the presence of your device.

Installing SDK and ADB for Development


Download and install these files: Drivers Android_SDK Instructions: 1. The SDK file is an executable so just run it and it will install. It will install Java Dev Kit if you don't have it. 2. After it's done you might get a java path error (I did). No worries though.

3. Go to where android-sdk-windows was installed. (default is program files (x86) on the C drive) OR (android) Either way its in a folder on the c drive 4. Copy the android-sdk-windows 5. Paste on root of the C drive 6. Open android-sdk-windows 7. Copy all files from the tools folder and paste in the platform-tools folder (or vice versa) 8. Open command prompt in windows icon, in search bar, enter cmd and press enter 9. Connect XOOM via usb. 10. Let it install all drivers. 11. If it doesn't install all of them, direct it towards the driver folder and select the drivers. 12. After all drivers are installed, in cmd window enter: DON"T COPY RED cd C:\android-sdk-windows\platform-tools <enter> <-this is if you put everything in the platform-tools folder. If you put it in tools then just put tools adb.exe <enter> <-ADB menu will start and run adb devices <enter> <-daemon will start successfully and spit out a string of about 20 letters and numbers. this is your device adb reboot <enter> <-The XOOM will reboot

You will have to enter the path (cd C:\android-sdk-windows\platform-tools) and (adb.exe) everytime you want to use adb. You can go to Environmental Variables to set add the path. 1. Right click My Computer 2. Advanced system settings 3. Environmental Variables 4. System Variables -> Path 5. ;C:\android-sdk-windows\platform-tools OR if ADB is in tools ;C:\android-sdk-windows\tools Last edited by Droid-Xer; 07-20-2011 at 08:48 PM.

Thanks dude...I have been typing it all this time..... In windows 7: click the windows symbol (aka start) right click on "computer" click properties on left side click on advanced system settings environmental variables

system variables -> path ;<drive letter>:\<folder where adb is located>

Anda mungkin juga menyukai