IT Crowd themed boot animation for Android phones
by jeremy on Jan.09, 2012, under Uncategorized
If you have a rooted Android phone, maybe you’ve messed around with replacing your boot animation (there are ways to do it without root, but you’re rooted anyway, right?).
I was bored a few months ago and I made a boot animation for my Droid Incredible that is based on the opening credits of the fantastic show The IT Crowd (look it up on Netflix if you haven’t seen it. You can thank me later). Now I’ve updated the animation for the 720p screen on my new Galaxy Nexus.
I made a crappy video demonstrating the boot animation here: http://bit.ly/ITCBoot
If you’d like to download them, they are here:
Galaxy Nexus (1280×720 version)
Droid Incredible (800×480 version)
Basic readme instructions are included in the zip file.
Install at your own risk!
My animation got a nice mention here on Androinica: http://androinica.com/2012/01/galaxy-nexus-it-crowd-boot-animation/
Magic of RSYNC…
by Bill on Sep.28, 2011, under Uncategorized
I routinely back up my RHEL boxes with RSYNC over SSH… It’s just something I do. Yeah, I know, I’m using “X” commercial backup application and it works well, yadda, yadda, yadda. However, I still make at least weekly backups with RSYNC to a NAS. It is a habit of mine, like hookers and blow.
Question came up, “how do you do a bare metal restore from that backup?” which tags along with the question “how do you do a bare metal copy from old server to brand new server?”
If the hardware isn’t too odd (usually hardware RAID controllers you have drivers in your initrd is the limiting factor here, but you can work around that too with some Linux foo skillz…), or it’s a bare metal restore to same hardware, yes, you can use RSYNC.
for my examples: “sourceserver” is the other running server that you want to bare metal copy to the destination.
“target” is the destination server.
First: boot the destination server with a rescue disk. I use RHEL rescue CD.
Create your partitions to taste, and reboot again with the RHEL rescue CD.
Second: Mount partitions in the order you want them. example: (I just picked an example partition table, seriously, match what you really need…)
mount /dev/sda2 /mnt/sysimage
mkdir /mnt/sysimage/boot
mount /dev/sda1 /mnt/sysimage/boot
mkdir /mnt/sysimage/home
mount /dev/sda5 /mnt/sysimage/home
mkdir /mnt/sysimage/var
mount /dev/sda6 /mnt/sysimage/var
this mounts all of the “target” under /mnt/sysimage on the rescue cd.
Third: I have this script I run: (which you can make on the rescue disk, once again, a little bit of foo goes a long way…)
#!/bin/sh
rsync –verbose –stats –owner –group –devices \
–recursive –times –perms –links \
–rsh=/usr/bin/ssh \
–delete \
–include=/opt/nfs \
–exclude=/proc \
–exclude=/sys \
root@”sourceserver”:/ /mnt/sysimage
#
enter your SSH password (yes, you should allow root logon through SSH for this one, if you don’t know how to enable that, look it up on google, it’s braindead easy…)
Fourth: reset the permissions on the “/” share and make sure they are right:
chmod 755 /
Fifth: Finally, fix grub. (this example is from my VMware ESX servers…)
From the linux rescue:
Issue the grub command:
grub
then type in these commands: (depending on your hard drive layout and 0 = zero for those easily confused…)
device (hd0) /dev/sdm (this server was /dev/sdm instead of something normal like /dev/sda… salt to taste, or add butter like Paula Dean…)
root (hd0,0)
setup (hd0)
quit
then reboot and test, test again, enjoy!
Harbor Freight Auto-Darkening Solar Welding Helmet Repair
by Eric on Sep.26, 2011, under Tutorials
A little over a year ago, I purchased one of Harbor Freight’s auto-darkening welding helmets. For $50, it’s a great deal.
Unfortunately, after less than a year of use, it simply stopped working. Somewhat ironically, the way you find out that your helmet has stopped working is by getting a flash burn in your eyes when you weld using a broken helmet.
One of the guys in my welding class mentioned that there are batteries in the helmet which can go bad over time. Batteries in a solar-powered helmet? Clearly this guy was nuts — but I thought I’d check it out anyway.
Turns out, he wasn’t crazy. There are two CR2330 coin cells soldered directly to the main circuit board inside of the unit:
Checking the batteries with my voltmeter, I quickly discovered that one of them was completely dead. The other battery was still putting out a solid 3VDC.
Since soldering in batteries every time they go dead is not exactly a user-friendly solution, I decided to replace them with AAA’s. Here’s the procedure.
1) Remove the darkness adjustment knob by gently prying it off with a screwdriver. Un-screw the plastic nut which holds the unit in place.
2) Remove the clear plastic shield from the front of the helmet, and then gently remove the electronics assembly by unhooking the retaining spring.
3) Use a utility knife to pop open one corner of the enclosure. Work your way around the circumference with a screwdriver, breaking apart the plastic weld, until the cover can be removed.
4) Mark the locations of the (+) and (-) of each coin cell. Using your desoldering braid, remove the coin cells.
5) Go to Radio Shack and buy two AAA battery holders. I used these:
6) Solder one AAA holder in place of each of the coin cells that you removed. Be sure to observe polarity.
7) Using the shaft of your soldering iron, melt a hole in the side of the enclosure so that the wires from the battery holders can exit. You’ll also want to melt a corresponding hole in the cover.
8) Mix up some 2-part epoxy, and epoxy the wires to the enclosure. This step probably is not necessary, but I don’t want to burn my eyeballs again.
9) Wait for the epoxy to dry. Take this opportunity to clean all the viewing windows with Windex and a lint-free cloth, then reassemble the unit. There are four friction pins which seem to hold everything together just fine.
10) Re-install the electronics housing into the helmet. Re-attach the darkness adjustment dial.
11) Glue the two AAA holders to the inside of the helmet. I initially used the same epoxy that I used to hold the wires in place, but it didn’t bond to either the plastic of the helmet or the plastic in the battery holders. I ended up using my hot glue gun, which worked very well.
12) Install four AAA batteries, and then test your helmet. I found – quite by accident – that the helmet will darken when you look at a halogen light bulb.
13) Go weld stuff.
Good luck with your repair!
~Eric
My Conversation with an AIM Bot
by Eric on Jun.21, 2011, under Security
AIM Bots are nothing new — a poorly coded Eliza clone will IM you and attempt to get you to click on a URL. The URLs I’ve seen tend to fall into one of two categories: either a link to a malware download (usually an .exe) or a “free sign up” of some type which asks for your credit card information.
Here’s a conversation I had with an AIM bot which called itself “Jenny”… (note: I added the .noclick suffix to the URL)
(1:11:17 PM) incandescence20:
(1:12:49 PM) x2716057: this seems legitimate.
(1:13:06 PM) incandescence20: hello whats up? 21/f you
(1:13:35 PM) x2716057: my name is Alan Turing
(1:13:58 PM) incandescence20: Jenny
(1:14:17 PM) x2716057: Jenny.py I bet
(1:14:37 PM) incandescence20: o i’m sorry i can be forgetful at times..
(1:15:01 PM) x2716057: The thing about Arsenal is, they always try to walk it in.
(1:15:30 PM) incandescence20: so whats up
(1:15:39 PM) x2716057: My hovercraft is full of eels.
(1:16:08 PM) incandescence20: not much just got done reading a book.. it got me feeling naughty..
(1:17:00 PM) x2716057: I bet that you have a webcam you want me to check out.
(1:17:22 PM) incandescence20: are you in the mood 4 some fun?
(1:18:13 PM) x2716057: Are we going to balance my checkbook?
(1:18:37 PM) incandescence20: weII i have a webcam do you wanna play?
(2:13:15 PM) x2716057: Shocking!
(2:13:38 PM) incandescence20: i would love to let you watch me play with my pussy for u do you want to see?
(2:14:24 PM) x2716057: What kind of cat do you have?
(2:14:42 PM) incandescence20: ok click http://secretchatroulette.noclick.com/acceptinvite?=1796 & fill out your info don’t worry it’s FREEE!!!
(2:15:28 PM) x2716057: All that trouble to write an AIM bot and your URL doesn’t even work. Sheesh.
(2:15:48 PM) incandescence20: if i was a bot ..why would i be wearing this hat?? lolz
(2:16:34 PM) x2716057: you must be regex’ing on the word bot
(2:16:59 PM) x2716057: if ( $string=~/bot/i ) { print “I am not a bot”}
Jenny stopped talking to me after the last IM. I guess she doesn’t like Perl.
Backtrack 5 is out! Do you get a kernel panic when you startx? The FIX is here!
by Bill on May.18, 2011, under Hardware, Security, Tutorials, Whining
So, being someone who used Backtrack daily for my career, I routinely make sure I’m current with Backtrack. So Backtrack 5 is out, I went and grabbed x64 KDE version, backedup up my PSKL directory on BT4R2, and blew it away…
First thing, startx didn’t load from the DVD until I removed some cache files…
rm /root/.kde/cache-root/icon-cache.kcache
rm /root/.kde/cache-root/plasma_theme_Volatile.kcache
rm /root/.kde/cache-bt/icon-cache.kcache
rm /root/.kde/cache-bt/plasma_theme_Volatile.kcache
So finally startx loaded and I was able to use the graphical installer to install it to my hard drive on my laptop.
When I rebooted, I did startx, and got a kernel panic (blinking caps lock light). So I’m like, “M’kay, x64 kde is borked…” so I grabbed x64 gnome, repeat process, same things, x32 gnome, repeat process, same thing. ok, it’s NOT borked, I’m just not doing it right.
so I searched and searched, found nothing immediately useful. (I could bore the heck out of anyone with some of the searches I did to get at this one…)
Finally, I found this kernel parameter: i915.modeset=1
they should rename that to “setbrokentofixed=1″
So, put that at the end of your GRUB_CMDLINE_LINUX_DEFAULT in your /etc/default/grub and update-grub!
Boom, I appended that and now startx works and I can enjoy the BT5 goodness… Now I just gotta configure my metasploit account on there and put my pskl directory back with all out awesome scripts.
Enjoy BackTrack 5!
Update (June 15th 2011): Talking with a few others, including the great comments here, you might need this like in your /etc/default/grub
Alternative line from Daveonator:
GRUB_CMDLINE_LINUX_DEFAULT=”text splash vga=791 i915.modeset=1″
then update-grub.
Try it, and let us know.









