<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gingerbread on tsvinc</title>
		<link>https://tsvinc.dev/tags/gingerbread/</link>
		<description>Recent content in Gingerbread on tsvinc</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 11 Jan 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://tsvinc.dev/tags/gingerbread/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>HTC Desire Z battery tile: the SD card its launcher can&#39;t write</title>
				<link>https://tsvinc.dev/posts/118ma-fuel-gauge-tile/</link>
				<pubDate>Sun, 11 Jan 2026 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/118ma-fuel-gauge-tile/</guid>
				<description>&lt;p&gt;The first builds of the logger turned the tile green and wrote nothing. The fifth place I tried to put its file worked. About thirteen hours after the first of those builds, I moved the file to the SD card on principle, and well after midnight I found it had written nothing again. The tile itself, the part with actual logic in it, took one build.&lt;/p&gt;&#xA;&lt;p&gt;The tile lives on MeshLauncher, the home screen I wrote for my HTC Desire Z, a 2010 phone on CyanogenMod 7 (Android 2.3, a community build) where I had started replacing stock apps with small ones of my own. MeshLauncher &lt;a href=&#34;https://tsvinc.dev/posts/aosp-test-keys/&#34;&gt;runs as UID 1000&lt;/a&gt;, the system user, because this build trusts the platform key it is signed with. Hold on to that UID; it is the villain. The tile shows the phone&#39;s current draw from a kernel file, &lt;code&gt;smem_text&lt;/code&gt;, which &lt;a href=&#34;https://tsvinc.dev/posts/power-monitoring-sysfs/&#34;&gt;the previous post&lt;/a&gt; takes apart. Tap it and it logs one CSV line every ten seconds. This post is the day it took to find a directory that would accept those lines.&lt;/p&gt;</description>
			</item>
			<item>
				<title>HTC Desire Z battery drain in milliamps, straight from sysfs</title>
				<link>https://tsvinc.dev/posts/power-monitoring-sysfs/</link>
				<pubDate>Sun, 19 Oct 2025 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/power-monitoring-sysfs/</guid>
				<description>&lt;p&gt;The battery icon said 100% for the whole session, and it was telling the truth. The phone was on a USB cable and full, so 100% was the correct answer to a question I had stopped asking. The number I wanted sat one layer down. In one 70-second stretch of my log, the phone&#39;s estimated time left on a full charge went from 6.8 hours to 15.3 and the percentage did not twitch. I have a soft spot for a gauge that is accurate and useless at the same time. This one gets a place on the shelf.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Terraria on the HTC Desire Z: a DRM loop and a dead edge</title>
				<link>https://tsvinc.dev/posts/terraria-dead-zone/</link>
				<pubDate>Sat, 28 Dec 2024 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/terraria-dead-zone/</guid>
				<description>&lt;p&gt;My thumb is on the row of hearts at the top of the screen, and nothing happens. Not a slow response, not a wrong item selected: the game behaves as if the thumb is somewhere else entirely. Tapping again, slower and with more conviction, is a debugging technique with a perfect record of not working, and it kept that record. By the end of the afternoon I had patched the game&#39;s license check three times, signed it with two different keys and swapped it for a newer build, all to arrive at a screen I could not touch.&lt;/p&gt;</description>
			</item>
			<item>
				<title>A camera app for the HTC Desire Z, cut from 13,144 lines to 881</title>
				<link>https://tsvinc.dev/posts/meshcam-android-gingerbread/</link>
				<pubDate>Tue, 12 Nov 2024 00:00:00 +0000</pubDate>
				<guid>https://tsvinc.dev/posts/meshcam-android-gingerbread/</guid>
				<description>&lt;p&gt;The plan was a fork. Take AnonCam, an open-source camera built on the Android 2.3 camera app, delete what my phone does not need, keep the rest. What shipped is 881 lines, and the part of AnonCam still in it fits in three files, renamed and cut down. I call that a fork the way I call a house with one original doorframe a renovation: technically, and only when nobody is checking the paperwork.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
