Motorola Droid 4 - Debian

In the last post I rooted the Droid 4 and installed LineageOS with SafeStrap as bootloader. Today I took care of getting the mainline kernel running and preparing a rootfs. After some communication with Tony I got the kexec stuff running (at the end the problem was my compiler generating binaries not suitable for Android). Instead of getting a compiler toolchain for Android I decided to rewrite the binary into a shellscript, so that no compiler is required. Read more →

Motorola Droid 4 - rooting

Yesterday I received the Motorola Droid 4 from my previous article. It came in a reasonable condition with a few scratches in the case (none in the display) and some of the back cover’s clips being broken. First impression: The phone feels a bit more clumpy than the N950, but much less than the N900. The sliding mechanism feels qualitatively worse than Nokia’s and the same goes for the keyboard quality. Read more →

Ersa i-Con Pico

Since some days one of the ERSA i-Con pico soldering stations in our hackerspace greeted our members with an “Error 501” message and did not heat up. Ersa provides a document, which translated the 501 error into “i-CON pico system error” with the additional hint “hardware error of the temperature regulation board or connection problem”. One of our members removed the heating element with the soldering tip (its just plugged into the tool) and connected it to the hackerspace’s second i-Con pico station today. Read more →

Bose QC35 - Battery Status

Since about half a year I own Bose QuietComfort 35 headphones. They work well since bluez 5.42 (previous versions have problems with the headphones Low Energy mode, see Debian Bug #840983). While the battery last quite long (I guess roughly 20 hours), I would like to know the current status. The Android application displays the battery state, so it can be read via bluetooth. While working on the kernel driver for Nokia bluetooth chips I coincidentally found a message from Marcel, that the headphones my support Apple’s battery status HFP AT commands. Read more →

Motorola Droid 4

Tony Lindgren is currently working on mainline kernel support for the Motrola Droid 4 (Wikipedia, GSMArena, iFixit Teardown). He documented his work to get serial over USB on the following page: http://muru.com/linux/d4. I just got myself a used one via Ebay, since it’s a decent upgrade from the Nokia N9xx phones. It’s also quite cheap (30$ in US, 50€ after import to DE (shipping + customs)). Last but not least there is no newer phone available, which has a proper hardware keyboard. Read more →

radare2: version 1.2

Another 6 weeks, another radare2 release: Yesterday version 1.2 has been released. As usual the changelog is quite impressive. As always building against Debian’s system libraries requires some work. This time its the old capstone release (as Debian uses the newest available release [which is from 2015] and not some git snapshot as radare’s upstream does). Capstone 3.0.4 did not define PPC_INS_CMPB, which is used by radare’s powerpc analysis plugin now. Read more →

Kernel Driver for Nokia Bluetooth Chips

While improving slowly, the mainline kernel’s support for smartphones is quite bad. One of the better supported phones is the Nokia N900. Apart from a few missing features, which could improve the performance of some operations (like crypto acceleration), its currently lacking support for two missing features: Bluetooth Cameras I worked on both tasks during my master’s thesis, but in this post let’s focus on the Bluetooth module. For Bluetooth support the Nokia N900 has broadcom’s bcm2048 chip (which also supports FM radio, but that’s out of scope for this post). Read more →

I2C on RPi

I recently built an access-control-system, which makes it possible to open our local hack(er)space without a physical key. The core of the system is a Raspberry Pi v2 running Debian. Connected to the RPi’s GPIOs is a big status switch, which is used to announce the hackspace status (open / closed). More recently it got a couple of MCP23017 I²C port expanders with a couple of bell buttons, a number keypad, door openers, reed switches and other door control related stuff. Read more →

MCP23017

Our hackerspace’s access-control-system (for unlocking the door) uses a few mcp23017 port expanders for input/output handling of different sensors and actors. When I started working on this, the mcp23s08 driver (which also supports the mcp23017) was not yet enabled in Debian’s arm build. I requested it to be enabled in Debian Bug #845064, which got recently fixed by Ben Hutchings. As a quick hack to solve the problem I took the driver and ripped it out of the kernel, so that I can build it externally. Read more →

Ice Diving

In the last few winters the temperature did not drop below 0°C in Oldenburg (at least not for multiple consecutive days). This year on the other hand the temperature was below freezing point for more than a week reaching -10°C. Perfect opportunity to go ice diving!

Read more →