Results 1 to 1 of 1

Thread: Backtrack 5 Modified Scripts for the Droid DNA

Hybrid View

  1. #1
    Just burned their ISO
    Join Date
    Sep 2011
    Posts
    22

    Default Backtrack 5 Modified Scripts for the Droid DNA

    I spend a good few hours working this out. I have been a long fan of Backtrack, and was unable to get it to work on the HTC DNA reliably until now. Here are the modified scripts.

    YOU MUST BE ROOTED AND HAVE BUSYBOX FOR THIS TO WORK, I RUN DSB'S KERNEL AND UKB, WORKS FINE FOR ME. I TAKE NO RESPONSIBILITY FOR THESE INSTRUCTIONS OR SCRIPTS ON YOUR PHONE, USE AT YOUR OWN RISK.

    Included:
    bootbt - starts up the loop device, and mounts all the needed partitions
    ubt - unmounts the partitions, and sets your path variable back to normal

    Instructions:
    Download the ARM img file from the main part of the site, Copy the bt5.img and other files (EXCEPT the bootbt) onto your sdcard into a folder named bt5.
    Open terminal emulator and type su. cd to /sdcard/bt5 and type sh bootbt. Profit.

    The bt image file is about 4.9 gigabytes. Technically it doesn't need to be that large, as the file structure is only about 2.5 gigs of space in use. If you want to resize it, you need to open up a Linux based VM (or like I did, Backtrack) or be on a linux machine and do the following terminal commands as root. (IE Sudo/SU)

    This will create a blank image file that is about 3.2 gigs with 1 meg blocks
    Code:
    dd if=/dev/zero of=/path/to/new/btsmall.img bs=1m count=3300
    This will create an ext file system for said image, make sure to say yes when it warns about being a special block.
    Code:
    mkfs.ext4 /path/to/new/btsmall.img -N 35000
    This will create mounts to open the two image files
    Code:
    sudo mkdir /mnt/btlarge
    sudo mkdir /mnt/btsmall
    This will mount the two files, then copy one into the other, recursively
    Code:
    mount -o loop /path/to/large/bt5.img /mnt/btlarge
    mount -o loop /path/to/small/bt5.img /mnt/btsmall
    cp -Rfpv /mnt/btlarge/* /mnt/btsmall/
    Once they are done, unmount
    Code:
    umount /mnt/bt5large
    umount /mnt/bt5small
    From there, copy over to your storage and make sure the file path reads /sdcard/bt5/bt5.img as that's what the scripts are meant to read.

    Hopefully someone finds this helpful! :-)
    File allegati File allegati

Similar Threads

  1. Backtrack Partition Tutorial Should Be Modified
    By hitmen in forum BackTrack 5 Beginners Section
    Replies: 1
    Last Post: 08-28-2012, 12:52 AM
  2. Backtrack 5 on Motorola DROID A855
    By nikon in forum BackTrack 5 ARM topics
    Replies: 4
    Last Post: 06-17-2012, 10:48 PM
  3. WiPhire (Modified for BackTrack 5R1)
    By ENi159 in forum BackTrack 5 Tool Requests (NOW CLOSED) Please see sticky
    Replies: 1
    Last Post: 09-03-2011, 09:26 AM
  4. Backtrack 5 ARM on Droid Incredible
    By m4rduk in forum BackTrack 5 ARM topics
    Replies: 14
    Last Post: 06-16-2011, 11:38 PM
  5. Replies: 1
    Last Post: 03-18-2011, 09:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •