Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2015, 10:13 AM   #1
iKaroliina
Member
iKaroliina began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2015
Device: Kobo Aura HD
Question Need help ignoring broken area of display.

Hello,

I recently dropped my dear Kobo. Now the screen is broken in one place. (Thread here)

Someone told me that maybe there is a way to fool the software to make it ignore the broken place of the display.

Can it be done? Can I modify maybe KOReader for this?

I'm a IT student and I've looked at KOReader source code but Lua is unfamiliar language and I have no idea how to do it yet.
iKaroliina is offline   Reply With Quote
Old 09-29-2015, 11:40 PM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
It is possible to patch the firmware to add a large top or bottom margin when reading ePub books, at least one other person has used that to avoid an area of screen damage near the top of the screen.

But from your photo the problem is in the centre of the screen, so you would have to add a very large margin and would only have the use of about half the screen for reading. That might cause some problems with displaying images because the usable area of screen would be wider than it is tall.

Edit: If you are sideloading ePubs with Calibre, i.e. they are DRM-free, then you can add a margin by modifying the book's stylesheet instead of patching the firmware. This is something that can be set up to be done automatically for books sent to that specific device, without affecting books sent to another device. You might want to try it this way before patching to see what it will be like.

Does that sounds like something that would be useful?

Last edited by GeoffR; 09-29-2015 at 11:46 PM. Reason: Can be done without patching for DRM-free ePubs.
GeoffR is offline   Reply With Quote
Old 09-30-2015, 04:45 PM   #3
iKaroliina
Member
iKaroliina began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2015
Device: Kobo Aura HD
Quote:
Originally Posted by GeoffR View Post
It is possible to patch the firmware to add a large top or bottom margin when reading ePub books, at least one other person has used that to avoid an area of screen damage near the top of the screen.

But from your photo the problem is in the centre of the screen, so you would have to add a very large margin and would only have the use of about half the screen for reading. That might cause some problems with displaying images because the usable area of screen would be wider than it is tall.

Edit: If you are sideloading ePubs with Calibre, i.e. they are DRM-free, then you can add a margin by modifying the book's stylesheet instead of patching the firmware. This is something that can be set up to be done automatically for books sent to that specific device, without affecting books sent to another device. You might want to try it this way before patching to see what it will be like.

Does that sounds like something that would be useful?
I had been thinking about modifying stylesheet. I did try it but the result wasnt good. Right now I'm reading with large line spacing. My margins, font size and font are choosen to get the broken area into the line spacing. In both cases there isn't much text on the screen.
iKaroliina is offline   Reply With Quote
Old 09-30-2015, 06:27 PM   #4
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
If you are prepared to loose the complete upper part of the screen, you can

1) try to modify in koreader\frontend\device\kobo\device.lua this part:

Code:
-- Kobo Aura HD:
local KoboDragon = Kobo:new{
    model = "Kobo_dragon",
    hasFrontlight = yes,
    display_dpi = 265,
}
Add under the line "display_dpi = 265,"
Code:
viewport = Geom:new{x=0, y=400, w=1080, h=1040},
Change the values of y and h as you see fit (y+h=1440).

I did not try this myself.

2) Or you can modify vlasovsoft\cr3.sh (for Coolreader). I tried it on a Kobo Touch (w=600, h=800). As an example (see the attached image), I use only the lower halve of the screen. You would of course have to adjust the values for Aura HD.

Code:
#!/bin/sh

#exec cr3/cr3 -stylesheet $STYLESHEET
exec cr3/cr3 -stylesheet $STYLESHEET -geometry 600x400+0+400
You could do the same thing in launcher.sh too, but the button to launch Coolreader will be available anyway.
Attached Thumbnails
Click image for larger version

Name:	screen_20150930_234256.png
Views:	376
Size:	41.6 KB
ID:	142480  

Last edited by tshering; 09-30-2015 at 06:43 PM.
tshering is offline   Reply With Quote
Old 09-30-2015, 10:38 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Your Aura HD doesn't look like it has a broken screen. It looks like a screen controller issue or a loose cable issue. I suggest contacting Kobo and seeing if there is anything they can do for you as long as you don't have any noticeable damage from the drop.

If Kobo won't do anything for you, you could open up the Aura HD and see if you can reseat any look cable(s) or check the screen controller and see if that is not sitting correctly.
JSWolf is offline   Reply With Quote
Old 11-17-2015, 04:08 PM   #6
mkeles84
Enthusiast
mkeles84 began at the beginning.
 
Posts: 45
Karma: 20
Join Date: Apr 2015
Device: Kobo Aura/Glo/Kindle PW2
Kobo Aura ignoring broken area of display

I have this Kobo Aura, all touch screen works properly but some part of screen isn't being read even touch works. Is there any script to use this device like 5", I see some codes but they are for Aura HD, I think.
It takes 90$ new touch screen.

And I am sorry about ghosting this topic but I didn't want to create new one.
Thanks.
Attached Thumbnails
Click image for larger version

Name:	20151117_224842.jpg
Views:	375
Size:	63.4 KB
ID:	143865   Click image for larger version

Name:	20151117_224906.jpg
Views:	335
Size:	94.1 KB
ID:	143866  

Last edited by mkeles84; 11-17-2015 at 04:15 PM.
mkeles84 is offline   Reply With Quote
Old 11-18-2015, 04:46 AM   #7
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by mkeles84 View Post
I have this Kobo Aura, all touch screen works properly but some part of screen isn't being read even touch works. Is there any script to use this device like 5", I see some codes but they are for Aura HD, I think.
I guess you are aware of the fact that the above codes work only for "alternative readers". The first is for Koreader, the second for Coolreader. I do not know whether you are willing to use one of these, and if which one. If you would like to try and you do not have any preference, I would suggest using Coolreader in this case, since the modification seems to be easier to do (and I have tested that it works).
As for the values I would propose you try
Code:
exec cr3/cr3 -stylesheet $STYLESHEET -geometry 758x760+0+254
This would skip roughly the top quarter of the screen.

Be aware that using alternative software and doing modifications might brick your device. Since the Aura has no exchangeable internal memory, it is even more dangerous.

Last edited by tshering; 11-18-2015 at 04:51 AM.
tshering is offline   Reply With Quote
Reply

Tags
display problems, koreader, screen, software


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting Broken display? rafikius Amazon Kindle 8 03-14-2014 05:49 AM
Image display: Available screen area GrannyGrump Workshop 4 11-26-2013 03:46 AM
Broken display corpcd Amazon Kindle 8 05-23-2011 12:28 PM
Display broken? philippd Sony Reader 4 06-13-2009 09:09 AM
Broken display David B Bookeen 43 02-29-2008 01:27 PM


All times are GMT -4. The time now is 04:35 PM.


MobileRead.com is a privately owned, operated and funded community.