Sunday, April 10, 2016

Recipe 2016.04.10 - Scrambled Eggs

I hear you saying, surely everyone knows how to make scrambled eggs. Anybody can make scrambled eggs, but not everyone can make great scrambled eggs.

Ingredients:
  • 4 eggs
  • 1/4 cup milk
  • salt and pepper
  • 2 tsp. butter
  • shredded cheese
Steps:
  • Beat eggs, milk, salt and pepper until thoroughly mixed.
  • Heat butter in non-stick skillet over medium heat. Pour in egg mixture. Sprinkle some shredded cheese.
  • As egg mixture begins to set, gently pull the egg across the pan with a wooden spatula. Continue pulling, lifting, and folding eggs, until no visible liquid egg remains. Remove from heat. Serve immediately.

Pro-tips:
  • Do not allow the butter to burn, or this will discolour the egg.
  • Do not stir the egg mixture for the first 20 seconds. Lift and fold every 10 seconds afterwards.
  • Pull the cooked  outer edges IN towards the center. Uncooked eggs will flood the area you just pulled back.
  • Never leave a surface in contact too long with the skillet or it will become overcooked.
  • Don't overcook. Remove pan from heat when egg softly set and slightly runny. The retained heat in the pan will continue to cook and firm up.

Saturday, April 2, 2016

Cyanogenmod on Samsung Galaxy Tab GT-P1000

Picked up a stock Samsung Galaxy Tab (GT-P1000) still running Froyo. That's a quite a novelty nowadays. Quick check on the Cyanogen website shows that KitKat nightlies are being built for this tablet. There's even a Marshmallow-based OmniROM for it on xda developers, but I don't it's stable enough to run on the tablet. So KitKat it is.

CyanogenMod installation instructions here:
https://wiki.cyanogenmod.org/w/Install_CM_for_p1

First thing to do is to get the Froyo device updated to Gingergead. For the complete instructions, check out this YouTube video:
https://www.youtube.com/watch?v=iI79j97R4qw
Basically, you install the Samsung USB drivers, so your tablet will be recognized by your PC. Download Odin and the Gingerbread image, and flash it to the tablet. In detail:
  1. Download the Samsung USB drivers from here: http://www.androidrootguide.com/download-samsung-usb-driver-samsung-device-drivers, and install on PC.
  2. Download the Odin flasher and stock Gingerbread 2.3.3 ROM from here: https://docs.google.com/open?id=0BzJut_BZm8NTUjc1OVl6VzRsa0U, and unpack on PC. (Archive password is vio)
  3. Put the tablet in download mode by holding the VolDown button when powering up the tablet.
  4. Run Odin. Use gt-p1000_mr.pit as the PIT file. Use GB_Stock_Safe_v5.tar as the PDA file. In my case, I used the modem.bin file under JPZ modem as the Phone file.
  5. Once everything is set up, connect the tablet to the PC. If the USB drivers are installed properly, Odin should detect the tablet automatically, with the correct COM port.
  6. Click on Start.
  7. Once flash process is complete, Odin will indicate PASS, and device will reboot automatically. Disconnect tablet from the PC. Power down the tablet.
  8. This time, go into recovery mode by holding the VolUp button while powering up the tablet.
  9. Using the volume buttons, go to the "wipe data/factory reset" option and press the Home button to select.
  10. Then, select "wipe cache partition" option.
  11. Then, select "reboot system now".
First boot takes a relatively long time. Once done, you now have a stock Gingerbread Galaxy Tab.

For the second part, we'll be installing ClockworkMod Recovery on the tablet. Full instructions here: http://theunlockr.com/2012/05/07/how-to-root-and-flash-the-clockworkmod-recovery-on-the-galaxy-tab-p1000-running-gingerbread/.

Pretty straightforward after we've gone through the first part though. Download the ClockworkMod Recovery tar file from here: http://www.mediafire.com/?q8s0wnj1s6109gc, then flash it to the tablet using Odin, while the tablet is in download mode. Make sure the Re-Partition tickbox is unchecked. Use the downloaded CF-Root-TAB7_XX_OXA_JQ1-v3.3-CWM3RFS.tar file as PDA.

Third part is to install CM11.
  1. Download the latest p1 nightly build from here: https://download.cyanogenmod.org/?type=nightly&device=p1
  2. Download the OpenGapps Android 4.4 pico package from here: http://opengapps.org/?download=true&arch=arm&api=4.4&variant=pico (Don't bother getting the bigger packages like micro or even nano because they won't fit on the P1000's system partition.)
  3. Set up the tablet to use the USB connection for mass storage, instead of Samsung Kies.
  4. Transfer the nightly build and the gapps package to the tablet.
  5. Boot into recovery mode using the VolUp + Power buttons.
  6. Select the option to "wipe data/factory reset".
  7. Select "install zip from sdcard".
  8. Select "choose zip from sdcard".
  9. Select the CM11 file you transferred and confirm to flash.
  10. Repeat above steps starting from step 7 to flash the gapps package.
  11. Select option to reboot system.
In my case, I ran into a bit of issue. After step 11, the system keeps going back to the recovery menu. After some headscratching, I realized that Step 9 was happening too fast. What's happening was, the first flash actually installs a newer version of the CWM recovery, but didn't actually flash CM11. So, when I did the second flash for gapps, CM11 wasn't even there. What I did then is, once presented with the newer CWM recovery after step 9, I had to flash the CM11 file again, before proceeding to step 10.

Once done, you now have CM11 KitKat running on your Samsung Galaxy Tab.