<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=1537&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / heimdall not working on Devuan Jessie [SOLVED]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1537</link>
		<description><![CDATA[The most recent posts in heimdall not working on Devuan Jessie [SOLVED].]]></description>
		<lastBuildDate>Fri, 11 Aug 2017 20:02:52 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[heimdall not working on Devuan Jessie [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4383#p4383</link>
			<description><![CDATA[<p><strong>TL;DR version: There is nothing wrong with your Devuan Jessie install or with your Samsung phone. You just need a more recent heimdall than what&#039;s in the Jessie repository <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Link to what you need is at the end of the post.</strong> </p><p>So, I got one Samsung Galaxy S5 for myself and one for the wife, with intention of installing TWRP recovery and LineageOS 14.1 on them. First step is to install TWRP via heimdall.</p><p>To test whether heimdall is working, put your phone in &quot;Download mode&quot; (with phone off: volume down + home + power), connect it to your GNU/Linux box, and run this in a terminal as regular user (i.e., without sudo):</p><div class="codebox"><pre><code>heimdall print-pit</code></pre></div><p>My heart sank when, on my Devuan system, this is what happens after the above:</p><div class="codebox"><pre><code>ERROR: Failed to send request to end PIT file transfer!
ERROR: Failed to download PIT file!
Ending session...
ERROR: Failed to send end session packet!
Releasing device interface...</code></pre></div><p>I got the idea in my head to try a newer heimdall package from Debian Stretch, Buster, or Sid. This is what I get with those:</p><div class="codebox"><pre><code>heimdall: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9&#039; not found (required by ./heimdall)
heimdall: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21&#039; not found (required by ./heimdall)</code></pre></div><p>The issue here, as you may have guessed, is that the newer packages are compiled against a glibc version that&#039;s newer than Jessie&#039;s (glibc is forwards-compatible but notoriously not always backwards-compatible).</p><p>What you need to do is to compile heimdall from source (to get latest version), on Devuan/Debian Jessie or older distro (so that the package is compiled against Jessie&#039;s glibc or older). </p><p>I did the above and all errors went away when I used the resulting binary. The phones are now loaded with TWRP and LineageOS <img src="https://dev1galaxy.org/img/smilies/cool.png" width="15" height="15" alt="cool" /></p><p><strong>If you don&#039;t know how to compile or don&#039;t feel like the hassle...<br />Here is the .deb: <a href="http://files.dantas.airpost.net/public/heimdall-flash_1.4.2_amd64.deb" rel="nofollow">heimdall-flash_1.4.2_amd64.deb</a><br />If you prefer just the binary, here is is: <a href="http://files.dantas.airpost.net/public/heimdall" rel="nofollow">heimdall 1.4.2 amd64</a></strong></p><p>Enjoy,<br />Bruno</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 11 Aug 2017 20:02:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4383#p4383</guid>
		</item>
	</channel>
</rss>
