Friday, September 30, 2011

TTYtter Notification using LibNotify in Ubuntu Linux

Probably you already read my another blogpost about ttytter. This one is additional information on how to enabling popup notifications (like Growl in Mac OS) . According to my previous blogpost, you can run ttytter by executing this command:
# ./ttytter
And, if in any case, you missed it, then you just need to go to FloodGap website, scroll down a little bit, then under the "Download and change-log" section: right click and save file as 'ttytter' (without extension).



Open terminal, go to the directory where you keep the 'ttytter' file and I'm going to improve that a little bit by moving ttytter file to /usr/local/bin:
# sudo mv ttytter /usr/local/bin


Installing notification system
In order to be able to receive a popup notification, you must installing several package from Ubuntu repositories:
1. Installing git-core and libgtk2-perl-notify package
$ sudo apt-get install git-core libgtk2-notify-perl
2. Make sure you in your home directory by typing:
$ cd
3. Then do these steps:
$ git clone http://github.com/colindean/ttytter-libnotifyperl.git
$ sudo apt-get source libnotify-bin
$ sudo apt-get install gtk-doc-tools
$ sudo apt-get build-dep libnotify
4. Download this patch
5. And do these steps:
$ cd libnotify-0.4.5/ (or whatever version/ directory name you have there, according to version downloaded)
$ patch -p0 < ../notify-send-support_body_from_file.patch
$ ./autogen.sh
$ make
$ sudo make install
After all done, you need to go here to create your own .ttytterrc file and put it in your home directory. That's it. Credit goes to stormsdragon. Enjoy! :)

Monday, September 19, 2011

Meta-Doctor My Pre 2 to Change Boot Logo

I don't really like the HP logo on my Pre 2, so I decided to change it back to original Palm logo (anyway, the touchstone backcover still have "palm" in it, so it will suite well :D ).

Here's what I did:
1. Download the Meta-Doctor file for Pre 2 from here
2. Choose version 2.1.0 (according to my recent webOS version on my device
3. Copying the file on downloads folder under meta-doctor directory
4. From meta-doctor directory, I did this command:
# make DEVICE=pre2 CARRIER=wr VERSION=2.1.0 DISABLE_UPLOAD_DAEMON=1 CUSTOM_BOOTLOGO=scripts/WebOS-Internals.tga EXT3FS_PARTITION_SIZE=4GB clobber all
I think it's obvious: Pre2 as my device, carrier is world ready (wr), version 2.1.0, disabling uploading any log to HP/Palm server, I already put my "palm" image for BootLogo and CUSTOM_BOOTLOGO parameter retrieve it, and last but not least, I'm making 4GB dedicated EXT3FS partition.




That's it, for placing Luna boot logo parts.. I'll write another blogpost :)

Sunday, September 18, 2011

Upgrade/ Migrating From #webOS 1.x to 2.x

I just quote this post from here, you can also take a look my previous blogpost about backup/ restore #webOS device:

"In webOS 2.0, the App Launcher was totally rewritten.  As a result, the locations of your application icons may not be reloaded correctly upon upgrading your profile to webOS 2.0.  While the Save/Restore Launcher script is compatible with webOS 2.0, it will not be able to restore the launcher data if it was originally saved from webOS 1.x.  While you will manually have to rearrange your launcher icons, this process may be made easier if you made screenshots of your App Launcher or you still have your original webOS 1.x device in Airplane mode. Also, when rearranging large numbers of icons, it may also be helpful to use the new Rearrange Launcher Pages functionality in webOS 2.0 to prevent the need to move across multiple launcher pages"

Note that once you update to webOS 2.0 or higher, your profile will no longer be able to be loaded onto a webOS 1.x device.

Activating Global App Catalog Access For New Unlocked GSM Pre 2

Once again @webosinternals has something incredibly amazing. With the tools called Impostah, installed from Preware, it is possible to activating brand new unlocked GSM Pre 2 (actually this is also works for other #webOS device like Veer and Pre 3) to have Global App Catalog Access. This such an extraordinary, especially for someone like me who live outside HP/Palm official country partner. I already tried this myself, with my brand new Pre 2 UK version activated to have access to US App Catalog.

This is the warning from Rod Whitby from @webosinternals:
"You have to note that this procedure is performed at your own risk. The worst that can happen is that you don't get paid app catalog access. If Palm changes anything on the app catalog servers, this procedure may be invalidated without warning. They have done so before, and could do so again"

Here's what you have to do:
1. Take the device out of the box, turn it on WITHOUT inserting any SIM card
2. When the screen show a notification to insert a SIM card, just ignore it
3. Type #*, wait a second, and then when phone dial pad appear you can continue to type the rest of #*3386633# and hit the green phone key
4. The "Developer Mode" app will open, turn it ON, then your device will reboot
5. Once booted, you presented with launcher screen.
6. Connect your device to PC and installing Preware (you can download newest stable version here)
7. Open up Preware, update feeds, then install Impostah
8. Open Impostah, tap on "Activation" menu
9. Select your desired activation country and language
10. Create a new profile (different from your real one, if you already have one before), then hit "Login To Profile" and confirm your request
11. Go to http://palm.com/palmprofile and confirm that your device has been correctly registered
12. Open the App Catalog and confirm that you have paid app catalog access. You can test this by purchasing teh Preware Homebrew Documentation app. A 5 star rating is also a good way to show your thanks.
13. To make sure everything has been initialized correctly, you should do full erase (You can also run the webOS Doctor, if you'd like) and go through the normal official sign-in process. Don't forget to insert a SIM card :)
14. Since your device has been pre-activated with Impostah, you will retain your app catalog country settings.
15. Donate to WebOS Internals