My Dinky Note

Aditya Arie Nugraha's weblog

Moving native.db in Motorola E680i

with 6 comments

Lately, I want to install some themes in my Motorola E680i. Using Theme Manager developed by intoxicated, themes will be installed in /ezxlocal folder. The problem is our native.db, which contains our phonebook, sms, calendar, etc. (actually I forget what else, but I think it also contains our radio program channel), is located in the /ezxlocal too. My native.db’s file size is around 3 MB, while the /ezxlocal capacity just around 5.2 MB. Therefore, I need to move my native.db somewhere else in order to free some space that can be used to install some themes.

Here, I write the step-by-step that should be done to move my native.db from /ezxlocal to /diska that relatively have more space. I have tried to move the database to the MMC (/mmc), but the loading process was quite long. Thanks to akhaliq from MotorolaFans Forum for the idea.

The first thing to do is kill all of db_daemon process that run in the background.

/ # ps ax | grep db_daemon
  171 ?       S      0:02 /usr/bin/db_daemon -shareenv -tapi
  191 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  192 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  195 ?       S      0:01 /usr/bin/db_daemon -shareenv -tapi
  197 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  198 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  207 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  208 ?       S      0:00 /usr/bin/db_daemon -shareenv -tapi
  284 pts/0   S      0:00 grep db_daemon
/ # kill -9 171 191 192 195 197 198 207 208

Note that the command kill above depends on your own PID’s db_daemon process.

Then, do this steps.

mkdir /diska/.system/sysDatabase
cp -p /ezxlocal/sysDatabase/* /diska/.system/sysDatabase
mv /ezxlocal/sysDatabase /mmc/mmca1/sysDbBackup
cd /ezxlocal
ln -s /diska/.system/sysDatabase
chown ezx:ezx sysDatabase
chown -R ezx:ezx /diska/.system/sysDatabase

After that, reboot the phone.

The concept I used here is make a symbolic link in /ezxlocal that refers to the folder/diska/.system/sysDatabase. It is like make a shortcut in Windows environment. So, the db_daemon process still can access the contents of /ezxlocal/sysDatabase, that actually is a symbolic link to /diska/.system/sysDatabase.

Written by arie

April 3, 2008 at 10:30 pm

Posted in Hobbies & Interests

Tagged with , ,

6 Responses

Subscribe to comments with RSS.

  1. frankly, that basic idea of making symbolic links help me a lot during countless times when I do “ngoprek”, rie :D

    reditya

    April 4, 2008 at 9:56 pm

  2. bos gu ngga bisa bahasa inggris.. bisanya cuma bahasa indonesia aja ma bahasa sunda

    tolongin aku pelissssss

    hp ku motorola e680i kesayangan banget…..

    aku dikasih theme ma konter pas di installin lama banget

    sama yang punya konter di cabut batrenya…..

    sekarang hape ku ga bisa masuk ke menu pas start up ngehang….

    ini sudah berlangsung 2 minggu aku kehilangan soulamte ku

    tolongin aku please aku bener sekarat ga ada dia (moto e6280i)

    tolongin aku ini no rumah aku +6260-422409

    plis yah bos harus gimana dan kemana

    fajar

    June 6, 2008 at 10:26 pm

  3. @fajar
    cara pertama adalah ‘diinepin’ di Motorola Service Center.. salah satu yang saya tahu ada di Dago, kalo gak salah namanya Sarindo.. saya dulu juga pernah ngalami hang seperti itu, trus saya ‘inepin’ di Sarindo.. saya harus nunggu sekitar 1 bulan (saya lupa tepatnya) dan bayar 50rb.. itu pun setelah saya liat2 ternyata masih ada sisa oprekan saya sebelumnya yang bikin hang..

    cara kedua (cara yang kemudian saya praktekin setelah dari Sarindo gak puas) adalah flash ulang hapenya.. coba cari di Google dengan keyword ‘flashing moto e680i’.. cukup banyak ulasan yang tersedia..

    kalo butuh diskusi, silakan lewat YM saja.. Y!ID saya: noegroz1987..

    arie

    June 6, 2008 at 10:35 pm

  4. makasih yah mas…..hari ini saya coba ke bandung

    fajar

    June 7, 2008 at 12:42 pm

  5. [...] and sms. is your own risk, you’ve been warn! Hi, whitesyaugi.. Do you get this tutorial from this site? I think it’s quite same with yours; even the syntaxes (especially PID numbers) are identical. [...]


Leave a Reply