Petter Reinholdtsen: Sales number for the Free Culture translation, first half of 2016
| Title / language | Quantity |
|---|---|
| Culture Libre / French | 3 |
| Fri kultur / Norwegian | 7 |
| Free Culture / English | 14 |
| Title / language | Quantity |
|---|---|
| Culture Libre / French | 3 |
| Fri kultur / Norwegian | 7 |
| Free Culture / English | 14 |
adb reboot-bootloader fastboot oem rebootRUU fastboot flash zip rom.zip fastboot flash zip rom.zip fastboot rebootThe flash command apparently need to be done twice to take effect, as the first is just preparations and the second one do the flashing. The adb command is just to get to the boot loader menu, so turning the device on while holding volume down and the power button should work too. With the new hboot version in place I could start following the instructions on the HTC developer web site. I got the device token like this:
fastboot oem get_identifier_token 2>&1 sed 's/(bootloader) //'And once I got the unlock code via email, I could use it like this:
fastboot flash unlocktoken Unlock_code.binAnd with that final step in place, the phone was unlocked and I could start stuffing the software of my own choosing into the device. So far I only inserted a replacement recovery image to wipe the phone before I start. We will see what happen next. Perhaps I should install Debian on it. :)
git clone https://github.com/WhisperSystems/Signal-Desktop.gitNext, I patched the source to use the production servers, to be able to talk to other Signal users:
cat <<EOF patch -p0
diff -ur ./js/background.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js
--- ./js/background.js 2016-06-29 13:43:15.630344628 +0200
+++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js 2016-06-29 14:06:29.530300934 +0200
@@ -47,8 +47,8 @@
);
);
- var SERVER_URL = 'https://textsecure-service-staging.whispersystems.org';
- var ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com';
+ var SERVER_URL = 'https://textsecure-service-ca.whispersystems.org:4433';
+ var ATTACHMENT_SERVER_URL = 'https://whispersystems-textsecure-attachments.s3.amazonaws.com';
var messageReceiver;
window.getSocketStatus = function()
if (messageReceiver)
diff -ur ./js/expire.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js
--- ./js/expire.js 2016-06-29 13:43:15.630344628 +0200
+++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js2016-06-29 14:06:29.530300934 +0200
@@ -1,6 +1,6 @@
;(function()
'use strict';
- var BUILD_EXPIRATION = 0;
+ var BUILD_EXPIRATION = 1474492690000;
window.extension = window.extension ;
EOF
The first part is changing the servers, and the second is updating
an expiration timestamp. This timestamp need to be updated regularly.
It is set 90 days in the future by the build process (Gruntfile.js).
The value is seconds since 1970 times 1000, as far as I can tell.
Based on a tip and good help from the #nuug IRC channel, I wrote a
script to launch Signal in Chromium.
#!/bin/sh cd $(dirname $0) mkdir -p userdata exec chromium \ --proxy-server="socks://localhost:9050" \ --user-data-dir= pwd /userdata --load-and-launch-app= pwdThe script start the app and configure Chromium to use the Tor SOCKS5 proxy to make sure those controlling the Signal servers (today Amazon and Whisper Systems) as well as those listening on the lines will have a harder time location my laptop based on the Signal connections if they use source IP address. When the script starts, one need to follow the instructions under "Standalone Registration" in the CONTRIBUTING.md file in the git repository. I right clicked on the Signal window to get up the Chromium debugging tool, visited the 'Console' tab and wrote 'extension.install("standalone")' on the console prompt to get the registration form. Then I entered by land line phone number and pressed 'Call'. 5 seconds later the phone rang and a robot voice repeated the verification code three times. After entering the number into the verification code field in the form, I could start using Signal from my laptop. As far as I can tell, The Signal app will leak who is talking to whom and thus who know who to those controlling the central server, but such leakage is hard to avoid with a centrally controlled server setup. It is something to keep in mind when using Signal - the content of your chats are harder to intercept, but the meta data exposing your contact network is available to people you do not know. So better than many options, but not great. And sadly the usage is connected to my land line, thus allowing those controlling the server to associate it to my home and person. I would prefer it if only those I knew could tell who I was on Signal. There are options avoiding such information leakage, but most of my friends are not using them, so I am stuck with Signal for now.
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="audio/x-rosegarden">
<sub-class-of type="application/x-gzip"/>
<comment>Rosegarden project file</comment>
<glob pattern="*.rg"/>
</mime-type>
</mime-info>
This states that audio/x-rosegarden is a kind of application/x-gzip
(it is a gzipped XML file). Note, it is much better to use an
official MIME type registered with IANA than it is to make up ones own
unofficial ones like the x-rosegarden type used by rosegarden.
The desktop file of the rosegarden program failed to list
audio/x-rosegarden in its list of supported MIME types, causing the
file browsers to have no idea what to do with *.rg files:
The fix was to add "audio/x-rosegarden;" at the end of the MimeType= line. If you run into a file which fail to open the correct program when selected from the file browser, please check out the output from file --mime-type for the file, ensure the file ending and MIME type is registered somewhere under /usr/share/mime/ and check that some desktop file under /usr/share/applications/ is claiming support for this MIME type. If not, please report a bug to have it fixed. :)% grep Mime /usr/share/applications/rosegarden.desktop MimeType=audio/x-rosegarden-composition;audio/x-rosegarden-device;audio/x-rosegarden-project;audio/x-rosegarden-template;audio/midi; X-KDE-NativeMimeType=audio/x-rosegarden-composition %
The idea is simply to have one coherent place with pointers to all the stuff we have and provide, without repeating nor replacing other documentation.SOURCE_DATE_EPOCH support in autoloads files, but upstream already disabled timestamps by default some time before.The hardware mappings come from several places. The preferred way is for packages to announce their hardware support using the cross distribution appstream system. See previous blog posts about isenkram to learn how to do that.% isenkram-lookup bluez cheese fprintd fprintd-demo gkrellm-thinkbat hdapsd libpam-fprintd pidgin-blinklight thinkfan tleds tp-smapi-dkms tp-smapi-source tpb %p
The other graph show the entire history of the collected battery
statistics, comparing it to the design capacity of the battery to
visualise how the battery life time get shorter over time. The red
line in this graph is what the previous graph considers 100 percent:
In this graph you can see that I only charge the battery to 80
percent of last full capacity, and how the capacity of the battery is
shrinking. :(
The last new feature is in the collector, which now will handle
more hardware models. On some hardware, Linux power supply
information is stored in /sys/class/power_supply/ACAD/, while the
collector previously only looked in /sys/class/power_supply/AC/. Now
both are checked to figure if there is power connected to the
machine.
If you are interested in how your laptop battery is doing, please
check out the
battery-stats
in Debian unstable, or rebuild it on Jessie to get it working on
Debian stable. :) The upstream source is available from github.
Patches are very welcome.
As usual, if you use Bitcoin and want to show your support of my
activities, please send Bitcoin donations to my address
15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.
All governments are run by liars and nothing they say should be believed.His starting point was that reporters should not assume governments and corporations are telling the truth, but verify all their claims as much as possible. I wonder how many Norwegian reporters can be said to follow the principles of I. F. Stone. They are definitely in short supply. If you, like me half a year ago, have never heard of him, check him out.
- I. F. Stone
Next.