Nexus 4 Android 5.0 Lollipop

For some reason the Lollipop OTA wouldn’t install on my Nexus 4. It kept failing with the following error:

Package expects build fingerprint of
google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys or
google/occam/mako:5.0/LRX21T/1576899:user/release-keys: this device has
google/occam/mako:4.4.2/KOT49H/937116:user/release-keys.

E:Error in
/cache/1c6f10c34ed54fb29844906b2f041c900ba23a6b.signed-occam-LRX21T-from-KTU84P.1c6f10c3.zip

I tried a couple of times but no avail. The reports I read mentioned something might have changed for being root. I unlocked and rooted the Nexus 4 when I bought it, but I don’t remember really doing anything that really should’ve messed anything up. But oh well. I even tried flashing the two recoveries that matched: KOT49H and KTU84P. That didn’t help.

So I downloaded the factory image and ran the flash-all.sh.

[jesusr@dhcp137-228 occam-lrx21t]$ adb reboot bootloader
[jesusr@dhcp137-228 occam-lrx21t]$ ./flash-all.sh 
sending 'bootloader' (2264 KB)...
OKAY [  0.073s]
writing 'bootloader'...
OKAY [  0.370s]
finished. total time: 0.443s
rebooting into bootloader...
OKAY [  0.001s]
finished. total time: 0.001s
sending 'radio' (45537 KB)...
OKAY [  1.437s]
writing 'radio'...
OKAY [  3.373s]
finished. total time: 4.811s
rebooting into bootloader...
OKAY [  0.001s]
finished. total time: 0.001s
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: MAKOZ30f
Baseband Version.....: XXXXXX-XXXXXXXX-2.0.1701.04
Serial Number........: XXXXXXXXXXXXXXXX
                       
--------------------------------------------
checking product...
OKAY [  0.002s]
checking version-bootloader...
OKAY [  0.002s]
checking version-baseband...
OKAY [  0.002s]
sending 'boot' (6348 KB)...
OKAY [  0.204s]
writing 'boot'...
OKAY [  0.397s]
sending 'recovery' (6892 KB)...
OKAY [  0.220s]
writing 'recovery'...
OKAY [  0.398s]
erasing 'system'...
OKAY [  3.935s]
sending 'system' (809641 KB)...
OKAY [ 25.481s]
writing 'system'...
OKAY [ 62.844s]
erasing 'userdata'...
OKAY [ 76.469s]
formatting 'userdata' partition...
Creating filesystem with parameters:
    Size: 14129561600
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8144
    Inode size: 256
    Journal blocks: 32768
    Label: 
    Blocks: 3449600
    Block groups: 106
    Reserved block group size: 847
Created filesystem with 11/863264 inodes and 95427/3449600 blocks
sending 'userdata' (137438 KB)...
writing 'userdata'...
OKAY [ 13.446s]
erasing 'cache'...
OKAY [  0.190s]
formatting 'cache' partition...
Creating filesystem with parameters:
    Size: 587202560
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 7168
    Inode size: 256
    Journal blocks: 2240
    Label: 
    Blocks: 143360
    Block groups: 5
    Reserved block group size: 39
Created filesystem with 11/35840 inodes and 4616/143360 blocks
sending 'cache' (10984 KB)...
writing 'cache'...
OKAY [  1.029s]
rebooting...

finished. total time: 184.628s
[jesusr@dhcp137-228 occam-lrx21t]$ 

Phone has rebooted and re-downloading apps from Google. Next I’ll restore my Helium backup hopefully that worked :)

Goodbye newspapers

I’ve subscribed to a newspaper for 15+ years. I used to read quite a bit of it, but of late, I’ve just been reading the Money section and the most important part, the Comics. I was getting papers Friday, Saturday & Sunday, and realized I was effectively putting the Friday & Saturday ones directly in the recycle bin.

I kept holding on to the subscription because I felt that I could keep the dying industry alive. Clearly I’m not enough, they need to help themselves. Last night they emailed me to notify me that my subscription rate was increasing due to increased costs. INCREASING? you’re a dying industry you need to keep subscriptions as long as possible and as many as possible as well. Increasing renewal rates is NOT the way to go.

That was the last straw. I emailed their customer service last night and asked to cancel my subscription. Fully expecting to have to fight them to cancel it, but found this morning they just cancelled it. No wonder they’re a dying industry, they’re not even trying to keep subscribers. I’ll keep getting newspapers until 9/26th when my current subscription ends. But that will be it, no more newspapers for me.

SSL sucks

I swear every time I start going down the SSL path I get similar errors and never remember what they mean. Trying to get my app talking to qpid broker using the JMS client.


Caused by: javax.net.ssl.SSLException: Received fatal alert: bad_certificate
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1630) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1598) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1767) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1063) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:887) ~[na:1.7.0_55]
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:761) ~[na:1.7.0_55]
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624) ~[na:1.7.0_55]
at org.apache.qpid.transport.network.security.ssl.SSLReceiver.received(SSLReceiver.java:102) ~[qpid-common-0.22.jar:na]
... 3 common frames omitted

Phone scam

Just received a call from 1-202-456-7890 (notice the increasing numbers) telling me that I’ve been selected by the “government” for a $9,000 grant. It is only given to those citizens that pay their taxes on time, no bankruptcies, etc. Apparently I can use this money for whatever I want home repair, buy a new car, etc. EXCEPT for gambling. I can receive this money in one of two ways either a bank account (savings, checking, money market) or a “plastic account” that is credit card, debit card, etc. I asked if this money was subject to income tax, they said NO (yeah right), then I asked to have a certified check mailed to a PO Box. They said it can only be sent via bank or plastic account. The “government” has not authorized payment via check.

At this point I grew tired of his bulls**t and said that I’m going to report them to the FTC, FBI and FCC. Do not call my number anymore. After I hung up I called the number to see if it was indeed a fake one, and sure enough “you’ve reached a non-working number”.

So if you get a Washington, DC or any call asking for information, don’t give it to them. It is fun playing along though :)

The FTC already has this scam in various forms:

http://www.consumer.ftc.gov/articles/0113-government-grant-scamshttp://www.consumer.ftc.gov/blog/another-chapter-free-grant-fictionhttp://www.consumer.ftc.gov/search/site/grant