Difference between revisions of "Main Page"

From InkBox
Jump to navigation Jump to search
Line 1: Line 1:


== What is InkBox?==
== What is InkBox?==
InkBox is an open-source, fully-functional standalone operating system for Rakuten Kobo eReaders. It makes use of Alpine Linux 3.10 and a custom user interface based on the Qt framework. Here are some of its features:
InkBox is an open-source, fully-functional standalone operating system for some Kobo and Kindle eReaders. It makes use of Alpine Linux 3.10 and a custom user interface based on the Qt framework. Here are some of its features:


* Fully integrated KoBox X11 subsystem
* Fully integrated KoBox X11 subsystem
Line 28: Line 28:
* Kobo Glo HD N437
* Kobo Glo HD N437
* Kobo Nia N306 (version A, see here: https://github.com/Kobo-InkBox/inkbox/issues/47)
* Kobo Nia N306 (version A, see here: https://github.com/Kobo-InkBox/inkbox/issues/47)
* Kobo Libra N873
* Kindle Touch
* Kindle Touch


Line 44: Line 45:


To setup InkBox, eject the microSD card from your PC and insert it in the ereader. Put the back cover on and power it on. It might take a while to boot, so be patient. Setting InkBox up is easy; just follow the instructions on the screen.
To setup InkBox, eject the microSD card from your PC and insert it in the ereader. Put the back cover on and power it on. It might take a while to boot, so be patient. Setting InkBox up is easy; just follow the instructions on the screen.
Once that is done, it is strongly recommended to update to the latest version.


== Update ==
== Update ==
'''Note:''' If your device image ships with '''version 1.5''', you need to update to '''version 1.6''' before finally updating to the latest release. Download '''both files''' for your device from [http://23.163.0.39/bundles/inkbox/native/update/1.6/ this directory] and use those to update as described below first. If your device image ships with '''version 1.6 or higher''', you can simply install the latest update.
Once the install has been done, it is strongly recommended to update to the latest version if one is available.


[http://23.163.0.39/bundles/inkbox/native/update/ Download the latest release] for your device. Connect your ereader to your PC. Copy the *.upd.isa file to [onboard storage]/.inkbox , eject the device, then unplug the USB cable. InkBox should prompt you with an update dialog. Click on "Update". If you pressed "Cancel" by accident, you can continue by going to Settings -> Page 2 -> Update.
[http://23.163.0.39/bundles/inkbox/native/update/ Download the latest release] for your device. Connect your ereader to your PC. Copy the *.upd.isa file to [onboard storage]/.inkbox , eject the device, then unplug the USB cable. InkBox should prompt you with an update dialog. Click on "Update". If you pressed "Cancel" by accident, you can continue by going to Settings -> Page 2 -> Update.
Line 56: Line 55:


== Extend USB Partition ==
== Extend USB Partition ==
By default, InkBox comes with a '''~500MB virtual partition''' that can be accessed by PC via USB and be used to store ebooks and other user data. If you are using a microSD '''>4GB''' and need more space it is possible to make this partition larger.
By default, InkBox comes with a '''512 MB virtual partition''' that can be accessed by PC via USB and be used to store eBooks and other user data. If you are using a microSD card '''with more than 4 GB of capacity''' and need more space, it is possible to make this partition larger.
 
Remove the microSD card from your ereader and connect it to a PC. Now the system partition needs to be expanded to fill your card. Find the correct partition name first:
 
<code>$ lsblk -o NAME,SIZE</code>
 
You should find a device tree that looks like similar to this:


1. Remove the microSD card from your ereader and connect it to a PC. Now the system partition needs to be expanded to fill your card. Find the correct partition name first:
<pre>$ lsblk -o <NAME>,<SIZE></pre>
2. You should find a device tree that looks like similar to this:
<pre>
<pre>
sdx                    3,6G
sdx                    3,6G
Line 71: Line 67:
└─sdxp4                2,9G
└─sdxp4                2,9G
</pre>
</pre>
'''Note:''' It is '''vital''' to select the '''right partition''' or you risk '''data loss'''.


'''Note:''' It is '''vital''' to select the '''right partition''' or you risk '''data loss'''.
3. Make sure the partition sizes match the ones in bold above. Make '''sure''' to replace <code>sdxp4</code> with the '''correct partition name''' in all following steps.
Make sure the partition sizes match the ones in bold above. Make '''sure''' to replace '''sdxp4''' with the '''correct partition name''' in all following steps.


Resize the fourth partition:
4. Resize the fourth partition:


<code># growpart /dev/'''sdxp4'''</code><br>
<pre>
<code># resize2fs /dev/'''sdxp4'''</code>
# growpart /dev/sdxp4
# resize2fs /dev/sdxp4
</pre>


Run lsblk again to confirm the partition has been grown as planned.
:Run lsblk again to confirm the partition has been grown as planned.


<code>$ lsblk -o NAME,SIZE</code>
<pre>$ lsblk -o NAME,SIZE</pre>


Take the new size of '''sdxp4''' and substract 2,5GB, the result is the '''new size you want the USB storage partition file to be''' and will be needed later.  
5. Take the new size of <code>sdxp4</code> and substract 2.5 GB; the result is the '''new size you want the USB storage partition file to be''' and will be needed later.  


Now mount the same partition, for example like this:
:Now mount the same partition, for example like this:


<code>$ mkdir inkbox && sudo mount -t ext4 /dev/'''sdxp4''' inkboxusb</code>
<pre>$ mkdir inkbox && sudo mount -t ext4 /dev/sdxp4 inkboxusb</pre>


And finally, expand the USB storage partition file. Take the new size for the partition file from the step before and replace it in this command:
And finally, expand the USB storage partition file. Take the new size for the partition file from the step before and replace it in this command:


<code># qemu-img resize ./inkboxusb/onboard X.XG</code>
<pre># qemu-img resize ./inkboxusb/onboard X.XG</pre>


Unmount the partition:
Unmount the partition:


<code># umount /dev/'''sdxp4'''</code>
<pre># umount /dev/sdxp4</pre>


Eject the microSD card, insert it into the ereader and put the cover back on. Power on the device. Now you should have the maximum possible space available for USB mode.
Eject the microSD card, insert it into the ereader and put the cover back on. Power on the device. Now you should have the maximum possible space available for USB mode.

Revision as of 13:35, 25 June 2023

What is InkBox?

InkBox is an open-source, fully-functional standalone operating system for some Kobo and Kindle eReaders. It makes use of Alpine Linux 3.10 and a custom user interface based on the Qt framework. Here are some of its features:

  • Fully integrated KoBox X11 subsystem
  • ePUB, PDF, picture and plain text display support
  • Versatile configuration options for reading
  • muPDF rendering engine for ePUBs and PDFs
  • Wi-Fi support and web browser
  • Encrypted storage with EncFS
  • Fast dictionary & local storage search
  • Dark mode
  • Full factory reset option if needed
  • Seamless update process
  • VNC viewer app
  • Search function
  • 10 built-in fonts
  • Auto-suspend
  • Lock screen/passcode
  • User-friendly experience

Currently Supported Devices

Installation

Download the latest distribution image for your device.

To flash InkBox to your eReader we need access to the internal microSD card.

Warning: Be careful! There is a risk of causing physical damage to your device. When in doubt, search for disassembly guides online.

Take off the back cover of your device and remove the internal microSD card. Confirm it has at least 4GB capacity. Insert the card into your computer.

Warning: If you proceed with the next steps using this card, all data on your ereader will be permanently wiped. To prevent this, you can make a full backup of the microSD card or use a different microSD card instead.

Use balenaEtcher to flash the InkBox image file to the card.

To setup InkBox, eject the microSD card from your PC and insert it in the ereader. Put the back cover on and power it on. It might take a while to boot, so be patient. Setting InkBox up is easy; just follow the instructions on the screen.

Update

Once the install has been done, it is strongly recommended to update to the latest version if one is available.

Download the latest release for your device. Connect your ereader to your PC. Copy the *.upd.isa file to [onboard storage]/.inkbox , eject the device, then unplug the USB cable. InkBox should prompt you with an update dialog. Click on "Update". If you pressed "Cancel" by accident, you can continue by going to Settings -> Page 2 -> Update. The Kobo will reboot and the update process will begin.

Note: If your Kobo gets stuck longer than 2 minutes on the "Updating" screen and the dots no longer move, hold the power button for 10 seconds and restart the device. The update process should continue normally.

Extend USB Partition

By default, InkBox comes with a 512 MB virtual partition that can be accessed by PC via USB and be used to store eBooks and other user data. If you are using a microSD card with more than 4 GB of capacity and need more space, it is possible to make this partition larger.

1. Remove the microSD card from your ereader and connect it to a PC. Now the system partition needs to be expanded to fill your card. Find the correct partition name first:

$ lsblk -o <NAME>,<SIZE>

2. You should find a device tree that looks like similar to this:

sdx                     3,6G
├─sdxp1                 19M
├─sdxp2                 500M
├─sdxp3                 128M
└─sdxp4                 2,9G

Note: It is vital to select the right partition or you risk data loss.

3. Make sure the partition sizes match the ones in bold above. Make sure to replace sdxp4 with the correct partition name in all following steps.

4. Resize the fourth partition:

# growpart /dev/sdxp4
# resize2fs /dev/sdxp4
Run lsblk again to confirm the partition has been grown as planned.
$ lsblk -o NAME,SIZE

5. Take the new size of sdxp4 and substract 2.5 GB; the result is the new size you want the USB storage partition file to be and will be needed later.

Now mount the same partition, for example like this:
$ mkdir inkbox && sudo mount -t ext4 /dev/sdxp4 inkboxusb

And finally, expand the USB storage partition file. Take the new size for the partition file from the step before and replace it in this command:

# qemu-img resize ./inkboxusb/onboard X.XG

Unmount the partition:

# umount /dev/sdxp4

Eject the microSD card, insert it into the ereader and put the cover back on. Power on the device. Now you should have the maximum possible space available for USB mode.

Documentation

A good place to learn about how InkBox works is the general information page. See Category:InkBox for all related documentation. See Category:Porting for all documentation related to porting InkBox to new devices.

Community

Join the official Matrix space or Discord server if you'd like to chat a bit.

Current Development Goals

InkBox's main developer currently plans to extend support to the Kobo Clara HD. Tolino devices that are rebranded Kobos might work at some point in the future, or not.

How to Help

Contributions to the the wiki and on github are always welcome, as well as donations on PayPal or LiberaPay.