Sunday, November 24, 2013

Bricking the iRiver X20

Bricking the iRiver X20 is fairly easy.

So lately I've starting playing with my iRiver X20 again. The iPod Classic has much bigger storage and better ease of use, but it doesn't do OGG natively. I noticed that the song selection on the X20 is a bit dated already, so I deleted some songs, and gave it a refresh. Upon disconnection from the PC, it starts to rebuild the library, and promptly hangs. At first I thought that maybe the rebuild is very CPU-intensive, which caused the screen to hang. I was hoping that it's actually doing something behind the scenes. Nope. Took out the battery, powered on, same thing. Plugging it to the PC via USB didn't help because as soon as the device powers up, it tries to build the library.

I'm guessing the culprit here is some non-conforming audio file. Either aac, or an m3u file, or a filename or tags with "bad" characters. Easiest way to recover is to wipe out the internal flash, but the owner's manual is of no help. I found one promising forum post, which recommends holding the menu button down while powering up the device. Worked for others, didn't work for me. So it's looking like this one is truly bricked. I've taken off the battery for now and waiting to see if it'll reset itself after a few days, but I'm not holding my breath.

Back to eBay for another iRiver. Bummer.

Saturday, November 23, 2013

Movie 2013.11.23 - Man of Steel

So many superhero movies nowadays. I liked the first part of the movie, where it explained the backstory of Krypton and why/how Kal-El was sent to Earth. Once Clark Kent came out and became Superman, it's all fight, fight, fight. There were so many extended fight sequences. In the end, Superman breaks General Zod's neck, and that's it.

I still think the S on his chest stands for Superman, regardless of what Jor-El says.

Tuesday, November 19, 2013

Movie 2013.11.19 - Thor: The Dark World

Definitely preferred the first Thor over this sequel. There's a lot of unanswered questions and vague concepts. Not sure whether the plot points were really complicated, or the writers were just too lazy to tighten up the script.

If the Aether is so dangerous, why not destroy it, instead of leaving it around inside a stone column? Why was Dr. Selvig running around the Stonehenge naked? How do you explain the levitating cars, in conjunction to smaller items that simply fall through space (and materialize back)? How did Jane's phone get cellular reception in Svartalfheim? How do those teleportation devices work? How do those handheld blackhole generators work? What actually happened when the nine realms aligned? Whole city blocks transported to Jotunheim or Valaheim? How did Loki escape certain death, and what happened to Odin?

There are a few funny moments here and there, and a few cameos. We stayed around for the teaser during mid-credits, then left. Didn't know there's actually more after the final end-credits.

Upgrading the N9

The N9 I got is the black 16GB Optus variant. Currently running PR1.2 (10.2011.34-1.248.1_PR_248). Instead of letting it get PR1.3 via OTA, I've a mind to flash a stock image manually to remove some Yes Optus stuff (Music Shop, Games, TV Video, and News). Yeah, I know it's only 4 apps (one row), but since I'm upgrading, might as well clean it up. Note that flashing a clean image simply removes carrier branding. If the phone is SIM-locked or network-locked, it remains that way.


Get the latest firmware using NaviFirm+
http://www.symbian-toys.com/navifirm.aspx
Or if NaviFirm+ stops working in the future, go here:
http://www.mrcrab.net/nokia/Nokia_N9.html?productID=4823499691&productType=RM-696
Both link directly to Nokia's firmware servers anyway.

Firmware download takes a long, long time. For the two bin images, prepare to have your download session running for 10-12 hours. I tried using NaviFirm+ and browser HTTP download. Same slow speed. And I ended up with two batches of files with different filesizes. No mdsum provided, so I can't say which one is the correct one. The files from the browser download comes with CRC appended, but doesn't tell you how to generate the CRC code. Personally, I would trust NaviFirm+ over the browser, as it supports pause and resume.

Get the product code from the sticker underneath the SIM tray, or from these links:
http://mobilelivingroom.de/Nokia-N9-product-codes
http://mynokiablog.com/2011/10/03/nokia-n9-product-code-and-variants-shows-uk-ireland-model/
http://www.mrcrab.net/NokiaProductCode/Nokia_N9.html?productType=RM-696

Mine is 059L3N7 for Optus, but I'm thinking of flashing the 059L698 version.

Maemo Flasher here:
http://tablets-dev.nokia.com/maemo-dev-env-downloads.php
Flasher documentation here:
http://wiki.maemo.org/Flasher

Complete flashing instructions here:
http://talk.maemo.org/showthread.php?t=82693

Actual upgrade was easier than I thought. Couple of things to take note of:
 - command prompt must be run as administrator
 - copy the bin images to the same directory as where the flasher executable is
 - Make sure phone is powered off when connecting it to the PC via USB
Whole procedure took only like 5 minutes.
c:\Program Files\Nokia\Flasher> flasher -i
flasher 3.12.1 (Oct  6 2011) Harmattan
WARNING: This tool is intended for professional use only. Using it may result
in permanently damaging your device or losing the warranty.

Suitable USB interface (bootloader/phonet) not found, waiting...
Found device RM-696, hardware revision 1603
NOLO version 2.0.49
Version of 'sw-release': DFL61_HARMATTAN_10.2011.34-1.248.1_PR_248
Success

c:\Program Files\Nokia\Flasher> flasher -f -F main.bin
flasher 3.12.1 (Oct  6 2011) Harmattan
WARNING: This tool is intended for professional use only. Using it may result
in permanently damaging your device or losing the warranty.

Found device RM-696, hardware revision 1603
NOLO version 2.0.49
Version of 'sw-release': DFL61_HARMATTAN_10.2011.34-1.248.1_PR_248
Sending ape-algo image (7103 kB)...
100% (7103 of 7103 kB, avg. 17282 kB/s)
Suitable USB interface (phonet) not found, waiting...
Ping attempt 1 (250 ms)
Server application: 1.7.2
Found product RM-696 rev. 1603
Server implements softupd protocol version 1.8
Image SW version DFL61_HARMATTAN_40.2012.21-3.299.1_PR_299
Image moslo not present
Image mmc not present
Image tar skipped
Image config skipped

Battery level 93 %, continuing.

    image        [state    progress         transfer     flash speed]
---------------------------------------------------------------------
[x] cert-sw      [finished   100 %       1 /       1 kB      NA     ]
[x] cmt-2nd      [finished   100 %      95 /      95 kB      NA     ]
[x] cmt-algo     [finished   100 %     789 /     789 kB      NA     ]
[x] cmt-mcusw    [finished   100 %    6050 /    6050 kB    3159 kB/s]
[x] xloader      [finished   100 %      23 /      23 kB      NA     ]
[x] secondary    [finished   100 %      94 /      94 kB      NA     ]
[x] kernel       [finished   100 %    2714 /    2714 kB    2446 kB/s]
[x] rootfs       [finished   100 % 1170333 / 1170333 kB   10097 kB/s]
Updating SW release
Success

c:\Program Files\Nokia\Flasher> flasher -f -F main.bin -F emmc.bin --flash-only=m
mc
flasher 3.12.1 (Oct  6 2011) Harmattan
WARNING: This tool is intended for professional use only. Using it may result
in permanently damaging your device or losing the warranty.

Ping attempt 1 (250 ms)
Server application: 1.7.2
Found product RM-696 rev. 1603
Server implements softupd protocol version 1.8
Image SW version DFL61_HARMATTAN_40.2012.21-3.299.1_PR_299
Image cmt-2nd skipped
Image cmt-algo skipped
Image cmt-mcusw skipped
Image xloader skipped
Image secondary skipped
Image kernel skipped
Image moslo skipped
Image rootfs skipped
Image tar skipped
Image config skipped

Battery level 94 %, continuing.

    image        [state    progress         transfer     flash speed]
---------------------------------------------------------------------
[x] cert-sw      [finished   100 %       1 /       1 kB      NA     ]
[x] mmc          [finished   100 % 1946679 / 1946679 kB   12860 kB/s]
Success

More tips and tricks
http://forums.whirlpool.net.au/forum-replies.cfm?t=1788707
https://docs.google.com/document/d/1a85BouTEB_Cr-K4StgDspSXUeWps-MwsA9gEyYtfrDI/edit?hl=en_US
http://talk.maemo.org/showthread.php?t=78598

Monday, November 18, 2013

KitKat on Nexus 7

Got tired of the KitKat update coming over OTA, so I flashed the KRT160 update manually.

Followed the instructions provided by Android Police. Process is pretty straightforward as I already have a customer recovery installed. Simply download the update zip (either directly from the tablet or from a PC, then copy over to internal storage). Reboot to customer recovery, and flash.

More people think it made their tables more responsive, but the only difference I noticed is the inclusion of Quickoffice.

Sunday, November 17, 2013

Movie 2013.11.17 - The Cook, the Thief, His Wife & Her Lover

One of the stranger movies I've seen. Written and directed by Peter Greenaway. Costume design by Jean Paul Gaultier. Scored by Michael Nyman. Starring Richard Bohringer as The Cook, Michael Gambon as The Thief, Helen Mirren as The Wife, and Alan Howard as Her Lover.

Uncouth British gangster crime boss Albert holds court at the high-class French restaurant Le Hollandais Restaurant run by French chef Richard. Out of boredom and spite, his wife Georgina has an affair with restaurant regular bookstore owner Michael right under his nose. As expected, Albert gets wind of the affair and goes on a rampage. He tortures young Pup to find out their secret hideaway. While Georgina is at the hospital visiting Pup, he descends on the bookstore with his posse and tortures Michael to death, force-feeding him pages from his favourite books. Georgina implores Richard to make a meal out of Michael's body. She forces Albert to eat the human dish, and shoots him in the head.

N9 Developer Mode

First thing you wanna do after getting the N9 is enable developer mode (found under Settings > Security menu). Once activated, the phone downloads a 1.2MB developer mode bundle package, and restarts. After reboot, you'll now have a Terminal app and an SDK Connectivity app.

It's a bit difficult to type on the Terminal's on-screen keyboard. Good thing the SDK Connectivity app comes with a VNC server for you to remote access in.

You can also download more developer tools. For me, all I need are Networking (tcpdump) and Utilities (wget, nano, and x11-utils).

Getting root
Run the Terminal app.
Type devel-su
Default password is rootme

Enabling VNC
Can be enabled on the SDK Connectivity app.
Or download Nokia's NetView app. Does the same thing.

Enabling ssh/scp
Log in to root account
passwd user
Give a new password to user user
ssh user@localhost
Enter password
Run SDK Connectivity to get the WLAN IP address
Connect to phone via WinSCP/putty

Where to get MeeGo apps
n9-apps.com
store.ovi.com
my-meego.com

Installation files have the *.deb file extension.

Generic install instructions:
 - copy deb file to N9
 - install using "dpkg -i *.deb" command
 - most often than not, you'll get some warnings
 - to fix, run the ff. commands:
apt-get update
apt-get -f install
 - if it specifically mentions some missing package(s), download using apt-get and install:
apt-get install
apt-get -f install

Built-in video player is very picky about the files it plays. For the record, the phone came with these video files:

Dolby Soundscapes
2:35 71.3MB
864x486 h264 @3486k
E-AC3 @ 384k

Nokia Pure
2:53 76.8M
854x480 h264 @ 3349k
E-AC3 @ 384k

Couple of alternative players out there are VLC and the kmplayer/mplayer combo.

Get the VLC installer here:
http://www.mediafire.com/download.php?dyd7mp6os9fm0ty
A few website will mention http://www.irunvlc.me/, but that domain's already obsolete.
An older version of the VLC packages can be found here:
http://maemo-archive.wedrop.it/download.videolan.org/pub/videolan/maemo/vlc/
If the installation process spews out some error messages, run these additional commands:
apt-get update
apt-get -f install
Running the VLC app gave me a desktop UI. Hangs a lot and didn't play any of the videos.

Get the kmplayer and mplayer installer here:
https://garage.maemo.org/frs/?group_id=42
A little bit better than VLC, but not much.

Installing Firefox
Installer files here:
http://romaxa.info/fennec/mozilla-central/
Browser doesn't work at all (for me). 20MB download, too.

Awesome little phone, but the lack of proper working apps is killing it. Personally, I doubt if Sailfish or a fully-working Android port will ever come and save Lankku.

Tuesday, November 12, 2013

Nokia N9 and Lumia 520

Company is having a mobile phone sale. Mostly Nokia Nseries and first-generation Lumias. Some old, some new.

Sale was supposed to start at 12 noon. I showed up at 11:45am, and there's already a long queue. I knew I should've came up earlier. I was surprised they didn't go an auction instead. That way, there's no need to queue, and the company can maximize profits.


At noon, the floodgates were opened, and people rushed in. Stacks of boxes grouped according to model and price. There were so many people about, I can't find the Lumia x20 phones that I had in mind. In a split-second, almost all the phones are gone from the tables. "Two per person!" shouted the staff. I grabbed the nearest ones I can find, and ended up with a used 16GB black N9 and a brand new yellow Lumia 520. Not bad for less than $200.

I pity the fools who showed up at exactly 12 noon.