Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all 1569 articles
Browse latest View live

Touch Adventure (Word) Games?

$
0
0
Hello:

In producing software (not intended by Kobo) to run on the Kobo (mine is Touch but I see no reason why it couldn't be written to run on any Kobo e-reader) has anyone thought about adventure games (Giant Cave, Zork - there must be a hundred)? I don't know exactly what's involved - I see there is a cross compiler, but I don't know what language the source code needs to be in - but it seems to me to be a natural.

Any interest?

Sparky

Touch Speed of Internal uSD Card?

$
0
0
Before starting to experiment with the Kobo Touch, I decided to clone the internal card - just in case. I used Win32-ImageWriter to read the original card and then I copied the image into two other cards. (One is an old Sony with no class marking, and the other a new Strontium card marked "class 6").

Both the clones work in the device, but they are noticeably slow compared to the original card.

So my question is -- what specification of card should I look for to get the original performance?

Could it be that the problem is with the formatting process done by Win32-Imagewriter (I read "on the net" that the formatting parameters can make a big difference to the actual speed of SDs).

I have one more question but I think I will post it with its own title.

Thanks
Swamp Thing

Touch Checksum mismatch on Read-back from uSD

$
0
0
[1]Used Win32-Imager to make an image of the internal SD card
[2] Copied the image into a new card
[3] Immediately read back from new card into another image file.
[4] Compared the MD5 checksums of the two images -- they do not match.

Is this normal? ... Or, it corrupted data waiting to brick my Kobo whenever it hits the bad part? [Note that the new card does work on the device, only much slower].

Thanks,
Swamp Thing

Touch Ubuntu/Android on Kobo Touch?

$
0
0
Hello, all:

I am extremely happy that I located this forum - I've been thinking about putting the Adventure Games (Zork - many others) on the Touch (seems like a perfect application) and I've seen a few threads here that talk about this but they all seem to wander off the path of a newbie trying to install preferably Ubuntu (obviously a much reduced version - no sound, no video required).

Is there such a checklist (files to download & where to find them - instructions on where & how to use them, etc) to follow?

Thanks in advance for all of the good work all of you have done so that we, the uninformed, can benefit!

Sparky

kvncviewer - a VNC viewer (not only) for Kobos

$
0
0
I used some spare time to hack a bit on the VNC viewer I published here before, KindleVNCviewer (http://www.mobileread.com/forums/sho...d.php?t=150434). I reused framebuffer code from Koreader and now it also works on Kobos. Thus, I decided a slight rename: It is now known as "kvncviewer" :-)

Source code is available on github in the place where the old codebase could be found: http://github.com/hwhw/kindlevncviewer (name change not reflected here since I like my URIs to be stable)

The new code brings some new options. It is written in Lua, and that I took a bit further than with the old codebase, which used Lua for configuration, too. The new code is implemented using LuaJIT. It re-uses the framebuffer code from Koreader and is quite versatile. It allows for rotation options, b&w dithering on all devices, configurable refresh timeouts (though this won't make your screen faster than the hardware can do, but you might want to fiddle with the options and report your experiences here) and some more things I forgot about.

Attached is the compiled version for Kobos.

It comes without a way to start it. That's for a reason, though: you probably want to use it via USB networking anyway. In that case, the shell access provided by USB networking is arguably the best way to start the viewer, too. If noone beats me to it (feel invited!), I'll try to make up a script for the default Kobo USB networking setup.

Touch Android / Debian on Touch N905B

$
0
0
Hey everbody,

at first: im from germany, so my english is not that good but i will
try my best.

I really need some help with my new Kobo Touch.

Im very intrested in the debian/android mod from Marek.
How you can read in the title i got an N905B an original old model.
The Memory is an micro SD Card.

So i copied the images on the sd card and the kobo is booting the android/debian mod correctly.
The problem is that the touch screen did not work.

I tried to find the problem on my own but i cant find the correct data
in the filesystem(ext4).

Can someone give me an advice how to find the correct data or how
to fix the problem itself?

I hope someone can help me :-)

regards

.sh Script : Progress box similar to msgbox

$
0
0
Is there a way to show a pop-up message from a .sh script, similar to the "msgbox" one?

Only, this box should not wait for an "OK" tap, but should allow the script to move on. Then the script could modify the displayed text at a later point.

Thanks,
Swamp Thing

Internet with USB to LAN adapter

$
0
0
Anyone knows what is needed to connect a device like Kobo to internet using a USB to Ethernet adapter with USB host integrated? I'm using such an adapter with my Android tablet and it works like a charm.

Glo Guide for Fixing Semi-Bricked Kobo Glo After Failed Manual Update

$
0
0
NOTE: THIS MAY NOT WORK FOR EVERYONE SO I CANNOT GUARANTEE THAT THIS WILL FIX YOUR PROBLEM. SOME PARTS OF THE GUIDES ARE RISKY SO DO THIS AT YOUR OWN RISK. THIS GUIDE HELPED ME FIX MY KOBO GLO AFTER A FAILED UPDATE. I JUST USED MY EXPERIENCE WORKING WITH DESKTOPS, LAPTOPS, SMARTPHONES, TABLETS, AND THE LIKES. YOU ALSO NEED SOME SHEER GUTS ON DOING THIS. I DID THIS GUIDE SO THAT YOU MAY BE ABLE TO USE YOUR KOBO GLO AGAIN.



Are you someone who never received the an update for your Kobo Glo via Wifi sync or Kobo Desktop?
Are you someone who had failed on manually updating your Kobo device?

Well you're not alone.


Last night I tried to update my Kobo Glo 905c with 3.1.0 fw through the Manual Update as posted here . Excitedly, I extracted the zip file in my computer which contains the fw update files.


THEN I forgot that the usb port of my PC was very faulty. I transferred the firmware update files. Before the file transfer finish, the kobo was ejected from the PC. Once your kobo is ejected from your PC, it will only show the BLACK SCREEN WITH CONNECTED TO PC ICON. Basically, you're left with that screen until you remove the micro-usb plug.
So I was left with no choice but to remove it from the PC (sideloaders know that when you remove the usb cable from the kobo, the update will start).

It updated but I know there will be a problem since the fw update files were not complete. When the Kobo Glo started, it was in an infinite boot loop. (***** blinking icons)

MY KOBO GLO IS A BRICK!


Then three things hit me:
1. The patch affected only the internal memory of the device leaving the internal microsd card untouched
2. The Kobo Glo will never be detected by the PC through normal plugging of usb cable since the fw was screwed
3. Re-patching the fw will (may) solve the issue. (no guarantee)


Problems encountered:
1. Device cannot be detected by the PC
2. If device is not detected, how can I install the newest patch to the built in memory.





WHAT I DID

1. I remembered the instructions here in Kobo Forum on how to expand the internal micro sd card so I searched for it.. I followed the instruction on how to open the Kobo Glo and put my 100% trust with the OP. :thumbsup:



2. I opened the Kobo Glo and removed the micro sd card (this may corrupt your micro sd card since there is no way to poweroff KG in this state; infinite boot loop) so do this at your own risk. Linux enthusiasts know that you cannot just remove the HDD for running Linux Machine as it may corrupt the HDD.



3. I attached the internal micro sd card with a usb adapter. Then I attached this in my PC
*Note: when I used my windows xp for this, it cannot detect the microsd card. This is because the filesystem of it was linux. The obvious choice would be to view it via a linux os. In my case, I used ubuntu.




4. There I finally viewed all files of my Kobo Glo's internal micro sd card and they are still intact! Gladly, I did not do a factory reset.



5. I copied the whole 3.1.0 patch update to the .kobo folder and prayed that this would work.



6. I removed the microsd card from the PC and attached it back to the KG.



7. One thing you would notice is that the Kobo Glo's screen, although in an infinite boot loop, will flicker in an entire black screen once you remove the internal sd card from it.



8. We have to restart the system somehow so that the patch file can be written into the internal memory. The power button is unusable in this state. We cannot remove the battery to force a restart. The only choice is the reset button via the pin hole.



9. I pressed the reset button and the system restarted.



10. After the restart, the Kobo Glo screen will post "CRITICAL ERROR you want to do a factory reset".
YOU HAVE TO PRESS THE (X) BUTTON. Remember, your files are in tact and we just want to do a Manual Patch Update. Doing a factory reset will delete the files in your microsd card. SO DON'T DO A FACTORY RESET.



11. It will take a while before the screen will change from the "CRITICAL ERROR" message. Once the screen change, you'll notice that the screen will turn to UPDATING.



12. Then pray... And pray some more... Drink some coffee... Buy some ice cream... Do whatever you want and wish that this will fix your semi-bricked KG.



13. After the UPDATING and RESTARTING screen, you will be welcomed by your Kobo Glo. Re-attach the back cover.



14. And remember, :book2: :book2: :book2: :book2:





Pictures will be posted soon.

Listening in When Kobo Phones Home

$
0
0
It's interesting to watch Kobo Touch interacting with the server:

1. Install & set up fiddler2 or other debugging proxy to listen on the USBnet address 192.168.2.100 , port 80

* Optional : set it up with breakpoints so you have the option to not process a request if you don't want to

2. Look under the "Services" section in /.kobo/Kobo/Kobo Ereader.conf
- different home urls are listed there

3. Edit /etc/hosts and put in things like:
Code:

192.168.2.100 mobile.kobobooks.com ecimages.kobobooks.com
4. Activate USBNet (I used KoboLauncher to do this)

5. Go back to Nickel and press Sync (or Bookstore > Discover >Related reading)

6. Be the man in the middle as Kobo phones home via your proxy

== Note: Wifi needs to be on and connected, even though it's not going to be used (just like the Extras Browser) ==

. Example : fiddler's tree view of Kobo's first XML request in a Sync session:

.
Config response from server:
Spoiler:


.

Attached Thumbnails
Click image for larger version

Name:	configxml.jpg
Views:	N/A
Size:	65.4 KB
ID:	116475   Click image for larger version

Name:	configresponse.png
Views:	N/A
Size:	27.0 KB
ID:	116476  

Removeable Internal SD card

$
0
0
Hi Guys (my first post!)

I'm keen to use a linux or android on a kobo touch -- love the device but I want a better reader.

I live in Toronto Canada and I have two locally purchased copies of model Kobo Touch N905-KOB-B.

I've opened them both, but I can find no removable microSD card. The location when the microSD is on videos/pix I have seen is filled by a soldered Samsung chip.

So some questions:

- I assume I need to find a model that has a removable SD card so that I can insert an image via a new card, or is it possible to use the external slot to boot to a new image? If so how?!

- If I purchase a new Kobo Touch, I guess this will be a 905C or possibly I could go for a Glo, is it highly likely I will get one with a removable SD card? Or are there models with fixed chips? I'd hate to pay out for another device model and just get another fixed chip device.

Thx for any help!
Neil

QtFrotz - Frotz port to Kobo e-readers

$
0
0
Hello,

I've ported Frotz to the Kobo e-readers. Frotz is an interpreter for Infocom games and other Z-machine games. It complies with standard 1.0 of Graham Nelson's specification. It was written by Stefan Jokisch in 1995-1997. It was ported to Unix by Galen Hazelwood. Currently the Unix port is being developed and maintained by David Griffith. The Unix port is also the canonical core version upon which all other ports are based.

Instructions:
  1. You'll need KoboLauncher, so if you haven't already installed it, do so now.
  2. Extract the files to the KoboLauncher directory (.kobo/KoboLauncher on internal storage)
  3. Open the applications.ini file in the KoboLauncher directory and insert the following line:
    Code:

    Frotz = frotz.sh
  4. Start KoboLauncher and open Frotz.

Some notes:
  • To change the font size, click on File->Settings (only works when no game is active), don't set some to crazy values or games will probably crash
  • To quit you first have to quit the game (by typing "QUIT" or pressing File->Exit) and then press File->Exit again
  • The savestates menu seems to cause problems in some games. In these cases just use "SAVE" and "RESTORE" commands.

Sourcecode is attached.

Changelog:
12-13-2013:
  • Fix special keys on keyboard
  • fix savestates
  • fix problems with some "graphics"

BigBoot

Attached Thumbnails
Click image for larger version

Name:	QtFrotz3.png
Views:	N/A
Size:	35.0 KB
ID:	116626   Click image for larger version

Name:	QtFrotz4.png
Views:	N/A
Size:	54.4 KB
ID:	116627  
Attached Files
File Type: zip Frotz.zip (85.2 KB)
File Type: zip Frotz-12-13-2013.zip (85.6 KB)
File Type: zip QtFrotz-src.zip (118.8 KB)

How to Reset "Books Added" statistic?

$
0
0
I have 2 Aura HDs which are supposed to be duplicates of each other. I read on one while the other is charging. But somehow the Library Tile, which shows "Books Added", shows a different number of books added on each reader. It doesn't help to delete all my books and re-add them. Does anyone know the table name that this pulls from? I am willing to delete all my books from the SD card, then do a DELETE * FROM TABLE_NAME; then re-add all my books, in the hope that this will reset the "Books Added" statistic. Thanks.

Touch Android on Kobo Touch - some questions

$
0
0
Just wondering about a couple of things before I consider trying to get Android on my Kobo Touch.

What version of Android is the image based on?
Is WiFi working?
Does Play Books work?

My main motivation to try Android is Google's new cloud feature that they have added to Play Books. Basically when you open an eBook on a Play Books device is asks if you want to upload it to your Google account. Once there you can access it from any device with Play Books and it saves your reading position so when you pick up another device it remembers where you were in the book.

I'd also love to see a small video of Android running on the Kobo if anyone can point me at one or can upload one to Youtube.

Hardware Page Turn Switch for Glo??

$
0
0
Has anyone had a go at adding a hardware page turn switch to the glo? I hate having to use the second hand to touch the screen to turn pages.

Any ideas on how to implement this, anyone? I'm not even sure what I would attach a switch to to make it think that the screen has been touched. I could implement some kind of mechanical solution but I'm sure that would end up being very ugly. I'd much rather attach a nice switch somewhere along the side, so I could easily switch pages with the hand holding the device.

How doI break a Kobo Aura out of an endlesss boot-loop?

Custom French-Japanese dictionary

$
0
0
Seeing as there is none, I made a French-Japanese dictionary. You can find it attached to this post. It contains a bit over 30.000 entries, but lots of them are colloquialisms and stuff, and there are many doubles. I didn't create the original list, so I don't know exactly how many words there are, but it should contain all the words that have a french definition in the EDICT (see ACKNOWLEDGEMENT), so I guess it should be enough for a beginner or intermediate speaker.

INSTALL

You have to install this dictionary in place of an already existing one on your Kobo. It can be the main definition dictionary or the French-English translation dictionary (since there are no other translation dictionaries installed, I don't think it's gonna work for another language, but feel free to try it). You will have to name the file respectiveley dicthtml-fr.zip for French dictionary and dicthtml-fr-en.zip for French-English dictionary. Then copy the downloaded file without unzipping it in the dict folder that is located in the .kobo folder in the root of your device. That's it, you can eject your Kobo and start using it. It works with my Kobo Touch, I suppose it should work with all others as well.

DISCLAIMER
You assume total responsibility and risk for your use of the provided files; use at your own risk.

ACKNOWLEDGEMENT
This package uses the EDICT dictionary file. This file is the property of the Electronic Dictionary Research and Development Group, and is used in conformance with the Group's licence.

User tshering helped me making this dictionary by explaining to me how the Kobo dictionary system works. Big thanks to him/her. I also used parts of his explanation post (DISCLAIMER and ACKNOWLEDGEMENT). Finally, since he himself thanked other members, although I didn't directly benefit from their help I will quote tshering so that due credit is acknowledged:
Quote:

Originally Posted by tshering (Post 2319537)
I would like to thank several forum members and especially those posting at this thread for advice and encouragement.

------

Here is a Japanese explanation, since users interested in this are likely to be Japanese and don't necessarily speak english. If it's a problem for the forum because moderators can't read it, I will remove it. Also, if you speak Japanese you will notice I'm still learning, so if you can offer a better version of this explanation please send me a pm and I will include it here.

日本語のお知らせ

これは仏和辞書です。
今ないから、自分でこれをした。
これでフランス語を読むのがもっとかんたんになる。
Kobo Touchはこれが出来る、外のKoboリーダー出来るか出来ない分からない。

インスタール
「dicthtml-fr.zip」をダウンロードして。
パソコンにKoboをプラッグして。
Koboの中に「.kobo」のディレクトリがある。それの中に「dict」のディレクトリがある。
そのディレクトリに「dicthtml-fr.zip」をコピーして。
今Koboが仏和辞書がある:)

僕は日本語が悪いすみません。

Attached Files
File Type: zip dicthtml-fr.zip (710.4 KB)

Musing on preventing Upgrades

$
0
0
A thought just popped into my head....

Using the approach introduced by the fmon tool, it should be possible to prevent upgrades being installed to Kobo's. All that would be needed would be either a new customized version of fmon that watched for the creation / closing of the update files and then dropped them, or the use of the standard fmon with a script that gets invoked to drop the file.

Yes, updates would be still downloaded to the device, but, when the file(s) were closed, they would be deleted.

Thoughts?

Aura HD Downloading books as gmail attchments

$
0
0
Good morning. Brand new owner of Aura HD here. Apologies if this has been addressed elsewhere, but my search yielded nothing. My question is if I could e-mail myself an epub to my gmail account and then import it into my library via the browser. Tried it but no luck, so I wonder if there is a known trick or tweak to accomplish this. Downloading from Google Drive does not seem to work either.

Thank you in advance for your help.

Edit: I just realized this thread may be in the wrong sub-forum. Please accept my apologies and move to the correct forum if necessary.

Glo Memory Upgrade without opening your Kobo

$
0
0
INTRODUCTION
Today I resized my mother's Kobo Glo from 2GB to 4GB without opening the reader. The default configuration in some countries* only uses half the space that is available. This guide takes full advantage of the space available. It also works for the Touch according to xping.

(*See posts in this thread for a discussion on where Kobo has or has not put in 4GB SDcards.)

I upgraded my Kobo Aura HD using info form here. You exchange the SD-card on the inside of the reader with a bigger one. I am not doing this again, because I found that the reader became less rigid after opening and closing it a couple of times.

So it entails a few steps:
  1. Install telnet,
  2. telnet into the reader over wireless network,
  3. repartition using fdisk and
  4. do a factory restore.


When you have done that the result is this:
Code:

O:\>dir
 Volume in drive O is KOBOeReader
 Volume Serial Number is 52BE-BBAC

 Directory of O:\

28-12-2013  12:11    <DIR>          .kobo
28-12-2013  11:57    <DIR>          .adobe-digital-editions
28-12-2013  12:06    <DIR>          .kobo-images
              0 File(s)              0 bytes
              3 Dir(s)  3.377.491.968 bytes free

32,6MB Used space / 3,14GB Free space.

THE STEPS

1. Install telnet.
  1. Download Kevin Short's telnet hack from the thread telnetd broken with firmware 2.10.0?
  2. Plug in your ereader and connect to PC.
  3. Unzip an copy the file KoboRoot.tgz to the .kobo directory on your ereader.
  4. Safely remove the device and let it restart.

2. Telnet into the reader over wireless network.
  1. Install putty (Google it)
  2. Start internet on your ereader. Go to settings, go to Beta functions or extra, tap internet browser.
  3. Go to settings, go to information about device, write down IP-address. For me it's 192.168.1.88.
  4. Start putty. Put the IP-address in the box "Host Name (or IP address). Check Telnet under Connection Type. Click Open. This will start your terminal session to your ereader.
  5. At "(none) login:" type "root" press enter. Your now at the Bash shell prompt. Enjoy!

3. Repartition using fdisk.

I'm just going to give you the cleaned log of my session:
Code:

[root@(none) ~]# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 121008.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): m
Command Action
a      toggle a bootable flag
b      edit bsd disklabel
c      toggle the dos compatibility flag
d      delete a partition
l      list known partition types
n      add a new partition
o      create a new empty DOS partition table
p      print the partition table
q      quit without saving changes
s      create a new empty Sun disklabel
t      change a partition's system id
u      change display/entry units
v      verify the partition table
w      write table to disk and exit
x      extra functionality (experts only)

Command (m for help): p

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
4 heads, 16 sectors/track, 121008 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start        End      Blocks  Id System
/dev/mmcblk0p1            305        8497      262144+ 83 Linux
/dev/mmcblk0p2            8497      16689      262144+ 83 Linux
/dev/mmcblk0p3          16689      60352    1397247  b Win95 FAT32

Command (m for help): d
Partition number (1-4): 3

Command (m for help): n
Command action
  e  extended
  p  primary partition (1-4)
p
Partition number (1-4): 3
First cylinder (1-121008, default 1): 16689
Last cylinder or +size or +sizeM or +sizeK (16689-121008, default 121008): Using default value 121008

Command (m for help): p

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
4 heads, 16 sectors/track, 121008 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start        End      Blocks  Id System
/dev/mmcblk0p1            305        8497      262144+ 83 Linux
/dev/mmcblk0p2            8497      16689      262144+ 83 Linux
/dev/mmcblk0p3          16689      121008    3338239  83 Linux

Command (m for help): t
Partition number (1-4): 3
Hex code (type L to list codes): L

 0 Empty                  1b Hidden Win95 FAT32    9f BSD/OS
 1 FAT12                  1c Hidden W95 FAT32 (LBA) a0 Thinkpad hibernation
 4 FAT16 <32M            1e Hidden W95 FAT16 (LBA) a5 FreeBSD
 5 Extended              3c Part.Magic recovery    a6 OpenBSD
 6 FAT16                  41 PPC PReP Boot          a8 Darwin UFS
 7 HPFS/NTFS              42 SFS                    a9 NetBSD
 a OS/2 Boot Manager      63 GNU HURD or SysV      ab Darwin boot
 b Win95 FAT32            80 Old Minix              b7 BSDI fs
 c Win95 FAT32 (LBA)      81 Minix / old Linux      b8 BSDI swap
 e Win95 FAT16 (LBA)      82 Linux swap            be Solaris boot
 f Win95 Ext'd (LBA)      83 Linux                  eb BeOS fs
11 Hidden FAT12          84 OS/2 hidden C: drive  ee EFI GPT
12 Compaq diagnostics    85 Linux extended        ef EFI (FAT-12/16/32)
14 Hidden FAT16 <32M      86 NTFS volume set        f0 Linux/PA-RISC boot
16 Hidden FAT16          87 NTFS volume set        f2 DOS secondary
17 Hidden HPFS/NTFS      8e Linux LVM              fd Linux raid autodetect
Hex code (type L to list codes): b
Changed system type of partition 3 to b (Win95 FAT32)

Command (m for help): p

Disk /dev/mmcblk0: 3965 MB, 3965190144 bytes
4 heads, 16 sectors/track, 121008 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start        End      Blocks  Id System
/dev/mmcblk0p1            305        8497      262144+ 83 Linux
/dev/mmcblk0p2            8497      16689      262144+ 83 Linux
/dev/mmcblk0p3          16689      121008    3338239  b Win95 FAT32

Expert command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
[root@(none) ~]# reboot

4. Do a factory restore.

You will lose all your books and added software when you do a full reboot. Backup your books and data before doing a factory restore!!!!
You have to power off first. Then hold the frontlight button while you pull the power switch.
The ereader goes into factory restore. It will reformat partition 3 (/dev/mmcblk0p3 ) and copy partition 2 to 3. After that it will try to upgrade to the newest firmware.

That's it!
Viewing all 1569 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>