[ WeekendProjects ] SGD2IDR

sejak beberapa pekan lalu, pas wiken iseng-iseng bikin android app yang simpel tapi berguna, minimal berguna selama jadi TKI di Singapore ini..  [emoji grinning face with smiling eyes]

biasanya orang-orang Indo di Singapore, kalau hendak transfer duit ke Indonesia, mereka menggunakan jasa Bank BNI yang berlokasi di Lucky Plaza..

lalu, ada juga yang melakukan transaksi via milis Indo-Sing dengan sesama orang Indo, nah di milis tersebut umumnya rate yang digunakan adalah rate tengah ((jual+beli)/2) dari Bank BCA.. Continue reading

[ WeekendProjects ] How to Root NEXUS 5 with Android 4.4.2 KitKat

But, wait… I write here for my own reference, so if you want to try and follow this reference, DO IT AT YOUR OWN RISK..  [emoji expressionless face]

  1. Download and extract Android SDK. Make sure you could find fastboot tool in {AndroidSDKfolder}/sdk/platform-tools
  2. Download CWM Recovery for NEXUS 5, and put it in the folder where you found fastboot above.
  3. Enable USB Debugging Mode, find in Setting > Developer Option
  4. Download a zip file of SuperSU (UPDATE-SuperSU-v1.80.zip)
  5. Connect your Nexus 5 to your PC/Laptop, and then copy/paste the downloaded SuperSU zip file to SDcard in your Nexus 5.
  6. Turn off your Nexus 5.
  7. Now, set your Nexus 5 to Fastboot/Bootloader mode by holding Volume Down + Power buttons together until you got a red text “Fastboot Mode”.
  8. Install the CWM Recovery : use the Terminal or CommandPrompt in your PC/Laptop, goes to the folder where you found the fastboot tool and then type following commands.
  9. fastboot flash recovery recovery-clockwork-6.0.4.5-hammerhead.img

  10. When, it’s done, select Recovery menu in your Nexus 5 (use Volume Up/Down for scrolling and Power button to select).
  11. In Recovery menu, select “Install zip”, and then browse to the SDcard folder where you have put the SuperSU zip file. Select the file and confirm the installation to begin.
  12. When it’s done, select “++++++Go Back+++++”, and reboot you Nexus 5 by selecting “reboot system now”.
  13. It may take time for the first reboot, but once your phone is up, do reboot again.

Google NEXUS 5

Yeaaa… I just bought a Google NEXUS 5 last week.. after waiting for around one month, finally I found local seller in Singapore.. Google don’t sell it in Singapore actually, and this one is a Hongkong set with local Hongkong warranty.. so, since I’m in Singapore, there’s no warranty at all..

Maybe, people can say it’s too risk to buy.. but I disagree.. it should be.. too geek to buy..  [emoji grinning face with smiling eyes]

I’ve made a list of plans about what I’m going to explore with this gadget during my weekends..  [emoji grinning face]

OpenCL di Smartphone

ah, gw telat update dengan berita ini.. ini berkaitan dengan postingan lama,.. komputasi parallel di smartphone..

dan ternyata diem-diem Google sempat menyisipkan OpenCL drivers ke smartphone Nexus 4 dan tablet Nexus 10 di awal tahun ini.. hal ini dilaporkan oleh Kishonti Ltd. setelah mereka berhasil menjalankan CLBenchmark di tablet Nexus 10 (Mali GPU T-604)..

tapi kemudian tercium aroma ketidaksehatan di sini.. tampaknya Google merasa gengsi menggunakan OpenCL.. meskipun sekarang di-“maintain” oleh Khronos Group dan bersifat terbuka, bagaimanapun ide dan pengembangan awal OpenCL berasal dari Apple.. mungkin saja Google merasa risih ada aroma Apple di produknya..

dan bener saja, di update-an firmware untuk Nexus 4 dan Nexus 10 yang rilis agustus lalu.. Google menghapus OpenCL driver dari firmware.. ish ish ish.. sungguh tak dewasa..  [emoji angry face]

sebenarnya Google telah merilis sebuah framework untuk komputasi di Android buatan mereka sendiri, yang diberi nama “RenderScript“.. sama halnya seperti OpenCL, RenderScript juga bersifat cross-platform, mampu memanfaatkan sumber daya komputasi yang tersedia di smartphone (CPU, GPU, DSP).. akan tetapi, tindakan Google menghapus OpenCL driver terkesan “memaksa” Android developer untuk menggunakan RenderScript buatan mereka ketimbang OpenCL… hal ini jadi perdebatan seru di sini..

syukurnya, Qualcomm sebagai produsen mobile processor, tetap terus berusaha mengembangkan OpenCL driver untuk produknya.. dan kabarnya sudah berhasil untuk Snapdragon 600 (Adreno 320 GPU) dan Snapdragon 800 (Adreno 330 GPU)..

ah, ingin segera mencicipi supercomputing di smarphone.. mudah-mudahan segera ada rezeki buat punya Android smartphone dengan Snapdragon 800 di dalamnya.. jadi bisa mencicipi OpenCL dan RenderScript sekaligus.. doain yah..  [emoji grinning face]

lalu bagaimana dengan CUDA ? kabarnya akhir tahun ini NVIDIA akan merilis Tegra 5 yang konon akan support CUDA.. tampaknya era “smartphone computing” akan dimulai tahun depan.. interesting !!  [emoji smirking face]

[ WeekendProjects ] Upgrading Xperia X10 to Jelly Bean

My wife has an old Sony Xperia X10 phone, it’s an android phone. When she bought it in 2010, the Android version was Eclair (2.1), and it’s never been upgraded before. Now, she let me play around to upgrade the phone. [emoji grinning face]

In its website, Sony only provides official update up to GingerBread (2.3) version. Yeaa, it’s too old really, and actually I want a 4.x version. After searching android ROMs through google, I decided to port the JellyBean (4.1) version. However, since it’s not an official update from Sony, it needs a little bit hacking to make it work in X10. It sounds difficult, indeed.. but actually, it’s a fun weekend project for me. [emoji face with look of triumph]

If you go search through google, there are lot of tutorials on how to upgrade android phones to JellyBean. But the problem is, in Xperia X10, the bootloader cannot be unlocked, while most tutorials out there are for unlocked bootloader phones. Fortunately, FeraLab have successfully managed JellyBean ROM that supports both locked and unlocked bootloaders. Here are the steps to port it to Xperia X10:

Continue reading