<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kindle &#8211; ZZ &amp; Joa</title>
	<atom:link href="https://blog.znjoa.com/tag/kindle/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.znjoa.com</link>
	<description>Work &#38; Life</description>
	<lastBuildDate>Wed, 19 Feb 2025 23:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.znjoa.com/wp-content/uploads/2022/11/cropped-DALL·E-2022-11-23-19.39.49-USSR-style-poster-of-VR-and-AR-150x150.jpg</url>
	<title>Kindle &#8211; ZZ &amp; Joa</title>
	<link>https://blog.znjoa.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">192961540</site>	<item>
		<title>Installing USBNetwork (SSH service) on Kindle</title>
		<link>https://blog.znjoa.com/2023/07/26/installing-usbnetwork-on-kindle/</link>
					<comments>https://blog.znjoa.com/2023/07/26/installing-usbnetwork-on-kindle/#comments</comments>
		
		<dc:creator><![CDATA[Zz]]></dc:creator>
		<pubDate>Tue, 25 Jul 2023 22:54:47 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[paperwhite]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH via WiFi]]></category>
		<category><![CDATA[usbnetwork]]></category>
		<guid isPermaLink="false">http://192.168.0.186/?p=191</guid>

					<description><![CDATA[This enables you to connect to your Kindle via SSH using USB connection. With some further&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p>This enables you to connect to your Kindle via SSH using USB connection. With some further settings, you can SSH with WiFi.</p>



<h2 class="wp-block-heading">Prerequisites</h2>



<ul class="wp-block-list">
<li>You have a jailbroken Kindle. If not, you can refer to <a href="https://www.znjoa.com/2023/07/25/jailbreaking-my-kindle-paperwhite-gen-1/" target="_blank" rel="noreferrer noopener">this post</a>.</li>



<li>Both <strong>KUAL</strong> and <strong>MRPI</strong> are installed. If not, refer to <a href="https://www.znjoa.com/2023/07/25/installing-kual-and-mrpi-on-a-jailbroken-kindle-paperwhite-1/" target="_blank" rel="noreferrer noopener">this post</a>.</li>
</ul>



<h2 class="wp-block-heading">Installing</h2>



<ol class="wp-block-list">
<li>Go to the <a href="https://www.mobileread.com/forums/showthread.php?t=225030" target="_blank" rel="noreferrer noopener">Snapshots page</a> on MobileRead.</li>



<li>Under the right product category, find the <strong>USBNetwork Hack</strong>. Download the <code>.tar.xz</code> file.</li>



<li>Extract the downloaded file, select the <strong>correct</strong> <code>Update_usbnet_*.bin</code> file. There are multiple update files for different devices, so make sure you select the correct one!</li>



<li>Connect your Kindle to your computer via USB cable. Confirm it’s in USB Drive Mode.</li>



<li>Place the selected file in Step 3 in <code>/mrpackage/</code> under your Kindle&#8217;s root folder.</li>



<li>Disconnect Kindle from the computer.</li>



<li>Go to <code>KUAL--Helper--Install MR Packages</code>, install the <code>USBNetwork</code>.</li>
</ol>



<h2 class="wp-block-heading">SSH via USB</h2>



<p>After installing by default, this is the only possible way to connect. Depending on the OS, some of the following steps can differ:</p>



<ol class="wp-block-list">
<li>Turn on the SSH server on the Kindle by typing <code>;un</code> in the search bar then press <code>Enter</code>. This will start the server with its IP as <code>192.168.15.244</code> which expects a incoming connection from <code>192.168.15.201</code>.</li>



<li>Configure the network on the client side:
<ul class="wp-block-list">
<li>macOS: <code>System Settings--Network--RNDIS/Ethernet Gadget--Details--TCP/IP</code>
<ul class="wp-block-list">
<li><code>Configure IPv4</code>: <code>Manually</code></li>



<li><code>IP Address: 192.168.15.201</code></li>



<li><code>Subnet Mask: 255.255.255.0</code></li>



<li>The red dot indicating the network should turn green</li>
</ul>
</li>



<li>Linux: <code>ifconfig usb0 192.168.15.201</code></li>



<li>Windows: Please check the Windows section of <a href="https://wiki.mobileread.com/wiki/USBNetwork" target="_blank" rel="noreferrer noopener">this post</a>.</li>
</ul>
</li>



<li>Connecting to server: <code>ssh root@192.168.15.244</code>. No password, so just press <code>Enter</code>.</li>
</ol>



<h2 class="wp-block-heading">SSH via WiFi</h2>



<p>Now that you have the remote access to your Kindle, you can also turn on the SSH connection via WiFi. There are two reasons that you might want to do this:</p>



<ol class="wp-block-list">
<li>The connecting is easier as you don&#8217;t have to do the plugging and unplugging.</li>



<li>It might be easier for the debugging as the Kindle being charged while connecting via USB might influence some system behaviors which make the debugging difficult.</li>
</ol>



<p>This can be enabled by:</p>



<ol class="wp-block-list">
<li>Change <code>USE_WIFI</code> option to <code>TRUE</code> for <code>/mnt/us/usbnet/etc/config</code></li>



<li>Restart SSH server in KUAL</li>
</ol>



<p>Then disconnecting the Kindle from the computer, the server can be accessed by <code><code><code>ssh root@YourKindle'sIP</code></code></code><code><code></code></code> (usually it&#8217;s <code>192.168.0|1.x</code>).</p>



<h2 class="wp-block-heading">Some tidying up</h2>



<p>Some of the below are not closely related to SSH but they become a problem once SSH connection is possible.</p>



<h3 class="wp-block-heading">Start SSH service on boot</h3>



<ol class="wp-block-list">
<li>SSH into Kindle</li>



<li><code>touch /mnt/us/usbnet/auto</code></li>
</ol>



<h3 class="wp-block-heading">Show logs while starting Kindle</h3>



<ol class="wp-block-list">
<li>SSH into Kindle</li>



<li><code>touch /mnt/us/usbnet/verbose</code></li>
</ol>



<p>This will show some logs at the bottom of the screen while Kindle is starting.</p>



<h3 class="wp-block-heading">Give Kindle a static IP</h3>



<p>If you want to use SSH via WiFi consistently, it is recommended to use DHCP to give Kindle a static local IP. This can be achieved by a router.</p>



<h3 class="wp-block-heading">Set a password for <code><code class="EnlighterJSRAW" data-enlighter-language="bash">root</code></code> user</h3>



<p>This is a major security risk with incoming SSH connection. Essentially without password anyone within your LAN has the access to your Kindle.</p>



<ol class="wp-block-list">
<li>SSH into Kindle</li>



<li><code>passwd</code>, then enter your new password</li>
</ol>



<p>Attention, next time when you want to Ssh into your Kindle, you should use the newly-set password.</p>



<h3 class="wp-block-heading">Use pub key authentication</h3>



<p>This is more convenient and securer than a password login. The steps are below:</p>



<ol class="wp-block-list">
<li>Run <code>ssh-keygen</code> on your <strong>client</strong> machine. Enter the name you would like it to have. In the end it gives you a private key <code>xxx</code> and a public key <code>xxx.pub</code>.</li>



<li>Copy the <code>xxx.pub</code> to <code>/mnt/us/usbnet/etc/</code> using <code>scp</code>, <strong>rename</strong> it to <code>authorized_keys</code></li>



<li>Copy <code>xxx</code> to the <code>.ssh</code> folder on your <strong>client</strong> machine.</li>
</ol>



<p>Now you should be able to connect your Kindle with pub key authentication.</p>



<h3 class="wp-block-heading">Some more tweaks</h3>



<p>Similar as the <code>SSH</code> service on another Linux machine, there exists a <code>sshd</code> config file in Kindle&#8217;s system <code>(/mnt/us/usbnet/etc/sshd_config)</code>. There you can do things like <strong>turning off password login</strong>, <strong>restrict login IPs</strong> and <strong>adjusting port</strong> etc.</p>



<h2 class="wp-block-heading">Closing remarks</h2>



<p>Connecting to Kindle via <code>SSH</code> to be honest is not that straightforward comparing to other Linux machines. However, this is not all impossible by following the previously mentioned steps. This exposes the system files to us and make possible further tweaking of the system via scripting.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.znjoa.com/2023/07/26/installing-usbnetwork-on-kindle/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">191</post-id>	</item>
		<item>
		<title>Installing KUAL and MRPI on a jailbroken Kindle Paperwhite 1</title>
		<link>https://blog.znjoa.com/2023/07/25/installing-kual-and-mrpi-on-a-jailbroken-kindle-paperwhite-1/</link>
					<comments>https://blog.znjoa.com/2023/07/25/installing-kual-and-mrpi-on-a-jailbroken-kindle-paperwhite-1/#comments</comments>
		
		<dc:creator><![CDATA[Zz]]></dc:creator>
		<pubDate>Tue, 25 Jul 2023 21:10:15 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Jailbreaking]]></category>
		<category><![CDATA[KAUL]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[MRPI]]></category>
		<guid isPermaLink="false">http://192.168.0.186/?p=182</guid>

					<description><![CDATA[Although this tutorial is based on a jailbroken Kindle Paperwhite Gen 1, it should also work&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p>Although this tutorial is based on a jailbroken Kindle Paperwhite Gen 1, it should also work similarly for other Kindle models.</p>



<h2 class="wp-block-heading">Why KUAL and MRPI?</h2>



<p>Many extensions you can install after jailbreaking the Kindle depends on them, e.g., enabling <code>SSH</code> on the Kindle.</p>



<h2 class="wp-block-heading">Prerequisites</h2>



<p>You have a Kindle which is already <strong>jailbroken</strong>. If not, refer to <a href="https://www.znjoa.com/2023/07/25/jailbreaking-my-kindle-paperwhite-gen-1/" target="_blank" rel="noreferrer noopener">this post</a>.</p>



<h2 class="wp-block-heading">KUAL</h2>



<p>It can be installed by following these steps:</p>



<ol class="wp-block-list">
<li>Go to the <a rel="noreferrer noopener" href="https://www.mobileread.com/forums/showthread.php?t=225030" data-type="URL" data-id="https://www.mobileread.com/forums/showthread.php?t=225030" target="_blank">Snapshots page</a> on MobileRead, there under the <strong><code>KUAL &amp; KUAL extensions</code></strong> section, you can download the file for the bullet <strong>KUAL</strong>.</li>



<li>Extract the downloaded <code>.tar.xz</code> file.
<ul class="wp-block-list">
<li>If your Kindle runs firmware <code>5.x</code>, select file <code>KUAL-KDK-2.0.azw2</code></li>



<li>If your Kindle runs an older firmware, select file <code>KUAL-KDK-1.0.azw2</code></li>
</ul>
</li>



<li>Connect your Kindle to your computer via USB cable. Confirm it&#8217;s in USB Drive Mode.</li>



<li>Copy the selected file into <code>/documents</code> of your Kindle drive.</li>



<li>Disconnect your Kindle and a new book should appear on your home screen.</li>



<li>Tap on the book, you enter KUAL, meaning it&#8217;s successfully installed.</li>
</ol>



<h2 class="wp-block-heading">MRPI</h2>



<p>It stands for&nbsp;<strong>MobileRead Package Installer</strong>, which is an extension of KUAL. You can install many packages using MRPI and it makes your life easier according to MobileRead.</p>



<p>The steps to install are:</p>



<ol class="wp-block-list">
<li>Go to the <a href="https://www.mobileread.com/forums/showthread.php?t=225030" target="_blank" rel="noreferrer noopener" data-type="URL" data-id="https://www.mobileread.com/forums/showthread.php?t=225030">Snapshots page</a> on MobileRead, there under the <strong><code>KUAL &amp; KUAL extensions</code></strong> section, you can download the file for the bullet <strong>MR Package Installer</strong>.</li>



<li>Extract the downloaded <code>.tar.xz</code> file.</li>



<li>Connect your Kindle to your computer via USB cable. Confirm it&#8217;s in USB Drive Mode.</li>



<li>Copy all extracted files in Step 2 to the <strong>root folder</strong> of your Kindle.</li>



<li>After disconnecting your Kindle from the computer, you can confirm it&#8217;s successfully installed by going to <strong>KUAL</strong>, there a new <strong>helper</strong> menu should appear.</li>
</ol>



<h2 class="wp-block-heading">Concluding remarks</h2>



<p>With these preparations done, many extensions can be installed, which will be shown in <a href="https://www.znjoa.com/2023/07/26/installing-usbnetwork-on-kindle/" target="_blank" rel="noreferrer noopener">the next post</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.znjoa.com/2023/07/25/installing-kual-and-mrpi-on-a-jailbroken-kindle-paperwhite-1/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">182</post-id>	</item>
		<item>
		<title>Jailbreaking my Kindle Paperwhite (Gen 1)</title>
		<link>https://blog.znjoa.com/2023/07/25/jailbreaking-my-kindle-paperwhite-gen-1/</link>
					<comments>https://blog.znjoa.com/2023/07/25/jailbreaking-my-kindle-paperwhite-gen-1/#comments</comments>
		
		<dc:creator><![CDATA[Zz]]></dc:creator>
		<pubDate>Tue, 25 Jul 2023 20:35:00 +0000</pubDate>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[downgrading]]></category>
		<category><![CDATA[Jailbreaking]]></category>
		<category><![CDATA[Kindle]]></category>
		<category><![CDATA[paperwhite]]></category>
		<guid isPermaLink="false">http://192.168.0.186/?p=159</guid>

					<description><![CDATA[The main steps are (1) downgrading and then (2) jailbreaking. The details are shown below with&#46;&#46;&#46;]]></description>
										<content:encoded><![CDATA[
<p>The main steps are (1) <strong>downgrading</strong> and then (2) <strong>jailbreaking</strong>. The details are shown below with most of the information from <a href="https://www.mobileread.com">MobileRead</a>.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Downgrading:</h2>



<p><em>This is mainly based on <a rel="noreferrer noopener" href="https://www.mobileread.com/forums/showthread.php?t=264432" target="_blank">this post</a> on MobileRead.</em></p>



<p>The firmware on my KW1 is <code>5.6.6.1</code> which doesn&#8217;t seem to be jailbreaking ready according to MobileRead. Thus, it needs to be downgraded to a supported version of firmware <code>(5.3.3</code> before applying jailbreaking. The steps are:</p>



<ol class="wp-block-list">
<li>Download <code>5.3.3</code> firmware <a href="https://s3.amazonaws.com/G7G_FirmwareUpdates_WebDownloads/update_kindle_5.3.3.bin" target="_blank" rel="noreferrer noopener">here</a></li>



<li>Disable your Kindle&#8217;s WiFi by turning on airplane mode</li>



<li>Connect your Kindle to your computer through USB cable, you should see a wallpaper displaying <code>USB Drive Mode</code></li>



<li>Once connected, copy the download firmware <code>(.bin)</code> to the root of your connected Kindle</li>



<li>keep connected, wait for 2 minutes</li>



<li><strong>Press and hold</strong> power button until Kindle is restarted, now it should be installing the firmware.</li>



<li>You can confirm the downgrading after the reboot by going to: <code>Menu--Settings--Menu--device info</code></li>
</ol>



<p>If you see <code>5.3.3</code> for the firmware, congrats! You have successfully downgraded the firmware on your Kindle Paperwhite 1.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Jailbreaking</h2>



<p><em>This is mainly based on <a href="https://www.mobileread.com/forums/showthread.php?t=186645" target="_blank" rel="noreferrer noopener">this post </a>on MobileRead.</em></p>



<p>Now you are on <code>5.3.3</code>, you can jailbreak your Kindle by following these steps:</p>



<ol class="wp-block-list">
<li>Download <code><strong>K5 JailBreak</strong>&nbsp;<em>(5.0.x - 5.4.4.2)</em></code> file from <a rel="noreferrer noopener" href="https://www.mobileread.com/forums/showthread.php?t=225030" target="_blank">Snapshots page </a>on MobileRead.</li>



<li>Connect your Kindle to your computer by USB, make sure it&#8217;s in USB drive mode</li>



<li>Extract the content of the downloaded <code>tar.xz</code> file <strong>(not the folder <code>JailBreak</code> itself)</strong> to the root folder of your Kindle. </li>



<li>Update the Kindle system as you normally will by going to: <code>Menu--Settings--Menu--Update your Kindle</code>. <strong>The system will not reboot.</strong> Instead, after a few seconds the following text appear <strong><code>**** JAILBREAK ****</code></strong>. This will only appear once.</li>



<li>Restart your Kindle by: <code>Menu--Settings--Menu--Restart</code>.</li>
</ol>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading">Concluding remarks</h2>



<p>Jailbreaking your Kindle opens many new ways for you to use your Kindle. But before going into, several preparations need to be done on the Kindle, which will be shown in <a href="https://www.znjoa.com/2023/07/25/installing-kual-and-mrpi-on-a-jailbroken-kindle-paperwhite-1/" target="_blank" rel="noreferrer noopener">another post</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.znjoa.com/2023/07/25/jailbreaking-my-kindle-paperwhite-gen-1/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">159</post-id>	</item>
	</channel>
</rss>
