[Android] Install FroyoMod onto Motorola Milestone

This document does explain in short how you install the popular FroyoMod onto your Motorola Milestone.
( Froyomod does use Android 2.2.2 )

- install RSD Lite v4.9
- download and unzip vulnerable_recovery_only_RAMDLD90_78.zip
- download androidiani-openrecovery ( http://code.google.com/p/androidiani-openrecovery/ ):
unzip into root of your Android SD ( update.zip + OpenRecovery Folder )
- Download Bootimage for your Droid (http://forum.xda-developers.com/showthread.php?t=815595) und verschieben auf SD nach /sdcard/openrecovery/updates ( Zip nicht entpacken! )

- Shutdown Phone, Connect USB, HOLD D-PAD UP, Power on
- RSD Lite Flash Vulernable, Hold D-PAD UP on Reboot -> Boot to Boot Loader (OTHERWISE: OTA LOCK!)
- Shutdown, Hold Camera Button + Power Button (or X+PWR), Maintance Screen comes up. Press Speaker U+ Camera, choose with D-Pad apply sdcard:update.zip and click
- Backup: Recovery, Recovery All
- Wipe: Wipe Dalvik, Wipe Cache und Wipe Data/Factory Reset
- Flash: Apply Update

Thats it!
You don't need to do full wipe all the time if you change within version.

If you need QWERTZ Hardware Keyboard: Within OpenRecovery: Settings > Keyboard Layout > qwertz

Cisco PIX 506e Software Upgrade

Following the Hardware Upgrade, the Software needs to be renewed, too!
The latest PIX OS running on the 506e would be 6.3.5.125.
You can upgrade to that and use the pdm to configure the Device.
Or... you can go to ASA!
As described here ( http://www.rownet.co.uk/installing-v7-software-on-a-cisco-pix-506e/ ) you can do that quite easily.

But in short:
- Boot into Pix
- Start downloading an pdm file with copy tftp://Your_TFTP_Server_IP_Address/Your_pdmfile_name flash:pdm and disconnect the ethernet cable!
- After disconnecting, the PIX will erase the pdm from your pix, clearing the flash space for pdm
- clear flashfs
- reload your PIX into Monitor Mode / RMON
- activate your interface (interface 0 is E0, interface 1 E1)
- enter ip addr of tftp server ( server ), filename ( tftp ), ip addr of your pix ( address ) and start downloading to pix
- It will boot from tftp into ASA
- Copy ASA Image: copy tftp://Your_TFTP_Server_IP_Address/pix712.bin flash:
- Reload

Done, you got ASA.
No ASDM / PDM anymore, because not enough space, but ASA ^^

[Firefox 3.6] XMarks Problem

I have been using XMarks for very long time to synchronize my Bookmarks over all my PCs.
( Even since XMarks has been known as Foxmarks... )
But at some point, I got some really nasty problem:
The "Unsorted Bookmarks" Folder started to get "replicated":
Every sync or so, I got one more.
And more.
And more...
And I never found out why, until now:
I had serval sync profiles (Work, Home, Mobile, etc...) with restricted access to my Bookmarks.
Problem was: My Work PC didn't sync the Unsorted Bookmarks Folder - my other PCs did.
That means: Every time the Work PC did sync and saw the Unsorted Bookmarks Folder, it was "new" to him and without settings and it did download.
Next time, he did "Push" it as new Folder to the Web - not as correct Unsorted Folder, but only as a normal Favorite Folder called like that.
The Other PCs did grab that, create it a new, sync it... and so on -.-'.
Folder Storm or so.
After removing all the trash folders and enabling the Work PC Sync for the Unsorted Bookmarks, I hope it will work out...

Cisco PIX 506e Hardware Upgrade

The Cisco PIX Series has been "the" well known and powerful firewall appliance of the last decade - and for some people, this decade ain't over yet.
Cisco has released the successor "ASA" some years ago, but many people still got a PIX running.
Reasons are simple: The PIX Series has an Appliance for every problem and is rock solid.
My personal experience with that Firewall Series started with a "burned out" PIX 520 (that one is getting its own entry soon ^^).
After that, I got more into Security by doing my CCNA Security studies.
While doing the CCNAS I also bought the smallest PIX, the PIX 501 from Ebay for 70€ or so.
Sometime later, I discovered an dead PIX 506e in my Office - and I just couldn't help myself and started taking it apart.

Shortly after disassembling I stumbeled upon this Blog: http://hackaday.com/2008/09/28/upgrading-the-cisco-pix-506e/
And that looked very promissing.

Cisco started upgrading some PIX Appliances with new Software Versions.
6.3.5 was the last "PIX" Software. After that, Version 7 and Version 8 were "ASA".
( While 7 was more some kind of bridge version, at least it feels like it... )
Neither my 501,520 or the 506e do run 7.x or 8.x - at least thats what Cisco does say.
Problem is the amount of memory onboard: 501 and 506e only got 8 MB of Flash - not upgradable.
The 520 got 2 or 16 MB Flash - but ain't supported. Another problem is the amount of RAM and CPU.

So.. I did start on these problems.

First thing after opening the 506e was exchanging the CMOS Battery.
Seriously, I felt as that this PIX was always crashing because of some dead battery.
At least, it give me a better feeling having that thing loaded up again.

After that, I was looking for the RAM: SDRAM, 100 MHz FSB.
I looked through the inventory and found 2 bars, each 256 MB, 133 MHz.
Maybe not the best idea, the 506e is only going on 100 MHz, but worth a try.
And - it did work. So, we got the 32 MB replaced by 512 MB.
I think that should be... enough.

RAM is done, Battery replaced, but what about the CPU?
Good Question!
The 506e is running on an 300 MHz Pentium 2 Celeron (SL36A, Mendocino Core, 128 KByte L2, 2V) - not really much.
So I was looking around again and found an awesome 1 GHz Pentium 3 (SL4C8, Coppermine, 256 KByte L2, 1.7V).
After pluging in and testing I found out that this thing was really working. Problem were the 133 MHz FSB - so the CPU did only run with 750 MHz - more than enough!
I was seriously happy, but a problem was coming up: Heat.

The PIX 506e enclosing is really badly build: The CPU Cooler is just sitting some milimeters under the hood, not ventilationholes anywhere except at the end of the case. You can even see some dust burned into the case inlay above the cpu cooler... "nice". So - the new CPU would be really too much for this case. And my idea was correct: Some minutes after closing the case and running the firewall - the CPU got shutdown because of thermal problems. Ok! What to do now? Well - solution was easy: Just cut out the steel enclosing above the CPU Cooler, get some special cloth above it - so nobody would touch in - and close the case. Problem solved.

The next question came up: Well, what does that "little tweaking" really did to the firewall?
Solution to that: Benchmark!
I fired up iperf / jperf with following command:
bin/iperf.exe -c SERVERIP -P 4 -i 20 -p 5001 -w 512.0k -l 512.0k -f m -t 3600
1 Hours, special Packet Size, 4 Parallel Threads. That should "burn-in"....
...and it did: After 20 Minutes with really superior performance ( CPU on 10% by delivering 92 MBit/s! ) the CPU died.
And the powersupply? Well - felt like on fire, too. Damn.

So, the CPU seemed to be too much for the little firewall...
But I didn't wanted to stop there.
The next burn in with the old CPU took place.
Everything was fine, nothing was hurt except the dead CPU.
The firewall was running hour on hour smooth with 100% Network Stress.
( With the 300 MHz CPU, the PIX was already working above 40%... well,... not as good )
Ok.

After stumbeling around in my cases, I finally found the best CPU I came up with at the moment:
SL3XY, Coppermine, 256 KByte L2, 1,65V - an Pentium 3 with 733 MHz.
And I didn't even knew wheter that thing was still working.
I really thought I fried it already some years earlier...
Well, it seemed like... not!

In the end, the Firewall did work at 550 MHz ( 133 MHz FSB aswell... ) for over 4 hours,
26% CPU Load - nice! I think thats ok (The power supply also stayed reasonably cold).

The last thing I did was installing an passiv Heatsink on the AGP Chipset of the PIX.
It was getting hot for no reason... So.... some better cooling than the naked Chip itself is always nice...

So - that was the Hardware. But what about the PIX OS?
Mh...

Next Post 😉

[Linux] Ubuntu Root Server to VMWare BareMetal Recovery

I got an root server on the net hosting an important website and am doing backups on a daily base using Tartarus ( http://wiki.hetzner.de/index.php/Tartarus_Backup-Konfiguration ). But as we all know: Backups are only worth a penny if they really work and are usable after an crash. Therefor I did try to recover the "dead called" machine onto BareMetal - or at least BareAir - as it was an VMWare Machine I used.

PreWork:
- Creating VMware Machine with same background and partition structure
( 40 GB HDD: Swap, Root, Boot Partition )
- Install Ubuntu 10.04.2 LTS

Recovery:
- Boot with Linux Live CD
- mount /dev/sda2 (my Root Partition)
- Recover Tartarus Backup curl ftp://USER:PASS@YOURSERVER/home-20080411-1349.tar.bz2 | tar xpvj -C /mnt/restore
- mount /dev/sda1 (my Grub Partition) and maybe recover Tartarus Backup of the Partition (most likely that should be do more harm than good... so... maybe leave it 😉 )
- Check UUID of the Partitions with blkid
- Change blkid within /etc/fstab
- Reboot

Done... or most likely 😉

PS: Maybe you will need to remove /etc/udev/rules.d/70-net-persistent and reboot because of the broken Ethernet Card...

[Win7] ATI HD6870 + Mjölnir 1

I recently bought an ATI HD6870, replacing my old and very noisy and hot HD2900XT+.
As far as it seems it was an really good idea, as the new graphics is just awesome in performance and price (~180€).
By the way, I would recommend the Sapphire "Not-Reference" Model which comes with an special cooler - and is damn quiet.

And another thing: ATI brought out an Preview of the new 11.4 Driver called "Mjölnir 1" which does improve overall performance.
Its not stable yet, but maybe you want to check it out: http://support.amd.com/us/kbarticles/Pages/Catalyst114earlypreview.aspx
( Windows 7, Vista Only )

[Android] Welcome!

Android by www.richd.com

Starting from today on, I want to give a little bit more detail about the little green Robot above:
The Smartphone OS Android.
Reasons for that is quite simple: I helped myself to an Motorola Milestone ( German "Droid" ).
And I'm really happy with that.
Actually I do want to get a bit more into Detail about the different Versions and the nice "side projects" and Apps.
I hope you'll enjoy it.

Picture Copyright by richd.com ^^

[Linux] Multiplexing Screen

And now an nice tip by Darren Kitchen of Hak5!
( www.hak5.org )

HakTip: Multiplexing Screen Sessions

What’s more wicked than a screen session? Two screen sessions! As we’ve talked about recently the unix command Screen is a great way to maintain bash sessions from multiple SSH clients without losing your work. My favorite shortcut after invoking the “screen” command is CTRL+a followed by “S”, which splits the screen horizontally in two. Use CTRL+a then Tab to switch between the views. Debian users get the added sexyness of vertical split by hitting CTRL+a then Pipe.

[WinXP] Windows 7 Taskbar Tool

Some of us still work on Windows XP.
I myself still prefer to have my P4 3 GhZ Single Core at work to run with the "old" Windows, because of Ressources and the good feeling to have an proven system installed. The only thing that I find really annoying is the taskbar: I really love the feature of Windows 7 to reorder taskbar entries without restarting applications.
And thats something Windows XP can do as well with Taskbar++
( http://www.chip.de/downloads/Taskbar_19900036.html )

Just install and run it, move your mouse cursor over the taskbar and press and hold ALT.
The mouse cursor will change to a finger, then you can click and hold an entry and move it on the taskbar.
Let go of the icon and ALT and everythings set again.