Showing posts with label Droid. Show all posts
Showing posts with label Droid. Show all posts

Saturday, October 30, 2010

Aircrack for Droid

I installed Debian onto a 4GB partition of my 16GB sdcard in my Moto Droid. This was quite the fun little adventure. I'll have to go more into it sometime later. While I was messing around with different packages and programs. I decided to pull down the aircrack-ng suite. After a lot of testing and playing, I found out that the Droid hardware just doesn't want to go into monitor mode. You can KINDA get it to work, but it's not reliable. The interface will just continue to disappear and your capture will not have amounted to anything. It also doesn't support injection as far as I can tell which limits much of what you can do with it. About the best that I could do was to have a script run every 30 seconds or so that would restart the interface to begin captures again. I walked around the neighborhood a few times while it was doing this. I was amazed to find that it did work a little. I'm wondering though if maybe using tcpdump wouldn't be a better solution to the aircrack-ng tools. I'll give it a test soon and write back here.

EDIT: Found out today that the wireless card in the Droid supports injection.
10/31/2010

Thursday, August 5, 2010

Installing Sapphire 1.0 with google aps on moto droid with SPRecovery

Well yesterday, a new release of sapphire for the Motorola Droid hit the Internet. I installed it [link to screenshots]and was VERY impressed. [Sapphire is a from source android build, similar to cyanogen.] So I'll walk through the process that I used to install this awesome rom. Seeing as I am a Linux user, I'm going to go about installing this rom from Linux using only the CLI. This guide assumes that you have root access.

First off, install SPRecovery (if you don't have it).  Next, grab the sapphire rom, the google apps, and the black bar theme (you only need this if you want to have the same setup as my droid). OK, here comes the fun part. Mount your Droid and copy the files to the root of the sdcard. Rename the sapphire rom to 'update.zip' and reboot your Droid into SPRecovery [hold x on the physical keyboard while booting up]. Use the volume up and down buttons to navigate the menus, camera to select, and the power button to go back to the previous menu.
1. Move down one option to 'wipe data/factory reset' and click the camera button.
2. Move up 4 times to select 'yes' and hit the camera button.
3. Then move down to 'install', hit the camera button, move to allow update.zip installation, hit camera again.
4. move down to Install and hit the camera button again.
5. Hit the power button to return to the main menu.
6. select mount options and hit the camera button
7. select enable usb mass storage and mount phone.
8. rename sapphire update to something else and rename sapphire google apps to update.zip and unmount
9. select disable usb mass storage and click the camera button
10. press the power button to return to main menu and repeat steps 3-7
11. rename google apps update to something else and rename black bar theme to update.zip and unmount
12. select disable usb mass storage and click the camera button
13. press the power button to return to main menu and repeat steps 3 and 4

Here are the CLI commands that I used. Enjoy

$ cd ~/src/
$ wget http://files.ccroms.net/download.php?q=sapphire/froyo/1.0.0/release/sapphire-1.0.0-update.zip
$ wget http://files.ccroms.net/download.php?q=sapphire/froyo/1.0.0/release/sapphire-1.0.0-gapps-update.zip
$ wget http://files.ccroms.net/download.php?q=sapphire/froyo/1.0.0/themes/spr/sapphire-1.0.0-black_bar-theme.zip

# mount /dev/sdb1 /mnt/phone
$ cp ~/src/sapphire-1.0.0* /mnt/phone/
$ mv /mnt/phone/sapphire-1.0.0-update.zip /mnt/phone/update.zip
# umount /mnt/phone

# mount /dev/sdb1 /mnt/phone
$ mv /mnt/phone/update.zip /mnt/phone/sapphire-1.0.0-update.zip
$ mv /mnt/phone/sapphire-1.0.0-gapps-update.zip /mnt/phone/update.zip
# umount /mnt/phone

# mount /dev/sdb1 /mnt/phone
$ mv /mnt/phone/update.zip /mnt/phone/sapphire-1.0.0-gapps-update.zip
$ mv /mnt/phone/sapphire-1.0.0-black_bar-theme.zip /mnt/phone/update.zip
# umount /mnt/phone

Sunday, July 25, 2010

So you bricked your Moto Droid.

Ok, so I have this really bad habit of bricking my Droid or loosing root.... you name it, it's probably been inflicted upon my device. So in an effort to keep me from loosing my notes on the subject, here is my Linux based process for un-bricking my Droid. I'm not sure how legal it is to link to roms and such but I don't need those I already have my nandroid backups.

Needed files, SBF_flash and SPRecovery_ESE81.sbf
This is a retarded simple fix. (you can still damage your phone beyond repair blah blah blah...)

Download SBF_flash and SPRecovery_ESE81.sbf [these are the links from CyanogenMod Wiki] Plug in Droid while turned off and then power on while pressing up on the d-pad. This will dump you into the boot loader. Then run './sbf_flash SPRecovery_ESE81.sbf' This will flash the recovery image to your Droid. And now you are done. Congrats you just un-bricked your phone. Now install the Nandroid backup of your choice or install the rom of your choice. Enjoy.

Thursday, January 28, 2010

Using Google Voice through Ekiga on Android

Well I am the proud owner of the Motorola Droid. I have a Google Voice (GV) account, a gizmo5 account and an ekiga account. I wanted to be able to receive calls over SIP from GV to ekiga. But GV does not provide any ties to any sip service other than gizmo5. I found that I could forward calls coming into gizmo to another sip service. This is how I made Google Voice work over sip on my Droid.

I found a sip client called Sipdroid that has worked the best for me on my Droid. The developers of this application add in a lot of support for the sip services offered by PBXes. I find this to be needless for my uses of a sip client, but some people may find it easier to use.

First, your going to need to log into your Google Voice account. Go into settings and add a phone. This phone will be your gizmo5 number [the 1-747-***-**** number] and you should select gizmo5 as the type of phone. Do not verify the new phone yet. Now, you need to log into gizmo5 and forward all calls to your *@ekiga.net.

Now, you need to download and install sipdroid from the android market. Open the program. Tap the menu button and go into settings. Go into 'Sip Account Settings' and enter your ekiga log in information into the user name and password spaces. For the 'Server' enter 'ekiga.net' leave Domain blank. The Port should be 5060 and protocol should be UDP as TCP will not authenticate with ekiga yet. Now, hit back and go into 'Call Options' and make sure 'Use Wlan' and 'Use 3G' are checked. I don't advise using EDGE as the call quality is very poor. For 'Preferred Call Type' select 'phone'.

Under 'Advanced Options' you can adjust the gain. Settings higher than the defaults can cause significant problems for the person(s) on the other end of the call. Be wary when setting them and also consider heavy testing from multiple locations before setting on your preferred settings here.

Now, go back to the settings in Google Voice and verify your gizmo5 phone. Your android phone should ring, slide up to answer the call, then slide the arrow at the bottom of the screen to bring up the dial pad and enter the verification code from GV.

Presto!! Your now receiving GV phone calls over SIP on your android.