Tuesday, April 12, 2011

ROM Rezising On GSM Palm Treo 650

Personal notes only, took this from some forums somewhere and forget to attach the link, so credit to them. The point is I've tried this and it was sucessful, I can resize the partition of my Treo 650 APR roms :)

- - - - - - - - - -
Its ok to partition the rom/ram as long as u know what u are doing. There is three type of rom size partition for treo650 if I am not wrong -

1. 7.1mb ( cingular roms )
2. 8.4mb (LAP and unlocked roms)
3. 9.8mb (APR roms)

but they must be flashed using the sdcard method. U just have to make sure that your rom is small enough to fit the rom size. The trick is to replace this particular file "RomUpdaterApp.prc" which is in one of the SD card flashing method's folders. The smaller the ROM size, the bigger your RAM size.

This is quite tricky - if you put in a larger ROM than the "RomUpdaterApp.prc" can accomodate : you will get a dead Treo. Actually it will not be quite dead but can still be revived via the ROMtool method later. But you will notice that the ROM partition has changed to the ROM size of RomUpdaterApp.prc you put.

I don't advise any to change the partition if you are really not sure how to go about doing it. You could end up with a really dead Treo... So dun blame me if anything goes wrong. Take your own risk when attempting to repartition your ROM.

Now my current Treo is using the APR rom minus all the things that I dun want, fitting the 8.4mb ROM partition - as a result I get a bigger RAM space, more DBcache..

1. Backup Data
2. Copy Palm folder extracted from zip to the root of SD card (ex. F:\PALM) which already been formated to FAT. If one already exists rename.
3. Plugin power to Treo, turn on
4. Insert SD
5. Wait, The updater will start automatically. It will reboot several times on its own.
6. Leave SD card in Treo until you get to language selection screen.
7. Remove card, finish setup on Treo. Follow on screen prompts.
8. Remove palm dir from SD, rename folder if needed.
9. Restore Data.
- - - - - - - - - -

Running iDroid Using BootLace

Although many people thinks that installing Android on iPhone is tedious and very geeky, it's not anymore because Nick Dawson's BootLace has simplified the whole process. Just a few tap, you'll find iDroid installed. But in order to do this, you have to jailbreak your device. Here are the steps you can follow:
1. Run Cydia
2. Add http://repo.neonkoala.co.uk as a new Sources in Cydia
3. Install BootLace
4. Run BootLace
5. Install OpeniBoot (This apps is some kind of bootloader to choose between iOS and iDroid on boot up)
6. Install iDroid

Already tried this on my iPhone 3G and success :) Here are several pics:
installing iDroid

"This will reboot your device into Android immediately. Are you sure?"


Android logo while booting...

iDroid logo

home launcher

menu icons

about this phone

virtual keyboard while typing

Apache MySQL PHP on Mac OS X Snow Leopard

In Mac OS X, you already have built-in Apache web server and you only need to activate it by going to System Preferences -> Sharing -> then check the "Web Sharing". That's it! And you already have your web server running. Just check it by typing "http://localhost" or "http://localhost/~yourusername" in your web browser.

After that, you can open Terminal and open /private/etc/apache2/httpd.conf file and uncomment this line:
LoadModule php5_module           libexec/apache2/libphp5.so
 then restart Apache service by uncheck - recheck Web Sharing in System Preferences

1. Download package from here
2. Install everything: mysql, startup item, preference pane
3. Start MySQL in Preference Pane

Do the following to fix some stuffs:
$ cd /etc
$ sudo cp php.ini.default php.ini
$ sudo chmod 666 php.ini
In php.ini file, edit following:
1. uncomment this line and insert TimeZone:
date.timezone =Asia/Jakarta
2. find all three occurences of /var/mysql/mysql.sock and change to /tmp/mysql.sock
pdo_mysql.default_socket = /tmp/mysql.sock
mysql.default_socket = /tmp/mysql.sock
mysqli.default_socket = /tmp/mysql.sock
3. change this line from "Off" to "On"
short_open_tag = On
Restart Apache service by uncheck - recheck Web Sharing in System Preferences

Logged In to WebOS Device

In webOS world, there aren't such things like "jailbreak"-ing nor "root"-ing, you just login there and you got root access, already. What you have to do is simply following these steps:
1. go here to install Palm SDK
2. follow installation instruction according to your OS (Windows, Mac or Linux)
3. enable Dev Mode  on your Pre/ Pixi by typing this: webos20090606, turn to ON, then restart device
4. connect the device using USB cable
5. in Mac/ Linux, simply type "novaterm" in shell prompt
6. in Windows, you have to download "novaterm" exe file from here (32-bit) or here (64-bit)
7. at this point you'll have root@webos-device or something like that

You are now logged in to your webOS device and can do anything you would normaly on Linux machine. Just be careful not to destroy your device :))