Monday, February 8, 2010

Hacking your cell phone (for techies)

Dude (or dudette) where's my pictures?

Some cell phones don't give you access to your pictures, videos etc., other than to run up data charges by sending them. If you want to get access to them, there are tricks you can use. This is for the fairly techie user, so it is just an example. My laptop is running Vista,and my cell phone is a cheap LG VX5500 but the principles should work on other systems.

Obviously if you have a smart phone, you probably don't need to do all this. But if you are smart and your phone is dumb, or if you are just a general mad scientist type, read on.

1. Assuming you have a mini-USB port on your phone, get a cable for it. If this doesn't work, it will at least let you charge your cell phone from your computer.

2. Plug the mini-USB cable into the computer and the cell phone and turn each on.

3. In Vista, it should auto detect and install a device driver for you. If that doesn't work, you can Google for the driver for your phone and install it yourself.

4. Ho hum. OK you are set? you should go into Device Manager (or equivalent) and confirm that it sees the device. You will not see it in the file system (e.g. Computer, My Computer etc.).

5. Go to www.bitpim.com and download BitPim. It supports:
Windows 2000/XP/Vista/7
Linux RPM
MacOS X 10.3+ (Universal)

6. If you are the type that likes to ask for directions or use manuals, you may want to read the online help first. (Nah.)

7. Figure out what model of phone you have. Set up BitPim accordingly. You don't really need to know what port you are on, you can choose autodetect.

7. You can select an advanced option to access the cell phone's file system. You should be safe as long as you are only doing downloads and don't muck with the files on the phone itself. (If something bad happens, don't blame me, go back to the store and say "it just stopped working".)

8. On most of the Verizon LG phones, the user media files are in subfolders of the brew folder, you just have to explore around a bit and find them (buncha files ending in .JPG!).

9. Right button click and select the option to make a zip file backup. You can also find things like your calendar, text messages and address book and back them up as well. Here's what I see on BitPim on my phone:

Here is my cellphone's filesystem in BitPim!
The picture folder (directory) is highlighted.
Right button click on a directory and it offers to make a zip file on your local file system.

If you double click on any file it will bring it up in a HEX editor.


Here is my cellphone's filesystem in BitPim!
The picture folder (directory) is highlighted.
Right button click on a directory and it offers to make a zip file on your local file system.

If you double click on any file it will bring it up in a HEX editor.

Here's a guide that gives you some information about the common locations for many VERIZON cell phones. I can't vouch for it, as I don't own every damn phone listed. But if can give you some good ideas where the goodies are, even if you have a different model.
http://mark.cdmaforums.com/FileLocs.htm

10. Unzip the files and do what you want.

As I side note, I actually took, and downloaded a pixelated photograph from my cell phone, and blew it up and it was actually accepted in a juried photography show.  (The image quality gave it a somewhat impressionist quality.

Note: this is for informational purposes only, and I take no responsibility for the accuracy of this information.

Tuesday, January 19, 2010

Java Kicks Ruby on Rails in the Butt | Ruby-On-Rails

Java Kicks Ruby on Rails in the Butt | Ruby-On-Rails.
A nice presentation, although the Englsih grammar is a little sketchy.  I did think he handwaved a bit about migrations, in that the pseudo-sql in ruby is what is supposed to generate the actual SQL.  Nice summary of model driven development, though.

Tuesday, November 24, 2009

The Principal Principle

is it just me?


principle is a law or rule.
principal is a chief or leader or senior.
Why do people ask for 
principle 
developers?

Wednesday, October 7, 2009

App Engine from Scratch

I decided to see how easy it was to deploy an app engine project without reading all the documentation.
I already have the Google plugin for Eclipse.
So I created a new default Google Java application project for GWT and AppEngine, changed the greeting service to reverse a String. Very stupid app, just for testing purposes.

Did have to ask a couple of questions, trying the experiment of NOT reading any documentation.
OK so:
1. Sign up for app engine.
2. Give them your cell phone number.
3. Get an SMS message back.
4. Enter it.
5. Create your application URL at https://appengine.google.com/
5 1/2. Make SURE you put your application name IN your appengine-web.xml file. This is where I ran into a snag!
It will look like:


<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>edsmiley666test</application>
<version>1</version>


<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
</appengine-web-app>



Yeah, App Engine needs to look at that to be able to deploy! Otherwise appengine says WTF is this and 403s you.

6. Click your little app engine icon to deploy. It will grind away like this:
Compiling module geek.Edsappenginedemo
Compiling 6 permutations
Permutation compile succeeded
Linking into C:\eclipse3.4\workspace\edsappenginedemo\war
Link succeeded
Compilation succeeded -- 24.149s
Creating staging directory
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
Cloning 31 static files.
Cloning 51 application files.
Uploading 26 files.
Uploaded 6 files.
Uploaded 12 files.
Uploaded 18 files.
Uploaded 24 files.
Deploying new version.
Will check again in 1 seconds
Closing update: new version is ready to start serving.
Uploading index definitions.
Deployment completed successfully

The app itself, which is not worth looking at is at http://edsmiley666test.appspot.com/.
Each deployed version gets a subdomain of it, e.g. http://1.latest.edsmiley666test.appspot.com/

October GTUG

SV-GTUG Tonight: App Engine 1.2.5 release.
October Meeting: App Engine 1.2.5 Coding Session Oct 7 Wed 6:00 PM
Where? Googleplex (Bldg. 43) 1600 Amphitheatre Parkway Tunis Conference Room Mountain View, CA 94043

...
blogging live from october sv-gtug

It’s a nice cozy group here, and several Santa Cruzans are here as well.
(Maybe the “write code” pared it down somewhat.)

So just finished off my ginormous burrito and diet coke.
Just learned about a framework for Groovy on AppEngine.

Wednesday, September 9, 2009

My Guice Presentation

My presentation

Attention is so short, I thought that there was room for a really really “KISS” dead simple presentation on Guice, so I tried to restrict it to 12 slides and a “hello world” type application. I figure if you “get” IoC, not just as a way to get “Spring” on your resume, you’ll get the basics from it and then move on to the grown up stuff.

Eclipse Day At Googleplex 2009

Conference I recently attended.

SLIDES AND VIDEO AT:
Eclipse Day At Googleplex 2009 – Eclipsepedia.

Eclipse in the Enterprise: Lessons from Google – Terry Parker, Google & Robert Konigsberg, Google
Developing DSLs with Eclipse – Peter Friese, itemis
OSGi for Eclipse Developers – Chris Aniszczyk, EclipseSource
Developing for Android with Eclipse – Xavier Ducrohet, Google
Distributed OSGi in the Eclipse Runtime Project – Scott Lewis, EclipseSource
Deploying Successful Enterprise Tools – Joep Rottinghuis, eBay
Build and Provision: Two Sides of the Coin We Love to Hate – Ed Merks, Eclipse Modeling Framework Lead
Google Plugin for Eclipse: Not Just for Newbies Any More – Miguel Méndez, Google