LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-15-2021, 08:26 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Question Kobo Touch - Cannot get past Welcome to Kobo!


Hi Everyone,

I bought a refurbished Kobo Touch ereader - I was hoping to use it to read PDF's by copying them to the device via usb.

I do have a Kindle but I do not wish to use it for this way, the Kobo is going to be tech manual library to use while out and about fixing things :-)

Anyway, I cannot get past the Welcome screen without downloading the Kobo stuff, via a Windows installer file.

Trying a WiFi setup the Kobo will not connect until it's been updated.

Wine could do it but Wine does not work on my Mint 20 machine.

After a bit of searching the web it seems the Kobo is wanting to put a user onto it.

This is one site I found:http://www.mobileread.mobi/forums/sh...d.php?t=171664

You can do this with Sqlite3, and I found all you need to do is insert a user like this:

Code:
INSERT INTO "user" VALUES('foo','foo','foo','foo','foo');
This failed, no table called user, so I created one like this:
Code:
CREATE TABLE user (COL1 TEXT NOT NULL, COL2 TEXT NOT NULL, COL3 TEXT NOT NULL, COL4 TEXT NOT NULL, COL5 TEXT NOT NULL);
and then ran the insert command, this worked fine.

I shutdown the Kobo and restarted it - still shows the welcome screen and I cannot get past it.

This is the Kobo details:
Code:
Version and Device XML: R905B31204328,2.6.35.3,2.1.0,2.6.35.3,2.6.35.3,00000000-0000-0000-0000-000000000310

<deviceInfo xmlns="http://ns.adobe.com/adept"><deviceClass>Kobo eReader</deviceClass><deviceSerial>R905B31204328</deviceSerial><deviceName>Kobo eReader</deviceName><deviceType>mobile</deviceType><version name="hobbes" value="9.3.45695-DL.20111103"/><fingerprint>RzM6CfANALxrzUR4ONPivVWeZHk=</fingerprint></deviceInfo>
I'm still stuck on the Welcome screen - with COMPUTER or WIRELESS SETUP!

Any ideas folks?

Last edited by GPGAgent; 05-15-2021 at 08:28 AM.
 
Old 05-15-2021, 11:29 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,706

Rep: Reputation: Disabled
I don't think creating the table like this is the right thing to do. Are you sure you were looking at the right database?

In your previous thread, DavidMcCann linked to a guide suggesting installation of sqlitebrowser in order to do this, and I found their suggestion ridiculous back then. Maybe not so much now. At least you'd immediately see what tables are there in the database.
 
Old 05-15-2021, 11:34 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,726

Rep: Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313
I don't have a Kobo reader but just from reading the posted website you may not of followed the steps exactly.

Does the KoboReader.sqlite3 data base exist on the reader and did you actually open it? i.e. sqlite3 /path/to/KoboReader.sqlite3
A dummy table with the wrong column names probably will not work. I have not search enough to find if the table structure has been posted anywhere.

From the specific website you need to add dummy information but it looks like some of it needs to be a specific format.
 
Old 05-15-2021, 11:48 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,706

Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I have not search enough to find if the table structure has been posted anywhere.
I'll copy from the previous thread:
Code:
<<! sqlite3 /media/$USER/KOBOeReader/.kobo/KoboReader.sqlite
insert into USER
  (UserID, UserKey, UserDisplayName, UserEmail)
values
  ("foo", "foo", "foo", "foo");
!
 
Old 05-15-2021, 11:54 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,726

Rep: Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313Reputation: 6313
Thanks, I hadn't read your links yet.
 
Old 05-16-2021, 04:31 AM   #6
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Cheers Folk,
And to answer them all, yes the sqlite folder did exist onmy Kobo where it should be.

as well I could not find the definition of the table it needed, the user table, so i just created it as explained in one of the links I found.

Shruggy, your posts look good, I'll give it a go and do some more searching.

One thing I did find was that to reset the Kobo hold down the home button on the front while powering it on.

Later's guys, it's pouring with rain down here in deepest North Cornwall

Last edited by GPGAgent; 05-16-2021 at 06:52 AM.
 
Old 05-16-2021, 09:14 AM   #7
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Making slow progress, so far I've created the USER table as Shruggy described
Code:
jonke@charlie:~$ sqlite3 KoboReader.sqlite 
SQLite version 3.31.1 2020-01-27 19:55:54
Enter ".help" for usage hints.
sqlite> insert into USER
   ...>   (UserID, UserKey, UserDisplayName, UserEmail)
   ...> values
   ...>   ("foo", "foo", "foo", "foo");
Error: table USER has no column named UserID
sqlite> drop table user
   ...> ;
sqlite> .tables
sqlite> CREATE TABLE USER (UserID TEXT NOT NULL, UserKey TEXT NOT NULL, UserDisplayName TEXT NOT NULL, UserEmail TEXT NOT NULL);
sqlite> .tables
USER
sqlite> insert into USER
   ...>   (UserID, UserKey, UserDisplayName, UserEmail)
   ...> values
   ...>   ("foo", "foo", "foo", "foo");
sqlite> select * from USER;
foo|foo|foo|foo
sqlite> .exit
jonke@charlie:~$
Next I installed wine that works with Linux Mint
Then I downloaded the kobosetup.exe file
Then I ran
Code:
wine kobosetup.exe
That brought up the Kobo Setup web page (see immages attached) - all good I thought, but that was it, couldn't get any further, and this is what the wine terminal session produced
Code:
wine kobosetup.exe 
0038:err:richedit:ReadStyleSheet skipping optional destination
0038:err:richedit:ReadStyleSheet skipping optional destination
0038:err:richedit:ReadStyleSheet skipping optional destination
0038:err:richedit:ReadStyleSheet skipping optional destination
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
0030:err:mscoree:LoadLibraryShim error reading registry key for installroot
jonke@charlie:/home/jonk/KOBO$ 0053:err:ole:CoCreateInstanceEx apartment not initialised
The Kobo Touch was connected via usb cable to my PC and so the internet.
The error message I guess is from wine.

What next?
Attached Thumbnails
Click image for larger version

Name:	Setup1.png
Views:	11
Size:	29.1 KB
ID:	36407   Click image for larger version

Name:	Setup2.png
Views:	10
Size:	89.5 KB
ID:	36408   Click image for larger version

Name:	Setup3.png
Views:	11
Size:	22.8 KB
ID:	36409  

Last edited by GPGAgent; 05-16-2021 at 09:23 AM.
 
Old 05-16-2021, 09:31 AM   #8
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,706

Rep: Reputation: Disabled
After you unplug and power up Kobo, do you get the "QUICK TOUR / Meet your eReader" screen?

From the guide linked above:
Quote:
Please connect to the Internet displayed?

If the download fails, click the TRY AGAIN button.

Note that when I created this document it took me 3 tries for the update to successfully download.

Last edited by shruggy; 05-16-2021 at 09:33 AM.
 
Old 05-16-2021, 09:53 AM   #9
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Quote:
Originally Posted by shruggy View Post
After you unplug and power up Kobo, do you get the "QUICK TOUR / Meet your eReader" screen?

From the guide linked above:
Nope, just the same screen, Welcome to Kobo! with two buttons, COMPUTER SETUP or WIRELESS SETUP


If I use WIRELESS it connects briefly then it gets a network error, Try Again button fails so Cancel is the only option and I know the password is correct (WPA/WPA2)
 
Old 05-16-2021, 05:29 PM   #10
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Update! I hadn't noticed but I've installed the Kobo Desktop Icon - it was behind my main browser.

So this brings up the the Setup page, as in post #7

I think I may need to set up an account.......

More 2morrow!
Attached Thumbnails
Click image for larger version

Name:	Setup2.png
Views:	9
Size:	89.5 KB
ID:	36416  
 
Old 05-17-2021, 12:14 AM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by GPGAgent View Post
I think I may need to set up an account.......
Yes:
https://www.linuxquestions.org/quest...0/#post6195356

Also see
https://www.linuxquestions.org/quest...0/#post6195696

Hacking is possible afaics, even installing proper GNU/Linux:
https://duckduckgo.com/?q=install+linux+on+"kobo+touch"
 
Old 05-17-2021, 02:45 AM   #12
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Angry

Quote:
Originally Posted by ondoho View Post
Yes:
https://www.linuxquestions.org/quest...0/#post6195356

Also see
https://www.linuxquestions.org/quest...0/#post6195696

Hacking is possible afaics, even installing proper GNU/Linux:
https://duckduckgo.com/?q=install+linux+on+"kobo+touch"
Thanks for those links, look useful threads, I'll read through them later today.

I have created an account, I've selected a couple of books to preview so they're in my library and I can read them on my pc via the kobo desktop app (it a wine install), but I cannot register my kobo

I've powered it off , then on, and I cannot get past the Welcome to Kobo screen - two buttons COMPUTER SETUP and WIRELESS SETUP - neither work
Attached Thumbnails
Click image for larger version

Name:	IMG_4523.JPG
Views:	14
Size:	71.9 KB
ID:	36417  
 
Old 05-17-2021, 07:05 AM   #13
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Thumbs up

Quote:
Originally Posted by ondoho View Post
Yes:
https://www.linuxquestions.org/quest...0/#post6195356

Also see
https://www.linuxquestions.org/quest...0/#post6195696

Hacking is possible afaics, even installing proper GNU/Linux:
https://duckduckgo.com/?q=install+linux+on+"kobo+touch"
Checked out the above thread, not too useful, basically it doesn't help me get past the "Welcome to Kobo" screen, thanks anyway, in fact I contributed to that thread, albeit off-topic which I apologised for :-(
 
Old 05-17-2021, 10:05 AM   #14
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
Found this:https://shallowsky.com/blog/tech/kobo-hacking.htmlinfo on the sqlite db

and another at: http://kobodb-schema.sourceforge.net/index.html

Last edited by GPGAgent; 05-17-2021 at 10:08 AM.
 
Old 05-17-2021, 11:18 AM   #15
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,042

Original Poster
Blog Entries: 3

Rep: Reputation: 134Reputation: 134
It all looks good to me
Code:
sqlite> PRAGMA table_info(user);
0|UserID|TEXT|1||1
1|UserKey|TEXT|1||0
2|UserDisplayName|TEXT|0||0
3|UserEmail|TEXT|0||0
4|___DeviceID|TEXT|1||0

sqlite> .tables
AbTest              Rules               content_settings    volume_shortcovers
Achievement         Shelf               publications        volume_tabs       
Bookmark            ShelfContent        ratings           
DbVersion           content             shortcover_page   
Event               content_keys        user              

sqlite> select * from user;
61df00a6-907f-4836-b349-4367651fcab5|e2015759-a200-42e4-b58c-5611a7ff562e|trilogybundle@kobo.com|trilogybundle@kobo.com|11:22:33:44:55:66
sqlite>
what now, I think I may need to try kobosetup on a windoze machine :-(
 
  


Reply

Tags
kobo setup linux ereader


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A pdf reader for a Kobo Mini running Debian, or perhaps install Ubuntu touch instead? grumpyskeptic Linux - Laptop and Netbook 3 07-19-2018 05:16 AM
LXer: Calibre 2.38 Ebook Editor and Viewer Gets Support for Kobo Touch 2 LXer Syndicated Linux News 0 09-11-2015 10:21 AM
[SOLVED] group permissions: touch: cannot touch `filename': Permission denied bartonski Linux - General 2 11-27-2008 09:23 AM
Try to install Kubuntu but can't get past welcome screen mb722004 Linux - Newbie 5 12-09-2007 12:30 AM
touch: cannot touch `/var/log/mysqld.log': Permission denied massoo Linux - General 1 08-01-2006 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration