Saturday, February 15. 2014
... GSM version (Maguro) with Android 4.3 from GNU/Linux
I found so many incomplete tutorials written in bad English that I decided to write one myself and keep it simple. You must have your phone’s bootloader unlocked; doing so will wipe your device!
- Watch this tutorial video.
- Download the fastboot and adb binaries, e.g. from the Universal Nexus Linux Toolkit. Extract the archive on your machine. Find the binaries.
The problem with this toolkit is that the bundled zips are rather old and didn’t work for me, so:
- Download the ClockworkMod recovery image from here.
- Download the SuperSU zip file from here.
- Connect your phone to your PC via USB.
- Boot your phone into bootloader mode: Power it off, push both the volume rocker up+down and then press the power button, i.e., press all three at once for about two seconds.
- ./fastboot oem unlock if you haven’t ever done it. This will wipe your device, reset it to factory settings and delete all your data. Yes, really.
- ./fastboot flash recovery /path/to/recovery-clockwork-6.0.4.7-maguro.img
- Now load the recovery: Volume button down twice to choose Recovery mode, power button to select.
- Navigate using the volume rocker: “install update from zip”, press power button to select, choose “install zip from sideload”, press power button.
- ./adb sideload /path/to/UPDATE-SuperSU-v1.93.zip
- Navigate back and reboot normally. Your installed apps should now show SuperSU installed.
Have fun!
Sunday, January 12. 2014
Shortly after I had published my first post in this series, rumors about a large (12.2”) high-resolution (2K) Note-branded Samsung Android tablet turned up. I followed those rumors closely until the sudden reveal of the Galaxy NotePRO at CES a few days ago!
This device finally seems to fit my original requirements, tailored around “active” reading:
- High-resolution screen for perfect font rendering (247 ppi); LCD in favor of e-ink due to versatility,
- Large screen for displaying A4-/Letter-sized or magazine pages in (almost) their original size,
- Dedicated stylus input for on-screen and in-document annotations in form of free-hand text, graphs, arrows, and formulas.
I still get opinions that even 10” tablets are too large & heavy and 8” are about right; anything larger ought to be a MS Windows 8 notebook. But MS does not play a role in my personal computing setup. I really do care about the points listed above.
A different point is software updates. I'm an update geek regarding Android, but in this case my focus is on the stylus software features (consider search by hand-drawn shape—yes, it works!), so I don't mind Samsung's TouchWiz UI or the possible lack of OS updates, especially since Samsung has finally fixed some long criticized issues. And it's based on the still fresh Android 4.4 after all, while my Galaxy Nexus is now stuck to 4.3.
Originally, I wanted such a device for a better workflow of reading scientific publications for work. Too bad my job has meanwhile changed... twice. But I will still make use of its features for “active” reading (annotating) of math/CS literature and for conceptual work, as well as for image editing.
Wednesday, December 4. 2013
My boot partition was so small that I couldn’t do any initramfs-updates any more, so I backed it up, deleted /dev/md0 (boot) and /dev/md1 (swap) to recreate both with new sizes, restored my backup, and after a reboot grub couldn’t find anything due to the new UUIDs of the partitions.
Before I rebooted, I should have merged the output of `mdadm -Es` into /etc/mdadm/mdadm.conf, followed by
# update-grub
# grub-install /dev/sda
# grub-install /dev/sdb
Instead, I had to go through this:
At grub rescue prompt:
> ls (md/md0)/
> set root=(md/md0)/
> set prefix=(md/md0)/grub
> insmod linux
> linux (md/md0)/vmlinuz-3.11.0-13-generic
> initrd (md/md0)/initrd.img-3.11.0-13-generic
> boot
... bringing me to a BusyBox/initramfs emergency prompt:
# ls /tmp
# cd /tmp
# mkdir disk
# mount /dev/md2 disk # root directory
# chroot disk
... bringing me to a simple bash prompt in my system:
# mount /boot
... as well as:
# mount /proc
# mount /sys
# mount /dev
... to be able to run:
# update-grub
# grub-install /dev/sda
# grub-install /dev/sdb
You wouldn’t learn much if you weren’t forced to fix things once in a while. — myself
Wednesday, November 27. 2013
Quote of myself from four years ago:
I had to do the migration to a parallel machine and had only one week to accomplish this. I’ll never do it this way again, however, rather pay for two servers for a short time and decide when to finally switch.
This is exactly how I did it this time.
Although Debian 5 lenny had been released in Feb 2009, it didn’t yet make it into Host Europe’s 4.0 line of virtual servers; instead, that virtual machine was still based on 2007’s Debian 4 etch, which received its last kernel update, still 2.6.18, by the provider in Aug 2011. I upgraded it to Debian 6 squeeze nonetheless. I noticed that this year’s Debian 7 wheezy does not run under an etch kernel (especially libc6, rkhunter and aide), and as squeeze is already oldstable since May and will no longer be maintained by next May, it was time to perform an upgrade.
Now I run an instance of their 7.0 line with the same price, but RAM and disk space were both doubled (to 2 GB and 100 GB, respectively). It is still based on squeeze with a 2.6.32 kernel; based on my experience, I expect it to run wheezy and jessie before I have to switch again (in about another four years).
Like previously (and like seven years ago), I did the TCP forwarding using rinetd, except for Postfix, for which I set up relaying again.
Tuesday, October 15. 2013
Ein Nachtrag fürs Protokoll: Ich bin seit Jahresanfang auf GigaSpeed 30 (30 Mbps Downstream/4 Mbps Up) der A1 Telekom, deren Produktreihe sich mittlerweile auf Glasfaser Speed Power umbenannt hat. Hauptgrund für das „vorgezogene“ Upgrade vom 16er-Blech äh Paket (16 Down/1 Up) war der Upstream, der für mich angesichts des langsamen Einschleichens von Cloud-Speichern in den elektronischen Alltag relevant geworden war.
Mit dem Preisverfall deren 30er-Pakets von 14,90 auf 9,90 €/M Mitte 2012 war plötzlich die Verfügbarkeit an meinem ländlichen Wohnort nicht mehr gegeben, obwohl das Paket mir offensichtlich vor drei Jahren zur Auswahl stand. Ich lauerte in den Monaten danach auf die Wiederverfügbarkeit, und tatsächlich, im November tauchte es wieder auf. Der Bestellvorgang ermittelte dann allerdings doch Nichtverfügbarkeit. Erst im Februar war mir die tatsächliche Bestellung möglich.
Das Modem hat sich auf 22,5 Mbps Downstream und 3,1 Mbps Upstream eingependelt. Die Gesamtkosten belaufen sich übrigens auf annehmbare 31,05 €/M (mit 19,90 für das Basispaket und €15÷12 Pauschale).
In gewissem Sinne sind das „drei Schritte vor, zwei zurück“: Zwar steigerte sich der Upstream von 1 auf 3 Mbps, doch werden aufgrund demnächst verdoppelter Pixelzahl meine RAW-Fotos doppelt so groß.
Tuesday, July 9. 2013
Some quotes of myself from four years ago:
“Cheap” should mean here that you don’t need to spend money on extra hardware like a remote timer or on extra software like Windoze [...]
My hope is that I can use gphoto2 with an Android smartphone.
Somehow this is still a Linux-post, as Android simply is the most popular Linux distribution to date. Btw, PC and smartphone don’t count as dedicated extra hardware. But you might need to purchase an app and a USB adapter:
Meanwhile I use the awesome DSLR Controller on my Android smartphone in USB host-mode to create time-lapse picture sequences on my aging Canon EOS 40D—a thing that wouldn’t work with a diePhone, I guess. This app can do a lot more, of course. Up to now, you have to rely on USB. However, as Wi-Fi enabled DSLRs are appearing, there is some hope to get rid of that cable and adapter one day; Canon’s own EOS Remote app doesn’t support time-lapse shooting yet. [Update: To equip your camera with Wi-Fi, you could hack an Android TV stick!]
The most elegant solution would of course be located within the camera itself. Canon is still sleeping in this regard, but at least there’s the third-party Magic Lantern firmware add-on for some newer models, also sporting an intervalometer. My 40D is not (yet, but I guess won’t ever be) supported.
You should still set the camera to a resolution at or slightly above the HD 1080p resolution, which in my case is 1936×1288. You should fix the aperture and ISO values, and probably also the exposure time. [Update: In addition, fix the white balance. Also, don’t forget to cover the viewfinder with the eyepiece cover on your strap, as otherwise you might get different exposures that result in flickering!]
After getting the images to your Linux machine, you need to crop the pictures from 3:2 to 16:9 (in my case 1936×1089) or crop a 1920×1080 patch directly. You can do this with a simple script using ImageMagick:
#!/bin/bash
[ ! -z “$1” ] && v=$1 || v=0 [ ! -z “$2” ] && h=$2 || h=0
for img in *JPG; do num=$(echo $img | tr -d ’[:alpha:]_.’) convert $img -crop 1920x1080+$h+$v img_${num}c.jpg done
(GNU Parallel didn’t work for me.) You can then issue
$ mencoder ’mf://*jpg’ \ -nosound \ -ovc x264 \ -x264encopts nocabac:level_idc=41:bframes=0:bitrate=9500:\ global_header:threads=auto:pass=1 \ -mf type=jpg:fps=24 \ -vf dsize=1920:1080:2 \ -of lavf -lavfopts format=mp4 \ -o timelapse-f24-1080.mp4
to render an HD video into a format that’s also recognized by your smartphone.
Finally, you could use OpenShot to edit your videos and add background music. (You could of course compose that music yourself using FOSS as well...)
Wednesday, May 22. 2013
I started the following section as a draft in 2008, with the generic title “Mobile device wanted”:
- I need an electronic device with about the shape and weight of a usual magazine or book.
- It should have an electronic touch-screen with a reasonably high resolution, in a size that covers most of the front area.
- The device should be capable of storing files of all type.
- The device’s software should be capable of:
- Showing documents of various formats (especially PDF) that can be scrolled by touching the screen.
- The screen should capture and visualize touch-pen movements correspondingly, e.g. to underline phrases or add hand-written notes. (Most important!)
- Bookmark functionality and cross-document references. (OK, just nice to have.)
- These notes should be stored in some way, either directly in the document (if the format allows it), or in a separate database or file that maybe even allows exporting the additional information.
- Editing editable document formats such as DOC or ODT by translating touch-pen movements to text is optional.
- Optional features:
- Keyboard underneath or attachable.
- Network connection (LAN/Wi-Fi) and internet/e-mail/WWW software.
I want such a device as I read many scientific papers/PDFs for work. It’s not convenient to print them all out, gather them as a bunch of single sheets and take notes with a real pen while e.g. on a train. It would be nice to have a PC-like device, as software and operating systems already exist, and it would immediately be possible to search the web for further information.
It seems that such a device is finally coming in two different incarnations: As netbook or as e-reader.
Yes. The ¡Pad didn’t exist yet. That mentioned netbook back then was a convertible, with a touch-screen LCD that could be rotated to be operated like a tablet. Similar solutions still exist, e.g. the Lenovo ThinkPad X230, but I dislike the low screen resolution, its weight and the MS Windows 7 OS that’s not tailored for touch use. But the main reason why I disliked both the netbook and the e-readers was that these were no dedicated solutions for stylus input—I wanted to write formulas and draw graphs and arrows. I followed the evolution of e-readers with e-ink displays, but they were just too laggy.
When the ¡Pad was introduced in 2010, I saw the desired technology approaching, but I was leering at a more open Android solution. Sadly, in the first time those tablets were only targeted at game and movie enthusiasts, and were more considered gadgets than productive devices. I was drooling over Plastic Logic’s QUE e-reader that also had a stylus, but of course it never appeared on the market.
The finally tablet-optimized Android 3 of 2011 wasn’t mature. Also, I still think that 10” screen diagonals are somewhat small compared to textbooks or magazines, so I was drooling over Kno’s 14” tablet. (I shake my head over opinions that 10” are already too large.) Of course, Kno went out of the hardware business before reaching production. From a different manufacturer, and while too underweight for my needs, the NoteSlate was a nice concept, but it still doesn’t exist.
2011 also brought Samsung’s S Pen technology with their Android-based Note brand, and I thought that a tablet variant would be just around the corner. Indeed, the Note 10.1 came in 2012, but it still had that pixelated 720p resolution (regarding font rendering) instead of more reasonable 1080p. Finally, there seem to be two 11” Samsung tablets lurking for 2013, but none of them is Note branded; there’s also a rumor that there won’t be a Note 10.1 successor soon due to weak sales of the current model.
It appears I’ll have to wait for yet another year.
Saturday, March 17. 2012
Changes during the recent months:
- Deleted accounts
- Gowalla (meanwhile shut down by FB)
- Foursquare
- FootFeed (that combined the above two)
- FB (after 8 months of deactivation)
- FriendFeed
- Flickr and Yahoo—I had already abandoned Flickr in 2010 and moved to SmugMug last year, but now I also deleted ...
- ... SmugMug, haven’t really dived into it, using Google+ as photo showroom
- PicPlz (only possible via mail to support), using Google+ for random pics
- Last.fm (never used)
- Blip.fm (rarely used)
- Posterous (never used)
- Flattr, had abandoned it in 2010, was too expensive
- Not (yet) deleted
- Brightkite, service was deactivated for weeks, site meanwhile unreachable
- Tupalo, maybe give another chance
- PayPal, closing didn’t work for days due to a “temporary communication problem”—at least I removed critical data
- eBay, not sure if I really don’t need it anymore
- Soup.io, another platform for devotedly wasting one’s time
- Other considerations
- Might set Twitter to private soon, only using it passively
|