SD Card Hot Swappable in Android Phone?

SD card should be hot swappable in PC, or Card reader....
But until now, I don't try to eject SD card while reading or writing my SD card in real usage but work.
Recently, our QA team find out some SD issues from eject SD card.
Most of them are under writing or reading SD card.

Fortunately, Qualcomm just merge one solution for their platform.
After verifying, some issue could be solved by this patch.
Because of this, I didn't try to find out more solution now.
I still want to solve more possible issue on it but I got some other bugs to finish.

Even with the solution, I still don't recommend user remove your SD card while using SD.
It will not kill the system and not cause kernel panic.
But it will damage your file system possibly.
The worst case could be all the file in SD gone.
Some much worse case should be verified..... SD card would be physically damaged by the unsuitable usage.

The recommend steps is following:
1. Unmount your SD card in setting page.
2. Remove your SD.
3. Insert a new one. (Even another one)
Some device will even suggest remove SD after powering-off.

* 5/8, under recently test, it still cause system crash sometimes if we swap sd very fast.

台北車站凱撒美食街的日本料理-A10首度登場

不久前在台北車站發現武藏日本料理後,就一直想再吃生魚片蓋飯,或是生魚片定食!
今晚就鎖定凱撒美食街的日本料理店!

今天雖然帶著Garmin-Asus A50在身上,不過由於近日用的是Garmin-Asus還未曝光的A10,
所以照片全由A10拍出!

今天吃生魚片蓋飯套餐,上次在武藏吃的是刺身定食!
來看照片吧!

這飽滿的蓋飯,比起石牌的小店要略勝一籌!

套餐組合,菜色算豐盛!

手捲很清淡,##CONTINUE##

甜點好吃



外觀拍一張!

菜單拍一張

這店內桌上有熱茶,冷飲汽水免費無限供應,如果是朋友們聚餐來,應該挺划算,
今晚只是吃個晚餐,價位還可以接受,稍稍有些沒有飽足感就是了!生魚片蓋飯還挺好吃!

MTD block, Yaffs2 file system and booting

Recently, I found one issue on the booting of Android device.
At the booting sequence, Yaffs2 takes around 20 seconds for mounting MTD blocks.

According to the size of MTD blocks, the time will be changed.
The reason is the scan mechanism of Yaffs2 file system.
It should be done for the unsafe power off, but not for regular shut down.

Therefore, we have to make sure Yaffs2 is always got "ischeckpoint" before shut down.
The most important part, it is better to be the last one work before really power off.
Some recommend function are sys_sync(), emergency_sync(), or maybe do_sync() and sys_umount().

食記-武藏日本料理,隱藏在台北車站商圈中



今晚,一股想吃日本料理心情驅使,走在台北車站站前新光三越周遭,
在沒有做足功課,也沒有任何頭緒的情況下,尋找著日本料理,

就在準備就隨便吃個韓國小火鍋,或是拉麵的念頭閃過的瞬間,
不經意的往身旁小巷弄一瞥,隱身在巷弄裡的日式料理吸引了目光,
就這麼走了進去,就是他了!武藏日式料理!

前些日子在石牌附近吃了生魚丼飯,花了150,還算滿足好吃.
不過沒有印象深刻到發文推薦...今晚這可得稍稍介紹下!!菜單上點了"刺身定食" (他就是生魚丼)
就直接上照片了!!!使用的相機由於沒有計畫的情況下沒帶Sanyo CG9出門,
派出手邊準備要上市的Garmin-Asus A50 Android 手機來拍!

3+1+1份量不算大,但是新鮮好吃




眼看200元端上了這些菜色後已經感到滿足的時候!##CONTINUE##

又來了一盤冷盤花枝!!

身旁兩大長桌,坐滿了說著粵語的遊客...
看來這隱密的店家,連觀光客都曉得!我在台北長大,卻不知道,真是難為情啊....

台北市開封街一段14巷3號

User/developer of Android Smart Phone

Recently, I just finish one work, this is for user build.
What is user build?
The ROM image, or RAW image for Android smartphone is separated to two types.
The first one is for RD and developer, the other is for user.

The difference between this two:
Most important one is the authority of the kernel and Android system.
User got limited right of Android.
This might be the most critical point for hacker.
Some other difference are like there is no debug log on user build.
There is few back door for updating ROM image for user build.
There is almost no hot key for user build.
Sometimes, the usage of operator will be limited too.
So, hacker try hard on the iPhone to use other operator system.
There is still some difference that not suitable to discuss.

User of Android is lucky, there is ADB for Android. (Android Debugging Bridge)
According to ADB, user could install application, enter Linux kernel with limited authority.

About developer of Android smartphone:
Linux kernel should be open source after device into market.
From now on, I have to take care the coding style because of this.

For Android system:
For example, Qualcomm will release Modem, Kernel, and Device(Android) code with each version of Android (Cupcake, Donut, Eclair) to developer using their platform.
Developer will porting their device from the pure Qualcomm base.
The modified kernel will be released, but Android will not.