Difference between revisions of "Main Page"

From InkBox
Jump to navigation Jump to search
(adding info from website and github, cleaning up, removing info regarding nickel addon for now)
Line 1: Line 1:
InkBox is an open-source, Qt-based eBook reader. It mainly comes in two versions: the normal ".adds" package and the InkBox OS package.
== 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 QT. Here are some of its features:


== Where to get it ==
* Fully integrated KoBox X11 subsystem
=== InkBox OS ===
* ePUB, PDF, picture and plain text display support
Based on Alpine Linux 3.10, InkBox OS is currently available for:
* 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 ==
* Kobo Mini N705
* Kobo Mini N705
* Kobo Touch N905B
* Kobo Touch N905B
* Kobo Touch N905C
* Kobo Touch N905C
* Kobo Glo N613
* Kobo Glo N613
* Kobo Aura 2 (SE) N236
* Kobo Aura (2nd Edition) N236
* Kobo Glo HD N437
* Kobo Glo HD N437
* Kobo Nia N306
* Kobo Nia N306
==== Downloads ====
Distribution images are available [http://23.163.0.39/bundles/inkbox/native/ here].
To update InkBox, visit [http://23.163.0.39/bundles/inkbox/native/update/ this page].


==== Current development goals ====
InkBox's main developer currently plans to extend support to the Kobo Clara HD.


=== Nickel add-on ===
== Installation ==
'''Warning''': Those packages are '''outdated''' and '''unmaintained''' (2022/02/13). If you still want to use them, they are available there: http://23.163.0.39/bundles/inkbox/nickel/base/
[http://23.163.0.39/bundles/inkbox/native/ 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 [https://www.balena.io/etcher 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.
 
Once that is done, it is strongly recommended to update to the latest version.
 
 
== 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.
 
[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.
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 '''~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.
 
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:
 
sdx                    3,6G<br>
├─sdxp1                '''19M'''<br>
├─sdxp2                '''500M'''<br>
├─sdxp3                '''128M'''<br>
└─'''sdxp4'''          '''2,9G'''<br>
 
'''Note:''' It is '''vital''' to select the '''right partition''' or you risk '''data loss'''.
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:
 
<code># growpart /dev/'''sdxp4'''</code><br>
<code># resize2fs /dev/'''sdxp4'''</code>
 
Run lsblk again to confirm the partition has been grown as planned.
 
<code>$ lsblk -o NAME,SIZE</code>
 
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.
 
Now mount the same partition, for example like this:
 
<code>$ mkdir inkbox && sudo mount -t ext4 /dev/'''sdxp4''' inkboxusb</code>
 
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>
 
Unmount the partition:
 
<code># umount /dev/'''sdxp4'''</code>
 
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.


== Quick start ==
=== InkBox OS ===
Download the distribution image, then either flash it on a microSD card using [https://www.balena.io/etcher/ balenaEtcher] or <code>dd</code>, like this:
<pre>xzcat /path/to/inkbox.img.xz | dd of=/dev/mmcblk0</pre>
'''Note:''' the microSD card must have a capacity of '''at least 4GB'''.
=== Nickel add-on ===
Download the latest base package from there: http://23.163.0.39/bundles/inkbox/nickel/base/
Extract it in the root of your Kobo's onboard storage.


== Documentation ==
== Documentation ==
=== InkBox OS ===
A good place to learn about how InkBox works is the [[general information]] page.
A good start would be to read the [[general information]] page about InkBox.
See [[:Category:InkBox]] for all related documentation.
See [[:Category:InkBox]] for all related documentation.
=== Porting ===
See [[:Category:Porting]] for all documentation related to porting InkBox to new devices.
See [[:Category:Porting]] for all related documentation.
 
[[Category:InkBox]]
 
== Community ==
Join the official [https://matrix.to/#/#inkbox-os-project:matrix.org Matrix space] or [https://discord.com/invite/uSWtWbY23m 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 [https://github.com/Kobo-InkBox/inkbox github] are always welcome, as well as donations on [https://paypal.me/NicolasMailloux/ PayPal] or [https://liberapay.com/tux-linux/ LiberaPay].

Revision as of 09:09, 12 March 2023

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 QT. 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

  • Kobo Mini N705
  • Kobo Touch N905B
  • Kobo Touch N905C
  • Kobo Glo N613
  • Kobo Aura (2nd Edition) N236
  • Kobo Glo HD N437
  • Kobo Nia N306


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.

Once that is done, it is strongly recommended to update to the latest version.


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 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.

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 ~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.

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

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. 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:

# growpart /dev/sdxp4
# resize2fs /dev/sdxp4

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

$ lsblk -o NAME,SIZE

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.

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.