02 September 2014

20 August 2014

vCenter Server Web Service Restart

Kadang-kadang browser tak bleh buka https://vCenter.local/vsphere-client/

kena restart service berikut.

1) VMware VirtualCenter Server
2) VMware VirtualCenter Management Webservices (ini depend yg atas)

04 July 2014

Android Build Process

[Java Source Code.]
      |
      | (javac)
      |
[Java class Files]
      |
      | (dx)
      |
[classes.dex]
      |
      | (apkbuilder)
      |
[App-unaligned.apk]
      |
      | (zipalign)
      |
[Apk.apk]


[BinaryOutputs]
(tools)

04 June 2014

Android Binder

Actor:

  • ServiceManager
  • ServiceProvider (class service)
  • ServiceUser (class activity, or any which call another service)


  1. SeriveManager mesti yg pertama start.
    Daftar dengan BinderDriver, guna handle 0.
  2. ServiceProvider bila start register dengan BinderDriver.
    Binder akan generate handle, eg 10.
    ServiceManager simpan nama service dan handle.
  3. Client akan guna handle 0 utk comunicate dengan ServiceManager.
    Client request base on service Name.
    ServiceManager akan beritahu no handle.
    Client talk using the handle through Binder


04 April 2014

Android cmd



  • pm
    • pm install /sdcard/myapk.apk
    • pm list packages | grep my
    • pm path com.myapk
  • top
  • ps
  • mount
    • mount -o rw,remount -t "filesystem" "Device" "Mount Point"
      • mount -o rw,remount -t rootfs /
      • mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system

      • busybox mount -o remount,rw /system
      • mount -o loop /sdcard/myimage.img myimage
    • getprop


    ref : http://android.stackexchange.com/questions/11052/what-useful-android-shell-commands-do-you-know

    02 April 2014

    Android Terms

    Factory Reset

    • /system  tak usik
    • /data padam
    • /cache padam
    • /sdcard  tak usik
    # hati hati kalau dah install custom ROM atau root. Biasanya ok, tapi kadang kadang boleh menjadikan telefon 'brick'


    GSM vs CDMA

    - Global System for Mobile Communications
    - Ada SIM kad, senang tukar device.
    - Kat US, telefon murah, tapi carrief 'lock' device
    - - user tak boleh guna SIM kad company lain. (kecuali setelah unlock dulu)


    BootLoader
    - Secara mudah, boleh anggap telefon android spt harddisk
    - Ada beberapa partition
    - - /system   : Operating System(linux)
    - - /data       : Data utk aps
    - - dan lain-lain
    - bootloader: program yg mula bila phone boot/hidup
    - bootloader akan decide nak run program dari partition mana.
    - bootloader ditulis oleh pengilang, sgt spesifik kepada device

    25 March 2014

    Install Cyanogenmod

    Jgn guna cwm, tapi twrp utk custom recover.

    ref : http://forum.xda-developers.com/showthread.php?t=2213910

    stable : cm-10.2 (cm-11 belum stable)

    tools:
    -fastboot

    • fastboot flash recovery TWRPrecovery.img 
    • fastboot erase cache
    • ---

    • fastboot flash boot insert_your_boot_image_name_here.img
    • fastboot erase cache

    -adb
    • adb reboot-bootloader