View Single Post
Old 01-12-2013, 07:24 PM   #5
zztush
Connoisseur
zztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toyszztush shares his or her toys
 
zztush's Avatar
 
Posts: 69
Karma: 5542
Join Date: Dec 2012
Location: Osaka, Japan
Device: Kobo Touch, iPad, iPod and NintendoDS
Ok. I see what you want to do. We can not setup KT without internet connection in first setup because Kobo need our email address and setup time for warranty.
But we can setup it without internet after 2nd session with the information of first setup.

[1] Backup Sessions
1)When we setup first setup, back up these files and directory before disconnect Kobo. This is the firmware back up.
.kobo/KoboRoot.tgz
.kobo/manifest.md5sum
.kobo/upgrade/

2)Disconnect Kobo, then firmware is automatically set up.

3)Connect Kobo, back up this SQLite3 database.
.kobo/KoboReader.sqlite

4)Check the information of first setup in this file.
$ sqlite3 KoboReader.sqlite '.dump user'

PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE user(
UserID TEXT NOT NULL,
UserKey TEXT NOT NULL,
UserDisplayName TEXT,
UserEmail TEXT,
___DeviceID TEXT NOT NULL,
PRIMARY KEY (UserID));
INSERT INTO "user" VALUES('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','trilogybundle@kobo.com','trilogybun dle@kobo.com','11:22:33:44:55:66');
INSERT INTO "user" VALUES('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx','(mail address for first setup)','(mail address for first setup)','xxxxxxxxxxxxxxxxxxxx');
COMMIT;

The second last line (INSERT INTO....) is the important information with the mail address of the first setup.
Keep the second last line information as setup.sql file (any file name).

[2} Restore sessions
1)Connect Kobo to PC after reset.

2)Restore these files and the directory in the top directory of Kobo.
.kobo/KoboRoot.tgz
.kobo/manifest.md5sum
.kobo/upgrade/

3)Restore sql information.
$ sqlite3 KoboReader.sqlite < /path/to/setup.sql

4)Disconnect Kobo, then Kobo starts setup.

I found this information in this site.
http://kazuhiko.tdiary.net/20120718.html (in Japanese)
zztush is offline   Reply With Quote