From 4634e5486868ac263de2f2b45c55b4678266c79b Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Fri, 1 Apr 2022 01:59:58 -0700 Subject: [PATCH] added kobo related aliases and notes on how to bypass kobo registration --- bashrc.txt | 2 ++ kobo_notes.txt | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 kobo_notes.txt diff --git a/bashrc.txt b/bashrc.txt index 4d595949..c9f89b4c 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -209,6 +209,8 @@ alias mnt="doas mount /dev/sda1 /mnt/media/usb-drive" alias umnt="doas umount /mnt/media/usb-drive" alias imnt="ifuse /home/brian/iphone" alias iumnt="doas umount /home/brian/iphone" +alias kmnt="doas mount /dev/sda /mnt/media/kobo" +alias kumnt="doas umount /dev/sda /mnt/media/kobo" alias rm="newrm -vi" alias {rcrm,rrm}="doas xargs -d\\n rm -v" # when piped after locate or find command, recursively removes outputted files alias mv="mv -v" diff --git a/kobo_notes.txt b/kobo_notes.txt new file mode 100644 index 00000000..65f1babd --- /dev/null +++ b/kobo_notes.txt @@ -0,0 +1,33 @@ +# BYPASSING REGISTRATION AND LOGIN ON NEW DEVICE + +Plug in new Kobo Device via USB to Linux Computer. + +Mount the device: + +doas mount /dev/sda /mnt/media/kobo + +Navigate to the device folder and then enter the .kobo subdirectory: + +cd .kobo + +As root, open up the KoboReader.sqlite database: + +sqlite3 KoboReader.sqlite + +And then enter the following SQL command: + +INSERT INTO user(UserId,UserKey) VALUES('1',''); + +Then Quit: + +.q + +Exit Root: + +exit + +And then navigate to your home directory and unmount the kobo: + +doas umount /mnt/media/kobo + +Now you should be able to access the Kobo interface without having to register your Kobo.