Sunday, 9 March 2014

Please all pray for the safe returns of passengers of MH370

According to the latest google news, The MAS plane was carrying 227 passengers -- including 153 Chinese nationals -- and 12 crew. (28 Malaysian and 12 Malaysian crew)
Vietnam's military said two oil slicks had been spotted, but no debris. "Two of our aircraft sighted two oil slicks around 15 to 20 kilometres (10-12 miles) long, running parallel, around 500 metres apart from each other," the Vietnam army's deputy chief-of-staff, Vo Van Tuan, told state-run VTV." Source: Link
It sounds to me that this might be a technique that pilots used for emergency landing.
From my understanding, pilots releases much of their oil before attempt for an emergency landing. This is to reduce the risk of explosion while landing.

Let's pray for their safe return.


Friday, 7 March 2014

Want to get marry or get a name for your baby? 金吊桶 八字命理店 / Place for Bazi is the place to go.

金吊桶  (House name)

What (Function)
This is a place we can go for checking future Husband and Wife's Bazi (八字) Birthday and check compatibility and then calculate the Auspicious day and time for the Wedding Reception.
To calculate and check your newborn son or daughter's naming. Check if his/her Bazi (八字) matches with Name and have all the necessary Earth Element (Fire, Metal, Wood, Water, Gold)

When (Operating Hour)
Normal Day till ~6pm. Call before going.
Normally Sunday Morning is closed.
He seems to stay there, so if you reach and gate is close, look for a hand phone number and call. Or you call the land line number below.

Contact Number
04-2271655

Where (Location)
Just after Aquarium Shop (ChiewThean Yeang) @ 92 Burmah Road, Penang, Malaysia
(车水路二十九号)

Congrats and Have a Great one!!!

Wednesday, 5 March 2014

Enabling UEFI Secure Boot on your Platform

If you have not seen how to setup your own EFITOOL, please click this link (Howto?) and setup before coming to this post. It would make more sense once you have the EFITOOL compiled on your Linux OS.

1. Boot system to EFI Shell:
Go to BIOS setup menu
Select CSM -> Video to UEFI only. //If your screen blank out, try use direct Graphic cable without converter
Click Disable CSM mode
Save and reboot
Look for Secure Boot mode
Check what mode it is: 
If it is in User mode, go to Disable Auto Provisioning and Clear all existing keys.
Save and reboot.
Now it should report as Setup mode.
Boot to UEFI shell.
fs3:   //or what your USB drive initialized to

2. Run Lockdown.efi.

or
3. Now on your platform update the variables, remembering to do PK last because
an update to PK usually puts the platform into secure mode

UpdateVars db db.auth
UpdateVars KEK KEK.auth
UpdateVars PK PK.auth

And you should now be running in secure mode with your own keys.

How to compile EFITOOLS to 32bits instead of 64bits?

What is EFITOOLS?
This is an UEFI tool that able to help you to load your PK, KEK, DB keys into the Firmware and enabled Secure Boot on your Computer.
It is also able to help you create the Private and Public Keys of PK, KEK and DB.

Why Compile 32bits Version instead of 64bits?
When you want to boot 32bit OS, you'll need 32bit UEFI BIOS. Since you are running 32bit UEFI BIOS, you can only execute EFI or binaries that are compile for 32bit.

Steps to compile 32bit version of EFITools:

1) Requirement:
32bit OS(32bit version) 64bit OS (64bit version) Fedora /Ubuntu / Linux based OS
In our example we will use Fedora 32bit. You can use 64bit OS to compile for 32bit version, however, my guide does not include that.

2) Download required dependancy and libraries needed:

a) Get the GNU-EFI library:: CMD ::
           Method 1: sudo yum install gnu-efi
           Method 2: git clone https://github.com/vathpela/gnu-efi
                            cd into the directory
                            make
                            sudo make install
                         
b) Get the sbsigntool ::CMD ::
          Method 1: git clone https://github.com/wmarone/sbsigntool
                           cd into the directory
                           ./autogen.sh
                           ./configure          //Notice, they might be some dependency missing, need installation
                           make
                           sudo make install

c) Get some libraries needed
           sudo yum install pkgconfig
           sudo yum install perl-CPAN
           sudo yum install perl-File-Slurp
           sudo yum install help2man

3) Above are similar across 32bits version and 64bits version, however, below will be 32bit focus only.
     There will be an error in the lib/security_policy.c as there are asm code in the security policy and so far I can't find a workaround for it.
        vim lib/Makefile
        Delete the security_policy.o from the FILES = line
        Add the bolded two lines
        clean:
        rm -f lib.a
        rm -f $(LIBFILES)
        rm -f lib-efi.a
        rm -f $(EFILIBFILES)

         vim Makefile
         Delete the PreLoader.efi from the EFIFILES = line, as this file required the security_policy.c library

4) Compile all the necessary files by doing make
         make clean && make 
         //It should complete with no error and undefine symbols

5) Now create a USB drive image:
        ./mkusb * * usb_drive_image.img

6) Open the System in Fedora application and plug in a USB pendrive
    Click Restore Image on the drive and select the usb_drive_image.img

Congratulation, you have successfully created your own signed application with PK, KEK, DB keys.

Sunday, 2 March 2014

Cheapest Property in MAPEX 2014 => Sierra East Condo @ Bukit Jambul? Or is it?

Some technical specification of Sierra East

Block A - For Registration
*256 units
*24 storey
*Choice of 3 layouts
*Built-Up:
Typical Unit: 1200sf - 1400sf
*Freehold


Developer: Chong Company Sdn Bhd

Completion to be mid of year 2017.

If you looking for loan for this property, look for Panel banks.
Panel bank for Sierra East includes: Ambank, HLA, RHB, OCBC, UOB, PBB
Approval from HSBC bank is pending.

One of the design 1304 sq ft, comes with 2 car parks will cost you roughly around RM556,000.

Maintenance fee for the each unit, the developer is looking at 20 to 25 cent per sq ft.

During the MAPEX 2014, it was giving out 5% rebate on down-payment.

Con:
Later on with Block B - total units should equal or more than 512 units. It is a very dense apartment.
Not to mention the environment around it, it is surrounded by Low Medium Cost Apartment. Lots of factory workers stay in the area.
Total around RM426 - 500 per square ft. Pretty high rate per sq ft for Relau.
Location is nearer to Relau than to Bukit Jambul.

Pro:
Large swimming pool ( Shared between Block A and B)
2 Car parks

For more than half a million, you get a of the four wall cube up in the sky. The four wall might be good, but outside it is crowded with Low and Medium Cost apartments. I might need to think twice.

Happy Hunting.