Monday, October 25, 2010

Remove “Password to Unlock Screen” on Android 2.1 Phone

 

You must have noticed that after you’ve set-up your your phone for Exchange email synchronization, the phone starts asking for a password every time you need to unlock the screen. You must have also noticed that the unlock pattern menu has stopped showing up in the Settings>Security menu. This is because, your phone enforces the Exchange server policy of your company. It’s the exchange server that tells your phone to enforce this security policy. It is indeed reasonable to enforce such policy because you are accessing work/company owned information but most of the time, it is very annoying having to type a password on a QWERTY on screen keypad just to unlock the screen. So I decided to look for a solution.

After Goggling around, i found this very interesting thread about developers trying to disable this annoying “feature”. So I gave it a try and it works perfectly fine on my HTC Wildfire.

I’m pretty sure you want to try it too. You may get the app from the Android market. It’s free. Thanks to the developer.

Got this from http://forum.xda-developers.com/showthread.php?t=655061.

Just search for Market > Applications > Tools > LockPicker

After installing this, you can now disable the exchange password in a few taps. Your phone now has no screen locks in place. The screen is unlocked just right after “Drag down to Unlock”. Now I wanted to re-enable to original Unlock Pattern just to have a little something to secure the data in your phone. Because you cannot find the lock pattern menu in your phone, you’ll a little help from somewhere else.  After another Google search, I found an app called “LockPattern OnOff” by curvefish. You can find this at the market. Here’s the link http://curvefish.com/widgets/lockpattern-onoff.htm this is actually just a widget that will enable or disable the lock pattern

Just install the app then add the widget anywhere on the screen. Tap the widget, it will prompt you to setup a lock pattern if you have not done it prior to setting up the exchange email. Then you’re done. Try locking and unlocking your phone.

lockPattern

Just a few hours ago, I was wondering “how can I change the lock pattern?”. There is no menu item that you could select to change the lock pattern. The quick answer is “Pretend you forgot your lock pattern”. :) Sounds funny but it works. Just try entering wrong patterns several times until the “Forgot pattern” button shows up. Then just tap this button then enter your Gmail ID and Password, then you’re good to go. Enjoy!

Thursday, January 21, 2010

DIY Mic Shock Mount


For the past couple of weeks I was looking for a cheap microphone shock mount and the cheapest I saw that was available in my country was around US$160 so I decided to build a cheap one. I only spent less than $6 and a 2 hours of my not very precious time.

Before I left office today, bought materials and tools to for my DIY shock mount which are a piece of 4”-diameter PVC pipe coupling ($0.50), a set of hair ties($0.40), set of stove bolts ($0.50), a set of coping saw frame and blades ($2.5).

First, I decided to cut the PVC coupling so it would look like Rode SM3 shock mount’s frame.

GEDC0732 GEDC0734 

Then I used the section of the PVC coupling that was removed to be a attachment brace to the original mic holders base and bolted it to the base of the frame. I had to heat that part so could bend it to a desired angle.

GEDC0750 GEDC0758

And then cut slots on the edges for the rubber suspensions (hair ties).

GEDC0761 

Right after positioning the suspensions, i found a problem. The rubber bands slip every time i attempted to position the mic. So, I decided to use the extra stove bolts to serve as the stopper of the rubber band slit, and it worked.

GEDC0770

Here’s the finished product. I spent only two hours to complete and its worth it. Just $6 and I have a universal shock mount. I may have to paint the whole thing black.

GEDC0810 GEDC0819

Now that it’s complete, I just hope this makes a difference in my recordings.

UPDATE: I have decided to do a black spray paint makeover.

GEDC0833 GEDC0838

Thursday, November 19, 2009

DIY Sustain Pedal


For the last couple of days I was looking for a cheap sustain pedal for my M-Audio Keyrig49 keyboards. The cheapest I found was an M-Audio SP-1 which is around Php1,300 (US$27) but I don’t find it cheap because i figured out that sustain pedals are just simple SPST(single-pole-single-throw) switch. So decided to build one for only Php300 (US$6).

I used materials available at from the nearest hardware. I used surface-type switch box, a door bell switch (momentary push button), and an extra cover plate.

GEDC0209

I cut out the base of the box with a hack-saw so it look more like a switch for the foot. Then I positioned the push button switch in the cover plate.

GEDC0214 GEDC0213

The second cover plate does not have any hole for switches in it. It’s  a cover plate for covering unused junction box in a household electrical installations. I then bolted the second cover plate only fixed in one end. In the other end of the second cover plate bolted it from the inside the box making the head tail of the bolt protrude and serves as a motion guide. After attaching the second cover plate this is how it looks like.

GEDC0224 

The wirings are simple. The push button switch has only two terminal and the phone cable has also two terminals. So it’s common sense for non electrical/electronics people.

Although it looked like a medical equipment ‘coz it is white… :))  The most important thing is that it works.

Enjoy!

Saturday, August 22, 2009

Fun with HP Printer Display


Photo-0067While searching for a programming solution, I stumbled into an article claiming that they can change the default displayed message of your office printer to whatever message you want. The message that will replace the conventional “Ready” message. I got interested, so i took time to read it. When i searched about it in Google, I was amazed that lots of articles where already written about it. Articles that offer a program the author wrote himself to make you do change the “Ready” message of your printer to some more humorous such as “INSERT COIN!”. Some articles suggest that you need to learn the language to do that. I learned pearl just to understand what those line of code does and found out that it’s just simply sending a string of character to an opened TCP socket to the printer on the network. The program exploits the PJL (Printer Job Language) to send a command to the printer to replace the conventional “Ready” message to something else. The command is “@PJL RDYMSG DISPLAY = “ YOUR MESSAGE”.

I didn’t like the idea of using a program written by somebody else, specially if you don’t understand what it really does. It could be a “keylogger” that could secretly grab your passwords. So, for just a simple one-way socket communication, I figured out a pretty easy way to do it without even writing a program or using a new one. I was able to change the network printer’s display at the office saying “WALANG HIMALA!” (No Miracle!) by only using the telnet console application available in all Windows box.

To do it, you only need to run the following in the command prompt:

telnet <the IP address of the printer> 9100

image

If the command prompt clears out to black screen after issuing the command above, this means that your have successfully opened a TCP socket to the network printer and that you just need type the following text in notepad to change the message:

@PJL RDYMSG DISPLAY = “INSERT COIN!!!”

Then paste what you typed in notepad to the command prompt and then press “Enter”. Bingo, your done, check your printer and leave it there until some officemates notice and starts laughing. I enjoyed observing their reactions the moment they noticed that the printer saying something addressed to them :).

The message will be reverted back to default which is “READY” after a power cycle (Printer reboot). So, no worries.

Enjoy!

Saturday, July 25, 2009

Solar Eclipse 2009

July 22, 2009, I woke up early in the morning to join a group of astronomers in observing the longest solar eclipse of our lifetime. 14.62 degrees latitude, 121.10 longitude is the location of the site where we took photos of Luna passing in front of Sol.

DSC02285

The group is consist of member of the University if the Philippines Astronomical Society and some Instructor at the Astronomy department of Rizal Technological university. We photos of the eclipse using Bamm Gabriana’s 10” MEADE reflector together with point and shoot digital cameras. We used combinations of 4 solar filters including red and yellow eyepiece filters to get this results.

We can only see partial solar eclipse from Manila, this is why most of the professional astronomers in the Philippines flew to China to get a chance to take a shot of the longest total solar eclipse.

DSC02328

I took this photo @ exactly 9:44 AM Manila time which is one minute after the Maximum occultation. I also took a photo of the final egress just seconds before the eclipse end (photo below).

DSC02381

This was taken @ around 10:58 AM Manila time.

At the very same time the group of Filipino astronomers back in China experienced the totality as seen in the video below. Although they were not able to take photos as the clouds did not favor them, the totality experience alone is worth going to China.

I enjoyed the day as I was able to witness a remarkable astronomical event which reminds us of how small we are and how marvelous God is (if there is really God).

Monday, January 19, 2009

Disable PrintScreen on C# without Keyboard Hooks


Yes, there is a simple solution to prevent grabbing information on your C# application screen with the keyboard's printscreen key without using keyboard hooks or calling COM interops. The solution makes use of Windows Forms Message Filter to trap keyboard events on your application window.

To trap keyboard events with Windows Message Filter, you need to implement the IMessageFilter interface and override the member PreFilterMessage(ref Message WM) method. This is the method called whenever a Form receives a keyboard or mouse event. You may want to read more about IMessageFilter.

The problem is that even though you have trapped the PrintScreen keypress event, the captured image will still persist to the clipboard. Therefore the simplest solution is to clear up the clipboard right after the PrintScreen is pressed on the keyboard.

This is how the overridden method will look like this:

public bool PreFilterMessage(ref Message WM)
{
Keys kCode = (Keys)(int)WM.WParam & Keys.KeyCode;

//block printscreen on KeyPress
if (kCode == Keys.Snapshot)
{
//remove the captured image from clipboard
Clipboard
.Clear();

MessageBox.Show("Printscreen not allowed.");

return true;

}

return false;

}

Another thing is that, if this method returns true, the Windows GDI Message will not be received by the Form.

Note: The PrintScreen event can only be captured if the Application window is active.


Enjoy!

Saturday, January 10, 2009

Fixing a Problematic Motorola L6

Few days after I have re-flashed my Motorola L6 phone, I encountered a problem with the firmware. It seems like the firmware cannot access the phone memory. When I select an item in the main menu, my phone just displays the message "Please Wait..." and does nothing after. The phone cannot be used in this current state and the only i see one option to fix this and it is to re-flash again with a newer firmware. Now the problem is that i will lose my contact database if i do this so i looked for way to back it up. I tried using Windows XP's hyper terminal to read the phone memory thru AT commands but got no success.



The good thing is that i made a backup of the whole application folder (Motorola Software Update) including the registry changes. I made a copy of the files inside the application folder right after it has backed up the personal data on the phone. So the temporary files were also copied unconsciously.

Restart the Motorola phone on Bootloader mode. This can be done by pressing the *, # and the power buttons together at the same time while the phone is turned off. The phone should display a black screen with white text indicating that the phone is on “Programmable Mode”.

Then run the Motorola Software Update. The software should detect the phone and will automatically commence the firmware upgrade. While update is in progress, copy the personal data temporary file from the temp folder of your backup and paste it to the temp folder under the application folder, usually “C:\Program Files\Motorola\Software Update\temp”. The filename is usually in this format ##############.dat

Wait for the update to finish. The phone will then restart after the update is completed and will then restart the restore process. The software will read from the backup file you placed in the temp folder. This backup file includes the phonebook. Presto!

All though the phone is now fixed, I do not guarantee that whole problem is fully fixed therefore I suggest that you start backing up your phonebook. You may do this by syncing your phone to you PC. Good Luck.

Popular