Thursday, February 10, 2011

Flash 10.1 on the Nokia N900 (non-hardware accelerated!)

Note: Do this with root access. If you don't know what root is, you shouldn't be messing with your N900

Replace the file in /usr/lib/browser/plugins with the file found here. Make sure that you already do a backup of the Flash 9 plugin and maybe move it to /opt to save some valuable space (note that the /usr resides in a paltry 256MB partition as opposed to your /home partition on the Nokia N900).

Also please take note that this plugin is BETA and is not hardware accelerated hence it will drain your battery rapidly.

Credits go to knownokia for this hack.

Tuesday, February 01, 2011

iPhone or iPad Safari Cannot Open Links from Google Results?

Ensure that UAFaker or another program that deals with user agent customization are disabled to see if that fixes the problem.

SSH Not Working on iPhone?

Take note this is for jailbroken iPhones only.

Sometimes even though you have OpenSSH configured properly and have Automatic SSH installed on your iPhone, you may tend to lose SSH connectivity to your phone. As such is the world of IT ;-) especially when you get hit with a virus or some other program tend to screw your phone up.

You can always reinstall OpenSSH and Automatic SSH but the fix is lost after a reboot.

You can try the following to see if that restores your SSH before actually doing a hard reset or restore (if you never restored your phone before ... you are in for a long journey ... for me I did it way too many times in January 2011).

rm /System/Library/LaunchDaemons/com.ikey.bbot.plist
rm /bin/poc-bbot
rm /bin/sshpass

You can also try doing the following. Make sure you are root before doing this and that you already have MobileTerminal installed. As a practice and as an iPhone power user, ALWAYS install MobileTerminal as the first non-Cydia stock apps. And personally for me, I payed for an application called iFile (yes ... I know there are cracked versions but if you don't support good developers, you are just going to waste their efforts!) which made navigation and editing 10x easier!

Edit /etc/ssh/sshd_config and change the line


#ClientAliveInterval 0


ClientAliveInterval 60

According to man sshd_config, this line,

Sets a timeout interval in seconds after which if no data has been received from the client, sshd(8) will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client. This option applies to protocol version 2 only.

Restart the sshd daemon or better yet, reboot your iPhone for it to take effect.

Good luck!