Xanda's Blog !~!

Erasing the Content of Flash ROM

Nov
18

Hi all especially HTC users.

This HOWTO gonna cover steps that are needed to erase the content of flash ROM for HTC device to prevent the automagic hard reset when a cooked ROM crashed.

I believe that you are now running a cooked ROM on your device (Huh? Still running on the original ROM? Come on.. Dont be such a lame goat) and for those who already flash their device for several times (with several different ROMs), you might have the auto hard reset problem that gonna occur almost every day. Besides data loss, it will also cause you headache and hair loss 😛

There are several reasons that gonna lead to this problem (please leave comment if you found that I’m wrong) and they are:

  1. Installed a corrupted ROM
  2. Flash the radio ROM after the OS ROM
  3. Install the Hard-SPL without flashing the radio and OS ROM (after that)
  4. Memory Bad Blocks

If you think that reason no 1,2 and 3 is not related to you, the only way to solve your problem is by wiping/erasing the content of the entire ROM before you flash it back into the new ROM (which caused by reason no 4).

Here are the steps that you need to follow:

  1. MAKE SURE YOU ALREADY HAVE HARD-SPL INSTALLED (not sure? DONT proceed)
  2. BACKUP ALL OF YOUR DATA
  3. Turn on your device into bootloader menu (if you dont know how to do it, please refer device manual)
  4. Connect the USB cable from your device to your computer
  5. Enter the bootloader cmd prompt
    • For Windows user : Make sure you have disabled the USB connection in ActiveSync, before trying to connect to the bootloader: File –> Connection settings –> uncheck “allow USB connections” then, download and run the mtty program
    • For Linux user: Download the htc-flasher, run it, and choose Bootloader Cmd Prompt
  6. Type the following command (for advance user: dont set any value for StartAddr and Len in erase, just use default value)
    password BsaD5SeoA
    erase
    task 28
  7. Reset/restart your device by poking into the reset hole or you can issue the following command
    ResetDevice
  8. Now you can flash your GSM/Radio ROM
  9. And finally you can flash your cooked ROM as usual/normal
  10. If you device is still stuck in tri-colour / boot loader mode, perform the following command
    set 16 0
    ResetDevice

Cheers…! 😀

Windows Mobile 6.1 5.2.20764 (Build 20764.1.4.3)

May
14

Today I’ve updated my HTC to Windows Mobile 6.1 5.2.20764 (Build 20764.1.4.3) and reflash my radio ROM using HTC-Flasher, an open source ROM Update Utility by Pau Oliva Fora or well known as ‘pof’.

I’m so satisfied with:

  1. Fix in memory leaking [thanks to Microsoft]
  2. Fix in battery.dll [thanks to FInixNOver]
  3. Fix in battery drying [thanks to HTC Taiwan]

My machine now is faster and last longer 😉

Q&A

Q: Why not Windows Mobile 6.5 (beta) stright away?
A: Memory leaking issues

Q: Why use unofficial/cooked/modified ROM?
A: You can custom it to what you want

Q: Why radio ROM can improve signal & battery performence?
A: Radio ROM is something like firmware/drivers for WiFi, bluetooth, GPS & GSM signal to your PocketPC

Q: I have HTC device. Where should I start to learn these?
A: Google & xda-developers

Q: What is the first thing should I do before I flash my ROM?
A: Make sure you have Hard-SPL installed/flashed.

Q: I don’t want to Google, I don’t want to read, I don’t want to learn new stuff. My battery is always dry & my device performence is sux. I want to flash to latest version of OS (Windows Mobile) and radio ROM. How?
A: Lamers just stay with WM6_WWE

Windows Mobile 5/6 Synchronization on Linux

May
10

“ActiveSync is a synchronisation program developed by Microsoft. It allows a mobile device to be synchronized with either a desktop PC, or a server running Microsoft Exchange Server, PostPath Email and Collaboration Server, Kerio MailServer, Zimbra or Z-Push.” (Wikipedia, 2008)

But how to synchronize your Windows Mobile device in Linux? The solution for ActiveSync alternative on Linux is SynCE. The purpose of the SynCE project is to provide a means of communication with a Windows Mobile device from a computer running Linux, *BSD or other unixes using USB or Bluetooth. One can then use one’s computer to browse files, install applications and synchronize contacts, calendar and tasks with their PIM application of choice.

Lets setup it on our machine. This tutorial is working on Ubuntu 8.04 (Hardy).

First add SynCE repository to your sources.list

echo "deb http://ppa.launchpad.net/synce/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/synce/ubuntu hardy main" | sudo tee -a /etc/apt/sources.list

Now update your packages list

sudo apt-get update

As i mention before, Ubuntu 8.04 is a mistake. Ubuntu generic kernel might have some problems with USB driver. So here is the solution. First unload the old module

sudo rmmod rndis_host cdc_ether usbnet

Now, remove it

sudo rm /lib/modules/`uname -r`/kernel/drivers/net/usb/{rndis_host,cdc_ether,usbnet}.ko

Compile the new USB driver: usb-rndis-source and cdbs

sudo apt-get install usb-rndis-source cdbs
sudo module-assistant auto-install usb-rndis

Fixed! Now back to SynCE story… We need to install several libraries which are odccm, librra0-tools and librapi2-tools

sudo apt-get install odccm librra0-tools librapi2-tools

Now connect your device and run the following command

synce-pls

IF you can see the lisft of files on your device, your device is successfully connected to your Linux machine.

BUT if it returns you the following error message, you need to install SynCE-GNOME or SynCE-KPM to provide a password prompt on device connect.

. WARNING **: synce_info_from_odccm: Failed to get a connection for <device_name>: Not authenticated, you need to call !ProvidePassword with the correct password. pls: Could not find configuration at path '(Default)'

To start sync your device, you need OpenSync.

sudo apt-get install multisync-tools opensync-plugin-evolution opensync-plugin-synce

Wee..! Your device is ready to sync. Please refer to OpenSync page for tutorial on how to use OpenSync

For the official guide, please visit http://www.synce.org

Comparison Between Symbian and Windows Mobile Smart Phone

Dec
26

When talking about smart phones, 2 operating systems might appear in your head which are Symbian and Windows Mobile. In order to determine the best operating system (OS) for a smart phone, I’ve done several tests on my devices which are Nokia 6600 and HTC P3600i.


Personally, I’m neither on Symbian side nor Windows Mobile, but it is up to you to conclude which is the best operating system for a smart phone. What I’m doing here is just to highlight the strengths and the weaknesses of Symbian and Windows Mobile.

Start-up Time (Booting)

I’ve found that Symbian takes more time to complete the boot process compare to Windows Mobile. This is because Windows Mobile smart phone usually equipped with higher RAM compare to Symbian smart phone. So it can perform the booting process faster.

Contacts List

For contacts list, Symbian performs better than Windows Mobile. Nowadays, one person might use more than one mobile phone, so they going to have more than one mobile phone numbers. Windows Mobile can only store one number for each category (e.g.: mobile, work, home, office). Let say person A have 2 mobile phone numbers, in Windows Mobile we have no choice but to store one number as mobile number and another one as another category for example home. But in Symbian, we can store both numbers as mobile number.

Java Applications

Running Java applications using MIDlet Manager in Windows Mobile can sometime cause the device hang. The start-up process of java application in Windows Mobile is also slow. But it is different in Symbian. Java applications start and run smoothly in Symbian smart phone.

Alarm Manager

In Symbian, we can only manage the alarm within 24 hours time and we need to set the alarm again and again if we want it to be rang every day. But in Windows Mobile, the alarm manager is awesome. Let say we want to wake up at 5.30am on Monday till Friday and 6.30am on Saturday and Sunday, we can easily do it in Windows Mobile without any extra application to be installed.

Dialling or Search Contacts List

Dialling or searching contact in contacts list is easier to be done in Windows Mobile. This is because Windows Mobile provides suggestion of person to contact every time w type something in the search area. For example we have a person Xanda Centrino Quad stored in the contact list, and we search for “Quad” in the search area. Windows Mobile will come out with suggestion that match the keyword and surprisingly Xanda Centrino Quad will appear. This will make the process of searching faster.

SMS

Report delivery in Symbian is better than Windows Mobile. Report is receive in notification from and not as a message as in Windows Mobile. The report also clearly states the contact person’s name while in Windows Mobile it only shows the contact person’s number.

Browser

The default browser in Windows Mobile is much better than default browser in Symbian in term of usability and accessibility. I’m not saying that Internet Explorer is the best browser because Opera Web Browser is always the winner in my heart. But we are comparing Symbian and Windows Mobile, so the winner in this review is Internet Explorer.

Organizer

If you want to choose a smart phone as your organizer, smart phone with Windows Mobile is exactly what you are looking for. Tasks, Upcoming Appointment and many more application can help you to organize your daily routine.

P/S: This page will be updated from time to time. Any suggestio, correction or ideas? please leave it in comment area. Thanks