Move Applications to Memory Card

This is little write-up assumes two things:

  1. Your Android device has Busybox installed. (You have either Haykuro 5.01+ or JesusFreke ROM) 
  2. You have the Android SDK installed on your computer and your environment includes the path to your Android SDK.

Now this was written for an HTC Dream (T-Mobile G1); however, I assume this can also be used for other Andoird based devices.

  1. Launch the Terminal or Command Prompt
  2. In the terminal or command prompt type:
  • adb shell
  • df -h (This will show you a list of partitions available to the device)

At this point you will see something like this:

 

# busybox df -h

Filesystem                Size      Used Available Use% Mounted on

tmpfs                    48.4M         0     48.4M   0% /dev

tmpfs                     4.0M      8.0k      4.0M   0% /sqlite_stmt_journals

/dev/block/mtdblock3     67.5M     64.0M      3.5M  95% /system

/dev/block/mtdblock5     74.8M     34.1M     40.7M  46% /data

/dev/block/mtdblock4     67.5M      1.4M     66.1M   2% /cache

/dev/block/mmcblk0p2    552.5M    432.0k    524.3M   0% /system/sd

/dev/block//vold/179:1

                          6.8G     42.5M      6.8G   1% /sdcard

 

I’m using a 8GB memory card, your volume sizes will differ. The location to where you’ll be moving your applications to would be the /system/sd partition. Make sure this exists and its size is the one your partitioned it to be earlier. If the partition doesn’t exist your partitioning went wrong somewhere so back up and try again, until you see it.
  • cp -a /data/app /system/sd (This will copy the applications from your applications directory to your memory card)
  • cp -a /data/app-private /system/sd
  • rm -r /data/app (This will remove the applications from the phone’s memory)
  • rm -r /data/app-private
  • ln -s /system/sd/app /data/app (This will create a “link” so that you can install applications on your memory card.)
  • ln -s /system/sd/app-private /data/app-private
  • reboot

That’s all. If you need additional help the wonderful folks at xda-developers can assist you. Additionally, a more in-depth version of this is available here.




HTC Sapphire ROM ported for HTC Dream

With all the talk of G2 and the ROM update known as “Cupcake” being circulated around the internet, one online user has decided to make it happen haykuro So how does one acquire this update?

If you’re already running a rooted Dream (T-Mobile G1) then proceed to download one of the updates located on the Sapphire Dream Port Google Code Site rename it to update.zip and copy to your memory card. Restart your phone holding the Power and Home buttons. When you see a Caution logo or a JF splash screen press Alt-W (this will wipe your phone) and the Alt-S (to apply the update). That’s all.

Now if you’re not running a rooted version of the Dream then you’ll need to do that. The instructions can be found somewhere here.




Install FingerPrint Reader in Ubuntu

So I wanted to start using the finger print reader on my IBM Thinkpad T43p; however, was unable to due to lack of driver support. Nevertheless, Google showed me options form other sources on how to get this to work. Now the only problem was that some of the files didn’t exactly exist where they should be. So I went ahead and said, “Why not just change the script and host the files for all to enjoy.” Well doing that… and now I’m back to square one… Ubuntu doesn’t play well.

Well if you’d like to change up the script please do so, and make it work. So it’ll be as easy as launching terminal and typing:sudo bash fingerprint.sh
and it will install the fingerprint reader.

So all you need to do right now is download this file titled fingerprint.sh and run it from terminal with the above command. Now granted it breaks at configuration because the script was written for Fedor/RedHat systems… but I’m sure you can manage past that.




Regain Root on Your T-Mobile G1 or HTC Dream

So you update to RC30 on your T-Mobile G1 or RC8 on your HTC Dream? Sad isn’t it? Well fear not! There’s a solution. Thanks to a certain somebody who put up the DREAMIMG.nbh file which will allow us to regain our root privileges and carry on to flash custom roms. So let’s get started…

  1. Format your flash card as FAT32
  2. Copy over only the DREAMIMG.nbh file over only
  3. Hold the Camera and Power button to enter what is called “Bootloader mode”
  4. Press the power button when it tells you one time to begin the update

Now in order to transfer this to make it so you have root access do the following:

  1. Download the recovery.img to your flash card
  2. Download the HardSPL to your flash card
  3. Restart your phone
  4. Once it has booted back to normal type “telnetd” (without the quotes) – This will start the telnet daemon so you can do the next step
  5. Download from the Android Marketplace a telnet application and establish a connection the address: localhost
  6. Once successfully connected (you’ll see a #) enter the following commands:
    • mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
    • cd sdcard
    • flash_image recovery recovery.img
    • cat recovery.img > /system/recovery.img
  7. Lastly reboot the phone into recovery mode (power on the phone while holding down the home+power buttons)
  8. At the Triangle-Exclamation mark screen press Alt+L on the keyboard
  9. And then press Alt+S on the keyboard to apply the HardSPL update
  10. Once this is done, you can now freely flash whatever ROM you’d like

Now I’d highly recommend you use of JesusFreaks ROMs from xda-developers

I personally am using the latest ADP titled ADP1. Now of course if you want to use this, you’ll need to use fastboot. But now that’s another whole write up which I’ll get to soon.




HP OfficeJet J6400 and Mac OS X

Have you recently purchased an HP OfficeJet J6400 series and were disappointed when you tried installing it via System Preferences? Were you sad like me when you found out that you needed to use the CD and install all the other software that came with the printer? :(

Good news! You don’t need to! It turns out that if you install the following 3 packages you will be able to add the J6400 series printer via System Preferences:

  1. HP IP Printing support.mpkg
  2. HP Officejet Printer drivers.mpkg
  3. HP Officejet Printer PPD files-10.5.mpkg
Where do you get these files? Simple, just “browse” your CD for them. Or alternatively, just download them from here in the zipped archive I have created.



up for grabs

So pownce is shutting down… yeah, I is sad :(

I liked pownce for several reasons, but now that they have decided to leave, and me having a Pro account with them, I have a one year membership with them for free.

So up for grabs is a one year coupon code for typepad! Whoever wants their own blog typepad is a great way of starting!… yeah and just in case you don’t know how much this is worth… let’s just say typepad’s top tier plan is priced at $29.99, so $29.99 x 12 = $359.88!

If you want it, e-mail me… and heck if I get several dozen e-mails and yours has a bit more content than “gimme!” (and no I don’t mean gimme! gimme! gimme!) even if you sent your e-mail later you might just be selected!




Apple iPhone/iPod Touch 2.01 Firmware

Quick overview:

Make more bars appear on 3G phones….do I care? not really.

Addresses the keyboard lag…do I care? yes.

But now here is the catch. If you upgrade to 2.0.1 there’s no Jailbreak available for it. Rumors say that WinPWN and PwnageTool can do it, but the new version have not been released yet.

Download Here:

WinPwn

PwnageToolrent a car bulgaria




BMW Updates iDrive Interface

After a few years, many complaints, and even more copycats BMW has finally added/updated their iDrive interface. Personally I was expecting a little more, but I guess this will do for now. I was hoping that they would have gotten some sort of multi-touch pad to replace the knob to allow for a more intuitive system, but I guess the one coming out in a few months will be sufficient enough.

Here’s a PDF attachment of their new iDrive. I’m loving the on-bored hard drive to copy files to, and the map layouts.

Download Brochure




Mac Office 2008 Home & Student Edition

So it has been awhile since my last rambling; however, I thought this would be extremely helpful to many of the users who purchased Office: mac 2008 Home & Student Edition.

Now I have two MacBook computers and seeing that Office:mac 2008 H&S comes with 3 keys I figured I could install two keys and be done with it. Well the only problem is that I forgot which key I installed seeing as I installed Office:mac 2008 H&S on both MacBooks at different times. So what is the problem? I inadvertently installed the same key on both MacBooks so when I use using them both today I couldn’t have Word 2008 open on both. I would receieve an error message that they key is already in use/installed.

Now luckily Microsoft was gracious enough to put the first 3 characters of the product key in the error message, so all I needed to do was figure out how to to change the product key to one of the other two I had purchased. Well the only way officially by Microsoft as per the e-mail was, “in order to change the product key you must re-install Office:mac 2008 H&S.” Now this I do not approve of, so I go on the wonderful world of the wide web (aka the internet) and look around. Thanks to the wonderful folk(s) at MVPS I was able to reset the key without any troubles.

The process is quite simple actually but before you do anything make sure no Office:mac 2008 H&S application is open. So restart your computer if you have to and make sure the My Day application is switched off. Now, to do this change, basically you navigate to two different folders:

  1. ~/Library/Preferences/Microsoft/Office 2008
  2. /Applications/Microsoft Office 2008/Office

In the first folder what I did was right-click and select the option for “Compress ‘Microsoft Office 2008 Settings.plist’” so I would have a backup and then proceeded to delete it.

In the second folder I did the same but for the file “OfficePID.plist” and after that I simply emptied the trash and launched Word. At this point it prompt me with a wizard and I was able to input a product key and continue using both computers at the same time.




Transfering a DVD to your iPod on a Mac

I have come across many new things since the last time I posted; however, I thought this was something that would be most helpful since the iPod is becoming as common as the mobile phone. With its video capabilities coupled with larger storage space your favorite DVD’s can be stored in your iTunes library for later synchronization to your iPod. But how you ask? Well since I’ve converted over to the Mac as of 2007 (took me a few months to become “friendly” with it) these instructions will be for Mac only; however, I have not forgetting my Windows roots (nor can I) so this guide will accommodate Windows users but you’ll need to fill in the blanks. (Which I’m sure you’re used to… :P ) So let’s begin…

Things you’ll need:

The first step serves two purposes. One it decrypts the DVD, and second it creates a local copy of the DVD to you can try different methods of encoding for your iPod without having to use the DVD again and again.

  1. Launch MTR (DVDShrink for Windows Users)
    • Insert your DVD and rip the DVD to your hard drive. If using DVDShrink create an ISO file.
  2. Launch HandBrake**
    • On the Select a DVD screen, choose DVD Folder/Image and browse to the root of the ripped DVD. (Windows users will navigate to the ISO file)
    • At the bottom place a check mark in Enable queue
    • In the Source section select the Title with the most track time.
    • Click on Presets and select the iPod format. (This will set all the options for you)
    • If you can choose the option for 2 pass encoding as it will encode it properly, granted it takes double the time…. chances are you’ll leave your computer on all night anyway so knock yourself out and elect this option.
    • Click on Add to queue
    • Go back to the Title and double check to make sure there are no more lengthy track times. If there is simple repeat the previous three steps but make sure you change the name in the File field. (i.e. DVD_Title.mp4 to DVD_Title2.mp4, DVD_Title3.mp4, etc… this way you’ll know the order when you combine them later.)
  3. iPod Friendly Conversion (If you have QuickTime Pro and only one .mp4 file skip this step… there’s a quicker way…)
    • Launch iMovie HD and create a new project.
    • Go to File—Import and select the DVD_TitleX.mp4 file(s). This importing will take some time, sometimes more than 4 hours!
    • Once it has imported the track(s) drag them one at a time from the grid and put them in the the right order. (This is why you saved each file as DVD_Title2.mp4, DVD_Title3.mp4, etc… so you know which order they’ll be placed in.)
    • Now that they’re in order click File—Export and select iPod then the Share button.
    • That’s it you’re done…. it should be in your iTunes library ready for synchronization to your iPod.

If you have QuickTime Pro and only one output file from the HandBrake conversion (i.e. DVD_Title.mp4) then open the movie in QuickTime and select File—Export and set the Export to Movie to iPod. Once it exports it just move the file to your Movies folder and add it to your iTunes Library.

Depending on how you have iTunes setup, you can either “Add to Library” or “Import” from iTunes. The reason I say this is because in the Advanced Settings of iTunes there’s an option that will automatically copy the files you add to the iTunes folder. So instead of having one ~1GB movie you’ll have two thus taking up ~2GB of hard disk space as opposed to the ~1GB which you intended.

That’s it. I would post pictures; however, in the country I am in broadband internet isn’t exactly stable with large file uploads…. that I’m a bit weary from my travels today to take screen captures. Enjoy!

**Yes, yes…I know HandBrake converts it into an iPod friendly format so why the heck did I continue with iMovie HD/QuickTime Pro? Simple because although HandBrake works, for me it didn’t convert it 100% of the time into an iPod friendly format in which the iPod accepted it so I could watch it on the iPod.




  • Categories

  • Photos